From cinzacm at ...346... Sun Feb 1 01:29:06 2004 From: cinzacm at ...346... (Rammyres =?iso-8859-1?Q?Jos=E9?= O. Pereira) Date: Sat, 31 Jan 2004 22:29:06 -0200 Subject: [Gambas-user] Some info for a news writer Message-ID: <20040201002906.4722.qmail@...348...> I know it's not a 'good' motivation to write to the list, and are things that a (even begginer) programmer is suposed to know, but i have some questions to ask (i'll write an article to linuxpi.net site and i need some info). 1st - Are the language 'binaries' in a kind of intermediate language (such as bytecode or .NET M$ Intermediate Lang)? (NB: i read something about VM at project site) 2nd - Guessing the Gambas' (and it's components) license is GPL, should i create 'proprietary' projects to sell? 3rd - Is there any way to execute the program output without gbx? 4th - Is there any way to compile as a native executable (i.e.: ELF)? I hope that someone can answer me. Already grateful by your (past or future) help. Rammyres Jose Oliveira Pereira (_Dargor_) -- POP. Nem parece internet gr?tis. Seja POP voc? tamb?m! Acesse: http://www.pop.com.br/discador.html e baixe o POPdiscador. From sourceforge-raindog2 at ...94... Sun Feb 1 01:51:52 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 31 Jan 2004 19:51:52 -0500 Subject: [Gambas-user] Some info for a news writer In-Reply-To: <20040201002906.4722.qmail@...348...> References: <20040201002906.4722.qmail@...348...> Message-ID: <200401311951.52294.sourceforge-raindog2@...94...> On Saturday 31 January 2004 19:29, Rammyres Jos? O. Pereira wrote: > 1st - Are the language 'binaries' in a kind of intermediate > language (such as bytecode or .NET M$ Intermediate Lang)? (NB: > i read something about VM at project site) Yes, binaries produced by Gambas are in its own bytecode. > 2nd - Guessing the Gambas' (and it's components) license is > GPL, should i create 'proprietary' projects to sell? Seeing as how the only GUI component currently is for Qt, which is GPL, and considering what's said in the GPL FAQ on gnu.org, you do need to GPL your Gambas projects. However, nothing prevents you from selling Gambas projects, as long as you include the source under the terms of the GPL ;) > 3rd - Is there any way to execute the program output without > gbx? 4th - Is there any way to compile as a native executable > (i.e.: ELF)? It's entirely possible that if Gambas becomes popular enough, someone will write a tool to allow this, as people have done for Tcl, Python and Perl. Currently, though, you need gbx and the appropriate components to be installed on each machine to which you want to deploy your Gambas project. The Gambas IDE doesn't need to be installed on every machine since it's just a Gambas project itself. Rob From daniel.campos at ...338... Sun Feb 1 11:27:13 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Sun, 01 Feb 2004 11:27:13 +0100 Subject: [Gambas-user] Some info for a news writer In-Reply-To: <200401311951.52294.sourceforge-raindog2@...94...> References: <20040201002906.4722.qmail@...348...> <200401311951.52294.sourceforge-raindog2@...94...> Message-ID: <1075631233.2775.5.camel@...40...> >Yes, binaries produced by Gambas are in its own bytecode. Yes, but there's a big difference between the slow ".Net" or "Java" bloated virtual machines and the fast gambas bytecode! > > Seeing as how the only GUI component currently is for Qt, which > is GPL, and considering what's said in the GPL FAQ on gnu.org, > you do need to GPL your Gambas projects. However, nothing > prevents you from selling Gambas projects, as long as you > include the source under the terms of the GPL ;) However if you do not use qt component, you can create a propietary program: for example a "cgi" for apache to connect a client with a database, or any utility to connect with an industrial device using ethernet or a serial port. If anybody writes a "qt" component clone using GTK+ or wxWindows, you'll can also write propietary graphical programs using Gambas ?anybody interested in this at linuxpi? > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From thierry at ...342... Sun Feb 1 11:28:58 2004 From: thierry at ...342... (Thierry Thomas) Date: Sun, 1 Feb 2004 11:28:58 +0100 Subject: [Gambas-user] Some info for a news writer In-Reply-To: <1075631233.2775.5.camel@...40...> References: <20040201002906.4722.qmail@...348...> <200401311951.52294.sourceforge-raindog2@...94...> <1075631233.2775.5.camel@...40...> Message-ID: <20040201102858.GB85903@...343...> Le Dim 1 f?v 04 ? 11:27:13 +0100, Daniel Campos ?crivait?: > However if you do not use qt component, you can create a > propietary program: QT has the double licence, if you pay Trolltech, it should be possible, but what about Gambas in that case? -- Th. Thomas. From abidoo.too at ...11... Sun Feb 1 12:16:09 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Sun, 1 Feb 2004 12:16:09 +0100 Subject: [Gambas-user] Some info for a news writer In-Reply-To: <20040201102858.GB85903@...343...> References: <20040201002906.4722.qmail@...348...> <1075631233.2775.5.camel@...40...> <20040201102858.GB85903@...343...> Message-ID: <200402011216.09842.abidoo.too@...11...> Le Dimanche 01 F?vrier 2004 11:28, Thierry Thomas a ?crit : > Le Dim 1 f?v 04 ? 11:27:13 +0100, Daniel Campos > > ?crivait : > > However if you do not use qt component, you can create a > > propietary program: > > QT has the double licence, if you pay Trolltech, it should be possible, > but what about Gambas in that case? Gambas is GNU Ware... so you can use it freely in all of case. The sole limit is that you must paid the trolltech licence to sell graphical gambas ware fabien From sourceforge-raindog2 at ...94... Sun Feb 1 16:13:29 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 1 Feb 2004 10:13:29 -0500 Subject: [Gambas-user] Some info for a news writer In-Reply-To: <200402011216.09842.abidoo.too@...11...> References: <20040201002906.4722.qmail@...348...> <20040201102858.GB85903@...343...> <200402011216.09842.abidoo.too@...11...> Message-ID: <200402011013.29235.sourceforge-raindog2@...94...> On Sunday 01 February 2004 06:16, Fabien Bodard wrote: > > QT has the double licence, if you pay Trolltech, it should > > be possible, but what about Gambas in that case? > Gambas is GNU Ware... so you can use it freely in all of case. > The sole limit is that you must paid the trolltech licence to > sell graphical gambas ware Not quite correct. The trolltech license is written such that you can either license Qt as GPL, QPL (not an issue here) or commercially. However, if you started coding a program against Qt/Free, and that includes using the Gambas Qt component as it exists now to write Gambas code, it can never be released as non-free software. See their FAQs: http://www.trolltech.com/developer/faqs/general.html "The Free Edition license applies to the development phase - anything developed without Professional or Enterprise Edition licenses must be released as free/open source software." They do this to prevent companies from buying one license of Qt/Pro and having 10 other programmers use Qt/Free to develop their commercial software without releasing it as GPL. Therefore, the Gambas Qt component must always be GPL, and normally can't be linked against something with a proprietary license such as Qt/Pro/Enterprise. However, if Benoit (and Nigel, for the qt.ext component) were to add a special exception to the Gambas Qt component's copy of the GPL to allow linking against the Qt/Pro and Qt/Enterprise versions, as the Linux kernel developers have done to allow binary device drivers, that might be enough to allow people to run Gambas Qt applications against non-free versions of Qt legally. You can't link GPL software against the Pro or Enterprise versions of Qt without that special permission, which is why (for example) there's still no native PerlQt for Windows. Now, in PerlQt's case pretty much everyone including the PerlQt developers wants there to be a Windows PerlQt, up to the point of encouraging people to make their own private ports and post instructions on how to do it, so what I described above might not be sufficient in the eyes of Trolltech. I'm no lawyer, but that's what I get from reading the FAQ's at gnu.org and trolltech.com. Of course, the ideal way around this (for someone who really cared about being able to release non-free software) would be to just write a wxwindows or gtk component as Daniel suggested, and then make the necessary mods to the IDE to get it to run under both components interchangably. (Not to mention rewriting the GambasEditor component....) I personally dread that day because that'll be when we start seeing dozens of trivial closed-source Gambas apps with increasingly bad behavior flood the market as Windows shareware authors see a way into Linux (at least with Qt/Pro it requires a real investment before you can release non-Free software), but I understand why people want it and why it would help Gambas adoption. Rob From cinzacm at ...346... Sun Feb 1 18:05:35 2004 From: cinzacm at ...346... (Rammyres =?iso-8859-1?Q?Jos=E9?= O. Pereira) Date: Sun, 01 Feb 2004 15:05:35 -0200 Subject: [Gambas-user] (no subject) Message-ID: <20040201170535.16910.qmail@...348...> I have some things to say, about my own experiences Em Dom, 2004-02-01 ?s 07:27, Daniel Campos escreveu: >> Yes, binaries produced by Gambas are in its own bytecode. > Yes, but there's a big difference between the slow ".Net" or > "Java" bloated virtual machines and the fast gambas bytecode! The C++ .NET program are too damn quick (to a 'half-interpreted' lang),but only with Pentiun 4 processors. The java bytecodes could run quickly with any kind of processors if you exclude trigonometrical functions. With just 3 weeks using gambas i could see it have a good benchmark, better than java or .net programs (i run .net soft, written with the GTKSharp component at linux with MONO). >> Seeing as how the only GUI component currently is for Qt, which >> is GPL, and considering what's said in the GPL FAQ on gnu.org, >> you do need to GPL your Gambas projects. However, nothing >> prevents you from selling Gambas projects, as long as you >> include the source under the terms of the GPL ;) > However if you do not use qt component, you can create a > propietary program: for example a "cgi" for apache to > connect a client with a database, or any utility to > connect with an industrial device using ethernet or a > serial port. > If anybody writes a "qt" component clone using GTK+ or > wxWindows, you'll can also write propietary graphical program > using Gambas ?anybody interested in this at linuxpi? The proprietary use of Gambas is just a common question, i guess everyone, someday, asked if linux could be sold. The LinuxPI.net is a little group (~70 users) of Linux Users, here in Piaui (that PI at URL means Piaui), which is a little state here in Brazil. They'reinterested in everything which can replace a proprietary software... I hope all discutions i read here could contribute to development of Gambas. Somehow dazed about everything: Rammyres Jos? O. Pereira ( _Dargor_ ) -- POP. Nem parece internet gr?tis. Seja POP voc? tamb?m! Acesse: http://www.pop.com.br/discador.html e baixe o POPdiscador. From ZENODotus at ...323... Sun Feb 1 20:56:08 2004 From: ZENODotus at ...323... (ZENODotus) Date: Sun, 1 Feb 2004 20:56:08 +0100 Subject: [Gambas-user] In 0.82 Message-ID: <200402012056.08809.ZENODotus@...323...> Hi, Is there something changed with the syntax of treeviews in the 0.82 version of Gambas... By a programm i'm writing I can't access my functions written under de case of treeview.item.text... From cinzacm at ...346... Sun Feb 1 23:47:48 2004 From: cinzacm at ...346... (Rammyres =?iso-8859-1?Q?Jos=E9?= O. Pereira) Date: Sun, 01 Feb 2004 20:47:48 -0200 Subject: [Gambas-user] Still with troubles with Fedora Core 1... Message-ID: <20040201224748.13284.qmail@...348...> Even installing MySQL, with all headers and libraries, again and rebuilding Gambas i got the same troubles (the list of files at the default dirs and the configure output are atached...). I hope someone can help me. P.S.: Please note that i added --with-mysql-libs and -includes at configuration line. -- Rammyres Jose Oliveira Pereira ( _Dargor_ ) -- POP. Nem parece internet gr?tis. Seja POP voc? tamb?m! Acesse: http://www.pop.com.br/discador.html e baixe o POPdiscador. -------------- next part -------------- total 204 -rw-r--r-- 1 root root 3445 Out 27 17:03 dbug.h -rw-r--r-- 1 root root 2082 Out 27 17:03 errmsg.h -rw-r--r-- 1 root root 5864 Out 27 17:03 m_ctype.h -rw-r--r-- 1 root root 7594 Out 27 17:03 m_string.h -rw-r--r-- 1 root root 22431 Out 27 17:04 my_config.h -rw-r--r-- 1 root root 32094 Out 27 17:03 my_global.h -rw-r--r-- 1 root root 1579 Out 27 17:03 my_list.h -rw-r--r-- 1 root root 2696 Out 27 17:03 my_net.h -rw-r--r-- 1 root root 1205 Out 27 17:03 my_no_pthread.h -rw-r--r-- 1 root root 22737 Out 27 17:03 my_pthread.h -rw-r--r-- 1 root root 8608 Out 27 17:03 mysql_com.h -rw-r--r-- 1 root root 8188 Out 27 17:03 mysqld_error.h -rw-r--r-- 1 root root 10787 Out 27 17:03 mysql.h -rw-r--r-- 1 root root 590 Out 27 17:03 mysql_version.h -rw-r--r-- 1 root root 25823 Out 27 17:03 my_sys.h -rw-r--r-- 1 root root 5869 Out 27 17:03 raid.h -rw-r--r-- 1 root root 1605 Out 27 17:03 sslopt-case.h -rw-r--r-- 1 root root 1296 Out 27 17:03 sslopt-longopts.h -rw-r--r-- 1 root root 1239 Out 27 17:03 sslopt-usage.h -rw-r--r-- 1 root root 1013 Out 27 17:03 sslopt-vars.h -------------- next part -------------- total 204 -rw-r--r-- 1 root root 3445 Out 27 17:03 dbug.h -rw-r--r-- 1 root root 2082 Out 27 17:03 errmsg.h -rw-r--r-- 1 root root 5864 Out 27 17:03 m_ctype.h -rw-r--r-- 1 root root 7594 Out 27 17:03 m_string.h -rw-r--r-- 1 root root 22431 Out 27 17:04 my_config.h -rw-r--r-- 1 root root 32094 Out 27 17:03 my_global.h -rw-r--r-- 1 root root 1579 Out 27 17:03 my_list.h -rw-r--r-- 1 root root 2696 Out 27 17:03 my_net.h -rw-r--r-- 1 root root 1205 Out 27 17:03 my_no_pthread.h -rw-r--r-- 1 root root 22737 Out 27 17:03 my_pthread.h -rw-r--r-- 1 root root 8608 Out 27 17:03 mysql_com.h -rw-r--r-- 1 root root 8188 Out 27 17:03 mysqld_error.h -rw-r--r-- 1 root root 10787 Out 27 17:03 mysql.h -rw-r--r-- 1 root root 590 Out 27 17:03 mysql_version.h -rw-r--r-- 1 root root 25823 Out 27 17:03 my_sys.h -rw-r--r-- 1 root root 5869 Out 27 17:03 raid.h -rw-r--r-- 1 root root 1605 Out 27 17:03 sslopt-case.h -rw-r--r-- 1 root root 1296 Out 27 17:03 sslopt-longopts.h -rw-r--r-- 1 root root 1239 Out 27 17:03 sslopt-usage.h -rw-r--r-- 1 root root 1013 Out 27 17:03 sslopt-vars.h From na2492 at ...9... Mon Feb 2 00:33:29 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Mon, 2 Feb 2004 00:33:29 00100 Subject: [Gambas-user] In 0.82 Message-ID: <401d8cc9.1bb2.0@...9...> >Hi, > >Is there something changed with the syntax of treeviews in the 0.82 version of >Gambas... > >By a programm i'm writing I can't access my functions written under de case of >treeview.item.text... > Sorry, read the Changlogs gambas is still ALPHA Software. I also often hade to change good running code. Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From Karl.Reinl at ...9... Sun Feb 1 22:55:04 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 1 Feb 2004 22:55:04 +0100 Subject: [Gambas-user] gdm (gambas-database-manager) Message-ID: <200402012255.04364.Karl.Reinl@...9...> Salut, try to make the requester in the gdm a little more handier. Not finished yet, not documented, not tested to the last ege, not .... But, here is my first output. Changes are only made in FRequest If you have some idea .. tell me Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-database-manager-0.0.tar.gz Type: application/x-tgz Size: 107788 bytes Desc: not available URL: From frrudolph at ...339... Mon Feb 2 15:48:58 2004 From: frrudolph at ...339... (Frank Rudolph) Date: Mon, 02 Feb 2004 15:48:58 +0100 Subject: [Gambas-user] Timestamp to date Message-ID: <401E635A.5040806@...339...> Hello I am working with gambas 0.70a (suse). I would like to take the time stamps from my squid log and convert them into a readable format. In PHP there are some functions to convert time stamps. How is it possible with gambas? I have tried with cdate but the results are not ok. Could anybody help me? Frank @rob Thank you for the big multi cd example- dynamic tabstrip functionality - i understand now :-) From Karl.Reinl at ...9... Sun Feb 1 11:18:44 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 1 Feb 2004 11:18:44 +0100 Subject: [Gambas-user] gdb and gambas Message-ID: <200402011118.44261.Karl.Reinl@...9...> Salut, While trying to debug the IDE, to find my X-freez . I'v got the following. charlie at ...351... gambas-0.82 $ cd /opt/gambas/gambas-0.82/app/gambas charlie at ...351... gambas $ gdb gbx GNU gdb 5.3 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"... (gdb) run Starting program: /usr/bin/gbx Program received signal SIGTRAP, Trace/breakpoint trap. 0x400009b0 in _start () from /lib/ld-linux.so.2 (gdb) Any idea ? Where I'm wrong ? Amicalement Charlie From Karl.Reinl at ...9... Mon Feb 2 19:31:20 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 2 Feb 2004 19:31:20 +0100 Subject: [Gambas-user] gambas-user List Message-ID: <200402021931.20272.Karl.Reinl@...9...> Salut all, since two or tree days I think somethings wrong with the list. my mail about 'gdb and gambas' raised this evening, but I send it before ?'gdm (gambas-database-manager)?' which I found this mornig in the list. has anybody remarked something strange ? Amicalement Charlie From daniel.campos at ...338... Mon Feb 2 21:58:44 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Mon, 02 Feb 2004 21:58:44 +0100 Subject: [Gambas-user] gambas-user List In-Reply-To: <200402021931.20272.Karl.Reinl@...9...> References: <200402021931.20272.Karl.Reinl@...9...> Message-ID: <1075755524.2820.0.camel@...40...> El lun, 02-02-2004 a las 19:31, Charlie Reinl escribi?: > Salut all, > > since two or tree days I think somethings wrong with the list. > > my mail about 'gdb and gambas' raised this evening, but I send it before > 'gdm (gambas-database-manager) ' which I found this mornig in the list. > > has anybody remarked something strange ? It happens lot of times, I suppose Sourceforge is working at 150% :-) > > Amicalement > Charlie > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From Karl.Reinl at ...9... Mon Feb 2 22:02:47 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 2 Feb 2004 22:02:47 +0100 Subject: [Gambas-user] create new account in mySql with gdm Message-ID: <200402022202.47012.Karl.Reinl@...9...> Salut, tryed to create a new user with gdm use mysql 4.0.16 User is existing, even with password but can't login. Amicalement Charlie From Karl.Reinl at ...9... Mon Feb 2 21:59:14 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 2 Feb 2004 21:59:14 +0100 Subject: [Gambas-user] gdm next day Message-ID: <200402022159.14152.Karl.Reinl@...9...> Salut, - now you can work also with systemtables - the columns are all readable (width) :-( can't replace 'X' with pictures in 'show' ...any hints ? what i ditn't say, I only test with mySql any respons from users who works with psql are welcome! Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-database-manager-0.0.tar.gz Type: application/x-tgz Size: 97565 bytes Desc: not available URL: From rizky at ...225... Tue Feb 3 05:54:48 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Tue, 03 Feb 2004 11:54:48 +0700 Subject: [Gambas-user] create new account in mySql with gdm In-Reply-To: <200402022202.47012.Karl.Reinl@...9...> References: <200402022202.47012.Karl.Reinl@...9...> Message-ID: <6.0.0.22.2.20040203115425.01c0e0d0@...329...> At 04:02 03/02/2004, you wrote: >Salut, >tryed to create a new user with gdm >use mysql 4.0.16 >User is existing, even with password >but can't login. > >Amicalement >Charlie has it been flush priveleged ?? Regards, tahara! From rizky at ...225... Tue Feb 3 03:54:32 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Tue, 03 Feb 2004 09:54:32 +0700 Subject: [Gambas-user] automatic instruction completion In-Reply-To: <401B9CEE.40509@...324...> References: <401B9CEE.40509@...324...> Message-ID: <6.0.0.22.0.20040203095324.01bb3b80@...329...> At 19:17 31/01/2004, you wrote: >Hi. >Can you take a look at the pdf? > > that's what i'm talking about in my post about poping up... but don't have more specific like your post.. well benoit... what do you think ?? Regards, tahara! From gambas at ...1... Tue Feb 3 22:38:47 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 3 Feb 2004 22:38:47 +0100 Subject: [Gambas-user] automatic instruction completion In-Reply-To: <401B9CEE.40509@...324...> References: <401B9CEE.40509@...324...> Message-ID: <200402032238.47291.gambas@...1...> On Saturday 31 January 2004 13:17, -=FoX=- wrote: > Hi. > Can you take a look at the pdf? Well, 1) As for the automatic instruction collection, every needed information (or almost) already exists in the IDE. At startup, the IDE creates a tree of objects that describes each symbol (methods, constants, events & properties) of each component. It is just a matter of analyzing the context when you enter a "." (or type "AS" followed by a space or something else), deducing the datatype of the data, and then extract the needed information from the previous tree structure. 2) As for the IDE interface, some of your proposals are part of what I will make for a gambas 2.0. I will post a document like you did when I have time. Many features needs coding in the gambas editor component. So ? The first point could be done before the 1.0, but not the second. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Feb 3 22:41:06 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 3 Feb 2004 22:41:06 +0100 Subject: [Gambas-user] Timestamp to date In-Reply-To: <401E635A.5040806@...339...> References: <401E635A.5040806@...339...> Message-ID: <200402032241.06289.gambas@...1...> On Monday 02 February 2004 15:48, Frank Rudolph wrote: > Hello > I am working with gambas 0.70a (suse). > I would like to take the time stamps from my squid log > and convert them into a readable format. > In PHP there are some functions to convert time stamps. > How is it possible with gambas? I have tried with cdate but the results > are not ok. > Could anybody help me? > Frank > @rob > Thank you for the big multi cd example- dynamic tabstrip functionality - > i understand now :-) > What do you mean by "timestamps" ? Do you want to transform a "TIMESTAMP" MySql/Postgresql datatype to the Gambas date datatype ? -- Benoit Minisini mailto:gambas at ...1... From karl.reinl at ...9... Tue Feb 3 22:20:00 2004 From: karl.reinl at ...9... (Charlie) Date: Tue, 03 Feb 2004 22:20:00 +0100 Subject: Sorry for using it like this Re: [Gambas-user] MDK RPM .net component problem References: <200401281754.26725.reseauxit@...325...> Message-ID: <40201080.8040903@...9...> reseaux schrieb: >Dear Rob > i have installed every pack of gambas-0.82-mdk but when i try to load the >example ClientSock i have this type of error, i think is not problem of >packing because i have try to install from Benoit source and is the same >result, some idea? >Thanks in advance >Dimitri > > >------------------------------------------------------------------------------------------------------------------- >Warning: cannot find /usr/lib/gambas-0.82/lib/info/gb.net.info >WARNING: KDE detected X Error: BadMatch (invalid parameter attributes) \x08 > Major opcode: * >WARNING: KDE detected X Error: BadMatch (invalid parameter attributes) \x08 > Major opcode: * >WARNING: KDE detected X Error: BadMatch (invalid parameter attributes) \x08 > Major opcode: * >WARNING: KDE detected X Error: BadMatch (invalid parameter attributes) \x08 > Major opcode: * >WARNING: KDE detected X Error: BadMatch (invalid parameter attributes) \x08 > Major opcode: * >----------------------------------------------------------------------------------------------------------------- > > > Salut, when I wrote my last mail, about the problems with gambas-0.82, I started it always from a xterm, to have the poosibility to kill the frozen IDE by a ctrl+C. And I saw a lot of this WARNING: KDE detected X Error: BadMatch (invalid parameter attributes) \x08 Major opcode: * so now Im shure it is not my box, it must be gambas. Amicalement charlie From sourceforge-raindog2 at ...94... Tue Feb 3 23:34:27 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 3 Feb 2004 17:34:27 -0500 Subject: Sorry for using it like this Re: [Gambas-user] MDK RPM .net component problem In-Reply-To: <40201080.8040903@...9...> References: <200401281754.26725.reseauxit@...325...> <40201080.8040903@...9...> Message-ID: <200402031734.27304.sourceforge-raindog2@...94...> On Tuesday 03 February 2004 16:20, Charlie wrote: > And I saw a lot of this > WARNING: KDE detected X Error: BadMatch (invalid parameter > attributes) \x08 Major opcode: * > so now Im shure it is not my box, it must be gambas. Dimitri's problem with gb.net was this warning: > Warning: cannot find /usr/lib/gambas-0.82/lib/info/gb.net.info and not the BadMatch warnings. Those are just a side-effect of the Gambas IDE being a KDE app rather than just a Qt app now. Rob From Karl.Reinl at ...9... Tue Feb 3 20:46:31 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Tue, 3 Feb 2004 20:46:31 +0100 Subject: [Gambas-user] gmd 3 Message-ID: <200402032046.31647.Karl.Reinl@...9...> Salut, just a little bit better. Now 'show' has pictures ( a right path, shows his results) Hope I attache the right sources( see the other mail). Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-database-manager-0.0.tar.gz Type: application/x-tgz Size: 75503 bytes Desc: not available URL: From gambas at ...1... Tue Feb 3 22:40:07 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 3 Feb 2004 22:40:07 +0100 Subject: [Gambas-user] gdb and gambas In-Reply-To: <200402011118.44261.Karl.Reinl@...9...> References: <200402011118.44261.Karl.Reinl@...9...> Message-ID: <200402032240.07645.gambas@...1...> On Sunday 01 February 2004 11:18, Charlie Reinl wrote: > Salut, > > While trying to debug the IDE, to find my X-freez . > I'v got the following. > > charlie at ...351... gambas-0.82 $ cd /opt/gambas/gambas-0.82/app/gambas > charlie at ...351... gambas $ gdb gbx > GNU gdb 5.3 > Copyright 2002 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you > are welcome to change it and/or distribute copies of it under certain > conditions. Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i686-pc-linux-gnu"... > (gdb) run > Starting program: /usr/bin/gbx > > Program received signal SIGTRAP, Trace/breakpoint trap. > 0x400009b0 in _start () from /lib/ld-linux.so.2 > (gdb) > > Any idea ? > Where I'm wrong ? > > Amicalement > Charlie > Before running the gbx process, you must type "set args -p", so that share library preloading is disabled - This make gdb mad :-) Elsewhere, I don't know why you get a trap. You shouldn't. Try to type "cont" to continue. Regards, -- Benoit Minisini mailto:gambas at ...1... From frrudolph at ...339... Wed Feb 4 09:48:26 2004 From: frrudolph at ...339... (Frank Rudolph) Date: Wed, 04 Feb 2004 09:48:26 +0100 Subject: [Gambas-user] Timestamp to date Message-ID: <4020B1DA.2060904@...339...> I would like to transform the Unix Timestamp (seconds from 01.01.1970) into a readable date/time Format. The Timestamp Format in PHP is Longint. e.G..The command to transform date to timestamp is mktime ..... Frank From Karl.Reinl at ...9... Tue Feb 3 20:41:48 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Tue, 3 Feb 2004 20:41:48 +0100 Subject: [Gambas-user] is it me or is it gambas Message-ID: <200402032041.48336.Karl.Reinl@...9...> Salut, while creating a sourece package I found this. Have a look to the Filter. Beside of this I find gambas actually very unstable. Now I don't know, if it is my box (?gentoo 1.4 , qt-3.2,3 , gcc 3.2.3 , KDE 3.1.4 , mysql 4.0.16 ) or gambas. The thinks who happend to me this evening, a to hugh to explain. One was while i tryed to set a gridcells.picture to 'nothing' was that I couldn't start the project anymore. I tryed_ gridcells.picture="" gridcells.picture=NULL gridcells.picture=picture["path_to_nowhere"] So, and I remarked, that GridView, even if he's larger then the form, don'T raise his scrollbares, (the Tableview makes the same) Do you realy think we should get out a 1.0 ???????????????? Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot3.png Type: image/png Size: 35020 bytes Desc: not available URL: From dimitribellini at ...69... Wed Feb 4 16:50:55 2004 From: dimitribellini at ...69... (Dimitri Bellini) Date: Wed, 4 Feb 2004 15:50:55 +0000 Subject: [Gambas-user] Font problem Message-ID: <200402041550.55637.dimitribellini@...69...> Dear Benoit another minor problem when i try to change a Font from properties box and check the one i want from the dialog box the Propertie Font still blank and nothing is changed. Thanks Dimitri From sourceforge-raindog2 at ...94... Wed Feb 4 16:14:53 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 4 Feb 2004 10:14:53 -0500 Subject: [Gambas-user] is it me or is it gambas In-Reply-To: <200402032041.48336.Karl.Reinl@...9...> References: <200402032041.48336.Karl.Reinl@...9...> Message-ID: <200402041014.53564.sourceforge-raindog2@...94...> On Tuesday 03 February 2004 14:41, Charlie Reinl wrote: > while creating a sourece package I found this. > Have a look to the Filter. For those without picture viewers handy, Charlie's filter is looking for tarballs and "all files (*.*) but is showing only folders in his home directory. > The thinks who happend to me this evening, a to hugh to > explain. One was while i tryed to set a gridcells.picture to > 'nothing' was that I couldn't start the project anymore. Couldn't start the project because of some error message, or one of those "program terminated with signal 11" things? > So, and I remarked, that GridView, even if he's larger then > the form, don'T raise his scrollbares, (the Tableview makes > the same) What is the gridview's ScrollBar property set to? > Do you realy think we should get out a 1.0 ???????????????? Sure, after these bugs and any others that people find get fixed. That's the whole point of a beta cycle ;) Rob From gambas at ...1... Wed Feb 4 20:46:15 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 4 Feb 2004 20:46:15 +0100 Subject: [Gambas-user] is it me or is it gambas In-Reply-To: <200402032041.48336.Karl.Reinl@...9...> References: <200402032041.48336.Karl.Reinl@...9...> Message-ID: <200402042046.15911.gambas@...1...> On Tuesday 03 February 2004 20:41, Charlie Reinl wrote: > Salut, > > while creating a sourece package I found this. > Have a look to the Filter. > > Beside of this I find gambas actually very unstable. > Now I don't know, if it is my box > ( gentoo 1.4 , qt-3.2,3 , gcc 3.2.3 , KDE 3.1.4 , mysql 4.0.16 ) > or gambas. > > The thinks who happend to me this evening, a to hugh to explain. > One was while i tryed to set a gridcells.picture to 'nothing' was that I > couldn't start the project anymore. > > I tryed_ > gridcells.picture="" > gridcells.picture=NULL > gridcells.picture=picture["path_to_nowhere"] > > So, and I remarked, that GridView, even if he's larger then the form, don'T > raise his scrollbares, (the Tableview makes the same) > > Do you realy think we should get out a 1.0 ???????????????? > > Amicalement > Charlie Hi Charlie, I don't clearly understand what you want to explain. But I know that gambas does not work with QT 3.2, because I have only QT 3.1 at the moment... It is the same problem when I switched from QT 2.x to QT 3.0, and then from QT 3.0 to QT 3.1. Trolltech introduces in its library incompatibilities that breaks Gambas, maybe because Gambas uses many QT deep functions, contrary to classical QT applications. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Feb 4 20:52:08 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 4 Feb 2004 20:52:08 +0100 Subject: [Gambas-user] Timestamp to date In-Reply-To: <4020B1DA.2060904@...339...> References: <4020B1DA.2060904@...339...> Message-ID: <200402042052.08247.gambas@...1...> On Wednesday 04 February 2004 09:48, Frank Rudolph wrote: > I would like to transform the Unix Timestamp (seconds from 01.01.1970) into > a readable date/time Format. The Timestamp Format in PHP is Longint. > e.G..The command > to transform date to timestamp is mktime ..... > Frank > > OK ! Try this: DIM MyDate AS Date DIM UnixTimeStamp AS Float MyDate = CDate(CFloat(CDate("01/01/1970")) + UnixTimeStamp / 86400) And tell me if it works ! :-) Note that this formula could be wrong because it seems that sometimes, one or two second is added to some years. (man mktime for details) Regards, -- Benoit Minisini mailto:gambas at ...1... From abidoo.too at ...11... Wed Feb 4 21:06:12 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Wed, 4 Feb 2004 21:06:12 +0100 Subject: [Gambas-user] mail traffic raise on gambas list In-Reply-To: <40183BC2.2090707@...9...> References: <40165F20.5050806@...9...> <200401272207.25148.abidoo.too@...11...> <40183BC2.2090707@...9...> Message-ID: <200402042106.12284.abidoo.too@...11...> > Salut Fabien, > > real nice idea, but for the kind of site you need a good engine and a > maintainer behind. More than one maintener... > That why I thought a FTP. > Only a place where people find source-code etc.. > Your idea is realy a better , a more attractive way. > FTP only a practical thing for exchange files. This site will be ok since one or two week (but not the spelling fault gud!) I've already a good users manager... Now i implement the connecting process. Towmarrow i begin the code uploading (i think it take me two or three day... don't forget ... i'm a vinegrower not an informatician). At tis moment i'll really open the site. After... I'll impl?ment a mail system to contact the autor... an internal news server a forum and many other feature. @++ > > Amicalement > Charlie > > > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Wed Feb 4 22:17:43 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 4 Feb 2004 22:17:43 +0100 Subject: [Gambas-user] gdm next day In-Reply-To: <200402022159.14152.Karl.Reinl@...9...> References: <200402022159.14152.Karl.Reinl@...9...> Message-ID: <200402042217.43400.gambas@...1...> On Monday 02 February 2004 21:59, Charlie Reinl wrote: > Salut, > > - now you can work also with systemtables > - the columns are all readable (width) > > :-( can't replace 'X' with pictures in 'show' ...any hints ? > > what i ditn't say, I only test with mySql > > any respons from users who works with psql are welcome! > > Amicalement > Charlie I didn't look at your modifications yet, but I just want to tell you that the gambas database manager should not have database specific functions. Or at least these specific functionnalities should be implemented for all the servers, mysql & postgresql. No jealous people ;-) Regards, -- Benoit Minisini mailto:gambas at ...1... From karl.reinl at ...9... Thu Feb 5 00:01:31 2004 From: karl.reinl at ...9... (Charlie) Date: Thu, 05 Feb 2004 00:01:31 +0100 Subject: [Gambas-user] gdm next day References: <200402022159.14152.Karl.Reinl@...9...> <200402042217.43400.gambas@...1...> Message-ID: <402179CB.8030001@...9...> Benoit Minisini schrieb: >On Monday 02 February 2004 21:59, Charlie Reinl wrote: > > >>Salut, >> >>- now you can work also with systemtables >>- the columns are all readable (width) >> >>:-( can't replace 'X' with pictures in 'show' ...any hints ? >> >>what i ditn't say, I only test with mySql >> >>any respons from users who works with psql are welcome! >> >>Amicalement >>Charlie >> >> > >I didn't look at your modifications yet, but I just want to tell you that the >gambas database manager should not have database specific functions. Or at >least these specific functionnalities should be implemented for all the >servers, mysql & postgresql. No jealous people ;-) > >Regards, > > > Salut Beno?t, the modifications, are in this way . I read out the choosen table, and give the user the possibility to create the SQL request string. Never the less I try to do so. But I have only mysql to test it. For the gambas database manager I think we need for mysql a additional possibility to manage users. Acctually I can create a user, but this user can not log in with only his name and password. I hope to find the time to do something in this way. Amicalement Charlie From steff.eddy at ...330... Wed Feb 4 03:08:21 2004 From: steff.eddy at ...330... (stefanus eddy) Date: 04 Feb 2004 09:08:21 +0700 Subject: [Gambas-user] Gambas And Report Message-ID: <1075860501.9424.3.camel@...260...> Dear All What Report Engine We Can Used With Gambas????, In VB We Can Used Crystal Report to Generate Our Report. I Can't See In Gambas?????. Thanks eddy -- From sourceforge-raindog2 at ...94... Thu Feb 5 04:22:17 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 4 Feb 2004 22:22:17 -0500 Subject: [Gambas-user] Gambas And Report In-Reply-To: <1075860501.9424.3.camel@...260...> References: <1075860501.9424.3.camel@...260...> Message-ID: <200402042222.17297.sourceforge-raindog2@...94...> On Tuesday 03 February 2004 21:08, stefanus eddy wrote: > What Report Engine We Can Used With Gambas????, In VB We Can > Used Crystal Report to Generate Our Report. I Can't See In > Gambas?????. No Crystal-style reporting component has been written yet. I've done some reports just using the Printer and Draw classes, but there's no way to just drag and drop fields onto a report design screen or whatever. XML support is one of the more sought-after components for 2.0, and once that's working it should be possible to integrate with RLIB or OpenOffice without much trouble. From there it shouldn't be hard to write a report creation interface similar to that of Crystal or Access. That's a ways off though. Rob From dimitribellini at ...69... Wed Feb 4 16:37:56 2004 From: dimitribellini at ...69... (Dimitri Bellini) Date: Wed, 4 Feb 2004 15:37:56 +0000 Subject: [Gambas-user] Format function return Strange time.. Message-ID: <200402041537.56479.dimitribellini@...69...> Dear Benoit i have this strange problem with "format$" function for example: txtData.text=Format$(Now, "dd-mm-yyyy hh:mm") i have the right date but the time in the hour is right and minute i have always "02" minute. example "04-02-2004 17:02" System clock "04-02-2004 17:34" I use wrong syntax why i have this wrong time? Thanks in advance Dimitri From sourceforge-raindog2 at ...94... Thu Feb 5 05:22:27 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 4 Feb 2004 23:22:27 -0500 Subject: [Gambas-user] Format function return Strange time.. In-Reply-To: <200402041537.56479.dimitribellini@...69...> References: <200402041537.56479.dimitribellini@...69...> Message-ID: <200402042320.35958.sourceforge-raindog2@...94...> On Wednesday 04 February 2004 10:37, Dimitri Bellini wrote: > i have this strange problem with "format$" function for > example: txtData.text=Format$(Now, "dd-mm-yyyy hh:mm") ^^ ^^ Did you notice that you're using "mm" to mean both the month and the minute? :) http://www.binara.com/gambas-wiki/static/Gambas/GambasFormat.html says, # "nn" prints the minutes on two digits. I think this is the same as some dialect of VB. Rob From rizky at ...225... Thu Feb 5 06:24:55 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Thu, 5 Feb 2004 12:24:55 +0700 Subject: [Gambas-user] message Message-ID: <200402051224.55010.rizky@...225...> hi, benoit 1. on the message syntax, we can not make a button as a default. for example, i have a message dialog contains 3 buttons and i want the focus is in the third button. how message do that ? 2. it's a little about the IDE here...when i press the F4 button, it will show the property box. for programmer easyness, please make a focus too on one of the property there. try this, i have 5 textboxes on my form, every textboxes i wanna change the text properties. yes ofcourse i can click the object and click again to the property box and select the text property there. i loop my actions as many objects. but, how many times that i have throw for doing that ??? well, may be because i have long enough with VB here, so the VB user friendly are still got in me... hmm... try vb if you don't know what i mean. 3. i have 5 objects on my form. one object i sized it so it look like just what i wanted to. well.. i don't want to do that for the other objects. why don't you add menu to make the size of the rest object to have the same size that i already have ?? in VB (once again in VB, may be vb user friendly is more make programmer convienence) i can select all the objects with the one that i already sized focused. and i select the menu to make the same size ( even i just wanna have the same width, height or both ), and viola... in just a few second, i have the other 4 objects there have the same size with the one that i have sized. it will much more less time to designing, since we haven't doing the programming. so may be on the IDE must have the less time in designing and the programmer will have focus in programming more. 4. when will gambas IDE have a MDI design ? ( i haven't try what rob did about this ). well, the gambas IDE right now is just have the same look like VB3, cause since VB4 to VB6 the IDE already use MDI. sorry to have a lot of critics, request that may be bugging you... :P hopefully that gambas will have the same (even more) powerfull and user friendly than VB... :-) From sourceforge-raindog2 at ...94... Thu Feb 5 06:23:56 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 5 Feb 2004 00:23:56 -0500 Subject: [Gambas-user] message In-Reply-To: <200402051224.55010.rizky@...225...> References: <200402051224.55010.rizky@...225...> Message-ID: <200402050023.56045.sourceforge-raindog2@...94...> On Thursday 05 February 2004 00:24, Rizky Tahara Shita wrote: > 4. when will gambas IDE have a MDI design ? ( i haven't try > what rob did about this ). well, the gambas IDE right now is Mine was very hacky (I just did it as soon as the MDI workspace control became available, there's no docking or anything, just the project explorer on the left and an MDI workspace containing every other window on the right) and I'm pretty sure there's no way it would work with current Gambas releases. Benoit has expressed an interest in having it be MDI sometime after 1.0 though. Rob From rizky at ...225... Thu Feb 5 06:48:25 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Thu, 5 Feb 2004 12:48:25 +0700 Subject: [Gambas-user] message In-Reply-To: <200402051224.55010.rizky@...225...> References: <200402051224.55010.rizky@...225...> Message-ID: <200402051248.25080.rizky@...225...> On Thursday 05 February 2004 12:24, Rizky Tahara Shita wrote: > hi, benoit > > 1. on the message syntax, we can not make a button as a default. > for example, i have a message dialog contains 3 buttons and i want the > focus is in the third button. how message do that ? > > 2. it's a little about the IDE here...when i press the F4 button, it will > show the property box. for programmer easyness, please make a focus too on > one of the property there. > try this, i have 5 textboxes on my form, every textboxes i wanna change the > text properties. yes ofcourse i can click the object and click again to the > property box and select the text property there. i loop my actions as many > objects. but, how many times that i have throw for doing that ??? > well, may be because i have long enough with VB here, so the VB user > friendly are still got in me... > > hmm... try vb if you don't know what i mean. > > 3. i have 5 objects on my form. one object i sized it so it look like just > what i wanted to. well.. i don't want to do that for the other objects. why > don't you add menu to make the size of the rest object to have the same > size that i already have ?? in VB (once again in VB, may be vb user > friendly is more make programmer convienence) i can select all the objects > with the one that i already sized focused. and i select the menu to make > the same size ( even i just wanna have the same width, height or both ), > and viola... in just a few second, i have the other 4 objects there have > the same size with the one that i have sized. it will much more less time > to designing, since we haven't doing the programming. so may be on the IDE > must have the less time in designing and the programmer will have focus in > programming more. > > 4. when will gambas IDE have a MDI design ? ( i haven't try what rob did > about this ). well, the gambas IDE right now is just have the same look > like VB3, cause since VB4 to VB6 the IDE already use MDI. > > sorry to have a lot of critics, request that may be bugging you... :P > hopefully that gambas will have the same (even more) powerfull and user > friendly than VB... :-) > > hmmm.... one more: 5. when i double click the form (or any objects) it will show the function / sub like this: PUBLIC SUB Form_Open() | <------- cursor position END why don't you try to make it like this : PUBLIC SUB Form_Open() | <-------- cursor position END well... may be that's it for now... :) From rizky at ...225... Thu Feb 5 07:38:22 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Thu, 5 Feb 2004 13:38:22 +0700 Subject: [Gambas-user] file Message-ID: <200402051338.22105.rizky@...225...> have you guys an example how to write something to a file ??? open "./test.txt" for write as #hFile print #hFile, "testing" close #hFile the script above aren't working if the file never been exists... any solutions ??? From rizky at ...225... Thu Feb 5 06:41:53 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Thu, 5 Feb 2004 12:41:53 +0700 Subject: [Gambas-user] Gambas And Report In-Reply-To: <1075860501.9424.3.camel@...260...> References: <1075860501.9424.3.camel@...260...> Message-ID: <200402051241.53413.rizky@...225...> On Wednesday 04 February 2004 09:08, stefanus eddy wrote: > Dear All > > What Report Engine We Can Used With Gambas????, In VB We Can Used > Crystal Report to Generate Our Report. I Can't See In Gambas?????. > > > Thanks > > > eddy i usually create an HTML an bring that HTML template to VB or gambas. after i repeat the data for the output, i call IE or Konqueror (using SHELL) to show that HTML that i already create for output as a file (yes, ofcourse the program must have right write permission). to print the report to printer, i use javascript window.print(); in HTML that i have exported from VB or Gambas. the reason i use HTML as report are: 1. the installation will have more small size than using report engine... 2. i have more freedom to design report just like what i wanted to... have fun... *hem... right now i'm doing an example to do that.... may be when it's done, i'll post...* From sourceforge-raindog2 at ...94... Thu Feb 5 07:44:13 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 5 Feb 2004 01:44:13 -0500 Subject: [Gambas-user] message In-Reply-To: <200402051248.25080.rizky@...225...> References: <200402051224.55010.rizky@...225...> <200402051248.25080.rizky@...225...> Message-ID: <200402050144.13011.sourceforge-raindog2@...94...> On Thursday 05 February 2004 00:48, Rizky Tahara Shita wrote: > why don't you try to make it like this : > PUBLIC SUB Form_Open() > | <-------- cursor position > END I think the way it is now is the way it is in VB.... I certainly tend to leave a blank line before and after my procs.... Rob From sourceforge-raindog2 at ...94... Thu Feb 5 07:47:07 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 5 Feb 2004 01:47:07 -0500 Subject: [Gambas-user] file In-Reply-To: <200402051338.22105.rizky@...225...> References: <200402051338.22105.rizky@...225...> Message-ID: <200402050147.07748.sourceforge-raindog2@...94...> On Thursday 05 February 2004 01:38, Rizky Tahara Shita wrote: > open "./test.txt" for write as #hFile open "./test.txt" for write create as #hFile if you don't know for sure that it's not there, do try kill "./test.txt" first just to make sure.... see http://www.binara.com/gambas-wiki/static/Gambas/GambasOPEN.html Rob From sourceforge-raindog2 at ...94... Thu Feb 5 07:48:29 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 5 Feb 2004 01:48:29 -0500 Subject: [Gambas-user] Gambas And Report In-Reply-To: <200402051241.53413.rizky@...225...> References: <1075860501.9424.3.camel@...260...> <200402051241.53413.rizky@...225...> Message-ID: <200402050148.29039.sourceforge-raindog2@...94...> On Thursday 05 February 2004 00:41, Rizky Tahara Shita wrote: > the reason i use HTML as report are: > 1. the installation will have more small size than using > report engine... 2. i have more freedom to design report just > like what i wanted to... Unfortunately, HTML doesn't support page headers or footers when printing, rendering it less than useful for many reporting tasks. Otherwise I would do the same thing. Rob From frrudolph at ...339... Thu Feb 5 12:44:34 2004 From: frrudolph at ...339... (Frank Rudolph) Date: Thu, 05 Feb 2004 12:44:34 +0100 Subject: [Gambas-user] Timestamp to Date Message-ID: <40222CA2.5070505@...339...> Hello Benoit Thank you for the short Codestrip. I think it works perfect!! I cant see differences of seconds. One of my teammates (a VB programmer) gets the same date results for the same timestamps as me. So long. Thanks a lot..... :-)) Frank Rudolph From olinux at ...289... Thu Feb 5 12:55:01 2004 From: olinux at ...289... (olivier coquet) Date: Thu, 05 Feb 2004 12:55:01 +0100 Subject: [Gambas-user] 0.82 Bug... Message-ID: <1075982100.21623.3.camel@...37...> Label font can't be changed..... olinux From frrudolph at ...339... Thu Feb 5 16:35:12 2004 From: frrudolph at ...339... (Frank Rudolph) Date: Thu, 05 Feb 2004 16:35:12 +0100 Subject: [Gambas-user] listbox refresh while filling Message-ID: <402262B0.2030800@...339...> Hello Together While reading a big File(about 500000 lines) i will fill a Listbox with the results. Read line in string s listbox.add(s) Because of long running i will refresh my listbox - parhaps every 500 lines of results. If i perform a listbox1.refresh - noting happens. If i create a textlabel and do a textlabel.text=s textlabel.refresh every line is shown. (it works ok) The question - is the refresh method the right method updateing listboxes or is listbox the wrong control or is it a problem of the operating system (suse9) This is not a very important Problem for me ..... but if anybody knows something please tell me.... Thanks Frank From pchapman at ...129... Thu Feb 5 17:37:16 2004 From: pchapman at ...129... (Philip A. Chapman) Date: Thu, 05 Feb 2004 10:37:16 -0600 Subject: [Gambas-user] listbox refresh while filling In-Reply-To: <402262B0.2030800@...339...> References: <402262B0.2030800@...339...> Message-ID: <1075999036.3060.6.camel@...352...> On Thu, 2004-02-05 at 09:35, Frank Rudolph wrote: > Because of long running i will refresh my listbox - parhaps every 500 > lines of results. > If i perform a listbox1.refresh - noting happens. Try putting a WAIT statement after listbox1.refresh. This will allow other threads to run; similar, but not the same as VB's doevents. -- Philip A. Chapman Application Development: Java, Visual Basic (MCP), PostgreSQL, MySQL, MSSQL Linux, Windows 9x, Windows NT, Windows 2000, Windows XP -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From louhelm at ...353... Thu Feb 5 18:51:48 2004 From: louhelm at ...353... (Louhelm du Plessis) Date: Thu, 5 Feb 2004 19:51:48 +0200 Subject: [Gambas-user] ColumnView Question Message-ID: <000e01c3ec10$bde577f0$0100a8c0@...354...> Hi All I am a new Gambas (and Linux) user and I have to tell you I think Gambas is brilliant and fun to work with. I have 2 stupid questions: 1. How do I add more than one column item in a ColumnView? ex. "Peter" | "0823562722". In VB I used .SubItem. 2. I got Gambas 0.64a with Suse 9. I downloaded the update. When I run sh ./configure it says 'can't read ./src/..... /Makefile.in: no such file or directory' a few times and aborts. How do I find out what my srcdir is? Thanx Louhelm (South-Africa, FORMER VB programmer!) -------------- next part -------------- An HTML attachment was scrubbed... URL: From abidoo.too at ...11... Thu Feb 5 23:39:49 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Thu, 5 Feb 2004 23:39:49 +0100 Subject: [Gambas-user] ColumnView Question In-Reply-To: <000e01c3ec10$bde577f0$0100a8c0@...354...> References: <000e01c3ec10$bde577f0$0100a8c0@...354...> Message-ID: <200402052339.49737.abidoo.too@...11...> Le Jeudi 05 F?vrier 2004 18:51, Louhelm du Plessis a ?crit : > Hi All > > > I am a new Gambas (and Linux) user and I have to tell you I think Gambas is > brilliant and fun to work with. I have 2 stupid questions: > 1. How do I add more than one column item in a ColumnView? ex. "Peter" | > "0823562722". In VB I used .SubItem. 2. I got Gambas 0.64a with Suse 9. I hummm Columnview["titi"][0] = "text" Columnview["titi"][1] = "text" Columnview["titi"][2] = "text" etc... fabien > downloaded the update. When I run sh ./configure it says 'can't read > ./src/..... /Makefile.in: no such file or directory' a few times and > aborts. How do I find out what my srcdir is? > > > Thanx > Louhelm (South-Africa, FORMER VB programmer!) From olinux at ...289... Fri Feb 6 06:47:06 2004 From: olinux at ...289... (Olivier Coquet) Date: Fri, 6 Feb 2004 06:47:06 +0100 Subject: [Gambas-user] bug in gambas 0.82..........??? Message-ID: <200402060647.06247.olinux@...289...> no answer about font problem???? in reality i can't change any font of any ctrl in gambas, what is the trouble? regards olivier From sourceforge-raindog2 at ...94... Fri Feb 6 07:06:40 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 6 Feb 2004 01:06:40 -0500 Subject: [Gambas-user] bug in gambas 0.82..........??? In-Reply-To: <200402060647.06247.olinux@...289...> References: <200402060647.06247.olinux@...289...> Message-ID: <200402060106.40427.sourceforge-raindog2@...94...> On Friday 06 February 2004 00:47, Olivier Coquet wrote: > no answer about font problem???? Benoit's been busy lately, I think. > in reality i can't change any font of any ctrl in gambas, what > is the trouble? I can verify this in the IDE, but it still works fine in code. Rob From louhelm at ...353... Fri Feb 6 08:13:26 2004 From: louhelm at ...353... (Louhelm du Plessis) Date: Fri, 6 Feb 2004 09:13:26 +0200 Subject: [Gambas-user] ColumnView Question Message-ID: <002b01c3ec80$cdc9f680$0100a8c0@...354...> Thank you fabien. It's working perfectly now :) > 1. How do I add more than one column item in a ColumnView? ex. "Peter" | > "0823562722". In VB I used .SubItem. 2. I got Gambas 0.64a with Suse 9. I hummm Columnview["titi"][0] =3D "text" Columnview["titi"][1] =3D "text" Columnview["titi"][2] =3D "text" etc... Louhelm -------------- next part -------------- An HTML attachment was scrubbed... URL: From olinux at ...289... Fri Feb 6 08:36:33 2004 From: olinux at ...289... (Olivier Coquet) Date: Fri, 6 Feb 2004 08:36:33 +0100 Subject: [Gambas-user] an idea to distribute gambas projects with autoexecute.... Message-ID: <200402060836.33362.olinux@...289...> Just an idea, i need your opinion. take a gambas srce package (tar.gz) decompress it replace app dir with your project srce code (renamed app) recompress it distribute my questions: when this package compile, is the app recursively copied ? what the name of project must be to run at gambas startup? is the project compiled in executable form before copied? my idea is to replace the ide by a project to run automatiquely at startup regards olivier From abidoo.too at ...11... Fri Feb 6 21:22:26 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Fri, 6 Feb 2004 21:22:26 +0100 Subject: [Gambas-user] ColumnView Question In-Reply-To: <002b01c3ec80$cdc9f680$0100a8c0@...354...> References: <002b01c3ec80$cdc9f680$0100a8c0@...354...> Message-ID: <200402062122.26233.abidoo.too@...11...> Le Vendredi 06 F?vrier 2004 08:13, Louhelm du Plessis a ?crit : > Thank you fabien. It's working perfectly now :) > > > 1. How do I add more than one column item in a ColumnView? ex. "Peter" | > > "0823562722". In VB I used .SubItem. 2. I got Gambas 0.64a with Suse 9. > > I > > hummm > Columnview["titi"][0] =3D "text" > Columnview["titi"][1] =3D "text" > Columnview["titi"][2] =3D "text" > etc... > > > Louhelm ColumnsView.Columns.count = n columns From daniel.campos at ...338... Fri Feb 6 21:22:07 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Fri, 06 Feb 2004 21:22:07 +0100 Subject: [Gambas-user] bug in gambas 0.82..........??? In-Reply-To: <200402060647.06247.olinux@...289...> References: <200402060647.06247.olinux@...289...> Message-ID: <1076098926.5004.0.camel@...40...> El vie, 06-02-2004 a las 06:47, Olivier Coquet escribi?: > no answer about font problem???? > > in reality i can't change any font of any ctrl in gambas, what is the trouble? > I can't change the font in preferences from Gambas itself! > > regards > olivier > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From rizky at ...225... Sat Feb 7 03:36:18 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Sat, 07 Feb 2004 09:36:18 +0700 Subject: [Gambas-user] bug in gambas 0.82..........??? In-Reply-To: <1076098926.5004.0.camel@...40...> References: <200402060647.06247.olinux@...289...> <1076098926.5004.0.camel@...40...> Message-ID: <6.0.0.22.2.20040207093547.01d08988@...329...> At 03:22 07/02/2004, you wrote: >El vie, 06-02-2004 a las 06:47, Olivier Coquet escribi?: > > no answer about font problem???? > > > > in reality i can't change any font of any ctrl in gambas, what is the > trouble? > > > >I can't change the font in preferences from Gambas itself! yup, my 0.82 also won't change the editor code from preferences... :( > > > > regards > > olivier > > > > > > > > ------------------------------------------------------- > > The SF.Net email is sponsored by EclipseCon 2004 > > Premiere Conference on Open Tools Development and Integration > > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > > http://www.eclipsecon.org/osdn > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > >------------------------------------------------------- >The SF.Net email is sponsored by EclipseCon 2004 >Premiere Conference on Open Tools Development and Integration >See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. >http://www.eclipsecon.org/osdn >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user Regards, tahara! From rizky at ...225... Sat Feb 7 06:17:20 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Sat, 7 Feb 2004 12:17:20 +0700 Subject: [Gambas-user] CTRL + Arrow Up and Down Message-ID: <200402071217.20643.rizky@...225...> hi benoit, in my few last mail about this have done fine, but look and try this: i wanna select all the sub /function instantly with that buttons by adding the SHIFT button (CTRL + SHIFT + Arrow Up (or Down)), viola! nothing happen.... :( From rizky at ...225... Sat Feb 7 06:30:41 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Sat, 7 Feb 2004 12:30:41 +0700 Subject: [Gambas-user] paste to the gambas editor Message-ID: <200402071230.41758.rizky@...225...> i'm typing gambas code in kwrite with the structure like this: public form_open() Message ("test") end i use tabspace before syntax Message ("test") now i want to copied and paste that code to gambas editor, what did i get ? PUBLIC form_open() 0Message ("test") END there... i got unknown characters (i replace that unknown character with '0', since kmail translated it to tabspace character correctly) something wrong ??? From rizky at ...225... Sat Feb 7 06:35:40 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Sat, 7 Feb 2004 12:35:40 +0700 Subject: [Gambas-user] double quote Message-ID: <200402071235.40898.rizky@...225...> i type : a = "test and i press Arrow Down (or Up), i don't get double quote on the last. should it be like this: a = "test" when the Arrow Down or Up pressed ??? From gambas at ...1... Sat Feb 7 09:41:03 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 7 Feb 2004 09:41:03 +0100 Subject: [Gambas-user] bug in gambas 0.82..........??? In-Reply-To: <6.0.0.22.2.20040207093547.01d08988@...329...> References: <200402060647.06247.olinux@...289...> <1076098926.5004.0.camel@...40...> <6.0.0.22.2.20040207093547.01d08988@...329...> Message-ID: <200402070941.03543.gambas@...1...> On Saturday 07 February 2004 03:36, Rizky Tahara Shita wrote: > At 03:22 07/02/2004, you wrote: > >El vie, 06-02-2004 a las 06:47, Olivier Coquet escribi?: > > > no answer about font problem???? > > > > > > in reality i can't change any font of any ctrl in gambas, what is the > > > > trouble? > > > > > >I can't change the font in preferences from Gambas itself! > > yup, my 0.82 also won't change the editor code from preferences... :( > To fix the problem, comment the line 231 in ./src/lib/qt/kde/CDialog.cpp. The redefinition of "Dialog.Font" in the KDE component prevent the font dialog box to return the selected font! I just forgot to remove it... Sorry for the inconvenience, Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Feb 7 09:41:45 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 7 Feb 2004 09:41:45 +0100 Subject: [Gambas-user] CTRL + Arrow Up and Down In-Reply-To: <200402071217.20643.rizky@...225...> References: <200402071217.20643.rizky@...225...> Message-ID: <200402070941.45409.gambas@...1...> On Saturday 07 February 2004 06:17, Rizky Tahara Shita wrote: > hi benoit, > > in my few last mail about this have done fine, but look and try this: > i wanna select all the sub /function instantly with that buttons by adding > the SHIFT button (CTRL + SHIFT + Arrow Up (or Down)), viola! nothing > happen.... :( > Gna gna gna... I just didn't think to do it :-) -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Feb 7 09:46:31 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 7 Feb 2004 09:46:31 +0100 Subject: [Gambas-user] paste to the gambas editor In-Reply-To: <200402071230.41758.rizky@...225...> References: <200402071230.41758.rizky@...225...> Message-ID: <200402070946.31136.gambas@...1...> On Saturday 07 February 2004 06:30, Rizky Tahara Shita wrote: > i'm typing gambas code in kwrite with the structure like this: > > public form_open() > Message ("test") > end > > i use tabspace before syntax Message ("test") > now i want to copied and paste that code to gambas editor, what did i get ? > > PUBLIC form_open() > 0Message ("test") > END > > there... i got unknown characters (i replace that unknown character with > '0', since kmail translated it to tabspace character correctly) > > > something wrong ??? > You are right. I should replace the '\t' character by spaces before pasting... Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Feb 7 09:46:59 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 7 Feb 2004 09:46:59 +0100 Subject: [Gambas-user] double quote In-Reply-To: <200402071235.40898.rizky@...225...> References: <200402071235.40898.rizky@...225...> Message-ID: <200402070946.59104.gambas@...1...> On Saturday 07 February 2004 06:35, Rizky Tahara Shita wrote: > i type : > > a = "test > > and i press Arrow Down (or Up), i don't get double quote on the last. > > should it be like this: > > a = "test" > > when the Arrow Down or Up pressed ??? > > Yes, in VB. But not in Gambas... Unlucky ! -- Benoit Minisini mailto:gambas at ...1... From olinux at ...289... Sat Feb 7 14:18:26 2004 From: olinux at ...289... (Olivier Coquet) Date: Sat, 7 Feb 2004 14:18:26 +0100 Subject: [Gambas-user] Suggestion...ToolTip... Message-ID: <200402071418.26566.olinux@...289...> Is it possible than there is an application property that can be set (false or true) to display or not the tooltips for the complette application ???? I thing this will be realy interesting for application inteligibility regards Olivier From gambas at ...1... Sat Feb 7 17:19:26 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 7 Feb 2004 17:19:26 +0100 Subject: [Gambas-user] CTRL + Arrow Up and Down In-Reply-To: <200402070941.45409.gambas@...1...> References: <200402071217.20643.rizky@...225...> <200402070941.45409.gambas@...1...> Message-ID: <200402071719.26813.gambas@...1...> On Saturday 07 February 2004 09:41, Benoit Minisini wrote: > On Saturday 07 February 2004 06:17, Rizky Tahara Shita wrote: > > hi benoit, > > > > in my few last mail about this have done fine, but look and try this: > > i wanna select all the sub /function instantly with that buttons by > > adding the SHIFT button (CTRL + SHIFT + Arrow Up (or Down)), viola! > > nothing happen.... :( > > Gna gna gna... I just didn't think to do it :-) But why do you need that ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Feb 7 17:20:00 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 7 Feb 2004 17:20:00 +0100 Subject: [Gambas-user] an idea to distribute gambas projects with autoexecute.... In-Reply-To: <200402060836.33362.olinux@...289...> References: <200402060836.33362.olinux@...289...> Message-ID: <200402071720.00456.gambas@...1...> On Friday 06 February 2004 08:36, Olivier Coquet wrote: > Just an idea, i need your opinion. > > > take a gambas srce package (tar.gz) > decompress it > replace app dir with your project srce code (renamed app) > recompress it > distribute > > my questions: > > when this package compile, is the app recursively copied ? > what the name of project must be to run at gambas startup? > is the project compiled in executable form before copied? > > my idea is to replace the ide by a project to run automatiquely at startup > > regards > olivier > Alas I don't understand what you mean exactly... -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Feb 7 17:21:34 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 7 Feb 2004 17:21:34 +0100 Subject: [Gambas-user] listbox refresh while filling In-Reply-To: <1075999036.3060.6.camel@...352...> References: <402262B0.2030800@...339...> <1075999036.3060.6.camel@...352...> Message-ID: <200402071721.34897.gambas@...1...> On Thursday 05 February 2004 17:37, Philip A. Chapman wrote: > On Thu, 2004-02-05 at 09:35, Frank Rudolph wrote: > > Because of long running i will refresh my listbox - parhaps every 500 > > lines of results. > > If i perform a listbox1.refresh - noting happens. > > Try putting a WAIT statement after listbox1.refresh. This will allow > other threads to run; There is no other threads. WAIT just allows the event loop to dispatch all current pending events except input events (mouse, keyboard, ...). -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Feb 7 17:14:16 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 7 Feb 2004 17:14:16 +0100 Subject: [Gambas-user] Suggestion...ToolTip... In-Reply-To: <200402071418.26566.olinux@...289...> References: <200402071418.26566.olinux@...289...> Message-ID: <200402071714.16559.gambas@...1...> On Saturday 07 February 2004 14:18, Olivier Coquet wrote: > Is it possible than there is an application property that can be set (false > or true) to display or not the tooltips for the complette application ???? > > I thing this will be realy interesting for application inteligibility > > > regards > Olivier > > Yes, it is possible :-) -- Benoit Minisini mailto:gambas at ...1... From olinux at ...289... Sat Feb 7 18:04:45 2004 From: olinux at ...289... (Olivier Coquet) Date: Sat, 7 Feb 2004 18:04:45 +0100 Subject: [Gambas-user] an idea to distribute gambas projects with autoexecute.... In-Reply-To: <200402071720.00456.gambas@...1...> References: <200402060836.33362.olinux@...289...> <200402071720.00456.gambas@...1...> Message-ID: <200402071804.45118.olinux@...289...> > > Alas I don't understand what you mean exactly... [version exclusivement fran?aise....] bon en gros, gambas est un SUPER language, j'arrete pas de d?velopper des trucs, soit gratuits (GPL) et la chacun se d?brouille comme il veut, soit commercial (et oui faut bien que je mange un peu, les octets ne nourissent pas!) les logiciels commerciaux que je d?veloppe sont destinn?s ? favoriser la migration de serveurs d'entreprise windows vers du linux. Il est donc n?cessaire d'obtenir des installations ultra-simplifi?es. Je cherche donc ? savoir si il serait possible de supprimer tous ce qui n'est pas n?cessaire dans la distrib tar.gz de gambas, d'y ajouter les sources du logiciel d?velopp? et de faire un package qui une fois compill? installerait tous au bon endroit pour que le dit logiciel fonctionne sans avoir a se pr?ocuper de gambas. Voili Voilou !!!!!! En clair: je sais d?ja que pour lancer un programme au d?marrage de gambas il suffit de nomer la version compill?e de ce programme, "gambas" et de le copier dans le r?pertoire /opt/gambas/bin reste a d?terminer si il est possible d?s la compilation du package gambas, de l'installer en lieu et place de l'ide, et de supprimer tous ce qui ne servirait ? rien. amiti? Olivier PS: j'ai remarqu? quelques petites lacunes qu"a mon avis, il serait fort utile de combler dans la version 1.0, comme par exemple l'allignement de plusieurs controles sur une ligne verticale ou horizontale, de m?me que la mise ? la taille de toute une s?rie de contr?les. Idem pour la possibilit? de disposer d'une propri?t? g?n?rale ? l'application, interdisant ou autorisant l'affichage des tooltips (g?n?rale a toute l'application ou simplement g?n?rale pour un formulaire). dans la m?me optique un editeur de TabStrip permettrait de pouvoir ins?rez ou d?placer les tabs ce qui aujourd'hui n'est a ma connaissance possible qu'en modifiant directement le source via un editeur de texte. voila quelques remarques qui j'esp?re te serviront. From olinux at ...289... Sat Feb 7 18:05:25 2004 From: olinux at ...289... (Olivier Coquet) Date: Sat, 7 Feb 2004 18:05:25 +0100 Subject: [Gambas-user] Suggestion...ToolTip... In-Reply-To: <200402071714.16559.gambas@...1...> References: <200402071418.26566.olinux@...289...> <200402071714.16559.gambas@...1...> Message-ID: <200402071805.25829.olinux@...289...> Le Samedi 7 F?vrier 2004 17:14, Benoit Minisini a ?crit : > On Saturday 07 February 2004 14:18, Olivier Coquet wrote: > > Is it possible than there is an application property that can be set > > (false or true) to display or not the tooltips for the complette > > application ???? > > > > I thing this will be realy interesting for application inteligibility > > > > > > regards > > Olivier > > Yes, it is possible :-) yehaaaaaaaaaaaaaaa speed benoit, speed ! olivier:=) From olinux at ...289... Sat Feb 7 18:10:37 2004 From: olinux at ...289... (Olivier Coquet) Date: Sat, 7 Feb 2004 18:10:37 +0100 Subject: [Gambas-user] Another idea...... Message-ID: <200402071810.37375.olinux@...289...> [toujours en Fran?ais.....sorry] Serait il possible d'inclure directement sur le site, une zone: applications d?velopp?es sous gambas, ca simplifierait pas mal les choses et ca ferait de gambas un language tr?s vivant et probablement une bonne r?f?rence... Olivier PS: Pour l'instant d'ici un ou deux jours, j'aurais a disposition une interface graphique complette de gestion du serveur de mail eXtremail, stratoria est tjrs en cours de d?veloppement mais j'attend la version stable de gambas pour le finaliser. From pchapman at ...129... Sat Feb 7 18:25:38 2004 From: pchapman at ...129... (Philip A. Chapman) Date: Sat, 07 Feb 2004 11:25:38 -0600 Subject: [Gambas-user] listbox refresh while filling In-Reply-To: <200402071721.34897.gambas@...1...> References: <402262B0.2030800@...339...> <1075999036.3060.6.camel@...352...> <200402071721.34897.gambas@...1...> Message-ID: <1076174738.2901.6.camel@...352...> On Sat, 2004-02-07 at 10:21, Benoit Minisini wrote: > On Thursday 05 February 2004 17:37, Philip A. Chapman wrote: > > Try putting a WAIT statement after listbox1.refresh. This will allow > > other threads to run; > > There is no other threads. WAIT just allows the event loop to dispatch all > current pending events except input events (mouse, keyboard, ...). Sorry, my mistake. I get my VB and Gambas mixed up as I am still an active VB developer. -- Philip A. Chapman Application Development: Java, Visual Basic (MCP), PostgreSQL, MySQL, MSSQL Linux, Windows 9x, Windows NT, Windows 2000, Windows XP -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From sourceforge-raindog2 at ...94... Sat Feb 7 19:21:20 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 7 Feb 2004 13:21:20 -0500 Subject: [Gambas-user] Another idea...... In-Reply-To: <200402071810.37375.olinux@...289...> References: <200402071810.37375.olinux@...289...> Message-ID: <200402071308.59057.sourceforge-raindog2@...94...> On Saturday 07 February 2004 12:10, Olivier Coquet wrote: > Serait il possible d'inclure directement sur le site, une > zone: applications d?velopp?es sous gambas, ca simplifierait > pas mal les choses et ca ferait de gambas un language tr?s > vivant et probablement une bonne r?f?rence... I have a lot of little apps I write in Gambas myself, and thought of starting such a page in the wiki to link to them as well as others like that Lindows Gameboy emulator front-end. I couldn't bring myself to create a page that largely just links to my own programs though, since my company hosts the wiki and I felt like I would be abusing that position somehow by doing that. If you'd like to add a page in the wiki I'd be happy to add my own stuff to it, and anything else that I come across. Also, I've noticed Benoit has included, for example, my Gambas version of the robotfindskitten "game" as an example app in the Gambas tarball, as well as examples from other people that kind of demonstrate Gambas' diversity. We wouldn't want to ship every app ever written in Gambas, but the self-contained ones that are fairly straightforward are good to include that way. I wonder if I or someone else should start working on wiki pages (heh, after I have time to make Benoit's latest round of changes to the extract) to document each example project and the unique concepts each of them embodies. Rob From abidoo.too at ...11... Sat Feb 7 21:09:08 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Sat, 7 Feb 2004 21:09:08 +0100 Subject: [Gambas-user] Another idea...... In-Reply-To: <200402071810.37375.olinux@...289...> References: <200402071810.37375.olinux@...289...> Message-ID: <200402072109.08429.abidoo.too@...11...> Le Samedi 07 F?vrier 2004 18:10, Olivier Coquet a ?crit : > [toujours en Fran?ais.....sorry] > > Serait il possible d'inclure directement sur le site, une zone: > applications d?velopp?es sous gambas, ca simplifierait pas mal les choses > et ca ferait de gambas un language tr?s vivant et probablement une bonne > r?f?rence... > > Olivier > > PS: Pour l'instant d'ici un ou deux jours, j'aurais a disposition une > interface graphique complette de gestion du serveur de mail eXtremail, > stratoria est tjrs en cours de d?veloppement mais j'attend la version > stable de gambas pour le finaliser. oui oui l'ami .... ?a vien je suis sur le coup ... plus que deux ou trois coup de peinceau et on aura notre source share a nous rien qu'a nous ... rien de moin que 10 go de place avec a terme un moteur de recherche... forum... etc mais bien sur le tout en anglais... dsl Fabien > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From daniel.campos at ...338... Sat Feb 7 21:13:44 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Sat, 07 Feb 2004 21:13:44 +0100 Subject: [Gambas-user] Another idea...... In-Reply-To: <200402072109.08429.abidoo.too@...11...> References: <200402071810.37375.olinux@...289...> <200402072109.08429.abidoo.too@...11...> Message-ID: <1076184824.14905.0.camel@...40...> > > mais bien sur le tout en anglais... dsl Or at least a little translation to english, please... > > > Fabien > > > > ------------------------------------------------------- > > The SF.Net email is sponsored by EclipseCon 2004 > > Premiere Conference on Open Tools Development and Integration > > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > > http://www.eclipsecon.org/osdn > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From ronstk at ...239... Sat Feb 7 21:16:16 2004 From: ronstk at ...239... (ron) Date: Sat, 7 Feb 2004 21:16:16 +0100 Subject: [Gambas-user] Another idea...... In-Reply-To: <200402071810.37375.olinux@...289...> References: <200402071810.37375.olinux@...289...> Message-ID: <200402072116.16988.ronstk@...239...> On Saturday 07 February 2004 18:10, Olivier Coquet wrote: > [toujours en Fran?ais.....sorry] > > Serait il possible d'inclure directement sur le site, une zone: > applications d?velopp?es sous gambas, ca simplifierait pas mal les choses > et ca ferait de gambas un language tr?s vivant et probablement une bonne > r?f?rence... > > Olivier > > PS: Pour l'instant d'ici un ou deux jours, j'aurais a disposition une > interface graphique complette de gestion du serveur de mail eXtremail, > stratoria est tjrs en cours de d?veloppement mais j'attend la version > stable de gambas pour le finaliser. > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Hallo Olivier, Aqui Ron el hollandes. cet non problem parle fransais? cut and past deine Tekste einfag in Googel doosje, hier is de link. http://www.google.com/language_tools?hl=fr English: I know it is mostly the easy way to write your idee in the native language. It is for me the same. Only there is a problem, there are a few members, reading and understanding the dutch language. It is also a pity google can not translate from or to the dutch language. It is anyway very handy to write in your own language, french or spanic, and using google to translate it to english. Have a nice day. I use this way the past 8 weeks to be able to make the software I had to write in German, French, English, Spanic and Dutch. The above text is translated by google to French. Fran?ais: Je sais que c'est la plupart du temps la mani?re facile d'?crire votre idee dans la langue maternelle. C'est pour moi pareil. Seulement il y a un probl?me, l? est quelques membres, lisant et comprenant la langue hollandaise. C'est ?galement un google de piti? ne peut pas traduire ou derri?re la langue hollandaise. Il est de toute fa?on tr?s maniable pour ?crire en votre propre langue, fran?ais ou spanic, et en utilisant le google pour le traduire ? l'anglais. Ayez un beau jour. J'emploie de cette fa?on les derni?res 8 semaines de pouvoir faire le logiciel que j'ai d? ?crire en allemand, fran?ais, anglais, Spanic et le n?erlandais. If you past it back for translation to your orginal French you can find also translating error's and reformat the French text to get a better English one. Avec beaucoup de salutations de Ron From sourceforge-raindog2 at ...94... Sat Feb 7 21:29:38 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 7 Feb 2004 15:29:38 -0500 Subject: [Gambas-user] Another idea...... In-Reply-To: <200402072116.16988.ronstk@...239...> References: <200402071810.37375.olinux@...289...> <200402072116.16988.ronstk@...239...> Message-ID: <200402071529.38329.sourceforge-raindog2@...94...> On Saturday 07 February 2004 15:16, ron wrote: > I use this way the past 8 weeks to be able to make the > software I had to write in German, French, English, Spanic > and Dutch. > The above text is translated by google to French. When I get the documentation/wiki translation project going again, I will be using google (or babelfish, or whatever automated translating tool I can access programmatically) to provide rough translations of the pages for volunteers to clean up, but in the end Google is no substitute for a real human translation. There are too many untranslated words and incorrectly translated idioms. When someone posts in another language and I'm unable to figure out what he's saying (usually I can, if it's French or German or Spanish) I sometimes use Google to provide me with clues, but I can never assume I fully understand what he's saying based on automatic translation. Rob From lcliff at ...284... Sat Feb 7 21:39:52 2004 From: lcliff at ...284... (Luke Cliff) Date: Sun, 08 Feb 2004 06:39:52 +1000 Subject: [Gambas-user] Re:bug in gambas In-Reply-To: References: Message-ID: <40254D18.3000402@...284...> hhmm, Me too :) mdk9.2... I also noticed that gambas reads all child Directories with *.class extension as gambas files, I tried to throw in a few Java class files within the directories of a program using shell and EXEC read to sdtin, the output of a java class, but gambas complained about the files syntax? Is there any way around this. I can't complain, Because of gambas, I have a remote control for me MP3s and "Screen Savers", a program that tells me when I can go fishing with tide height and moon percents, temperature gauges, client bloggs, Popup reminders, a calendar with a allocated schedule, and a "fresh meat email" knife.... The bad thing is I go back to work the next day and service the drone... Hoping one day people will realize the dark age they are living in..... Thankyou Gambas for letting me do what I want :) Regards Luke > 2. Re: bug in gambas 0.82..........??? (Rob) > 6. Re: bug in gambas 0.82..........??? (Daniel Campos) > 7. Re: bug in gambas 0.82..........??? (Rizky Tahara Shita) From gambas at ...1... Sat Feb 7 21:41:53 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 7 Feb 2004 21:41:53 +0100 Subject: [Gambas-user] Another idea...... In-Reply-To: <200402071529.38329.sourceforge-raindog2@...94...> References: <200402071810.37375.olinux@...289...> <200402072116.16988.ronstk@...239...> <200402071529.38329.sourceforge-raindog2@...94...> Message-ID: <200402072141.53951.gambas@...1...> On Saturday 07 February 2004 21:29, Rob wrote: > On Saturday 07 February 2004 15:16, ron wrote: > > I use this way the past 8 weeks to be able to make the > > software I had to write in German, French, English, Spanic > > and Dutch. > > The above text is translated by google to French. > > When I get the documentation/wiki translation project going > again, I will be using google (or babelfish, or whatever > automated translating tool I can access programmatically) to > provide rough translations of the pages for volunteers to clean > up, but in the end Google is no substitute for a real human > translation. There are too many untranslated words and > incorrectly translated idioms. > > When someone posts in another language and I'm unable to figure > out what he's saying (usually I can, if it's French or German or > Spanish) I sometimes use Google to provide me with clues, but I > can never assume I fully understand what he's saying based on > automatic translation. > > Rob > Well... I think I will make a french mailing-list too, so that french does not pollute this mailing-list :-) -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Feb 7 21:50:25 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 7 Feb 2004 21:50:25 +0100 Subject: [Gambas-user] Re:bug in gambas In-Reply-To: <40254D18.3000402@...284...> References: <40254D18.3000402@...284...> Message-ID: <200402072150.25411.gambas@...1...> On Saturday 07 February 2004 21:39, Luke Cliff wrote: > hhmm, Me too :) > > mdk9.2... > > I also noticed that gambas reads all child Directories with *.class > extension as gambas files, I tried to throw in a few Java class files > within the directories of a program using shell and EXEC read to sdtin, > the output of a java class, but gambas complained about the files > syntax? Is there any way around this. > > I can't complain, > Because of gambas, I have a remote control for me MP3s and "Screen > Savers", a program that tells me when I can go fishing with tide height > and moon percents, temperature gauges, client bloggs, Popup reminders, a > calendar with a allocated schedule, and a "fresh meat email" knife.... > Hey, dude !! :-) Can't you send us a screenshot of all of these marvels ?? I suggest people that have made little (or big) program with Gambas but told nobody to send me a screenshot. Then, I will be able to make these screenshots on a web page. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Feb 7 21:52:31 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 7 Feb 2004 21:52:31 +0100 Subject: [Gambas-user] Re:bug in gambas In-Reply-To: <40254D18.3000402@...284...> References: <40254D18.3000402@...284...> Message-ID: <200402072152.31923.gambas@...1...> On Saturday 07 February 2004 21:39, Luke Cliff wrote: > hhmm, Me too :) > > mdk9.2... > > I also noticed that gambas reads all child Directories with *.class > extension as gambas files, I tried to throw in a few Java class files > within the directories of a program using shell and EXEC read to sdtin, > the output of a java class, but gambas complained about the files > syntax? Is there any way around this. > I forgot... Put your java *.class file in a subdirectory of the project. The gambas compiler don't search project subdirectories for files to compile. Regards, -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Sat Feb 7 22:21:56 2004 From: ronstk at ...239... (ron) Date: Sat, 7 Feb 2004 22:21:56 +0100 Subject: [Gambas-user] Another idea...... In-Reply-To: <200402071529.38329.sourceforge-raindog2@...94...> References: <200402071810.37375.olinux@...289...> <200402072116.16988.ronstk@...239...> <200402071529.38329.sourceforge-raindog2@...94...> Message-ID: <200402072221.56469.ronstk@...239...> On Saturday 07 February 2004 21:29, Rob wrote: > On Saturday 07 February 2004 15:16, ron wrote: > > I use this way the past 8 weeks to be able to make the > > software I had to write in German, French, English, Spanic > > and Dutch. > > The above text is translated by google to French. > > When I get the documentation/wiki translation project going > again, I will be using google (or babelfish, or whatever > automated translating tool I can access programmatically) to > provide rough translations of the pages for volunteers to clean > up, but in the end Google is no substitute for a real human > translation. There are too many untranslated words and > incorrectly translated idioms. > > When someone posts in another language and I'm unable to figure > out what he's saying (usually I can, if it's French or German or > Spanish) I sometimes use Google to provide me with clues, but I > can never assume I fully understand what he's saying based on > automatic translation. > > Rob > > True, nothing better then human. It was only as a hint for people that can express there idee/opinion better in his/her native language to get a english version. When they read it back they can correct mistakes and have a kind of template for assistance. B.T.W With gambas is a lot don in tha past 8 weeks I was away. I found v0.82 by Gentoo in the program list. Suse is already at v0.56! I have to update my drag and drop SQL builder now but it must wait till I have done my new home work as result of the 8 weeks at Tenerife. grts Dutchy Ron. From ronstk at ...239... Sat Feb 7 22:30:24 2004 From: ronstk at ...239... (ron) Date: Sat, 7 Feb 2004 22:30:24 +0100 Subject: [Gambas-user] Another idea...... In-Reply-To: <1076184824.14905.0.camel@...40...> References: <200402071810.37375.olinux@...289...> <200402072109.08429.abidoo.too@...11...> <1076184824.14905.0.camel@...40...> Message-ID: <200402072230.24184.ronstk@...239...> On Saturday 07 February 2004 21:13, Daniel Campos wrote: > > mais bien sur le tout en anglais... dsl > > Or at least a little translation to english, please... > google french to english: yes yes the friend.... that vien I am on the blow... more than two or three blow of peinceau and one will have our share source only has has us to us... anything moin that 10 go of place with A term a search engine... forum... etc but well on the English whole... dsl or googles english to espanol: s? s? el amigo.... que vien me est? en el soplo... m?s el de dos o tres soplo del peinceau y uno tendr? nuestra fuente de la parte tiene solamente nos tiene a nosotros... cualquier cosa moin que 10 van de lugar con t?rmino de A un motor de b?squeda... foro... etc pero bien en... el dsl entero ingl?s I am afraid there are many mistakes but my espanol is worse to be able to correct it. grts Ron Onstenk AKA WikiRon From Karl.Reinl at ...9... Sun Feb 8 00:38:29 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 8 Feb 2004 00:38:29 +0100 Subject: [Gambas-user] gambas and qt and Problems and gdm Message-ID: <200402080038.29098.Karl.Reinl@...9...> Salut, I downgrade my gentoo box to qt-3.1.2 and now I have a little bit less problems. - Now the Forms Components look after F5 the same as in the IDE. - The X-freeze I had only one time, as I tryed to put an Integer Value to the .GridCell.Alignment on Debugger . I dit: Dim nI as integer nI=4 .GridCell.Alignment = nI Now it is so much easier to debug - The problem in Dialog I told is still there, I had a look into the source , there is only one ',' . Think it could be a converting problem. Or short a Dialog Problem. - A question, the moment when I click to open a combo-box, I get an combo-box.lostFocus ... is that normal ??? I send you the last changes I made to the gdm . Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-database-manager-0.0.tar.gz Type: application/x-tgz Size: 110563 bytes Desc: not available URL: From abidoo.too at ...11... Sun Feb 8 01:04:37 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Sun, 8 Feb 2004 01:04:37 +0100 Subject: [Gambas-user] Another idea...... In-Reply-To: <200402072230.24184.ronstk@...239...> References: <200402071810.37375.olinux@...289...> <1076184824.14905.0.camel@...40...> <200402072230.24184.ronstk@...239...> Message-ID: <200402080104.37315.abidoo.too@...11...> Le Samedi 07 F?vrier 2004 22:30, ron a ?crit : > On Saturday 07 February 2004 21:13, Daniel Campos wrote: > > > mais bien sur le tout en anglais... dsl > > > > Or at least a little translation to english, please... > > google french to english: > yes yes the friend.... that vien I am on the blow... more than two or > three blow of peinceau and one will have our share source only has has us > to us... anything moin that 10 go of place with A term a search engine... > forum... etc but well on the English whole... dsl > > or googles english to espanol: > s? s? el amigo.... que vien me est? en el soplo... m?s el de dos o tres > soplo del peinceau y uno tendr? nuestra fuente de la parte tiene solamente > nos tiene a nosotros... cualquier cosa moin que 10 van de lugar con t?rmino > de A un motor de b?squeda... foro... etc pero bien en... el dsl entero > ingl?s > > I am afraid there are many mistakes but my espanol is worse to be > able to correct it. > > grts Ron Onstenk AKA WikiRon Not really perferct but thank ... Fabien From abidoo.too at ...11... Sun Feb 8 01:07:39 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Sun, 8 Feb 2004 01:07:39 +0100 Subject: [Gambas-user] Another idea...... In-Reply-To: <200402072141.53951.gambas@...1...> References: <200402071810.37375.olinux@...289...> <200402071529.38329.sourceforge-raindog2@...94...> <200402072141.53951.gambas@...1...> Message-ID: <200402080107.39432.abidoo.too@...11...> Le Samedi 07 F?vrier 2004 21:41, Benoit Minisini a ?crit : > On Saturday 07 February 2004 21:29, Rob wrote: > > On Saturday 07 February 2004 15:16, ron wrote: > > > I use this way the past 8 weeks to be able to make the > > > software I had to write in German, French, English, Spanic > > > and Dutch. > > > The above text is translated by google to French. > > > > When I get the documentation/wiki translation project going > > again, I will be using google (or babelfish, or whatever > > automated translating tool I can access programmatically) to > > provide rough translations of the pages for volunteers to clean > > up, but in the end Google is no substitute for a real human > > translation. There are too many untranslated words and > > incorrectly translated idioms. > > > > When someone posts in another language and I'm unable to figure > > out what he's saying (usually I can, if it's French or German or > > Spanish) I sometimes use Google to provide me with clues, but I > > can never assume I fully understand what he's saying based on > > automatic translation. > > > > Rob > > Well... I think I will make a french mailing-list too, so that french does > not pollute this mailing-list :-) Me? i pollute ? ohhhh ? Fabien From jochen.georges at ...22... Sun Feb 8 07:42:53 2004 From: jochen.georges at ...22... (Jochen Georges) Date: Sun, 8 Feb 2004 07:42:53 +0100 Subject: [Gambas-user] www.theeasygambasdoku.de Message-ID: <200401310858.02019.jochen.georges@...22...> Hi Benoit, I'm sorry, that I can not work with you any more, but still I do not have enough time to help you constantly :-( Is there still a need for www.theeasygambasdoku.de? If yes, i would let it open for another year, if not, I would close it. Thanks for your answer. Beste Gruesse Jochen From ronstk at ...239... Sun Feb 8 08:05:10 2004 From: ronstk at ...239... (ron) Date: Sun, 8 Feb 2004 08:05:10 +0100 Subject: [Gambas-user] Another idea...... In-Reply-To: <200402072141.53951.gambas@...1...> References: <200402071810.37375.olinux@...289...> <200402071529.38329.sourceforge-raindog2@...94...> <200402072141.53951.gambas@...1...> Message-ID: <200402080805.10799.ronstk@...239...> On Saturday 07 February 2004 21:41, Benoit Minisini wrote: > On Saturday 07 February 2004 21:29, Rob wrote: > > On Saturday 07 February 2004 15:16, ron wrote: > > > I use this way the past 8 weeks to be able to make the > > > software I had to write in German, French, English, Spanic > > > and Dutch. > > > The above text is translated by google to French. > > > > When I get the documentation/wiki translation project going > > again, I will be using google (or babelfish, or whatever > > automated translating tool I can access programmatically) to > > provide rough translations of the pages for volunteers to clean > > up, but in the end Google is no substitute for a real human > > translation. There are too many untranslated words and > > incorrectly translated idioms. > > > > When someone posts in another language and I'm unable to figure > > out what he's saying (usually I can, if it's French or German or > > Spanish) I sometimes use Google to provide me with clues, but I > > can never assume I fully understand what he's saying based on > > automatic translation. > > > > Rob > > Well... I think I will make a french mailing-list too, so that french does Could be nice for the french people. But responces from and in french can be help full for every one. We need a somone who is translating it to english to keep it for the content synchroon, just as with the list in espanol to. > not pollute this mailing-list :-) I don' t think they pollute but it could be handy if they try to use the translating service and are more able to correct it in the context and way they mean then instead the reader does it. Pollute is something as dirty but what do/they say is mostf usefull too. Like Fabian and Olivier. Ron. From girardhenri at ...67... Sun Feb 8 09:03:29 2004 From: girardhenri at ...67... (Henri Girard) Date: Sun, 8 Feb 2004 09:03:29 +0100 Subject: [Gambas-user] Another idea...... References: <200402071810.37375.olinux@...289...> <200402071529.38329.sourceforge-raindog2@...94...> <200402072141.53951.gambas@...1...> <200402080805.10799.ronstk@...239...> Message-ID: English or saxon speaking people have sometimes no intention of doing an effort to translate ... It's a big error... Because when a "problem" is seen in other languages many times a solution appears by itself... And I think it would be a good thing that other language can be seen that's the monopole of anglo-saxon's one even if I like it very much... I am translating a german web site in french from english... And the owner is happy that french people could be able to see is web site as it is a real wonder too... Henri ----- Original Message ----- From: "ron" To: Sent: Sunday, February 08, 2004 8:05 AM Subject: Re: [Gambas-user] Another idea...... > On Saturday 07 February 2004 21:41, Benoit Minisini wrote: > > On Saturday 07 February 2004 21:29, Rob wrote: > > > On Saturday 07 February 2004 15:16, ron wrote: > > > > I use this way the past 8 weeks to be able to make the > > > > software I had to write in German, French, English, Spanic > > > > and Dutch. > > > > The above text is translated by google to French. > > > > > > When I get the documentation/wiki translation project going > > > again, I will be using google (or babelfish, or whatever > > > automated translating tool I can access programmatically) to > > > provide rough translations of the pages for volunteers to clean > > > up, but in the end Google is no substitute for a real human > > > translation. There are too many untranslated words and > > > incorrectly translated idioms. > > > > > > When someone posts in another language and I'm unable to figure > > > out what he's saying (usually I can, if it's French or German or > > > Spanish) I sometimes use Google to provide me with clues, but I > > > can never assume I fully understand what he's saying based on > > > automatic translation. > > > > > > Rob > > > > Well... I think I will make a french mailing-list too, so that french does > > Could be nice for the french people. > But responces from and in french can be help full for every one. > We need a somone who is translating it to english to keep it for the > content synchroon, just as with the list in espanol to. > > > not pollute this mailing-list :-) > > I don' t think they pollute but it could be handy if they try to use the > translating service and are more able to correct it in the context and > way they mean then instead the reader does it. > > Pollute is something as dirty but what do/they say is mostf usefull too. > Like Fabian and Olivier. > > Ron. > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From olinux at ...289... Sun Feb 8 10:46:24 2004 From: olinux at ...289... (Olivier Coquet) Date: Sun, 8 Feb 2004 10:46:24 +0100 Subject: [Gambas-user] Another idea......sorry for the convenience.... In-Reply-To: References: <200402071810.37375.olinux@...289...> <200402080805.10799.ronstk@...239...> Message-ID: <200402081046.24733.olinux@...289...> Le Dimanche 8 F?vrier 2004 09:03, Henri Girard a ?crit : i'm realy sorry for the convenience of my language, my goal was not to make a "troll" but just to express clearly an opinion about some stuff of gambas, and i was not shure than my english is so good to be perfectly clare..... sorry again, i'll try to speak scheakspear language futurmore regards olivier From gambas at ...1... Sun Feb 8 11:17:34 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 8 Feb 2004 11:17:34 +0100 Subject: [Gambas-user] www.theeasygambasdoku.de In-Reply-To: <200401310858.02019.jochen.georges@...22...> References: <200401310858.02019.jochen.georges@...22...> Message-ID: <200402081117.34629.gambas@...1...> On Sunday 08 February 2004 07:42, Jochen Georges wrote: > Hi Benoit, > > I'm sorry, that I can not work with you any more, but still I do not have > enough time to help you constantly :-( > > Is there still a need for www.theeasygambasdoku.de? > If yes, i would let it open for another year, if not, I would close it. > > Thanks for your answer. > > Beste Gruesse > Jochen > Is it possible that you put its contents on the wiki before closing it ? If not, just send me a tar.gz of the web site, and if I have time (Humf) I will manage it. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Feb 8 11:53:33 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 8 Feb 2004 11:53:33 +0100 Subject: [Gambas-user] gambas 0.83 Message-ID: <200402081153.33935.gambas@...1...> Hi, Well, I'm in a hurry, so here is gambas 0.83: * The Picture class has been splitted. Now you must deal with Picture, Image and Drawing. * The old Image control has been renamed as PictureBox. * The Draw class has becomed more cleaner, and now knows how to draw on transparent pictures. * There are many little changes in the IDE interface too. * All interpreter and compiler source files has been renamed to avoid clash with system headers. Well, the Picture class rewrite is a big change, so your program may need to be rewritten. NOW BEFORE --- ------ Picture Picture with Type = Pixmap Image Picture with Type = Image Drawing Picture with Type = Vector You have a property that convert from Picture to Image (named Image) and from Image to Picture (named Picture). Enjoy it, Regards, -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Sun Feb 8 12:01:28 2004 From: ronstk at ...239... (ron) Date: Sun, 8 Feb 2004 12:01:28 +0100 Subject: [Gambas-user] Another idea......sorry for the convenience.... In-Reply-To: <200402081046.24733.olinux@...289...> References: <200402071810.37375.olinux@...289...> <200402081046.24733.olinux@...289...> Message-ID: <200402081201.28296.ronstk@...239...> On Sunday 08 February 2004 10:46, Olivier Coquet wrote: > Le Dimanche 8 F?vrier 2004 09:03, Henri Girard a ?crit : > i'm realy sorry for the convenience of my language, my goal was not to make > a "troll" but just to express clearly an opinion about some stuff of If you can in French why not? I try this: Parfois la langue fran?aise dans la musique est et semble meilleure puis dans la langue anglais > gambas, and i was not shure than my english is so good to be perfectly > clare..... Can use a translate tool for help From daniel.campos at ...338... Sun Feb 8 12:17:56 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Sun, 08 Feb 2004 12:17:56 +0100 Subject: [Gambas-user] Another idea...... In-Reply-To: <200402072230.24184.ronstk@...239...> References: <200402071810.37375.olinux@...289...> <200402072109.08429.abidoo.too@...11...> <1076184824.14905.0.camel@...40...> <200402072230.24184.ronstk@...239...> Message-ID: <1076239076.4437.1.camel@...40...> > > or googles english to espanol: > s? s? el amigo.... que vien me est? en el soplo... m?s el de dos o tres soplo > del peinceau y uno tendr? nuestra fuente de la parte tiene solamente nos > tiene a nosotros... cualquier cosa moin que 10 van de lugar con t?rmino de A > un motor de b?squeda... foro... etc pero bien en... el dsl entero ingl?s > I speak spanish very well :-) but i can't understand a word of that translation :-) > I am afraid there are many mistakes but my espanol is worse to be > able to correct it. > > grts Ron Onstenk AKA WikiRon > > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From ronstk at ...239... Sun Feb 8 12:27:11 2004 From: ronstk at ...239... (ron) Date: Sun, 8 Feb 2004 12:27:11 +0100 Subject: [Gambas-user] gambas 0.83 In-Reply-To: <200402081153.33935.gambas@...1...> References: <200402081153.33935.gambas@...1...> Message-ID: <200402081227.11424.ronstk@...239...> On Sunday 08 February 2004 11:53, Benoit Minisini wrote: > Hi, > > Well, I'm in a hurry, so here is gambas 0.83: > Thanks benoit. I will try it in a moment because I had a error in the menu editor with 0.82 about illegal menu name. You asked snapshots. Here are a few from my graphical SQL builder in early stage. It's now stand alone and accept SQL line's Ron. -------------- next part -------------- A non-text attachment was scrubbed... Name: snapsql.tar Type: application/x-tar Size: 51200 bytes Desc: not available URL: From abidoo.too at ...11... Sun Feb 8 12:43:29 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Sun, 8 Feb 2004 12:43:29 +0100 Subject: [Gambas-user] gambas 0.83 In-Reply-To: <200402081227.11424.ronstk@...239...> References: <200402081153.33935.gambas@...1...> <200402081227.11424.ronstk@...239...> Message-ID: <200402081243.29134.abidoo.too@...11...> Le Dimanche 08 F?vrier 2004 12:27, ron a ?crit : > On Sunday 08 February 2004 11:53, Benoit Minisini wrote: > > Hi, > > > > Well, I'm in a hurry, so here is gambas 0.83: > > Thanks benoit. > I will try it in a moment because I had a error in the menu editor with > 0.82 about illegal menu name. > > You asked snapshots. Here are a few from my graphical SQL builder > in early stage. It's now stand alone and accept SQL line's > > Ron. I think it can be a tool for gambas database manager no ? if you want... just for design the table relation. good job ron.... fabien From girardhenri at ...67... Sun Feb 8 12:42:01 2004 From: girardhenri at ...67... (Henri Girard) Date: Sun, 8 Feb 2004 12:42:01 +0100 Subject: [Gambas-user] Another idea......sorry for the convenience.... References: <200402071810.37375.olinux@...289...> <200402081046.24733.olinux@...289...> <200402081201.28296.ronstk@...239...> Message-ID: I am sorry if my answer was "rude"... it wasn't my aim... It's just : Why not use any languages ? and if people can't understand they will adapt the language to get an answer for ? HG ----- Original Message ----- From: "ron" To: Sent: Sunday, February 08, 2004 12:01 PM Subject: Re: [Gambas-user] Another idea......sorry for the convenience.... On Sunday 08 February 2004 10:46, Olivier Coquet wrote: > Le Dimanche 8 F?vrier 2004 09:03, Henri Girard a ?crit : > i'm realy sorry for the convenience of my language, my goal was not to make > a "troll" but just to express clearly an opinion about some stuff of If you can in French why not? I try this: Parfois la langue fran?aise dans la musique est et semble meilleure puis dans la langue anglais > gambas, and i was not shure than my english is so good to be perfectly > clare..... Can use a translate tool for help From Herbert.Kaminski at ...221... Sun Feb 8 12:47:15 2004 From: Herbert.Kaminski at ...221... (Herbert Kaminski) Date: Sun, 08 Feb 2004 12:47:15 +0100 Subject: [Gambas-user] www.theeasygambasdoku.de In-Reply-To: <200401310858.02019.jochen.georges@...22...> Message-ID: <200402081133.i18BXxv02978@...356...> On Sun, 8 Feb 2004 07:42:53 +0100, Jochen Georges wrote: >Is there still a need for www.theeasygambasdoku.de? I would definitely want it to stay available, at the current address or anywhere else. Thank you for your service so far! Herbert From ronstk at ...239... Sun Feb 8 13:12:34 2004 From: ronstk at ...239... (ron) Date: Sun, 8 Feb 2004 13:12:34 +0100 Subject: [Gambas-user] gambas 0.83 In-Reply-To: <200402081243.29134.abidoo.too@...11...> References: <200402081153.33935.gambas@...1...> <200402081227.11424.ronstk@...239...> <200402081243.29134.abidoo.too@...11...> Message-ID: <200402081312.35248.ronstk@...239...> On Sunday 08 February 2004 12:43, Fabien Bodard wrote: > Le Dimanche 08 F?vrier 2004 12:27, ron a ?crit : > > On Sunday 08 February 2004 11:53, Benoit Minisini wrote: > > > Hi, > > > > > > Well, I'm in a hurry, so here is gambas 0.83: > > > > Thanks benoit. > > I will try it in a moment because I had a error in the menu editor with > > 0.82 about illegal menu name. > > > > You asked snapshots. Here are a few from my graphical SQL builder > > in early stage. It's now stand alone and accept SQL line's > > > > Ron. > > I think it can be a tool for gambas database manager no ? if you want... > just for design the table relation. > > good job ron.... > > > fabien > As a tool in the database manager was my idee too but my code at the moment is not as clear as I want. Compared to the code of gambas database manager. Beside of that I have now many class files to do the job and experimenting how to do the job. My pre version was in php and using dhtml,jscript and vbscript for the client side. Worked only on IE. :( until M$ released a securety update. After I started linux based I could not use it any more and I beleave it was a good experiment to learn gambas and have a nice tool back. Ron From ronstk at ...239... Sun Feb 8 13:35:25 2004 From: ronstk at ...239... (ron) Date: Sun, 8 Feb 2004 13:35:25 +0100 Subject: [Gambas-user] gambas 0.83 In-Reply-To: <200402081153.33935.gambas@...1...> References: <200402081153.33935.gambas@...1...> Message-ID: <200402081335.26045.ronstk@...239...> On Sunday 08 February 2004 11:53, Benoit Minisini wrote: > Hi, > > Well, I'm in a hurry, so here is gambas 0.83: > CFont.cpp: In function `void CFONT_ref(CFONT*)': CFont.cpp:46: error: parse error before `,' token CFont.cpp:46: error: parse error before `)' token CFont.cpp: In function `void CFONT_unref(CFONT**, int)': CFont.cpp:58: error: parse error before `,' token CFont.cpp: In function `int CFONT_check(CFONT*)': CFont.cpp:70: error: parse error before `,' token CFont.cpp:70: error: parse error before `)' token CFont.cpp: In function `QFont CFONT_get_font(CFONT*)': CFont.cpp:80: error: parse error before `,' token CFont.cpp: In function `void CFONT_manage(int, CFONT*, void*)': CFont.cpp:120: error: parse error before `,' token make[5]: *** [CFont.lo] Error 1 make[5]: Leaving directory `/usr/local/src/gambas-0.83/src/lib/qt' make[4]: *** [all-recursive] Error 1 All the error lines contains a CFONT_TO_CWIDGET(font) function. in v 0.82 it is CFONT_TO_CWIDGET(*font). I got this at the moment for 0.83. Version 0.82 was ok yesterday, only compare warnings (SuSE compiler problem) From ronstk at ...239... Sun Feb 8 14:54:11 2004 From: ronstk at ...239... (ron) Date: Sun, 8 Feb 2004 14:54:11 +0100 Subject: [Gambas-user] gambas 0.83 In-Reply-To: <200402081335.26045.ronstk@...239...> References: <200402081153.33935.gambas@...1...> <200402081335.26045.ronstk@...239...> Message-ID: <200402081454.11192.ronstk@...239...> On Sunday 08 February 2004 13:35, ron wrote: > On Sunday 08 February 2004 11:53, Benoit Minisini wrote: > > Hi, > > > > Well, I'm in a hurry, so here is gambas 0.83: > > CFont.cpp: In function `void CFONT_ref(CFONT*)': > CFont.cpp:46: error: parse error before `,' token > CFont.cpp:46: error: parse error before `)' token > CFont.cpp: In function `void CFONT_unref(CFONT**, int)': > CFont.cpp:58: error: parse error before `,' token > CFont.cpp: In function `int CFONT_check(CFONT*)': > CFont.cpp:70: error: parse error before `,' token > CFont.cpp:70: error: parse error before `)' token > CFont.cpp: In function `QFont CFONT_get_font(CFONT*)': > CFont.cpp:80: error: parse error before `,' token > CFont.cpp: In function `void CFONT_manage(int, CFONT*, void*)': > CFont.cpp:120: error: parse error before `,' token > make[5]: *** [CFont.lo] Error 1 > make[5]: Leaving directory `/usr/local/src/gambas-0.83/src/lib/qt' > make[4]: *** [all-recursive] Error 1 > > All the error lines contains a CFONT_TO_CWIDGET(font) function. > in v 0.82 it is CFONT_TO_CWIDGET(*font). > > I got this at the moment for 0.83. > > Version 0.82 was ok yesterday, only compare warnings (SuSE compiler > problem) > Above statement was not true. CFont.cpp:58 has it and the others don't Diff say only the include "common.h" has gone. In .h file #define CFONT_TO_CWIDGET(_cfont) ((CWIDGET *)((char *)_cfont - offsetof(CWIDGET, font))) I asume there must be a second argument and that should be the widget? From girardhenri at ...67... Sun Feb 8 15:08:46 2004 From: girardhenri at ...67... (Henri Girard) Date: Sun, 8 Feb 2004 15:08:46 +0100 Subject: [Gambas-user] gambas 0.83 References: <200402081153.33935.gambas@...1...> <200402081335.26045.ronstk@...239...> <200402081454.11192.ronstk@...239...> Message-ID: fedora compiled perfect (though I haven't tested it much except exemples .. ) ----- Original Message ----- From: "ron" To: Sent: Sunday, February 08, 2004 2:54 PM Subject: Re: [Gambas-user] gambas 0.83 > On Sunday 08 February 2004 13:35, ron wrote: > > On Sunday 08 February 2004 11:53, Benoit Minisini wrote: > > > Hi, > > > > > > Well, I'm in a hurry, so here is gambas 0.83: > > > > CFont.cpp: In function `void CFONT_ref(CFONT*)': > > CFont.cpp:46: error: parse error before `,' token > > CFont.cpp:46: error: parse error before `)' token > > CFont.cpp: In function `void CFONT_unref(CFONT**, int)': > > CFont.cpp:58: error: parse error before `,' token > > CFont.cpp: In function `int CFONT_check(CFONT*)': > > CFont.cpp:70: error: parse error before `,' token > > CFont.cpp:70: error: parse error before `)' token > > CFont.cpp: In function `QFont CFONT_get_font(CFONT*)': > > CFont.cpp:80: error: parse error before `,' token > > CFont.cpp: In function `void CFONT_manage(int, CFONT*, void*)': > > CFont.cpp:120: error: parse error before `,' token > > make[5]: *** [CFont.lo] Error 1 > > make[5]: Leaving directory `/usr/local/src/gambas-0.83/src/lib/qt' > > make[4]: *** [all-recursive] Error 1 > > > > All the error lines contains a CFONT_TO_CWIDGET(font) function. > > in v 0.82 it is CFONT_TO_CWIDGET(*font). > > > > I got this at the moment for 0.83. > > > > Version 0.82 was ok yesterday, only compare warnings (SuSE compiler > > problem) > > > > Above statement was not true. > CFont.cpp:58 has it and the others don't > Diff say only the include "common.h" has gone. > > In .h file > #define CFONT_TO_CWIDGET(_cfont) ((CWIDGET *)((char *)_cfont - > offsetof(CWIDGET, font))) > I asume there must be a second argument and that should be the widget? > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From olinux at ...289... Sun Feb 8 15:14:32 2004 From: olinux at ...289... (Olivier Coquet) Date: Sun, 8 Feb 2004 15:14:32 +0100 Subject: [Gambas-user] gambas 0.83 In-Reply-To: References: <200402081153.33935.gambas@...1...> <200402081454.11192.ronstk@...239...> Message-ID: <200402081514.32125.olinux@...289...> Le Dimanche 8 F?vrier 2004 15:08, Henri Girard a ?crit : > fedora compiled perfect (though I haven't tested it much except exemples idem for fedora but.............. all my ex prog won't run :=(((((((( type error in tabstrip an formulaire olivier From olinux at ...289... Sun Feb 8 15:18:08 2004 From: olinux at ...289... (Olivier Coquet) Date: Sun, 8 Feb 2004 15:18:08 +0100 Subject: [Gambas-user] gambas 0.83 In-Reply-To: <200402081514.32125.olinux@...289...> References: <200402081153.33935.gambas@...1...> <200402081514.32125.olinux@...289...> Message-ID: <200402081518.08402.olinux@...289...> more precisely all my ex prog compile perfectly without error but at execution time i got an error "mismatch, type want integer, got......" and there is no indication where the error is..... regards PS: i come back to 0.82 olivier Le Dimanche 8 F?vrier 2004 15:14, Olivier Coquet a ?crit : > Le Dimanche 8 F?vrier 2004 15:08, Henri Girard a ?crit : > > fedora compiled perfect (though I haven't tested it much except exemples > > idem for fedora but.............. > > all my ex prog won't run :=(((((((( type error in tabstrip an formulaire > > olivier > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From olinux at ...289... Sun Feb 8 15:48:03 2004 From: olinux at ...289... (Olivier Coquet) Date: Sun, 8 Feb 2004 15:48:03 +0100 Subject: [Gambas-user] gambas 0.83 In-Reply-To: <200402081454.11192.ronstk@...239...> References: <200402081153.33935.gambas@...1...> <200402081335.26045.ronstk@...239...> <200402081454.11192.ronstk@...239...> Message-ID: <200402081548.03465.olinux@...289...> ok all is ok just say at all, remove all pictures in your project and recreate them before run another modification is: when a form show with tabsrtip, it don"t remember what tab it was at compile time. this obligate to init the tab you wan't to show first regards olivier From olinux at ...289... Sun Feb 8 16:42:50 2004 From: olinux at ...289... (Olivier Coquet) Date: Sun, 8 Feb 2004 16:42:50 +0100 Subject: [Gambas-user] compliments.... Message-ID: <200402081642.50340.olinux@...289...> realy nice work benoit.... -tooltip property is realy nice -toolbar in editor is ideal -allignements of controls is fantastic DRINGGGGGGGGG........ tel hey Bill how are you ... no, Benoit work exclusively for our community .... no, don't persist, Benoit never work for MSVB, it's an independant genie .... bye Bill regards Olivier From olinux at ...289... Sun Feb 8 15:31:46 2004 From: olinux at ...289... (Olivier Coquet) Date: Sun, 8 Feb 2004 15:31:46 +0100 Subject: [Gambas-user] gambas 0.83 In-Reply-To: <200402081518.08402.olinux@...289...> References: <200402081153.33935.gambas@...1...> <200402081514.32125.olinux@...289...> <200402081518.08402.olinux@...289...> Message-ID: <200402081531.46870.olinux@...289...> Le Dimanche 8 F?vrier 2004 15:18, Olivier Coquet a ?crit : Ok i understood the problem, all controls with images inside generate an error witjout debug informations... Arghhhhhhhhh benoit "tu ma tuer...." lolol regards olivier From daniel.campos at ...338... Sun Feb 8 17:50:12 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Sun, 08 Feb 2004 17:50:12 +0100 Subject: [Gambas-user] compliments.... In-Reply-To: <200402081642.50340.olinux@...289...> References: <200402081642.50340.olinux@...289...> Message-ID: <1076259012.4067.1.camel@...40...> El dom, 08-02-2004 a las 16:42, Olivier Coquet escribi?: > realy nice work benoit.... > > -tooltip property is realy nice > -toolbar in editor is ideal > -allignements of controls is fantastic > > > DRINGGGGGGGGG........ > tel > hey Bill how are you > .. > no, Benoit work exclusively for our community > ... > no, don't persist, Benoit never work for MSVB, it's an independant genie > ... > bye Bill > > Well, money can corrupt a lot the biggest minds, let's see... :-) > > regards > Olivier > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From sourceforge-raindog2 at ...94... Sun Feb 8 18:46:38 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 8 Feb 2004 12:46:38 -0500 Subject: [Gambas-user] gambas 0.83 In-Reply-To: <200402081227.11424.ronstk@...239...> References: <200402081153.33935.gambas@...1...> <200402081227.11424.ronstk@...239...> Message-ID: <200402081246.38353.sourceforge-raindog2@...94...> On Sunday 08 February 2004 06:27, ron wrote: > You asked snapshots. Here are a few from my graphical SQL > builder in early stage. It's now stand alone and accept SQL > line's Wow, that could really be great to add to the Gambas database manager eventually. Query by example is something that's sorely lacking in Linux database manager tools.... Rob From sourceforge-raindog2 at ...94... Sun Feb 8 18:50:45 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 8 Feb 2004 12:50:45 -0500 Subject: [Gambas-user] www.theeasygambasdoku.de In-Reply-To: <200402081117.34629.gambas@...1...> References: <200401310858.02019.jochen.georges@...22...> <200402081117.34629.gambas@...1...> Message-ID: <200402081249.52652.sourceforge-raindog2@...94...> On Sunday 08 February 2004 05:17, Benoit Minisini wrote: > Is it possible that you put its contents on the wiki before > closing it ? If not, just send me a tar.gz of the web site, > and if I have time (Humf) I will manage it. I've moved about half of it into the wiki over the last year (under How Do I....) and will try to get the rest done in a hurry (but I'll spider it, just in case....) It may be with some of the recent changes to the language, that some of the examples no longer work. I know the first couple that I imported needed some changes, but subsequent ones didn't. For that matter, when I'm building packages later today I guess I better check the gambas examples themselves to see if they all still compile and run after the Image->Picturebox and Picture->[Image, Drawing, Picture] changes. Rob From mauriiiii3001 at ...325... Sun Feb 8 19:15:00 2004 From: mauriiiii3001 at ...325... (Pozzo) Date: Sun, 08 Feb 2004 19:15:00 +0100 Subject: [Gambas-user] 0.82 crash in translation Message-ID: <40267CA4.3020007@...325...> I've found many strange bug in gambas 0.82. If I create a new project and I try to translate it I get this error: "Cannot read translation file for language ..." Then if I click on "Duplicate a translation" or "Delete translation" and I click on OK gambas crash. Another way to crash gambas is to open a translation and select a file that don't exist (like *, cashfsakukasu and others) and answer yes to the message that appear. From mauriiiii3001 at ...325... Sun Feb 8 19:15:26 2004 From: mauriiiii3001 at ...325... (Pozzo) Date: Sun, 08 Feb 2004 19:15:26 +0100 Subject: [Gambas-user] Phone center Message-ID: <40267CBE.5070901@...325...> I'm writing a program that emulate a phone center with 9 possibles telephones but only 4 lines so if all the lines are occupated I write in a label "The phone center is busy". I can use many if-then-else to do this but in VB I used an array of textboxes and a few of for cicles. I tried to use the group property with the tag but I don't know how to write something in the textbox that have the tag (i) Maybe I didn't explain my so I write you some code. I want to do this: dim i as integer for i=0 to 3 if txtbox.tag(i).text = "" then 'txtbox is a group of 4 textboxes, I wanna check if the textbox.text with tag set to i is "" txtbox.tag(i).text = last.tag 'if so I write there the tag of the last button press end if next In vb i used something lik this: sub check (butt as string) for i=0 to 3 if txtbox[i].text = "" then 'there are 4 txtboxes with name txtbox[0], txtbox[1], txtbox[2] and txtbox[3] txtbox[i].text = butt 'this sub get the caption of the button which was press end if next end sub From sourceforge-raindog2 at ...94... Sun Feb 8 19:45:16 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 8 Feb 2004 13:45:16 -0500 Subject: [Gambas-user] Phone center In-Reply-To: <40267CBE.5070901@...325...> References: <40267CBE.5070901@...325...> Message-ID: <200402081345.16197.sourceforge-raindog2@...94...> I tried to intersperse my code with your own, but it got hard to understand. So here's what I'd do. First off, unless I'm mistaken, there's no way to find out the name of a control on a form in Gambas at runtime, nor is there a way to determine that it's a textbox and not a button. So you will have to use a different set of tags for your textboxes than you do for your buttons. Let's say you use 0, 1, 2, 3 for your buttons and t0, t1, t2, t3 for your textboxes. I'm assuming this is in the click event of the group of buttons whose captions you want assigned to their respective textboxes. This is actual working code that I just tested in gambas 0.82. I used j instead of i as an iterator because originally I still had your for i = 0 to 3 in there but it turned out to be unnecessary. PUBLIC SUB mybuttons_Click() DIM j AS Object FOR EACH j IN ME.children IF j.tag = "t" & LAST.tag THEN j.text = LAST.text NEXT END Rob From abidoo.too at ...11... Sun Feb 8 21:29:39 2004 From: abidoo.too at ...11... (BODARD Fabien) Date: Sun, 8 Feb 2004 21:29:39 +0100 Subject: [Gambas-user] gambas 0.83 In-Reply-To: <200402081514.32125.olinux@...289...> References: <200402081153.33935.gambas@...1...> <200402081514.32125.olinux@...289...> Message-ID: <200402082129.39093.abidoo.too@...11...> Le Dimanche 8 F?vrier 2004 15:14, Olivier Coquet a ?crit : > Le Dimanche 8 F?vrier 2004 15:08, Henri Girard a ?crit : > > fedora compiled perfect (though I haven't tested it much except exemples > > idem for fedora but.............. > > all my ex prog won't run :=(((((((( type error in tabstrip an formulaire > > olivier > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user look If you have image controle.... From thierry at ...342... Sun Feb 8 23:33:43 2004 From: thierry at ...342... (Thierry Thomas) Date: Sun, 8 Feb 2004 23:33:43 +0100 Subject: [Gambas-user] gambas 0.83 In-Reply-To: <200402081153.33935.gambas@...1...> References: <200402081153.33935.gambas@...1...> Message-ID: <20040208223343.GA49781@...343...> Le Dim 8 f?v 04 ? 11:53:33 +0100, Benoit Minisini ?crivait?: > Hi, Salut?! > Well, I'm in a hurry, so here is gambas 0.83: On FreeBSD, gambas 0.83 compilation aborts on #v+ c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/X11R6/include -I../../../src/share -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H -Wall -fno-exceptions -g -c CFont.cpp -fPIC -DPIC -o .libs/CFont.lo CFont.cpp: In function `void CFONT_ref(CFONT *)': CFont.cpp:46: syntax error before `,' CFont.cpp:46: syntax error before `)' #v- because offsetof is not defined. The following patch fixes it: #v+ --- ./src/lib/qt/CFont.cpp.orig Sat Feb 7 18:56:11 2004 +++ ./src/lib/qt/CFont.cpp Sun Feb 8 22:38:18 2004 @@ -29,6 +29,7 @@ #include #include +#include "gb_common.h" #include "CWidget.h" #include "CDraw.h" #include "CFont.h" #v- Further, it aborts because sys/socket.h needs sys/types.h. The following patch fixes it: #v+ --- ./src/lib/net/CDnsClient.c.orig Sat Feb 7 22:31:07 2004 +++ ./src/lib/net/CDnsClient.c Sun Feb 8 23:12:20 2004 @@ -27,9 +27,9 @@ #include #include #include +#include #include #include -#include #include #include #include #v- And then, everything goes well! Regards, -- Th. Thomas. From Karl.Reinl at ...9... Mon Feb 9 00:14:27 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 9 Feb 2004 00:14:27 +0100 Subject: [Gambas-user] gambas-0.83 Message-ID: <200402090014.27092.Karl.Reinl@...9...> Slalut, on gentoo 1.4 , qt-3.1.2 gcc 3.2.3 , KDE 3.1.4 , mysql 4.0.16 OK , no more problems in Dialog Amicalement Charlie From rizky at ...225... Mon Feb 9 02:49:45 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Mon, 9 Feb 2004 08:49:45 +0700 Subject: [Gambas-user] CTRL + Arrow Up and Down In-Reply-To: <200402071719.26813.gambas@...1...> References: <200402071217.20643.rizky@...225...> <200402070941.45409.gambas@...1...> <200402071719.26813.gambas@...1...> Message-ID: <200402090849.45395.rizky@...225...> On Saturday 07 February 2004 23:19, Benoit Minisini wrote: > On Saturday 07 February 2004 09:41, Benoit Minisini wrote: > > On Saturday 07 February 2004 06:17, Rizky Tahara Shita wrote: > > > hi benoit, > > > > > > in my few last mail about this have done fine, but look and try this: > > > i wanna select all the sub /function instantly with that buttons by > > > adding the SHIFT button (CTRL + SHIFT + Arrow Up (or Down)), viola! > > > nothing happen.... :( > > > > Gna gna gna... I just didn't think to do it :-) > > But why do you need that ? more handy programming... i try to copy 3 sub / functions, it will much faster when we can do that above thing... rather than doing SHIFT + Arrow Up (or Down), cause it will have too much time on selecting them... From rizky at ...225... Mon Feb 9 02:52:12 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Mon, 9 Feb 2004 08:52:12 +0700 Subject: [Gambas-user] double quote In-Reply-To: <200402070946.59104.gambas@...1...> References: <200402071235.40898.rizky@...225...> <200402070946.59104.gambas@...1...> Message-ID: <200402090852.12277.rizky@...225...> On Saturday 07 February 2004 15:46, Benoit Minisini wrote: > On Saturday 07 February 2004 06:35, Rizky Tahara Shita wrote: > > i type : > > > > a = "test > > > > and i press Arrow Down (or Up), i don't get double quote on the last. > > > > should it be like this: > > > > a = "test" > > > > when the Arrow Down or Up pressed ??? > > Yes, in VB. But not in Gambas... Unlucky ! why gambas don't have it ? for example, you have lots of variable and less time to do it, that little function will have more help you on writing the code... From rizky at ...225... Mon Feb 9 02:59:03 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Mon, 9 Feb 2004 08:59:03 +0700 Subject: [Gambas-user] make install 0.83 Message-ID: <200402090859.03042.rizky@...225...> i got error while i'm su -c "make install" and these are the errors: Making install in curl make[4]: Entering directory `/home/tahara/Documents/gbs/src/lib/net/curl' /bin/sh ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../. ./.. -I../../../../src/share -g -O2 -pipe -Wall -g -O0 -c gbcurl.c gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -g -O2 -pipe - Wall -g -O0 -c gbcurl.c -fPIC -DPIC -o gbcurl.lo gbcurl.c:32:23: curl/curl.h: No such file or directory In file included from gbcurl.c:33: gbcurl.h:1:23: curl/curl.h: No such file or directory In file included from gbcurl.c:33: gbcurl.h:36: parse error before "CURL" gbcurl.h:42: parse error before "CURL" gbcurl.c:44:2: warning: #warning ############################################### ######################## gbcurl.c:45:2: warning: #warning COMPILING WITHOUT AUTHENTICATION SUPPORT - YOU MUST USE LIBCURL>=7.10.6 gbcurl.c:46:2: warning: #warning ############################################### ######################## gbcurl.c: In function `Adv_proxy_NEW': gbcurl.c:231: `CURLPROXY_HTTP' undeclared (first use in this function) gbcurl.c:231: (Each undeclared identifier is reported only once gbcurl.c:231: for each function it appears in.) gbcurl.c: At top level: gbcurl.c:253: parse error before "CURL" gbcurl.c: In function `Adv_proxy_SET': gbcurl.c:257: `proxy' undeclared (first use in this function) gbcurl.c:270: warning: implicit declaration of function `curl_easy_setopt' gbcurl.c:270: `curl' undeclared (first use in this function) gbcurl.c:270: `CURLOPT_PROXY' undeclared (first use in this function) gbcurl.c:271: `LIBCURL_VERSION_NUM' undeclared (first use in this function) gbcurl.c:277: `CURLOPT_PROXYTYPE' undeclared (first use in this function) gbcurl.c:281: `CURLOPT_PROXYUSERPWD' undeclared (first use in this function) gbcurl.c: In function `Adv_proxy_SETTYPE': gbcurl.c:316: `CURLPROXY_HTTP' undeclared (first use in this function) gbcurl.c:317: `CURLPROXY_SOCKS5' undeclared (first use in this function) gbcurl.c: At top level: gbcurl.c:346: parse error before "CURL" make[4]: *** [gbcurl.lo] Error 1 From ronstk at ...239... Mon Feb 9 03:29:50 2004 From: ronstk at ...239... (ron) Date: Mon, 9 Feb 2004 03:29:50 +0100 Subject: [Gambas-user] gambas 0.83 In-Reply-To: <20040208223343.GA49781@...343...> References: <200402081153.33935.gambas@...1...> <20040208223343.GA49781@...343...> Message-ID: <200402090329.51097.ronstk@...239...> Hi Thierry, 1) With the Diff I found may lacks of #include "common.h" lines I thought it was not so importand because somewhere else it was declared already for inclusion. Only in one of the net files it was moved from the .h to a .c file. Including had no result, it not exists any more but renamed to gb_common.h as i figured out later. Apply your patch result as OK 2) The sequenc of > +#include > #include > #include > -#include types.h and socket.h was already a problem Danial found, the types.h before socket.h had another problem i beleave. There was some discussion about this sequence. This sequence was as far i know a solution for another problem. I had no error here. Now I get an abort about CURL, the same as in [gambas-user] make install 0.83 by Rizky Tahara I am going further there. Ron On Sunday 08 February 2004 23:33, Thierry Thomas wrote: > Le Dim 8 f?v 04 ? 11:53:33 +0100, Benoit Minisini > > On FreeBSD, gambas 0.83 compilation aborts on > > #v+ > c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/X11R6/include > -I../../../src/share -I/usr/local/include -I/usr/local/include > -I/usr/X11R6/include -D_GETOPT_H -Wall -fno-exceptions -g -c CFont.cpp > -fPIC -DPIC -o .libs/CFont.lo CFont.cpp: In function `void CFONT_ref(CFONT > *)': > CFont.cpp:46: syntax error before `,' > CFont.cpp:46: syntax error before `)' > #v- > > because offsetof is not defined. The following patch fixes it: > > #v+ > --- ./src/lib/qt/CFont.cpp.orig Sat Feb 7 18:56:11 2004 > +++ ./src/lib/qt/CFont.cpp Sun Feb 8 22:38:18 2004 > @@ -29,6 +29,7 @@ > #include > #include > > +#include "gb_common.h" > #include "CWidget.h" > #include "CDraw.h" > #include "CFont.h" > #v- > > Further, it aborts because sys/socket.h needs sys/types.h. The following > patch fixes it: > > #v+ > --- ./src/lib/net/CDnsClient.c.orig Sat Feb 7 22:31:07 2004 > +++ ./src/lib/net/CDnsClient.c Sun Feb 8 23:12:20 2004 > @@ -27,9 +27,9 @@ > #include > #include > #include > +#include > #include > #include > -#include > #include > #include > #include > #v- > > And then, everything goes well! > > Regards, From rizky at ...225... Mon Feb 9 03:46:06 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Mon, 9 Feb 2004 09:46:06 +0700 Subject: [Gambas-user] make install 0.83 In-Reply-To: <200402090859.03042.rizky@...225...> References: <200402090859.03042.rizky@...225...> Message-ID: <200402090946.06291.rizky@...225...> On Monday 09 February 2004 08:59, Rizky Tahara Shita wrote: > i got error while i'm su -c "make install" > and these are the errors: > > Making install in curl > make[4]: Entering directory `/home/tahara/Documents/gbs/src/lib/net/curl' > /bin/sh ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. > -I../../. ./.. -I../../../../src/share -g -O2 -pipe -Wall -g -O0 -c > gbcurl.c gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share > -g -O2 -pipe - Wall -g -O0 -c gbcurl.c -fPIC -DPIC -o gbcurl.lo hummm.... is gambas not working on mandrake 9.1 ???? From rizky at ...225... Mon Feb 9 04:08:29 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Mon, 9 Feb 2004 10:08:29 +0700 Subject: [Gambas-user] make install 0.83 In-Reply-To: <200402090946.06291.rizky@...225...> References: <200402090859.03042.rizky@...225...> <200402090946.06291.rizky@...225...> Message-ID: <200402091008.29407.rizky@...225...> On Monday 09 February 2004 09:46, Rizky Tahara Shita wrote: > On Monday 09 February 2004 08:59, Rizky Tahara Shita wrote: > > i got error while i'm su -c "make install" > > and these are the errors: > > > > Making install in curl > > make[4]: Entering directory `/home/tahara/Documents/gbs/src/lib/net/curl' > > /bin/sh ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. > > -I../../. ./.. -I../../../../src/share -g -O2 -pipe -Wall -g -O0 -c > > gbcurl.c gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. > > -I../../../../src/share -g -O2 -pipe - Wall -g -O0 -c gbcurl.c -fPIC > > -DPIC -o gbcurl.lo > > hummm.... is gambas not working on mandrake 9.1 ???? > > how do i disable that net and curl component on the ./configure ??? From ronstk at ...239... Mon Feb 9 05:11:48 2004 From: ronstk at ...239... (ron) Date: Mon, 9 Feb 2004 05:11:48 +0100 Subject: [Gambas-user] make install 0.83 In-Reply-To: <200402091008.29407.rizky@...225...> References: <200402090859.03042.rizky@...225...> <200402090946.06291.rizky@...225...> <200402091008.29407.rizky@...225...> Message-ID: <200402090511.48234.ronstk@...239...> Hi Rizky I don't know. I have the same problem on SuSE 8.2 The only solution is to install for me, I don't have tihe curl-devel part. and the version required = 7.10.6, SuSE has only 7.10.2 available. I tried --disable-curl without succes but configure didn't complain Also --disable-net didn't do the job. The 0.8.x versions where ok till 0.8.2. I am lost now. Ron On Monday 09 February 2004 04:08, Rizky Tahara Shita wrote: > On Monday 09 February 2004 09:46, Rizky Tahara Shita wrote: > > On Monday 09 February 2004 08:59, Rizky Tahara Shita wrote: > > > i got error while i'm su -c "make install" > > > and these are the errors: > > > > > > Making install in curl > > > make[4]: Entering directory > > > `/home/tahara/Documents/gbs/src/lib/net/curl' /bin/sh > > > ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. > > > -I../../. ./.. -I../../../../src/share -g -O2 -pipe -Wall -g -O0 -c > > > gbcurl.c gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. > > > -I../../../../src/share -g -O2 -pipe - Wall -g -O0 -c gbcurl.c -fPIC > > > -DPIC -o gbcurl.lo > > > > hummm.... is gambas not working on mandrake 9.1 ???? > > how do i disable that net and curl component on the ./configure ??? > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From rizky at ...225... Mon Feb 9 05:35:55 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Mon, 9 Feb 2004 11:35:55 +0700 Subject: [Gambas-user] make install 0.83 In-Reply-To: <200402090511.48234.ronstk@...239...> References: <200402090859.03042.rizky@...225...> <200402091008.29407.rizky@...225...> <200402090511.48234.ronstk@...239...> Message-ID: <200402091135.55374.rizky@...225...> i edit the configure script and disable it manually, and viola i have the 0.83 work without net and curl component :) On Monday 09 February 2004 11:11, ron wrote: > Hi Rizky > > I don't know. > I have the same problem on SuSE 8.2 > The only solution is to install for me, I don't have tihe curl-devel part. > and the version required = 7.10.6, SuSE has only 7.10.2 available. > > I tried --disable-curl without succes but configure didn't complain > Also --disable-net didn't do the job. > > The 0.8.x versions where ok till 0.8.2. > I am lost now. > > Ron > > On Monday 09 February 2004 04:08, Rizky Tahara Shita wrote: > > On Monday 09 February 2004 09:46, Rizky Tahara Shita wrote: > > > On Monday 09 February 2004 08:59, Rizky Tahara Shita wrote: > > > > i got error while i'm su -c "make install" > > > > and these are the errors: > > > > > > > > Making install in curl > > > > make[4]: Entering directory > > > > `/home/tahara/Documents/gbs/src/lib/net/curl' /bin/sh > > > > ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. > > > > -I../../. ./.. -I../../../../src/share -g -O2 -pipe -Wall -g -O0 > > > > -c gbcurl.c gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. > > > > -I../../../../src/share -g -O2 -pipe - Wall -g -O0 -c gbcurl.c -fPIC > > > > -DPIC -o gbcurl.lo > > > > > > hummm.... is gambas not working on mandrake 9.1 ???? > > > > how do i disable that net and curl component on the ./configure ??? > > > > > > > > ------------------------------------------------------- > > The SF.Net email is sponsored by EclipseCon 2004 > > Premiere Conference on Open Tools Development and Integration > > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > > http://www.eclipsecon.org/osdn > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From sourceforge-raindog2 at ...94... Mon Feb 9 05:40:21 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 8 Feb 2004 23:40:21 -0500 Subject: [Gambas-user] make install 0.83 In-Reply-To: <200402090946.06291.rizky@...225...> References: <200402090859.03042.rizky@...225...> <200402090946.06291.rizky@...225...> Message-ID: <200402082340.21273.sourceforge-raindog2@...94...> On Sunday 08 February 2004 21:46, Rizky Tahara Shita wrote: > hummm.... is gambas not working on mandrake 9.1 ???? The RPMs built fine, screenshot attached.... I did have to add libcurl2-devel as a buildrequires though. I haven't built 9.2 packages yet but the 9.1 ones are out there in the usual place under http://www.kudla.org/rpm/9.1/ . Rob -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas083.png Type: image/png Size: 24459 bytes Desc: not available URL: From ronstk at ...239... Mon Feb 9 05:45:30 2004 From: ronstk at ...239... (ron) Date: Mon, 9 Feb 2004 05:45:30 +0100 Subject: [Gambas-user] make install 0.83 In-Reply-To: <200402091135.55374.rizky@...225...> References: <200402090859.03042.rizky@...225...> <200402090511.48234.ronstk@...239...> <200402091135.55374.rizky@...225...> Message-ID: <200402090545.31356.ronstk@...239...> Can you send it or give exactly the changes. I tried but had no succes with it Ron On Monday 09 February 2004 05:35, Rizky Tahara Shita wrote: > i edit the configure script and disable it manually, and viola i have the > 0.83 work without net and curl component :) > > On Monday 09 February 2004 11:11, ron wrote: > > Hi Rizky > > > > I don't know. > > I have the same problem on SuSE 8.2 > > The only solution is to install for me, I don't have tihe curl-devel > > part. and the version required = 7.10.6, SuSE has only 7.10.2 available. > > > > I tried --disable-curl without succes but configure didn't complain > > Also --disable-net didn't do the job. > > > > The 0.8.x versions where ok till 0.8.2. > > I am lost now. > > > > Ron > > > > On Monday 09 February 2004 04:08, Rizky Tahara Shita wrote: > > > On Monday 09 February 2004 09:46, Rizky Tahara Shita wrote: > > > > On Monday 09 February 2004 08:59, Rizky Tahara Shita wrote: > > > > > i got error while i'm su -c "make install" > > > > > and these are the errors: > > > > > > > > > > Making install in curl > > > > > make[4]: Entering directory > > > > > `/home/tahara/Documents/gbs/src/lib/net/curl' /bin/sh > > > > > ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. > > > > > -I../../. ./.. -I../../../../src/share -g -O2 -pipe -Wall -g > > > > > -O0 -c gbcurl.c gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. > > > > > -I../../../../src/share -g -O2 -pipe - Wall -g -O0 -c gbcurl.c > > > > > -fPIC -DPIC -o gbcurl.lo > > > > > > > > hummm.... is gambas not working on mandrake 9.1 ???? > > > > > > how do i disable that net and curl component on the ./configure ??? > > > > > > > > > > > > ------------------------------------------------------- > > > The SF.Net email is sponsored by EclipseCon 2004 > > > Premiere Conference on Open Tools Development and Integration > > > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > > > http://www.eclipsecon.org/osdn > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------- > > The SF.Net email is sponsored by EclipseCon 2004 > > Premiere Conference on Open Tools Development and Integration > > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > > http://www.eclipsecon.org/osdn > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From ronstk at ...239... Mon Feb 9 06:29:21 2004 From: ronstk at ...239... (ron) Date: Mon, 9 Feb 2004 06:29:21 +0100 Subject: [Gambas-user] make install 0.83 In-Reply-To: <200402082340.21273.sourceforge-raindog2@...94...> References: <200402090859.03042.rizky@...225...> <200402090946.06291.rizky@...225...> <200402082340.21273.sourceforge-raindog2@...94...> Message-ID: <200402090629.21787.ronstk@...239...> On Monday 09 February 2004 05:40, Rob wrote: > On Sunday 08 February 2004 21:46, Rizky Tahara Shita wrote: > > hummm.... is gambas not working on mandrake 9.1 ???? > > The RPMs built fine, screenshot attached.... I did have to add > libcurl2-devel as a buildrequires though. > > I haven't built 9.2 packages yet but the 9.1 ones are out there > in the usual place under http://www.kudla.org/rpm/9.1/ . > > Rob I am lost in linux In the curl doc stays I can get it from http://curl.haxx.se/download.html there they say for SuSE is version 7.10.5 ftp://ftp.suse.com/pub/suse/i386/current/suse/i586/ In Yast I can find only 7.10.2 I can give the ftp directory for yast to update to 7.10.5 Download the file to local directory found this one is for SuSE 9.0 They changes and it is not shure this will go ok. Yast is also stupid. It does not show errors but simple exits. Then I try Kpackage to install See there are more lib needed for 7.10.5 as ssl and crypt not for 7.10.2 So at the end How do I disable the Net component for shure because I do not need any of it (yet) and it is not fully developed. Daniel says NOTE THAT : libcurl <= 7.10.7 lacks CURLE_LDAP_INVALID_URL and CURLE_FILESIZE_EXCEEDED constants libcurl <= 7.10.6 lacks proxy authentication support libcurl <= 7.10.5 lacks user authentication support in the readme 'Net' class: - Socket - ServerSocket - UdpSocket - SerialPort - DnsClient This class does not need libcurl to work, as it uses just Unix C libraries, if you don't need to manage HTTP, FTP, etc, you don't need more. 'Net Advanced' class: - HttpClient ... (more in the future) It uses libcurl to perform its work, so you need to download and install libcurl in your computer to use it. You'll need binary libraries, and, if you want to compile it, you'll need also devel stuff, that contains headers and config tools to compile a program that uses libcurl. You'll need at least 7.10.8 version from libcurl and Gambas 0.80 (previous versions from both programs probably won't work or even compile). So 'Net Advanced' class:' is the bad one. How to get switch it off or get a correct curl package for suse 8.2 Ron From rizky at ...225... Mon Feb 9 06:51:11 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Mon, 9 Feb 2004 12:51:11 +0700 Subject: [Gambas-user] make install 0.83 In-Reply-To: <200402090629.21787.ronstk@...239...> References: <200402090859.03042.rizky@...225...> <200402082340.21273.sourceforge-raindog2@...94...> <200402090629.21787.ronstk@...239...> Message-ID: <200402091251.11420.rizky@...225...> On Monday 09 February 2004 12:29, ron wrote: > On Monday 09 February 2004 05:40, Rob wrote: > > On Sunday 08 February 2004 21:46, Rizky Tahara Shita wrote: > > > hummm.... is gambas not working on mandrake 9.1 ???? > > > > The RPMs built fine, screenshot attached.... I did have to add > > libcurl2-devel as a buildrequires though. > > > > I haven't built 9.2 packages yet but the 9.1 ones are out there > > in the usual place under http://www.kudla.org/rpm/9.1/ . > > > > Rob > > I am lost in linux > > In the curl doc stays I can get it from > http://curl.haxx.se/download.html > > there they say for SuSE is version 7.10.5 > ftp://ftp.suse.com/pub/suse/i386/current/suse/i586/ > > In Yast I can find only 7.10.2 > I can give the ftp directory for yast to update to 7.10.5 > > Download the file to local directory > found this one is for SuSE 9.0 > They changes and it is not shure this will go ok. > > Yast is also stupid. It does not show errors but simple exits. > Then I try Kpackage to install > See there are more lib needed for 7.10.5 as ssl and crypt > not for 7.10.2 > > So at the end > How do I disable the Net component for shure because I do not need > any of it (yet) and it is not fully developed. try remark the configure file to be like this: i will look on the line about 9091 NET_LIB="$NET_LIB $C_LIB $THREAD_LIB" if test "$have_inc_net" = "yes" && test "$have_lib_net" = "yes"; then have_net=no NET_LIB="" NET_DIR="" NET_PATH="" echo "configure: warning: *** Networking component is disabled" 1>&2 ## have_net=yes ## NET_DIR=net ## cat >> confdefs.h <<\EOF ## #define HAVE_NET_COMPONENT 1 ## EOF else have_net=no NET_LIB="" NET_DIR="" NET_PATH="" echo "configure: warning: *** Networking component is disabled" 1>&2 fi save it, and do like usual (./reconf, ./configure and soon) From ronstk at ...239... Mon Feb 9 07:25:12 2004 From: ronstk at ...239... (ron) Date: Mon, 9 Feb 2004 07:25:12 +0100 Subject: [Gambas-user] make install 0.83 In-Reply-To: <200402091251.11420.rizky@...225...> References: <200402090859.03042.rizky@...225...> <200402090629.21787.ronstk@...239...> <200402091251.11420.rizky@...225...> Message-ID: <200402090725.12796.ronstk@...239...> On Monday 09 February 2004 06:51, Rizky Tahara Shita wrote: > > NET_LIB="$NET_LIB $C_LIB $THREAD_LIB" > > if test "$have_inc_net" = "yes" && test "$have_lib_net" = "yes"; then > have_net=no > NET_LIB="" > NET_DIR="" > NET_PATH="" > echo "configure: warning: *** Networking component is disabled" 1>&2 > > ## have_net=yes > ## NET_DIR=net > ## cat >> confdefs.h <<\EOF > ## #define HAVE_NET_COMPONENT 1 > ## EOF > > else > have_net=no > NET_LIB="" > NET_DIR="" > NET_PATH="" > echo "configure: warning: *** Networking component is disabled" 1>&2 > fi > > > save it, and do like usual (./reconf, ./configure and soon) > > I try it and without succes I have still the same error. The only way I know now is to remove the whole component out of gambas But the configure is so long that I do not know where to find it. I think it should be done somewhere else or can I remove the '/usr/local/src/gambas-0.83/src/lib/net' ? I am not an expert with that autom4 autoconfig make an so on Install curl 7.10.5 from suse was also no succes for curl and curl-develop Kpackage does not uninstall it but says the files are gone Installing the 7.10.2 back does also not work, a version 7.10.5 is installed. Kpackage suck the same way as Yast from suse. I think to change to gentoo or mandrake. Update to suse 9.0 is for now out of the question. I can write a lot of parts that are not or bad functional after install a clean 8.2 Change distro is also not always the resolution but????? Another thing I do not unsderstand is why I got the errors in CFont.c CFont.h and many others do not had them except one that give the resolution and worked. The errors howerver he had with the net DNSclient was not here. Luvky me. The CURL problems are the last I have now. May be other follow after this is fized. Who knows I try it with a new unpacked source and will see what happens after update the CFont and this curl patch. sad Ron :) From ronstk at ...239... Mon Feb 9 07:46:52 2004 From: ronstk at ...239... (ron) Date: Mon, 9 Feb 2004 07:46:52 +0100 Subject: [Gambas-user] make install 0.83 In-Reply-To: <200402091251.11420.rizky@...225...> References: <200402090859.03042.rizky@...225...> <200402090629.21787.ronstk@...239...> <200402091251.11420.rizky@...225...> Message-ID: <200402090746.52965.ronstk@...239...> > i will look on the line about 9091 > > > NET_LIB="$NET_LIB $C_LIB $THREAD_LIB" > > if test "$have_inc_net" = "yes" && test "$have_lib_net" = "yes"; then > have_net=no > NET_LIB="" > NET_DIR="" > NET_PATH="" > echo "configure: warning: *** Networking component is disabled" 1>&2 > > ## have_net=yes > ## NET_DIR=net > ## cat >> confdefs.h <<\EOF > ## #define HAVE_NET_COMPONENT 1 > ## EOF > > else > have_net=no > NET_LIB="" > NET_DIR="" > NET_PATH="" > echo "configure: warning: *** Networking component is disabled" 1>&2 > fi > I try with new source and update the CFont.ccp file Change in configure as you told but even the IF, ELSE and FI at line 9091 starting Orginal begin --------------- NET_LIB="$NET_LIB $C_LIB $THREAD_LIB" if test "$have_inc_net" = "yes" && test "$have_lib_net" = "yes"; then have_net=yes NET_DIR=net cat >> confdefs.h <<\EOF #define HAVE_NET_COMPONENT 1 EOF else have_net=no NET_LIB="" NET_DIR="" NET_PATH="" echo "configure: warning: *** Networking component is disabled" 1>&2 fi Orginal ends ---------------- New begin --------------- NET_LIB="$NET_LIB $C_LIB $THREAD_LIB" ## if test "$have_inc_net" = "yes" && test "$have_lib_net" = "yes"; then ## have_net=yes ## NET_DIR=net ## cat >> confdefs.h <<\EOF ## #define HAVE_NET_COMPONENT 1 ## EOF ## else have_net=no NET_LIB="" NET_DIR="" NET_PATH="" echo "configure: warning: *** Networking component is disabled" 1>&2 ## fi New ends -------------- 7:40h It now compiled without error. 7:41 make install 7:42 no errors found 7:44 I see my SQL builder again Now to find out what is going wrong in detecting the CURL stuf and why I had the problem with CFont. No gb.net available of course Happy Ron :) From danielcampos at ...282... Mon Feb 9 08:30:36 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Mon, 9 Feb 2004 08:30:36 CET Subject: [Gambas-user] make install 0.83 Message-ID: >i got error while i'm su -c "make install" >and these are the errors: > >Making install in curl >make[4]: Entering directory >`/home/tahara/Documents/gbs/src/lib/net/curl' > The new net.curl component needs libcurl to work, you can download the latest version at http://curl.haxx.se Regards, Daniel Campos ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From danielcampos at ...282... Mon Feb 9 08:32:48 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Mon, 9 Feb 2004 08:32:48 CET Subject: [Gambas-user] gambas 0.83 Message-ID: > >Now I get an abort about CURL, the same as in >[gambas-user] make install 0.83 by Rizky Tahara >I am going further there. > You probably have not in your computer a recent version of libcurl installed, download the latest version from http://curl.haxx.se, and try again ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From danielcampos at ...282... Mon Feb 9 08:34:00 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Mon, 9 Feb 2004 08:34:00 CET Subject: [Gambas-user] make install 0.83 Message-ID: >hummm.... is gambas not working on mandrake 9.1 ???? You have to install libcurl from http://curl.haxx.se, otherwise, this component (net.curl) can't compile! Regards, Daniel Campos ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From danielcampos at ...282... Mon Feb 9 08:59:54 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Mon, 9 Feb 2004 08:59:54 CET Subject: [Gambas-user] About 0.83 and net Message-ID: Hi all: First of all I'll try to explain again, and more clearly, the changes in the 'net' component: 1) I've removed HttpClient from the old 'net' component, that now, has the following classes: Socket, UdpSocket, ServerSocket, SerialPort, Net and DnsClient. This class called just 'net', and placed at '{sources}/src/lib/net' does not need libcurl at all, so it can be compiled without problems even if you have not installed libcurl in your computer. 2) there's a new class called 'net.curl', actually for HttpClient class. I need libcurl because protocols like Http or Ftp are to wide to be implemented in a decent time, specially when using proxies, authentication support and ssl. i need also a recent version of libcurl, as the things I need have been implemented few time ago in libcurl. 3) If you can compile gambas in your computer, it is sure you can also compile libcurl, download the source package from http:/curl.haxx.se, and build it as usual: ./configure --prefix=/usr ' (or another valid prefix) make make install 4) If you just don't want to use HttpClient, try this: go to {sources} folder, and edit configure.in, and look for this: GB_COMPONENT( curl, CURL, [Advanced Networking component], [GB_FIND(curl.h, `curl-config --prefix 2> /dev/null`, include)], [GB_FIND(libcurl.$SHLIBEXT, `curl-config --prefix 2> /dev/null`, lib)], [$C_LIB `curl-config --libs 2> /dev/null`]) And remove all these lines, then look for: src/lib/net/curl/Makefile \ And remove it. After that, go to {sources}/src/lib/net, and then edit Makefile.am, look for this: SUBDIRS = curl And remove that line. Go to {sources}, type : ./reconf ./configure (with your options) make make install And that's all. 5) Finally, it is true that it should be nice to create all network stuff using just Unix libraries, but it also would be nice to write the graphical part without using QT, just Xlibraries, or even writting our own graphical drivers:-), what I mean is that now, a new library is needed to compile all gambas stuff (as the graphical part, postgres and MySQL drivers, etc), and so, I encourage you to install it from sources , as I've selected LibCurl instead of other network libraries as it can be compiled on Linux, FreeBSD, NetBSD, Windows, OS/2,etc, and it is absolutely free even for non GPL programs. What more do you want? free, cheap and beautiful, The only problem is that I need a recent version, as old versions of libcurl lack autherntication support, proxy support, etc. So, finally, help me a little, using that new library, it will be good for Gambas, at least this is the idea. ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From ronstk at ...239... Mon Feb 9 10:34:14 2004 From: ronstk at ...239... (ron) Date: Mon, 9 Feb 2004 10:34:14 +0100 Subject: [Gambas-user] make install 0.83 In-Reply-To: References: Message-ID: <200402091034.14957.ronstk@...239...> On Monday 09 February 2004 12:34, danielcampos at ...282... wrote: > >hummm.... is gambas not working on mandrake 9.1 ???? > > You have to install libcurl from http://curl.haxx.se, otherwise, > this component (net.curl) can't compile! > > Regards, > > Daniel Campos > I take a look there at http://curl.haxx.se They send me to SuSE direct for the update version. To the current directory as link. That is 9.0 and the wrong version I have. The version from suse is 7.10.2 for SuSE 8.2 (i using) and 7.10.5 for SuSE 9.0 wich is also to low as required by the net component. Beside of that 7.10.5 required ssl and crypt with higher versions SuSE suplied for 8.2 The curl 7.10.2 is already installed by SuSE for the system. I installed 7.10.2 curl-devel and no succes. I installed 7.10.5 curl-devel and after done Yast (the suse installer) is complaining there is a newer version installed when i try to re-install 7.10.2 curl-devel and can not uninstall it . Trying to install 7.10.2 with Kpackage does also not work. He tells me there is 7.10.5 installed, after he uninstalled it?) I uninstalled with Kpackage and it does not work but files are given as missing? CURL is now damaged so the only thing I can do is delete all dirs and files by hand. Yast and Kpackage don't have a option to force a install of older versions. Stupid yast can tell me what is installed even the names of the files and where but can't uninstall any thing. Bare version of CURL compile and install makes a mess of tree verions There version is now 7.11 I must first find a way to get rid of all CURL versions befor I try that. Anyway how do I tell configure not to install Advance Net or forget any part of the net component, what I like more for the moment. Hacking the configure as I did now should not the solution. CURL is also used by Yast to get the files and upgrades so if i delete all curl stuff Yast cant work. Upgrading to the newest not from SuSE can break my system, the only one I have now. I had same problems with other apps not from suse but they provide old versions (gambas 0.56 is there flagship version) Sorry but i'm a bit sick of all those library/system upgrades, I want use my computer and use it with gambas. If I don't have CURL devel then I can't have gambas with Advance network So be it. if I dont have other parts needed for the Net component then no net. So be it. Same for SDL for sound and what is comming up. The windows dll hell is here to with the lib hell. I wish gambas compile and if I don't have CURL (right version) or the libs it depends on the parts using it are disabled in the compile process. This works with MySQL and PostgreSQL, I have only MySQL, without errors. I take a look in the configure file and I must say it is a hard job for Benoit to arrange it all to make everyone satisfied it works on all distibutions. They are grown to complex after all. The basic of gambas is the power I can use. After all I had no curl-devel installed and believe configure did not detect correctly this fact and disabled the component part or the whole part for compile. It is stupid to change first to suse 9.0 to be able to install CURL and compile gambas without errors if i don't need the net component. Version 0.82 was OK so do i stick on that? 0.8.3 works now with hacking the configure file, it's a pitty this way. I understand Benoit would release a new version with all extra's suggested and implemented, the toolbar in the editor, I like it, but may be to quick?. That's the risk with doing updates at the moment they are released. With mixed feelings a now happy gambas user Ron. From danielcampos at ...282... Mon Feb 9 11:19:29 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Mon, 9 Feb 2004 11:19:29 CET Subject: [Gambas-user] make install 0.83 Message-ID: >Sorry but i'm a bit sick of all those >library/system upgrades, I want use my >computer and use it with gambas. >If I don't have CURL devel then I can't >have gambas with Advance network >So be it. >if I dont have other parts needed for the Net component then no net. >So be it. >Same for SDL for sound and what is comming up. > OK >The windows dll hell is here to with the lib hell. >I wish gambas compile and if I don't have CURL >(right version) or the libs it depends on the >parts using it are disabled in the compile process. >This works with MySQL and PostgreSQL, I have only >MySQL, without errors. Modern O.S. are based in shared libraries, so unless somebody finds any better way to do it, you'll have the same hell in Windows, Linux, Solaris, and all the rest of systems (except MS-DOS :-). But, If you want to write all code from Gambas, without using any external library, well, do it, may be in a hundred years we'll have the 1.0 version :-) >I understand Benoit would release a new version with all extra's >suggested >and implemented, the toolbar in the editor, I like it, but may be to >quick?. >That's the risk with doing updates at the moment they are released. Gambas is still beta software, so expect bugs and compilation problems, these versions are released just to test it and find bugs, problems and to improve it with new ideas. Of course Configure should detect the lack of libcurl and disable net.curl, but it is just a bug of this version... Regards, Daniel Campos ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From ronstk at ...239... Mon Feb 9 11:36:58 2004 From: ronstk at ...239... (ron) Date: Mon, 9 Feb 2004 11:36:58 +0100 Subject: [Gambas-user] About 0.83 and net In-Reply-To: References: Message-ID: <200402091136.58743.ronstk@...239...> On Monday 09 February 2004 12:59, danielcampos at ...282... wrote: > Hi all: > > First of all I'll try to explain again, and more > clearly, the changes in the 'net' component: > --8<--- make install > -->8--- > > And that's all. > > 5) Finally, it is true that it should be nice to create all network > stuff using just Unix libraries, but it also would be nice to write > the graphical part without using QT, just Xlibraries, or even writting > our own graphical drivers:-), what I mean is that now, a new library is > needed to compile all gambas stuff (as the graphical part, postgres and > MySQL drivers, etc), and so, I encourage you to install it from sources , > as I've selected LibCurl instead of other network libraries as it can be > compiled on Linux, FreeBSD, NetBSD, Windows, OS/2,etc, and it is absolutely > free even for non GPL programs. What more do you want? free, cheap and > beautiful, The only problem is that I need a recent version, as old > versions of libcurl lack autherntication support, proxy support, etc. So, > finally, help me a little, using that new library, it will be good for > Gambas, at least this is the idea. > Thanks Daniel for this more correct explain instead of the hack used by me. But a question is out standing. If I can --enable-mysql and --disable-mysql or forget it to do for postgresql there are no compile errors so the configure script can detect the lack of it and handle the apropiate way. In my case it did not for the net component or part of it. I expect something like --enable-net and --disable-net what imho a better way should be. Your point 5 is maybe a good solution but as I found with SuSE a dangerous way. I can write a book of it. Started already here but deleted it. I prefer the option of --disable more. Ron From slainer.666 at ...357... Mon Feb 9 11:57:18 2004 From: slainer.666 at ...357... (slainer.666) Date: Mon, 9 Feb 2004 11:57:18 +0100 Subject: [Gambas-user] Read/Play WAV files with precision Message-ID: Hi all, I've just discovered gambas and really thinks this is a great software. I think there are a lot of windows developpers that are used to Windows IDE like VB or Borland Delphi/C Builder and are lost when it comes to write rapidly small GUI in Linux. My question : I would like to write a small subtitle editor and I would like to have your opinion if this is possible to do in Gambas or if I'm too optimistic (I think =_=). My application should be able to play WAV files with a good precision, as it is a subtitle editor, the application should be able to open a WAV file and read it from X to Y where X and Y are given in milliseconds, in order to do WAV timing. I would like to know what I should do/read/use in order to do this (Open WAV files, read WAV files with precision, etc...). Thanks a lot ! Nicolas. Acc?dez au courrier ?lectronique de La Poste : www.laposte.net ; 3615 LAPOSTENET (0,34?/mn) ; t?l : 08 92 68 13 50 (0,34?/mn) From ronstk at ...239... Mon Feb 9 12:04:28 2004 From: ronstk at ...239... (ron) Date: Mon, 9 Feb 2004 12:04:28 +0100 Subject: [Gambas-user] make install 0.83 In-Reply-To: References: Message-ID: <200402091204.28469.ronstk@...239...> On Monday 09 February 2004 15:19, danielcampos at ...282... wrote: > > But, If you want to write all code from Gambas, without > using any external library, well, do it, may be in a > hundred years we'll have the 1.0 version :-) > I wil not do that, writing and waiting :). Hope Benoit goes on and pass milestone 1.0 with 2.0 > >I understand Benoit would release a new version with all extra's > > >suggested and implemented, the toolbar in the editor, I like it, but may > > be to >quick?. That's the risk with doing updates at the moment they are > > released. > > Gambas is still beta software, so expect bugs and compilation > problems, these versions are released just to test it and > find bugs, problems and to improve it with new ideas. Of course > Configure should detect the lack of libcurl and disable net.curl, > but it is just a bug of this version... That was the problem :(. > > Regards, > > > Daniel Campos > I understand this still beta. No problem with that. Hope Benoit find it and can fix it for the next version. I can use it (0.8.3) now and continue with next when they are there. For me Benoit is a guru he can handle C and this gambas project.. For the configure, make and supporting autoxxxx he is a guru to. It's me to complex to make a program this way, may be the future, I like the easy way that can be done with his result of gambas. Gambas as platform to make programs is super and not to complex. Why can't it be for C to, the languge is not the bad thing but the stuff (environment) around it is to complex i think. I did try Kdevelop but it's not so simple to write and run instant as gambas God save the queen (Benoit) Greetings, Ron From ronstk at ...239... Mon Feb 9 12:13:46 2004 From: ronstk at ...239... (ron) Date: Mon, 9 Feb 2004 12:13:46 +0100 Subject: [Gambas-user] Read/Play WAV files with precision In-Reply-To: References: Message-ID: <200402091213.46920.ronstk@...239...> On Monday 09 February 2004 11:57, slainer\.666 wrote: > Hi all, > > I've just discovered gambas and really thinks this is a great > software. > I think there are a lot of windows developpers that are used > to Windows IDE like VB or Borland Delphi/C Builder and are > lost when it comes to write rapidly small GUI in Linux. > > My question : > > I would like to write a small subtitle editor and I would like > to have your opinion if this is possible to do in Gambas or if > I'm too optimistic (I think =_=). > I wonder if this can't be done, it is simple text. > My application should be able to play WAV files with a good > precision, as it is a subtitle editor, the application should > be able to open a WAV file and read it from > X to Y where X and Y are given in milliseconds, in order to do > WAV timing. > In the current version with the SDL component you can't set position as start and end. For the file type of WAV I don't know. > I would like to know what I should do/read/use in order to do > this (Open WAV files, read WAV files with precision, etc...). > > Thanks a lot ! > > Nicolas. > > > Acc?dez au courrier ?lectronique de La Poste : www.laposte.net ; > 3615 LAPOSTENET (0,34?/mn) ; t?l : 08 92 68 13 50 (0,34?/mn) > > Your application will be of a real time one. I'm afraid Gambas is not well for this kind of programs yet but who nows. Maybe the SDL component grows to handle this kind of actions in the future. Ron From danielcampos at ...282... Mon Feb 9 12:19:53 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Mon, 9 Feb 2004 12:19:53 CET Subject: [Gambas-user] About 0.83 and net Message-ID: Thanks Daniel for this more correct explain instead of the hack used by me. > >But a question is out standing. > >If I can --enable-mysql and --disable-mysql or forget it to do for >postgresql >there are no compile errors so the configure script can detect the >lack of it >and handle the apropiate way. >In my case it did not for the net component or part of it. > Yes, I though this version would manage it correctly for the net.curl component, but there must be a bug in the configure scripts, however I don't know enough about Makefiles and all the rest of configuration scripts, may be Beno?t can fix this for the next release... Regards, Daniel Campos ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From ronstk at ...239... Mon Feb 9 13:02:53 2004 From: ronstk at ...239... (ron) Date: Mon, 9 Feb 2004 13:02:53 +0100 Subject: [Gambas-user] idee for class in code? Message-ID: <200402091302.53723.ronstk@...239...> Maybe a idee from PHP to define a class in the code instead of a real class file. mycalc = new class( function add(a,b) ( return a + b ) function substract(a,b) ( return a - b ) ) print mycalc.add(12,34) The two functions can later be placed in a real class file "CCalculator" and the code changed to: mycalc = new CCalculator() print mycalc.add(12,34) My 2 Euro cents Ron From ronstk at ...239... Mon Feb 9 13:24:50 2004 From: ronstk at ...239... (ron) Date: Mon, 9 Feb 2004 13:24:50 +0100 Subject: [Gambas-user] Underscore in function/sub routine names Message-ID: <200402091324.50409.ronstk@...239...> Is it posible that the underscore isn't allowed anymore in a menu name? The program is working without problems with this. I use underscores in sub/function names to reflect the level of the code parts. I think it has to do with the toolbar code, restrictions on the name to create the toolbar. The toolbar 'GoTo' button is in any way a good expansion. Credits for the one started to make it available and implemented it. From ronstk at ...239... Mon Feb 9 13:40:32 2004 From: ronstk at ...239... (ron) Date: Mon, 9 Feb 2004 13:40:32 +0100 Subject: [Gambas-user] Start gambas opens to much? Message-ID: <200402091340.32799.ronstk@...239...> Hi Benoit, When I start Gambas always the properties and toolbox come up. I think the most things you do is writing code and bug fixes I made. The forms have less activity so ther is no need for those two. The first thing I do is close them. However if I start a new form i need them for shure. The editor coms up and a empty form. Because I closed the properties and toolbox I don't have them now. In this case it could be handy at the moment a new form is created they also come up my 2 eurocents Ron From gambas at ...1... Mon Feb 9 14:59:03 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 9 Feb 2004 14:59:03 +0100 Subject: [Gambas-user] make install 0.83 In-Reply-To: <200402090746.52965.ronstk@...239...> References: <200402090859.03042.rizky@...225...> <200402091251.11420.rizky@...225...> <200402090746.52965.ronstk@...239...> Message-ID: <200402091459.03563.gambas@...1...> On Monday 09 February 2004 07:46, ron wrote: > > i will look on the line about 9091 > > > > > > NET_LIB="$NET_LIB $C_LIB $THREAD_LIB" > > > > if test "$have_inc_net" = "yes" && test "$have_lib_net" = "yes"; then > > have_net=no > > NET_LIB="" > > NET_DIR="" > > NET_PATH="" > > echo "configure: warning: *** Networking component is disabled" 1>&2 > > > > ## have_net=yes > > ## NET_DIR=net > > ## cat >> confdefs.h <<\EOF > > ## #define HAVE_NET_COMPONENT 1 > > ## EOF > > > > else > > have_net=no > > NET_LIB="" > > NET_DIR="" > > NET_PATH="" > > echo "configure: warning: *** Networking component is disabled" 1>&2 > > fi You should never modify the configure script, because it is generated! Everything stands in configure.in. I will add a disable option for each component in the next version... Regards, -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Mon Feb 9 13:49:33 2004 From: ronstk at ...239... (ron) Date: Mon, 9 Feb 2004 13:49:33 +0100 Subject: [Gambas-user] Request: Help browser behaviour Message-ID: <200402091349.33592.ronstk@...239...> Hi Benoit, If I use the help browser I rol the window up when I have the info I need. Running the program and get a break the help unfold over the code to review. In the past I could put it on another desktop to prevent this. Now if I go to the other desktop it is gone. Asking for it in the main window gives it back at the place I put it aside so I think it is only hidden. My wish is that is stay rolled up or minimized if a break in running program occurs till I ask to apear or unfold with the double click. Any idee? Ron From ronstk at ...239... Mon Feb 9 14:27:51 2004 From: ronstk at ...239... (ron) Date: Mon, 9 Feb 2004 14:27:51 +0100 Subject: [Gambas-user] Request: GoTo button Message-ID: <200402091427.51697.ronstk@...239...> Hi Button, I found in the 'GoTo' list several duplicates for the first level list. tableview1 Tableview1 TableView1 For the executing of gambas they reflect the same object. Should the name when a object list is assembled not be checked in uppercase for existing already in the menulist and if they are be the same and not added to the first level ? My 1 eurocent Ron From olinux at ...289... Mon Feb 9 18:33:47 2004 From: olinux at ...289... (olivier coquet) Date: Mon, 09 Feb 2004 18:33:47 +0100 Subject: [Gambas-user] little bug in toggle button....(0.83 under gnome) Message-ID: <1076348026.16411.3.camel@...37...> There is a little bug in the toggle button at run time when button is togled, color dissapear under gnome (not under kde) regards olivier PS: for info, some screenshots of eXtremgui, a gui front end for eXtremail mail server, entirely writed with kde at: http://extremgui.dynu.com/ From sourceforge-raindog2 at ...94... Mon Feb 9 14:47:02 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 9 Feb 2004 08:47:02 -0500 Subject: [Gambas-user] make install 0.83 In-Reply-To: <200402091204.28469.ronstk@...239...> References: <200402091204.28469.ronstk@...239...> Message-ID: <200402090847.02736.sourceforge-raindog2@...94...> On Monday 09 February 2004 06:04, ron wrote: > Gambas as platform to make programs is super and not to > complex. Why can't it be for C to, the languge is not the bad > thing but the stuff (environment) around it is to complex i > think. When you get right down to it, C's function in modern operating systems is that of a portable, slightly abstracted assembler. Ultimately you're twiddling bits of memory directly, and you call functions in shared libraries by (to oversimplify a bit) loading them and jumping to predefined memory locations within them. This means that sometimes seemingly minor changes can make everything blow up with a segv, and even bugfix releases can introduce incompatibilities at the source level, especially when the developer assumes that everyone is building everything from scratch instead of installing packages. In your case, it sounds like you've been bitten by SuSE's lack of a package manager with dependency handling that can deal with packages not produced by SuSE. Red Hat has it (apt-rpm or yum), Mandrake has it (urpmi, which I even like better than apt), Debian has it (apt). With SuSE, and they're not the only offender by any means, if you're not installing an official package you're stuck in dependency hell. And it sounds like they don't really make newer versions of packages available for older versions of SuSE (I can't blame them because of all the regression testing that would need to happen.) I would suggest learning how to package your own RPM's for SuSE and maybe even becoming SuSE's gambas maintainer, because I was almost as much in the dark as you a year ago before I started doing it for Mandrake. (I even started my packaging based on an old, obsolete SuSE source rpm, so it's not unheard of.) You could start by finding the source rpm of libcurl for SuSE 9.0 and see if you can build it for SuSE 8.2 by going rpm --rebuild (or maybe rpmbuild --rebuild) libcurl-whatever.src.rpm. If that fails on you, email me and I'll see if I can help you out. But it sounds like you've solved your problem in the short term, so all of this may be unnecessary for this version at least. > I did try Kdevelop but it's not so simple to write and run > instant as gambas PerlQt with PQtDesigner isn't bad, and I actually prefer it for some things (because it's perl ;) ) but it's not as easy or as quick as gambas. Rob From gambas at ...1... Mon Feb 9 14:44:45 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 9 Feb 2004 14:44:45 +0100 Subject: [Gambas-user] Phone center In-Reply-To: <200402081345.16197.sourceforge-raindog2@...94...> References: <40267CBE.5070901@...325...> <200402081345.16197.sourceforge-raindog2@...94...> Message-ID: <200402091444.45610.gambas@...1...> On Sunday 08 February 2004 19:45, Rob wrote: > I tried to intersperse my code with your own, but it got hard to > understand. So here's what I'd do. I add my remarks :-) > > First off, unless I'm mistaken, there's no way to find out the > name of a control on a form in Gambas at runtime, That's true. > nor is there a way to determine that it's a textbox and not a button. That's false! Use Object.Type(...) to get the object datatype. > So you will have to use a different set of tags for your textboxes than > you do for your buttons. Let's say you use 0, 1, 2, 3 for your > buttons and t0, t1, t2, t3 for your textboxes. I'm assuming > this is in the click event of the group of buttons whose > captions you want assigned to their respective textboxes. > > This is actual working code that I just tested in gambas 0.82. I > used j instead of i as an iterator because originally I still > had your for i = 0 to 3 in there but it turned out to be > unnecessary. > > PUBLIC SUB mybuttons_Click() > > DIM j AS Object > FOR EACH j IN ME.children > IF j.tag = "t" & LAST.tag THEN j.text = LAST.text > NEXT > > END > > > Rob > > You can put anything you want in a Tag, not only a string. You can put an object reference for example. It can helps. Elsewhere, the textboxes should be created dynamically. This way you can add telephones and lines without modifying your program interface. DIM nTextBoxes AS Integer DIM MyTextBoxes AS NEW Object[] DIM hTextBox AS TextBox FOR I = 0 TO nTextBoxes - 1 hTextBox = NEW TextBox(MyForm) ... MyTextBoxes.Add(hTextBox) NEXT Or something like that... Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Feb 10 09:30:55 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 10 Feb 2004 09:30:55 +0100 Subject: [Gambas-user] Request: GoTo button In-Reply-To: <200402091427.51697.ronstk@...239...> References: <200402091427.51697.ronstk@...239...> Message-ID: <200402100930.55257.gambas@...1...> On Monday 09 February 2004 14:27, ron wrote: > Hi Button, > > I found in the 'GoTo' list several duplicates for the first level list. > tableview1 > Tableview1 > TableView1 > > For the executing of gambas they reflect the same object. > Should the name when a object list is assembled not be checked in uppercase > for existing already in the menulist and if they are be the same and not > added to the first level ? > > My 1 eurocent > > Ron > > OK. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Feb 10 09:44:24 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 10 Feb 2004 09:44:24 +0100 Subject: [Gambas-user] 0.82 crash in translation In-Reply-To: <40267CA4.3020007@...325...> References: <40267CA4.3020007@...325...> Message-ID: <200402100944.24644.gambas@...1...> On Sunday 08 February 2004 19:15, Pozzo wrote: > I've found many strange bug in gambas 0.82. > If I create a new project and I try to translate it I get this error: > "Cannot read translation file for language ..." Then if I click on > "Duplicate a translation" or "Delete translation" and I click on OK > gambas crash. Another way to crash gambas is to open a translation and > select a file that don't exist (like *, cashfsakukasu and others) and > answer yes to the message that appear. > > Thanks for the bug report. I will fix it for the next version. Regards, -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Tue Feb 10 10:07:43 2004 From: ronstk at ...239... (ron) Date: Tue, 10 Feb 2004 10:07:43 +0100 Subject: [Gambas-user] make install 0.83 In-Reply-To: <200402091459.03563.gambas@...1...> References: <200402090859.03042.rizky@...225...> <200402090746.52965.ronstk@...239...> <200402091459.03563.gambas@...1...> Message-ID: <200402101007.43929.ronstk@...239...> On Monday 09 February 2004 14:59, Benoit Minisini wrote: > On Monday 09 February 2004 07:46, ron wrote: > > > i will look on the line about 9091 > > > > > You should never modify the configure script, because it is generated! > Everything stands in configure.in. > > I will add a disable option for each component in the next version... > > Regards, I agree with it but it was the only way to get it fixed for me. After a long time i was lost in space, it helped me. Daniel wrote already a method to change it in the 'net' component configuration. The option method is the best one. I use now a script to start ./configure with my default options so i don't need to type it every time again. BTW. In the configue pass is a somewhere a --run option used. The error msg tell to look in 'missing --help' but also the msg that 'missing' is to old. May be this was in the detection for the curl libs? Thanks any way Ron From ronstk at ...239... Tue Feb 10 10:12:53 2004 From: ronstk at ...239... (ron) Date: Tue, 10 Feb 2004 10:12:53 +0100 Subject: [Gambas-user] Any confirmation about CFont.cpp? Message-ID: <200402101012.53307.ronstk@...239...> Hi Benoit, During compile time I had a problem with CFont.cpp Not every one had this problem, i know 2 users found it. As suggested I add a #include "gb_common" in it and the problem was gone. Was it a change to much? Ron From ronstk at ...239... Tue Feb 10 11:24:59 2004 From: ronstk at ...239... (ron) Date: Tue, 10 Feb 2004 11:24:59 +0100 Subject: [Gambas-user] Request: TableView cell offset Message-ID: <200402101124.59651.ronstk@...239...> Hallo Benoit, I have a TableView with i.e 100 columns and 100 rows. On screen there are only 10x10 visible and i scroll to the center. I want to know the row/column in the top/left position. Is it posible to have 2 properties TableView.FirstColumn and TableView.FirstRow for the first visible colum/row on the left/top side or if I see the cell area as one big picture TableView.ScrollX and TableView.ScrollY for the top/left x/y position in this picture Maybe both? What must TableView.Scroll() do? Is it the intention it must do the same as for ScrollView? ScrollView_Scroll(ScrolX, ScrollY) What I need is a posibility to get the actual column and row number on the MouseDown and MouseMove events. Using the mouse.x and .y works but the first row/column must be top/left If I can get the scroll offsets I think it is perfect. TableView.Row and .Column are only valid on Click event During Mouse_Down, _Move and _Up the Row and Column are the old active cell SUB hittest() row=0 col=0 x=mouse.x ' x= relative to TBL object x=x-offsetx 'row header caption width X=X+TBL.ScrollX '<------- y=mouse.y 'y=Relative to TBL object y=y-offsety 'column header caption height Y=Y-TBL.ScrollY '<------- foreach column w=w+width if x>w inc col next foreach row h=h+height if y>h inc row next END SUB TBL_MouseDown() 'here the .row / .column are the old cell 'get row/column with hittest() 'get current data (for drag?) END SUB TBL_MouseMove() 'here the .row / .column are the old cell 'get row/column with hittest() if .row=downrow then if docolor=true then set font color if dodrop=true then drop data endif END SUB TBL_MouseUp() 'here the .row / .column are the old cell END SUB TBL_MouseClick() ' here .row / .column are is the cell the up was done if .row=downrow then 'put data endif END Ron From ronstk at ...239... Tue Feb 10 16:18:40 2004 From: ronstk at ...239... (ron) Date: Tue, 10 Feb 2004 16:18:40 +0100 Subject: [Gambas-user] make install 0.83 In-Reply-To: <200402090847.02736.sourceforge-raindog2@...94...> References: <200402091204.28469.ronstk@...239...> <200402090847.02736.sourceforge-raindog2@...94...> Message-ID: <200402101618.41236.ronstk@...239...> On Monday 09 February 2004 14:47, Rob wrote: > On Monday 09 February 2004 06:04, ron wrote: > > Gambas as platform to make programs is super and not to > > complex. Why can't it be for C to, the languge is not the bad > > thing but the stuff (environment) around it is to complex i > > think. > > When you get right down to it, C's function in modern operating > systems is that of a portable, slightly abstracted assembler. > Ultimately you're twiddling bits of memory directly, and you > call functions in shared libraries by (to oversimplify a bit) > loading them and jumping to predefined memory locations within > them. This means that sometimes seemingly minor changes can > make everything blow up with a segv, and even bugfix releases > can introduce incompatibilities at the source level, especially > when the developer assumes that everyone is building everything > from scratch instead of installing packages. > > In your case, it sounds like you've been bitten by SuSE's lack of > a package manager with dependency handling that can deal with > packages not produced by SuSE. Red Hat has it (apt-rpm or yum), > Mandrake has it (urpmi, which I even like better than apt), > Debian has it (apt). With SuSE, and they're not the only > offender by any means, if you're not installing an official > package you're stuck in dependency hell. And it sounds like > they don't really make newer versions of packages available for > older versions of SuSE (I can't blame them because of all the > regression testing that would need to happen.) > > I would suggest learning how to package your own RPM's for SuSE > and maybe even becoming SuSE's gambas maintainer, because I was > almost as much in the dark as you a year ago before I started > doing it for Mandrake. (I even started my packaging based on an > old, obsolete SuSE source rpm, so it's not unheard of.) You > could start by finding the source rpm of libcurl for SuSE 9.0 > and see if you can build it for SuSE 8.2 by going rpm --rebuild > (or maybe rpmbuild --rebuild) libcurl-whatever.src.rpm. If that > fails on you, email me and I'll see if I can help you out. > > But it sounds like you've solved your problem in the short term, > so all of this may be unnecessary for this version at least. > > > I did try Kdevelop but it's not so simple to write and run > > instant as gambas > > PerlQt with PQtDesigner isn't bad, and I actually prefer it for > some things (because it's perl ;) ) but it's not as easy or as > quick as gambas. > > Rob > Hi Rob, First alinea: I understand this part, it's needed to be able to run on different platforms and distro's to. Second alinea: SuSE uses also RH rpm based files. That should not be the problem. With Yast, there install handler for rpm's, the problem is it can not see what is installed with Kpackage and Kpackage not what is done by Yast. I understand this as fact. What I don't like is you are not able to uninstall with Yast easy way. Yast start (un)install if you press the button 'Accept' and when Yast is ready it close the window. Result about success or failure is not shown. You have to guess the results. If I try to install the lower version he says a newer version is already installed and that after I did uninstall of it before?. Lack of a force install here? I had this problem before with the C compiler, libxml2 and now with curl. All where installed with Yast. That SuSE not releases new packages for old suse versions is to understand. Third alinea: > I would suggest learning how to package your own RPM's for SuSE > and maybe even becoming SuSE's gambas maintainer, because I was You guess it. I wish I could help Benoit a bit. The idea to make the .rpm for SuSE 8.2 and 9.0 isn't so bad but I can only test on 8.2. Two are possible, a binairy and a source. The binairy is nice for people to start instant with gambas. A global layout what must be in the pack can be stolen from an other package from SuSE. For a source pack the question raises why. The .gz works o.k. sofar almost every time for every user out of the box. This time I was one of the few that had problems I could handle after the good 0.8.0 till 0.8.2 results. For me is there an other question. I unpack it in /usr/local/src an do the compile and install as root (bad way i know). I don't have a guide rule if it should be done in /usr/src or /usr/local/src. Both have a bin and when i use the local path my trials are in /usr/local/bin and not poluting /usr/bin. Or should i use /home/myname/src (/root/src). I wish gambas for all users available (there is only one, thats me). Configure installs it in /opt/gambas and that sounds as global for all users. I think for this part, linux rulez (SuSE rulez), i'm a big newbie. Your suggestion to repack libcurl for SuSE 8.2 from source is also nice. The rpm is version 3.0.6 from RH on my system. rpm {--rebuild} [--rcfile ] [-v] source1.rpm ... sourceN.rpm I have a choice 7.10.5 (suse9.0) or the real one 7.11.x I need 7.10.2 to know where and what for suse8.2 (curl, yast depends on it ) i need 7.10.5 to know the connections between curl, crypt and ssl (??) i need 7.11.x to have the version for the net component. Versions before 7.10.6 is to low regarding Daniels comment. I will start the download for 7.11 and take a look. Ater all I have to repair the curl stuff anyway. The binairy should be still the original 7.10.2 but the -devel is from 7.10.5 Any help is welcome, as I say before I am newbie for this system stuff. This is already again to long, I know, but I'm stand alone for this and will forget the unwashed windows/fenster/ramen. Ron From gambas at ...1... Tue Feb 10 19:47:54 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 10 Feb 2004 19:47:54 +0100 Subject: [Gambas-user] Any confirmation about CFont.cpp? In-Reply-To: <200402101012.53307.ronstk@...239...> References: <200402101012.53307.ronstk@...239...> Message-ID: <200402101947.54249.gambas@...1...> On Tuesday 10 February 2004 10:12, ron wrote: > Hi Benoit, > > During compile time I had a problem with CFont.cpp > Not every one had this problem, i know 2 users found it. > As suggested I add a #include "gb_common" in it and the problem was gone. > > Was it a change to much? > > Ron > The problem will be fixed in the next version. I removed every dependency on gb_common.h in components, but I forgot to insert the "offsetof" macro definition in gambas.h. I didn't see that because on my Mandrake, offsetof is already defined by some C compiler header! Regards, -- Benoit Minisini mailto:gambas at ...1... From girardhenri at ...67... Tue Feb 10 19:55:30 2004 From: girardhenri at ...67... (Henri Girard) Date: Tue, 10 Feb 2004 19:55:30 +0100 Subject: [Gambas-user] make install 0.83 References: <200402091204.28469.ronstk@...239...> <200402090847.02736.sourceforge-raindog2@...94...> <200402101618.41236.ronstk@...239...> Message-ID: Maybe it would be a good idea to make yum or apt rpms ? (redhat and fedora) If it's not already done ? Henri ----- Original Message ----- From: "ron" To: Sent: Tuesday, February 10, 2004 4:18 PM Subject: Re: [Gambas-user] make install 0.83 > On Monday 09 February 2004 14:47, Rob wrote: > > On Monday 09 February 2004 06:04, ron wrote: > > > Gambas as platform to make programs is super and not to > > > complex. Why can't it be for C to, the languge is not the bad > > > thing but the stuff (environment) around it is to complex i > > > think. > > > > When you get right down to it, C's function in modern operating > > systems is that of a portable, slightly abstracted assembler. > > Ultimately you're twiddling bits of memory directly, and you > > call functions in shared libraries by (to oversimplify a bit) > > loading them and jumping to predefined memory locations within > > them. This means that sometimes seemingly minor changes can > > make everything blow up with a segv, and even bugfix releases > > can introduce incompatibilities at the source level, especially > > when the developer assumes that everyone is building everything > > from scratch instead of installing packages. > > > > In your case, it sounds like you've been bitten by SuSE's lack of > > a package manager with dependency handling that can deal with > > packages not produced by SuSE. Red Hat has it (apt-rpm or yum), > > Mandrake has it (urpmi, which I even like better than apt), > > Debian has it (apt). With SuSE, and they're not the only > > offender by any means, if you're not installing an official > > package you're stuck in dependency hell. And it sounds like > > they don't really make newer versions of packages available for > > older versions of SuSE (I can't blame them because of all the > > regression testing that would need to happen.) > > > > I would suggest learning how to package your own RPM's for SuSE > > and maybe even becoming SuSE's gambas maintainer, because I was > > almost as much in the dark as you a year ago before I started > > doing it for Mandrake. (I even started my packaging based on an > > old, obsolete SuSE source rpm, so it's not unheard of.) You > > could start by finding the source rpm of libcurl for SuSE 9.0 > > and see if you can build it for SuSE 8.2 by going rpm --rebuild > > (or maybe rpmbuild --rebuild) libcurl-whatever.src.rpm. If that > > fails on you, email me and I'll see if I can help you out. > > > > But it sounds like you've solved your problem in the short term, > > so all of this may be unnecessary for this version at least. > > > > > I did try Kdevelop but it's not so simple to write and run > > > instant as gambas > > > > PerlQt with PQtDesigner isn't bad, and I actually prefer it for > > some things (because it's perl ;) ) but it's not as easy or as > > quick as gambas. > > > > Rob > > > > Hi Rob, > > First alinea: > I understand this part, it's needed to be able to run on different platforms > and distro's to. > > Second alinea: > SuSE uses also RH rpm based files. That should not be the problem. > With Yast, there install handler for rpm's, the problem is it can not see what > is installed with Kpackage and Kpackage not what is done by Yast. > I understand this as fact. > > What I don't like is you are not able to uninstall with Yast easy way. > Yast start (un)install if you press the button 'Accept' and when Yast is ready > it close the window. Result about success or failure is not shown. > You have to guess the results. > > If I try to install the lower version he says a newer version is already > installed and that after I did uninstall of it before?. > Lack of a force install here? > I had this problem before with the C compiler, libxml2 and now with curl. All > where installed with Yast. > > That SuSE not releases new packages for old suse versions is to understand. > > Third alinea: > > I would suggest learning how to package your own RPM's for SuSE > > and maybe even becoming SuSE's gambas maintainer, because I was > > You guess it. I wish I could help Benoit a bit. The idea to make the .rpm for > SuSE 8.2 and 9.0 isn't so bad but I can only test on 8.2. > Two are possible, a binairy and a source. > The binairy is nice for people to start instant with gambas. A global layout > what must be in the pack can be stolen from an other package from SuSE. > > For a source pack the question raises why. The .gz works o.k. sofar almost > every time for every user out of the box. > This time I was one of the few that had problems I could handle after the good > 0.8.0 till 0.8.2 results. > > For me is there an other question. I unpack it in /usr/local/src an do the > compile and install as root (bad way i know). I don't have a guide rule if it > should be done in /usr/src or /usr/local/src. Both have a bin and when i use > the local path my trials are in /usr/local/bin and not poluting /usr/bin. > Or should i use /home/myname/src (/root/src). I wish gambas for all users > available (there is only one, thats me). > Configure installs it in /opt/gambas and that sounds as global for all users. > I think for this part, linux rulez (SuSE rulez), i'm a big newbie. > > Your suggestion to repack libcurl for SuSE 8.2 from source is also nice. > The rpm is version 3.0.6 from RH on my system. > rpm {--rebuild} [--rcfile ] [-v] source1.rpm ... sourceN.rpm > I have a choice 7.10.5 (suse9.0) or the real one 7.11.x > I need 7.10.2 to know where and what for suse8.2 (curl, yast depends on it ) > i need 7.10.5 to know the connections between curl, crypt and ssl (??) > i need 7.11.x to have the version for the net component. > Versions before 7.10.6 is to low regarding Daniels comment. > I will start the download for 7.11 and take a look. > Ater all I have to repair the curl stuff anyway. > The binairy should be still the original 7.10.2 but the -devel is from 7.10.5 > > Any help is welcome, as I say before I am newbie for this system stuff. > This is already again to long, I know, but I'm stand alone for this and will > forget the unwashed windows/fenster/ramen. > > Ron > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mauriiiii3001 at ...325... Tue Feb 10 20:09:21 2004 From: mauriiiii3001 at ...325... (Pozzo) Date: Tue, 10 Feb 2004 20:09:21 +0100 Subject: [Gambas-user] RE: phone center Message-ID: <40292C61.5020002@...325...> I've finished my project is a very simple program so maybe could be add to the examples. While I was working on it I though about an easier way to work with arrays of controls. What about something like this: DIM j AS Integer FOR j=1 TO 4 ("lin" & j).text = "" NEXT I where there are 4 textboxes wich names are lin1, lin2, lin3 and lin4, so the code should work like adding the number of j to lin and compose the name of the control. -------------- next part -------------- A non-text attachment was scrubbed... Name: Phone_center-1.0.tar.gz Type: application/gzip Size: 1358 bytes Desc: not available URL: From ronstk at ...239... Tue Feb 10 20:23:44 2004 From: ronstk at ...239... (ron) Date: Tue, 10 Feb 2004 20:23:44 +0100 Subject: [Gambas-user] report CURL compile Message-ID: <200402102023.44478.ronstk@...239...> Hallo Daniel, I got at the moment in curl still a problem. I try make in the directory and got next as result. The strange part is the CNet.c:11: errors. If for some reason `CURLE_HTTP_RETURNED_ERROR' is in a file not included any way then `CNetDesc[33].val2') is still a strange error. I scanned the whole net directory and the http_returned is not fond there. Compiler is GNU C 3.3 20030226 (prerelease) (SuSE Linux) gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -g -O2 -pipe -Wall -g -O0 -c gbcurl.c -fPIC -DPIC -o gbcurl.lo gbcurl.c:44:2: warning: #warning ####################################################################### gbcurl.c:45:2: warning: #warning COMPILING WITHOUT AUTHENTICATION SUPPORT - YOU MUST USE LIBCURL>=7.10.6 gbcurl.c:46:2: warning: #warning ####################################################################### /bin/sh ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -g -O2 -pipe -Wall -g -O0 -c main.c gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -g -O2 -pipe -Wall -g -O0 -c main.c -fPIC -DPIC -o main.lo /bin/sh ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -g -O2 -pipe -Wall -g -O0 -c CHttpClient.c gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -g -O2 -pipe -Wall -g -O0 -c CHttpClient.c -fPIC -DPIC -o CHttpClient.lo CHttpClient.c: In function `http_post': CHttpClient.c:823: warning: comparison between signed and unsigned /bin/sh ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -g -O2 -pipe -Wall -g -O0 -c CNet.c gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -g -O2 -pipe -Wall -g -O0 -c CNet.c -fPIC -DPIC -o CNet.lo CNet.c:111: error: `CURLE_HTTP_RETURNED_ERROR' undeclared here (not in a function) CNet.c:111: error: initializer element is not constant CNet.c:111: error: (near initialization for `CNetDesc[33].val2') CNet.c:111: error: initializer element is not constant CNet.c:111: error: (near initialization for `CNetDesc[33]') CNet.c:112: error: initializer element is not constant CNet.c:112: error: (near initialization for `CNetDesc[34]') CNet.c:113: error: initializer element is not constant CNet.c:113: error: (near initialization for `CNetDesc[35]') Ron From sourceforge-raindog2 at ...94... Tue Feb 10 20:27:13 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 10 Feb 2004 14:27:13 -0500 Subject: [Gambas-user] RE: phone center In-Reply-To: <40292C61.5020002@...325...> References: <40292C61.5020002@...325...> Message-ID: <200402101427.13748.sourceforge-raindog2@...94...> On Tuesday 10 February 2004 14:09, Pozzo wrote: > FOR j=1 TO 4 > ("lin" & j).text = "" > NEXT > I where there are 4 textboxes wich names are lin1, lin2, lin3 > and lin4, so the code should work like adding the number of j > to lin and compose the name of the control. That sort of thing might become possible once Gambas gets introspection/intercession (Nelson's "reflexive language" concepts), which would have to be sometime after 1.0. I'd want to see that sort of code wrapped in an eval type of statement though, at any rate. However, you should realize that controls on a Gambas form don't currently have a name at runtime; it's a design-time convenience for the coder, and they're stripped out like all the other symbol names during compilation. Rob From sourceforge-raindog2 at ...94... Tue Feb 10 20:28:26 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 10 Feb 2004 14:28:26 -0500 Subject: [Gambas-user] make install 0.83 In-Reply-To: References: <200402101618.41236.ronstk@...239...> Message-ID: <200402101428.26335.sourceforge-raindog2@...94...> On Tuesday 10 February 2004 13:55, Henri Girard wrote: > Maybe it would be a good idea to make yum or apt rpms ? > (redhat and fedora) If it's not already done ? If you can use my Mandrake src.rpm's as the basis for this, please be my guest! I don't have access to a RH/fedora machine or I would already have done so myself. Rob From ronstk at ...239... Tue Feb 10 20:29:43 2004 From: ronstk at ...239... (ron) Date: Tue, 10 Feb 2004 20:29:43 +0100 Subject: [Gambas-user] make install 0.83 In-Reply-To: References: <200402101618.41236.ronstk@...239...> Message-ID: <200402102029.43859.ronstk@...239...> On Tuesday 10 February 2004 19:55, Henri Girard wrote: > Maybe it would be a good idea to make yum or apt rpms ? (redhat and fedora) > If it's not already done ? > Henri > ----- Original Message ----- 8< I think I can't do that with SuSE 8.2. Beside that I thought redhat has rpm(s) and apt is debian? Ron From ronstk at ...239... Tue Feb 10 20:31:02 2004 From: ronstk at ...239... (ron) Date: Tue, 10 Feb 2004 20:31:02 +0100 Subject: [Gambas-user] Any confirmation about CFont.cpp? In-Reply-To: <200402101947.54249.gambas@...1...> References: <200402101012.53307.ronstk@...239...> <200402101947.54249.gambas@...1...> Message-ID: <200402102031.02319.ronstk@...239...> On Tuesday 10 February 2004 19:47, Benoit Minisini wrote: > On Tuesday 10 February 2004 10:12, ron wrote: > > Hi Benoit, > > > > During compile time I had a problem with CFont.cpp > > Not every one had this problem, i know 2 users found it. > > As suggested I add a #include "gb_common" in it and the problem was gone. > > > > Was it a change to much? > > > > Ron > > The problem will be fixed in the next version. > > I removed every dependency on gb_common.h in components, but I forgot to > insert the "offsetof" macro definition in gambas.h. I didn't see that > because on my Mandrake, offsetof is already defined by some C compiler > header! > > Regards, Thanks, i understand is was a minor buggie this way and not realy my fault. Ron From gambas at ...1... Tue Feb 10 20:45:14 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 10 Feb 2004 20:45:14 +0100 Subject: [Gambas-user] RE: phone center In-Reply-To: <40292C61.5020002@...325...> References: <40292C61.5020002@...325...> Message-ID: <200402102045.14625.gambas@...1...> On Tuesday 10 February 2004 20:09, Pozzo wrote: > I've finished my project is a very simple program so maybe could be add > to the examples. While I was working on it I though about an easier way > to work with arrays of controls. What about something like this: > > DIM j AS Integer > > FOR j=1 TO 4 > ("lin" & j).text = "" Hmmm... Controls are objects, not strings ! And strings are not objects, so can't deal with the "." operator. I will never add such a brainwashing syntax in gambas! :-) You must understand that your problem will not be solved by syntactic sugar, but by a redesign of the interpreter internals, which I won't do for a while! So, make your control arrays exactly the way you would do in Java. Maybe, one day, in the future, I could add support for array controls in the IDE. But I'm sure you can always do your job differently without the need of them. Regards, -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Tue Feb 10 20:51:00 2004 From: ronstk at ...239... (ron) Date: Tue, 10 Feb 2004 20:51:00 +0100 Subject: [Gambas-user] Trial Compile CURL 7.11 question (Rob) Message-ID: <200402102051.00871.ronstk@...239...> Hallo Rob, I downloade version 7.11 and go to the test directory Running the test resulting in errors in test 500 and up I do not understand the 2 first lines. the look as time stamp and are the same. but expected and generated fails? In test 501 curl returned 127, 3 was expected error FAILED Is this dangerous? I want to be shure curl is 99% because Yast is very nasty if dependent files are changed. Some fixes I tried was not accepted because the file was changed. Stupid Su.... and the deliver the source to do it. As far I can see it should be ok to use make install from clean sources. Ron =============================================== test 306...SKIPPED * Test 306: no HTTPS server test 500...[simple libcurl HTTP GET tool] data FAILED: --- .expected 2004-02-10 18:53:09.000000000 +0100 +++ .generated 2004-02-10 18:53:09.000000000 +0100 @@ -1,12 +0,0 @@ -HTTP/1.1 200 OK -Date: Thu, 09 Nov 2010 14:49:00 GMT -Server: test-server/fake -Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT -ETag: "21025-dc7-39462498" -Accept-Ranges: bytes -Content-Length: 6 -Connection: close -Content-Type: text/html -Funny-head: yesyes - - test 501...[simple libcurl attempt operation without URL set] curl returned 127, 3 was expected error FAILED test 502...[simple multi file:// get] data FAILED: --- .expected 2004-02-10 18:53:09.000000000 +0100 +++ .generated 2004-02-10 18:53:09.000000000 +0100 @@ -1,5 +0,0 @@ -foo - bar swsclose From sourceforge-raindog2 at ...94... Tue Feb 10 20:50:56 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 10 Feb 2004 14:50:56 -0500 Subject: [Gambas-user] Request: TableView cell offset In-Reply-To: <200402101124.59651.ronstk@...239...> References: <200402101124.59651.ronstk@...239...> Message-ID: <200402101450.56023.sourceforge-raindog2@...94...> On Tuesday 10 February 2004 05:24, ron wrote: > What I need is a posibility to get the actual column and row > number on the MouseDown and MouseMove events. > Using the mouse.x and .y works but the first row/column must > be top/left If I can get the scroll offsets I think it is > perfect. I had to come up with a way to do this in a CD ripping program I've been working on (so I could pop a textbox up over an entry in a Columnview.) Here's my code, though it will need a lot of work to be useful to anyone else: PUBLIC SUB Tracklist_Edit(tk AS ColumnView) DIM i AS Integer DIM o AS Integer DIM iHeight AS Integer o = tk.item.key FOR i = 0 TO tk.clientheight tk.find(4, i) IF o = tk.item.key THEN BREAK NEXT iheight = getItemHeight(tk) entry = NEW textbox(devicetabs) AS "Entry" entry.y = i + tk.y + iheight + 4 entry.x = tk.columns[0].width entry.w = tk.columns[1].width entry.h = iheight entry.text = tk.item[1] entry.setfocus() END PUBLIC FUNCTION getItemHeight(mycv AS ColumnView) AS Integer DIM o AS String DIM p AS String DIM fst AS String DIM scd AS String DIM i AS Integer DIM i1 AS Integer DIM i2 AS Integer IF NOT mycv.available THEN mycv.moveto(1) o = mycv.item.key mycv.find(4,0) fst = mycv.item.key scd = fst i = 0 DO WHILE mycv.find(4,i) i = i + 1 LOOP DO WHILE scd = fst i = i + 1 mycv.find(4,i) scd = mycv.item.key LOOP i1 = i fst = scd DO WHILE fst = scd i = i + 1 mycv.find(4,i) fst = mycv.item.key LOOP 'Message.info(i - i1) mycv.moveto(o) RETURN i - i1 END It works beautifully, though I haven't tried it with a font size other than my own ;) Rob From sourceforge-raindog2 at ...94... Tue Feb 10 20:46:16 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 10 Feb 2004 14:46:16 -0500 Subject: [Gambas-user] Phone center In-Reply-To: <200402091444.45610.gambas@...1...> References: <40267CBE.5070901@...325...> <200402081345.16197.sourceforge-raindog2@...94...> <200402091444.45610.gambas@...1...> Message-ID: <200402101446.16169.sourceforge-raindog2@...94...> On Monday 09 February 2004 08:44, Benoit Minisini wrote: > Elsewhere, the textboxes should be created dynamically. This > way you can add telephones and lines without modifying your > program interface. That is how you'd do it in just about any other language, but I've encountered a number of people asking how to use VB control arrays in Gambas while still being able to draw them on the form rather than doing it programmatically. I'm pleased to be able to at least provide them with a 4 or 5-line workaround. Thanks for the Object.Type hint, I'm amazed I missed that, guess I was looking for "Vartype" ;) Rob From gambas at ...1... Tue Feb 10 21:00:57 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 10 Feb 2004 21:00:57 +0100 Subject: [Gambas-user] Phone center In-Reply-To: <200402101446.16169.sourceforge-raindog2@...94...> References: <40267CBE.5070901@...325...> <200402091444.45610.gambas@...1...> <200402101446.16169.sourceforge-raindog2@...94...> Message-ID: <200402102100.57805.gambas@...1...> On Tuesday 10 February 2004 20:46, Rob wrote: > On Monday 09 February 2004 08:44, Benoit Minisini wrote: > > Elsewhere, the textboxes should be created dynamically. This > > way you can add telephones and lines without modifying your > > program interface. > > That is how you'd do it in just about any other language, but > I've encountered a number of people asking how to use VB control > arrays in Gambas while still being able to draw them on the form > rather than doing it programmatically. I'm pleased to be able > to at least provide them with a 4 or 5-line workaround. > > Thanks for the Object.Type hint, I'm amazed I missed that, guess > I was looking for "Vartype" ;) > > Rob > VarType() is named TypeOf() in Gambas :-) -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Tue Feb 10 21:48:37 2004 From: ronstk at ...239... (ron) Date: Tue, 10 Feb 2004 21:48:37 +0100 Subject: [Gambas-user] Request: TableView cell offset In-Reply-To: <200402101124.59651.ronstk@...239...> References: <200402101124.59651.ronstk@...239...> Message-ID: <200402102148.37375.ronstk@...239...> Add to subject. I found in qtable.h virtual int columnWidth..... virtual int rowHeight......... virtual int columnPos(int col)....... virtual int rowPos(int row)........ virtual int columnAt (int x) const; virtual int rowAt(int y) const; This is in a public section of QM_EXPORT_TABLE. QTable : public QScrollView It looks to me you already implemented the first 4. The last two should be nice to have too. I asume QT keeps track where x and y are in the viewport on a scrolled tableview to get the real row/column for the whole table. This is excact what I want, mouse down on a cell and get the row and column id Even the same names can be used, the do exact the name say's. Can you provide me a hint where to add in the source. Maybe a reference to file where i can find code part as template. I will try itt myself to add and if succes I can send it to you as contribution for gambas. Good way to learn a bit of Gambas C, your macro's as GamC language :) P.S. The ScrollView in gambas has .ScrollX .ScrollY, may be posible TableView can have it to. --- Ron Onstenk From Karl.Reinl at ...9... Tue Feb 10 22:47:49 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Tue, 10 Feb 2004 22:47:49 +0100 Subject: [Gambas-user] how loop a listbox Message-ID: <200402102247.49242.Karl.Reinl@...9...> Salut, need to loop a listbox , HOW Amicalement Charlie From Karl.Reinl at ...9... Tue Feb 10 22:52:19 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Tue, 10 Feb 2004 22:52:19 +0100 Subject: [Gambas-user] Alignment in GridView HOW Message-ID: <200402102252.19371.Karl.Reinl@...9...> Salut, anybody knows how to align a picture in GridViewCell ?? LEFT ? RIGHT ? CENTER ? Amicalement Charlie From Karl.Reinl at ...9... Tue Feb 10 21:58:08 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Tue, 10 Feb 2004 21:58:08 +0100 Subject: [Gambas-user] about gambas KEY-Words Message-ID: <200402102158.08179.Karl.Reinl@...9...> Salut Benoit, I remember my, long times ago, we talked about 'gambas KEY-Words' in a text-file, and not in the c-sources. Think thats still a good idea! Amicalement Charlie From sourceforge-raindog2 at ...94... Tue Feb 10 21:06:14 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 10 Feb 2004 15:06:14 -0500 Subject: [Gambas-user] Trial Compile CURL 7.11 question (Rob) In-Reply-To: <200402102051.00871.ronstk@...239...> References: <200402102051.00871.ronstk@...239...> Message-ID: <200402101506.14443.sourceforge-raindog2@...94...> On Tuesday 10 February 2004 14:51, ron wrote: > I downloade version 7.11 and go to the test directory > Running the test resulting in errors in test 500 and up > I do not understand the 2 first lines. the look as time stamp > and are the same. but expected and generated fails? I dunno, I seldom run "make test" on anything I compile because that's not normally done as part of building an RPM. The tests where it failed were the ones where it was intended to break (return an error) so that would probably be good enough for me.... but it's your machine ;) Rob From gambas at ...1... Tue Feb 10 23:26:03 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 10 Feb 2004 23:26:03 +0100 Subject: [Gambas-user] about gambas KEY-Words In-Reply-To: <200402102158.08179.Karl.Reinl@...9...> References: <200402102158.08179.Karl.Reinl@...9...> Message-ID: <200402102326.03468.gambas@...1...> On Tuesday 10 February 2004 21:58, Charlie Reinl wrote: > Salut Benoit, > > I remember my, long times ago, we talked about 'gambas KEY-Words' > in a text-file, and not in the c-sources. > Think thats still a good idea! > > Amicalement > Charlie > > What for? I don't remember why it is a good idea :-) -- Benoit Minisini mailto:gambas at ...1... From abidoo.too at ...11... Tue Feb 10 23:41:50 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Tue, 10 Feb 2004 23:41:50 +0100 Subject: [Gambas-user] Alignment in GridView HOW In-Reply-To: <200402102252.19371.Karl.Reinl@...9...> References: <200402102252.19371.Karl.Reinl@...9...> Message-ID: <200402102341.50548.abidoo.too@...11...> Le Mardi 10 F?vrier 2004 22:52, Charlie Reinl a ?crit : > Salut, > anybody knows how to align a picture in GridViewCell ?? > LEFT ? > RIGHT ? > CENTER ? > > Amicalement > Charlie > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Easy ;-) GView[ x,y].Alignment = Align.Left (or align.center or .top or .bottomleft) etc look at align in the help and at .gridcell Fabien From abidoo.too at ...11... Tue Feb 10 23:42:34 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Tue, 10 Feb 2004 23:42:34 +0100 Subject: [Gambas-user] how loop a listbox In-Reply-To: <200402102247.49242.Karl.Reinl@...9...> References: <200402102247.49242.Karl.Reinl@...9...> Message-ID: <200402102342.34743.abidoo.too@...11...> Le Mardi 10 F?vrier 2004 22:47, Charlie Reinl a ?crit : > Salut, > > need to loop a listbox , HOW > > Amicalement > Charlie > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user loop ? What does you mind ? From abidoo.too at ...11... Tue Feb 10 23:47:54 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Tue, 10 Feb 2004 23:47:54 +0100 Subject: [Gambas-user] how loop a listbox In-Reply-To: <200402102247.49242.Karl.Reinl@...9...> References: <200402102247.49242.Karl.Reinl@...9...> Message-ID: <200402102347.54442.abidoo.too@...11...> Le Mardi 10 F?vrier 2004 22:47, Charlie Reinl a ?crit : > Salut, > > need to loop a listbox , HOW > > Amicalement > Charlie > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Maybe... For i = 0 to listbox.count - 1 listbox.index = i print listbox.current.text next From girardhenri at ...67... Wed Feb 11 05:34:24 2004 From: girardhenri at ...67... (Henri Girard) Date: Wed, 11 Feb 2004 05:34:24 +0100 Subject: [Gambas-user] make install 0.83 References: <200402101618.41236.ronstk@...239...> <200402101428.26335.sourceforge-raindog2@...94...> Message-ID: Yes... I think i didn't express my idea well : I compiled fedora fine and others too as I noticed.... But I don't know how to make rpms... Just in case newbies would have problems or someone who hasn't a good configuration (i think it's better to find out where is the problems ... but) well maybe the idea is not usable .. just an attempt ! lol cheers, Henri ----- Original Message ----- From: "Rob" To: Sent: Tuesday, February 10, 2004 8:28 PM Subject: Re: [Gambas-user] make install 0.83 > On Tuesday 10 February 2004 13:55, Henri Girard wrote: > > Maybe it would be a good idea to make yum or apt rpms ? > > (redhat and fedora) If it's not already done ? > > If you can use my Mandrake src.rpm's as the basis for this, > please be my guest! I don't have access to a RH/fedora machine > or I would already have done so myself. > > Rob > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From rizky at ...225... Wed Feb 11 06:23:20 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Wed, 11 Feb 2004 12:23:20 +0700 Subject: [Gambas-user] Enter button Message-ID: <200402111223.20291.rizky@...225...> hi, 1. I try this on the QWERTY keyboard. the key.code for the Enter button (above the right SHIFT key) aren't same with the Enter button at the NumPad, why ? then what is the key.code for Enter button at the NumPad ? 2. I try to show Project Properties using ALT + Enter. but it only will show with the Enter button at the NumPad not the other one... From danielcampos at ...282... Wed Feb 11 08:28:26 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Wed, 11 Feb 2004 08:28:26 CET Subject: [Gambas-user] report CURL compile Message-ID: >gbcurl.c:44:2: warning: #warning >####################################################################### >gbcurl.c:45:2: warning: #warning COMPILING WITHOUT AUTHENTICATION >SUPPORT - >YOU MUST USE LIBCURL>=7.10.6 >gbcurl.c:46:2: warning: #warning >####################################################################### > What version of Curl are you using? It seems to be old. HTTP_RETURNED_ERROR probably was added after your release, if you could tell me the version (use curl-config command), I could try to add support for that version adding some conditionals #if and #endif for the next release, so it can compile in your system... (Actually it can compile from 7.10.3 to 7.11.0) Regards, Daniel Campos ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From danielcampos at ...282... Wed Feb 11 08:49:50 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Wed, 11 Feb 2004 08:49:50 CET Subject: [Gambas-user] report CURL compile Message-ID: >I scanned the whole net directory and the http_returned is not fond >there. > If you have already downloaded and installed curl 7.11.0, may be the header files have been not correctly updated, look at /usr/include/curl, the *.h files placed there must be the same as the placed in {curl-sources}/include/curl... ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From eng_ak at ...200... Wed Feb 11 15:52:21 2004 From: eng_ak at ...200... (Ahmad Kamal) Date: Wed, 11 Feb 2004 16:52:21 +0200 Subject: [Gambas-user] Gambas and HBasic on newsforge.com Message-ID: <402A41A5.6040209@...200...> Congrats, an article for those who didn't read it http://www.devchannel.org/devtoolschannel/04/02/02/1932209.shtml Good work to both Benoit, Markus and the communities helping. Wishing them all the best. From na2492 at ...9... Wed Feb 11 18:47:58 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Wed, 11 Feb 2004 18:47:58 00100 Subject: [Gambas-user] Alignment in GridView HOW Message-ID: <402a6ace.aa2.0@...9...> >Le Mardi 10 F?vrier 2004 22:52, Charlie Reinl a ?crit : >> Salut, >> anybody knows how to align a picture in GridViewCell ?? >> LEFT ? >> RIGHT ? >> CENTER ? >> >> Amicalement >> Charlie >> >> >> >> ------------------------------------------------------- >> The SF.Net email is sponsored by EclipseCon 2004 >> Premiere Conference on Open Tools Development and Integration >> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. >> http://www.eclipsecon.org/osdn >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > >Easy ;-) > >GView[ x,y].Alignment = Align.Left (or align.center or .top or .bottomleft) >etc > >look at align in the help and at .gridcell > >Fabien > Tanks, was to blind to see ... Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From na2492 at ...9... Wed Feb 11 18:50:33 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Wed, 11 Feb 2004 18:50:33 00100 Subject: [Gambas-user] how loop a listbox Message-ID: <402a6b69.c4f.0@...9...> >Le Mardi 10 F?vrier 2004 22:47, Charlie Reinl a ?crit : >> Salut, >> >> need to loop a listbox , HOW >> >> Amicalement >> Charlie >> >> >> >> ------------------------------------------------------- >> The SF.Net email is sponsored by EclipseCon 2004 >> Premiere Conference on Open Tools Development and Integration >> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. >> http://www.eclipsecon.org/osdn >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >loop ? What does you mind ? my mind is OK (use next time 'mean') Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From na2492 at ...9... Wed Feb 11 18:51:24 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Wed, 11 Feb 2004 18:51:24 00100 Subject: [Gambas-user] how loop a listbox Message-ID: <402a6b9c.d6f.0@...9...> >Le Mardi 10 F?vrier 2004 22:47, Charlie Reinl a ?crit : >> Salut, >> >> need to loop a listbox , HOW >> >> Amicalement >> Charlie >> >> >> >> ------------------------------------------------------- >> The SF.Net email is sponsored by EclipseCon 2004 >> Premiere Conference on Open Tools Development and Integration >> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. >> http://www.eclipsecon.org/osdn >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > >Maybe... > >For i = 0 to listbox.count - 1 > listbox.index = i > print listbox.current.text > >next Tanks also for this Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From ronstk at ...239... Wed Feb 11 19:16:14 2004 From: ronstk at ...239... (ron) Date: Wed, 11 Feb 2004 19:16:14 +0100 Subject: [Gambas-user] Request: TableView cell offset In-Reply-To: <200402101124.59651.ronstk@...239...> References: <200402101124.59651.ronstk@...239...> Message-ID: <200402111916.14788.ronstk@...239...> Hallo Benoit, I was so nice to try it myself. Is is functional but I miss the way how to get the documentation also in the helpbrowser. Do I have it done the right way for Benoit rulez? int = TableView.RowAt( ypos as integer) int = TableView.ColumnAt( xpos as integer) xpos and ypos are the position from mouse.x and mouse.y at the MouseDown event and gives me the excact row and column numbers now before the MouseClick updates to .Row and .Column values. The returning values are -1 if the MouseDown is outside the cell grid. Row and Column headers or the blank space. The GamC instead of GamBas it beautifull to use! BTW In the code I found after all this part of code BEGIN_PROPERTY(CTABLEITEM_y) GB.ReturnInteger(WIDGET->rowPos(THIS->row) - WIDGET->contentsY() + WIDGET->clipper()->y()); END_PROPERTY Here it is just done the oposit way When this function didn't substract contentsY and add clipper()->y() it was posible to iterate the way i did in my example. Greeting from happy, Ron -------------------------------------------------------------------------------------- Code I made is as follows, above the BEGIN_METHOD(CTABLEVIEW_move_to, GB_INTEGER row; GB_INTEGER col) I add the commented code to show where i find the info. /* add ron begin */ // ypos is position in whole tableview area BEGIN_METHOD(CTABLEVIEW_rowat, GB_INTEGER ypos) int ypos = VARG(ypos); // add offset frame // coming from 'Q_EXPORT QScrollview Q_PROPERTY' in qscrollview.h ypos = ypos + WIDGET->contentsY(); // must sub horizontal header height if (!WIDGET->horizontalHeader()->isHidden()) ypos = ypos - WIDGET->horizontalHeader()->height(); // comming from 'QM_EXPORT_TABLE QTable public virtual' in qtable.h int row = WIDGET->rowAt(ypos); GB.ReturnInteger(row); END_PROPERTY // xpos is position in whole tableview area BEGIN_METHOD(CTABLEVIEW_columnat, GB_INTEGER xpos) int xpos = VARG(xpos); // add offset frame // coming from 'Q_EXPORT QScrollview Q_PROPERTY' in qscrollview.h xpos = xpos + WIDGET->contentsX(); // must sub vertical header width if (!WIDGET->verticalHeader()->isHidden()) xpos = xpos - WIDGET->verticalHeader()->width(); // comming from 'QM_EXPORT_TABLE QTable public virtual' in qtable.h int col = WIDGET->columnAt(xpos); GB.ReturnInteger(col); END_PROPERTY /* add ron end */ in 'GB_DESC CTableViewDesc[] =' i add following GB_PROPERTY("Column", "i", CTABLEVIEW_column), /* add ron begin */ GB_METHOD("RowAt","i",CTABLEVIEW_rowat,"(Y)i"), GB_METHOD("ColumnAt","i",CTABLEVIEW_columnat,"(X)i"), /* add ron end */ GB_METHOD("MoveTo", NULL, CTABLEVIEW_move_to, "(Row)i(Column)i"), From gambas at ...1... Wed Feb 11 21:10:36 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 11 Feb 2004 21:10:36 +0100 Subject: [Gambas-user] Request: TableView cell offset In-Reply-To: <200402111916.14788.ronstk@...239...> References: <200402101124.59651.ronstk@...239...> <200402111916.14788.ronstk@...239...> Message-ID: <200402112110.36896.gambas@...1...> On Wednesday 11 February 2004 19:16, ron wrote: > Hallo Benoit, > > I was so nice to try it myself. well done man :-) > > Is is functional but I miss the way how to get the documentation also in > the helpbrowser. Do I have it done the right way for Benoit rulez? When you recompile a component, you must exec "gbi -a" in a shell to update the component *.info files. the help browser use these files to fill its treeview. > int = TableView.RowAt( ypos as integer) > int = TableView.ColumnAt( xpos as integer) > > xpos and ypos are the position from mouse.x and mouse.y at the MouseDown > event and gives me the excact row and column numbers now before the > MouseClick updates to .Row and .Column values. > The returning values are -1 if the MouseDown is outside the cell grid. > Row and Column headers or the blank space. > > The GamC instead of GamBas it beautifull to use! Thanks. > > BTW > In the code I found after all this part of code > BEGIN_PROPERTY(CTABLEITEM_y) > GB.ReturnInteger(WIDGET->rowPos(THIS->row) - WIDGET->contentsY() + > WIDGET->clipper()->y()); > END_PROPERTY > Here it is just done the oposit way > When this function didn't substract contentsY and add clipper()->y() > it was posible to iterate the way i did in my example. This function returns the pos of an item in tableview coordinates. rowPos() returns the pos in contents coordinates. So I must substract contentsY() to go viewport coordinates, and then add clipper()->y() to go to TableView coordinates. It is hard for me to explain that in english. Read the QScrollView documentation in the QT doc to get more explanations. > > Greeting from happy, > Ron > > --------------------------------------------------------------------------- >----------- Code I made is as follows, above the > BEGIN_METHOD(CTABLEVIEW_move_to, GB_INTEGER row; GB_INTEGER col) > I add the commented code to show where i find the info. > > /* add ron begin */ > // ypos is position in whole tableview area > BEGIN_METHOD(CTABLEVIEW_rowat, GB_INTEGER ypos) > int ypos = VARG(ypos); > // add offset frame > // coming from 'Q_EXPORT QScrollview Q_PROPERTY' in qscrollview.h > ypos = ypos + WIDGET->contentsY(); > // must sub horizontal header height > if (!WIDGET->horizontalHeader()->isHidden()) > ypos = ypos - WIDGET->horizontalHeader()->height(); > // comming from 'QM_EXPORT_TABLE QTable public virtual' in qtable.h > int row = WIDGET->rowAt(ypos); > GB.ReturnInteger(row); > END_PROPERTY > > // xpos is position in whole tableview area > BEGIN_METHOD(CTABLEVIEW_columnat, GB_INTEGER xpos) > int xpos = VARG(xpos); > // add offset frame > // coming from 'Q_EXPORT QScrollview Q_PROPERTY' in qscrollview.h > xpos = xpos + WIDGET->contentsX(); > // must sub vertical header width > if (!WIDGET->verticalHeader()->isHidden()) > xpos = xpos - WIDGET->verticalHeader()->width(); > // comming from 'QM_EXPORT_TABLE QTable public virtual' in qtable.h > int col = WIDGET->columnAt(xpos); > GB.ReturnInteger(col); > END_PROPERTY Maybe there is a problem, because I'm not sure that header width() and height() are valid when the TableView is not yet shown. And so these methods will return incorrect values in a _new() or Form_Open() method. This a problem with many QT complex widgets, whose layout is deferred the later as possible. This is a reason I didn't used these methods in CTABLEITEM_X/Y > /* add ron end */ > > in 'GB_DESC CTableViewDesc[] =' i add following > > GB_PROPERTY("Column", "i", CTABLEVIEW_column), > > /* add ron begin */ > GB_METHOD("RowAt","i",CTABLEVIEW_rowat,"(Y)i"), > GB_METHOD("ColumnAt","i",CTABLEVIEW_columnat,"(X)i"), > /* add ron end */ > > GB_METHOD("MoveTo", NULL, CTABLEVIEW_move_to, "(Row)i(Column)i"), > > > I will insert your functions in the next version. But tell me if they work during a _new() method. Regards, -- Benoit Minisini mailto:gambas at ...1... From karl.reinl at ...9... Wed Feb 11 21:53:31 2004 From: karl.reinl at ...9... (Charlie) Date: Wed, 11 Feb 2004 21:53:31 +0100 Subject: [Gambas-user] about gambas KEY-Words References: <200402102158.08179.Karl.Reinl@...9...> <200402102326.03468.gambas@...1...> Message-ID: <402A964B.4040208@...9...> Benoit Minisini schrieb: >On Tuesday 10 February 2004 21:58, Charlie Reinl wrote: > > >>Salut Benoit, >> >>I remember my, long times ago, we talked about 'gambas KEY-Words' >>in a text-file, and not in the c-sources. >>Think thats still a good idea! >> >>Amicalement >>Charlie >> >> >> >> > >What for? I don't remember why it is a good idea :-) > see attached mail -------------- next part -------------- An embedded message was scrubbed... From: =?iso-8859-1?q?Beno=EEt=20Minisini?= Subject: Re: des questions Date: Sat, 15 Jun 2002 11:01:19 +0000 Size: 3453 URL: From abidoo.too at ...11... Wed Feb 11 21:36:11 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Wed, 11 Feb 2004 21:36:11 +0100 Subject: [Gambas-user] Enter button In-Reply-To: <200402111223.20291.rizky@...225...> References: <200402111223.20291.rizky@...225...> Message-ID: <200402112136.11414.abidoo.too@...11...> Le Mercredi 11 F?vrier 2004 06:23, Rizky Tahara Shita a ?crit : > hi, > > 1. I try this on the QWERTY keyboard. > the key.code for the Enter button (above the right SHIFT key) aren't same > with the Enter button at the NumPad, why ? then what is the key.code for > Enter button at the NumPad ? > > 2. I try to show Project Properties using ALT + Enter. but it only will > show with the Enter button at the NumPad not the other one... > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Make a form Put a textbox public sub TextBox1.KeyPress() Print Key.code END with that you can see in the console the pressed key code... Nevertheless it's -- > key.enter for keypad key.return for return Simply that... look in the gambas help at key keyword at gb.qt From abidoo.too at ...11... Wed Feb 11 21:57:02 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Wed, 11 Feb 2004 21:57:02 +0100 Subject: [Gambas-user] how loop a listbox In-Reply-To: <402a6b69.c4f.0@...9...> References: <402a6b69.c4f.0@...9...> Message-ID: <200402112157.02702.abidoo.too@...11...> Le Mercredi 11 F?vrier 2004 19:50, na2492 at ...9... a ?crit : > >Le Mardi 10 F?vrier 2004 22:47, Charlie Reinl a ?crit : > >> Salut, > >> > >> need to loop a listbox , HOW > >> > >> Amicalement > >> Charlie > >> > >> > >> > >> ------------------------------------------------------- > >> The SF.Net email is sponsored by EclipseCon 2004 > >> Premiere Conference on Open Tools Development and Integration > >> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > >> http://www.eclipsecon.org/osdn > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > >loop ? What does you mind ? > > my mind is OK (use next time 'mean') yes teacher ;?) > Charlie > * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id56&alloc_id438&op=Click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From abidoo.too at ...11... Wed Feb 11 22:01:01 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Wed, 11 Feb 2004 22:01:01 +0100 Subject: [Gambas-user] Gambas and HBasic on newsforge.com In-Reply-To: <402A41A5.6040209@...200...> References: <402A41A5.6040209@...200...> Message-ID: <200402112201.01749.abidoo.too@...11...> Le Mercredi 11 F?vrier 2004 15:52, Ahmad Kamal a ?crit : > Congrats, an article for those who didn't read it > http://www.devchannel.org/devtoolschannel/04/02/02/1932209.shtml > > Good work to both Benoit, Markus and the communities helping. Wishing > them all the best. > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Good article.... But it's also mean... that we must to start a reflexion about the gtk toolkit... Is someone have time to put an eyes about a sqlite driver... Fabien From leo.barnhoorn at ...246... Thu Feb 12 07:56:52 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Wed, 11 Feb 2004 22:56:52 -0800 Subject: [Gambas-user] gambas 0.83 In-Reply-To: <200402081153.33935.gambas@...1...> References: <200402081153.33935.gambas@...1...> Message-ID: <200402112256.52270.leo.barnhoorn@...246...> Hallo Benoit, Gambas version 0.83 is compiling OK after making some changes. Thanks for the tips on how to make the changes in de sources Thierry Thomas and Daniel also thanks for the new NET component it is working fine and also al the samples of the NET component. Installed CURL version 7.11.0 Gambas version 0.83 is running on SuSE 8.2 now i have only to install it to SuSE version 9.0 i will do that in the weekend. All my projects are working fine on the new version of Gambas. (Database Manager and Telnet server) Thanks Benoit. Regards, Leo. On Sunday 08 February 2004 02:53, Benoit Minisini wrote: > Hi, > > Enjoy it, > > Regards, From sourceforge-raindog2 at ...94... Thu Feb 12 00:09:06 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 11 Feb 2004 18:09:06 -0500 Subject: [Gambas-user] Gambas and HBasic on newsforge.com In-Reply-To: <200402112201.01749.abidoo.too@...11...> References: <402A41A5.6040209@...200...> <200402112201.01749.abidoo.too@...11...> Message-ID: <200402111803.02203.sourceforge-raindog2@...94...> On Wednesday 11 February 2004 16:01, Fabien Bodard wrote: > Is someone have time to put an eyes about a sqlite driver... Last month I started looking at what would be necessary for a mysql-embedded driver, and the answer is not much. Except there are no packages of mysql-embedded out there, so (at least for Mandrake) I would also need to package mysql-embedded in addition to gambas (maybe since it's an embedded library it would be okay to make a "gambas-mysql-embedded" package.) What complicates this is that mysql is already packaged for Mandrake and most other distros, but they all seem to have disabled the embedded stuff. Only PLD Linux provides a mysql-devel with libmysqld.a, which is what you link against to use embedded mysql. There are sqlite RPM's out there, but of course coding a totally new driver is going to be a lot harder than just tweaking the mysql driver to use mysql-embedded. Rob From ZENODotus at ...323... Thu Feb 12 00:06:01 2004 From: ZENODotus at ...323... (ZENODotus) Date: Thu, 12 Feb 2004 00:06:01 +0100 Subject: [Gambas-user] still treeview problem Message-ID: <200402120006.01965.ZENODotus@...323...> Still figuring out; what is de new way of writing: treeview.item.text? by the way, have a problem with the 0.83 version, but will post that tomorrow or so... -- ZENODotus, YOU DREAM, I REALISE!! mailto:zenodotus at ...323... From Karl.Reinl at ...9... Thu Feb 12 00:17:32 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Thu, 12 Feb 2004 00:17:32 +0100 Subject: [Gambas-user] gdm Message-ID: <200402120017.32348.Karl.Reinl@...9...> Salut, check out , have a look not as good as the screenshot from Ron only one table has : History, Popup-Menu ... Try it, look out for psql users (while testing only with mysql) respons, if it works also for them. Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-database-manager-0.0.tar.gz Type: application/x-tgz Size: 110933 bytes Desc: not available URL: From kac_comp at ...358... Thu Feb 12 00:45:59 2004 From: kac_comp at ...358... (Kevin Attard Compagno) Date: Thu, 12 Feb 2004 00:45:59 +0100 Subject: [Gambas-user] Database Manager Error Message-ID: <200402120045.59025.kac_comp@...358...> Dear List I get an error when trying to connect reading "user_info: Non unique user found". Can somebody help? Gambas V0.83 on FC1 (development updates)... Regards Kevin Attard Compagno kac_comp at ...358... From rizky at ...225... Thu Feb 12 03:24:16 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Thu, 12 Feb 2004 09:24:16 +0700 Subject: [Gambas-user] Finding text Message-ID: <200402120924.16639.rizky@...225...> i search some word in gambas code. when it finds the word and i press F3 it will find another matching word. but i don't know when it has finish the process, cause when it done to the end and i press F3 button again, it will start over from the first without any message that telling me it's done the search and don't asked to me something like "would you like to search from begining ?" so sometime i confused, is it the word at this code have been search through or not... From sourceforge-raindog2 at ...94... Thu Feb 12 04:20:41 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 11 Feb 2004 22:20:41 -0500 Subject: [Gambas-user] Finding text In-Reply-To: <200402120924.16639.rizky@...225...> References: <200402120924.16639.rizky@...225...> Message-ID: <200402112220.41046.sourceforge-raindog2@...94...> On Wednesday 11 February 2004 21:24, Rizky Tahara Shita wrote: > i search some word in gambas code. > when it finds the word and i press F3 it will find another > matching word. but i don't know when it has finish the > process, cause when it done to the end and i press F3 button > again, it will start over from the first without any message Hmmm. Didn't VB act the same way? I have memories of holding down F3 and watching it cycle endlessly through a search. Rob From rizky at ...225... Thu Feb 12 05:19:45 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Thu, 12 Feb 2004 11:19:45 +0700 Subject: [Gambas-user] Finding text In-Reply-To: <200402112220.41046.sourceforge-raindog2@...94...> References: <200402120924.16639.rizky@...225...> <200402112220.41046.sourceforge-raindog2@...94...> Message-ID: <200402121119.45534.rizky@...225...> On Thursday 12 February 2004 10:20, Rob wrote: > On Wednesday 11 February 2004 21:24, Rizky Tahara Shita wrote: > > i search some word in gambas code. > > when it finds the word and i press F3 it will find another > > matching word. but i don't know when it has finish the > > process, cause when it done to the end and i press F3 button > > again, it will start over from the first without any message > > Hmmm. Didn't VB act the same way? I have memories of holding > down F3 and watching it cycle endlessly through a search. > > Rob > nop, vb6 has a warning if it find the last word and the user try to find again by pressing F3 From danielcampos at ...282... Thu Feb 12 08:35:32 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Thu, 12 Feb 2004 08:35:32 CET Subject: [Gambas-user] Help!! (FTP LIST) Message-ID: Hi all: Currently I'm working on the FtpClient, in the 'List' or 'Dir' command, (as you want to call it), and I don't want to use the NLIST option, as It provides few information, so I use the LIST large format to list files, parsing then the information received to extract names, date and time, lenghts, etc. By now, it can parse the common Unix format: drwxrw-rw- 1 ftp ftp 17 Jan 14 16:37 file.txt And the Windows format: 05-01-03 06:04PM DirName But I know there are at least three well-known common formats: VLM, Novell, AnonFTPD However, I don't remember Novell format (I worked with it a long time ago), and I've never see the VLM and AnonFTPD formats. Could anybody send me examples of files and directories (I need both) listed in that formats? If anybody knows any other format, should also send some examples to me, so I can support them I can't find any example in Internet! Regards, Daniel Campos ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From danielcampos at ...282... Thu Feb 12 09:11:25 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Thu, 12 Feb 2004 09:11:25 CET Subject: [Gambas-user] Mandrake Cooker Message-ID: Hey! Gambas 0.82 seems to be part of the official distribution at Mandrake Cooker, not just in the Contrib part! : ftp://ftp.tugraz.at/mirror/Mandrake-linux/Mandrake-devel/cooker/i586/Mandrake/RPMS2 RPMS2 is included as one of the disks in the download edition!! ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From henrigirard at ...11... Thu Feb 12 09:48:11 2004 From: henrigirard at ...11... (Henri Girard) Date: Thu, 12 Feb 2004 09:48:11 +0100 Subject: [Gambas-user] Mandrake Cooker References: Message-ID: <001601c3f144$f1d64f10$0100a8c0@...359...> well I guess it's a plus value for mandrake.... As gambas is the only good vb like on linux ! ----- Original Message ----- From: To: Sent: Thursday, February 12, 2004 10:11 AM Subject: [Gambas-user] Mandrake Cooker Hey! Gambas 0.82 seems to be part of the official distribution at Mandrake Cooker, not just in the Contrib part! : ftp://ftp.tugraz.at/mirror/Mandrake-linux/Mandrake-devel/cooker/i586/Mandrak e/RPMS2 RPMS2 is included as one of the disks in the download edition!! ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op=ick _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From henrigirard at ...11... Thu Feb 12 09:48:57 2004 From: henrigirard at ...11... (Henri Girard) Date: Thu, 12 Feb 2004 09:48:57 +0100 Subject: [Gambas-user] Mandrake Cooker References: Message-ID: <002701c3f145$11fc9830$0100a8c0@...359...> would be good if fedora would do the same ? ----- Original Message ----- From: To: Sent: Thursday, February 12, 2004 10:11 AM Subject: [Gambas-user] Mandrake Cooker Hey! Gambas 0.82 seems to be part of the official distribution at Mandrake Cooker, not just in the Contrib part! : ftp://ftp.tugraz.at/mirror/Mandrake-linux/Mandrake-devel/cooker/i586/Mandrak e/RPMS2 RPMS2 is included as one of the disks in the download edition!! ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op=ick _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Thu Feb 12 10:21:06 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 12 Feb 2004 10:21:06 +0100 Subject: [Gambas-user] Help!! (FTP LIST) In-Reply-To: References: Message-ID: <200402121021.06873.gambas@...1...> On Thursday 12 February 2004 12:35, danielcampos at ...282... wrote: > Hi all: > > > Currently I'm working on the FtpClient, in the > 'List' or 'Dir' command, (as you want to call it), > and I don't want to use the NLIST option, as It > provides few information, so I use the LIST large > format to list files, parsing then the information > received to extract names, date and time, lenghts, etc. > > By now, it can parse the common Unix format: > > > drwxrw-rw- 1 ftp ftp 17 Jan 14 16:37 file.txt > > > And the Windows format: > > > 05-01-03 06:04PM DirName > Wow! I don't know FTP, but I'm amaze that a command does not return a standard format! > > > > But I know there are at least three well-known common formats: > > VLM, Novell, AnonFTPD > > > However, I don't remember Novell format (I worked with it > a long time ago), and I've never see the VLM and AnonFTPD > formats. > > Could anybody send me examples of files and directories (I need > both) listed in that formats? > > If anybody knows any other format, should also send some > examples to me, so I can support them > > I can't find any example in Internet! They are well known, but not by Internet ?? Incredible :-) Effectively, when you type "VLM LIST ftp" in google, you don't find a lot of things :-( Maybe you can look in the source when it is possible ? If there is no source, don't implement the format :-) > > Regards, > > Daniel Campos > Regards, -- Benoit Minisini mailto:gambas at ...1... From danielcampos at ...282... Thu Feb 12 10:33:32 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Thu, 12 Feb 2004 10:33:32 CET Subject: [Gambas-user] Help!! (FTP LIST) Message-ID: >Wow! I don't know FTP, but I'm amaze that a command does not return a >standard >format! > Yes, the RFC just says "in human readable format", but does not specify anything. The other option, NLIST, just provides the name of files, but I can't now if it is a file, a folder or any other thing. Other ftp clients like Mozilla or GFtp does what i'm gonna do: they can parse five or six common formats, (and they add a note in the README if anybody wants to inform about a new format:-) I'm trying to uderstand gFTP parser in the sources, but it would be more fast if I could see real examples... ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From ronstk at ...239... Thu Feb 12 10:54:55 2004 From: ronstk at ...239... (ron) Date: Thu, 12 Feb 2004 10:54:55 +0100 Subject: [Gambas-user] gdm In-Reply-To: <200402120017.32348.Karl.Reinl@...9...> References: <200402120017.32348.Karl.Reinl@...9...> Message-ID: <200402121054.56011.ronstk@...239...> Hi Charlie, It is not directly it should look good. I wish it wil later. It must do the job. You work tries to improve the GDM with good features. That is also good work and building the query is not so bad for simple data sets. My work is personal more oriented to make the SQL queries simpler with some drag and drop and to make the join or other way of table linking. Also to prevent type errors in the SQL line. During this process I realize that msaccess/msquery for this part isn't so bad if you take in account how the inteaction between the grid and a SQL line is done in both directions. The grid should be the same as the resulting table for one row but with the conditions visual and easy to set. How it is in SQL is for simple minded mostly to difficult. Special if more tables and conditions are involved for the source. For gambas I missed the detection of the row/col on mouse down for some functions. So I add it in the gambas source and could delete a lot of code used by the old homemade grid. This was a scrollview, 2 gridviews (header and data) and 2 scrollbars to shift the data grid. A good example is the propertie sheet for the controls and I use the idea behind it. Need more cleanup of the code before I can release something. The goal is make a query for 1 to more servers with each server 1 to more Databases with each 1 to more tables with each 1 to more fields with complex conditions on the fields :---) Try to type that without errors. I succeed a half of it in the trial already but I am not in a hurry, it is for pleasure. In PHP it worked web based but onlywith IE until m$ had a security patch. Ron. On Thursday 12 February 2004 00:17, Charlie Reinl wrote: > Salut, > > check out , have a look > > not as good as the screenshot from Ron > > only one table > > has : History, Popup-Menu ... > > Try it, > > look out for psql users (while testing only with mysql) respons, if it > works also for them. > > Amicalement > Charlie From ronstk at ...239... Thu Feb 12 03:34:19 2004 From: ronstk at ...239... (ron) Date: Thu, 12 Feb 2004 03:34:19 +0100 Subject: [Gambas-user] Request: TableView cell offset In-Reply-To: <200402112110.36896.gambas@...1...> References: <200402101124.59651.ronstk@...239...> <200402111916.14788.ronstk@...239...> <200402112110.36896.gambas@...1...> Message-ID: <200402120334.19863.ronstk@...239...> On Wednesday 11 February 2004 21:10, Benoit Minisini wrote: > On Wednesday 11 February 2004 19:16, ron wrote: > > Hallo Benoit, > > > > I was so nice to try it myself. > > well done man :-) > > > Is is functional but I miss the way how to get the documentation also in > > the helpbrowser. Do I have it done the right way for Benoit rulez? > > When you recompile a component, you must exec "gbi -a" in a shell to update > the component *.info files. the help browser use these files to fill its > treeview. When I try I get a result for gb.net.info, gb.qt.ext.info and gb.sdl.info. The first two are re-compiled but the third isn't. Segmentation fault occurs after this 3' one I found gb.info has zero bytes. The info file creation work only good during make install after installing and compiling the 3 development files and before the help files are copied. A retry after finishing all give the same segmentation fault again. (with the orginal 0.8.3 with only the CFont update to) > > > BTW > > In the code I found after all this part of code > > BEGIN_PROPERTY(CTABLEITEM_y) > > GB.ReturnInteger(WIDGET->rowPos(THIS->row) - WIDGET->contentsY() + > > WIDGET->clipper()->y()); > > END_PROPERTY > > Here it is just done the oposit way > > When this function didn't substract contentsY and add clipper()->y() > > it was posible to iterate the way i did in my example. > > This function returns the pos of an item in tableview coordinates. > > rowPos() returns the pos in contents coordinates. So I must substract > contentsY() to go viewport coordinates, and then add clipper()->y() to go > to TableView coordinates. > > It is hard for me to explain that in english. Read the QScrollView > documentation in the QT doc to get more explanations. contentsX/Y is the position relative to top/left cell of the table area and is the top/left of the viewport. (here I see it as the scroll x/y position). The clipper() is the white space in the TableView and clipper()->x/y is the top/left in the TableView control for that whitespace. This way clipper()->width/height must be the white space where to grid is. They say clipper()->x/y is old and advise to use visibleWidth/Height. --8< --8<-- > > > > BEGIN_METHOD(CTABLEVIEW_columnat, GB_INTEGER xpos) > > int xpos = VARG(xpos); > > xpos = xpos + WIDGET->contentsX(); > > if (!WIDGET->verticalHeader()->isHidden()) > > xpos = xpos - WIDGET->verticalHeader()->width(); > > int col = WIDGET->columnAt(xpos); > > GB.ReturnInteger(col); > > END_PROPERTY > > Maybe there is a problem, because I'm not sure that header width() and > height() are valid when the TableView is not yet shown. And so these > methods will return incorrect values in a _new() or Form_Open() method. If not yet shown how to click on it? :-----) > > This a problem with many QT complex widgets, whose layout is deferred the > later as possible. > > This is a reason I didn't used these methods in CTABLEITEM_X/Y At first time I used the THIS->columnHeight(0) and rowWidth(0) for it. Then I found your code and believed that should a better way, what if no rows/columns are set?. :-( The value I need is the same as in BEGIN_PROPERTY(CTABLEROWS_width) There you did use this method to get it. > > > /* add ron end */ --8<-- > > /* add ron end */ > > I will insert your functions in the next version. But tell me if they work > during a _new() method. > > Regards, I can't test during the _new. Before there is no tableview to click and after _new it is and should work In this case the press is in the white space and as mentioned on top it will returns -1 for RowAt() and ColumnAt() by QT. So this must be save to use. --- Ron From ronstk at ...239... Thu Feb 12 11:05:27 2004 From: ronstk at ...239... (ron) Date: Thu, 12 Feb 2004 11:05:27 +0100 Subject: [Gambas-user] Mandrake Cooker In-Reply-To: References: Message-ID: <200402121105.27310.ronstk@...239...> On Thursday 12 February 2004 13:11, danielcampos at ...282... wrote: > Hey! > > Gambas 0.82 seems to be part of the official distribution at Mandrake > Cooker, not just in the Contrib part! : > I have seen Gentoo has v0.82 also. God (Linux) saves the world. :>) --- Ron From nigel at ...38... Thu Feb 12 11:01:54 2004 From: nigel at ...38... (Nigel Gerrard) Date: Thu, 12 Feb 2004 10:01:54 -0000 Subject: [Gambas-user] Gambas and HBasic on newsforge.com References: <402A41A5.6040209@...200...> <200402112201.01749.abidoo.too@...11...> Message-ID: <007e01c3f151$c5ade9e0$bb9d4c51@...360...> Fabien, I believe Sqlite is being looked at somewhere else, but I have also been looking and am in iteration (attempt 2 :-). Because sqlite only provides very simple C API's, I am having to develop or hack from other open source provided intermediate layers. So far I have tried the libDBI independent database abstraction layer and now am using a version of the C++ SqliteDataset , both available from Sourceforge. Progress is slow... but one day. Nigel ----- Original Message ----- From: "Fabien Bodard" To: Sent: Wednesday, February 11, 2004 9:01 PM Subject: Re: [Gambas-user] Gambas and HBasic on newsforge.com Le Mercredi 11 F?vrier 2004 15:52, Ahmad Kamal a ?crit : > Congrats, an article for those who didn't read it > http://www.devchannel.org/devtoolschannel/04/02/02/1932209.shtml > > Good work to both Benoit, Markus and the communities helping. Wishing > them all the best. > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Good article.... But it's also mean... that we must to start a reflexion about the gtk toolkit... Is someone have time to put an eyes about a sqlite driver... Fabien ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op=ick _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From nigel at ...38... Thu Feb 12 11:15:37 2004 From: nigel at ...38... (Nigel Gerrard) Date: Thu, 12 Feb 2004 10:15:37 -0000 Subject: [Gambas-user] Database Manager Error References: <200402120045.59025.kac_comp@...358...> Message-ID: <007f01c3f151$c67c3660$bb9d4c51@...360...> Kevin, Is this with the mysql driver. If so, then it may be to do with the inclusion of the '@' in the user name string. I have made a change to the driver but am not currently able to release it...connectivity issues with my Linux laptop....:-). I will get it out as soon as I can. But basically, in the mysql driver directory of gambas, try changing the main.c so that where lines are similar to: strchr(_name,'@') or strchr(name,'@') then change to strrchr(_name,'@') or strrchr(name,'@'). Now recompile. Nigel ----- Original Message ----- From: "Kevin Attard Compagno" To: "Gambas-User Mailing List" Sent: Wednesday, February 11, 2004 11:45 PM Subject: [Gambas-user] Database Manager Error > Dear List > > I get an error when trying to connect reading "user_info: Non unique user > found". > > Can somebody help? > > Gambas V0.83 on FC1 (development updates)... > > Regards > Kevin Attard Compagno > kac_comp at ...358... > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From ronstk at ...239... Thu Feb 12 11:53:56 2004 From: ronstk at ...239... (ron) Date: Thu, 12 Feb 2004 11:53:56 +0100 Subject: [Gambas-user] report CURL compile In-Reply-To: <200402102023.44478.ronstk@...239...> References: <200402102023.44478.ronstk@...239...> Message-ID: <200402121153.56618.ronstk@...239...> Hi Daniel, My provider had a email problems with there servers. I found on sourceforge a reply of you and haven't got in the email yet. I had the package stored in /usr/local/src before compile. This is wat me makes crazy. it had to be in /usr/src this time. Suprises again :( I used now --prefix=/usr and then it was ok. Compiling the net component is now ok but my compiler is constantly telling Warning: compare between unsigned and signed integers. The documention in the help is also there now and I can choose the net component in the future. I could remove the patch in the configure (restoring from the .gz) Thanks for the info anyway. On Tuesday 10 February 2004 20:23, ron wrote: > Hallo Daniel, > > I got at the moment in curl still a problem. > I try make in the directory and got next as result. > > The strange part is the CNet.c:11: errors. > If for some reason `CURLE_HTTP_RETURNED_ERROR' is in a file not included > any way then `CNetDesc[33].val2') is still a strange error. > I scanned the whole net directory and the http_returned is not fond there. > > Compiler is GNU C 3.3 20030226 (prerelease) (SuSE Linux) > > gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -g -O2 > -pipe -Wall -g -O0 -c gbcurl.c -fPIC -DPIC -o gbcurl.lo > gbcurl.c:44:2: warning: #warning > ####################################################################### > gbcurl.c:45:2: warning: #warning COMPILING WITHOUT AUTHENTICATION SUPPORT - > YOU MUST USE LIBCURL>=7.10.6 > gbcurl.c:46:2: warning: #warning > ####################################################################### From gambas at ...1... Thu Feb 12 11:57:47 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 12 Feb 2004 11:57:47 +0100 Subject: [Gambas-user] Database Manager Error In-Reply-To: <007f01c3f151$c67c3660$bb9d4c51@...360...> References: <200402120045.59025.kac_comp@...358...> <007f01c3f151$c67c3660$bb9d4c51@...360...> Message-ID: <200402121157.47512.gambas@...1...> On Thursday 12 February 2004 11:15, Nigel Gerrard wrote: > Kevin, > > Is this with the mysql driver. If so, then it may be to do with the > inclusion of the '@' in > the user name string. I have made a change to the driver but am not > currently able to > release it...connectivity issues with my Linux laptop....:-). I will get it > out as soon as > I can. > > But basically, in the mysql driver directory of gambas, try changing the > main.c so that where lines are > similar to: > > strchr(_name,'@') or strchr(name,'@') then change to strrchr(_name,'@') or > strrchr(name,'@'). > > Now recompile. > > Nigel > I will add this change for the next version. -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Thu Feb 12 12:07:46 2004 From: ronstk at ...239... (ron) Date: Thu, 12 Feb 2004 12:07:46 +0100 Subject: [Gambas-user] report CURL compile In-Reply-To: <200402102023.44478.ronstk@...239...> References: <200402102023.44478.ronstk@...239...> Message-ID: <200402121207.46553.ronstk@...239...> On Tuesday 10 February 2004 20:23, ron wrote: > Hallo Daniel, > > ####################################################################### > gbcurl.c:45:2: warning: #warning COMPILING WITHOUT AUTHENTICATION SUPPORT - > YOU MUST USE LIBCURL>=7.10.6 > gbcurl.c:46:2: warning: #warning > ####################################################################### > > At that moment my curl was anyway corrupt. binairys whas 7.10.2 and devel was 7.10.5 I removed all curl traces that where other then the orginal 7.10.2 and then did the upgrade with bare 7.11.0 from haxx In the configure.in a test with curl-config for the prefix not if it is the right version. In one of the things I had installed the curl-config must be done to The -devel part was the devil one. It was not installed in the first case. So a test for the curl.h file existence is needed? GB_COMPONENT( curl, CURL, [Advanced Networking component], [GB_FIND(curl.h, `curl-config --prefix 2> /dev/null`, include)], [GB_FIND(libcurl.$SHLIBEXT, `curl-config --prefix 2> /dev/null`, lib)], [$C_LIB `curl-config --libs 2> /dev/null`]) As in another reply I can tell you its now ok with the compile/install. From danielcampos at ...282... Thu Feb 12 13:38:22 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Thu, 12 Feb 2004 13:38:22 CET Subject: [Gambas-user] report CURL compile Message-ID: >Warning: compare between unsigned and signed integers. > Yes, I made a change in the last moment and I forgot to add explicit datatype conversions for some 'char' to 'unsigned char', but I'll fix it in next releases Regards, Daniel Campos ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From na2492 at ...9... Thu Feb 12 14:37:27 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Thu, 12 Feb 2004 14:37:27 00100 Subject: [Gambas-user] gdm Message-ID: <402b8197.49be.0@...9...> >Hi Charlie, > >It is not directly it should look good. I wish it wil later. >It must do the job. You work tries to improve the GDM with good features. Salut Ron, when I wrote looks good, I didn't mean NICE. I spoke about the features, which are to see on the shots Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From sourceforge-raindog2 at ...94... Thu Feb 12 16:21:25 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 12 Feb 2004 10:21:25 -0500 Subject: [Gambas-user] Mandrake Cooker In-Reply-To: References: Message-ID: <200402121021.25503.sourceforge-raindog2@...94...> On Thursday 12 February 2004 07:11, danielcampos at ...282... wrote: > Gambas 0.82 seems to be part of the official distribution at > Mandrake Cooker, not just in the Contrib part! : Wow.... I'm not sure whether I should get 0.83 to them right away or if I should wait till 0.84 considering some of the bugs people have experienced. Rob From danielcampos at ...282... Thu Feb 12 16:34:00 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Thu, 12 Feb 2004 16:34:00 CET Subject: [Gambas-user] Mandrake Cooker Message-ID: >I'm not sure whether I should get 0.83 to them right away or if I >should wait till 0.84 considering some of the bugs people have >experienced. Unless Mandrake 10 borns in the next week I should wait a little :-) ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From gambas at ...1... Thu Feb 12 17:11:53 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 12 Feb 2004 17:11:53 +0100 Subject: [Gambas-user] gambas 0.84 Message-ID: <200402121711.53744.gambas@...1...> Hi, Here is a new version of gambas, that should solve the problems many people encountered in the last one. Well, I hope... :-) What are the main changes ? * You can disable any component at compile time by passing a "--disable-XXX" option to the configure script. * The interpreter is compiled with threading support on FreeBSD. * The IDE has syntax highlighting themes. * The Stat() function has been rewritten, and its new interface is incompatible with the old one. See the CHANGELOG for more details, and check your code! * Graphical projects display errors in a message box now. * There is a new experimental component that provides a WebBrowser control! * And many other little changes and bugfixes of course... I hope this version will have few bugs, so that it can go to the Mandrake Cooker safely... Anyway, it must have less bugs than Mandrake 9.2 :-) With all recent changes, the documentation becomes more and more out of date. When Rob will have finished updating the Wiki, I will go on writing and updating the documentation. Enjoy it. -- Benoit Minisini mailto:gambas at ...1... From nigel at ...38... Thu Feb 12 17:03:58 2004 From: nigel at ...38... (Nigel Gerrard) Date: Thu, 12 Feb 2004 16:03:58 -0000 Subject: [Gambas-user] Database Manager Error References: <200402120045.59025.kac_comp@...358...> <007f01c3f151$c67c3660$bb9d4c51@...360...> <200402121157.47512.gambas@...1...> Message-ID: <000001c3f184$6ee515b0$030a0a0a@...360...> Benoit, Try this diff file as there is one other line that I have changed. Nigel ----- Original Message ----- From: "Benoit Minisini" To: Sent: Thursday, February 12, 2004 10:57 AM Subject: Re: [Gambas-user] Database Manager Error > On Thursday 12 February 2004 11:15, Nigel Gerrard wrote: > > Kevin, > > > > Is this with the mysql driver. If so, then it may be to do with the > > inclusion of the '@' in > > the user name string. I have made a change to the driver but am not > > currently able to > > release it...connectivity issues with my Linux laptop....:-). I will get it > > out as soon as > > I can. > > > > But basically, in the mysql driver directory of gambas, try changing the > > main.c so that where lines are > > similar to: > > > > strchr(_name,'@') or strchr(name,'@') then change to strrchr(_name,'@') or > > strrchr(name,'@'). > > > > Now recompile. > > > > Nigel > > > > I will add this change for the next version. > > -- > Benoit Minisini > mailto:gambas at ...1... > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -------------- next part -------------- A non-text attachment was scrubbed... Name: main.c.diff Type: application/octet-stream Size: 715 bytes Desc: not available URL: From ronstk at ...239... Thu Feb 12 17:18:40 2004 From: ronstk at ...239... (ron) Date: Thu, 12 Feb 2004 17:18:40 +0100 Subject: [Gambas-user] Mandrake Cooker In-Reply-To: <200402121021.25503.sourceforge-raindog2@...94...> References: <200402121021.25503.sourceforge-raindog2@...94...> Message-ID: <200402121718.40398.ronstk@...239...> On Thursday 12 February 2004 16:21, Rob wrote: > On Thursday 12 February 2004 07:11, danielcampos at ...282... > > wrote: > > Gambas 0.82 seems to be part of the official distribution at > > Mandrake Cooker, not just in the Contrib part! : > > Wow.... > > I'm not sure whether I should get 0.83 to them right away or if I > should wait till 0.84 considering some of the bugs people have > experienced. > > Rob If we always wayt till bug free then KDE was still at version 0.9beta The curl (bug) problem has only hit 2 known people at the moment. The CFont hit also 2 but different people. I had them both :( Compared to the many users having success it is not so bad i think. If Benoit next week release 0.84 then waiting is a good step. The last 4 updates are in weekly speed so it make sence to wait and do it with 0.84. --- Ron From gambas at ...1... Thu Feb 12 17:26:45 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 12 Feb 2004 17:26:45 +0100 Subject: [Gambas-user] Database Manager Error In-Reply-To: <000001c3f184$6ee515b0$030a0a0a@...360...> References: <200402120045.59025.kac_comp@...358...> <200402121157.47512.gambas@...1...> <000001c3f184$6ee515b0$030a0a0a@...360...> Message-ID: <200402121726.45207.gambas@...1...> On Thursday 12 February 2004 17:03, Nigel Gerrard wrote: > Benoit, > > Try this diff file as there is one other line that I have changed. > > Nigel > Too late ! :-) -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Thu Feb 12 17:42:46 2004 From: ronstk at ...239... (ron) Date: Thu, 12 Feb 2004 17:42:46 +0100 Subject: [Gambas-user] CTableView Update (ron) Message-ID: <200402121742.46179.ronstk@...239...> Hi benoit, Included the .cpp and .diff CTableView. It is how it runs now on my gambas version. The gbi -a is no success yet. The methods are in the help but no page to it. Do I miss something in TableView source? In GB_DESC CTableRowDesc[] i found GB_PROPERTY_READ("Selected", "b", CTABLEROWS_selected), but this one is missing in GB_DESC CTableColumnDesc[] --- Ron -------------- next part -------------- A non-text attachment was scrubbed... Name: CTable.tar.bz2 Type: application/x-tbz Size: 6317 bytes Desc: not available URL: From sourceforge-raindog2 at ...94... Thu Feb 12 20:07:46 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 12 Feb 2004 14:07:46 -0500 Subject: [Gambas-user] Mandrake Cooker In-Reply-To: References: Message-ID: <200402121407.46587.sourceforge-raindog2@...94...> On Thursday 12 February 2004 14:34, danielcampos at ...282... wrote: > >I'm not sure whether I should get 0.83 to them right away or > > if I should wait till 0.84 considering some of the bugs > > people have experienced. > > Unless Mandrake 10 borns in the next week I should wait a > little :-) Well, about half an hour ago they uploaded the 10.0-rc1 mandrake-release package, which means cooker and contrib will likely be freezing in the next few days. I'll get 0.84 in there now that it's been released. So I guess we can expect a number of people to come in and start reporting 0.84 issues in a few months. Rob From abidoo.too at ...11... Thu Feb 12 22:22:58 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Thu, 12 Feb 2004 22:22:58 +0100 Subject: [Gambas-user] whoahou Message-ID: <200402122222.58224.abidoo.too@...11...> I've read the change-log of the 0.84 version ... you have made a new gambas, benoit ? I've don't see a function to get a link target anymore... It work fine now... I can access to the kdatepicker but... i don't know why the suppr button don't work on it ! i can't delete the componant with it. The khtml work fine but don't support javascript, Fabien Now we can made a complete gbExplorer lol From daniel.campos at ...338... Thu Feb 12 22:22:29 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Thu, 12 Feb 2004 22:22:29 +0100 Subject: [Gambas-user] Mandrake Cooker In-Reply-To: <200402121407.46587.sourceforge-raindog2@...94...> References: <200402121407.46587.sourceforge-raindog2@...94...> Message-ID: <1076620948.2584.0.camel@...40...> > > Rob > So... Alea Jacta Est! > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Thu Feb 12 22:49:37 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 12 Feb 2004 22:49:37 +0100 Subject: [Gambas-user] CTableView Update (ron) In-Reply-To: <200402121742.46179.ronstk@...239...> References: <200402121742.46179.ronstk@...239...> Message-ID: <200402122249.37178.gambas@...1...> On Thursday 12 February 2004 17:42, ron wrote: > Hi benoit, > > Included the .cpp and .diff CTableView. > It is how it runs now on my gambas version. > The gbi -a is no success yet. > The methods are in the help but no page to it. > > Do I miss something in TableView source? > > In GB_DESC CTableRowDesc[] i found > GB_PROPERTY_READ("Selected", "b", CTABLEROWS_selected), > > but this one is missing in GB_DESC CTableColumnDesc[] > > --- > Ron Did I add in gambas 0.84 what you need ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Feb 12 22:52:27 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 12 Feb 2004 22:52:27 +0100 Subject: [Gambas-user] whoahou In-Reply-To: <200402122222.58224.abidoo.too@...11...> References: <200402122222.58224.abidoo.too@...11...> Message-ID: <200402122252.27025.gambas@...1...> On Thursday 12 February 2004 22:22, Fabien Bodard wrote: > I've read the change-log of the 0.84 version ... you have made a new > gambas, benoit ? > > I've don't see a function to get a link target anymore... ??? > > > It work fine now... I can access to the kdatepicker but... i don't know why > the suppr button don't work on it ! > > i can't delete the componant with it. You are right. The 'Del' key don't work anymore !? I don't know why... > > The khtml work fine but don't support javascript, It is disabled by default, as well as Java. I didn't have time to make the corresponding properties (see the source code). > > > Fabien > > Now we can made a complete gbExplorer lol > > Not yet. It is a bit more complicated. Regards, -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Thu Feb 12 22:29:29 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 12 Feb 2004 16:29:29 -0500 Subject: [Gambas-user] whoahou In-Reply-To: <200402122222.58224.abidoo.too@...11...> References: <200402122222.58224.abidoo.too@...11...> Message-ID: <200402121629.29374.sourceforge-raindog2@...94...> On Thursday 12 February 2004 16:22, Fabien Bodard wrote: > The khtml work fine but don't support javascript, whoa! good luck with that, i'll be interested in seeing your patches ;) Rob From sourceforge-raindog2 at ...94... Thu Feb 12 22:36:33 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 12 Feb 2004 16:36:33 -0500 Subject: [Gambas-user] Mandrake Cooker In-Reply-To: <1076620948.2584.0.camel@...40...> References: <200402121407.46587.sourceforge-raindog2@...94...> <1076620948.2584.0.camel@...40...> Message-ID: <200402121636.33762.sourceforge-raindog2@...94...> On Thursday 12 February 2004 16:22, Daniel Campos wrote: > So... > Alea Jacta Est! Not just yet, but certainly soon. Rob From gambas at ...1... Thu Feb 12 23:17:36 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 12 Feb 2004 23:17:36 +0100 Subject: [Gambas-user] CTableView Update (ron) In-Reply-To: <200402122249.37178.gambas@...1...> References: <200402121742.46179.ronstk@...239...> <200402122249.37178.gambas@...1...> Message-ID: <200402122317.36551.gambas@...1...> On Thursday 12 February 2004 22:49, Benoit Minisini wrote: > On Thursday 12 February 2004 17:42, ron wrote: > > Hi benoit, > > > > Included the .cpp and .diff CTableView. > > It is how it runs now on my gambas version. > > The gbi -a is no success yet. > > The methods are in the help but no page to it. Of course, the page must come from the Wiki web site! -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Thu Feb 12 23:28:53 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 12 Feb 2004 17:28:53 -0500 Subject: [Gambas-user] whoahou In-Reply-To: <200402122252.27025.gambas@...1...> References: <200402122222.58224.abidoo.too@...11...> <200402122252.27025.gambas@...1...> Message-ID: <200402121728.53839.sourceforge-raindog2@...94...> On Thursday 12 February 2004 16:52, Benoit Minisini wrote: > > The khtml work fine but don't support javascript, > It is disabled by default, as well as Java. I didn't have time > to make the corresponding properties (see the source code). Wow, I figured you'd have to at least implement enough XML support to support DOM, and possibly write a javascript interpreter component using the KDE one. It's all built into khtml? That's pretty cool... Rob From gambas at ...1... Thu Feb 12 23:51:42 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 12 Feb 2004 23:51:42 +0100 Subject: [Gambas-user] whoahou In-Reply-To: <200402122222.58224.abidoo.too@...11...> References: <200402122222.58224.abidoo.too@...11...> Message-ID: <200402122351.43274.gambas@...1...> On Thursday 12 February 2004 22:22, Fabien Bodard wrote: > I've read the change-log of the 0.84 version ... you have made a new > gambas, benoit ? > > I've don't see a function to get a link target anymore... > > > It work fine now... I can access to the kdatepicker but... i don't know why > the suppr button don't work on it ! > > i can't delete the componant with it. > OK. I understood the problem. This will be fixed in the next version. Regards, -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Fri Feb 13 00:17:38 2004 From: ronstk at ...239... (ron) Date: Fri, 13 Feb 2004 00:17:38 +0100 Subject: [Gambas-user] CTableView Update (ron) In-Reply-To: <200402122317.36551.gambas@...1...> References: <200402121742.46179.ronstk@...239...> <200402122249.37178.gambas@...1...> <200402122317.36551.gambas@...1...> Message-ID: <200402130017.40048.ronstk@...239...> On Thursday 12 February 2004 23:17, Benoit Minisini wrote: > On Thursday 12 February 2004 22:49, Benoit Minisini wrote: > > On Thursday 12 February 2004 17:42, ron wrote: > > > Hi benoit, > > > > > > Included the .cpp and .diff CTableView. > > > It is how it runs now on my gambas version. > > > The gbi -a is no success yet. > > > The methods are in the help but no page to it. > > Of course, the page must come from the Wiki web site! Do I have/can make the doc on the Wiki for these new methods? Still 'gbi -a' gives a segmentaion fault if it is done a second time after full install. It ends with the gb.info with zero bytes. A guess in gbi.c at line 608/609 path = STR_copy(FILE_set_ext(FILE_cat(_lib_path, "info", &name[4], NULL), ".info")); name = STR_copy(FILE_get_basename(&name[4])); Can it be the &name[4] does not work if the component name is zero lenght/null like gb.info ? all the other files are gb..info Thanks for implement the RowAt/ColumnAt and fix on the Ucase problem for the GoTo list. The Html widget is also super Still a wish the property and toolbox at start new form instead start gambas and close if the form is closed. I did change it myself but maybe it is good for others to, it is cleaner on the desktop. --- Ron From gambas at ...1... Fri Feb 13 00:38:24 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 13 Feb 2004 00:38:24 +0100 Subject: [Gambas-user] bug in gambas 0.84 Message-ID: <200402130038.24760.gambas@...1...> Hi, There is a bug in the IDE that prevents inserting a new icon. To patch it, replace the line 51 in FNewIcon.class by: ---8<-------------------------------- SelDest.DoNotShowCustomTabs = TRUE ---8<-------------------------------- Sorry for the inconvenience ! -- Benoit Minisini mailto:gambas at ...1... From steff.eddy at ...330... Fri Feb 13 05:03:43 2004 From: steff.eddy at ...330... (stefanus eddy) Date: 13 Feb 2004 11:03:43 +0700 Subject: [Gambas-user] New Version Of Gambas Message-ID: <1076645023.25232.6.camel@...260...> Wel........ Thanks Benoit and Other Team, i try Gambas Version 0.83 and Succesful install in My RH 9.0 yesterday, But Now Benoit Make new Release again ????. i hope in new version 1.0 gambas is 99% complete like MS VB. Regards, eddy -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From radoslav.dejanovic at ...116... Fri Feb 13 11:56:57 2004 From: radoslav.dejanovic at ...116... (Radoslav =?iso-8859-2?q?Dejanovi=E6?=) Date: Fri, 13 Feb 2004 11:56:57 +0100 Subject: [Gambas-user] Mandrake Cooker In-Reply-To: <002701c3f145$11fc9830$0100a8c0@...359...> References: <002701c3f145$11fc9830$0100a8c0@...359...> Message-ID: <200402131156.57988.radoslav.dejanovic@...116...> On Thursday 12 February 2004 09:48, Henri Girard wrote: > would be good if fedora would do the same ? That might be a curse as well as blessing... Gambas is in a very turbulent state of development, and things are changing rapidly, old projects get broken, etc. That is really great for the development, but it might deter some people from using it, because of all the changes between versions. However, once Gambas gets to 1.0, it looks it's going to rock the world, and I'm pretty sure every decent Linux distro would want to include it. Add some tutorials, more examples and good documentation, it is going to be "The GIMP of development packages" ;-) -- Radoslav Dejanovic founder and director Operacijski sustavi d.o.o. http://www.opsus.hr From radoslav.dejanovic at ...116... Fri Feb 13 12:07:32 2004 From: radoslav.dejanovic at ...116... (Radoslav =?iso-8859-2?q?Dejanovi=E6?=) Date: Fri, 13 Feb 2004 12:07:32 +0100 Subject: [Gambas-user] bug in gambas 0.84 In-Reply-To: <200402130038.24760.gambas@...1...> References: <200402130038.24760.gambas@...1...> Message-ID: <200402131207.32541.radoslav.dejanovic@...116...> On Friday 13 February 2004 00:38, Benoit Minisini wrote: > Hi, > > There is a bug in the IDE that prevents inserting a new icon. > > To patch it, replace the line 51 in FNewIcon.class by: > > ---8<-------------------------------- > SelDest.DoNotShowCustomTabs = TRUE > ---8<-------------------------------- Erm... how about you patch the source and release something like 0.84pl1 ?? -- Radoslav Dejanovic founder and director Operacijski sustavi d.o.o. http://www.opsus.hr From gambas at ...1... Fri Feb 13 13:53:32 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 13 Feb 2004 13:53:32 +0100 Subject: [Gambas-user] bug in gambas 0.84 In-Reply-To: <200402131207.32541.radoslav.dejanovic@...116...> References: <200402130038.24760.gambas@...1...> <200402131207.32541.radoslav.dejanovic@...116...> Message-ID: <200402131353.32943.gambas@...1...> On Friday 13 February 2004 12:07, Radoslav Dejanovi? wrote: > On Friday 13 February 2004 00:38, Benoit Minisini wrote: > > Hi, > > > > There is a bug in the IDE that prevents inserting a new icon. > > > > To patch it, replace the line 51 in FNewIcon.class by: > > > > ---8<-------------------------------- > > SelDest.DoNotShowCustomTabs = TRUE > > ---8<-------------------------------- > > Erm... how about you patch the source and release something like 0.84pl1 ?? I'm just waiting a little to see if they are not other boring bugs like that :-) -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Feb 13 14:33:55 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 13 Feb 2004 14:33:55 +0100 Subject: [Gambas-user] gambas 0.84a Message-ID: <200402131433.55617.gambas@...1...> Hi everybody, I have just uploaded a patched version of gambas-0.84. This version fix the bug in the IDE that prevented creating icons, and make the WebBrowser more usable. Note that if KDE Web browser can display PNG images inside an HTML document, it seems that he can't display only a PNG document. If someone could tell me how to do that, this will be great! Regards, -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Fri Feb 13 15:52:44 2004 From: ronstk at ...239... (ron) Date: Fri, 13 Feb 2004 15:52:44 +0100 Subject: [Gambas-user] gambas 0.84a In-Reply-To: <200402131433.55617.gambas@...1...> References: <200402131433.55617.gambas@...1...> Message-ID: <200402131552.44532.ronstk@...239...> On Friday 13 February 2004 14:33, Benoit Minisini wrote: > Hi everybody, > > I have just uploaded a patched version of gambas-0.84. This version fix the > bug in the IDE that prevented creating icons, and make the WebBrowser more > usable. > > Note that if KDE Web browser can display PNG images inside an HTML > document, it seems that he can't display only a PNG document. If someone > could tell me how to do that, this will be great! > > Regards, Do not understand this realy. If the webbrowser can show a website it is almost showing you jpeg and gif pictures. So I asume you do show png a differnt way. 'file:/opt/gambas/share/examples/Games/RobotFindsKitten/heart.png' does not work for me as URL in the property box with or without 'file:' i get the picture as text. if I go to that pictore with konqueror as file manager I see the picture. Loading then the webbrowser profile, i get it as text and after refresh it is the picture again with webbrowsing as profile. Maybe for the webbrowser as widged the profile must be set to webbrowser instead filemanager as this looks to me the default now. BTW I set the jscript false condition to true for testing and I had no problems. My local site use it a lot and worked ok so far I tested it now. --- Ron From akrell at ...43... Fri Feb 13 16:23:57 2004 From: akrell at ...43... (adam krell) Date: Fri, 13 Feb 2004 07:23:57 -0800 (PST) Subject: [Gambas-user] How to sort an array? Message-ID: <20040213152357.42759.qmail@...361...> Is there an easy way to sort an array of integers? I'd do it in a columnview column but it only sorts text alphanumerically, I believe. Thanks, Adam __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html From amelgar at ...207... Fri Feb 13 15:18:47 2004 From: amelgar at ...207... (amelgar) Date: Fri, 13 Feb 2004 15:18:47 +0100 Subject: [Gambas-user] Segmentation fault in gambas Message-ID: <402CDCC7.2080809@...207...> Since version 0.83 and in 0.84 I am getting a Segmentation fault: amelgar bertolinux:~$ gambas Segmentation fault Everything compiled without errors... I tried compiling curl-7.11.0.tar.bz2 from sources an deleting .gambas from my home directory, just to trie some things I am using a mdk9.2 without any important changes, and I dont remember any change in my sistem betwen 0.82 and 0.83.. I dont mind using the rpms (when they get released for mandrake...) but i just want to tell here, becouse maybe is a bug. I can't give you acces thow ssh becouse I'm at work and dont have acces from outside to my machine(isa server)...and at my houste I'm now with cooker...since 2 days and I'm getting and error compiling too, maybe becouse of the lack of any library ( i had to unistall kde* to upgrade to cooker) I'm the only one?? pd: sorry for my bad English Saludos :) and keep the good work From ronstk at ...239... Fri Feb 13 16:32:39 2004 From: ronstk at ...239... (ron) Date: Fri, 13 Feb 2004 16:32:39 +0100 Subject: [Gambas-user] gambas 0.84a In-Reply-To: <200402131552.44532.ronstk@...239...> References: <200402131433.55617.gambas@...1...> <200402131552.44532.ronstk@...239...> Message-ID: <200402131632.40081.ronstk@...239...> Additional note in khtml_part.h the enum GUIProfile { DefaultGUI, BrowserViewGUI /* ... */ }; KHTMLPart( QWidget *parentWidget = 0, const char *widgetname = 0, QObject *parent = 0, const char *name = 0, GUIProfile prof = DefaultGUI ); KHTMLPart( KHTMLView *view, QObject *parent = 0, const char *name = 0, GUIProfile prof = DefaultGUI ); In your code: BEGIN_METHOD(CWEBBROWSER_new, GB_OBJECT parent) KHTMLPart *part = new KHTMLPart( QT.GetContainer(VARG(parent))); maybe to: KHTMLPart *part = new KHTMLPart( \ QT.GetContainer(VARG(parent)), 0, 0, 0, BrowserViewGUI ); can do the job? From amelgar at ...207... Fri Feb 13 15:58:52 2004 From: amelgar at ...207... (amelgar) Date: Fri, 13 Feb 2004 15:58:52 +0100 Subject: [Gambas-user] Segmentation fault in gambas In-Reply-To: <402CDCC7.2080809@...207...> References: <402CDCC7.2080809@...207...> Message-ID: <402CE62C.8040100@...207...> amelgar wrote: > > Since version 0.83 and in 0.84 I am getting a Segmentation fault: > > amelgar bertolinux:~$ gambas > Segmentation fault > > Everything compiled without errors... > > I tried compiling curl-7.11.0.tar.bz2 > from sources an > deleting > .gambas from my home directory, just to trie some things > > I am using a mdk9.2 without any important changes, and I dont remember > any change in my sistem betwen 0.82 and 0.83.. > > I dont mind using the rpms (when they get released for mandrake...) > but i just want to tell here, becouse maybe is a bug. > > I can't give you acces thow ssh becouse I'm at work and dont have > acces from outside to my machine(isa server)...and at my houste I'm > now with cooker...since 2 days and I'm getting and error compiling > too, maybe becouse of the lack of any library ( i had to unistall kde* > to upgrade to cooker) > > I'm the only one?? > > pd: sorry for my bad English > > Saludos :) > and keep the good work > > > > > > > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > I'm getting segmentation fault in 0.82 too...i don't know :( From ronstk at ...239... Fri Feb 13 17:15:34 2004 From: ronstk at ...239... (ron) Date: Fri, 13 Feb 2004 17:15:34 +0100 Subject: [Gambas-user] How to sort an array? In-Reply-To: <20040213152357.42759.qmail@...361...> References: <20040213152357.42759.qmail@...361...> Message-ID: <200402131715.34327.ronstk@...239...> On Friday 13 February 2004 16:23, adam krell wrote: > Is there an easy way to sort an array of integers? > I'd do it in a columnview column but it only sorts > text alphanumerically, I believe. > > Thanks, > > Adam The simplest way is to make the content of the column cell say 20 char when you write into the cell use right$(Space$(20),Cstr(you_integer_value),20) This makes the sort ok. PUBLIC SUB fillcv() DIM x AS Integer DIM sp AS Integer sp=6 columnview1.columns.count=2 FOR x=0 TO 50 columnview1.add(x, Right$(Space$(sp) & CInt(Rnd()*100),sp) ) NEXT columnview1.columns.sort=0'TRUE 'columnviewcolun END --- Ron From ronstk at ...239... Fri Feb 13 19:02:51 2004 From: ronstk at ...239... (ron) Date: Fri, 13 Feb 2004 19:02:51 +0100 Subject: [Gambas-user] Problem with tableview Message-ID: <200402131902.51596.ronstk@...239...> Hi Benoit, Rob I do have found a strange thing with TableView When I click in the example the vars keyrow and keycol are set with the onclick event. After startup the are set to 0,0. If I use the keyboard down key the internal .row gives 1 as result however in the row header the r:2 is higlighted (2 down). On every next key down it goes 1 down and when i press up it goes the first time 2 and then 1 up with the highlite. The strange step occurs only if the direction different is with the previous. The demo give a good idea what happens with the properties of TableView. grts Ron -------------- next part -------------- A non-text attachment was scrubbed... Name: tblview-0.0.tar.gz Type: application/x-tgz Size: 2446 bytes Desc: not available URL: From sourceforge-raindog2 at ...94... Fri Feb 13 19:09:37 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 13 Feb 2004 13:09:37 -0500 Subject: [Gambas-user] minor regression in 0.84a scripting example Message-ID: <200402131309.37481.sourceforge-raindog2@...94...> The Automation/Scripting example fails to compile under 0.84a. Error is: "Unknown identifier: Dir$ at line 50 in FScript.class". No other example project uses Dir$(), they all use Dir(). Changing it to Dir() in this example fixes the problem, but it sounds like Dir$() has disappeared from 0.84a. Rob From sourceforge-raindog2 at ...94... Fri Feb 13 19:36:39 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 13 Feb 2004 13:36:39 -0500 Subject: [Gambas-user] mandrake packages of 0.84a Message-ID: <200402131336.39297.sourceforge-raindog2@...94...> http://www.kudla.org/index.php?wl_mode=more&wl_eid=49 Submitted to cooker contrib as well. With the freeze expected in the next week or so, 0.84a will most likely be what ships with 10.0. Rob From Lamego at ...99... Fri Feb 13 19:44:38 2004 From: Lamego at ...99... (Joao Pinto) Date: Fri, 13 Feb 2004 18:44:38 +0000 Subject: [Gambas-user] How to sort an array? In-Reply-To: <200402131715.34327.ronstk@...239...> References: <20040213152357.42759.qmail@...361...> <200402131715.34327.ronstk@...239...> Message-ID: <402D1B16.8040206@...99...> Hello, adding spaces to tranforst an ascii sort into a numeric sort is kind of insane. You should implement one of the serval known sort mechanisms like you can/should do on any language. You can check them at: http://linux.wku.edu/~lamonml/algor/sort/sort.html The easiest to implement is "Bubble sort", if you need some help with the code I cand send an example. Easiter than that just waiting for a sort type propertie on the listbox component to set numerical sort, but I dont think thats a common feature on a listbox :) Best regards, Jo?o Lu?s Marques Pinto PTlink Technical Administrator Lamego at ...99... http://www.ptlink.net ron wrote: >On Friday 13 February 2004 16:23, adam krell wrote: > > >>Is there an easy way to sort an array of integers? >>I'd do it in a columnview column but it only sorts >>text alphanumerically, I believe. >> >>Thanks, >> >>Adam >> >> > >The simplest way is to make the content of the column cell say 20 char >when you write into the cell use right$(Space$(20),Cstr(you_integer_value),20) >This makes the sort ok. > > >PUBLIC SUB fillcv() > DIM x AS Integer > DIM sp AS Integer > sp=6 > > columnview1.columns.count=2 > FOR x=0 TO 50 > columnview1.add(x, Right$(Space$(sp) & CInt(Rnd()*100),sp) ) > NEXT > > columnview1.columns.sort=0'TRUE 'columnviewcolun >END > > >--- >Ron > > > >------------------------------------------------------- >SF.Net is sponsored by: Speed Start Your Linux Apps Now. >Build and deploy apps & Web services for Linux with >a free DVD software kit from IBM. Click Now! >http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > From lcliff at ...284... Fri Feb 13 20:40:12 2004 From: lcliff at ...284... (Luke Cliff) Date: Sat, 14 Feb 2004 05:40:12 +1000 Subject: [Gambas-user] ReDraw problems.. In-Reply-To: References: Message-ID: <402D281C.7050501@...284...> Hello List, I have attached a cut of that redraw problem I am having, I still get it in 0.83, I have a Nvida, Gforce MX200... I always get the problem after about 2 or so errors, usually for a "file not found error"... The bug is not really a problem, I just save the work, and re-start gambas, it never occurs in the running program....only in the development after a few errors... Regards Luke -------------- next part -------------- A non-text attachment was scrubbed... Name: GambasRedrawProbCut2.png Type: image/png Size: 48629 bytes Desc: not available URL: From ronstk at ...239... Fri Feb 13 21:34:26 2004 From: ronstk at ...239... (ron) Date: Fri, 13 Feb 2004 21:34:26 +0100 Subject: [Gambas-user] How to sort an array? In-Reply-To: <402D1B16.8040206@...99...> References: <20040213152357.42759.qmail@...361...> <200402131715.34327.ronstk@...239...> <402D1B16.8040206@...99...> Message-ID: <200402132134.26488.ronstk@...239...> On Friday 13 February 2004 19:44, Joao Pinto wrote: > Hello, > adding spaces to tranforst an ascii sort into a numeric sort is kind of > insane. > Adding leading zero's can also be done. But it works very well and is SIMPLE as asked. > You should implement one of the serval known sort mechanisms like you > can/should do on any language. > > You can check them at: > http://linux.wku.edu/~lamonml/algor/sort/sort.html > > The easiest to implement is "Bubble sort", if you need some help with > the code I cand send an example. > The "Bubble sort" sort is well known to me. Used it already 20 years back in assembly. May be for the user who did ask for a way to do it. > Easiter than that just waiting for a sort type propertie on the listbox > component to set numerical sort, but I dont think thats a common feature > on a listbox :) > I hope this wil be implemented by QT, it must be done by the nearest part of the widget/control on the screen, else re-sort before and re-fill is may be the only good way. In MS ListView it can be done from C and VB with a API call for text,nummeric and date types and is supported by the comctr32.dll. The file Explorer does it and is quick, less 2 second to fill and sort for 5000 items (avg 2000/sec). Konqueror has already problems to build the list with the content of /usr/bin, 5 seconds for only 1300 items (avg 260/sec). Doing this in gambas interpreted source swapping 5 columns and 1000 rows? Your pleasure. > Best regards, > > Jo?o Lu?s Marques Pinto > PTlink Technical Administrator > Lamego at ...99... > http://www.ptlink.net > --- Ron From ronstk at ...239... Fri Feb 13 21:38:37 2004 From: ronstk at ...239... (ron) Date: Fri, 13 Feb 2004 21:38:37 +0100 Subject: [Gambas-user] ReDraw problems.. In-Reply-To: <402D281C.7050501@...284...> References: <402D281C.7050501@...284...> Message-ID: <200402132138.37251.ronstk@...239...> On Friday 13 February 2004 20:40, Luke Cliff wrote: > Hello List, > I have attached a cut of that redraw problem I am having, I > still get it in 0.83, > I have a Nvida, Gforce MX200... I always get the problem after about > 2 or so errors, usually for a "file not found error"... > The bug is not really a problem, I just save the work, and re-start > gambas, it never occurs in the running program....only in the > development after a few errors... > > Regards > Luke Seen this happens on SiS 650 to. Even during edit and a scroll with the text is already enough to get it back. --- Ron From abidoo.too at ...11... Fri Feb 13 21:59:02 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Fri, 13 Feb 2004 21:59:02 +0100 Subject: [Gambas-user] whoahou In-Reply-To: <200402122252.27025.gambas@...1...> References: <200402122222.58224.abidoo.too@...11...> <200402122252.27025.gambas@...1...> Message-ID: <200402132159.02850.abidoo.too@...11...> > >I've read the change-log of the 0.84 version ... you have made a new >> gambas, benoit ? >> > >I've don't see a function to get a link target anymore... >??? pour trouver le chemin d'un lien symbolique Fabien From gambas at ...1... Fri Feb 13 22:43:34 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 13 Feb 2004 22:43:34 +0100 Subject: [Gambas-user] whoahou In-Reply-To: <200402132159.02850.abidoo.too@...11...> References: <200402122222.58224.abidoo.too@...11...> <200402122252.27025.gambas@...1...> <200402132159.02850.abidoo.too@...11...> Message-ID: <200402132243.34254.gambas@...1...> On Friday 13 February 2004 21:59, Fabien Bodard wrote: > > >I've read the change-log of the 0.84 version ... you have made a new > >> > >> gambas, benoit ? > >> > > >I've don't see a function to get a link target anymore... > > > >??? > > pour trouver le chemin d'un lien symbolique > > Fabien > I didn't make the function that allows that yet! I forgot it :-) I will do it in the next version. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Feb 13 22:51:06 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 13 Feb 2004 22:51:06 +0100 Subject: [Gambas-user] How to sort an array? In-Reply-To: <20040213152357.42759.qmail@...361...> References: <20040213152357.42759.qmail@...361...> Message-ID: <200402132251.06639.gambas@...1...> On Friday 13 February 2004 16:23, adam krell wrote: > Is there an easy way to sort an array of integers? > I'd do it in a columnview column but it only sorts > text alphanumerically, I believe. > > Thanks, > > Adam > You can sort any array with the Sort() method. When the array is a string array, Sort() takes one argument that indicates what sort of comparison you want (binary, case insensitive, system charset aware) and if you want an ascent or descent sort. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Feb 13 22:52:52 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 13 Feb 2004 22:52:52 +0100 Subject: [Gambas-user] minor regression in 0.84a scripting example In-Reply-To: <200402131309.37481.sourceforge-raindog2@...94...> References: <200402131309.37481.sourceforge-raindog2@...94...> Message-ID: <200402132252.52158.gambas@...1...> On Friday 13 February 2004 19:09, Rob wrote: > The Automation/Scripting example fails to compile under 0.84a. > Error is: "Unknown identifier: Dir$ at line 50 in > FScript.class". No other example project uses Dir$(), they all > use Dir(). Changing it to Dir() in this example fixes the > problem, but it sounds like Dir$() has disappeared from 0.84a. > > Rob > Thanks. I fixed it. Dir$() has disappeared from 0.84 exactly. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Feb 13 22:55:33 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 13 Feb 2004 22:55:33 +0100 Subject: [Gambas-user] ReDraw problems.. In-Reply-To: <402D281C.7050501@...284...> References: <402D281C.7050501@...284...> Message-ID: <200402132255.33985.gambas@...1...> On Friday 13 February 2004 20:40, Luke Cliff wrote: > Hello List, > I have attached a cut of that redraw problem I am having, I > still get it in 0.83, > I have a Nvida, Gforce MX200... I always get the problem after about > 2 or so errors, usually for a "file not found error"... > The bug is not really a problem, I just save the work, and re-start > gambas, it never occurs in the running program....only in the > development after a few errors... > > Regards > Luke I have the same redraw problems sometimes. I think this is a bug in the editor. Its code is based on the QEditor widget of QT 2.x, which is a bit complicated to understand! So I didn't find yet why this happens sometimes. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Feb 13 22:56:29 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 13 Feb 2004 22:56:29 +0100 Subject: [Gambas-user] mandrake packages of 0.84a In-Reply-To: <200402131336.39297.sourceforge-raindog2@...94...> References: <200402131336.39297.sourceforge-raindog2@...94...> Message-ID: <200402132256.29476.gambas@...1...> On Friday 13 February 2004 19:36, Rob wrote: > http://www.kudla.org/index.php?wl_mode=more&wl_eid=49 > > Submitted to cooker contrib as well. With the freeze expected in > the next week or so, 0.84a will most likely be what ships with > 10.0. > > Rob > I think I will make a 0.84b with (at least) the fix for the bug you found in the scripting example. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Feb 13 23:14:01 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 13 Feb 2004 23:14:01 +0100 Subject: [Gambas-user] Problem with tableview In-Reply-To: <200402131902.51596.ronstk@...239...> References: <200402131902.51596.ronstk@...239...> Message-ID: <200402132314.01113.gambas@...1...> On Friday 13 February 2004 19:02, ron wrote: > Hi Benoit, Rob > > I do have found a strange thing with TableView > > When I click in the example the vars keyrow and keycol are set with the > onclick event. After startup the are set to 0,0. > If I use the keyboard down key the internal .row gives 1 as result however > in the row header the r:2 is higlighted (2 down). On every next key down it > goes 1 down and when i press up it goes the first time 2 and then 1 up with > the highlite. > The strange step occurs only if the direction different is with the > previous. > > The demo give a good idea what happens with the properties of TableView. > > grts Ron Be careful! The arrow keys are interpreted by the TableView control, so if you move the row and/or the column inside the KeyPress event, you must cancel the event before the event handler ends. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Feb 13 23:17:27 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 13 Feb 2004 23:17:27 +0100 Subject: [Gambas-user] Segmentation fault in gambas In-Reply-To: <402CDCC7.2080809@...207...> References: <402CDCC7.2080809@...207...> Message-ID: <200402132317.27940.gambas@...1...> On Friday 13 February 2004 15:18, amelgar wrote: > Since version 0.83 and in 0.84 I am getting a Segmentation fault: > > amelgar bertolinux:~$ gambas > Segmentation fault > > Everything compiled without errors... > > I tried compiling curl-7.11.0.tar.bz2 > from sources an deleting > .gambas from my home directory, just to trie some things > > I am using a mdk9.2 without any important changes, and I dont remember > any change in my sistem betwen 0.82 and 0.83.. > > I dont mind using the rpms (when they get released for mandrake...) but > i just want to tell here, becouse maybe is a bug. > > I can't give you acces thow ssh becouse I'm at work and dont have acces > from outside to my machine(isa server)...and at my houste I'm now with > cooker...since 2 days and I'm getting and error compiling too, maybe > becouse of the lack of any library ( i had to unistall kde* to upgrade > to cooker) > > I'm the only one?? > > pd: sorry for my bad English > > Saludos :) > and keep the good work > In the troubleshooting section of the website, you will read how to trace the interpreter so that you can tell me exactly how it crashes. Send me the result, and maybe I may guess what happens specifically on your system. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Feb 13 23:54:00 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 13 Feb 2004 23:54:00 +0100 Subject: [Gambas-user] gambas 0.84a In-Reply-To: <200402131632.40081.ronstk@...239...> References: <200402131433.55617.gambas@...1...> <200402131552.44532.ronstk@...239...> <200402131632.40081.ronstk@...239...> Message-ID: <200402132354.00040.gambas@...1...> On Friday 13 February 2004 16:32, ron wrote: > Additional note > > in khtml_part.h the > enum GUIProfile { DefaultGUI, BrowserViewGUI /* ... */ }; > > KHTMLPart( QWidget *parentWidget = 0, const char *widgetname = 0, > QObject *parent = 0, const char *name = 0, GUIProfile prof = > DefaultGUI ); > > KHTMLPart( KHTMLView *view, QObject *parent = 0, const char *name = 0, > GUIProfile prof = DefaultGUI ); > > In your code: > BEGIN_METHOD(CWEBBROWSER_new, GB_OBJECT parent) > > KHTMLPart *part = new KHTMLPart( QT.GetContainer(VARG(parent))); > > maybe to: > KHTMLPart *part = new KHTMLPart( \ > QT.GetContainer(VARG(parent)), 0, 0, 0, BrowserViewGUI ); > can do the job? > I tried, but alas it changed nothing. I think that Konqueror displays a PNG file with another Part, and that the KHTML part can't do it! Regards, -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Sat Feb 14 00:02:43 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 13 Feb 2004 18:02:43 -0500 Subject: [Gambas-user] gambas 0.84a In-Reply-To: <200402132354.00040.gambas@...1...> References: <200402131433.55617.gambas@...1...> <200402131632.40081.ronstk@...239...> <200402132354.00040.gambas@...1...> Message-ID: <200402131802.43102.sourceforge-raindog2@...94...> On Friday 13 February 2004 17:54, Benoit Minisini wrote: > > maybe to: > > KHTMLPart *part = new KHTMLPart( \ > > QT.GetContainer(VARG(parent)), 0, 0, 0, BrowserViewGUI ); > > can do the job? > I tried, but alas it changed nothing. I think that Konqueror > displays a PNG file with another Part, and that the KHTML part > can't do it! That's right, Konqueror uses an embedded viewer or (if you're like me and switch the default to be some other program) prompts you to open it in some other program. The only way I can think of to get around this is to intercept image/* mime types, write them to a temporary directory, and replace them with a page that just has img src="mytmpfile.png" when sending the data to khtml. I assume this can be done in gambas code rather than the component. Rob From abidoo.too at ...11... Sat Feb 14 00:38:17 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Sat, 14 Feb 2004 00:38:17 +0100 Subject: [Gambas-user] gambas 0.84a In-Reply-To: <200402131802.43102.sourceforge-raindog2@...94...> References: <200402131433.55617.gambas@...1...> <200402132354.00040.gambas@...1...> <200402131802.43102.sourceforge-raindog2@...94...> Message-ID: <200402140038.17559.abidoo.too@...11...> Le Samedi 14 F?vrier 2004 00:02, Rob a ?crit : > On Friday 13 February 2004 17:54, Benoit Minisini wrote: > > > maybe to: > > > KHTMLPart *part = new KHTMLPart( \ > > > QT.GetContainer(VARG(parent)), 0, 0, 0, BrowserViewGUI ); > > > can do the job? > > > > I tried, but alas it changed nothing. I think that Konqueror > > displays a PNG file with another Part, and that the KHTML part > > can't do it! > > That's right, Konqueror uses an embedded viewer or (if you're > like me and switch the default to be some other program) prompts > you to open it in some other program. The only way I can think > of to get around this is to intercept image/* mime types, write > them to a temporary directory, and replace them with a page that > just has img src="mytmpfile.png" when sending the data to khtml. > I assume this can be done in gambas code rather than the > component. > > Rob > > I don't uderstand your id?a.... Why not selected the viewer component in function of the selected file... khtml for html and picturebox for a picture... I think your way is too fast fabien From abidoo.too at ...11... Sat Feb 14 00:42:23 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Sat, 14 Feb 2004 00:42:23 +0100 Subject: [Gambas-user] still treeview problem In-Reply-To: <200402120006.01965.ZENODotus@...323...> References: <200402120006.01965.ZENODotus@...323...> Message-ID: <200402140042.23942.abidoo.too@...11...> Le Jeudi 12 F?vrier 2004 00:06, ZENODotus a ?crit : > Still figuring out; what is de new way of writing: > treeview.item.text? > > by the way, have a problem with the 0.83 version, but will post that > tomorrow or so... try treeV.Current.text From raul.moratalla at ...321... Sat Feb 14 01:03:07 2004 From: raul.moratalla at ...321... (=?utf-8?q?Ra=C3=BAl_Moratalla?=) Date: Sat, 14 Feb 2004 01:03:07 +0100 Subject: [Gambas-user] Problem executing Gambas on Fedora Core 1 Message-ID: <200402140103.07586.raul.moratalla@...321...> Hi everybody! I have downloaded the latest source code of gambas and I have compiled and installed it without any problem, but when I run it I see the following error: [2] Cannot load class 'FMain': unable to load class file. At: Project.Main.92 I have configured it with the option --prefix=/usr Anybody could help me with this? Thanks in advance, cheers Raul From gambas at ...1... Sat Feb 14 01:20:58 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 14 Feb 2004 01:20:58 +0100 Subject: [Gambas-user] Problem executing Gambas on Fedora Core 1 In-Reply-To: <200402140103.07586.raul.moratalla@...321...> References: <200402140103.07586.raul.moratalla@...321...> Message-ID: <200402140120.58889.gambas@...1...> On Saturday 14 February 2004 01:03, Ra?l Moratalla wrote: > Hi everybody! > > I have downloaded the latest source code of gambas and I have compiled and > installed it without any problem, but when I run it I see the following > error: > > [2] Cannot load class 'FMain': unable to load class file. At: > Project.Main.92 > > I have configured it with the option --prefix=/usr > > Anybody could help me with this? > > Thanks in advance, cheers > > Raul > Did you compile the last version (0.84a) ? -- Benoit Minisini mailto:gambas at ...1... From daniel.campos at ...338... Sat Feb 14 12:06:47 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Sat, 14 Feb 2004 12:06:47 +0100 Subject: [Gambas-user] minor regression in 0.84a scripting example In-Reply-To: <200402131309.37481.sourceforge-raindog2@...94...> References: <200402131309.37481.sourceforge-raindog2@...94...> Message-ID: <1076756807.3031.0.camel@...40...> El vie, 13-02-2004 a las 19:09, Rob escribi?: > The Automation/Scripting example fails to compile under 0.84a. > Error is: "Unknown identifier: Dir$ at line 50 in > FScript.class". No other example project uses Dir$(), they all > use Dir(). Changing it to Dir() in this example fixes the > problem, but it sounds like Dir$() has disappeared from 0.84a. > Yes, you can find that change in CHANGELOG > Rob > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From daniel.campos at ...338... Sat Feb 14 12:26:11 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Sat, 14 Feb 2004 12:26:11 +0100 Subject: [Gambas-user] mandrake packages of 0.84a In-Reply-To: <200402131336.39297.sourceforge-raindog2@...94...> References: <200402131336.39297.sourceforge-raindog2@...94...> Message-ID: <1076757971.3774.1.camel@...40...> El vie, 13-02-2004 a las 19:36, Rob escribi?: > http://www.kudla.org/index.php?wl_mode=more&wl_eid=49 > > Submitted to cooker contrib as well. With the freeze expected in > the next week or so, 0.84a will most likely be what ships with > 10.0. > > Rob > You've not included lib.gb.net.curl.so! This is the complete list of files installed by the RPM: lib.gb.component lib.gb.db.component lib.gb.db.la lib.gb.db.mysql.la lib.gb.db.mysql.so@ lib.gb.db.mysql.so.0@ lib.gb.db.mysql.so.0.0.0* lib.gb.db.postgresql.la lib.gb.db.postgresql.so@ lib.gb.db.postgresql.so.0@ lib.gb.db.postgresql.so.0.0.0* lib.gb.db.so@ lib.gb.db.so.0@ lib.gb.db.so.0.0.0* lib.gb.eval.component lib.gb.eval.la lib.gb.eval.so@ lib.gb.eval.so.0@ lib.gb.eval.so.0.0.0* lib.gb.example.la lib.gb.example.so@ lib.gb.example.so.0@ lib.gb.example.so.0.0.0* lib.gb.la lib.gb.net.component lib.gb.net.curl.component lib.gb.net.la lib.gb.net.so@ lib.gb.net.so.0@ lib.gb.net.so.0.0.0* lib.gb.qt.component lib.gb.qt.editor.component lib.gb.qt.editor.la lib.gb.qt.editor.so@ lib.gb.qt.editor.so.0@ lib.gb.qt.editor.so.0.0.0* lib.gb.qt.ext.component lib.gb.qt.ext.la lib.gb.qt.ext.so@ lib.gb.qt.ext.so.0@ lib.gb.qt.ext.so.0.0.0* lib.gb.qt.kde.component lib.gb.qt.kde.html.component lib.gb.qt.kde.html.la lib.gb.qt.kde.html.so@ lib.gb.qt.kde.html.so.0@ lib.gb.qt.kde.html.so.0.0.0* lib.gb.qt.kde.la lib.gb.qt.kde.so@ lib.gb.qt.kde.so.0@ lib.gb.qt.kde.so.0.0.0* lib.gb.qt.la lib.gb.qt.so@ lib.gb.qt.so.0@ lib.gb.qt.so.0.0.0* lib.gb.sdl.component lib.gb.sdl.la lib.gb.sdl.so@ lib.gb.sdl.so.0@ lib.gb.sdl.so.0.0.0* lib.gb.so@ lib.gb.so.0@ lib.gb.so.0.0.0* lib.gb.vb.component lib.gb.vb.la lib.gb.vb.so@ lib.gb.vb.so.0@ lib.gb.vb.so.0.0.0* lib.gb.net.curl.component exists, but not the library itself! Regards, Daniel Campos > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From olivier at ...289... Sat Feb 14 15:36:02 2004 From: olivier at ...289... (Coquet Olivier) Date: Sat, 14 Feb 2004 15:36:02 +0100 Subject: [Gambas-user] a major forgot....... Message-ID: <1076769362.6733.1.camel@...293...> i think it's just a forgot but.... there is no way to set the order of the controls in a form, just the solution to edit the srce... is it possible to add a property to each control to set this easyly ???? regards Olivier From ronstk at ...239... Sat Feb 14 15:49:34 2004 From: ronstk at ...239... (ron) Date: Sat, 14 Feb 2004 15:49:34 +0100 Subject: [Gambas-user] Problem with tableview In-Reply-To: <200402132314.01113.gambas@...1...> References: <200402131902.51596.ronstk@...239...> <200402132314.01113.gambas@...1...> Message-ID: <200402141549.34584.ronstk@...239...> On Friday 13 February 2004 23:14, Benoit Minisini wrote: > On Friday 13 February 2004 19:02, ron wrote: > > Hi Benoit, Rob > > > > I do have found a strange thing with TableView > > --8<-- > > grts Ron > > Be careful! The arrow keys are interpreted by the TableView control, so if > you move the row and/or the column inside the KeyPress event, you must > cancel the event before the event handler ends. > > Regards, Ok I should use it the first place the _KeyRelease because at that moment the .row and .column are valid for the position the hight light is. On _KeyPress it are the old values. This problem is solved. Thanks for the hint to cancel the event. --- Ron From olivier at ...289... Sat Feb 14 16:15:16 2004 From: olivier at ...289... (Coquet Olivier) Date: Sat, 14 Feb 2004 16:15:16 +0100 Subject: [Gambas-user] why ServerSocket won't load in an form less code ???? Message-ID: <1076771716.7435.3.camel@...293...> i'm trying to implement a telnet server without visual interface (form) when i lauch my prog it say me than ServerSocket class can't be loaded ???? regards Olivier here a part of my module code: PUBLIC msk AS ServerSocket PUBLIC client AS Object[] PUBLIC SUB Main() client=NEW Object[] msk=NEW ServerSocket AS "msk" msk.port = 4502 msk.listen (10) END From sourceforge-raindog2 at ...94... Sat Feb 14 16:31:01 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 14 Feb 2004 10:31:01 -0500 Subject: [Gambas-user] mandrake packages of 0.84a In-Reply-To: <1076757971.3774.1.camel@...40...> References: <200402131336.39297.sourceforge-raindog2@...94...> <1076757971.3774.1.camel@...40...> Message-ID: <200402141031.01896.sourceforge-raindog2@...94...> On Saturday 14 February 2004 06:26, Daniel Campos wrote: > You've not included lib.gb.net.curl.so! This is the complete > list of files installed by the RPM: Feh, I should have caught that when I was checking the examples, but I got called away before I got to the networking ones. I'll try to get fixed packages in there before the freeze. I added libcurl0-devel to the buildrequires and it is installed, so I dunno what the deal is. Rob From sourceforge-raindog2 at ...94... Sat Feb 14 16:42:59 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 14 Feb 2004 10:42:59 -0500 Subject: [Gambas-user] a major forgot....... In-Reply-To: <1076769362.6733.1.camel@...293...> References: <1076769362.6733.1.camel@...293...> Message-ID: <200402141042.59671.sourceforge-raindog2@...94...> On Saturday 14 February 2004 09:36, Coquet Olivier wrote: > there is no way to set the order of the controls in a form, > just the solution to edit the srce... No, I was wrong. The Z-order of the controls (bring to front, send to back...) also controls their tab order according to Benoit. Try it.... Rob From ZENODotus at ...323... Sat Feb 14 17:20:08 2004 From: ZENODotus at ...323... (ZENODotus) Date: Sat, 14 Feb 2004 17:20:08 +0100 Subject: [Gambas-user] still treeview problem In-Reply-To: <200402140042.23942.abidoo.too@...11...> References: <200402120006.01965.ZENODotus@...323...> <200402140042.23942.abidoo.too@...11...> Message-ID: <200402141720.08814.ZENODotus@...323...> Op zaterdag 14 februari 2004 00:42, schreef Fabien Bodard: Le Jeudi 12 F?vrier 2004 00:06, ZENODotus a ?crit : > > Still figuring out; what is de new way of writing: > > treeview.item.text? > > > > by the way, have a problem with the 0.83 version, but will post that > > tomorrow or so... > > try treeV.Current.text Hey, Thanks Fabien, it works fine now, how one small word can cause such a problem... By the way, what is de reason why it has changed to current? De problem I had with 0.83 has been solvend with the 0.84 version... > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id56&alloc_id438&op?k > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- ZENODotus, YOU DREAM, I REALISE!! "Never trust a computer you can't trow out a window" - Steve Wozniak mailto:zenodotus at ...323... From gambas at ...1... Sat Feb 14 18:04:09 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 14 Feb 2004 18:04:09 +0100 Subject: [Gambas-user] still treeview problem In-Reply-To: <200402141720.08814.ZENODotus@...323...> References: <200402120006.01965.ZENODotus@...323...> <200402140042.23942.abidoo.too@...11...> <200402141720.08814.ZENODotus@...323...> Message-ID: <200402141804.09286.gambas@...1...> On Saturday 14 February 2004 17:20, ZENODotus wrote: > By the way, what is de reason why it has changed to current? > TreeView.Item is the item pointed by the "internal" cursor of the TreeView. This internal cursor is moved by Move* methods, just before calling an event handler, and by... TreeView.Current, that sets TreeView.Item to the item currently selected, and returns it. The older TreeView interface was incoherent, so I changed it. Is it clearer now ? :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From akrell at ...43... Sat Feb 14 18:04:12 2004 From: akrell at ...43... (adam krell) Date: Sat, 14 Feb 2004 09:04:12 -0800 (PST) Subject: [Gambas-user] Re: How to sort an array? Message-ID: <20040214170412.71318.qmail@...363...> Thanks for everybody's help. My simple goal was to use a columnview for some data and have it sort on the column that has integer data in it. I couldn't do this since it only sorts alphanumerically. I tried adding the leading spaces but I couldn't get that to work. Perhaps I was doing something wrong. So, I created an array of a selfdefined datatype because the data was of various types and I understood that this is how gambas handles that (being there is no "struct" type). I can use the bubble sort to sort the array and then populate the columnview. However, I see that Benoit mentions that I could use a sort() method on the array. I couldn't find the documentation on this method. Can it be used with an array of objects and the ability to specify the part of the datatype I'd like the array to sort on? Or perhaps I'm approaching this all the wrong way. Any help is appreciated. BTW, Benoit, thank you for making gambas. It is really fun to use and very useful. -Adam >> On Friday 13 February 2004 16:23, adam krell wrote: >> Is there an easy way to sort an array of integers? >> I'd do it in a columnview column but it only sorts >> text alphanumerically, I believe. >> >> Thanks, >> >> Adam >> >You can sort any array with the Sort() method. >When the array is a string array, Sort() takes one >argument that indicates what sort of comparison you >want (binary, case insensitive, system charset aware) >and if you want an ascent or descent sort. > >Regards, > >-- >Benoit Minisini >mailto:gambas at ...362... __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html From gambas at ...1... Sat Feb 14 18:05:29 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 14 Feb 2004 18:05:29 +0100 Subject: [Gambas-user] why ServerSocket won't load in an form less code ???? In-Reply-To: <1076771716.7435.3.camel@...293...> References: <1076771716.7435.3.camel@...293...> Message-ID: <200402141805.29085.gambas@...1...> On Saturday 14 February 2004 16:15, Coquet Olivier wrote: > i'm trying to implement a telnet server without visual interface (form) > > when i lauch my prog it say me than ServerSocket class can't be loaded > ???? > > regards > Olivier > > here a part of my module code: > > PUBLIC msk AS ServerSocket > PUBLIC client AS Object[] > > PUBLIC SUB Main() > > client=NEW Object[] > msk=NEW ServerSocket AS "msk" > > msk.port = 4502 > msk.listen (10) > > END > Hmm... Did you check the network component ? :-) -- Benoit Minisini mailto:gambas at ...1... From daniel.campos at ...338... Sat Feb 14 18:09:31 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Sat, 14 Feb 2004 18:09:31 +0100 Subject: [Gambas-user] why ServerSocket won't load in an form less code ???? In-Reply-To: <1076771716.7435.3.camel@...293...> References: <1076771716.7435.3.camel@...293...> Message-ID: <1076778570.2776.1.camel@...40...> Are you sure you didn't leave any reference to a graphical component (may be Message() )? Try this, it works without qt! Regards, Daniel Campos El s?b, 14-02-2004 a las 16:15, Coquet Olivier escribi?: > i'm trying to implement a telnet server without visual interface (form) > > when i lauch my prog it say me than ServerSocket class can't be loaded > ???? > > regards > Olivier > > here a part of my module code: > > PUBLIC msk AS ServerSocket > PUBLIC client AS Object[] > > PUBLIC SUB Main() > > client=NEW Object[] > msk=NEW ServerSocket AS "msk" > > msk.port = 4502 > msk.listen (10) > > END > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -------------- next part -------------- A non-text attachment was scrubbed... Name: SrvSock-0.0.tar.gz Type: application/x-compressed-tar Size: 587 bytes Desc: not available URL: From raul.moratalla at ...321... Sat Feb 14 19:12:48 2004 From: raul.moratalla at ...321... (=?utf-8?q?Ra=C3=BAl_Moratalla?=) Date: Sat, 14 Feb 2004 19:12:48 +0100 Subject: [Gambas-user] Problem executing Gambas on Fedora Core 1 In-Reply-To: <200402140120.58889.gambas@...1...> References: <200402140103.07586.raul.moratalla@...321...> <200402140120.58889.gambas@...1...> Message-ID: <200402141912.48451.raul.moratalla@...321...> El S?bado, 14 de Febrero de 2004 01:20, Benoit Minisini escribi?: > Did you compile the last version (0.84a) ? Yes and I don't know why happens this error, what can be wrong? Regards Raul From mario_thiele at ...20... Sat Feb 14 21:21:49 2004 From: mario_thiele at ...20... (Mario Thiele) Date: Sat, 14 Feb 2004 21:21:49 +0100 Subject: [Gambas-user] gambas 0.84 under SUSE 9.0 Message-ID: <200402142021.i1EKLnQ30887@...224...> Hello to all, gambas 0.84 will work fine to compile it this way: ./configure --enable-preloading=no --with-kde-includes=/opt/kde3/include/ --with-kde-libraries=/opt/kde3/lib/ So long freetimer ______________________________________________________________________________ Extra-Konto: 2,50 %* Zinsen p. a. ab dem ersten Euro! Nur hier mit 25 Euro-Tankgutschein & ExtraPramie! https://extrakonto.web.de/?mc=021110 From gambas at ...162... Sun Feb 15 01:57:16 2004 From: gambas at ...162... (Wojtek) Date: Sun, 15 Feb 2004 01:57:16 +0100 Subject: [Gambas-user] gambas 0.84 under SUSE 9.0 In-Reply-To: <200402142021.i1EKLnQ30887@...224...> References: <200402142021.i1EKLnQ30887@...224...> Message-ID: <200402150157.17486.gambas@...162...> Dnia sob 14. lutego 2004 21:21, Mario Thiele napisa?: > gambas 0.84 will work fine to compile it this way: > > ./configure --enable-preloading=no --with-kde-includes=/opt/kde3/include/ > --with-kde-libraries=/opt/kde3/lib/ I have Suse 9.0, KDE 3.2, QT 3.3 and I compile with parameters ./configure --with-qt=/usr/lib/qt3 --with-qt-includes=/usr/lib/qt3/include --with-qt-libraries=/usr/lib/qt3/lib and everything is OK. -- Wojciech Saltarski From ronstk at ...239... Sun Feb 15 05:32:29 2004 From: ronstk at ...239... (ron) Date: Sun, 15 Feb 2004 05:32:29 +0100 Subject: [Gambas-user] Request: GoTo button In-Reply-To: <200402100930.55257.gambas@...1...> References: <200402091427.51697.ronstk@...239...> <200402100930.55257.gambas@...1...> Message-ID: <200402150532.29806.ronstk@...239...> On Tuesday 10 February 2004 09:30, Benoit Minisini wrote: > On Monday 09 February 2004 14:27, ron wrote: > > Hi Button, > > > > I found in the 'GoTo' list several duplicates for the first level list. > > tableview1 > > Tableview1 > > TableView1 > > > > For the executing of gambas they reflect the same object. > > Should the name when a object list is assembled not be checked in > > uppercase for existing already in the menulist and if they are be the > > same and not added to the first level ? > > > > My 1 eurocent > > > > Ron > > OK. Thanks for fixing this. I got today (15 feb) the orginal request (9 feb) back, 5 day's after your OK :-) Compile/Install of 0.84a was superb this time on SuSE8.2, KDE3.1.4, QT3.2.1 and Curl 7.11 --- Ron From olinux at ...289... Sun Feb 15 08:05:01 2004 From: olinux at ...289... (Coquet Olivier) Date: Sun, 15 Feb 2004 08:05:01 +0100 Subject: [Gambas-user] why ServerSocket won't load in an form less code ???? In-Reply-To: <200402141805.29085.gambas@...1...> References: <1076771716.7435.3.camel@...293...> <200402141805.29085.gambas@...1...> Message-ID: <1076828700.20861.10.camel@...293...> sorry i'm so stupid than i go in a mouse hole and i comme back in some years only :=) gb.net components was not enabled :=)))))))))))) regards olivier Le sam 14/02/2004 ?? 18:05, Benoit Minisini a ??crit : > On Saturday 14 February 2004 16:15, Coquet Olivier wrote: > > i'm trying to implement a telnet server without visual interface (form) > > > > when i lauch my prog it say me than ServerSocket class can't be loaded > > ???? > > > > regards > > Olivier > > > > here a part of my module code: > > > > PUBLIC msk AS ServerSocket > > PUBLIC client AS Object[] > > > > PUBLIC SUB Main() > > > > client=NEW Object[] > > msk=NEW ServerSocket AS "msk" > > > > msk.port = 4502 > > msk.listen (10) > > > > END > > > > Hmm... Did you check the network component ? :-) From olinux at ...289... Sun Feb 15 08:06:23 2004 From: olinux at ...289... (Coquet Olivier) Date: Sun, 15 Feb 2004 08:06:23 +0100 Subject: [Gambas-user] a major forgot....... In-Reply-To: <200402141042.59671.sourceforge-raindog2@...94...> References: <1076769362.6733.1.camel@...293...> <200402141042.59671.sourceforge-raindog2@...94...> Message-ID: <1076828783.20861.13.camel@...293...> heuuuuuu!!!! how can you set the order of component if they are on a tabview, they go behind and you see nothing ????? regards olivier Le sam 14/02/2004 ?? 16:42, Rob a ??crit : > On Saturday 14 February 2004 09:36, Coquet Olivier wrote: > > there is no way to set the order of the controls in a form, > > just the solution to edit the srce... > > No, I was wrong. The Z-order of the controls (bring to front, > send to back...) also controls their tab order according to > Benoit. Try it.... > > Rob From sourceforge-raindog2 at ...94... Sun Feb 15 09:18:59 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 15 Feb 2004 03:18:59 -0500 Subject: [Gambas-user] a major forgot....... In-Reply-To: <1076828783.20861.13.camel@...293...> References: <1076769362.6733.1.camel@...293...> <200402141042.59671.sourceforge-raindog2@...94...> <1076828783.20861.13.camel@...293...> Message-ID: <200402150318.59348.sourceforge-raindog2@...94...> On Sunday 15 February 2004 02:06, Coquet Olivier wrote: > heuuuuuu!!!! > > how can you set the order of component if they are on a > tabview, they go behind and you see nothing ????? Did you try that? If they're actually on a tabview, the tabview is their parent, not the form, and they should only go in back of other controls on the tabview. However, pressing tab in a control on the tabview can set the focus to a control on the same form that isn't in the tabview, so I guess there are issues to work out there eventually. You can work around them in code using the LostFocus event, or possibly KeyPress (trapping the tab and using STOP EVENT and manually setting the focus as appropriate) in the meantime. Rob From olinux at ...289... Sun Feb 15 13:34:09 2004 From: olinux at ...289... (Coquet Olivier) Date: Sun, 15 Feb 2004 13:34:09 +0100 Subject: [Gambas-user] a major forgot....... In-Reply-To: <200402150318.59348.sourceforge-raindog2@...94...> References: <1076769362.6733.1.camel@...293...> <200402141042.59671.sourceforge-raindog2@...94...> <1076828783.20861.13.camel@...293...> <200402150318.59348.sourceforge-raindog2@...94...> Message-ID: <1076848449.22382.3.camel@...293...> I think (and i've tested this) that it is nor realist, when i put my controls i use the zorder to obtain a graphic resultat. when this result is ok for me i'm not ready to make the disorder in this presentation to make my controls in the good tab order. I maintain than it's a real handicap in programming and the zindex MUST BE in a serious stable version of gambas to make it a real usable graphic language. For the instance, the only serious way to change the order is edit the srce with gedit and reorder each control...it a wrong way i think. regards Olivier Le dim 15/02/2004 ?? 09:18, Rob a ??crit : > Did you try that? If they're actually on a tabview, the tabview > is their parent, not the form, and they should only go in back > of other controls on the tabview. > > However, pressing tab in a control on the tabview can set the > focus to a control on the same form that isn't in the tabview, > so I guess there are issues to work out there eventually. You > can work around them in code using the LostFocus event, or > possibly KeyPress (trapping the tab and using STOP EVENT and > manually setting the focus as appropriate) in the meantime. > > Rob > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From olivier at ...289... Sun Feb 15 13:44:06 2004 From: olivier at ...289... (Coquet Olivier) Date: Sun, 15 Feb 2004 13:44:06 +0100 Subject: [Gambas-user] eXtremgui First Release 0.0.40fr Message-ID: <1076849046.22526.3.camel@...293...> I'm Hapy to tell you than my first gambas complete project is ok, this is a gui front end for the excellent mail server (eXtremail v1.5.9). With this gui, you can set a domain mail server, an manage all account for this server with an extrem facility. All command for domain and users are implemented and accessibles in this release, future advanced function ar in dev for the second release. the complete gui communicate withe extremail via the socket implementation of gambas. extremgui can be found here: http://extremgui.dynu.com/ regards Olivier Coquet From ronstk at ...239... Sun Feb 15 15:35:16 2004 From: ronstk at ...239... (ron) Date: Sun, 15 Feb 2004 15:35:16 +0100 Subject: [Gambas-user] Bug?: Tabbing passing listbox fire Click event. Message-ID: <200402151535.16187.ronstk@...239...> Hallo Benoit. Testting the Tab key to go walk across the controls I found that the mouse_click occurs only the first time after it get the focus with the Tab key in a fresh created form. After that one, back and forwards tabbing does not fire it any more but the first time should also not happen. --- Ron From ronstk at ...239... Sun Feb 15 15:53:08 2004 From: ronstk at ...239... (ron) Date: Sun, 15 Feb 2004 15:53:08 +0100 Subject: [Gambas-user] a major forgot....... In-Reply-To: <1076848449.22382.3.camel@...293...> References: <1076769362.6733.1.camel@...293...> <200402150318.59348.sourceforge-raindog2@...94...> <1076848449.22382.3.camel@...293...> Message-ID: <200402151553.08747.ronstk@...239...> On Sunday 15 February 2004 13:34, Coquet Olivier wrote: --8<-- > I maintain than it's a real handicap in programming and the zindex MUST > BE in a serious stable version of gambas to make it a real usable > graphic language. > > For the instance, the only serious way to change the order is edit the > srce with gedit and reorder each control...it a wrong way i think. > > regards > Olivier > -->8 ------------------------------------------------------- I agree with Olivier that edit the source is not a good way and something like tab/zorder is welcome to gambas however if the tab order is the same as the zorder at the moment you have a other solution. At the moment the Tab order it the same as the creation order. For the Z order you can make a sub routine where all the controls are named in the order you wish and control.Raise bring them to the right level. with the last on top. The Tab order stays the same this way i found but the zorder is what I need too and wil use in my program from now on. One where the Tab-key does not function is in a TextArea i.e. --- Ron From Rick_Helfgen at ...221... Sun Feb 15 20:16:20 2004 From: Rick_Helfgen at ...221... (Ricky Helfgen) Date: Sun, 15 Feb 2004 20:16:20 +0100 Subject: [Gambas-user] my prog with gambas Message-ID: <1076872580.3484.4.camel@...280...> Hi to everybody, who can help me, I use gambas 84 a on Suse 9.0 and I have done a small perfect prog. But after make executable it does not run.See Failure Picture on attachement. So what is happend ?? by Ricky -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto.png Type: image/png Size: 152341 bytes Desc: not available URL: From Karl.Reinl at ...9... Sun Feb 15 23:26:34 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 15 Feb 2004 23:26:34 +0100 Subject: [Gambas-user] This fu... MsgBox stills gets in the Background Message-ID: <200402152326.34982.Karl.Reinl@...9...> Salut Benoit, The Msgbox is still a Problem. It is realy user-unfriendly, if a popuped MsgBox, disappear behind a Window, and the user is clicking around on this Window and finaly shot down the application, because 'it is freezed' !!!!!!! And this is not only a pb. while working with the IDE. A Msgbox has to stay on the top of that window, and can't disappear behind, while the user have had a click on that window. Amicalement Charlie From rizky at ...225... Mon Feb 16 05:20:46 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Mon, 16 Feb 2004 11:20:46 +0700 Subject: [Gambas-user] configuring 0.84a Message-ID: <200402161120.46573.rizky@...225...> i got error like this when i try to make : mkdir .libs grep: /usr/lib/libpcre.la: No such file or directory sed: can't read /usr/lib/libpcre.la: No such file or directory libtool: link: `/usr/lib/libpcre.la' is not a valid libtool archive make[6]: *** [lib.gb.qt.kde.html.la] Error 1 make[6]: Leaving directory `/home/tahara/Documents/gbs/src/lib/qt/kde/html' make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory `/home/tahara/Documents/gbs/src/lib/qt/kde' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/tahara/Documents/gbs/src/lib/qt' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/tahara/Documents/gbs/src/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/tahara/Documents/gbs/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/tahara/Documents/gbs' make: *** [all-recursive-am] Error 2 something wrong ??? From sourceforge-raindog2 at ...94... Mon Feb 16 05:13:23 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 15 Feb 2004 23:13:23 -0500 Subject: [Gambas-user] configuring 0.84a In-Reply-To: <200402161120.46573.rizky@...225...> References: <200402161120.46573.rizky@...225...> Message-ID: <200402152313.23747.sourceforge-raindog2@...94...> On Sunday 15 February 2004 23:20, Rizky Tahara Shita wrote: > grep: /usr/lib/libpcre.la: No such file or directory > sed: can't read /usr/lib/libpcre.la: No such file or directory > libtool: link: `/usr/lib/libpcre.la' is not a valid libtool > archive make[6]: *** [lib.gb.qt.kde.html.la] Error 1 Looks like khtml requires pcre (Perl-Compatible Regular Expressions library) and somehow you installed the KDE includes without installing the pcre includes. Rob From rizky at ...225... Mon Feb 16 05:31:38 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Mon, 16 Feb 2004 11:31:38 +0700 Subject: [Gambas-user] configuring 0.84a In-Reply-To: <200402152313.23747.sourceforge-raindog2@...94...> References: <200402161120.46573.rizky@...225...> <200402152313.23747.sourceforge-raindog2@...94...> Message-ID: <200402161131.38815.rizky@...225...> On Monday 16 February 2004 11:13, Rob wrote: > On Sunday 15 February 2004 23:20, Rizky Tahara Shita wrote: > > grep: /usr/lib/libpcre.la: No such file or directory > > sed: can't read /usr/lib/libpcre.la: No such file or directory > > libtool: link: `/usr/lib/libpcre.la' is not a valid libtool > > archive make[6]: *** [lib.gb.qt.kde.html.la] Error 1 > > Looks like khtml requires pcre (Perl-Compatible Regular > Expressions library) and somehow you installed the KDE includes > without installing the pcre includes. > > Rob > ok.. i try to install pcre first... thank you rob... From rizky at ...225... Mon Feb 16 06:05:01 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Mon, 16 Feb 2004 12:05:01 +0700 Subject: [Gambas-user] lock the object Message-ID: <200402161205.01158.rizky@...225...> 1. sometimes i miss clicked on the ide, so the object that already i puts on the form in the right places moves... will you add a menu to lock the object ? 2. when we designing the object and already have codes we don't know easly which one of the event that already we write the code. we must open the code then we know which event on that object that already coded. what i mean is when in the designing mode and right clicking on an object, please add bold to a menu that already has coded... From ronstk at ...239... Mon Feb 16 06:53:29 2004 From: ronstk at ...239... (ron) Date: Mon, 16 Feb 2004 06:53:29 +0100 Subject: [Gambas-user] lock the object In-Reply-To: <200402161205.01158.rizky@...225...> References: <200402161205.01158.rizky@...225...> Message-ID: <200402160653.29653.ronstk@...239...> On Monday 16 February 2004 06:05, Rizky Tahara Shita wrote: > 1. sometimes i miss clicked on the ide, so the object that already i puts > on the form in the right places moves... will you add a menu to lock the > object ? > > 2. when we designing the object and already have codes we don't know easly > which one of the event that already we write the code. we must open the > code then we know which event on that object that already coded. what i > mean is when in the designing mode and right clicking on an object, please > add bold to a menu that already has coded... > I like idea the first one but Idea 2 is realy a good one. Bold or between some markers will help a lot. --- Ron From ronstk at ...239... Mon Feb 16 06:59:09 2004 From: ronstk at ...239... (ron) Date: Mon, 16 Feb 2004 06:59:09 +0100 Subject: [Gambas-user] This fu... MsgBox stills gets in the Background In-Reply-To: <200402152326.34982.Karl.Reinl@...9...> References: <200402152326.34982.Karl.Reinl@...9...> Message-ID: <200402160659.09096.ronstk@...239...> On Sunday 15 February 2004 23:26, Charlie Reinl wrote: > Salut Benoit, > > The Msgbox is still a Problem. > > It is realy user-unfriendly, if a popuped MsgBox, disappear behind a > Window, and the user is clicking around on this Window and finaly shot down > the application, because 'it is freezed' !!!!!!! > > And this is not only a pb. while working with the IDE. > > A Msgbox has to stay on the top of that window, and can't disappear behind, > while the user have had a click on that window. > > > Amicalement > Charlie > this happens with Konqueror also. I think it's a problem with the window manager, KDE or a problem of QT. May be a timer in the MsgBox that every second set it to Top can help or at least bring it one level up to the parent of this msgbox. Maybe Benoit can implement in the interpreter to do this. Than it will better than KDE/QT :=) Ron From olivier at ...289... Mon Feb 16 08:29:34 2004 From: olivier at ...289... (Coquet Olivier) Date: Mon, 16 Feb 2004 08:29:34 +0100 Subject: [Gambas-user] alxay problem with class and modules Message-ID: <1076916574.29033.3.camel@...293...> here is my code: ' Gambas class file ' ================== PUBLIC SUB test() PRINT "test" END ' Gambas module file ' ================== PUBLIC modu AS pop PUBLIC SUB Main() modu = NEW pop modu.test END when i run this, this say me than pop is a static class ??????? sorry but i don't undestant why, somebody can clearly explain me ??? regards olivier From lcliff at ...284... Mon Feb 16 09:32:13 2004 From: lcliff at ...284... (Luke Cliff) Date: Mon, 16 Feb 2004 18:32:13 +1000 Subject: [Gambas-user] ReDraw.... In-Reply-To: References: Message-ID: <4030800D.2090700@...284...> Hello Gambas.... I just had a thought about this redrawing problem I have, I thought about the Nivida card, and remembered I had over driven the Screen resolution for the video card.... The problem with gambas started just after I bought a new 17" monitor....and around about the time I also downloaded a newer version of gambas..... I have now reset the screen resolution back to a screen size supported by the video card... I've tried to "Cause" the redraw error in gambas, but so far, it's working fine.... Cheers :) Luke From gambas at ...1... Mon Feb 16 16:41:56 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 16 Feb 2004 16:41:56 +0100 Subject: [Gambas-user] my prog with gambas In-Reply-To: <1076872580.3484.4.camel@...280...> References: <1076872580.3484.4.camel@...280...> Message-ID: <200402161641.56190.gambas@...1...> On Sunday 15 February 2004 20:16, Ricky Helfgen wrote: > Hi to everybody, who can help me, > > I use gambas 84 a on Suse 9.0 and I have done a small perfect prog. But > after make executable it does not run.See Failure Picture on > attachement. > So what is happend ?? > > by Ricky Where did you install gambas ? Could you send me your project ? Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Mon Feb 16 16:43:37 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 16 Feb 2004 16:43:37 +0100 Subject: [Gambas-user] lock the object In-Reply-To: <200402160653.29653.ronstk@...239...> References: <200402161205.01158.rizky@...225...> <200402160653.29653.ronstk@...239...> Message-ID: <200402161643.37974.gambas@...1...> On Monday 16 February 2004 06:53, ron wrote: > On Monday 16 February 2004 06:05, Rizky Tahara Shita wrote: > > 1. sometimes i miss clicked on the ide, so the object that already i puts > > on the form in the right places moves... will you add a menu to lock the > > object ? > > > > 2. when we designing the object and already have codes we don't know > > easly which one of the event that already we write the code. we must open > > the code then we know which event on that object that already coded. what > > i mean is when in the designing mode and right clicking on an object, > > please add bold to a menu that already has coded... > > I like idea the first one but Idea 2 is realy a good one. > Bold or between some markers will help a lot. > If someone can tell me how to make a bold menu with QT, I will do it! -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Mon Feb 16 16:45:11 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 16 Feb 2004 16:45:11 +0100 Subject: [Gambas-user] ReDraw.... In-Reply-To: <4030800D.2090700@...284...> References: <4030800D.2090700@...284...> Message-ID: <200402161645.11480.gambas@...1...> On Monday 16 February 2004 09:32, Luke Cliff wrote: > Hello Gambas.... > I just had a thought about this redrawing problem I > have, I thought about the Nivida card, and remembered I had over driven > the Screen resolution for the video card.... The problem with gambas > started just after I bought a new 17" monitor....and around about the > time I also downloaded a newer version of gambas..... > > I have now reset the screen resolution back to a screen size supported > by the video card... I've tried to "Cause" the redraw error in gambas, > but so far, it's working fine.... > > Cheers :) > > Luke > I have just rewritten the editor so that it uses a QT 3 widget and not the old QT 2 widget anymore. I didn't see a redraw problem since, but time will say... Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Mon Feb 16 16:48:14 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 16 Feb 2004 16:48:14 +0100 Subject: [Gambas-user] alxay problem with class and modules In-Reply-To: <1076916574.29033.3.camel@...293...> References: <1076916574.29033.3.camel@...293...> Message-ID: <200402161648.14364.gambas@...1...> On Monday 16 February 2004 08:29, Coquet Olivier wrote: > here is my code: > > ' Gambas class file > ' ================== > PUBLIC SUB test() > > PRINT "test" > > > END > > ' Gambas module file > ' ================== > > PUBLIC modu AS pop > > PUBLIC SUB Main() > modu = NEW pop > modu.test > > END > > when i run this, this say me than pop is a static class ??????? > > sorry but i don't undestant why, somebody can clearly explain me ??? > > regards > olivier > If I can remember what I did ;-) a class without any dynamic variable is static and cannot be instanciated (what for ?) Regards, -- Benoit Minisini mailto:gambas at ...1... From oxleyd at ...364... Mon Feb 16 16:55:45 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Mon, 16 Feb 2004 16:55:45 +0100 Subject: [Gambas-user] 0.84 Upgrade In-Reply-To: <200402161648.14364.gambas@...1...> Message-ID: <200402161439.i1GEdFJE022045@...364...> Hi, Can someone tell me who to perform an upgrade to version 0.84 from 0.83? I installed from source rather than the RPM's. Thanks From olinux at ...289... Mon Feb 16 17:22:49 2004 From: olinux at ...289... (olivier coquet) Date: Mon, 16 Feb 2004 17:22:49 +0100 Subject: (Archive Copy) Re: [Gambas-user] alxay problem with class and modules In-Reply-To: <200402161648.14364.gambas@...1...> References: <1076916574.29033.3.camel@...293...> <200402161648.14364.gambas@...1...> Message-ID: <1076948569.7785.3.camel@...37...> this is funny lol.... i make my prog from a virgin project, i run,it's say me than it is a static class ! i check the gb.eval component in project property i run my project, and soudenly, the class is ok.... i uncheck yhe gb.eval component, i run, it's alway ok :=))))))) regards Olivier Le lun 16/02/2004 ?? 16:48, Benoit Minisini a ??crit : > On Monday 16 February 2004 08:29, Coquet Olivier wrote: > > here is my code: > > > > ' Gambas class file > > ' ================== > > PUBLIC SUB test() > > > > PRINT "test" > > > > > > END > > > > ' Gambas module file > > ' ================== > > > > PUBLIC modu AS pop > > > > PUBLIC SUB Main() > > modu = NEW pop > > modu.test > > > > END > > > > when i run this, this say me than pop is a static class ??????? > > > > sorry but i don't undestant why, somebody can clearly explain me ??? > > > > regards > > olivier > > > > If I can remember what I did ;-) a class without any dynamic variable is > static and cannot be instanciated (what for ?) > > Regards, From sourceforge-raindog2 at ...94... Mon Feb 16 18:06:00 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 16 Feb 2004 12:06:00 -0500 Subject: [Gambas-user] lock the object In-Reply-To: <200402161643.37974.gambas@...1...> References: <200402161205.01158.rizky@...225...> <200402160653.29653.ronstk@...239...> <200402161643.37974.gambas@...1...> Message-ID: <200402161206.00648.sourceforge-raindog2@...94...> On Monday 16 February 2004 10:43, Benoit Minisini wrote: > > I like idea the first one but Idea 2 is realy a good one. > > Bold or between some markers will help a lot. > If someone can tell me how to make a bold menu with QT, I will > do it! I know Opera displays some menu items in bold, so it's definitely possible. My guess, though, is that they're using QCustomMenuItem: http://doc.trolltech.com/2.3/qcustommenuitem.html It seems to me the "Qt way" to call attention to items in a menu is to put a pixmap of some kind in the menu. Gambas can do that already so maybe the IDE should just do that. Rob From daniel.campos at ...338... Mon Feb 16 18:45:35 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Mon, 16 Feb 2004 18:45:35 +0100 Subject: [Gambas-user] 0.84 Upgrade In-Reply-To: <200402161439.i1GEdFJE022045@...364...> References: <200402161439.i1GEdFJE022045@...364...> Message-ID: <1076953515.4985.0.camel@...40...> El lun, 16-02-2004 a las 16:55, Daniel Oxley escribi?: > Hi, > > Can someone tell me who to perform an upgrade to version 0.84 from 0.83? I > installed from source rather than the RPM's. > > Thanks > Go to the old 0.83 sources folder, execute "make uninstall", then go to the new 0.84 sources folder and act as usual: ./configure make make install Regards, Daniel Campos > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From oxleyd at ...364... Mon Feb 16 18:47:46 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Mon, 16 Feb 2004 18:47:46 +0100 Subject: [Gambas-user] 0.84 Upgrade In-Reply-To: <1076953515.4985.0.camel@...40...> Message-ID: <200402161631.i1GGVGJE026323@...364...> I assume that the source folder was where I unpacked the tar file download. If so, what do I do if I have deleted the source folder? -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Daniel Campos Sent: 16 February 2004 18:46 To: gambas-user at lists.sourceforge.net Subject: Re: [Gambas-user] 0.84 Upgrade El lun, 16-02-2004 a las 16:55, Daniel Oxley escribi?: > Hi, > > Can someone tell me who to perform an upgrade to version 0.84 from 0.83? I > installed from source rather than the RPM's. > > Thanks > Go to the old 0.83 sources folder, execute "make uninstall", then go to the new 0.84 sources folder and act as usual: ./configure make make install Regards, Daniel Campos > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op?k _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From Karl.Reinl at ...9... Mon Feb 16 19:14:37 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 16 Feb 2004 19:14:37 +0100 Subject: [Gambas-user] gmd crashes on PostgreSQL Message-ID: <200402161914.37538.Karl.Reinl@...9...> Salut, for testing the changes I had made in gdm - FRequest with PostgreSQL. I installed PostgreSQL 7.3.4. But before I came to testing the gdm crashed while trying to show the table (DblClick on the table). 'Unsupported String Conversation' The screenshot is made from the orig. gmd which commes with gambas-0.84a, I set the line 266, so you can see where it happend. gentoo 1.4 , qt-3.1.2 , gcc 3.2.3 , KDE 3.1.4 , mysql 4.0.16 ,psql 7.3.4 Where I'm wrong, dit I made bad configurations on PostgreSQL, I only made it run ( the quick version) ? or is it the PostgreSQL Version ? Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot5.png Type: image/png Size: 76448 bytes Desc: not available URL: From Karl.Reinl at ...9... Mon Feb 16 20:03:10 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 16 Feb 2004 20:03:10 +0100 Subject: [Gambas-user] gmd crashes on PostgreSQL (1/2 solved) Message-ID: <200402162003.10233.Karl.Reinl@...9...> Salut, found out, 'Use Encoding (SQL_ASCII)' was set,if I switch that OFF I can view the tables. And test my changings. but is a no go to crash !!!!! Amicalement charlie From daniel.campos at ...338... Mon Feb 16 21:05:57 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Mon, 16 Feb 2004 21:05:57 +0100 Subject: [Gambas-user] 0.84 Upgrade In-Reply-To: <200402161631.i1GGVGJE026323@...364...> References: <200402161631.i1GGVGJE026323@...364...> Message-ID: <1076961939.17474.2.camel@...40...> El lun, 16-02-2004 a las 18:47, Daniel Oxley escribi?: > I assume that the source folder was where I unpacked the tar file download. > If so, what do I do if I have deleted the source folder? > try to unpack it again (if you still have the *.tar.bz2 file), use the same ./configure options, do "make uninstall" and install the new package. If you have not that tar.bz2, install directly the new package, if it does not work, then "make unisntall" on the new package and "install" again, most of times it works... > -----Original Message----- > From: gambas-user-admin at lists.sourceforge.net > [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Daniel Campos > Sent: 16 February 2004 18:46 > To: gambas-user at lists.sourceforge.net > Subject: Re: [Gambas-user] 0.84 Upgrade > > El lun, 16-02-2004 a las 16:55, Daniel Oxley escribi?: > > Hi, > > > > Can someone tell me who to perform an upgrade to version 0.84 from 0.83? > I > > installed from source rather than the RPM's. > > > > Thanks > > > > Go to the old 0.83 sources folder, execute "make uninstall", then > go to the new 0.84 sources folder and act as usual: > > /configure > make > make install > > Regards, > > Daniel Campos > > > > > > > > ------------------------------------------------------- > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > > Build and deploy apps & Web services for Linux with > > a free DVD software kit from IBM. Click Now! > > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id56&alloc_id438&op?k > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id56&alloc_id438&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From Karl.Reinl at ...9... Mon Feb 16 21:20:23 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 16 Feb 2004 21:20:23 +0100 Subject: [Gambas-user] TabStrip1_Click Message-ID: <200402162120.23277.Karl.Reinl@...9...> Salut, how can I know at TabStrip1_Click where I comme from (which Tab)? Amicalement Charlie From Karl.Reinl at ...9... Mon Feb 16 21:19:54 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 16 Feb 2004 21:19:54 +0100 Subject: [Gambas-user] gmd crashes on PostgreSQL (other 1/2 solved) Message-ID: <200402162119.54174.Karl.Reinl@...9...> Salut, I added the following PUBLIC SUB tbvData_Data(Row AS Integer, Column AS Integer) $rData.MoveTo(Row) IF $sCharset THEN tbvData.Data.Text = Conv(Str($rData[tbvData.Columns[Column].Text]), $sCharset, Desktop.Charset) ELSE tbvData.Data.Text = Str($rData[tbvData.Columns[Column].Text]) ENDIF CATCH ' Convert Error IF Error.code = 31 THEN LabelWarn.Visible=TRUE LabelWarn.Text = "Message.Error is up" Message.Error("[" & Error.code & "] " & Error.text & gb.newline & gb.newline & " try to switch off 'Use encoding (" & $sCharset & ")'") fmain.mnuUseDatabaseEncoding_Click() LabelWarn.Text = "" LabelWarn.Visible=FALSE ENDIF Error.clear END the following to catch the 'Unsupported String Conversation' Error. Amicalement Charlie to catch the 'Unsupported String Conversation' From sourceforge-raindog2 at ...94... Mon Feb 16 23:33:24 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 16 Feb 2004 17:33:24 -0500 Subject: [Gambas-user] TabStrip1_Click In-Reply-To: <200402162120.23277.Karl.Reinl@...9...> References: <200402162120.23277.Karl.Reinl@...9...> Message-ID: <200402161733.24954.sourceforge-raindog2@...94...> On Monday 16 February 2004 15:20, Charlie Reinl wrote: > how can I know at TabStrip1_Click where I comme from (which > Tab)? PUBLIC LastTab as integer ... SUB Form_Open() LastTab = TabStrip1.Index END ... Sub TabStrip1_Click() ' do something with LastTab, then: LastTab = TabStrip1.Index END Rob From ronstk at ...239... Mon Feb 16 20:18:52 2004 From: ronstk at ...239... (ron) Date: Mon, 16 Feb 2004 20:18:52 +0100 Subject: [Gambas-user] lock the object In-Reply-To: <200402161643.37974.gambas@...1...> References: <200402161205.01158.rizky@...225...> <200402160653.29653.ronstk@...239...> <200402161643.37974.gambas@...1...> Message-ID: <200402162018.52314.ronstk@...239...> On Monday 16 February 2004 16:43, Benoit Minisini wrote: > On Monday 16 February 2004 06:53, ron wrote: > > On Monday 16 February 2004 06:05, Rizky Tahara Shita wrote: > > > 1. sometimes i miss clicked on the ide, so the object that already i > > > puts on the form in the right places moves... will you add a menu to > > > lock the object ? > > > > > > 2. when we designing the object and already have codes we don't know > > > easly which one of the event that already we write the code. we must > > > open the code then we know which event on that object that already > > > coded. what i mean is when in the designing mode and right clicking on > > > an object, please add bold to a menu that already has coded... > > > > I like idea the first one but Idea 2 is realy a good one. > > Bold or between some markers will help a lot. > > If someone can tell me how to make a bold menu with QT, I will do it! I found in qmenudata.h class Q_EXPORT QMenuItem // internal menu item class { friend class QMenuData; public: QMenuItem(); ~QMenuItem(); int id() const { return ident; } QIconSet *iconSet() const { return iconset_data; } QString text() const { return text_data; } QString whatsThis() const { return whatsthis_data; } QPixmap *pixmap() const { return pixmap_data; } QPopupMenu *popup() const { return popup_menu; } QWidget *widget() const { return widget_item; } QCustomMenuItem *custom() const; #ifndef QT_NO_ACCEL QKeySequence key() const { return accel_key; } #endif class Q_EXPORT QCustomMenuItem : public Qt { public: QCustomMenuItem(); virtual ~QCustomMenuItem(); virtual bool fullSpan() const; virtual bool isSeparator() const; virtual void setFont( const QFont& font ); virtual void paint( QPainter* p, const QColorGroup& cg, bool act, bool enabled, int x, int y, int w, int h ) = 0; virtual QSize sizeHint() = 0; }; setFont is known if QCustomMenuItem() can be add to the menuitem in gambas Should I try my luck again as contribution? --- Ron From rizky at ...225... Tue Feb 17 03:22:10 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Tue, 17 Feb 2004 09:22:10 +0700 Subject: [Gambas-user] lock the object In-Reply-To: <200402161643.37974.gambas@...1...> References: <200402161205.01158.rizky@...225...> <200402160653.29653.ronstk@...239...> <200402161643.37974.gambas@...1...> Message-ID: <200402170922.10593.rizky@...225...> On Monday 16 February 2004 22:43, Benoit Minisini wrote: > On Monday 16 February 2004 06:53, ron wrote: > > On Monday 16 February 2004 06:05, Rizky Tahara Shita wrote: > > > 1. sometimes i miss clicked on the ide, so the object that already i > > > puts on the form in the right places moves... will you add a menu to > > > lock the object ? > > > > > > 2. when we designing the object and already have codes we don't know > > > easly which one of the event that already we write the code. we must > > > open the code then we know which event on that object that already > > > coded. what i mean is when in the designing mode and right clicking on > > > an object, please add bold to a menu that already has coded... > > > > I like idea the first one but Idea 2 is realy a good one. > > Bold or between some markers will help a lot. > > If someone can tell me how to make a bold menu with QT, I will do it! if it's to hard to make a bold menu, than a mark would be fine (may be a picture beside that menu ??). at least we know which event that already been coded... :) From ronstk at ...239... Mon Feb 16 20:27:46 2004 From: ronstk at ...239... (ron) Date: Mon, 16 Feb 2004 20:27:46 +0100 Subject: [Gambas-user] 0.84 Upgrade In-Reply-To: <200402161631.i1GGVGJE026323@...364...> References: <200402161631.i1GGVGJE026323@...364...> Message-ID: <200402162027.46576.ronstk@...239...> On Monday 16 February 2004 18:47, Daniel Oxley wrote: > I assume that the source folder was where I unpacked the tar file download. > If so, what do I do if I have deleted the source folder? > May be untar 0.83 again, (configure,make,make install and make uninstall) > -----Original Message----- > From: gambas-user-admin at lists.sourceforge.net > [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Daniel Campos > Sent: 16 February 2004 18:46 > To: gambas-user at lists.sourceforge.net > Subject: Re: [Gambas-user] 0.84 Upgrade > > El lun, 16-02-2004 a las 16:55, Daniel Oxley escribi?: > > Hi, > > > > Can someone tell me who to perform an upgrade to version 0.84 from 0.83? > > I > > > installed from source rather than the RPM's. > > > > Thanks > > Go to the old 0.83 sources folder, execute "make uninstall", then > go to the new 0.84 sources folder and act as usual: I am so bad, I untar simple, rename /opt/gambas and configure,make and makeinstall for 0.56....0.84a , so simple to go back if the new not works. --- Ron From ronstk at ...239... Mon Feb 16 20:32:04 2004 From: ronstk at ...239... (ron) Date: Mon, 16 Feb 2004 20:32:04 +0100 Subject: [Gambas-user] ReDraw.... In-Reply-To: <200402161645.11480.gambas@...1...> References: <4030800D.2090700@...284...> <200402161645.11480.gambas@...1...> Message-ID: <200402162032.04753.ronstk@...239...> On Monday 16 February 2004 16:45, Benoit Minisini wrote: > On Monday 16 February 2004 09:32, Luke Cliff wrote: > > Hello Gambas.... > > I just had a thought about this redrawing problem I > > have, I thought about the Nivida card, and remembered I had over driven > > the Screen resolution for the video card.... The problem with gambas > > started just after I bought a new 17" monitor....and around about the > > time I also downloaded a newer version of gambas..... > > > > I have now reset the screen resolution back to a screen size supported > > by the video card... I've tried to "Cause" the redraw error in gambas, > > but so far, it's working fine.... > > > > Cheers :) > > > > Luke > > I have just rewritten the editor so that it uses a QT 3 widget and not the > old QT 2 widget anymore. I didn't see a redraw problem since, but time will > say... > > Regards, I had just wrote about the QT 2 version. I hope it is available the next version. With a bit scrolling the text is back so I could live with it. --- Ron From na2492 at ...9... Tue Feb 17 09:15:46 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Tue, 17 Feb 2004 09:15:46 00100 Subject: [Gambas-user] 0.84 Upgrade Message-ID: <4031cdb2.5d45.0@...9...> >On Monday 16 February 2004 18:47, Daniel Oxley wrote: >> I assume that the source folder was where I unpacked the tar file download. >> If so, what do I do if I have deleted the source folder? >> > >May be untar 0.83 again, (configure,make,make install and make uninstall) > >> -----Original Message----- >> From: gambas-user-admin at lists.sourceforge.net >> [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Daniel Campos >> Sent: 16 February 2004 18:46 >> To: gambas-user at lists.sourceforge.net >> Subject: Re: [Gambas-user] 0.84 Upgrade >> >> El lun, 16-02-2004 a las 16:55, Daniel Oxley escribi?: >> > Hi, >> > >> > Can someone tell me who to perform an upgrade to version 0.84 from 0.83? >> >> I >> >> > installed from source rather than the RPM's. >> > >> > Thanks >> >> Go to the old 0.83 sources folder, execute "make uninstall", then >> go to the new 0.84 sources folder and act as usual: > >I am so bad, I untar simple, rename /opt/gambas and configure,make and >makeinstall for 0.56....0.84a , so simple to go back if the new not works. > >--- >Ron Salut, since I use gambas I work like that: 1. in my Folder /opt/gambas I copy the new gambas-version 2. cd to /opt/gambas 3. tar -xvjf gambas-(Version).tar.bz2 (this creats a new Folder /opt/gambas/gambas-(Version) like last version = /opt/gambas/gambas-0.84a 4. cd to /opt/gambas/gambas-(Version) 5. ./configure make su -c 'make install' This always update /opt/gambas/bin etc... If I want to go back to an older version for some reason, I cd to /opt/gambas/gambas-(older Version) and start su -c 'make install' Amicalemant Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From na2492 at ...9... Tue Feb 17 12:05:10 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Tue, 17 Feb 2004 12:05:10 00100 Subject: [Gambas-user] TabStrip1_Click Message-ID: <4031f566.5f25.0@...9...> >On Monday 16 February 2004 15:20, Charlie Reinl wrote: >> how can I know at TabStrip1_Click where I comme from (which >> Tab)? > >PUBLIC LastTab as integer > >... > >SUB Form_Open() > LastTab = TabStrip1.Index >END > >... > >Sub TabStrip1_Click() > ' do something with LastTab, then: > LastTab = TabStrip1.Index >END > >Rob Salut Rob, when I ask, I meant if there is a property or an event where I can read the last Tab in use or like in other TapStrip_Click where it commes as argument like Sub TabStrip1_Click(prev as integer) Thanks Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From ronstk at ...239... Tue Feb 17 12:39:45 2004 From: ronstk at ...239... (ron) Date: Tue, 17 Feb 2004 12:39:45 +0100 Subject: [Gambas-user] TabStrip1_Click In-Reply-To: <4031f566.5f25.0@...9...> References: <4031f566.5f25.0@...9...> Message-ID: <200402171239.45457.ronstk@...239...> On Tuesday 17 February 2004 13:05, na2492 at ...9... wrote: > >On Monday 16 February 2004 15:20, Charlie Reinl wrote: > >> how can I know at TabStrip1_Click where I comme from (which > >> Tab)? > > > >PUBLIC LastTab as integer > > > >... > > > >SUB Form_Open() > > LastTab = TabStrip1.Index > >END > > > >... > > > >Sub TabStrip1_Click() > > ' do something with LastTab, then: IF LastTab<>TabStrip1.Index THEN ' here you should finish operation on previous tab ' Saving the information i.e END ' setup information wich can be updated in past time ' into the controls on this Tab IF TabStrip1.Index=0 THEN do_this( TabStrip1.Current ) IF TabStrip1.Index=1 THEN do_other() > > LastTab = TabStrip1.Index ' and final set the variable LastTab with the current index ' as variable you can use the .Tag as storage area :) > >END > > > >Rob > > Salut Rob, > > when I ask, I meant if there is a property or an event where I can read > the last Tab in use or like in other TapStrip_Click where it commes > as argument > like Sub TabStrip1_Click(prev as integer) > > Thanks > Charlie An other way is to use the _MouseDown event. At this event the .Index has the old index number The _Click occurs only if there is choosen another tab but the down works every time. --- Ron You can From gambas at ...1... Tue Feb 17 20:07:43 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 17 Feb 2004 20:07:43 +0100 Subject: [Gambas-user] gmd crashes on PostgreSQL (other 1/2 solved) In-Reply-To: <200402162119.54174.Karl.Reinl@...9...> References: <200402162119.54174.Karl.Reinl@...9...> Message-ID: <200402172007.43478.gambas@...1...> On Monday 16 February 2004 21:19, Charlie Reinl wrote: > Salut, > > I added the following > > PUBLIC SUB tbvData_Data(Row AS Integer, Column AS Integer) > $rData.MoveTo(Row) > IF $sCharset THEN > tbvData.Data.Text = Conv(Str($rData[tbvData.Columns[Column].Text]), > $sCharset, Desktop.Charset) > ELSE > tbvData.Data.Text = Str($rData[tbvData.Columns[Column].Text]) > ENDIF > CATCH > ' Convert Error > IF Error.code = 31 THEN > LabelWarn.Visible=TRUE > LabelWarn.Text = "Message.Error is up" > Message.Error("[" & Error.code & "] " & Error.text & gb.newline & > gb.newline & " try to switch off 'Use encoding (" & $sCharset & ")'") > fmain.mnuUseDatabaseEncoding_Click() > LabelWarn.Text = "" > LabelWarn.Visible=FALSE > ENDIF > Error.clear > END > > the following to catch the 'Unsupported String Conversation' Error. > > Amicalement > Charlie > > to catch the 'Unsupported String Conversation' > One should check if 'SQL_ASCII' means actually 'ASCII'. If it does, then the gdbm could translate 'SQL_ASCII' into 'ASCII' itself, so that Conv$() works. -- Benoit Minisini mailto:gambas at ...1... From danielcampos at ...282... Tue Feb 17 20:21:48 2004 From: danielcampos at ...282... (Daniel Campos) Date: Tue, 17 Feb 2004 20:21:48 +0100 Subject: [Gambas-user] Zlib Message-ID: <1077045600.6213.7.camel@...40...> Hi: I'm at 'network' hollydays now, so I'm writting a ZLIB wrapper ( http://www.gzip.org/zlib ) to relax a little. By now, it has a class 'ZStream' to allow read and write from gzippez files directly as if it were usual files. I can not use 'OPEN' stream method by now, as it does not accept my object as a valid 'FILE?', but the rest of streams methods works. Once you untar this file, copy 'zlib' folder to {gambas sources}/src/lib , then copy attacheed configure.in to replace current gambas configure.in, type ./reconf, and ./configure with your usual options, go to {gambas sources}/src/lib/zlib, do 'make' and 'make install'. You have also a very little example at zlib/example Regards, Daniel Campos -- Daniel Campos -------------- next part -------------- A non-text attachment was scrubbed... Name: zlib.tar.gz Type: application/x-compressed-tar Size: 5160 bytes Desc: not available URL: -------------- next part -------------- dnl --------------------------------- dnl dnl configure.in for Gambas dnl (c) Beno?t Minisini 2000-2003 dnl dnl --------------------------------- dnl ---- Initialization AC_INIT(src/share/gambas.h) AM_MAINTAINER_MODE AC_CONFIG_SUBDIRS(libltdl) AM_CONFIG_HEADER(config.h) AM_INIT_AUTOMAKE(gambas, 0.84a) AC_PREFIX_DEFAULT(/opt/gambas) AC_DISABLE_STATIC AC_CANONICAL_HOST dnl ---- Checks for programs AC_PROG_CC AC_PROG_CPP AC_PROG_CXX AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_MAKE_SET dnl ---- Checks for header files. AC_HEADER_DIRENT AC_HEADER_STDC AC_HEADER_SYS_WAIT AC_CHECK_HEADERS(fcntl.h limits.h malloc.h strings.h sys/ioctl.h sys/time.h unistd.h) dnl ---- Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_TYPE_PID_T AC_TYPE_SIZE_T AC_HEADER_TIME AC_STRUCT_TM dnl ---- Checks for library functions. AC_FUNC_ALLOCA AC_PROG_GCC_TRADITIONAL AC_TYPE_SIGNAL AC_FUNC_STRCOLL AC_FUNC_STRFTIME AC_FUNC_VPRINTF AC_FUNC_WAIT3 AC_CHECK_FUNCS(getcwd gettimeofday mkdir rmdir select socket strdup strerror strtod strtol) AC_REPLACE_FUNCS(setenv unsetenv) dnl ---- Support for libltdl AC_LIBTOOL_DLOPEN AC_LIBLTDL_CONVENIENCE AC_PROG_LIBTOOL AC_SUBST(INCLTDL) AC_SUBST(LIBLTDL) LD_FLAGS=-no-undefined AC_SUBST(LD_FLAGS) dnl ---- Checks for libraries AC_CHECK_LIB(m, main, echo -n) AC_CHECK_LIB(z, main, echo -n) C_LIB=-lc AC_SUBST(C_LIB) AC_CHECK_LIB(gcc_s, main, CXX_LIB="$CXX_LIB -lgcc_s") AC_CHECK_LIB(stdc++, main, CXX_LIB="$CXX_LIB -lstdc++") AC_SUBST(CXX_LIB) dnl ---- Check for shared library extension GB_SHARED_LIBRARY_EXT() dnl ---- Check for threading GB_THREAD() dnl ---- Check for internationalization library GB_COMPONENT( intl, INTL, [internationalization library (if not present in C library)], [GB_FIND(libintl.h, /usr/local /usr, include)], [GB_FIND(libintl.$SHLIBEXT, /usr/local /usr, lib)], [-lintl]) dnl ---- Check for charset conversion library GB_COMPONENT( conv, CONV, [charset conversion library (if not present in C library)], [GB_FIND(iconv.h, /usr/local /usr, include)], [GB_FIND(libiconv.$SHLIBEXT, /usr/local /usr, lib)], [-liconv]) dnl ---- Checks for components GB_COMPONENT( qt, QT, [QT component], [GB_FIND(qptrlist.h, /usr/lib /usr/local /usr/X11 /usr/X11R6 /usr, include qt*/include qt/*/include)], [GB_FIND(libqt-mt.$SHLIBEXT, /usr/local /usr/qt /usr/qt/* /usr/X11 /usr/X11R6 /usr, lib, libqt-mt.so.3)], [$CXX_LIB $THREAD_LIB $X_LIBS -lqt-mt], [$THREAD_INC]) if test "$have_qt"="yes"; then AC_PATH_X AC_PATH_XTRA AC_CHECK_LIB(X11, XOpenDisplay, echo -n, AC_MSG_ERROR([*** libX11 not found. Check 'config.log' for more details.]), $X_LIBS) AC_CHECK_LIB(Xext, XShmAttach, echo -n, AC_MSG_ERROR([*** libXext not found. Check 'config.log' for more details.]), $X_LIBS) dnl AC_MSG_CHECKING(for QT meta-object compiler) AC_PATH_QT_MOC($QT_PATH) GB_COMPONENT( kde, KDE, [KDE 3.x component], [GB_FIND(kapplication.h, `kde-config --prefix 2> /dev/null`, include)], [GB_FIND(libkdecore.$SHLIBEXT, `kde-config --prefix 2> /dev/null`, lib)], [-lkdecore -lkdeui -lDCOP -lkio]) fi dnl ---- Networking component GB_COMPONENT( net, NET, [Networking component], [], [], [$C_LIB $THREAD_LIB], [$THREAD_INC]) dnl ---- Advanced networking component GB_COMPONENT( curl, CURL, [Advanced networking component], [GB_FIND(curl.h, `curl-config --prefix 2> /dev/null`, include)], [GB_FIND(libcurl.$SHLIBEXT, `curl-config --prefix 2> /dev/null`, lib)], [$C_LIB `curl-config --libs 2> /dev/null`]) dnl ---- Database components GB_COMPONENT( postgresql, PGSQL, [PostgreSQL driver], [GB_FIND(libpq-fe.h postgres.h pg_type.h, /usr/lib /usr/local /usr /opt, include/pgsql* pgsql*/include include/postgresql* postgresql*/include include)], [GB_FIND(libpq.$SHLIBEXT, /usr/local /usr /opt, lib pgsql*/lib postgresql*/lib)], [$C_LIB -lpq]) GB_COMPONENT( mysql, MYSQL, [MySQL driver], [GB_FIND(mysql.h my_config.h, /usr/lib /usr/local /opt /usr, include mysql*/include)], [GB_FIND(libmysqlclient.$SHLIBEXT, /usr/local /opt /usr, lib mysql*/lib)], [$C_LIB -lmysqlclient -lz]) dnl ---- SDL component needs: libvorbisfile.la libsmpeg.la libogg.la GB_COMPONENT( sdl, SDL, [SDL component], [GB_FIND(SDL.h SDL_mixer.h, /usr/local /usr, include SDL*/include include/SDL*)], [GB_FIND(libSDL.$SHLIBEXT libSDL_mixer.$SHLIBEXT, /usr/local /usr, lib SDL*/lib lib/SDL*)], [$C_LIB $THREAD_LIB -lSDL -lSDL_mixer], [$THREAD_INC]) dnl ---- VB component GB_COMPONENT( vb, VB, [Visual Basic compatibility component], [], [], [$C_LIB $THREAD_LIB], [$THREAD_INC]) dnl ---- Zlib component GB_COMPONENT( zlib, ZLIB, [ZLIB wrapper], [], [], [$C_LIB], []) dnl ---- Other options AC_ARG_ENABLE( debug, [ --enable-debug compile for debugging (default: yes)], gambas_debug=$enableval, gambas_debug=yes ) AM_CONDITIONAL(DEBUG, test "$gambas_debug" = yes) AC_ARG_ENABLE( optimization, [ --enable-optimization compile with optimizations (default: no)], gambas_optimization=$enableval, gambas_optimization=no ) AM_CONDITIONAL(OPTIMIZE, test "$gambas_optimization" = yes) AC_ARG_ENABLE( profiling, [ --enable-profiling compile with profiling (default: no)], gambas_prof=$enableval, gambas_prof=no ) AC_ARG_ENABLE( preloading, [ --enable-preloading enable preloading (default: yes)], gambas_preloading=$enableval, gambas_preloading=yes ) if test "$gambas_preloading" = "yes"; then AC_DEFINE(DO_PRELOADING, 1, allows shared library preloading ) fi CFLAGS="$CFLAGS -pipe -Wall" CXXFLAGS="$CXXFLAGS -pipe -Wall -fno-exceptions" if test "$gambas_prof" = "yes"; then CFLAGS="$CFLAGS -pg" CXXFLAGS="$CXXFLAGS -pg" # if test "$gambas_optimization" = "yes"; then # echo -e "\n**** Warning: --enable-profiling implies --disable-optimization\n" # gambas_optimization="no"; # fi fi if test "$gambas_debug" = "yes"; then CFLAGS="$CFLAGS -g" CXXFLAGS="$CXXFLAGS -g" fi # gambas_flag="-O2 -fstrength-reduce -frerun-loop-opt -fexpensive-optimizations -fschedule-insns2 -funroll-loops" # gambas_flags="$gambas_flags -fno-strict-aliasing -falign-loops=2 -falign-jumps=2" # gambas_flags="$gambas_flags -falign-functions=2 -ffast-math" if test "$gambas_prof" = "no"; then gambas_flags="$gambas_flags -fomit-frame-pointer" fi if test "x$gambas_optimization" = "xyes"; then CFLAGS="$CFLAGS -Os" CXXFLAGS="$CXXFLAGS -Os" else CFLAGS="$CFLAGS -O0" CXXFLAGS="$CXXFLAGS -O0" fi dnl ---- Create makefiles AC_OUTPUT( \ Makefile \ src/Makefile \ src/share/Makefile \ src/comp/Makefile \ src/exec/Makefile \ src/lib/Makefile \ src/lib/eval/Makefile \ src/lib/example/Makefile \ src/lib/qt/Makefile \ src/lib/qt/editor/Makefile \ src/lib/qt/ext/Makefile \ src/lib/qt/kde/Makefile \ src/lib/qt/kde/html/Makefile \ src/lib/db/Makefile \ src/lib/db/mysql/Makefile \ src/lib/db/postgresql/Makefile \ src/lib/sdl/Makefile \ src/lib/zlib/Makefile \ src/lib/net/Makefile \ src/lib/net/curl/Makefile \ src/lib/vb/Makefile \ ) From karl.reinl at ...9... Tue Feb 17 20:54:59 2004 From: karl.reinl at ...9... (Charlie) Date: Tue, 17 Feb 2004 20:54:59 +0100 Subject: [Gambas-user] gmd crashes on PostgreSQL (other 1/2 solved) References: <200402162119.54174.Karl.Reinl@...9...> <200402172007.43478.gambas@...1...> Message-ID: <40327193.6070702@...9...> Benoit Minisini schrieb: >On Monday 16 February 2004 21:19, Charlie Reinl wrote: > > >>Salut, >> >>I added the following >> >>PUBLIC SUB tbvData_Data(Row AS Integer, Column AS Integer) >> $rData.MoveTo(Row) >> IF $sCharset THEN >> tbvData.Data.Text = Conv(Str($rData[tbvData.Columns[Column].Text]), >>$sCharset, Desktop.Charset) >> ELSE >> tbvData.Data.Text = Str($rData[tbvData.Columns[Column].Text]) >> ENDIF >> CATCH >> ' Convert Error >> IF Error.code = 31 THEN >> LabelWarn.Visible=TRUE >> LabelWarn.Text = "Message.Error is up" >> Message.Error("[" & Error.code & "] " & Error.text & gb.newline & >>gb.newline & " try to switch off 'Use encoding (" & $sCharset & ")'") >> fmain.mnuUseDatabaseEncoding_Click() >> LabelWarn.Text = "" >> LabelWarn.Visible=FALSE >> ENDIF >> Error.clear >>END >> >>the following to catch the 'Unsupported String Conversation' Error. >> >>Amicalement >>Charlie >> >>to catch the 'Unsupported String Conversation' >> >> >> > >One should check if 'SQL_ASCII' means actually 'ASCII'. If it does, then the >gdbm could translate 'SQL_ASCII' into 'ASCII' itself, so that Conv$() works. > > > Salut, if you tell me what you mean if 'SQL_ASCII' means actually 'ASCII' I can try it, but till now I don't understand. I use psql since yesterday, I made it running, because I'm able to read, thats all. For checking "if 'SQL_ASCII' means actually 'ASCII'" I need more informations. Amicalement Charlie From Karl.Reinl at ...9... Tue Feb 17 19:58:15 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Tue, 17 Feb 2004 19:58:15 +0100 Subject: [Gambas-user] Does anybody know that ? Message-ID: <200402171958.15184.Karl.Reinl@...9...> Salut, whene I start gambas from a xshell, I allways get this message: QFont::setPointSize: Point size <= 0 (-2) I know that something could be better, but how do ?? Amicalement Charlie From dimitribellini at ...69... Tue Feb 17 23:37:59 2004 From: dimitribellini at ...69... (Dimitri Bellini) Date: Tue, 17 Feb 2004 22:37:59 +0000 Subject: [Gambas-user] Zlib In-Reply-To: <1077045600.6213.7.camel@...40...> References: <1077045600.6213.7.camel@...40...> Message-ID: <200402172238.00247.dimitribellini@...69...> Dear Daniel very usefull function i hope in future integration in gambas. Thanks in advance Dimitri On Tuesday 17 February 2004 19:21, Daniel Campos wrote: > Hi: > > I'm at 'network' hollydays now, so I'm writting a ZLIB wrapper > ( http://www.gzip.org/zlib ) to relax a little. > > By now, it has a class 'ZStream' to allow read and write from > gzippez files directly as if it were usual files. > > I can not use 'OPEN' stream method by now, as it does not accept > my object as a valid 'FILE?', but the rest of streams methods > works. > > Once you untar this file, copy 'zlib' folder to {gambas sources}/src/lib > , then copy attacheed configure.in to replace current gambas > configure.in, type ./reconf, and ./configure with your usual > options, go to {gambas sources}/src/lib/zlib, do 'make' and 'make > install'. > > You have also a very little example at zlib/example > > Regards, > > Daniel Campos From ronstk at ...239... Tue Feb 17 22:58:18 2004 From: ronstk at ...239... (ron) Date: Tue, 17 Feb 2004 22:58:18 +0100 Subject: [Gambas-user] gmd crashes on PostgreSQL (other 1/2 solved) In-Reply-To: <200402172007.43478.gambas@...1...> References: <200402162119.54174.Karl.Reinl@...9...> <200402172007.43478.gambas@...1...> Message-ID: <200402172258.19087.ronstk@...239...> On Tuesday 17 February 2004 20:07, Benoit Minisini wrote: > On Monday 16 February 2004 21:19, Charlie Reinl wrote: > > Salut, > > > > I added the following > > > > PUBLIC SUB tbvData_Data(Row AS Integer, Column AS Integer) > > $rData.MoveTo(Row) > > IF $sCharset THEN > > tbvData.Data.Text = Conv(Str($rData[tbvData.Columns[Column].Text]), > > $sCharset, Desktop.Charset) > > ELSE > > tbvData.Data.Text = Str($rData[tbvData.Columns[Column].Text]) > > ENDIF > > CATCH > > ' Convert Error > > IF Error.code = 31 THEN > > LabelWarn.Visible=TRUE > > LabelWarn.Text = "Message.Error is up" > > Message.Error("[" & Error.code & "] " & Error.text & gb.newline & > > gb.newline & " try to switch off 'Use encoding (" & $sCharset & ")'") > > fmain.mnuUseDatabaseEncoding_Click() > > LabelWarn.Text = "" > > LabelWarn.Visible=FALSE > > ENDIF > > Error.clear > > END > > > > the following to catch the 'Unsupported String Conversation' Error. > > > > Amicalement > > Charlie > > > > to catch the 'Unsupported String Conversation' > > One should check if 'SQL_ASCII' means actually 'ASCII'. If it does, then > the gdbm could translate 'SQL_ASCII' into 'ASCII' itself, so that Conv$() > works. ASCII in the beginning was 7 bit, 0x00 till 0x7f or 0 /127 with the first 32 as DeviceControlCodes, cr, lf, sot, eot, tab and ect. MS did expand this to the full 256 bytes and called this ASCII in there products and had the IBM graphical characters in it. ASCII extended at some time the first 32 could be, with a few exeptions, the foreign characters as ASCII-2. This was stable till M$ had need for more foreign cars for windows. M$ changed the ASCII standard again and told the people it was ASCII(?). This new set has for different languages different characters in the upper 128 bytes and can not be sorted in a safe way. I think SQL_ASCII is this equivalent to the ASCII-2 set else they could named simply ASCII. In the lower 128 bytes are i.e the French and German ascent/umlaut chars and are not language specific. The Chargen ROM's for ASCII-1 and -2 stay the same for different languages. Only the upper part was different but replaced with the codepage in windows. ------------------ I found for pg next page, it handles about the this encoding. http://www.phphub.com/postgres_manual/index.php?p=multibyte.html 7.2.3. Automatic encoding conversion between server and client It looks to me SQL_ASCII is a pg title. http://www.postgresql.org/docs/7.4/interactive/functions-string.html Table 9-8. Built-in Conversions ------------------------- For MySQL I found 13.2.3 CREATE DATABASE Syntax CREATE DATABASE [IF NOT EXISTS] db_name [create_specification [, create_specification] ...] create_specification: [DEFAULT] CHARACTER SET charset_name | [DEFAULT] COLLATE collation_name and a example with create database wickedness CHARACTER SET utf8; Now the question for the list of charset_name's page 5.7.1 One can specify this by putting in a MySQL option file: [client] character-sets-dir=/usr/local/mysql/share/mysql/charsets where the path points to the directory in which the dynamic MySQL character sets are stored. One can force the client to use specific character set by specifying: [client] default-character-set=character-set-name These names are not the same between postgres and mysql. From oxleyd at ...364... Wed Feb 18 09:01:02 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Wed, 18 Feb 2004 09:01:02 +0100 Subject: [Gambas-user] Autocomplete In-Reply-To: <1077045600.6213.7.camel@...40...> Message-ID: <200402180644.i1I6iSJE023561@...364...> Hi, just a quick question. Does anyone know if the excellent code-completion feature will be added to Gambas? The one where as you are typing (e.g. form.widget. ) a drop down box appears with all the possible properties or options for your code. I think Gambas is excellent but I love this feature from MS VB and other Linux IDE's. Thanks. From frrudolph at ...339... Wed Feb 18 09:21:44 2004 From: frrudolph at ...339... (Frank Rudolph) Date: Wed, 18 Feb 2004 09:21:44 +0100 Subject: [Gambas-user] OT User Digest 531 - 532 Message-ID: <40332098.6070305@...339...> Hello is it possible that anyone send me Gambas User Digest 531 and 532? I know there is a archive.... but i feel better with all the mails in my postoffice. thanks Frank :-) From vbtricks at ...365... Wed Feb 18 14:16:50 2004 From: vbtricks at ...365... (VBTricks.de.vu Webmaster) Date: Wed, 18 Feb 2004 14:16:50 +0100 Subject: [Gambas-user] Having problems compiling Gambas Message-ID: <403365C2.8020701@...365...> I'm using a Debian distribution (Knoppix 3.4) and want to install Gambas. But the execution of "./configure" returns: "*** libX11 not found" but according to Synaptic "libx11-6" is installed. What am I doing wrong? (Sorry, I'm a completely Linux-Newbie) Stefan From sourceforge-raindog2 at ...94... Wed Feb 18 14:03:54 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 18 Feb 2004 08:03:54 -0500 Subject: [Gambas-user] Autocomplete In-Reply-To: <200402180644.i1I6iSJE023561@...364...> References: <200402180644.i1I6iSJE023561@...364...> Message-ID: <200402180803.54241.sourceforge-raindog2@...94...> On Wednesday 18 February 2004 03:01, Daniel Oxley wrote: > Hi, just a quick question. Does anyone know if the excellent > code-completion feature will be added to Gambas? The one > where as you are typing (e.g. form.widget. ) a drop down box > appears with all the possible properties or options for your > code. It won't make 1.0, but I would bet it won't be too long after that. Rob From oxleyd at ...364... Wed Feb 18 15:14:11 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Wed, 18 Feb 2004 15:14:11 +0100 Subject: [Gambas-user] Autocomplete In-Reply-To: <200402180803.54241.sourceforge-raindog2@...94...> Message-ID: <200402181257.i1ICvbJE006035@...364...> Does this mean that it is a feature that is planned to be implemented? Any ideas on when??!!!?? -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Rob Sent: 18 February 2004 14:04 To: gambas-user at lists.sourceforge.net Subject: Re: [Gambas-user] Autocomplete On Wednesday 18 February 2004 03:01, Daniel Oxley wrote: > Hi, just a quick question. Does anyone know if the excellent > code-completion feature will be added to Gambas? The one > where as you are typing (e.g. form.widget. ) a drop down box > appears with all the possible properties or options for your > code. It won't make 1.0, but I would bet it won't be too long after that. Rob ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From danielcampos at ...282... Wed Feb 18 15:13:49 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Wed, 18 Feb 2004 15:13:49 CET Subject: [Gambas-user] Having problems compiling Gambas Message-ID: >but according to Synaptic "libx11-6" is installed. > >What am I doing wrong? >(Sorry, I'm a completely Linux-Newbie) > If you want to compile a program you need both libraries and developement packages, that is, the "libx11-6" and the "libx11-6-devel" packages, which contains headers needed to compile the program. You probably have "libx11" in your system, but not "libx11-devel". (However I don't know if this is exactly the name of that package in Debian, as I only use RPM based distributions) Regards, Daniel Campos ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From sourceforge-raindog2 at ...94... Wed Feb 18 15:46:12 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 18 Feb 2004 09:46:12 -0500 Subject: [Gambas-user] Autocomplete In-Reply-To: <200402181257.i1ICvbJE006035@...364...> References: <200402181257.i1ICvbJE006035@...364...> Message-ID: <200402180946.12558.sourceforge-raindog2@...94...> Well, either really soon, if you or I or someone else implements it and sends a patch in ;) or sometime after 1.0 and before 2.0 if Benoit has to do it himself (as of a post he made February 3.) It seems to me that someone has already released a proof of concept version of the IDE with syntax completion, similar to my half-done MDI version of the IDE from last year, but now I can't find it. Rob On Wednesday 18 February 2004 09:14, Daniel Oxley wrote: > Does this mean that it is a feature that is planned to be > implemented? Any ideas on when??!!!?? > > -----Original Message----- > From: gambas-user-admin at lists.sourceforge.net > [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of > Rob Sent: 18 February 2004 14:04 > To: gambas-user at lists.sourceforge.net > Subject: Re: [Gambas-user] Autocomplete > > On Wednesday 18 February 2004 03:01, Daniel Oxley wrote: > > Hi, just a quick question. Does anyone know if the > > excellent code-completion feature will be added to Gambas? > > The one where as you are typing (e.g. form.widget. ) a drop > > down box appears with all the possible properties or options > > for your code. > > It won't make 1.0, but I would bet it won't be too long after > that. > > Rob > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From oxleyd at ...364... Wed Feb 18 17:23:33 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Wed, 18 Feb 2004 17:23:33 +0100 Subject: [Gambas-user] Autocomplete In-Reply-To: <200402180946.12558.sourceforge-raindog2@...94...> Message-ID: <200402181506.i1IF6wJE011951@...364...> Thanks. Any ideas where I can get my hands of either of these? Also, to change the subject completely, has anyone ever managed to link to a SSH server with Gambas? Specifically for Secure FTP. -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Rob Sent: 18 February 2004 15:46 To: gambas-user at lists.sourceforge.net Subject: Re: [Gambas-user] Autocomplete Well, either really soon, if you or I or someone else implements it and sends a patch in ;) or sometime after 1.0 and before 2.0 if Benoit has to do it himself (as of a post he made February 3.) It seems to me that someone has already released a proof of concept version of the IDE with syntax completion, similar to my half-done MDI version of the IDE from last year, but now I can't find it. Rob On Wednesday 18 February 2004 09:14, Daniel Oxley wrote: > Does this mean that it is a feature that is planned to be > implemented? Any ideas on when??!!!?? > > -----Original Message----- > From: gambas-user-admin at lists.sourceforge.net > [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of > Rob Sent: 18 February 2004 14:04 > To: gambas-user at lists.sourceforge.net > Subject: Re: [Gambas-user] Autocomplete > > On Wednesday 18 February 2004 03:01, Daniel Oxley wrote: > > Hi, just a quick question. Does anyone know if the > > excellent code-completion feature will be added to Gambas? > > The one where as you are typing (e.g. form.widget. ) a drop > > down box appears with all the possible properties or options > > for your code. > > It won't make 1.0, but I would bet it won't be too long after > that. > > Rob > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From daniel.campos at ...338... Wed Feb 18 21:02:55 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Wed, 18 Feb 2004 21:02:55 +0100 Subject: [Gambas-user] Autocomplete In-Reply-To: <200402181506.i1IF6wJE011951@...364...> References: <200402181506.i1IF6wJE011951@...364...> Message-ID: <1077134568.14261.0.camel@...40...> El mi?, 18-02-2004 a las 17:23, Daniel Oxley escribi?: > Thanks. Any ideas where I can get my hands of either of these? > > Also, to change the subject completely, has anyone ever managed to link to a > SSH server with Gambas? Specifically for Secure FTP. Yes, this is a part of my future work on 'net.curl' component. Daniel Campos > > -----Original Message----- > From: gambas-user-admin at lists.sourceforge.net > [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Rob > Sent: 18 February 2004 15:46 > To: gambas-user at lists.sourceforge.net > Subject: Re: [Gambas-user] Autocomplete > > Well, either really soon, if you or I or someone else implements > it and sends a patch in ;) or sometime after 1.0 and before 2.0 > if Benoit has to do it himself (as of a post he made February > 3.) > > It seems to me that someone has already released a proof of > concept version of the IDE with syntax completion, similar to my > half-done MDI version of the IDE from last year, but now I can't > find it. > > Rob > > On Wednesday 18 February 2004 09:14, Daniel Oxley wrote: > > Does this mean that it is a feature that is planned to be > > implemented? Any ideas on when??!!!?? > > > > -----Original Message----- > > From: gambas-user-admin at lists.sourceforge.net > > [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of > > Rob Sent: 18 February 2004 14:04 > > To: gambas-user at lists.sourceforge.net > > Subject: Re: [Gambas-user] Autocomplete > > > > On Wednesday 18 February 2004 03:01, Daniel Oxley wrote: > > > Hi, just a quick question. Does anyone know if the > > > excellent code-completion feature will be added to Gambas? > > > The one where as you are typing (e.g. form.widget. ) a drop > > > down box appears with all the possible properties or options > > > for your code. > > > > It won't make 1.0, but I would bet it won't be too long after > > that. > > > > Rob > > > > > > > > ------------------------------------------------------- > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > > Build and deploy apps & Web services for Linux with > > a free DVD software kit from IBM. Click Now! > > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > ------------------------------------------------------- > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > > Build and deploy apps & Web services for Linux with > > a free DVD software kit from IBM. Click Now! > > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From ronstk at ...239... Wed Feb 18 18:59:44 2004 From: ronstk at ...239... (ron) Date: Wed, 18 Feb 2004 18:59:44 +0100 Subject: [Gambas-user] Autocomplete In-Reply-To: <200402180946.12558.sourceforge-raindog2@...94...> References: <200402181257.i1ICvbJE006035@...364...> <200402180946.12558.sourceforge-raindog2@...94...> Message-ID: <200402181859.44181.ronstk@...239...> On Wednesday 18 February 2004 15:46, Rob wrote: > Well, either really soon, if you or I or someone else implements > it and sends a patch in ;) or sometime after 1.0 and before 2.0 > if Benoit has to do it himself (as of a post he made February > 3.) > > It seems to me that someone has already released a proof of > concept version of the IDE with syntax completion, similar to my > half-done MDI version of the IDE from last year, but now I can't > find it. > > Rob I have download it from you site rob in the past 2 weeks. If you want it I still have it but it wil not work anymore. Rename and changes in gambas done after this version. :) Ron From sourceforge-raindog2 at ...94... Thu Feb 19 00:35:36 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 18 Feb 2004 18:35:36 -0500 Subject: [Gambas-user] Autocomplete In-Reply-To: <200402181506.i1IF6wJE011951@...364...> References: <200402181506.i1IF6wJE011951@...364...> Message-ID: <200402181835.36351.sourceforge-raindog2@...94...> On Wednesday 18 February 2004 11:23, Daniel Oxley wrote: > Thanks. Any ideas where I can get my hands of either of > these? The autocomplete thing would be in the Gambas-user or Gambas-devel mail archives somewhere... I'll try to look for it tonight, assuming it wasn't a figment of my imagination. You can get the MDI hack that I did at http://www.kudla.org somewhere (link on the left hand side of the page) but there's no way it'll work with current Gambas versions as I wrote it against the very first Gambas version with an MDI control (maybe 0.57.) It is also quite rough, and Benoit said a month or two ago that he hopes to move Gambas to an MDI model in a less hacky way than I did, also sometime after 1.0. Hey, it took VB until version 4.0 to get an MDI ;) Rob From sourceforge-raindog2 at ...94... Thu Feb 19 02:10:59 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 18 Feb 2004 20:10:59 -0500 Subject: [Gambas-user] Autocomplete In-Reply-To: <200402181859.44181.ronstk@...239...> References: <200402181257.i1ICvbJE006035@...364...> <200402180946.12558.sourceforge-raindog2@...94...> <200402181859.44181.ronstk@...239...> Message-ID: <200402182010.59087.sourceforge-raindog2@...94...> On Wednesday 18 February 2004 12:59, ron wrote: > I have download it from you site rob in the past 2 weeks. > If you want it I still have it but it wil not work anymore. > Rename and changes in gambas done after this version. :) Sorry, I may not have been speaking clearly. My MDI hack and the autocompletion thing are two separate items. I haven't yet tried to implement autocompletion myself, just seem to remember someone posting a modified IDE that had the start of it. I do have some experience floating controls over other Gambas controls in such a way as to look as if they're embedded (e.g. popping up a text field over a field of a ColumnView because you can normally only edit the first column) so it's something I may try eventually if no one else does, but enough other people seem interested in this (and I'm busy enough catching up with about a month's worth of lost work) that I have no concrete plans to do it. Rob From jochen.georges at ...22... Thu Feb 19 13:22:08 2004 From: jochen.georges at ...22... (Jochen Georges) Date: Thu, 19 Feb 2004 13:22:08 +0100 Subject: [Gambas-user] www.theeasygambasdoku.de Message-ID: <200402191322.08261.jochen.georges@...22...> hi gambas-gourmets, the side http://www.theeasygamgasdoku.de will be open until the end of 2004. Beste Gr?sse Jochen From vbtricks at ...365... Thu Feb 19 14:12:50 2004 From: vbtricks at ...365... (VBTricks.de.vu Webmaster) Date: Thu, 19 Feb 2004 14:12:50 +0100 Subject: [Gambas-user] Having problems starting gambas after installing it Message-ID: <4034B652.1090801@...365...> I compiled and installed gambas as described on the website, but when I try to start gambas in the shell by typing "gambas", the following error is displayed: "ERROR: #27: Cannot load component '/opt/gambas/lib/lib.gb.qt.so': /opt/gambas/lib/lib.gb.qt.so: cannot open shared object file: Datei oder Verzeichnis nicht gefunden" (File or folder not found) I'm very unfamiliar with Linux (Debian based Knoppix 3.4) and don't know how to solve this, can you help me? Stefan From gambas at ...1... Thu Feb 19 14:43:45 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 19 Feb 2004 14:43:45 +0100 Subject: [Gambas-user] Autocomplete In-Reply-To: <200402180803.54241.sourceforge-raindog2@...94...> References: <200402180644.i1I6iSJE023561@...364...> <200402180803.54241.sourceforge-raindog2@...94...> Message-ID: <200402191443.45905.gambas@...1...> On Wednesday 18 February 2004 14:03, Rob wrote: > On Wednesday 18 February 2004 03:01, Daniel Oxley wrote: > > Hi, just a quick question. Does anyone know if the excellent > > code-completion feature will be added to Gambas? The one > > where as you are typing (e.g. form.widget. ) a drop down box > > appears with all the possible properties or options for your > > code. > > It won't make 1.0, but I would bet it won't be too long after > that. > > Rob > Good news men :-) I'm currently working on automatic completion. But it will take a little time to do it, so be patient. At the moment, only datatype completion, i.e. when you type "AS" or "NEW", is working. Regards, -- Benoit Minisini mailto:gambas at ...1... From akrell at ...43... Thu Feb 19 15:01:43 2004 From: akrell at ...43... (adam krell) Date: Thu, 19 Feb 2004 06:01:43 -0800 (PST) Subject: [Gambas-user] Reading hex from a string socket read Message-ID: <20040219140143.76307.qmail@...366...> Hi, I am using the socket component to make a tcp connnection and read some data. The data needs to be decoded from hex. I'm doing that with this command: Dim TwoByteCode AS Integer TwoByteCode = Val(Str$(Asc(Mid$(Buffer,1,1))) & Str$(Asc(Mid$(Buffer,2,1)))) Is there a more efficient way to do this? If I am decoding a long string of data this can really slow down the program. Thanks, Adam __________________________________ Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. http://antispam.yahoo.com/tools From danielcampos at ...282... Thu Feb 19 15:22:30 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Thu, 19 Feb 2004 15:22:30 CET Subject: [Gambas-user] Reading hex from a string socket read Message-ID: >Hi, > >I am using the socket component to make a tcp >connnection and read some data. The data needs to be >decoded from hex. I'm doing that with this command: > >Dim TwoByteCode AS Integer > >TwoByteCode = Val(Str$(Asc(Mid$(Buffer,1,1))) & >Str$(Asc(Mid$(Buffer,2,1)))) > Could you send me any example of that string? I think the conversion you're doing does not really convert from hexadecimal format to Integer, for example: Hexadecimal "FF" (= decimal 255) Mid(Buffer,1,1)="F" Asc(--previous--)=70 Str(--previous--)="70" Val(--previous--)=70 --- With the other character: ... Val(--previous--)=70 Then you use "&" operator so the final result is: "7070" and then you assign it to a Integer so it is -7070- ??? I don't understand very well... Regards, Daniel Campos ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From oxleyd at ...364... Thu Feb 19 15:32:05 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Thu, 19 Feb 2004 15:32:05 +0100 Subject: [Gambas-user] Autocomplete In-Reply-To: <200402191443.45905.gambas@...1...> Message-ID: <200402191315.i1JDFRJE014365@...364...> This is excellent news. i believe this is the only 'killer' feature that is missing from this otherwise excellent application. -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Benoit Minisini Sent: 19 February 2004 14:44 To: gambas-user at lists.sourceforge.net Subject: Re: [Gambas-user] Autocomplete On Wednesday 18 February 2004 14:03, Rob wrote: > On Wednesday 18 February 2004 03:01, Daniel Oxley wrote: > > Hi, just a quick question. Does anyone know if the excellent > > code-completion feature will be added to Gambas? The one > > where as you are typing (e.g. form.widget. ) a drop down box > > appears with all the possible properties or options for your > > code. > > It won't make 1.0, but I would bet it won't be too long after > that. > > Rob > Good news men :-) I'm currently working on automatic completion. But it will take a little time to do it, so be patient. At the moment, only datatype completion, i.e. when you type "AS" or "NEW", is working. Regards, -- Benoit Minisini mailto:gambas at ...1... ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&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... Thu Feb 19 15:31:35 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 19 Feb 2004 09:31:35 -0500 Subject: [Gambas-user] Reading hex from a string socket read In-Reply-To: <20040219140143.76307.qmail@...366...> References: <20040219140143.76307.qmail@...366...> Message-ID: <200402190931.35837.sourceforge-raindog2@...94...> On Thursday 19 February 2004 09:01, adam krell wrote: > TwoByteCode = Val(Str$(Asc(Mid$(Buffer,1,1))) & > Str$(Asc(Mid$(Buffer,2,1)))) > Is there a more efficient way to do this? I'd think the following would work to build an int value from two bytes of binary data, high byte first: TwoByteCode = asc(mid$(buffer,1,1)) * 256 + asc(mid$(buffer,2,1)) But that's so different from what you're doing that I need to see an example of the input values you're looking at, and the expected value of TwoByteCode when you're done. I know eventually there'll need to be some kind of "pack/unpack" function set for Gambas because you need to go from binary to hex to integer (or array) a lot when dealing with legacy systems and ISO protocols. I don't think my C's up to that right now, though (maybe I can figure out how it works in perl and copy their code somehow.... ugh) Rob From oxleyd at ...364... Thu Feb 19 15:32:39 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Thu, 19 Feb 2004 15:32:39 +0100 Subject: [Gambas-user] SSH In-Reply-To: <200402191443.45905.gambas@...1...> Message-ID: <200402191316.i1JDG1JE014391@...364...> Has anyone ever tried to access a secure server (SSH), particularly secure ftp, by code in Gambas? From sourceforge-raindog2 at ...94... Thu Feb 19 15:50:36 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 19 Feb 2004 09:50:36 -0500 Subject: [Gambas-user] SSH In-Reply-To: <200402191316.i1JDG1JE014391@...364...> References: <200402191316.i1JDG1JE014391@...364...> Message-ID: <200402190950.36956.sourceforge-raindog2@...94...> On Thursday 19 February 2004 09:32, Daniel Oxley wrote: > Has anyone ever tried to access a secure server (SSH), > particularly secure ftp, by code in Gambas? I've done ssh (with public/private keys set up so there's no keyboard authentication) just by going shell "ssh somehost -l someuser" for read write as myprocess. Works great. I'm sure there'll be an openssh component someday but this has been fine for what I need now. And I would bet that you could use the sftp client the same way, and it might even work better with keyboard authentication. Some people may think it's clumsy to use client programs over pipes rather than writing a component, but the openssh suite does that itself to implement things like scp.... it just runs scp in the remote shell rather than having file copying support in the ssh daemon. Rob From ronstk at ...239... Thu Feb 19 16:46:27 2004 From: ronstk at ...239... (ron) Date: Thu, 19 Feb 2004 16:46:27 +0100 Subject: [Gambas-user] Reading hex from a string socket read In-Reply-To: <20040219140143.76307.qmail@...366...> References: <20040219140143.76307.qmail@...366...> Message-ID: <200402191646.28052.ronstk@...239...> On Thursday 19 February 2004 15:01, adam krell wrote: > Hi, > > I am using the socket component to make a tcp > connnection and read some data. The data needs to be > decoded from hex. I'm doing that with this command: > > Dim TwoByteCode AS Integer > > TwoByteCode = Val(Str$(Asc(Mid$(Buffer,1,1))) & > Str$(Asc(Mid$(Buffer,2,1)))) > > Is there a more efficient way to do this? If I am > decoding a long string of data this can really slow > down the program. > > Thanks, > > Adam > > __________________________________ > Do you Yahoo!? > Yahoo! Mail SpamGuard - Read only the mail you want. > http://antispam.yahoo.com/tools > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ' convert one character to the Hexadecimal value function AscHex(sChr as string) as integer return instr("0123456789ABCDEFG",ucase$(sString))-1 end ' same but for a two charcter string function AscByte(cChrs as string) as integer return AscHex(left$(cChrs))*16 +AscHex(right$(cChrs)) end ' or this way function AscByte(cChrs as string) as integer dim r as integer r = instr("0123456789ABCDEFG",ucase$(sString))-1) * 16 r = instr("0123456789ABCDEFG",ucase$(sString))-1 return r end ' do it for a n character string ' be carefull the value may exeed the integer range ' if the input string is to long function HexVal(sHex as string) as integer dim x as integer dim h as integer for x = 1 to len(cStr) h = h + AscHex(mid$(cStr,x,1))*16 next return H end function OtherWay(sHex as string) as integer dim r as integer dim c as integer r = 0 c = asc(cChr) if c>9 then c = c - 6 '<--- c=c-6 gives error r = (r * 16) + c The hint is using instr("0123456789ABCDEF")-1 for get a value and mid$("0123456789ABCDEF", X + 1, 1) to get the hex character for X Ron From oxleyd at ...364... Thu Feb 19 17:45:54 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Thu, 19 Feb 2004 17:45:54 +0100 Subject: [Gambas-user] SSH In-Reply-To: <200402190950.36956.sourceforge-raindog2@...94...> Message-ID: <200402191529.i1JFTGJE020815@...364...> But no direct action with Gambas? I know it's a long shot, but I have a component that works with Windoze, is there any way I could hack Gambas to get it to work? -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Rob Sent: 19 February 2004 15:51 To: gambas-user at lists.sourceforge.net Subject: Re: [Gambas-user] SSH On Thursday 19 February 2004 09:32, Daniel Oxley wrote: > Has anyone ever tried to access a secure server (SSH), > particularly secure ftp, by code in Gambas? I've done ssh (with public/private keys set up so there's no keyboard authentication) just by going shell "ssh somehost -l someuser" for read write as myprocess. Works great. I'm sure there'll be an openssh component someday but this has been fine for what I need now. And I would bet that you could use the sftp client the same way, and it might even work better with keyboard authentication. Some people may think it's clumsy to use client programs over pipes rather than writing a component, but the openssh suite does that itself to implement things like scp.... it just runs scp in the remote shell rather than having file copying support in the ssh daemon. Rob ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&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... Thu Feb 19 18:43:15 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 19 Feb 2004 12:43:15 -0500 Subject: [Gambas-user] SSH In-Reply-To: <200402191529.i1JFTGJE020815@...364...> References: <200402191529.i1JFTGJE020815@...364...> Message-ID: <200402191243.15469.sourceforge-raindog2@...94...> On Thursday 19 February 2004 11:45, Daniel Oxley wrote: > But no direct action with Gambas? I know it's a long shot, > but I have a component that works with Windoze, is there any > way I could hack Gambas to get it to work? Uhhh, it's entirely possible you could write some kind of winelib gambas component to use OCX's in gambas, but I am NOT going there. ;) Someone will eventually write a gb.net.openssh component for gambas. I'd figure out how and do it in the next month if you paid me to write it ;) (I don't like C very much, and there are only a few things that can motivate me to use it... one of which is money...) Rob From oxleyd at ...364... Thu Feb 19 18:48:06 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Thu, 19 Feb 2004 18:48:06 +0100 Subject: [Gambas-user] SSH In-Reply-To: <200402191243.15469.sourceforge-raindog2@...94...> Message-ID: <200402191631.i1JGVRJE024033@...364...> Lol! Sounds interesting but it all comes down to the price! You would not be willing to do it out of the kindness of your own heart ???!!! -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Rob Sent: 19 February 2004 18:43 To: gambas-user at lists.sourceforge.net Subject: Re: [Gambas-user] SSH On Thursday 19 February 2004 11:45, Daniel Oxley wrote: > But no direct action with Gambas? I know it's a long shot, > but I have a component that works with Windoze, is there any > way I could hack Gambas to get it to work? Uhhh, it's entirely possible you could write some kind of winelib gambas component to use OCX's in gambas, but I am NOT going there. ;) Someone will eventually write a gb.net.openssh component for gambas. I'd figure out how and do it in the next month if you paid me to write it ;) (I don't like C very much, and there are only a few things that can motivate me to use it... one of which is money...) Rob ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From daniel.campos at ...338... Thu Feb 19 18:31:02 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Thu, 19 Feb 2004 18:31:02 +0100 Subject: [Gambas-user] Reading hex from a string socket read In-Reply-To: <200402190931.35837.sourceforge-raindog2@...94...> References: <20040219140143.76307.qmail@...366...> <200402190931.35837.sourceforge-raindog2@...94...> Message-ID: <1077211858.2608.4.camel@...40...> > > I know eventually there'll need to be some kind of "pack/unpack" > function set for Gambas because you need to go from binary to > hex to integer (or array) a lot when dealing with legacy systems > and ISO protocols. I don't think my C's up to that right now, > though (maybe I can figure out how it works in perl and copy > their code somehow.... ugh) I could add four new static methods in the "Net" class: Integer to binary string and vice-versa: EncodeInteger (Number as Integer,Len as Integer) As Integer DecodeInteger (Number As String) As Integer Integer in network order to binary string and vice-versa: EncodeNetInt (Number as Integer,Len as Integer) As Integer DecodeNetInt (Number As String) As Integer Should it help? > > Rob > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&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... Thu Feb 19 19:10:54 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 19 Feb 2004 13:10:54 -0500 Subject: [Gambas-user] SSH In-Reply-To: <200402191631.i1JGVRJE024033@...364...> References: <200402191631.i1JGVRJE024033@...364...> Message-ID: <200402191310.54376.sourceforge-raindog2@...94...> On Thursday 19 February 2004 12:48, Daniel Oxley wrote: > Lol! Sounds interesting but it all comes down to the price! > You would not be willing to do it out of the kindness of your > own heart ???!!! Oh, I would definitely be willing.... just right at this moment, because of my schedule, not able. :) Rob From daniel.campos at ...338... Thu Feb 19 19:21:29 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Thu, 19 Feb 2004 19:21:29 +0100 Subject: [Gambas-user] SSH In-Reply-To: <200402191631.i1JGVRJE024033@...364...> References: <200402191631.i1JGVRJE024033@...364...> Message-ID: <1077214781.2606.7.camel@...40...> > > Someone will eventually write a gb.net.openssh component for > gambas. I'd figure out how and do it in the next month if you > paid me to write it ;) (I don't like C very much, and there are > only a few things that can motivate me to use it... one of which > is money...) Oh, well, then better pay to me, I like C very much and I've done a lot of work in the network component already :-) From sourceforge-raindog2 at ...94... Thu Feb 19 19:42:09 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 19 Feb 2004 13:42:09 -0500 Subject: [Gambas-user] SSH In-Reply-To: <1077214781.2606.7.camel@...40...> References: <200402191631.i1JGVRJE024033@...364...> <1077214781.2606.7.camel@...40...> Message-ID: <200402191342.09878.sourceforge-raindog2@...94...> On Thursday 19 February 2004 13:21, Daniel Campos wrote: > > Someone will eventually write a gb.net.openssh component for > > gambas. I'd figure out how and do it in the next month if > > you paid me to write it ;) (I don't like C very much, and > > there are only a few things that can motivate me to use > > it... one of which is money...) > Oh, well, then better pay to me, I like C very much and I've > done a lot of work in the network component already :-) I am all for giving Daniel money, as well ;) Better to have someone doing it who actually likes the work. Rob From ronstk at ...239... Thu Feb 19 17:31:45 2004 From: ronstk at ...239... (ron) Date: Thu, 19 Feb 2004 17:31:45 +0100 Subject: [Gambas-user] Reading hex from a string socket read In-Reply-To: <20040219140143.76307.qmail@...366...> References: <20040219140143.76307.qmail@...366...> Message-ID: <200402191731.45313.ronstk@...239...> On Thursday 19 February 2004 15:01, adam krell wrote: > Hi, > > I am using the socket component to make a tcp > connnection and read some data. The data needs to be > decoded from hex. I'm doing that with this command: > > Dim TwoByteCode AS Integer > > TwoByteCode = Val(Str$(Asc(Mid$(Buffer,1,1))) & > Str$(Asc(Mid$(Buffer,2,1)))) > > Is there a more efficient way to do this? If I am > decoding a long string of data this can really slow > down the program. > > Thanks, > > Adam > > __________________________________ > Do you Yahoo!? > Yahoo! Mail SpamGuard - Read only the mail you want. > http://antispam.yahoo.com/tools > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user from the gambas-help decimal to hex decimal to hex ------------ PRINT Hex$(1972) => 7B4 PRINT Hex$(1972, 8) => 000007B4 Reverse hex o decimal ------------------- DIM sHex AS String sHex= "&H" & "A2" & "&" '<-- A2 is you hex string PRINT "Val('&HA2&')=", Val(sHex) Any way Gambas knows &HA1& for hexadecimal presentation Ron From _root at ...324... Thu Feb 19 20:28:12 2004 From: _root at ...324... (-=FoX=-) Date: Thu, 19 Feb 2004 20:28:12 +0100 Subject: [Gambas-user] Autocomplete In-Reply-To: <200402191443.45905.gambas@...1...> References: <200402180644.i1I6iSJE023561@...364...> <200402180803.54241.sourceforge-raindog2@...94...> <200402191443.45905.gambas@...1...> Message-ID: <40350E4C.2060003@...324...> Benoit Minisini wrote: >Good news men :-) I'm currently working on automatic completion. But it will >take a little time to do it, so be patient. At the moment, only datatype >completion, i.e. when you type "AS" or "NEW", is working. > > WOW gooood!!! ;) Fox From danielcampos at ...282... Thu Feb 19 22:13:54 2004 From: danielcampos at ...282... (Daniel Campos) Date: Thu, 19 Feb 2004 22:13:54 +0100 Subject: [Gambas-user] Zib 0.2 Message-ID: <1077225234.9368.9.camel@...40...> Hi! My 'zlib' component is near to be finished, I've added a virtual class 'Zengine' which provides four static methods: * GZip(Source As String,Target As String,[Level As String]) Compresses source file in target file, using specified level of compression (0 low-9 best). The target file is in GZIP format * Gunzip (Source As String,Target As String) Decompresses source gzip file into target file * DeflateString(Source As String,[Level As String],[AllowGrow As Boolean) As String Compresses source string and returns it, using 'Deflate' algorithm (it is not exactly the same as Gzip), if 'AllowGrow' value is FALSE (default), the returned string will be deflated only if the result of that operation is a string with less length than the original string, if not, it will return the original string untouched. InflateString(Source As String) Returns a string expanded using 'Inflate' method Regards, -- Daniel Campos -------------- next part -------------- A non-text attachment was scrubbed... Name: zlib_0_2_gb_0_84a.tar.gz Type: application/x-compressed-tar Size: 5846 bytes Desc: not available URL: From akrell at ...43... Thu Feb 19 22:52:33 2004 From: akrell at ...43... (adam krell) Date: Thu, 19 Feb 2004 13:52:33 -0800 (PST) Subject: [Gambas-user] Reading hex from a string socket read In-Reply-To: <1077211858.2608.4.camel@...40...> Message-ID: <20040219215233.58561.qmail@...367...> Well, that would solve some of my problem, but I'm not sure if it is the best way in the long run. A pack/unpack or sprintf() function would do the trick in the language itself, rather than having to modify the component. But I'm not really an expert in these things. -Adam --- Daniel Campos wrote: > > > > > I know eventually there'll need to be some kind of > "pack/unpack" > > function set for Gambas because you need to go > from binary to > > hex to integer (or array) a lot when dealing with > legacy systems > > and ISO protocols. I don't think my C's up to > that right now, > > though (maybe I can figure out how it works in > perl and copy > > their code somehow.... ugh) > > I could add four new static methods in the "Net" > class: > > Integer to binary string and vice-versa: > > EncodeInteger (Number as Integer,Len as Integer) As > Integer > DecodeInteger (Number As String) As Integer > > > Integer in network order to binary string and > vice-versa: > > EncodeNetInt (Number as Integer,Len as Integer) As > Integer > DecodeNetInt (Number As String) As Integer > > Should it help? > > > > > > > Rob > > > > > > > > > ------------------------------------------------------- > > SF.Net is sponsored by: Speed Start Your Linux > Apps Now. > > Build and deploy apps & Web services for Linux > with > > a free DVD software kit from IBM. Click Now! > > > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps > Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user __________________________________ Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. http://antispam.yahoo.com/tools From akrell at ...43... Thu Feb 19 23:00:29 2004 From: akrell at ...43... (adam krell) Date: Thu, 19 Feb 2004 14:00:29 -0800 (PST) Subject: [Gambas-user] Reading hex from a string socket read In-Reply-To: <200402190931.35837.sourceforge-raindog2@...94...> Message-ID: <20040219220029.56976.qmail@...368...> Ah, yes, that seems a little better for my int values. Some of my data is ints and others are hex codes and still others are strings. I was using a variety of functions to decode the data. I also had to implement a manual "buffer counter". As was mentioned, pack/unpack type command or sprintf() would be a fast way to do this kind of stuff. I was mainly concerned with increasing speed. I found out that some debug code I had was slowing it down. When I removed that the speed was fine. Thanks, Adam --- Rob wrote: > On Thursday 19 February 2004 09:01, adam krell > wrote: > > TwoByteCode = Val(Str$(Asc(Mid$(Buffer,1,1))) & > > Str$(Asc(Mid$(Buffer,2,1)))) > > Is there a more efficient way to do this? > > I'd think the following would work to build an int > value from two > bytes of binary data, high byte first: > > TwoByteCode = asc(mid$(buffer,1,1)) * 256 + > asc(mid$(buffer,2,1)) > > But that's so different from what you're doing that > I need to see > an example of the input values you're looking at, > and the > expected value of TwoByteCode when you're done. > > I know eventually there'll need to be some kind of > "pack/unpack" > function set for Gambas because you need to go from > binary to > hex to integer (or array) a lot when dealing with > legacy systems > and ISO protocols. I don't think my C's up to that > right now, > though (maybe I can figure out how it works in perl > and copy > their code somehow.... ugh) > > Rob > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps > Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user __________________________________ Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. http://antispam.yahoo.com/tools From oxleyd at ...364... Fri Feb 20 09:08:09 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Fri, 20 Feb 2004 09:08:09 +0100 Subject: [Gambas-user] SSH In-Reply-To: <1077214781.2606.7.camel@...40...> Message-ID: <200402200651.i1K6pIJE008353@...364...> Really? Can you elaborate on your successes....? -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Daniel Campos Sent: 19 February 2004 19:21 To: gambas-user at lists.sourceforge.net Subject: RE: [Gambas-user] SSH > > Someone will eventually write a gb.net.openssh component for > gambas. I'd figure out how and do it in the next month if you > paid me to write it ;) (I don't like C very much, and there are > only a few things that can motivate me to use it... one of which > is money...) Oh, well, then better pay to me, I like C very much and I've done a lot of work in the network component already :-) ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&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... Fri Feb 20 15:19:27 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 20 Feb 2004 09:19:27 -0500 Subject: [Gambas-user] SSH In-Reply-To: <200402200651.i1K6pIJE008353@...364...> References: <200402200651.i1K6pIJE008353@...364...> Message-ID: <200402200919.27052.sourceforge-raindog2@...94...> On Friday 20 February 2004 03:08, Daniel Oxley wrote: > Really? Can you elaborate on your successes....? Well, Daniel wrote gb.net and gb.net.curl in their entirety, so he has some experience with extending Gambas in C and with network protocols ;) Rob From jscops at ...11... Fri Feb 20 16:33:05 2004 From: jscops at ...11... (Jacky) Date: Fri, 20 Feb 2004 16:33:05 +0100 Subject: [Gambas-user] Knoppix integrated Gambas. Message-ID: <200402201633.06122.jscops@...11...> Bonjour all Gambers, Is somebody know where i can find some docs to generate a knoppix bootable CD integrate Gambas or others tools ? Ah ! Another thing! since Gambas 0.84 i can't put an Icon (png format) in Form. I have this message. 'WARNING: KDE detected X Error: BadMatch (invalid parameter attributes) \x08 Major opcode: *' thankful for your answer. Longue vie ? Gambas. ?~ Jscops ~? From oxleyd at ...364... Fri Feb 20 16:53:22 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Fri, 20 Feb 2004 16:53:22 +0100 Subject: [Gambas-user] Autocomplete In-Reply-To: <200402181835.36351.sourceforge-raindog2@...94...> Message-ID: <200402201436.i1KEaUJE024369@...364...> I'm a bit confused, it's me being divvy though! I have been looking at your MDI page on KUDLA, I can't seem to work out what it does...? sorry... -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Rob Sent: 19 February 2004 00:36 To: gambas-user at lists.sourceforge.net Subject: Re: [Gambas-user] Autocomplete On Wednesday 18 February 2004 11:23, Daniel Oxley wrote: > Thanks. Any ideas where I can get my hands of either of > these? The autocomplete thing would be in the Gambas-user or Gambas-devel mail archives somewhere... I'll try to look for it tonight, assuming it wasn't a figment of my imagination. You can get the MDI hack that I did at http://www.kudla.org somewhere (link on the left hand side of the page) but there's no way it'll work with current Gambas versions as I wrote it against the very first Gambas version with an MDI control (maybe 0.57.) It is also quite rough, and Benoit said a month or two ago that he hopes to move Gambas to an MDI model in a less hacky way than I did, also sometime after 1.0. Hey, it took VB until version 4.0 to get an MDI ;) Rob ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&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... Fri Feb 20 17:15:09 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 20 Feb 2004 11:15:09 -0500 Subject: [Gambas-user] Autocomplete In-Reply-To: <200402201436.i1KEaUJE024369@...364...> References: <200402201436.i1KEaUJE024369@...364...> Message-ID: <200402201115.09487.sourceforge-raindog2@...94...> On Friday 20 February 2004 10:53, Daniel Oxley wrote: > I'm a bit confused, it's me being divvy though! I have been > looking at your MDI page on KUDLA, I can't seem to work out > what it does...? sorry... MDI means "multiple document interface". One of the longer-running complaints from VB users about Gambas is its current way of spraying a half dozen windows GIMP-like all over your screen. In an MDI app (like VB6 for example) all the windows are contained in one big window that acts as a sort of mini-desktop, which many people find less confusing. This was what my MDI version of Gambas attempted to do, albeit poorly (I never did implement a docking bar for example, like most modern MDI apps have) and eventually the normal Gambas IDE will be a single-window MDI application. And "Kudla" is just my last name, not a company or anything like that. Rob From gambas at ...1... Fri Feb 20 20:28:29 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 20 Feb 2004 20:28:29 +0100 Subject: [Gambas-user] Knoppix integrated Gambas. In-Reply-To: <200402201633.06122.jscops@...11...> References: <200402201633.06122.jscops@...11...> Message-ID: <200402202028.30073.gambas@...1...> On Friday 20 February 2004 16:33, Jacky wrote: > Bonjour all Gambers, > > Is somebody know where i can find some docs to generate a knoppix bootable > CD integrate Gambas or others tools ? > Ah ! Another thing! since Gambas 0.84 i can't put an Icon (png format) in > Form. I have this message. > 'WARNING: KDE detected X Error: BadMatch (invalid parameter attributes) > \x08 Major opcode: *' > Just a note: This message is just a X error generated by an attempt to set the focus on a window that can't get it. With only the QT component, this error is silently ignored, whereas KDE libraries display it... It is not dramatic, and I will try to remove this warning as soon as possible. Regards, -- Benoit Minisini mailto:gambas at ...1... From danielcampos at ...282... Fri Feb 20 19:15:55 2004 From: danielcampos at ...282... (Daniel Campos) Date: Fri, 20 Feb 2004 19:15:55 +0100 Subject: [Gambas-user] Zlib 1.0 Message-ID: <1077300954.7645.7.camel@...40...> Hi all! By now, I can consider the Zlib library finished, so If anybody ( anybeno?t? :-) is interested in including it in a Gambas release I would be very proud. The only library needed to use this component (apart from glibc), is zlib (switch -lz in gcc). Currently I'm using zlib 1.2.1 from Mandrake 9.2, I hope this library will give less problems than curl! The next step is to do it with "bzip2" compression format (I've look at bzlib documentation and I think in two or three days I'll can send a component with the same interface, but using 'BZStream' and 'BZEngine' classes) Then I'll be back to curl work, I've not missed my origins :-) Regards, Daniel Campos -- Daniel Campos -------------- next part -------------- A non-text attachment was scrubbed... Name: zlib1-gambas084a.tar.gz Type: application/x-compressed-tar Size: 4445 bytes Desc: not available URL: From karl.reinl at ...9... Fri Feb 20 18:59:02 2004 From: karl.reinl at ...9... (Charlie) Date: Fri, 20 Feb 2004 18:59:02 +0100 Subject: [Gambas-user] Knoppix integrated Gambas. References: <200402201633.06122.jscops@...11...> Message-ID: <40364AE6.9060109@...9...> Jacky schrieb: >Bonjour all Gambers, > >Is somebody know where i can find some docs to generate a knoppix bootable CD >integrate Gambas or others tools ? >Ah ! Another thing! since Gambas 0.84 i can't put an Icon (png format) in >Form. I have this message. >'WARNING: KDE detected X Error: BadMatch (invalid parameter attributes) \x08 > Major opcode: *' > >thankful for your answer. > >Longue vie ? Gambas. > >?~ Jscops ~? > > > > Salut, for your second question, please read Changlog. for the first : http://www.google.com/search?q=remastering%20site:knoppix.net Amicalement Charlie From mardus at ...298... Sat Feb 21 02:50:53 2004 From: mardus at ...298... (Marcelo Duschkin) Date: Fri, 20 Feb 2004 22:50:53 -0300 Subject: [Gambas-user] Re: Knoppix integrated Gambas. In-Reply-To: <200402201633.06122.jscops@...11...> References: <200402201633.06122.jscops@...11...> Message-ID: <200402202250.53358.mardus@...298...> El Vie 20 Feb 2004 12:33, Jacky escribi?: >(Ja) Bonjour all Gambers, >(Ja) Is somebody know where i can find some docs to generate a knoppix > bootable CD integrate Gambas or others tools ? http://metadistros.hispalinux.es/tiki-index.php?page=Metadistros The site is in spanish, but the project is wonderfull. -- Para el cierre: --- El Maestro Pen Guin al azar citaba: Multitarea: posibilidad que dos bugs ocurran simult?neamente. - - - Marcelo Duschkin - Buenos Aires - Argentina mardus at ...298... www.websdelsur.com.ar www.lahueya.com.ar From dimitribellini at ...69... Sat Feb 21 17:39:04 2004 From: dimitribellini at ...69... (Dimitri Bellini) Date: Sat, 21 Feb 2004 16:39:04 +0000 Subject: [Gambas-user] Zlib 1.0 In-Reply-To: <1077300954.7645.7.camel@...40...> References: <1077300954.7645.7.camel@...40...> Message-ID: <200402211639.04784.dimitribellini@...69...> Dear Daniel thanks for you great component i use it every day and i find it very important in gambas... But i ask to you if you have plan to create a new component to manage a printer report... A new way :-) Can you give me some consideration about it and how is difficult to develop and if is possible to create with gambas language...i try by me... ( but im not a guru...) Thanks in advance Dimitri Bellini On Friday 20 February 2004 18:15, Daniel Campos wrote: > Hi all! > > By now, I can consider the Zlib library finished, > so If anybody ( anybeno?t? :-) is interested in including > it in a Gambas release I would be very proud. > > The only library needed to use this component (apart from glibc), > is zlib (switch -lz in gcc). Currently I'm using zlib 1.2.1 > from Mandrake 9.2, I hope this library will give less > problems than curl! > > The next step is to do it with "bzip2" compression format (I've look > at bzlib documentation and I think in two or three days I'll > can send a component with the same interface, but using > 'BZStream' and 'BZEngine' classes) > > Then I'll be back to curl work, I've not missed my origins :-) > > Regards, > > Daniel Campos From sourceforge-raindog2 at ...94... Sat Feb 21 17:29:05 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 21 Feb 2004 11:29:05 -0500 Subject: [Gambas-user] Zlib 1.0 In-Reply-To: <200402211639.04784.dimitribellini@...69...> References: <1077300954.7645.7.camel@...40...> <200402211639.04784.dimitribellini@...69...> Message-ID: <200402211129.05089.sourceforge-raindog2@...94...> On Saturday 21 February 2004 11:39, Dimitri Bellini wrote: > thanks for you great component i use it every day and i find > it very important in gambas... But i ask to you if you have > plan to create a new component to manage a printer report... A I think this will be best accomplished in gambas code, as with the IDE, rather than as a C component. And once again, if someone doesn't do it, eventually I will, but I couldn't tell you when. Rob From daniel.campos at ...338... Sat Feb 21 17:50:36 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Sat, 21 Feb 2004 17:50:36 +0100 Subject: [Gambas-user] Zlib 1.0 In-Reply-To: <200402211639.04784.dimitribellini@...69...> References: <1077300954.7645.7.camel@...40...> <200402211639.04784.dimitribellini@...69...> Message-ID: <1077382236.3239.36.camel@...40...> El s?b, 21-02-2004 a las 17:39, Dimitri Bellini escribi?: > Dear Daniel > thanks for you great component i use it every day and i find it very > important in gambas... But i ask to you if you have plan to create a new > component to manage a printer report... A new way :-) Can you give me some > consideration about it and how is difficult to develop and if is possible to > create with gambas language...i try by me... ( but im not a guru...) > Thanks in advance > Dimitri Bellini > I've think a little about a printer report component - I think you mean a report component to allow print reports from MySQL, Postgres, etc, or even data not attached to any database. Now it is possible to write reports using an external application like Kugar, that allows to define a report template and report data using XML. XML is a simple format which can be used event if Gambas does not have already a XML component. If you need it soon, use Kugar, it is cool and free. If you can wait a time, my future plans are: - Finish the net.curl component, this will allow to create "high-level network applications" in gambas. - Write the XML component (I have some code written, but not functional yet), which will allow not only to write XML files but, using the "net.curl" component, allow to communicate with remote systems using xml-rpc and event soap protocols. - Write a general report component, which would use a general XML format to link it with drivers to allow use many different report generation tools like Kugar, or may be others you can find in internet (even OpenOffice). The structure would be a generic report class, with a constructor explaining the kind of report tool you want to use, and especific drivers to manage all XML data and convert it to the specific data needed by the various report tools available. - Think that Gambas is not attached to any specific technology, so any component must be as abstract as possible. These ideas explained before are not mine, but explained, and even implemented before by Beno?t and and other people in Gambas, like the 'db' component, useable with MySQL, Postgres or any other database driver, or the graphical componet, currently implemented with QT but abstract enough to be implemented with GTK, WxWidgets (no, now it is not WxWindows, Micro$ decided this name is not legal) or even JAPI. - Finally, if you really want to colaborate in that component with me, I could write in few time a generic component to create a genereric interface for report drivers, and you could write a specific driver may be for Kugar or any other report tool you consideer useful. It is sure we would find a lot of help from Beno?t and the rest of Gambas coders or helpers to add features to our first ideas. I could also give you help to start writing components in Gambas. - May be you would like to write the generic component and me designing a specific component for kugar, this also would be fine! - If you just want start to learn about components, and then start with that specific work, OK! try writing just little components (useful or not, just to learn), and I will provide you as help as possible! - If you need to be a guru or not to write a Gambas component just depends of you, it has clear specifications (at gambas wiki), and a lot of helper functions, so try it, ask any question to me, Beno?t or other people, and see the wonderfoul results! Waiting for your news! Regards, Daniel Campos From daniel.campos at ...338... Sat Feb 21 18:00:00 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Sat, 21 Feb 2004 18:00:00 +0100 Subject: [Gambas-user] Zlib 1.0 In-Reply-To: <200402211129.05089.sourceforge-raindog2@...94...> References: <1077300954.7645.7.camel@...40...> <200402211639.04784.dimitribellini@...69...> <200402211129.05089.sourceforge-raindog2@...94...> Message-ID: <1077382800.3239.44.camel@...40...> El s?b, 21-02-2004 a las 17:29, Rob escribi?: > On Saturday 21 February 2004 11:39, Dimitri Bellini wrote: > > thanks for you great component i use it every day and i find > > it very important in gambas... But i ask to you if you have > > plan to create a new component to manage a printer report... A > > I think this will be best accomplished in gambas code, as with > the IDE, rather than as a C component. And once again, if > someone doesn't do it, eventually I will, but I couldn't tell > you when. No, I think a report tool must be written in C code, of course with a link with the IDE, but beeing 'independent' enough to use different report tools under it, as 'db' component acts now, as I suppose many people would not like (would like not?) to use a specific report tool, for instance, I'm quite bored of Crystal Reports, it is poor and wastes a lot of resources in slow machines, apart form problems, like the permanent lock after using it on access databases. Do not worry too much about the time you will use to colaborate in it, you're already mantaining the Wiki, this is a lot of work! Regards, Daniel Campos > > Rob > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&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 Feb 21 18:14:50 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 21 Feb 2004 12:14:50 -0500 Subject: [Gambas-user] Zlib 1.0 In-Reply-To: <1077382236.3239.36.camel@...40...> References: <1077300954.7645.7.camel@...40...> <200402211639.04784.dimitribellini@...69...> <1077382236.3239.36.camel@...40...> Message-ID: <200402211214.50795.sourceforge-raindog2@...94...> On Saturday 21 February 2004 11:50, Daniel Campos wrote: > - Write a general report component, which would use a general > XML format to link it with drivers to allow use many different > report generation tools like Kugar, or may be others you can > find in internet (even OpenOffice). The structure would be a > generic report class, with a constructor explaining the kind > of report tool you want to use, and especific drivers to > manage all XML data and convert it to the specific data needed > by the various report tools available. I take back what I said in my previous post, because this would be far cooler than anything I could come up with in Gambas alone. ;) Rob From Lamego at ...99... Sat Feb 21 22:17:05 2004 From: Lamego at ...99... (Joao Pinto) Date: Sat, 21 Feb 2004 21:17:05 +0000 Subject: [Gambas-user] control groups Message-ID: <4037CAD1.90203@...99...> Hello, are control groups working ? I have tried the following example from the help but the click event code is not being executed. ... ' Gambas class file STATIC PUBLIC SUB Main() DIM FMain AS Form DIM hButton[3] AS Button FMain = NEW Form1 hButton[0] = NEW Button(Fmain) AS "MyButtons" hButton[0].Text = "Red" hButton[1] = NEW Button(Fmain) AS "MyButtons" hButton[1].Text = "Green" hButton[1].Y = 50 hButton[2] = NEW Button(Fmain) AS "MyButtons" hButton[2].Text = "Blue" hButton[2].Y = 100 FMain.show END PUBLIC SUB MyButtons_Click() lblTxt.text = LAST.Text END ... -- Jo?o Lu?s Marques Pinto PTlink Technical Administrator Lamego at ...99... http://www.ptlink.net From gambas at ...1... Sat Feb 21 22:30:08 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 21 Feb 2004 22:30:08 +0100 Subject: [Gambas-user] control groups In-Reply-To: <4037CAD1.90203@...99...> References: <4037CAD1.90203@...99...> Message-ID: <200402212230.08494.gambas@...1...> On Saturday 21 February 2004 22:17, Joao Pinto wrote: > Hello, > are control groups working ? > I have tried the following example from the help but the click event > code is not being executed. > > ... > ' Gambas class file > STATIC PUBLIC SUB Main() > DIM FMain AS Form > DIM hButton[3] AS Button > FMain = NEW Form1 > > > hButton[0] = NEW Button(Fmain) AS "MyButtons" > hButton[0].Text = "Red" > > hButton[1] = NEW Button(Fmain) AS "MyButtons" > hButton[1].Text = "Green" > hButton[1].Y = 50 > > hButton[2] = NEW Button(Fmain) AS "MyButtons" > hButton[2].Text = "Blue" > hButton[2].Y = 100 > FMain.show > END > PUBLIC SUB MyButtons_Click() > > lblTxt.text = LAST.Text > END > ... If I remember :-), MyButtons_Click must be static, because you created your controls in a static function. Regards, -- Benoit Minisini mailto:gambas at ...1... From daniel.campos at ...338... Sat Feb 21 22:35:02 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Sat, 21 Feb 2004 22:35:02 +0100 Subject: [Gambas-user] control groups In-Reply-To: <4037CAD1.90203@...99...> References: <4037CAD1.90203@...99...> Message-ID: <1077399302.6282.2.camel@...40...> El s?b, 21-02-2004 a las 22:17, Joao Pinto escribi?: > Hello, > are control groups working ? > I have tried the following example from the help but the click event > code is not being executed. > > .. > ' Gambas class file > STATIC PUBLIC SUB Main() > DIM FMain AS Form > DIM hButton[3] AS Button mmmhh... you are using three objects that just exists in the SUB Main(), I mean in that function scope... may be you should define them as 'PUBLIC' or 'PRIVATE' in the begging of the formulary, not into a method,I think this is the problem > FMain = NEW Form1 > > > hButton[0] = NEW Button(Fmain) AS "MyButtons" > hButton[0].Text = "Red" > > hButton[1] = NEW Button(Fmain) AS "MyButtons" > hButton[1].Text = "Green" > hButton[1].Y = 50 > > hButton[2] = NEW Button(Fmain) AS "MyButtons" > hButton[2].Text = "Blue" > hButton[2].Y = 100 > FMain.show > END > PUBLIC SUB MyButtons_Click() > > lblTxt.text = LAST.Text > END > .. From Lamego at ...99... Sat Feb 21 22:48:14 2004 From: Lamego at ...99... (Joao Pinto) Date: Sat, 21 Feb 2004 21:48:14 +0000 Subject: [Gambas-user] control groups In-Reply-To: <1077399302.6282.2.camel@...40...> References: <4037CAD1.90203@...99...> <1077399302.6282.2.camel@...40...> Message-ID: <4037D21E.5010307@...99...> Well, thanks for the fast reply. I have tried both Benoit's and your suggestion and they didn't work. However I decided to move the object creation to the Form_Open event and the click event is now working for the group. I am not sure why is it working just like this, maybe is just binding the events to the group after the .show method beeing called ? Anyway, I can continue developing my game now :) ... PUBLIC SUB Form_Open() DIM hButton[3] AS Button hButton[0] = NEW Button(ME) AS "MyButtons" hButton[0].Text = "Red" hButton[1] = NEW Button(ME) AS "MyButtons" hButton[1].Text = "Green" hButton[1].Y = 50 hButton[2] = NEW Button(ME) AS "MyButtons" hButton[2].Text = "Blue" hButton[2].Y = 100 END ... Jo?o Lu?s Marques Pinto PTlink Technical Administrator Lamego at ...99... http://www.ptlink.net Daniel Campos wrote: >El s?b, 21-02-2004 a las 22:17, Joao Pinto escribi?: > > >>Hello, >>are control groups working ? >>I have tried the following example from the help but the click event >>code is not being executed. >> >>.. >>' Gambas class file >>STATIC PUBLIC SUB Main() >> DIM FMain AS Form >> DIM hButton[3] AS Button >> >> > >mmmhh... you are using three objects that just exists in the SUB Main(), >I mean in that function scope... may be you should define them as >'PUBLIC' or 'PRIVATE' in the begging of the formulary, not into a >method,I think this is the problem > > > >> FMain = NEW Form1 >> >> >>hButton[0] = NEW Button(Fmain) AS "MyButtons" >>hButton[0].Text = "Red" >> >>hButton[1] = NEW Button(Fmain) AS "MyButtons" >>hButton[1].Text = "Green" >>hButton[1].Y = 50 >> >>hButton[2] = NEW Button(Fmain) AS "MyButtons" >>hButton[2].Text = "Blue" >>hButton[2].Y = 100 >> FMain.show >>END >>PUBLIC SUB MyButtons_Click() >> >> lblTxt.text = LAST.Text >>END >>.. >> >> > > > >------------------------------------------------------- >SF.Net is sponsored by: Speed Start Your Linux Apps Now. >Build and deploy apps & Web services for Linux with >a free DVD software kit from IBM. Click Now! >http://ads.osdn.com/?ad_id56&alloc_id438&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 Feb 21 23:37:10 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 21 Feb 2004 23:37:10 +0100 Subject: [Gambas-user] control groups In-Reply-To: <4037D21E.5010307@...99...> References: <4037CAD1.90203@...99...> <1077399302.6282.2.camel@...40...> <4037D21E.5010307@...99...> Message-ID: <200402212337.10853.gambas@...1...> On Saturday 21 February 2004 22:48, Joao Pinto wrote: > Well, > thanks for the fast reply. > I have tried both Benoit's and your suggestion and they didn't work. > However I decided to move the object creation to the Form_Open event and > the click event is now working for the group. > > I am not sure why is it working just like this, maybe is just binding > the events to the group after the .show method beeing called ? > > Anyway, I can continue developing my game now :) > ... > > PUBLIC SUB Form_Open() > DIM hButton[3] AS Button > hButton[0] = NEW Button(ME) AS "MyButtons" > hButton[0].Text = "Red" > > hButton[1] = NEW Button(ME) AS "MyButtons" > hButton[1].Text = "Green" > hButton[1].Y = 50 > > hButton[2] = NEW Button(ME) AS "MyButtons" > hButton[2].Text = "Blue" > hButton[2].Y = 100 > END > ... > > Jo?o Lu?s Marques Pinto > PTlink Technical Administrator > Lamego at ...99... > http://www.ptlink.net > > Daniel Campos wrote: > >El s?b, 21-02-2004 a las 22:17, Joao Pinto escribi?: > >>Hello, > >>are control groups working ? > >>I have tried the following example from the help but the click event > >>code is not being executed. > >> > >>.. > >>' Gambas class file > >>STATIC PUBLIC SUB Main() > >> DIM FMain AS Form > >> DIM hButton[3] AS Button > > > >mmmhh... you are using three objects that just exists in the SUB Main(), > >I mean in that function scope... may be you should define them as > >'PUBLIC' or 'PRIVATE' in the begging of the formulary, not into a > >method,I think this is the problem > > > >> FMain = NEW Form1 > >> > >> > >>hButton[0] = NEW Button(Fmain) AS "MyButtons" > >>hButton[0].Text = "Red" > >> > >>hButton[1] = NEW Button(Fmain) AS "MyButtons" > >>hButton[1].Text = "Green" > >>hButton[1].Y = 50 > >> > >>hButton[2] = NEW Button(Fmain) AS "MyButtons" > >>hButton[2].Text = "Blue" > >>hButton[2].Y = 100 > >> FMain.show > >>END > >>PUBLIC SUB MyButtons_Click() > >> > >> lblTxt.text = LAST.Text > >>END > >>.. This story is not clear! Could you send me your initial not working project, so that I can understand what happens ? Regards, -- Benoit Minisini mailto:gambas at ...1... From Karl.Reinl at ...9... Sat Feb 21 23:31:03 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sat, 21 Feb 2004 23:31:03 +0100 Subject: [Gambas-user] pb with the clast changes from Gerrard Message-ID: <200402212331.03982.Karl.Reinl@...9...> Salut, I to not know, if it commes from that , but if I want create a Database or a Table in psql the gdm crash. Amicalment Charlie From Karl.Reinl at ...9... Sat Feb 21 23:33:44 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sat, 21 Feb 2004 23:33:44 +0100 Subject: [Gambas-user] conv in gambas Message-ID: <200402212333.44747.Karl.Reinl@...9...> Salut, had a crash while using in gdm '?'. System = english Keyboard = german Amicalment Charlie From Karl.Reinl at ...9... Sat Feb 21 23:27:18 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sat, 21 Feb 2004 23:27:18 +0100 Subject: [Gambas-user] new changes on my FRequest for gdm Message-ID: <200402212327.18096.Karl.Reinl@...9...> Salut, for simple SQL-Requests which use WHERE and ORDER BY , now an loaded or written String can be returned to the Build Tab. As I use the last changes in MySQL from Gerrard, I attached only FRequest.class and FRequest.form. I made changes on other classes, but I let the original _NEW outcomment in the classe. You have to make changes, to make it run. Just make a copy of gdm from '/app/gambas-database-manager' and copy the two files into that copy. Have a look on the beginning of FRequest.class about the _NEW and make the changes. Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: FRequest.class Type: application/x-java Size: 37307 bytes Desc: not available URL: -------------- next part -------------- # Gambas Form File 1.0 { FRequest Form Move(31,72,638,392) Text = ("") Icon = Picture["img/16/sql.png"] { mnu1 Menu Text = ("nothing1") Visible = False { mnuDEL Menu Text = ("delete") Picture = Picture["img/16/delete.png"] } } { mnu2 Menu Text = ("nothing2") Visible = False { mnuADD Menu Text = ("add") Picture = Picture["img/16/copy.png"] } } { btnRun Button Move(0,0,24,24) ToolTip = ("Run") Text = ("") Picture = Picture["img/16/right-b.png"] Border = False } { btnFind Button Move(96,0,24,24) Visible = False ToolTip = ("Find") Text = ("") Picture = Picture["img/16/find.png"] Border = False } { btnNew Button Move(24,0,24,24) ToolTip = ("New request") Text = ("") Picture = Picture["img/16/new.png"] Border = False } { btnLoad Button Move(48,0,24,24) ToolTip = ("New request") Text = ("") Picture = Picture["img/16/open-file.png"] Border = False } { btnSave Button Move(72,0,24,24) ToolTip = ("New request") Text = ("") Picture = Picture["img/16/save.png"] Border = False } { TabStrip1 TabStrip Move(0,24,360,360) Count = 3 Index = 0 Text = ("&Build") { reqSplitter Splitter Move(8,8,328,288) Orientation = Splitter.Vertical { Frame1 Frame Move(8,16,312,96) Background = &HFFFFFF& Text = ("") } { Frame2 Frame Move(8,152,312,112) Background = &HFAFAFA& Text = ("") { cbxInput ComboBox Move(24,32,96,24) Visible = False Text = (" ") } { txtInput TextBox Move(184,40,72,16) Visible = False Text = ("TextBox1") } } } Index = 1 Text = ("&SQL") { txtRequest TextArea Move(0,8,344,136) ToolTip = ("the request in this area will be executed") Text = ("") Wrap = True } { Button1 Button Move(0,152,72,16) Text = ("&get") Picture = Picture["img/16/down.png"] } { Button2 Button Move(80,152,72,16) Text = ("&set") Picture = Picture["img/16/up.png"] } { lbxRequestTest ListBox Move(0,176,336,144) ToolTip = ("this is your history, you can copy a line back up to the request area") Mode = ListBox.Extended } { Button3 Button Move(256,152,96,16) Text = ("clear history") Picture = Picture["img/16/delete.png"] } Index = 2 Text = ("&Execute") { tbvData TableView Move(0,0,312,264) Mode = TableView.Single } Index = 0 } { LabelWarn Label Move(288,0,352,24) Visible = False Foreground = &H120BD7& Text = ("") } { cbxTables ComboBox Move(216,0,160,16) Text = (" ") } { labTables Label Move(168,0,48,24) Text = ("Tables") } } From olivier at ...289... Sun Feb 22 10:35:23 2004 From: olivier at ...289... (Coquet Olivier) Date: Sun, 22 Feb 2004 10:35:23 +0100 Subject: [Gambas-user] Question, have you an idea???? Message-ID: <1077442523.5258.3.camel@...293...> Is this possible to have a property like instance to know if the application is running like instance in vb ???? My goal is to know at startup if the application was previously launched and is running, if it is running, i stop, if not, i run.... Regards Olivier Coquet FRANCE From danielcampos at ...282... Sun Feb 22 19:42:16 2004 From: danielcampos at ...282... (Daniel Campos) Date: Sun, 22 Feb 2004 19:42:16 +0100 Subject: [Gambas-user] Zlib and BZlib Message-ID: <1077475336.2808.11.camel@...40...> Hi all! These are the final versions of Zlib and BZLib components, that allows to compress data using zlib and bzlib2 libraries. I've implemented the bzlib component today, and made some changes in zlib component. Their interfaces are quite similar, however there are some differences: ZEngine has two methods to compress strings directly : 'DeflateString' and 'InflateString', that uses an algorithm a little different from Gzip one. BZEngine provides: 'BzipString'and 'BuzipString' which works exatly using the same bzip2 format. This is due to the capabilities of both libraries. To compile these libraries: 0) You need gambas-0.84 or newer 1) Copy both 'zlib' and 'bzlib' folders to {gambas sources}/src/lib 2) Copy the attached configure.in to {gambas sources} instead of the original configure.in 3) Type : ./reconf 4) Type : ./configure (with your options) 5) Go to {gambas sources}/src/lib/zlib, then 'make' and 'make install' 6) Go to {gambas sources}/src/lib/bzlib, then 'make' and 'make install' 7) OK, done Regards, -- Daniel Campos -------------- next part -------------- A non-text attachment was scrubbed... Name: compression_1_0.tar.bz2 Type: application/x-bzip Size: 7539 bytes Desc: not available URL: -------------- next part -------------- dnl --------------------------------- dnl dnl configure.in for Gambas dnl (c) Beno??? Minisini 2000-2003 dnl dnl --------------------------------- dnl ---- Initialization AC_INIT(src/share/gambas.h) AM_MAINTAINER_MODE AC_CONFIG_SUBDIRS(libltdl) AM_CONFIG_HEADER(config.h) AM_INIT_AUTOMAKE(gambas, 0.84a) AC_PREFIX_DEFAULT(/opt/gambas) AC_DISABLE_STATIC AC_CANONICAL_HOST dnl ---- Checks for programs AC_PROG_CC AC_PROG_CPP AC_PROG_CXX AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_MAKE_SET dnl ---- Checks for header files. AC_HEADER_DIRENT AC_HEADER_STDC AC_HEADER_SYS_WAIT AC_CHECK_HEADERS(fcntl.h limits.h malloc.h strings.h sys/ioctl.h sys/time.h unistd.h) dnl ---- Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_TYPE_PID_T AC_TYPE_SIZE_T AC_HEADER_TIME AC_STRUCT_TM dnl ---- Checks for library functions. AC_FUNC_ALLOCA AC_PROG_GCC_TRADITIONAL AC_TYPE_SIGNAL AC_FUNC_STRCOLL AC_FUNC_STRFTIME AC_FUNC_VPRINTF AC_FUNC_WAIT3 AC_CHECK_FUNCS(getcwd gettimeofday mkdir rmdir select socket strdup strerror strtod strtol) AC_REPLACE_FUNCS(setenv unsetenv) dnl ---- Support for libltdl AC_LIBTOOL_DLOPEN AC_LIBLTDL_CONVENIENCE AC_PROG_LIBTOOL AC_SUBST(INCLTDL) AC_SUBST(LIBLTDL) LD_FLAGS=-no-undefined AC_SUBST(LD_FLAGS) dnl ---- Checks for libraries AC_CHECK_LIB(m, main, echo -n) AC_CHECK_LIB(z, main, echo -n) C_LIB=-lc AC_SUBST(C_LIB) AC_CHECK_LIB(gcc_s, main, CXX_LIB="$CXX_LIB -lgcc_s") AC_CHECK_LIB(stdc++, main, CXX_LIB="$CXX_LIB -lstdc++") AC_SUBST(CXX_LIB) dnl ---- Check for shared library extension GB_SHARED_LIBRARY_EXT() dnl ---- Check for threading GB_THREAD() dnl ---- Check for internationalization library GB_COMPONENT( intl, INTL, [internationalization library (if not present in C library)], [GB_FIND(libintl.h, /usr/local /usr, include)], [GB_FIND(libintl.$SHLIBEXT, /usr/local /usr, lib)], [-lintl]) dnl ---- Check for charset conversion library GB_COMPONENT( conv, CONV, [charset conversion library (if not present in C library)], [GB_FIND(iconv.h, /usr/local /usr, include)], [GB_FIND(libiconv.$SHLIBEXT, /usr/local /usr, lib)], [-liconv]) dnl ---- Checks for components GB_COMPONENT( qt, QT, [QT component], [GB_FIND(qptrlist.h, /usr/lib /usr/local /usr/X11 /usr/X11R6 /usr, include qt*/include qt/*/include)], [GB_FIND(libqt-mt.$SHLIBEXT, /usr/local /usr/qt /usr/qt/* /usr/X11 /usr/X11R6 /usr, lib, libqt-mt.so.3)], [$CXX_LIB $THREAD_LIB $X_LIBS -lqt-mt], [$THREAD_INC]) if test "$have_qt"="yes"; then AC_PATH_X AC_PATH_XTRA AC_CHECK_LIB(X11, XOpenDisplay, echo -n, AC_MSG_ERROR([*** libX11 not found. Check 'config.log' for more details.]), $X_LIBS) AC_CHECK_LIB(Xext, XShmAttach, echo -n, AC_MSG_ERROR([*** libXext not found. Check 'config.log' for more details.]), $X_LIBS) dnl AC_MSG_CHECKING(for QT meta-object compiler) AC_PATH_QT_MOC($QT_PATH) GB_COMPONENT( kde, KDE, [KDE 3.x component], [GB_FIND(kapplication.h, `kde-config --prefix 2> /dev/null`, include)], [GB_FIND(libkdecore.$SHLIBEXT, `kde-config --prefix 2> /dev/null`, lib)], [-lkdecore -lkdeui -lDCOP -lkio]) fi dnl ---- Networking component GB_COMPONENT( net, NET, [Networking component], [], [], [$C_LIB $THREAD_LIB], [$THREAD_INC]) dnl ---- Advanced networking component GB_COMPONENT( curl, CURL, [Advanced networking component], [GB_FIND(curl.h, `curl-config --prefix 2> /dev/null`, include)], [GB_FIND(libcurl.$SHLIBEXT, `curl-config --prefix 2> /dev/null`, lib)], [$C_LIB `curl-config --libs 2> /dev/null`]) dnl ---- Database components GB_COMPONENT( postgresql, PGSQL, [PostgreSQL driver], [GB_FIND(libpq-fe.h postgres.h pg_type.h, /usr/lib /usr/local /usr /opt, include/pgsql* pgsql*/include include/postgresql* postgresql*/include include)], [GB_FIND(libpq.$SHLIBEXT, /usr/local /usr /opt, lib pgsql*/lib postgresql*/lib)], [$C_LIB -lpq]) GB_COMPONENT( mysql, MYSQL, [MySQL driver], [GB_FIND(mysql.h my_config.h, /usr/lib /usr/local /opt /usr, include mysql*/include)], [GB_FIND(libmysqlclient.$SHLIBEXT, /usr/local /opt /usr, lib mysql*/lib)], [$C_LIB -lmysqlclient -lz]) dnl ---- SDL component needs: libvorbisfile.la libsmpeg.la libogg.la GB_COMPONENT( sdl, SDL, [SDL component], [GB_FIND(SDL.h SDL_mixer.h, /usr/local /usr, include SDL*/include include/SDL*)], [GB_FIND(libSDL.$SHLIBEXT libSDL_mixer.$SHLIBEXT, /usr/local /usr, lib SDL*/lib lib/SDL*)], [$C_LIB $THREAD_LIB -lSDL -lSDL_mixer], [$THREAD_INC]) dnl ---- VB component GB_COMPONENT( vb, VB, [Visual Basic compatibility component], [], [], [$C_LIB $THREAD_LIB], [$THREAD_INC]) dnl ---- Zlib component GB_COMPONENT( zlib, ZLIB, [ZLIB wrapper], [], [], [$C_LIB], []) dnl ---- BZlib component GB_COMPONENT( bzlib, BZLIB, [BZLIB wrapper], [], [], [$C_LIB], []) dnl ---- Other options AC_ARG_ENABLE( debug, [ --enable-debug compile for debugging (default: yes)], gambas_debug=$enableval, gambas_debug=yes ) AM_CONDITIONAL(DEBUG, test "$gambas_debug" = yes) AC_ARG_ENABLE( optimization, [ --enable-optimization compile with optimizations (default: no)], gambas_optimization=$enableval, gambas_optimization=no ) AM_CONDITIONAL(OPTIMIZE, test "$gambas_optimization" = yes) AC_ARG_ENABLE( profiling, [ --enable-profiling compile with profiling (default: no)], gambas_prof=$enableval, gambas_prof=no ) AC_ARG_ENABLE( preloading, [ --enable-preloading enable preloading (default: yes)], gambas_preloading=$enableval, gambas_preloading=yes ) if test "$gambas_preloading" = "yes"; then AC_DEFINE(DO_PRELOADING, 1, allows shared library preloading ) fi CFLAGS="$CFLAGS -pipe -Wall" CXXFLAGS="$CXXFLAGS -pipe -Wall -fno-exceptions" if test "$gambas_prof" = "yes"; then CFLAGS="$CFLAGS -pg" CXXFLAGS="$CXXFLAGS -pg" # if test "$gambas_optimization" = "yes"; then # echo -e "\n**** Warning: --enable-profiling implies --disable-optimization\n" # gambas_optimization="no"; # fi fi if test "$gambas_debug" = "yes"; then CFLAGS="$CFLAGS -g" CXXFLAGS="$CXXFLAGS -g" fi # gambas_flag="-O2 -fstrength-reduce -frerun-loop-opt -fexpensive-optimizations -fschedule-insns2 -funroll-loops" # gambas_flags="$gambas_flags -fno-strict-aliasing -falign-loops=2 -falign-jumps=2" # gambas_flags="$gambas_flags -falign-functions=2 -ffast-math" if test "$gambas_prof" = "no"; then gambas_flags="$gambas_flags -fomit-frame-pointer" fi if test "x$gambas_optimization" = "xyes"; then CFLAGS="$CFLAGS -Os" CXXFLAGS="$CXXFLAGS -Os" else CFLAGS="$CFLAGS -O0" CXXFLAGS="$CXXFLAGS -O0" fi dnl ---- Create makefiles AC_OUTPUT( \ Makefile \ src/Makefile \ src/share/Makefile \ src/comp/Makefile \ src/exec/Makefile \ src/lib/Makefile \ src/lib/eval/Makefile \ src/lib/example/Makefile \ src/lib/qt/Makefile \ src/lib/qt/editor/Makefile \ src/lib/qt/ext/Makefile \ src/lib/qt/kde/Makefile \ src/lib/qt/kde/html/Makefile \ src/lib/db/Makefile \ src/lib/db/mysql/Makefile \ src/lib/db/postgresql/Makefile \ src/lib/sdl/Makefile \ src/lib/zlib/Makefile \ src/lib/bzlib/Makefile \ src/lib/net/Makefile \ src/lib/net/curl/Makefile \ src/lib/vb/Makefile \ ) From abidoo.too at ...11... Sun Feb 22 19:46:06 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Sun, 22 Feb 2004 19:46:06 +0100 Subject: [Gambas-user] Question, have you an idea???? In-Reply-To: <1077442523.5258.3.camel@...293...> References: <1077442523.5258.3.camel@...293...> Message-ID: <200402221946.06882.abidoo.too@...11...> Le Dimanche 22 F?vrier 2004 10:35, Coquet Olivier a ?crit : > Is this possible to have a property like instance to know if the > application is running like instance in vb ???? > > My goal is to know at startup if the application was previously launched > and is running, if it is running, i stop, if not, i run.... > > > Regards > Olivier Coquet > FRANCE I've not the responce... it's a good query.... I think it will be simple to implement it but it not actually be implemented... like... Application.instance as boolean > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From Karl.Reinl at ...9... Sun Feb 22 20:08:28 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 22 Feb 2004 20:08:28 +0100 Subject: [Gambas-user] error found in my FRequest Message-ID: <200402222008.28342.Karl.Reinl@...9...> Salut, found an Error when start with passed $sKey from FMain and when Fields in 'Where' and 'Order by' conditions are not in the Select area. >I made changes on other classes, but I let the original _NEW outcomment in >the >classe. You have to make changes, to make it run. >Just make a copy of gdm from >'/app/gambas-database-manager' >and copy the two files into that copy. >Have a look on the beginning of FRequest.class about the _NEW and make the >changes. Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: FRequest.class Type: application/x-java Size: 38841 bytes Desc: not available URL: -------------- next part -------------- # Gambas Form File 1.0 { FRequest Form Move(31,72,638,392) Text = ("") Icon = Picture["img/16/sql.png"] { mnu1 Menu Text = ("nothing1") Visible = False { mnuDEL Menu Text = ("delete") Picture = Picture["img/16/delete.png"] } } { mnu2 Menu Text = ("nothing2") Visible = False { mnuADD Menu Text = ("add") Picture = Picture["img/16/copy.png"] } } { btnRun Button Move(0,0,24,24) ToolTip = ("Run") Text = ("") Picture = Picture["img/16/right-b.png"] Border = False } { btnFind Button Move(96,0,24,24) Visible = False ToolTip = ("Find") Text = ("") Picture = Picture["img/16/find.png"] Border = False } { btnNew Button Move(24,0,24,24) ToolTip = ("New request") Text = ("") Picture = Picture["img/16/new.png"] Border = False } { btnLoad Button Move(48,0,24,24) ToolTip = ("New request") Text = ("") Picture = Picture["img/16/open-file.png"] Border = False } { btnSave Button Move(72,0,24,24) ToolTip = ("New request") Text = ("") Picture = Picture["img/16/save.png"] Border = False } { TabStrip1 TabStrip Move(0,24,360,360) Count = 3 Index = 0 Text = ("&Build") { reqSplitter Splitter Move(8,8,328,288) Orientation = Splitter.Vertical { Frame1 Frame Move(8,16,312,96) Background = &HFFFFFF& Text = ("") } { Frame2 Frame Move(8,152,312,112) Background = &HFAFAFA& Text = ("") { cbxInput ComboBox Move(24,32,96,24) Visible = False Text = (" ") } { txtInput TextBox Move(184,40,72,16) Visible = False Text = ("TextBox1") } } } Index = 1 Text = ("&SQL") { txtRequest TextArea Move(0,8,344,136) ToolTip = ("the request in this area will be executed") Text = ("") Wrap = True } { Button1 Button Move(0,152,72,16) Text = ("&get") Picture = Picture["img/16/down.png"] } { Button2 Button Move(80,152,72,16) Text = ("&set") Picture = Picture["img/16/up.png"] } { lbxRequestTest ListBox Move(0,176,336,144) ToolTip = ("this is your history, you can copy a line back up to the request area") Mode = ListBox.Extended } { Button3 Button Move(256,152,96,16) Text = ("clear history") Picture = Picture["img/16/delete.png"] } Index = 2 Text = ("&Execute") { tbvData TableView Move(0,0,312,264) Mode = TableView.Single } Index = 0 } { LabelWarn Label Move(288,0,352,24) Visible = False Foreground = &H120BD7& Text = ("") } { cbxTables ComboBox Move(216,0,160,16) Text = (" ") } { labTables Label Move(168,0,48,24) Text = ("Tables") } } From karl.reinl at ...9... Mon Feb 23 21:54:51 2004 From: karl.reinl at ...9... (Charlie) Date: Mon, 23 Feb 2004 21:54:51 +0100 Subject: [Gambas-user] the gambas mailing-list archiv Message-ID: <403A689B.8050803@...9...> Salut, had a look at the gambas-user mailing-list archiv. The last entry is the 25.01.2004 ??????????????????????????????? Amicalement Charlie From Karl.Reinl at ...9... Mon Feb 23 22:15:51 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 23 Feb 2004 22:15:51 +0100 Subject: [Gambas-user] TableView Message-ID: <200402232215.51003.Karl.Reinl@...9...> Salut, I would like to use the TableView to work not with a DB-result. Something like TV.row[1,1]= "Me" , TV.row[2,1]= "You" I'm not able to find the way, to show the Data in the grid. Can somebody light me the way ???? I would like it to use it in my Frequest for gdm, so the left outer Column can be show as Header, and stay fix on left side. Amicalement Charlie From dimitribellini at ...69... Tue Feb 24 11:30:23 2004 From: dimitribellini at ...69... (Dimitri Bellini) Date: Tue, 24 Feb 2004 10:30:23 +0000 Subject: [Gambas-user] Zlib 1.0 In-Reply-To: <1077382236.3239.36.camel@...40...> References: <1077300954.7645.7.camel@...40...> <200402211639.04784.dimitribellini@...69...> <1077382236.3239.36.camel@...40...> Message-ID: <200402241030.24024.dimitribellini@...69...> Dear Daniel sorry for my late post.. I have found some of your consideration in Gambas help wrote by Rob, i now start to watch and understand what can i do to create Component but i think is not simple for me :-) i try... I see in the help a function PRINTER is not possible to use it to create a simple tool to create report? Thanks in advance Dimitri On Saturday 21 February 2004 16:50, Daniel Campos wrote: > El s?b, 21-02-2004 a las 17:39, Dimitri Bellini escribi?: > > Dear Daniel > > thanks for you great component i use it every day and i find it very > > important in gambas... But i ask to you if you have plan to create a new > > component to manage a printer report... A new way :-) Can you give me > > some consideration about it and how is difficult to develop and if is > > possible to create with gambas language...i try by me... ( but im not a > > guru...) Thanks in advance > > Dimitri Bellini > > I've think a little about a printer report component - I think you mean > a report component to allow print reports from MySQL, Postgres, etc, or > even data not attached to any database. Now it is possible to write > reports using an external application like Kugar, that allows to define > a report template and report data using XML. XML is a simple format > which can be used event if Gambas does not have already a XML component. > > If you need it soon, use Kugar, it is cool and free. If you can wait a > time, my future plans are: > > - Finish the net.curl component, this will allow to create "high-level > network applications" in gambas. > > - Write the XML component (I have some code written, but not functional > yet), which will allow not only to write XML files but, using the > "net.curl" component, allow to communicate with remote systems using > xml-rpc and event soap protocols. > > - Write a general report component, which would use a general XML format > to link it with drivers to allow use many different report generation > tools like Kugar, or may be others you can find in internet (even > OpenOffice). The structure would be a generic report class, with a > constructor explaining the kind of report tool you want to use, and > especific drivers to manage all XML data and convert it to the specific > data needed by the various report tools available. > > - Think that Gambas is not attached to any specific technology, so any > component must be as abstract as possible. These ideas explained before > are not mine, but explained, and even implemented before by Beno?t and > and other people in Gambas, like the 'db' component, useable with > MySQL, Postgres or any other database driver, or the graphical componet, > currently implemented with QT but abstract enough to be implemented with > GTK, WxWidgets (no, now it is not WxWindows, Micro$ decided this name is > not legal) or even JAPI. > > - Finally, if you really want to colaborate in that component with me, > I could write in few time a generic component to create a genereric > interface for report drivers, and you could write a specific driver may > be for Kugar or any other report tool you consideer useful. It is sure > we would find a lot of help from Beno?t and the rest of Gambas coders or > helpers to add features to our first ideas. I could also give you help > to start writing components in Gambas. > > - May be you would like to write the generic component and me designing > a specific component for kugar, this also would be fine! > > - If you just want start to learn about components, and then start with > that specific work, OK! try writing just little components (useful or > not, just to learn), and I will provide you as help as possible! > > - If you need to be a guru or not to write a Gambas component just > depends of you, it has clear specifications (at gambas wiki), and a lot > of helper functions, so try it, ask any question to me, Beno?t or other > people, and see the wonderfoul results! > > Waiting for your news! > > Regards, Daniel Campos > > > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id56&alloc_id438&op=Click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From ronstk at ...239... Tue Feb 24 12:11:24 2004 From: ronstk at ...239... (ron) Date: Tue, 24 Feb 2004 12:11:24 +0100 Subject: [Gambas-user] TableView In-Reply-To: <200402232215.51003.Karl.Reinl@...9...> References: <200402232215.51003.Karl.Reinl@...9...> Message-ID: <200402241211.24782.ronstk@...239...> On Monday 23 February 2004 22:15, Charlie Reinl wrote: > Salut, > > I would like to use the TableView to work not with a DB-result. > Something like TV.row[1,1]= "Me" , TV.row[2,1]= "You" > > I'm not able to find the way, to show the Data in the grid. > Can somebody light me the way ???? > > I would like it to use it in my Frequest for gdm, so the left outer Column > can be show as Header, and stay fix on left side. > > Amicalement > Charlie > Wel in the Database Manager is a good example to find. My way using a fixed row count and variable columns count. the opposit way for fixed columns and variable rows can work the same. dim tblcols as variant[] dim tblrows as variant[] dim col_title as string[] dim row_title as string[] dim rowdata as variant[] dim rowfill as string[] dim x as integer tableview.cows.count = desired_rows tableview.columns.count = desired_columns tblcols=new variant[] ' fill row_title[] with the titles you want ' fill col_title[] with names you need ' set column header tableview.Columns = desired_columns for x = 0 to desired_columns-1 tableview.columns[x].text = col_title[x] next ' set row header for x=0 to desired_rows-1 tableview.rows[x].text = row_title[x] next 'create cell data for each row in one column rowfill = new array() for x = 0 to desired_rows-1 rowfill.add("") ' so fill it with zero length string next ' fill master grid for x=0 to desired_columns-1 rowdata = new array() rowdata = rowfill 'fill it with already preset data tblcols.add (rowdata) ' add rowdata for each column next ' here the tblarr[] contains the row values array so ' tblcols[column_nr][row_nr] gives the cell data back ' for the tableview_data event after the hiding object is removed ! ' ************************************************************************* ' * !! this one was the missing part, I had empty table after the window ' * that was hiding the table was moved away. ' ************************************************************************* public sub tableview1_data(row as integer, column as integer) ' in the database manager the data is taken from the dataabase table ' by asking the record for row and the field for the column ' her i now get it from my array grid tblcols[] tableview.data.text = tblcols[column][row] ' tableview.data.forecolor = tblcolor[column][row] end ' routine to store and update data public sub UpdateData( row as integer, column as integer, text as string) tblcols[column][row] = text ' this set data for tableview refreshing tableview[row,column].data.text = text 'this update screen end Ron From jobah at ...369... Tue Feb 24 12:38:03 2004 From: jobah at ...369... (jobah) Date: Tue, 24 Feb 2004 12:38:03 +0100 Subject: [Gambas-user] The clear function Message-ID: <403B379B.1070507@...369...> Hi I use Gambas 0.84 on Fedora 1. I have a drawing area called "da" in my form, I typed these lines in my code, but the da.Clear doesn't make anything. Draw.Begin(da) Draw.Ellipse(50, 50 , 50, 50) Draw.End da.Clear() Jonas From gambas at ...1... Tue Feb 24 17:49:14 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 24 Feb 2004 17:49:14 +0100 Subject: [Gambas-user] TableView In-Reply-To: <200402241211.24782.ronstk@...239...> References: <200402232215.51003.Karl.Reinl@...9...> <200402241211.24782.ronstk@...239...> Message-ID: <200402241749.14587.gambas@...1...> On Tuesday 24 February 2004 12:11, ron wrote: > On Monday 23 February 2004 22:15, Charlie Reinl wrote: > > Salut, > > > > I would like to use the TableView to work not with a DB-result. > > Something like TV.row[1,1]= "Me" , TV.row[2,1]= "You" > > > > I'm not able to find the way, to show the Data in the grid. > > Can somebody light me the way ???? > > > > I would like it to use it in my Frequest for gdm, so the left outer > > Column can be show as Header, and stay fix on left side. > > > > Amicalement > > Charlie > > Wel in the Database Manager is a good example to find. > > My way using a fixed row count and variable columns count. > the opposit way for fixed columns and variable rows can work the same. > > dim tblcols as variant[] > dim tblrows as variant[] > dim col_title as string[] > dim row_title as string[] > dim rowdata as variant[] > dim rowfill as string[] > dim x as integer > > tableview.cows.count = desired_rows > tableview.columns.count = desired_columns > tblcols=new variant[] > > ' fill row_title[] with the titles you want > ' fill col_title[] with names you need > > ' set column header > tableview.Columns = desired_columns > for x = 0 to desired_columns-1 > tableview.columns[x].text = col_title[x] > next > > ' set row header > for x=0 to desired_rows-1 > tableview.rows[x].text = row_title[x] > next > > 'create cell data for each row in one column > rowfill = new array() > for x = 0 to desired_rows-1 > rowfill.add("") ' so fill it with zero length string > next > > ' fill master grid > for x=0 to desired_columns-1 > rowdata = new array() > rowdata = rowfill 'fill it with already preset data > tblcols.add (rowdata) ' add rowdata for each column > next > > ' here the tblarr[] contains the row values array so > ' tblcols[column_nr][row_nr] gives the cell data back > > ' for the tableview_data event after the hiding object is removed ! > ' ************************************************************************* > ' * !! this one was the missing part, I had empty table after the window > ' * that was hiding the table was moved away. > ' ************************************************************************* > public sub tableview1_data(row as integer, column as integer) > ' in the database manager the data is taken from the dataabase table > ' by asking the record for row and the field for the column > ' her i now get it from my array grid tblcols[] > tableview.data.text = tblcols[column][row] > ' tableview.data.forecolor = tblcolor[column][row] > end > > ' routine to store and update data > public sub UpdateData( row as integer, column as integer, text as string) > tblcols[column][row] = text ' this set data for tableview refreshing > tableview[row,column].data.text = text 'this update screen tableview[row,column].Refresh should work better! Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Feb 24 18:10:43 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 24 Feb 2004 18:10:43 +0100 Subject: [Gambas-user] The clear function In-Reply-To: <403B379B.1070507@...369...> References: <403B379B.1070507@...369...> Message-ID: <200402241810.43171.gambas@...1...> On Tuesday 24 February 2004 12:38, jobah wrote: > Hi > > I use Gambas 0.84 on Fedora 1. I have a drawing area called "da" in my > form, I typed these lines in my code, but the da.Clear doesn't make > anything. > > Draw.Begin(da) > Draw.Ellipse(50, 50 , 50, 50) > Draw.End > > da.Clear() > > Jonas > Is Draw.Cached TRUE or FALSE ? -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Tue Feb 24 19:19:07 2004 From: ronstk at ...239... (ron) Date: Tue, 24 Feb 2004 19:19:07 +0100 Subject: [Gambas-user] TableView Update In-Reply-To: <200402241749.14587.gambas@...1...> References: <200402232215.51003.Karl.Reinl@...9...> <200402241211.24782.ronstk@...239...> <200402241749.14587.gambas@...1...> Message-ID: <200402241919.08391.ronstk@...239...> On Tuesday 24 February 2004 17:49, Benoit Minisini wrote: > On Tuesday 24 February 2004 12:11, ron wrote: > > On Monday 23 February 2004 22:15, Charlie Reinl wrote: > > > Salut, snip away > > ************************************************************************* > > ' * !! this one was the missing part, I had empty table after the window > > ' * that was hiding the table was moved away. > > ' > > ************************************************************************* > > public sub tableview1_data(row as integer, column as integer) > > ' in the database manager the data is taken from the dataabase table > > ' by asking the record for row and the field for the column > > ' her i now get it from my array grid tblcols[] > > tableview.data.text = tblcols[column][row] > > ' tableview.data.forecolor = tblcolor[column][row] > > end > > > > ' routine to store and update data > > public sub UpdateData( row as integer, column as integer, text as string) > > tblcols[column][row] = text ' this set data for tableview refreshing > > tableview[row,column].data.text = text 'this update screen > > tableview[row,column].Refresh should work better! > > Regards, First a little update, :( public sub UpdateData( row as integer, column as integer, text as string) tblcols[column][row] = text ' this set data for tableview refreshing tableview.moveto(-1,-1) ' !!!!!! this is very importand !!!!!!!! tableview[row,column].data.text = text 'this update screen end As I found the tableview[row,column].Refresh starts the tableview_data events Then the data must come out of the array. Setting with .data.text makes the change direct visible without a refresh. The only requirement is to invalidate the row/col address and reselecting it before you write data. It is not posible to rewrite several times to the same [row,column].data cell. You did it this way in the GDM without refresh. I have stolen it ;) Writing the data with tblvw[x,y].data.text looks to me not persistent. The visual data content and backcolor was lost after moving other windows over it and using the events with a array was needed and my solution to use. In my case the refreshing of the tableview makes the whole table flickering. QT send only events for the cells that need an refresh and that is less than the whole tableview in one refresh. If I remember well the .Refresh was also quickly scrolling the Tableview grid. The tblvw[row,column].Refresh did't look working (i will retry it). May be my fault but this way was working well ;) From perrymou at ...370... Tue Feb 24 21:31:29 2004 From: perrymou at ...370... (pezz) Date: Tue, 24 Feb 2004 20:31:29 +0000 Subject: [Gambas-user] Network client socket problem Message-ID: <200402242031.29882.perrymou@...370...> Hi, The networking component was just the thing I was waiting for in Gambas. I opened the example Network client socket example in Gambas 0.84a, and studied the code to get an idea how to use it. On running the example, it connects OK to a socket, but doesn't seem to send any data after the initial connection is made. Here are the relevant lines from the example, under the Button3.click event: IF MySock.Status=Net.Connected THEN WRITE #MySock,textarea2.text,Len(textarea2.text) TextArea2.Text="" The socket status is obviously "Net.Connected" so why doesn't the data get sent? Or is the problem somewhere else in the example code i.e. a socket listening problem after the data is sent? Either way, no communication happens after the connection is established. Any help would be appreciated. From Karl.Reinl at ...9... Tue Feb 24 21:25:33 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Tue, 24 Feb 2004 21:25:33 +0100 Subject: [Gambas-user] TableView Message-ID: <200402242125.33844.Karl.Reinl@...9...> Salut, sorry to not stay in the threat, my development Box can't recieve emails. Only read them in the web. If I understood well, I can use the TableView only, if have the same Structure as array behind. I change the array for changing the Values in theTableView . The UpdateData calls the tableview1_data. Is that right ? If you have time to take a look to my changed FRequest ( that is a changed copy of the original FRequest from Benoit, I just added the way to work with) , you will see that I use ( in that case still a GridView ) it to store datas, needed to make the query. My idea to use the TableView, commes from the property of TableView of Rowheaders, which stay if I have so scroll to right. Thats all. I do not need to have the possibility to roll back ( to the array or Tabel value) And my main problem is how to fill/use it in CreateColumn and DelColumn, where I write to the Grid. My be my choice to change it to a TableView is not good? Or I use it, with the double Data storing ? Amicalement Charlie From gambas at ...1... Tue Feb 24 22:38:49 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 24 Feb 2004 22:38:49 +0100 Subject: [Gambas-user] TableView Update In-Reply-To: <200402241919.08391.ronstk@...239...> References: <200402232215.51003.Karl.Reinl@...9...> <200402241749.14587.gambas@...1...> <200402241919.08391.ronstk@...239...> Message-ID: <200402242238.49512.gambas@...1...> On Tuesday 24 February 2004 19:19, ron wrote: > First a little update, :( > > public sub UpdateData( row as integer, column as integer, text as string) > tblcols[column][row] = text ' this set data for tableview refreshing > tableview.moveto(-1,-1) ' !!!!!! this is very importand !!!!!!!! > tableview[row,column].data.text = text 'this update screen > end > > > As I found the tableview[row,column].Refresh starts the tableview_data > events Then the data must come out of the array. Setting with .data.text > makes the change direct visible without a refresh. What is that ?? TableView[x, y] has no Data property. If this syntax works, then this is a bug. > The only requirement is to invalidate the row/col address and reselecting > it before you write data. It is not posible to rewrite several times to the > same [row,column].data cell. > You did it this way in the GDM without refresh. I have stolen it ;) Where did you find I did this way in the GDM ? > > Writing the data with tblvw[x,y].data.text looks to me not persistent. > The visual data content and backcolor was lost after moving other windows > over it and using the events with a array was needed and my solution to > use. Actually, you must write into Data only in a Data event handler. I may prevent this unexpected :-) use in the future. > > In my case the refreshing of the tableview makes the whole table > flickering. QT send only events for the cells that need an refresh and that > is less than the whole tableview in one refresh. > > If I remember well the .Refresh was also quickly scrolling the Tableview > grid. The tblvw[row,column].Refresh did't look working (i will retry it). > > May be my fault but this way was working well ;) > Hmm... All that needs light! Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Feb 24 22:42:54 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 24 Feb 2004 22:42:54 +0100 Subject: [Gambas-user] TableView In-Reply-To: <200402242125.33844.Karl.Reinl@...9...> References: <200402242125.33844.Karl.Reinl@...9...> Message-ID: <200402242242.54705.gambas@...1...> On Tuesday 24 February 2004 21:25, Charlie Reinl wrote: > Salut, > > sorry to not stay in the threat, my development Box can't recieve emails. > Only read them in the web. > > If I understood well, I can use the TableView only, if have the same > Structure as array behind. Of course not. You just need an algorithm that put the data into the Data property of the TableView each time it requests it, by raising the Data event and by giving you a row and a column number. > I change the array for changing the Values in theTableView . The UpdateData > calls the tableview1_data. Is that right ? > > If you have time to take a look to my changed FRequest ( that is a changed > copy of the original FRequest from Benoit, I just added the way to work > with) , you will see that I use ( in that case still a GridView ) it to > store datas, needed to make the query. > > My idea to use the TableView, commes from the property of TableView of > Rowheaders, which stay if I have so scroll to right. Thats all. > I do not need to have the possibility to roll back ( to the array or Tabel > value) > > And my main problem is how to fill/use it in CreateColumn and DelColumn, > where I write to the Grid. > > My be my choice to change it to a TableView is not good? > Or I use it, with the double Data storing ? The difference between GridView and TableView is that GridView creates a internal object for each cell in the grid, even if it is void, whereas the TableView creates nothing, so can display tables of any size. I admit there are some problems in the TableView, with refresh, cursor updates, ... mainly because of strange things happening with this QT widget. If I remember, this is the reason why I didn't highlight the current cell, for example. But things may have change, since the time I implemented this widget. Regards, -- Benoit Minisini mailto:gambas at ...1... From daniel.campos at ...338... Tue Feb 24 22:50:00 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Tue, 24 Feb 2004 22:50:00 +0100 Subject: [Gambas-user] Network client socket problem In-Reply-To: <200402242031.29882.perrymou@...370...> References: <200402242031.29882.perrymou@...370...> Message-ID: <1077659400.2617.5.camel@...40...> El mar, 24-02-2004 a las 21:31, pezz escribi?: > Hi, > > The networking component was just the thing I was waiting for in Gambas. > I opened the example Network client socket example in Gambas 0.84a, and > studied the code to get an idea how to use it. > > On running the example, it connects OK to a socket, but doesn't seem to send > any data after the initial connection is made. > > Here are the relevant lines from the example, under the Button3.click event: > > IF MySock.Status=Net.Connected THEN > WRITE #MySock,textarea2.text,Len(textarea2.text) > TextArea2.Text="" > > The socket status is obviously "Net.Connected" so why doesn't the data get > sent? Or is the problem somewhere else in the example code i.e. a socket > listening problem after the data is sent? Either way, no communication > happens after the connection is established. Well, I've tested the example looking for any bug but I didn't found anything. ClientSocket works OK, so may be the problem is in the listening socket as you say. Try this for example: 1?) Place any web address you can access from your computer, for example "localhost" or "www.kudla.org" (if Rob has no problem in that). And select 80 in port number. 2?) Connect 3?) Once you're connected, write a random text, finished with two carry returns 4?) Send that data 5?) You will reveive the error reply from web server, and the connection will also be closed by server. 6?) That's all, it worked for me! Regards, Daniel Campos > > Any help would be appreciated. > > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From karl.reinl at ...9... Tue Feb 24 23:29:15 2004 From: karl.reinl at ...9... (Charlie) Date: Tue, 24 Feb 2004 23:29:15 +0100 Subject: [Gambas-user] TableView Update References: <200402232215.51003.Karl.Reinl@...9...> <200402241749.14587.gambas@...1...> <200402241919.08391.ronstk@...239...> <200402242238.49512.gambas@...1...> Message-ID: <403BD03B.2060602@...9...> Benoit Minisini schrieb: >On Tuesday 24 February 2004 19:19, ron wrote: > > >>First a little update, :( >> >>public sub UpdateData( row as integer, column as integer, text as string) >> tblcols[column][row] = text ' this set data for tableview refreshing >> tableview.moveto(-1,-1) ' !!!!!! this is very importand !!!!!!!! >> tableview[row,column].data.text = text 'this update screen >>end >> >> >>As I found the tableview[row,column].Refresh starts the tableview_data >>events Then the data must come out of the array. Setting with .data.text >>makes the change direct visible without a refresh. >> >> > >What is that ?? TableView[x, y] has no Data property. If this syntax works, >then this is a bug. > Your right , that don'T work > > > >>The only requirement is to invalidate the row/col address and reselecting >>it before you write data. It is not posible to rewrite several times to the >>same [row,column].data cell. >>You did it this way in the GDM without refresh. I have stolen it ;) >> >> > >Where did you find I did this way in the GDM ? > > > >>Writing the data with tblvw[x,y].data.text looks to me not persistent. >>The visual data content and backcolor was lost after moving other windows >>over it and using the events with a array was needed and my solution to >>use. >> >> > >Actually, you must write into Data only in a Data event handler. I may prevent >this unexpected :-) use in the future. > Oh,yeah > > > >>In my case the refreshing of the tableview makes the whole table >>flickering. QT send only events for the cells that need an refresh and that >>is less than the whole tableview in one refresh. >> >>If I remember well the .Refresh was also quickly scrolling the Tableview >>grid. The tblvw[row,column].Refresh did't look working (i will retry it). >> >>May be my fault but this way was working well ;) >> >> >> > >Hmm... All that needs light! > >Regards, > > > From ronstk at ...239... Wed Feb 25 02:15:38 2004 From: ronstk at ...239... (ron) Date: Wed, 25 Feb 2004 02:15:38 +0100 Subject: [Gambas-user] TableView Update In-Reply-To: <200402242238.49512.gambas@...1...> References: <200402232215.51003.Karl.Reinl@...9...> <200402241919.08391.ronstk@...239...> <200402242238.49512.gambas@...1...> Message-ID: <200402250215.38663.ronstk@...239...> On Tuesday 24 February 2004 22:38, Benoit Minisini wrote: > On Tuesday 24 February 2004 19:19, ron wrote: > > First a little update, :( snip > > As I found the tableview[row,column].Refresh starts the tableview_data > > events Then the data must come out of the array. Setting with .data.text > > makes the change direct visible without a refresh. > > What is that ?? TableView[x, y] has no Data property. If this syntax works, > then this is a bug. > Sorry my fault here. I should had a look in my code. > > The only requirement is to invalidate the row/col address and reselecting > > it before you write data. It is not posible to rewrite several times to > > the same [row,column].data cell. > > You did it this way in the GDM without refresh. I have stolen it ;) > > Where did you find I did this way in the GDM ? I can't exact tell you but GDM was the only code using the tableview It had something to do with updates after the cell was changed Table field building but the version at that time was 0.56 or 0.62 I started with gambas. Anyway I can't find it now, I don't have that old version of my programm, where I had comments where I found the code parts used. > > > Writing the data with tblvw[x,y].data.text looks to me not persistent. > > The visual data content and backcolor was lost after moving other windows > > over it and using the events with a array was needed and my solution to > > use. > > Actually, you must write into Data only in a Data event handler. I may > prevent this unexpected :-) use in the future. Thats ok with me, so I already changed this to do a refresh after writing in the array. Works now OK. > > > In my case the refreshing of the tableview makes the whole table > > flickering. QT send only events for the cells that need an refresh and > > that is less than the whole tableview in one refresh. > > > > If I remember well the .Refresh was also quickly scrolling the Tableview > > grid. The tblvw[row,column].Refresh did't look working (i will retry it). > > > > May be my fault but this way was working well ;) > > Hmm... All that needs light! > The retry is done and now a working behaviour of the program. > Regards, From ronstk at ...239... Wed Feb 25 05:46:59 2004 From: ronstk at ...239... (ron) Date: Wed, 25 Feb 2004 05:46:59 +0100 Subject: [Gambas-user] TableView In-Reply-To: <200402242125.33844.Karl.Reinl@...9...> References: <200402242125.33844.Karl.Reinl@...9...> Message-ID: <200402250531.11357.ronstk@...239...> On Tuesday 24 February 2004 21:25, Charlie Reinl wrote: > Salut, > > sorry to not stay in the threat, my development Box can't recieve emails. > Only read them in the web. > > If I understood well, I can use the TableView only, if have the same > Structure as array behind. > I change the array for changing the Values in theTableView . The UpdateData > calls the tableview1_data. Is that right ? > Yes you read it well but it was my mistake, next is the good code Sorry Benoit. it's not a bug as mentioned in your reply :) public sub UpdateData( row as integer, column as integer, text as string) ????????tblcols[column][row] = text ' this set data for tableview refreshing tableview1.moveto(row,column) ????????tableview1.data.text = text ' removed the [row,col] end Benoit maked a note about writing direct to the grid, to remove it in the future, so best is then to write in the array and a tableview.refresh(row,column) as he sugested. I changed already now and it works now better then in the past. > If you have time to take a look to my changed FRequest ( that is a changed > copy of the original FRequest from Benoit, I just added the way to work > with) , you will see that I use ( in that case still a GridView ) it to > store datas, needed to make the query. > Because this tableview problem I did to use the GridView. Making it with several widgets to emulate the tableview. Fixed header and scrolling grid. > My idea to use the TableView, commes from the property of TableView of > Rowheaders, which stay if I have so scroll to right. Thats all. > I do not need to have the possibility to roll back ( to the array or Tabel > value) > Exact I feel so and changed back to the TableView. Less code to emulate it. > And my main problem is how to fill/use it in CreateColumn and DelColumn, > where I write to the Grid. > > My be my choice to change it to a TableView is not good? > Or I use it, with the double Data storing ? > These part I had to but tblarr.add(columndata,index) ? Moving the columns is simple swap the rowdata in the grid for two columns till you arive at the destination column. I did this in jscript client side of the sql builder. The double data storing is not a big problem i think. I have now 10 rows / column(table field). The code example is the global way I use and are parts of several subroutines to initialize the tableview for the field properties as you could see in the screenshots I uploaded. 1 of theme was using the GridView but now is all in tableview. > Amicalement > Charlie > Greetings Ron From Karl.Reinl at ...9... Wed Feb 25 08:23:58 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Wed, 25 Feb 2004 08:23:58 +0100 Subject: [Gambas-user] Bug in IDE Message-ID: <200402250823.58582.Karl.Reinl@...9...> Salut, just select NEW TEXT FILE in IDE Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot6.png Type: image/png Size: 72729 bytes Desc: not available URL: From abidoo.too at ...11... Wed Feb 25 09:52:28 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Wed, 25 Feb 2004 09:52:28 +0100 Subject: [Gambas-user] Bug in IDE In-Reply-To: <200402250823.58582.Karl.Reinl@...9...> References: <200402250823.58582.Karl.Reinl@...9...> Message-ID: <200402250952.28516.abidoo.too@...11...> Le Mercredi 25 F?vrier 2004 08:23, Charlie Reinl a ?crit : > Salut, > > just select NEW TEXT FILE in IDE > > Amicalement > Charlie It's a bug ... to correct it : Line 47 : in FNewText.class Replace : SelDest.NoShowCustomTab = TRUE by SelDest.DoNotShowCustomTabs = TRUE Fabien (Not my fault this time) From gambas at ...1... Wed Feb 25 19:52:27 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 25 Feb 2004 19:52:27 +0100 Subject: [Gambas-user] Bug in IDE In-Reply-To: <200402250952.28516.abidoo.too@...11...> References: <200402250823.58582.Karl.Reinl@...9...> <200402250952.28516.abidoo.too@...11...> Message-ID: <200402251952.27384.gambas@...1...> On Wednesday 25 February 2004 09:52, Fabien Bodard wrote: > Le Mercredi 25 F?vrier 2004 08:23, Charlie Reinl a ?crit : > > Salut, > > > > just select NEW TEXT FILE in IDE > > > > Amicalement > > Charlie > > It's a bug ... to correct it : > > > > Line 47 : in FNewText.class > > Replace : SelDest.NoShowCustomTab = TRUE > > by SelDest.DoNotShowCustomTabs = TRUE > > Fabien > > (Not my fault this time) > He he -->[] -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Feb 26 00:45:50 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 26 Feb 2004 00:45:50 +0100 Subject: [Gambas-user] gambas 0.90 Message-ID: <200402260045.51009.gambas@...1...> Hi, Here is the 0.90 version of gambas. The main feature of this version is the highly expected automatic completion feature in the IDE source code editor. This feature is not completely implemented. At the moment, function syntax is not displayed (like in VB), and there are surely little bugs (I found one a minute ago :-p) Try it and tell me every bug you find in this feature, that was complicated to implement! There are other improvements of course, see the ChangeLog file for more details. I hope Rob will finish updating the Wiki scripts soon :-), so that I can start updating the documention contents, that begin to be a bit old. Enjoy it, -- Benoit Minisini mailto:gambas at ...1... From mardus at ...298... Thu Feb 26 01:12:33 2004 From: mardus at ...298... (Marcelo Duschkin) Date: Wed, 25 Feb 2004 21:12:33 -0300 Subject: [Gambas-user] installing 0.84 Message-ID: <200402252112.33889.mardus@...298...> I've tried to install 0.84a in MDK 9.1 Previously, I unistalled 0.65 (Triyng from rpms) Installing gambas, abort because there are not libgambas Installing libgambas, abort because there are not gambas... :( What are my fault? -- Para el cierre: --- El Maestro Pen Guin al azar citaba: Si no puedes hacerlo bueno, hazlo bonito (Gill Bates) - - - Marcelo Duschkin - Buenos Aires - Argentina mardus at ...298... www.websdelsur.com.ar www.lahueya.com.ar From ronstk at ...239... Thu Feb 26 02:53:50 2004 From: ronstk at ...239... (ron) Date: Thu, 26 Feb 2004 02:53:50 +0100 Subject: [Gambas-user] gambas 0.90 CURL In-Reply-To: <200402260045.51009.gambas@...1...> References: <200402260045.51009.gambas@...1...> Message-ID: <200402260253.50978.ronstk@...239...> On Thursday 26 February 2004 00:45, Benoit Minisini wrote: > Hi, > > Here is the 0.90 version of gambas. > Hello, I had the same problems with CURL. In my case it occurs because the standard CURL version is 7.10.2 . As I was afraid for Yast from SuSE didn't work anymore after update to CURL version 7.11.0. I can't set other yast-source download points and are unable to get the KDE 3.2 from SuSE or other updates. The update from SuSE for curl at SuSE8.2 is a link to the version for SuSE9.0 This one has dependancies to other libs not provided as seperate download but in the 9.0 base package. I'm not good enough to mangle this setup to fix it. Yast is a front-end for the rpm packages of SuSE and has a database containing the installed packages for (un)installing. Kpackage install well but does not update this database. It tells me for installed SuSE rpm's that they are not installed. I understand this. However the Kpackage I have can't uninstall. It simply does nothing. Yast can't handle installs from Kpackage and is also understandable. For the CURL component in the config.in script there is a way to get the path to the curl libs with curl-config --prefix?. This program is installed with curl-devel package (suse 8.2) as a dependency for another program. Asume curl-devel is installed if this file exist/run is true but it is not shure it is the correct version. With curl-config --version it returns 'libcurl 7.10.2' and curl-config --vernum '070a02' Is there a way to check this in the configure that it is the correct version? Gambas need 7.10.6 or higher as told by Daniel. I followed his instructions to remove the HTTP part and now it compiles. I can use the serial-port part for some home equipment and --without-net that part is lost? Thanks for the fixes and extras done. Ron From sourceforge-raindog2 at ...94... Thu Feb 26 04:15:36 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 25 Feb 2004 22:15:36 -0500 Subject: [Gambas-user] installing 0.84 In-Reply-To: <200402252112.33889.mardus@...298...> References: <200402252112.33889.mardus@...298...> Message-ID: <200402252215.36407.sourceforge-raindog2@...94...> On Wednesday 25 February 2004 19:12, Marcelo Duschkin wrote: > Installing gambas, abort because there are not libgambas > Installing libgambas, abort because there are not gambas... :( > What are my fault? As with any packages with mutual dependencies, either you need to specify them both on the command line: rpm -Uvh gambas*.rpm libgambas*.rpm (or just rpm -Uvh *gambas*.rpm) Or since you're using Mandrake, use urpmi to the same effect: urpmi *gambas*.rpm Or easiest of all, set up a download source for my Mandrake 9.1 RPM's and just use the automatic dependency handling: urpmi.addmedia kudla http://www.kudla.org/rpm/9.1/i586 with hdlist.cz urpmi gambas-gui-0.84a (After you've run the urpmi.addmedia command, you can also install gambas or any of my other RPM's from Mandrake's own software manager.) Red Hat did a real disservice to the world by not building auto dependency handling into RPM in the first place.... I don't know how many Mandrake users there are who don't know about urpmi. Rob From olinux at ...289... Thu Feb 26 08:11:13 2004 From: olinux at ...289... (Coquet Olivier) Date: Thu, 26 Feb 2004 08:11:13 +0100 Subject: [Gambas-user] gambas 0.90 In-Reply-To: <200402260045.51009.gambas@...1...> References: <200402260045.51009.gambas@...1...> Message-ID: <1077779473.27101.2.camel@...293...> hey nice, but.....don't work :=( compile and run under fedora core 1 bugs: - in ide auto completion display a contexte menu for a 100e of sec lol, impossible to view it ! - in ide, deleting a sub procedure, don't delete the END statement, must close and reopen editor to erase the END statment Regards Olivier Le jeu 26/02/2004 ?? 00:45, Benoit Minisini a ??crit : > Hi, > > Here is the 0.90 version of gambas. > > The main feature of this version is the highly expected automatic completion > feature in the IDE source code editor. > > This feature is not completely implemented. At the moment, function syntax is > not displayed (like in VB), and there are surely little bugs (I found one a > minute ago :-p) > > Try it and tell me every bug you find in this feature, that was complicated to > implement! > > There are other improvements of course, see the ChangeLog file for more > details. > > I hope Rob will finish updating the Wiki scripts soon :-), so that I can start > updating the documention contents, that begin to be a bit old. > > Enjoy it, From gambas at ...1... Thu Feb 26 08:16:08 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 26 Feb 2004 08:16:08 +0100 Subject: [Gambas-user] gambas 0.90 In-Reply-To: <1077779473.27101.2.camel@...293...> References: <200402260045.51009.gambas@...1...> <1077779473.27101.2.camel@...293...> Message-ID: <200402260816.09044.gambas@...1...> On Thursday 26 February 2004 08:11, Coquet Olivier wrote: > hey nice, but.....don't work :=( > > > compile and run under fedora core 1 > > bugs: > > - in ide auto completion display a contexte menu for a 100e of sec lol, > impossible to view it ! Do you use QT 3.1 or QT 3.2 ? > > - in ide, deleting a sub procedure, don't delete the END statement, must > close and reopen editor to erase the END statment Hmmm... I will check it. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Feb 26 08:18:00 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 26 Feb 2004 08:18:00 +0100 Subject: [Gambas-user] gambas 0.90 In-Reply-To: <1077779473.27101.2.camel@...293...> References: <200402260045.51009.gambas@...1...> <1077779473.27101.2.camel@...293...> Message-ID: <200402260818.00743.gambas@...1...> On Thursday 26 February 2004 08:11, Coquet Olivier wrote: > - in ide, deleting a sub procedure, don't delete the END statement, must > close and reopen editor to erase the END statment > What do you mean by that ? I didn't see the problem... -- Benoit Minisini mailto:gambas at ...1... From olinux at ...289... Thu Feb 26 08:25:42 2004 From: olinux at ...289... (Coquet Olivier) Date: Thu, 26 Feb 2004 08:25:42 +0100 Subject: [Gambas-user] gambas 0.90 In-Reply-To: <200402260818.00743.gambas@...1...> References: <200402260045.51009.gambas@...1...> <1077779473.27101.2.camel@...293...> <200402260818.00743.gambas@...1...> Message-ID: <1077780342.27179.2.camel@...293...> one answer, tow question sorry, i'm so stupid, but how can I see if I use QT 3.1 or QT 3.2 ????? 2) make a sub statment in editor like that: public sub test() end select: public sub test() delete it the line where END is, is surlined in blue Close the editor reopen the editor End desapear regard olivier Le jeu 26/02/2004 ?? 08:18, Benoit Minisini a ??crit : > On Thursday 26 February 2004 08:11, Coquet Olivier wrote: > > - in ide, deleting a sub procedure, don't delete the END statement, must > > close and reopen editor to erase the END statment > > > > What do you mean by that ? I didn't see the problem... From olinux at ...289... Thu Feb 26 08:30:29 2004 From: olinux at ...289... (Coquet Olivier) Date: Thu, 26 Feb 2004 08:30:29 +0100 Subject: [Gambas-user] gambas 0.90 In-Reply-To: <200402260818.00743.gambas@...1...> References: <200402260045.51009.gambas@...1...> <1077779473.27101.2.camel@...293...> <200402260818.00743.gambas@...1...> Message-ID: <1077780629.27179.6.camel@...293...> oups not realy like my precedent answer: make to sub like this public sub test1() end public sub test2() end select the second sub entirely like this public sub test2() <====selected (surelined) <====selected (surelined) end <====selected (surelined) press delete end line still surelined and not erased close editor open editor now end line is erased regards Olivier Le jeu 26/02/2004 ?? 08:18, Benoit Minisini a ??crit : > On Thursday 26 February 2004 08:11, Coquet Olivier wrote: > > - in ide, deleting a sub procedure, don't delete the END statement, must > > close and reopen editor to erase the END statment > > > > What do you mean by that ? I didn't see the problem... From t4nu at ...103... Thu Feb 26 08:34:03 2004 From: t4nu at ...103... (t4nu) Date: Thu, 26 Feb 2004 14:34:03 +0700 Subject: [Gambas-user] Just an idea... Message-ID: <200402261434.03122.t4nu@...103...> Something that VB doesn't have (maybe), but Gambas could have is that we write code in faster way by having a shortcut. I mean that different style in writing code from any programmer, we can fill it at our own shortcut and we can put anykind of code in it. So, whenever it's needed, we dont have to write again or copy-paste again, just press that shortcut. Other benefit is that we can focus in code area, because there's no need to travel looking for similar code that we need. Well, guys, how ? From gambas at ...1... Thu Feb 26 08:46:16 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 26 Feb 2004 08:46:16 +0100 Subject: [Gambas-user] Just an idea... In-Reply-To: <200402261434.03122.t4nu@...103...> References: <200402261434.03122.t4nu@...103...> Message-ID: <200402260846.16378.gambas@...1...> On Thursday 26 February 2004 08:34, t4nu wrote: > Something that VB doesn't have (maybe), > but Gambas could have > is that we write code in faster way by having a shortcut. > > I mean that different style in writing code from any > programmer, we can fill it at our own shortcut and > we can put anykind of code in it. > > So, whenever it's needed, we dont have to write again > or copy-paste again, just press that shortcut. > > Other benefit is that we can focus in code area, because there's > no need to travel looking for similar code that we need. > > Well, guys, how ? > Why not ? But copy & paste is a very bad way of programming! -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Thu Feb 26 08:46:41 2004 From: ronstk at ...239... (ron) Date: Thu, 26 Feb 2004 08:46:41 +0100 Subject: [Gambas-user] gambas 0.90 In-Reply-To: <1077779473.27101.2.camel@...293...> References: <200402260045.51009.gambas@...1...> <1077779473.27101.2.camel@...293...> Message-ID: <200402260846.41605.ronstk@...239...> On Thursday 26 February 2004 08:11, Coquet Olivier wrote: > hey nice, but.....don't work :=( > > > compile and run under fedora core 1 > > bugs: > > - in ide auto completion display a contexte menu for a 100e of sec lol, > impossible to view it ! > > - in ide, deleting a sub procedure, don't delete the END statement, must > close and reopen editor to erase the END statment > > > Regards > Olivier > I fond no problem with auto completion display a 100e of sec. When i select a procedure and delete it look ok. Whau Jippy, i'm the lucky one? Ron From gambas at ...1... Thu Feb 26 08:48:34 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 26 Feb 2004 08:48:34 +0100 Subject: [Gambas-user] gambas 0.90 In-Reply-To: <1077780629.27179.6.camel@...293...> References: <200402260045.51009.gambas@...1...> <200402260818.00743.gambas@...1...> <1077780629.27179.6.camel@...293...> Message-ID: <200402260848.34787.gambas@...1...> On Thursday 26 February 2004 08:30, Coquet Olivier wrote: > oups not realy like my precedent answer: > > make to sub like this > > public sub test1() > > end > public sub test2() > > end > > select the second sub entirely like this > > public sub test2() <====selected (surelined) > <====selected (surelined) > end <====selected (surelined) > > press delete > > end line still surelined and not erased 'surelined' ? What is this word ? And if you move the cursor just after doing the delete ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Feb 26 08:57:09 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 26 Feb 2004 08:57:09 +0100 Subject: [Gambas-user] gambas 0.90 In-Reply-To: <1077780342.27179.2.camel@...293...> References: <200402260045.51009.gambas@...1...> <200402260818.00743.gambas@...1...> <1077780342.27179.2.camel@...293...> Message-ID: <200402260857.09294.gambas@...1...> On Thursday 26 February 2004 08:25, Coquet Olivier wrote: > one answer, tow question > > sorry, i'm so stupid, but how can I see if I use QT 3.1 or QT 3.2 ????? > Launch QT designer (its name is 'designer'), and click on 'About QT' in the menu. -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Thu Feb 26 08:54:56 2004 From: ronstk at ...239... (ron) Date: Thu, 26 Feb 2004 08:54:56 +0100 Subject: [Gambas-user] gambas 0.90 In-Reply-To: <1077780629.27179.6.camel@...293...> References: <200402260045.51009.gambas@...1...> <200402260818.00743.gambas@...1...> <1077780629.27179.6.camel@...293...> Message-ID: <200402260854.56269.ronstk@...239...> On Thursday 26 February 2004 08:30, Coquet Olivier wrote: > oups not realy like my precedent answer: > > make to sub like this > > public sub test1() > > end > public sub test2() > > end > > select the second sub entirely like this > > public sub test2() <====selected (surelined) > <====selected (surelined) > end <====selected (surelined) > > press delete > > end line still surelined and not erased > > close editor > open editor > > now end line is erased > > > regards > Olivier > I can reproduce that, works here ok completion also QT here is 3.2 now BigSmile, but found other bugs. Ron From ronstk at ...239... Thu Feb 26 08:59:35 2004 From: ronstk at ...239... (ron) Date: Thu, 26 Feb 2004 08:59:35 +0100 Subject: [Gambas-user] installing 0.84 In-Reply-To: <200402252215.36407.sourceforge-raindog2@...94...> References: <200402252112.33889.mardus@...298...> <200402252215.36407.sourceforge-raindog2@...94...> Message-ID: <200402260859.35521.ronstk@...239...> On Thursday 26 February 2004 04:15, Rob wrote: > On Wednesday 25 February 2004 19:12, Marcelo Duschkin wrote: snip > > Red Hat did a real disservice to the world by not building auto > dependency handling into RPM in the first place.... I don't know > how many Mandrake users there are who don't know about urpmi. > > Rob > That why SuSE made Yast to handle that. Only Yast is not happy if some of his own libs are updated :( Ron From olinux at ...289... Thu Feb 26 09:00:26 2004 From: olinux at ...289... (Coquet Olivier) Date: Thu, 26 Feb 2004 09:00:26 +0100 Subject: [Gambas-user] gambas 0.90 In-Reply-To: <200402260857.09294.gambas@...1...> References: <200402260045.51009.gambas@...1...> <200402260818.00743.gambas@...1...> <1077780342.27179.2.camel@...293...> <200402260857.09294.gambas@...1...> Message-ID: <1077782426.27407.23.camel@...293...> 3.1 :=( regards olivier Le jeu 26/02/2004 ?? 08:57, Benoit Minisini a ??crit : > On Thursday 26 February 2004 08:25, Coquet Olivier wrote: > > one answer, tow question > > > > sorry, i'm so stupid, but how can I see if I use QT 3.1 or QT 3.2 ????? > > > > Launch QT designer (its name is 'designer'), and click on 'About QT' in the > menu. From olinux at ...289... Thu Feb 26 09:02:32 2004 From: olinux at ...289... (Coquet Olivier) Date: Thu, 26 Feb 2004 09:02:32 +0100 Subject: [Gambas-user] gambas 0.90 In-Reply-To: <200402260848.34787.gambas@...1...> References: <200402260045.51009.gambas@...1...> <200402260818.00743.gambas@...1...> <1077780629.27179.6.camel@...293...> <200402260848.34787.gambas@...1...> Message-ID: <1077782552.27407.26.camel@...293...> surelined = surlign?? [french only...] en fait la ligne qui contient l'instruction end reste s??lectionn??e en fond bleu, et le d??placement du curseur n'y change rien, seule la fermeture de l'editeur et sa r??ouverture efface cette ligne. de plus avant fermeture de l'??diteur cette ligne reste innaccessible au curseur. [frenc end...] regards Olivier Le jeu 26/02/2004 ?? 08:48, Benoit Minisini a ??crit : > On Thursday 26 February 2004 08:30, Coquet Olivier wrote: > > oups not realy like my precedent answer: > > > > make to sub like this > > > > public sub test1() > > > > end > > public sub test2() > > > > end > > > > select the second sub entirely like this > > > > public sub test2() <====selected (surelined) > > <====selected (surelined) > > end <====selected (surelined) > > > > press delete > > > > end line still surelined and not erased > > 'surelined' ? What is this word ? > > And if you move the cursor just after doing the delete ? From ronstk at ...239... Thu Feb 26 09:06:16 2004 From: ronstk at ...239... (ron) Date: Thu, 26 Feb 2004 09:06:16 +0100 Subject: [Gambas-user] Just an idea... In-Reply-To: <200402260846.16378.gambas@...1...> References: <200402261434.03122.t4nu@...103...> <200402260846.16378.gambas@...1...> Message-ID: <200402260906.16665.ronstk@...239...> On Thursday 26 February 2004 08:46, Benoit Minisini wrote: > On Thursday 26 February 2004 08:34, t4nu wrote: > > Something that VB doesn't have (maybe), > > but Gambas could have > > is that we write code in faster way by having a shortcut. > > > > I mean that different style in writing code from any > > programmer, we can fill it at our own shortcut and > > we can put anykind of code in it. > > > > So, whenever it's needed, we dont have to write again > > or copy-paste again, just press that shortcut. > > > > Other benefit is that we can focus in code area, because there's > > no need to travel looking for similar code that we need. > > > > Well, guys, how ? > > Why not ? But copy & paste is a very bad way of programming! My 2 cents Having a directory with files to include in a project is also handy (bad VB) and Benoit is against it for dependency. I agree with it but mis it too. Code snippets with shortcuts/select-box is a good alternative. Ron From ronstk at ...239... Thu Feb 26 09:08:45 2004 From: ronstk at ...239... (ron) Date: Thu, 26 Feb 2004 09:08:45 +0100 Subject: [Gambas-user] gambas 0.90 In-Reply-To: <200402260854.56269.ronstk@...239...> References: <200402260045.51009.gambas@...1...> <1077780629.27179.6.camel@...293...> <200402260854.56269.ronstk@...239...> Message-ID: <200402260908.45627.ronstk@...239...> > > I CAN'T reproduce that, works here ok > completion also QT here is 3.2 now > > BigSmile, but found other bugs. > > Ron Sorry for the mistake From ronstk at ...239... Thu Feb 26 09:14:01 2004 From: ronstk at ...239... (ron) Date: Thu, 26 Feb 2004 09:14:01 +0100 Subject: [Gambas-user] Bugs: Help Browser + GDM + Net Message-ID: <200402260914.01370.ronstk@...239...> Help Browser Type in the searchbox the word kilo and press enter. Of course not found. Click in the box below the search and get popup [6] Type mismatch: wanted integr, got Null instead. At: FExplorer.IsSearch_Click.621 PUBLIC SUB lstSearch_Click() IF Val(lstSearch.Key) THEN GotoLink(File.Dir($sHome) &/ $aSearch[Val(lstSearch.Key)]) ENDIF END fixes this Click on OK and Gambas exit total. ------------------------- GDM Open the tree In the tree right-click on a database icon and select Refresh in context menu A blue bar or dotted at the moment of clicking. [13] Null Object At: FMain.RefreshTable.222 Click on OK and GambasDM exit . I can't figure it out how to solve this now. ------------------------ SerialPort example: F.class PUBLIC SUB Button2_Click() IF Sport.Status=NetCode.Inactive THEN '<------ must be Net.Inactive Message ("Open port first!") ELSE WRITE #Sport,TxtSend.Text & Chr(13) & Chr(10) END IF END ---------------------- Ron From oxleyd at ...364... Thu Feb 26 09:17:21 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Thu, 26 Feb 2004 09:17:21 +0100 Subject: [Gambas-user] gambas 0.90 In-Reply-To: <200402260045.51009.gambas@...1...> Message-ID: <200402260700.i1Q70OJE025515@...364...> Hey, nice progress with Gambas! I have been waiting with fingers crossed for autocomplete! Also, the MDI hack that was written (by Rob I believe?) is also an excellent addition. When can we see that included in the source for Gambas!??! Everyone is appreciating all the hard work going into Gambas. Without doubt, it will be THE tool of choice for BASIC programmers on Linux. I have played around with a few (Realbasic, HBasic, GB) and never got on with any. But Gambas has it all and it also works! Congrats to all assiting. One question. Why the jump from v0.84 to v0.90? -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Benoit Minisini Sent: 26 February 2004 00:46 To: gambas-user at lists.sourceforge.net Subject: [Gambas-user] gambas 0.90 Hi, Here is the 0.90 version of gambas. The main feature of this version is the highly expected automatic completion feature in the IDE source code editor. This feature is not completely implemented. At the moment, function syntax is not displayed (like in VB), and there are surely little bugs (I found one a minute ago :-p) Try it and tell me every bug you find in this feature, that was complicated to implement! There are other improvements of course, see the ChangeLog file for more details. I hope Rob will finish updating the Wiki scripts soon :-), so that I can start updating the documention contents, that begin to be a bit old. Enjoy it, -- Benoit Minisini mailto:gambas at ...1... ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From radoslav.dejanovic at ...371... Thu Feb 26 10:07:58 2004 From: radoslav.dejanovic at ...371... (Radoslav Dejanovic) Date: Thu, 26 Feb 2004 10:07:58 +0100 Subject: [Gambas-user] gambas 0.90 In-Reply-To: <200402260700.i1Q70OJE025515@...364...> References: <200402260700.i1Q70OJE025515@...364...> Message-ID: <1077786478.3252.6.camel@...372...> On ?et, 2004-02-26 at 09:17, Daniel Oxley wrote: > One question. Why the jump from v0.84 to v0.90? Perhaps Benoit is eager to get to 1.0 as soon as possible... :)) That reminds me of the days of pre1.0 Linux kernel... It was qute nice seeing all those kernel versions. It took more than one year to go from 0.99 to 0.99.15j (and then finally to pre-1.0). It was really confusing to keep in sync with all that alphabet, but since the changes in letters were mostly significant (even for x86 architecture), most people wanted to upgrade. We are about to see Gambas 0.99, then 0.99a, then 0.99b, but I bet Benoit will get frustrated well before the version j and decide to scrap the project and go to Microsoft to develop in C#... :)) From oxleyd at ...364... Thu Feb 26 10:11:32 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Thu, 26 Feb 2004 10:11:32 +0100 Subject: [Gambas-user] gambas 0.90 In-Reply-To: <1077786478.3252.6.camel@...372...> Message-ID: <200402260754.i1Q7sZJE027599@...364...> Defect to the enemy??!! No way! But I wonder if MS will ever get involved with Linux with their .NET technology? All it would take would be the .NET framework for linux and projects like Go-mono would sink, fast...! -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Radoslav Dejanovic Sent: 26 February 2004 10:08 To: gambas-user at lists.sourceforge.net Subject: RE: [Gambas-user] gambas 0.90 On ?et, 2004-02-26 at 09:17, Daniel Oxley wrote: > One question. Why the jump from v0.84 to v0.90? Perhaps Benoit is eager to get to 1.0 as soon as possible... :)) That reminds me of the days of pre1.0 Linux kernel... It was qute nice seeing all those kernel versions. It took more than one year to go from 0.99 to 0.99.15j (and then finally to pre-1.0). It was really confusing to keep in sync with all that alphabet, but since the changes in letters were mostly significant (even for x86 architecture), most people wanted to upgrade. We are about to see Gambas 0.99, then 0.99a, then 0.99b, but I bet Benoit will get frustrated well before the version j and decide to scrap the project and go to Microsoft to develop in C#... :)) ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From olinux at ...289... Thu Feb 26 10:12:56 2004 From: olinux at ...289... (Coquet Olivier) Date: Thu, 26 Feb 2004 10:12:56 +0100 Subject: [Gambas-user] gambas 0.90 In-Reply-To: <1077786478.3252.6.camel@...372...> References: <200402260700.i1Q70OJE025515@...364...> <1077786478.3252.6.camel@...372...> Message-ID: <1077786776.27407.46.camel@...293...> Question : how can i upgrade qt3.1 to qt3.2, there is no rpm for fedora ???? regards olivier From Linux at ...373... Thu Feb 26 10:12:07 2004 From: Linux at ...373... (Linux) Date: Thu, 26 Feb 2004 10:12:07 +0100 (CET) Subject: [Gambas-user] Set in a array all the tables' name of a database In-Reply-To: <200402260700.i1Q70OJE025515@...364...> References: <200402260045.51009.gambas@...1...> <200402260700.i1Q70OJE025515@...364...> Message-ID: <23119.217.109.193.117.1077786727.squirrel@...374...> Hi, Bonjour Benoit, Merci beaucoup pour ce magnifique outil qui met ? la porter de beaucoup de d?butants la conception d'applications graphiques ?labor?es sous Linux. Je te souhaite encore beaucoup de courage et d'envie pour que Gambas progresse toujours plus sur ce chemin d'excelence. Un grand Bravo I would like to set in a array the name of all the tables from a specified dabase. But i don't anderstand how to use the virtual collection . Such an example of what i want to do : DIM MyTable as TABLE DIM iINC as INTEGER DIM MyARRAY as string[] iINC=0 FOR EACH MyConnection.Tables MyTAble= MyConnection.Tables[iINC] 'This doesn't work :( MyARRAY[iINC]=MyTable.name INC iINC NEXT Thanks a lot for your help Romain From olivier at ...289... Thu Feb 26 11:49:47 2004 From: olivier at ...289... (Coquet Olivier) Date: Thu, 26 Feb 2004 11:49:47 +0100 Subject: [Gambas-user] here a screenshot of a bug Message-ID: <1077792587.29718.3.camel@...293...> [french for benoit] voila la copie du bug sous fedora core 1 apres mise a jour vers qt3.2 rien ne change en fait le menu contextuel de l'auto update se place derriere la fenetre d'edition, la copie d'??cran est faite apres d??placement de la fenetre et s??lection d'une option, dans ce cas si je clique sur ok tous plante ! et voici la sequence de lancement de gambas: [olinux at ...293... olinux]$ gambas QPixmap: Cannot create a QPixmap when no GUI is being used QPixmap: Cannot create a QPixmap when no GUI is being used QPixmap: Cannot create a QPixmap when no GUI is being used QPixmap: Cannot create a QPixmap when no GUI is being used kbuildsycoca running... [olinux at ...293... olinux]$ [French End] olivier -------------- next part -------------- A non-text attachment was scrubbed... Name: capture Type: image/jpeg Size: 45696 bytes Desc: not available URL: From ronstk at ...239... Thu Feb 26 11:52:51 2004 From: ronstk at ...239... (ron) Date: Thu, 26 Feb 2004 11:52:51 +0100 Subject: [Gambas-user] Request: Help Browser. Message-ID: <200402261152.51520.ronstk@...239...> Hi Benoit, Nice those new icons. I like in gb.qt to see the difference between controls(on form) and the classes. The procedure seperation lines. I love it. Can now remove my own '----- lines. The way of sorting all entries in the treeview is back but i liked the way it was done in .84 with the groups sorted also, i.e. First the enties of the basic control and then the entries specific of the control it handles as in 0.84. Maybe a extra leaf to seperate these two. Is it posible to have a 'Back page' on the mouse context menu? Or backspace key working to do that. Right hand behaviour when browsing. Can the page be cleared after click on treeview item,? Then the page for entries without any information are blank and don't show wrong page is now happens. The properties and toolbox not opens at start of gambas until I make a new form? In most cases people need code editing instead form edits. They could also disapear after the last form in design is closed. Ron From dimitribellini at ...69... Thu Feb 26 14:41:18 2004 From: dimitribellini at ...69... (Dimitri Bellini) Date: Thu, 26 Feb 2004 13:41:18 +0000 Subject: [Gambas-user] Debug Watch Crash Message-ID: <200402261341.19259.dimitribellini@...69...> Dear Benoit Thanks for great improvement Gambas Editor !!! I have made this simple function to query mysql and return the data in Array... ------------------------------------------------------------ PUBLIC SUB CliUsed() DIM sQuery AS String DIM rData AS Result DIM sData AS String DIM id AS Integer DIM aCliUsed[100,3] AS String sData=txtDate.text sQuery="select IDCust,AnaCust from log join Customer on log.cardID=Customer.IDCust where callstart like '%"& sData &"%' group by source" rData = $hConn.Exec(sQuery) IF rData.Available THEN DO aCliUsed[id,1]= rData["cardID"] aCliUsed[id,2]=rData["AnaCust"] INC id LOOP UNTIL (rData.MoveNext()<> true) ENDIF CATCH Message.Error(Error.Text) END ------------------------------------------------------------------ But when i try to debug using Step by Step mode and put in Debug Watch the array in mode: aCliUsed[id,1] -- the first work and i see the value add the second aCliUsed[id,2] -- And Gambas "The program has stopped unexpectedly by raising signal #11" and say to report this bug.. Thanks in advance Dimitri Bellini From danielcampos at ...282... Thu Feb 26 14:22:37 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Thu, 26 Feb 2004 14:22:37 CET Subject: [Gambas-user] gambas 0.90 Message-ID: > >Here is the 0.90 version of gambas. > 0.91 + Zlib? ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From sourceforge-raindog2 at ...94... Thu Feb 26 15:15:53 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 26 Feb 2004 09:15:53 -0500 Subject: [Gambas-user] Just an idea... In-Reply-To: <200402261434.03122.t4nu@...103...> References: <200402261434.03122.t4nu@...103...> Message-ID: <200402260915.53748.sourceforge-raindog2@...94...> On Thursday 26 February 2004 02:34, t4nu wrote: > So, whenever it's needed, we dont have to write again > or copy-paste again, just press that shortcut. It would be pretty easy to do this in the Gambas IDE. You could even try it yourself.... the IDE is written in Gambas. But... > Other benefit is that we can focus in code area, because > there's no need to travel looking for similar code that we > need. ...normally you' would want to use these things called "subs" and "functions" and "classes" to accomplish this task! Rob From sourceforge-raindog2 at ...94... Thu Feb 26 15:33:08 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 26 Feb 2004 09:33:08 -0500 Subject: [Gambas-user] installing 0.84 In-Reply-To: <200402260859.35521.ronstk@...239...> References: <200402252112.33889.mardus@...298...> <200402252215.36407.sourceforge-raindog2@...94...> <200402260859.35521.ronstk@...239...> Message-ID: <200402260933.08507.sourceforge-raindog2@...94...> On Thursday 26 February 2004 02:59, ron wrote: > > Red Hat did a real disservice to the world by not building > > auto dependency handling into RPM in the first place.... I > > don't know how many Mandrake users there are who don't know > > about urpmi. > That why SuSE made Yast to handle that. Only Yast is not happy > if some of his own libs are updated :( Yes, that's also why Mandrake made urpmi and other people made apt-rpm and yum. Unlike the other two, though, I haven't found a way to add other people's unofficial repositories to Yast, nor a way to use it from the command line, so the SuSE users I've known have been in RPM hell unless they stick to what SuSE provides in the first place (not because those things don't exist, because they might, but because I don't know about it and I'm supposed to answer their questions.) Rob From sourceforge-raindog2 at ...94... Thu Feb 26 15:41:34 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 26 Feb 2004 09:41:34 -0500 Subject: [Gambas-user] gambas 0.90 In-Reply-To: <200402260754.i1Q7sZJE027599@...364...> References: <200402260754.i1Q7sZJE027599@...364...> Message-ID: <200402260941.34394.sourceforge-raindog2@...94...> On Thursday 26 February 2004 04:11, Daniel Oxley wrote: > Defect to the enemy??!! No way! But I wonder if MS will ever > get involved with Linux with their .NET technology? All it > would take would be the .NET framework for linux and projects > like Go-mono would sink, fast...! I don't know how many Linux distros would include something for which source is not available in their base distro, especially something from MS. Look at how few distros ship with Java, Acroread and Flash in their free editions. There are free software alternatives to all of those but none except xpdf are in common use. The same fate may befall Mono, but not because everyone ships the real .NET instead. I know I'd rather have Mono than MS, but given the choice I'd rather avoid both diseases ;) Rob From sourceforge-raindog2 at ...94... Thu Feb 26 15:47:30 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 26 Feb 2004 09:47:30 -0500 Subject: [Gambas-user] Set in a array all the tables' name of a database In-Reply-To: <23119.217.109.193.117.1077786727.squirrel@...374...> References: <200402260045.51009.gambas@...1...> <200402260700.i1Q70OJE025515@...364...> <23119.217.109.193.117.1077786727.squirrel@...374...> Message-ID: <200402260944.42785.sourceforge-raindog2@...94...> On Thursday 26 February 2004 04:12, Linux wrote: > FOR EACH MyConnection.Tables > MyTAble= MyConnection.Tables[iINC] 'This doesn't work :( > MyARRAY[iINC]=MyTable.name MyARRAY[iINC] = MyConnection.Tables[iINC].name Uglier, I know (I hate virtual classes, especially once you start getting into arrays and collections of objects... would be curious to know what circumstances caused them to be necessary in Gambas :P) but it should work and it's one less line of code (two, actually, since you can get rid of the DIM for MyTable.) Rob From oxleyd at ...364... Thu Feb 26 16:02:43 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Thu, 26 Feb 2004 16:02:43 +0100 Subject: [Gambas-user] gambas 0.90 In-Reply-To: <200402260941.34394.sourceforge-raindog2@...94...> Message-ID: <200402261345.i1QDjjJE009150@...364...> True, but wouldn't it make more sense to use the MS JIT's purely because they were written by the same people who wrote VB.NET? I know this is hypothetical, but if there was ever a perfect opportunity for Microsoft.... Of course, VB.Net is horrible and I actually prefer Gambas anyway. But imagine how powerful a selling point it would be if your app compiled on Windows and Linux? Anyway, it'll never happen and TBH, probably for the better. It leaves room for apps like Gambas to appear. -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Rob Sent: 26 February 2004 15:42 To: gambas-user at lists.sourceforge.net Subject: Re: [Gambas-user] gambas 0.90 On Thursday 26 February 2004 04:11, Daniel Oxley wrote: > Defect to the enemy??!! No way! But I wonder if MS will ever > get involved with Linux with their .NET technology? All it > would take would be the .NET framework for linux and projects > like Go-mono would sink, fast...! I don't know how many Linux distros would include something for which source is not available in their base distro, especially something from MS. Look at how few distros ship with Java, Acroread and Flash in their free editions. There are free software alternatives to all of those but none except xpdf are in common use. The same fate may befall Mono, but not because everyone ships the real .NET instead. I know I'd rather have Mono than MS, but given the choice I'd rather avoid both diseases ;) Rob ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Thu Feb 26 17:21:48 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 26 Feb 2004 17:21:48 +0100 Subject: [Gambas-user] gambas 0.90 In-Reply-To: <200402260700.i1Q70OJE025515@...364...> References: <200402260700.i1Q70OJE025515@...364...> Message-ID: <200402261721.48227.gambas@...1...> On Thursday 26 February 2004 09:17, Daniel Oxley wrote: > Hey, nice progress with Gambas! I have been waiting with fingers crossed > for autocomplete! Also, the MDI hack that was written (by Rob I believe?) > is also an excellent addition. When can we see that included in the source > for Gambas!??! I won't include any change like MDI before the 1.0. > Everyone is appreciating all the hard work going into > Gambas. Without doubt, it will be THE tool of choice for BASIC programmers > on Linux. I have played around with a few (Realbasic, HBasic, GB) and > never got on with any. But Gambas has it all and it also works! Congrats > to all assiting. Thanks! > > One question. Why the jump from v0.84 to v0.90? Because of the automatic completion feature, and because I don't want to add any major feature before the 1.0. And, as says Radoslav after, because I want to do as the Linux kernel did (0.99a, 0.99b, ...) to have the same success :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Feb 26 17:27:42 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 26 Feb 2004 17:27:42 +0100 Subject: [Gambas-user] Set in a array all the tables' name of a database In-Reply-To: <23119.217.109.193.117.1077786727.squirrel@...374...> References: <200402260045.51009.gambas@...1...> <200402260700.i1Q70OJE025515@...364...> <23119.217.109.193.117.1077786727.squirrel@...374...> Message-ID: <200402261727.42362.gambas@...1...> On Thursday 26 February 2004 10:12, Linux wrote: > Hi, > > > > Bonjour Benoit, > > Merci beaucoup pour ce magnifique outil qui met ? la porter de beaucoup de > d?butants la conception d'applications graphiques ?labor?es sous Linux. Je > te souhaite encore beaucoup de courage et d'envie pour que Gambas > progresse toujours plus sur ce chemin d'excelence. > > Un grand Bravo > > > > I would like to set in a array the name of all the tables from a > specified dabase. But i don't anderstand how to use the virtual > collection . > > Such an example of what i want to do : > > DIM MyTable as TABLE > DIM iINC as INTEGER > DIM MyARRAY as string[] > > iINC=0 > FOR EACH MyConnection.Tables > MyTAble= MyConnection.Tables[iINC] 'This doesn't work :( > MyARRAY[iINC]=MyTable.name > INC iINC > NEXT > > Thanks a lot for your help > > Romain > The database component have many properties that are not real collections, but just an internal cursor to a object (like a Recordset in VB if you prefer). But Tables is a real collection, and so can be enumerated with the FOR EACH instruction. So, to get the name of each table of a specified database, do the following: DIM hTable AS Table DIM aTables AS NEW String[] FOR EACH hTable IN MyConnection.Tables aTables.Add(hTable.Name) NEXT Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Feb 26 17:28:45 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 26 Feb 2004 17:28:45 +0100 Subject: [Gambas-user] gambas 0.90 In-Reply-To: References: Message-ID: <200402261728.45819.gambas@...1...> On Thursday 26 February 2004 18:22, danielcampos at ...282... wrote: > >Here is the 0.90 version of gambas. > > 0.91 + Zlib? > I must take a look at it before :-) But I didn't have time yet! Mainly, I want to see if the interface of such compression libraries can be generalized. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Feb 26 17:34:58 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 26 Feb 2004 17:34:58 +0100 Subject: [Gambas-user] Bugs: Help Browser + GDM + Net In-Reply-To: <200402260914.01370.ronstk@...239...> References: <200402260914.01370.ronstk@...239...> Message-ID: <200402261734.58133.gambas@...1...> On Thursday 26 February 2004 09:14, ron wrote: > Help Browser > Type in the searchbox the word kilo and press enter. > Of course not found. Click in the box below the search and get popup > > [6] Type mismatch: wanted integr, got Null instead. > At: FExplorer.IsSearch_Click.621 > > PUBLIC SUB lstSearch_Click() > IF Val(lstSearch.Key) THEN > GotoLink(File.Dir($sHome) &/ $aSearch[Val(lstSearch.Key)]) > ENDIF > END > fixes this Thanks. Actually, it is a bug in the ListView control that raises the Click event when there is no item clicked! > > Click on OK and Gambas exit total. > ------------------------- > GDM > Open the tree > In the tree right-click on a database icon and select Refresh in context > menu A blue bar or dotted at the moment of clicking. > > [13] Null Object > At: FMain.RefreshTable.222 > Click on OK and GambasDM exit . > I can't figure it out how to solve this now. I couldn't reproduce it. Could you give me more details ? > ------------------------ > SerialPort example: F.class > PUBLIC SUB Button2_Click() > > IF Sport.Status=NetCode.Inactive THEN '<------ must be Net.Inactive > Message ("Open port first!") > ELSE > WRITE #Sport,TxtSend.Text & Chr(13) & Chr(10) > END IF > > END OK. Fixed. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Feb 26 17:35:41 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 26 Feb 2004 17:35:41 +0100 Subject: [Gambas-user] here a screenshot of a bug In-Reply-To: <1077792587.29718.3.camel@...293...> References: <1077792587.29718.3.camel@...293...> Message-ID: <200402261735.41602.gambas@...1...> On Thursday 26 February 2004 11:49, Coquet Olivier wrote: > [french for benoit] > > voila la copie du bug sous fedora core 1 apres mise a jour vers qt3.2 > rien ne change > en fait le menu contextuel de l'auto update se place derriere la fenetre > d'edition, la copie d'??cran est faite apres d??placement de la fenetre et > s??lection d'une option, dans ce cas si je clique sur ok tous plante ! > > et voici la sequence de lancement de gambas: > > [olinux at ...293... olinux]$ gambas > QPixmap: Cannot create a QPixmap when no GUI is being used > QPixmap: Cannot create a QPixmap when no GUI is being used > QPixmap: Cannot create a QPixmap when no GUI is being used > QPixmap: Cannot create a QPixmap when no GUI is being used > kbuildsycoca running... > [olinux at ...293... olinux]$ > > > [French End] > > olivier Do you use Gnome or KDE ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Feb 26 17:41:28 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 26 Feb 2004 17:41:28 +0100 Subject: [Gambas-user] Request: Help Browser. In-Reply-To: <200402261152.51520.ronstk@...239...> References: <200402261152.51520.ronstk@...239...> Message-ID: <200402261741.28837.gambas@...1...> On Thursday 26 February 2004 11:52, ron wrote: > Hi Benoit, > > Nice those new icons. I like in gb.qt to see the difference between > controls(on form) and the classes. > > The procedure seperation lines. I love it. Can now remove my own '----- > lines. > > The way of sorting all entries in the treeview is back but i liked the > way it was done in .84 with the groups sorted also, i.e. > First the enties of the basic control and then the entries specific of the > control it handles as in 0.84. Maybe a extra leaf to seperate these two. LoL! This way of sorting was a bug, not a feature! > > Is it posible to have a 'Back page' on the mouse context menu? > Or backspace key working to do that. Right hand behaviour when browsing. Context menu, maybe not. The Backspace Key, maybe yes :-) > > Can the page be cleared after click on treeview item,? > Then the page for entries without any information are blank and don't show > wrong page is now happens. Good idea. > > The properties and toolbox not opens at start of gambas until I make a new > form? What ? They are always opened at startup on my box. Strange... > In most cases people need code editing instead form edits. > They could also disapear after the last form in design is closed. > > Ron -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Thu Feb 26 18:15:39 2004 From: ronstk at ...239... (ron) Date: Thu, 26 Feb 2004 18:15:39 +0100 Subject: [Gambas-user] Bugs: Help Browser + GDM + Net In-Reply-To: <200402261734.58133.gambas@...1...> References: <200402260914.01370.ronstk@...239...> <200402261734.58133.gambas@...1...> Message-ID: <200402261815.39537.ronstk@...239...> On Thursday 26 February 2004 17:34, Benoit Minisini wrote: > On Thursday 26 February 2004 09:14, ron wrote: > > Help Browser > > Type in the searchbox the word kilo and press enter. > > Of course not found. Click in the box below the search and get popup > > > > [6] Type mismatch: wanted integr, got Null instead. > > At: FExplorer.IsSearch_Click.621 > > > > PUBLIC SUB lstSearch_Click() > > IF Val(lstSearch.Key) THEN > > GotoLink(File.Dir($sHome) &/ $aSearch[Val(lstSearch.Key)]) > > ENDIF > > END > > fixes this > > Thanks. Actually, it is a bug in the ListView control that raises the Click > event when there is no item clicked! > Click in the listview is to set the listview as widget with the focus Should it not be the listview.select event as sign there is selected ? This solves also then arrow up/down not is working now. Note: in TableView the Click event is somewere in the conrtrol, the clipper area outside the actual row/column grid. As i understand it now it must be with the listview the same and not as the help say when on item clicked. > > Click on OK and Gambas exit total. > > ------------------------- > > GDM > > Open the tree > > In the tree right-click on a database icon and select Refresh in context > > menu A blue bar or dotted at the moment of clicking. > > > > [13] Null Object > > At: FMain.RefreshTable.222 > > Click on OK and GambasDM exit . > > I can't figure it out how to solve this now. > > I couldn't reproduce it. Could you give me more details ? I wil later this evening try to check exact how to reproduce it. I'm at work now. Website programming. > > > ------------------------ > > SerialPort example: F.class > > PUBLIC SUB Button2_Click() > > > > IF Sport.Status=NetCode.Inactive THEN '<------ must be Net.Inactive > > Message ("Open port first!") > > ELSE > > WRITE #Sport,TxtSend.Text & Chr(13) & Chr(10) > > END IF > > > > END > > OK. Fixed. Thanks > > -- > Benoit Minisini > mailto:gambas at ...1... > grts Ron From ronstk at ...239... Thu Feb 26 18:28:58 2004 From: ronstk at ...239... (ron) Date: Thu, 26 Feb 2004 18:28:58 +0100 Subject: [Gambas-user] Request: Help Browser. In-Reply-To: <200402261741.28837.gambas@...1...> References: <200402261152.51520.ronstk@...239...> <200402261741.28837.gambas@...1...> Message-ID: <200402261828.58428.ronstk@...239...> On Thursday 26 February 2004 17:41, Benoit Minisini wrote: > On Thursday 26 February 2004 11:52, ron wrote: > > Hi Benoit, > > > > LoL! This way of sorting was a bug, not a feature! oeps :8>) > > > Is it posible to have a 'Back page' on the mouse context menu? > > Or backspace key working to do that. Right hand behaviour when browsing. > > Context menu, maybe not. The Backspace Key, maybe yes :-) Nice to > > > Can the page be cleared after click on treeview item,? > > Then the page for entries without any information are blank and don't > > show wrong page is now happens. > > Good idea. TIA (maria) > > > The properties and toolbox not opens at start of gambas until I make a > > new form? > > What ? They are always opened at startup on my box. Strange... > That is just wat i mean, english opens or opening? I wish/hope they not apear so i can correct my code errors (lots of them) > > In most cases people need code editing instead form edits. > > They could also disapear after the last form in design is closed. > > > > Ron Finding my way with Gambas. Ron From dimitribellini at ...69... Thu Feb 26 20:15:22 2004 From: dimitribellini at ...69... (Dimitri Bellini) Date: Thu, 26 Feb 2004 19:15:22 +0000 Subject: [Gambas-user] Debug Watch Crash In-Reply-To: <200402261341.19259.dimitribellini@...69...> References: <200402261341.19259.dimitribellini@...69...> Message-ID: <200402261915.23275.dimitribellini@...69...> So on... i have found this problem in both gambas version from 0.84 to 0.90 and i found another strange problem with simple Array. Can someone help me with creation of simple array like this : DIM aCliUsed[100,3] AS String Thanks in advance Dimitri On Thursday 26 February 2004 13:41, Dimitri Bellini wrote: > Dear Benoit > Thanks for great improvement Gambas Editor !!! > I have made this simple function to query mysql and return the data in > Array... > ------------------------------------------------------------ > PUBLIC SUB CliUsed() > > DIM sQuery AS String > DIM rData AS Result > DIM sData AS String > DIM id AS Integer > DIM aCliUsed[100,3] AS String > > sData=txtDate.text > > sQuery="select IDCust,AnaCust from log join Customer on > log.cardID=Customer.IDCust where callstart like '%"& sData &"%' group by > source" > rData = $hConn.Exec(sQuery) > IF rData.Available THEN > DO > aCliUsed[id,1]= rData["cardID"] > aCliUsed[id,2]=rData["AnaCust"] > INC id > LOOP UNTIL (rData.MoveNext()<> true) > ENDIF > > > CATCH > > Message.Error(Error.Text) > > END > > ------------------------------------------------------------------ > But when i try to debug using Step by Step mode and put in Debug Watch the > array in mode: > aCliUsed[id,1] -- the first work and i see the value > add the second > aCliUsed[id,2] -- And Gambas "The program has stopped unexpectedly by > raising signal #11" and say to report this bug.. > > Thanks in advance > Dimitri Bellini > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From pchapman at ...129... Thu Feb 26 20:17:56 2004 From: pchapman at ...129... (Philip A. Chapman) Date: 26 Feb 2004 13:17:56 -0600 Subject: [Gambas-user] gambas 0.90 In-Reply-To: <1077780342.27179.2.camel@...293...> References: <200402260045.51009.gambas@...1...> <1077779473.27101.2.camel@...293...> <200402260818.00743.gambas@...1...> <1077780342.27179.2.camel@...293...> Message-ID: <1077823075.5756.25.camel@...130...> On Thu, 2004-02-26 at 01:25, Coquet Olivier wrote: > sorry, i'm so stupid, but how can I see if I use QT 3.1 or QT 3.2 ????? $rpm -qa |grep qt qt-devel-3.1.2-11 qt-3.1.2-11 qt-designer-3.1.2-11 qtcups-2.0-15 According to RPM, I'm using qt-3.1.2-11 on my Redhat 9.0 box. Fedora Core will give similar results; but it should be using QT 3.2x-xx. I'm away from my Fedora box at the moment; but I'm pretty sure it's using some revision of 3.2. Thanks, -- Philip A. Chapman Application Development: Java, Visual Basic (MCP), PostgreSQL, MySQL, MSSQL Linux, Windows 9x, Windows NT, Windows 2000, Windows XP -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From Lamego at ...99... Thu Feb 26 18:47:42 2004 From: Lamego at ...99... (Joao Pinto) Date: Thu, 26 Feb 2004 17:47:42 +0000 Subject: [Gambas-user] autocomplete Message-ID: <403E313E.1070806@...99...> Hello, shouldn't the autocomplete word be pasted on the editor when using the space key or the "=" after selecting an autocomplete item ? -- Jo?o Lu?s Marques Pinto PTlink Technical Administrator Lamego at ...99... http://www.ptlink.net From na2492 at ...9... Thu Feb 26 20:23:35 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Thu, 26 Feb 2004 20:23:35 00100 Subject: [Gambas-user] Debug Watch Crash Message-ID: <403e47b7.e94.0@...9...> >END > >------------------------------------------------------------------ >But when i try to debug using Step by Step mode and put in Debug Watch the >array in mode: >aCliUsed[id,1] -- the first work and i see the value >add the second >aCliUsed[id,2] -- And Gambas "The program has stopped unexpectedly by raising >signal #11" and say to report this bug.. > >Thanks in advance >Dimitri Bellini > Salut, I remarked that also, and reported it, 01/31 'X freezing, while debuging' think that was still 0.82 Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From pchapman at ...129... Thu Feb 26 20:33:35 2004 From: pchapman at ...129... (Philip A. Chapman) Date: 26 Feb 2004 13:33:35 -0600 Subject: [Gambas-user] gambas 0.90 In-Reply-To: <1077823075.5756.25.camel@...130...> References: <200402260045.51009.gambas@...1...> <1077779473.27101.2.camel@...293...> <200402260818.00743.gambas@...1...> <1077780342.27179.2.camel@...293...> <1077823075.5756.25.camel@...130...> Message-ID: <1077824015.5756.34.camel@...130...> On Thu, 2004-02-26 at 13:17, Philip A. Chapman wrote: > Core will give similar results; but it should be using QT 3.2x-xx. I'm > away from my Fedora box at the moment; but I'm pretty sure it's using > some revision of 3.2. Please allow me to correct myself. I mis-spoke (typed?). Fedora Core 1 ships with QT version 3.1.2 and does not appear to have any official updates to newer versions. Fedora Core 2 Test is currently shipping with QT version 3.2.3; though I would not recommend Core 2 Test unless you like bleeding edge and debugging distros in test. Off topic, but interesting nevertheless: Core 2 is expected to be released about April 19th. http://fedora.redhat.com/participate/schedule/ Thanks, -- Philip A. Chapman Application Development: Java, Visual Basic (MCP), PostgreSQL, MySQL, MSSQL Linux, Windows 9x, Windows NT, Windows 2000, Windows XP -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From daniel.campos at ...338... Thu Feb 26 21:04:08 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Thu, 26 Feb 2004 21:04:08 +0100 Subject: [Gambas-user] autocomplete In-Reply-To: <403E313E.1070806@...99...> References: <403E313E.1070806@...99...> Message-ID: <1077825848.4434.1.camel@...40...> El jue, 26-02-2004 a las 18:47, Joao Pinto escribi?: > Hello, > shouldn't the autocomplete word be pasted on the editor when using the > space key or the "=" after selecting an autocomplete item ? I agree with you, pressing 'Intro' is extrange and uncomfortable. And the focus seems to go to the hyperspace :-) May be 'space' and '=' is better for a lot of people that have used VB Regards, Daniel Campos From jscops at ...11... Thu Feb 26 21:30:33 2004 From: jscops at ...11... (Jack) Date: Thu, 26 Feb 2004 21:30:33 +0100 Subject: [Gambas-user] Problems with border Message-ID: <200402262130.33528.jscops@...11...> Salut all Gambers ! Here two stupids questions off a newbie. Why some form have no border wehereas border is fixed into properties ? I have many problems for write the checkbutton value in MySQL with UPDATE function? ex: My_data = '" & mycheck_button.value & "'. How to do ? Thanks for your help . ?~Jacky~? From gambas at ...1... Thu Feb 26 21:45:16 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 26 Feb 2004 21:45:16 +0100 Subject: [Gambas-user] autocomplete In-Reply-To: <1077825848.4434.1.camel@...40...> References: <403E313E.1070806@...99...> <1077825848.4434.1.camel@...40...> Message-ID: <200402262145.16244.gambas@...1...> On Thursday 26 February 2004 21:04, Daniel Campos wrote: > El jue, 26-02-2004 a las 18:47, Joao Pinto escribi?: > > Hello, > > shouldn't the autocomplete word be pasted on the editor when using the > > space key or the "=" after selecting an autocomplete item ? > > I agree with you, pressing 'Intro' is extrange and uncomfortable. And > the focus seems to go to the hyperspace :-) May be 'space' and '=' is > better for a lot of people that have used VB > > Regards, > > Daniel Campos > Well, I always used "TAB" key under VB... What do you mean exactly by "the focus seems to go to the hyperspace" ? Do you (Daniel & Joao) want the 'space' and '=' keys act as the TAB key ? Regards, -- Benoit Minisini mailto:gambas at ...1... From abidoo.too at ...11... Thu Feb 26 21:58:23 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Thu, 26 Feb 2004 21:58:23 +0100 Subject: [Gambas-user] bug with autocompletion... Message-ID: <200402262158.23733.abidoo.too@...11...> gb 0.90 on mdk 9.2 (std) I think the problem comme from gnome... I actually use it. and have the same problem than olivier... Fabien From ronstk at ...239... Thu Feb 26 22:09:45 2004 From: ronstk at ...239... (ron) Date: Thu, 26 Feb 2004 22:09:45 +0100 Subject: [Gambas-user] autocomplete In-Reply-To: <200402262145.16244.gambas@...1...> References: <403E313E.1070806@...99...> <1077825848.4434.1.camel@...40...> <200402262145.16244.gambas@...1...> Message-ID: <200402262209.45913.ronstk@...239...> On Thursday 26 February 2004 21:45, Benoit Minisini wrote: > On Thursday 26 February 2004 21:04, Daniel Campos wrote: > > El jue, 26-02-2004 a las 18:47, Joao Pinto escribi?: > > > Hello, > > > shouldn't the autocomplete word be pasted on the editor when using the > > > space key or the "=" after selecting an autocomplete item ? > > > > I agree with you, pressing 'Intro' is extrange and uncomfortable. And > > the focus seems to go to the hyperspace :-) May be 'space' and '=' is > > better for a lot of people that have used VB > > > > Regards, > > > > Daniel Campos > > Well, I always used "TAB" key under VB... > > What do you mean exactly by "the focus seems to go to the hyperspace" ? Do > you (Daniel & Joao) want the 'space' and '=' keys act as the TAB key ? > > Regards, pressing 'Intro' ? I can't find that key. Wel if i'm right the CTRL+SPACE forced the list to open, resque the space for it, and the TAB just add the line to te code. Playing Ron From Karl.Reinl at ...9... Thu Feb 26 21:36:06 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Thu, 26 Feb 2004 21:36:06 +0100 Subject: [Gambas-user] talking abaut copy and paste Message-ID: <200402262136.06468.Karl.Reinl@...9...> Salut, why should be copy and paste, to be bad programmation style ?? I once said, without copy and paste I never would be programmer ! Why ? If you arrive in a new job, and you don't have you hard outworked source-code, you start at ZERO. Because, it is not importent to know how it has to be, if you know where you find how it must be ? The programmers force is his source-code, and its knowlege about it. Question, how offten you worked on a OPEN FILE, OPEN Connection etc. ??? Every time you have had your source code to look/copy it. Thats right ? Amicalement Charlie From Karl.Reinl at ...9... Thu Feb 26 21:27:19 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Thu, 26 Feb 2004 21:27:19 +0100 Subject: [Gambas-user] gambas-0.90 and Fwd: need some help Message-ID: <200402262127.19468.Karl.Reinl@...9...> Salut, Changes looks good on ?gentoo 1.4 , qt-3.2.3 , gcc 3.2.3 , KDE 3.1.4 , mysql 4.0.16 ,psql 7.3.4 Bug : but following your anouncment, i re-upgrated to qt-3.2.3 now I have the problems back, I had before (see attachment). Bug : The new IDE-Editor looks good, but has a problem when Keywords are blue and you marke then to copy ( you can't see them) Bug : if you close the properties Window while you on a form, a F4 ( or popup- menu) DON'T bring it back. You have to open an other from to bring it back Bug : I had that one time, but I can't reproduce it : F5 on a class or a form DON'T start the application. The debug-freez like I reported is NO more reproduceable. May be qt-3.2.3 Question I didn't ask before, I thought to remember, to have the possibility to set the Tab width on the IDE - Editor ?? Amicalement Charlie -------------- next part -------------- An embedded message was scrubbed... From: Charlie Reinl Subject: need some help Date: Thu, 29 Jan 2004 19:28:35 +0100 Size: 28681 URL: From na2492 at ...9... Thu Feb 26 22:47:56 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Thu, 26 Feb 2004 22:47:56 00100 Subject: [Gambas-user] gambas 0.90 Message-ID: <403e698c.66e7.0@...9...> >On Thursday 26 February 2004 09:17, Daniel Oxley wrote: >> Hey, nice progress with Gambas! I have been waiting with fingers crossed >> for autocomplete! Also, the MDI hack that was written (by Rob I believe?) >> is also an excellent addition. When can we see that included in the source >> for Gambas!??! > >I won't include any change like MDI before the 1.0. If ever MDI commes, PLEASE do it like Microsoft and let the user the choice to use MDI or SDI I HATE MDI !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! And had you ever used/had an MDI on a box which uses two or more screens ? Amicalement Charlie > >> Everyone is appreciating all the hard work going into >> Gambas. Without doubt, it will be THE tool of choice for BASIC programmers >> on Linux. I have played around with a few (Realbasic, HBasic, GB) and >> never got on with any. But Gambas has it all and it also works! Congrats >> to all assiting. > >Thanks! > >> >> One question. Why the jump from v0.84 to v0.90? > >Because of the automatic completion feature, and because I don't want to add >any major feature before the 1.0. > >And, as says Radoslav after, because I want to do as the Linux kernel did >(0.99a, 0.99b, ...) to have the same success :-) > >Regards, > >-- >Benoit Minisini * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From gambas at ...1... Thu Feb 26 23:04:53 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 26 Feb 2004 23:04:53 +0100 Subject: [Gambas-user] gambas-0.90 and Fwd: need some help In-Reply-To: <200402262127.19468.Karl.Reinl@...9...> References: <200402262127.19468.Karl.Reinl@...9...> Message-ID: <200402262304.53436.gambas@...1...> On Thursday 26 February 2004 21:27, Charlie Reinl wrote: > Salut, > > Changes looks good on ?gentoo 1.4 , qt-3.2.3 , gcc 3.2.3 , KDE 3.1.4 , > mysql 4.0.16 ,psql 7.3.4 > > Bug : but following your anouncment, i re-upgrated to qt-3.2.3 now I have > the problems back, I had before (see attachment). I don't know why QT styles are displayed in the IDE (a gambas application) and are not displayed when you run your project (a gambas application too!)... Try QT designer, and see what he tells you. Or you can try to recompile gambas with --disable-preloading to see if it changes something... > > Bug : The new IDE-Editor looks good, but has a problem when Keywords are > blue and you marke then to copy ( you can't see them) ?? Don't choose the same color for Selection and Keyword in the IDE preferences dialog. > > Bug : if you close the properties Window while you on a form, a F4 ( or > popup- menu) DON'T bring it back. You have to open an other from to bring > it back Well, it works here :-) I have just the following strange bug: when you give focus to the properties windows, and that you have no specific property selected, no keyboard shortcut are sent to the main window. The QT-3.2.3 that I use is patched by MandrakeSoft. > > Bug : I had that one time, but I can't reproduce it : F5 on a class or a > form DON'T start the application. The same problem as before. > > The debug-freez like I reported is NO more reproduceable. May be qt-3.2.3 > > Question I didn't ask before, I thought to remember, to have the > possibility to set the Tab width on the IDE - Editor ?? Not yet. > > > > Amicalement > Charlie Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Feb 26 23:07:06 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 26 Feb 2004 23:07:06 +0100 Subject: [Gambas-user] gambas 0.90 In-Reply-To: <403e698c.66e7.0@...9...> References: <403e698c.66e7.0@...9...> Message-ID: <200402262307.06003.gambas@...1...> On Thursday 26 February 2004 23:47, na2492 at ...9... wrote: > >On Thursday 26 February 2004 09:17, Daniel Oxley wrote: > >> Hey, nice progress with Gambas! I have been waiting with fingers > >> crossed > >> > >> for autocomplete! Also, the MDI hack that was written (by Rob I > >> believe?) > >> > >> is also an excellent addition. When can we see that included in the > >> source > >> > >> for Gambas!??! > > > >I won't include any change like MDI before the 1.0. > > If ever MDI commes, PLEASE do it like Microsoft and let the user the choice > to > use MDI or SDI > > I HATE MDI !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > > And had you ever used/had an MDI on a box which uses two or more screens ? > > Amicalement > Charlie > I don't like MDI too. The new interface I imagine for future versions of Gambas is a sort of MDI, but with tabs, not subwindows. Regards, -- Benoit Minisini mailto:gambas at ...1... From karl.reinl at ...9... Thu Feb 26 23:10:07 2004 From: karl.reinl at ...9... (Charlie) Date: Thu, 26 Feb 2004 23:10:07 +0100 Subject: [Gambas-user] Problems with border References: <200402262130.33528.jscops@...11...> Message-ID: <403E6EBF.2080705@...9...> Jack schrieb: >Salut all Gambers ! > >Here two stupids questions off a newbie. > > Why some form have no border wehereas border is fixed into properties ? > I have many problems for write the checkbutton value in MySQL with UPDATE >function? ex: My_data = '" & mycheck_button.value & "'. How to do ? > > Thanks for your help . > >?~Jacky~? > > Salut and Sorry, What do you talking about ? Amicalement Charlie From karl.reinl at ...9... Thu Feb 26 23:12:50 2004 From: karl.reinl at ...9... (Charlie) Date: Thu, 26 Feb 2004 23:12:50 +0100 Subject: [Gambas-user] autocomplete References: <403E313E.1070806@...99...> <1077825848.4434.1.camel@...40...> <200402262145.16244.gambas@...1...> <200402262209.45913.ronstk@...239...> Message-ID: <403E6F62.1040602@...9...> ron schrieb: >On Thursday 26 February 2004 21:45, Benoit Minisini wrote: > > >>On Thursday 26 February 2004 21:04, Daniel Campos wrote: >> >> >>>El jue, 26-02-2004 a las 18:47, Joao Pinto escribi?: >>> >>> >>>>Hello, >>>>shouldn't the autocomplete word be pasted on the editor when using the >>>>space key or the "=" after selecting an autocomplete item ? >>>> >>>> >>>I agree with you, pressing 'Intro' is extrange and uncomfortable. And >>>the focus seems to go to the hyperspace :-) May be 'space' and '=' is >>>better for a lot of people that have used VB >>> >>>Regards, >>> >>>Daniel Campos >>> >>> >>Well, I always used "TAB" key under VB... >> >>What do you mean exactly by "the focus seems to go to the hyperspace" ? Do >>you (Daniel & Joao) want the 'space' and '=' keys act as the TAB key ? >> >>Regards, >> >> > >pressing 'Intro' ? I can't find that key. >Wel if i'm right the CTRL+SPACE forced the list to open, resque the space for >it, and the TAB just add the line to te code. > >Playing Ron > Salut, The 'insert' (Einfg in german) key Amicalement Charlie From leo.barnhoorn at ...246... Fri Feb 27 08:48:29 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Thu, 26 Feb 2004 23:48:29 -0800 Subject: [Gambas-user] gambas 0.90 In-Reply-To: <200402260045.51009.gambas@...1...> References: <200402260045.51009.gambas@...1...> Message-ID: <200402262348.29643.leo.barnhoorn@...246...> Hello Benoit, Gambas version 0.90 compiles good on SuSE 8.2 and SuSE 9.0 The projects i'm working on running well, no changes to make this time in the coding to get work, so i'm happy for that. Thanks. On Wednesday 25 February 2004 15:45, Benoit Minisini wrote: > Hi, > > Here is the 0.90 version of gambas. Thanks for that. > Enjoy it, I will. Regards, Leo Barnhoorn. From nferraz at ...184... Thu Feb 26 23:52:57 2004 From: nferraz at ...184... (Nelson Ferraz) Date: Thu, 26 Feb 2004 19:52:57 -0300 Subject: [Gambas-user] autocomplete In-Reply-To: <200402262145.16244.gambas@...1...> References: <403E313E.1070806@...99...> <1077825848.4434.1.camel@...40...> <200402262145.16244.gambas@...1...> Message-ID: <403E78C9.2090501@...184...> >>>shouldn't the autocomplete word be pasted on the editor when using the >>>space key or the "=" after selecting an autocomplete item ? >> >>I agree with you, pressing 'Intro' is extrange and uncomfortable. And >>the focus seems to go to the hyperspace :-) May be 'space' and '=' is >>better for a lot of people that have used VB > > Well, I always used "TAB" key under VB... I like the Bash autocompletion feature, which also uses TAB... > What do you mean exactly by "the focus seems to go to the hyperspace" ? Do you > (Daniel & Joao) want the 'space' and '=' keys act as the TAB key ? Pressing any symbol key should paste the selected word AND the key on the editor: space, "=", "<", ">", "=", ".", ",", "+", "-", "*", "/", etc. -- []s Nelson ________________________________________________________________ Nelson Ferraz GNU BIS: http://www.gnubis.com.br PhPerl: http://www.phperl.com From ronstk at ...239... Fri Feb 27 00:25:08 2004 From: ronstk at ...239... (ron) Date: Fri, 27 Feb 2004 00:25:08 +0100 Subject: [Gambas-user] gambas 0.90 In-Reply-To: <200402262307.06003.gambas@...1...> References: <403e698c.66e7.0@...9...> <200402262307.06003.gambas@...1...> Message-ID: <200402270025.09596.ronstk@...239...> > I don't like MDI too. The new interface I imagine for future versions of > Gambas is a sort of MDI, but with tabs, not subwindows. > > Regards, I like it more but over two screen is a disaster by M$. Tabs sounds good to me. UltraEdit on windows had that to and is the only one i'm mising at the Linux platform. With Wine the widgets are worse and slows realy down. But please make not the fault to use a toolbar you can drag anywhere and not lock to that position. The docking in VB was a disaster. Tabbing Ron From ronstk at ...239... Fri Feb 27 00:34:41 2004 From: ronstk at ...239... (ron) Date: Fri, 27 Feb 2004 00:34:41 +0100 Subject: [Gambas-user] autocomplete In-Reply-To: <403E78C9.2090501@...184...> References: <403E313E.1070806@...99...> <200402262145.16244.gambas@...1...> <403E78C9.2090501@...184...> Message-ID: <200402270034.41233.ronstk@...239...> On Thursday 26 February 2004 23:52, Nelson Ferraz wrote: > >>>shouldn't the autocomplete word be pasted on the editor when using the > >>>space key or the "=" after selecting an autocomplete item ? > >> > >>I agree with you, pressing 'Intro' is extrange and uncomfortable. And > >>the focus seems to go to the hyperspace :-) May be 'space' and '=' is > >>better for a lot of people that have used VB > > > > Well, I always used "TAB" key under VB... > > I like the Bash autocompletion feature, which also uses TAB... > > > What do you mean exactly by "the focus seems to go to the hyperspace" ? > > Do you (Daniel & Joao) want the 'space' and '=' keys act as the TAB key ? > > Pressing any symbol key should paste the selected word AND the key on > the editor: space, "=", "<", ">", "=", ".", ",", "+", "-", "*", "/", etc. Not by me. the key only, the TAB just as VB. Now the way of Bash? start a word and press TAB to complte. Poor Benoit to add in gambas. Lets go to the stable 1.0 and a developers version with new bells and trols. Ron From ronstk at ...239... Fri Feb 27 00:42:02 2004 From: ronstk at ...239... (ron) Date: Fri, 27 Feb 2004 00:42:02 +0100 Subject: [Gambas-user] gambas 0.90 In-Reply-To: <200402262348.29643.leo.barnhoorn@...246...> References: <200402260045.51009.gambas@...1...> <200402262348.29643.leo.barnhoorn@...246...> Message-ID: <200402270042.02516.ronstk@...239...> On Friday 27 February 2004 08:48, Leo Barnhoorn wrote: > Hello Benoit, > > Gambas version 0.90 compiles good on SuSE 8.2 and SuSE 9.0 > The projects i'm working on running well, no changes to make this time in > the coding to get work, so i'm happy for that. > What version of CURL do you have on SuSE 8.2? If it is 7.11 how did you install it and is Yast still working. At my system it fails and I had to strip of the HTTP part of Daniels net component, its a shame, after restoring the orginal fromthe distribution. Ron From na2492 at ...9... Fri Feb 27 01:16:03 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Fri, 27 Feb 2004 01:16:03 00100 Subject: [Gambas-user] gambas 0.90 Message-ID: <403e8c43.3b50.0@...9...> > >> I don't like MDI too. The new interface I imagine for future versions of >> Gambas is a sort of MDI, but with tabs, not subwindows. >> >> Regards, > >I like it more but over two screen is a disaster by M$. >Tabs sounds good to me. UltraEdit on windows had that to and is >the only one i'm mising at the Linux platform. With Wine the widgets are worse >and slows realy down. >But please make not the fault to use a toolbar you can drag anywhere and not >lock to that position. The docking in VB was a disaster. Realy was ? Did they stop it ;-) Which SP ? Salut Ron, not find the window, you need, is not solved with MDI. Clicking on the Form [X] and the window don't dissabear is frustration. But look at this disscution, there is no ONE AND ONLY way to do it. Some like it so, the others don't like it that way!?! Here we can talk about. To excuse the MS, the idea is good, but keep away the mouse and the keyboard from the users, if they don't have read the handbook. For example: I'm a fan to use Windows-commander ( now Total-commander ) under Windows. (Even mc on Linux) But I never took the time to read or have a look what he is able to serve me. I use him, like I used nc at 85, as an visual tool to navigate on an harddisk. But nearly daily I learn form friends, who dit not know about nc, and use now Total-Commander, new features, nc couldn't have. Charlie > >Tabbing Ron * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From nferraz at ...184... Fri Feb 27 01:49:50 2004 From: nferraz at ...184... (Nelson Ferraz) Date: Thu, 26 Feb 2004 21:49:50 -0300 Subject: [Gambas-user] autocomplete In-Reply-To: <200402270034.41233.ronstk@...239...> References: <403E313E.1070806@...99...> <200402262145.16244.gambas@...1...> <403E78C9.2090501@...184...> <200402270034.41233.ronstk@...239...> Message-ID: <403E942E.1060501@...184...> ron wrote: > Not by me. the key only, the TAB just as VB. Now the way of Bash? > start a word and press TAB to complte. Poor Benoit to add in gambas. > Lets go to the stable 1.0 and a developers version with new bells and trols. It's important to declare "feature freeze" and start a bug fix cycle. When Gambas is stable enough (no major bugs or instabilities) it should go through a 1.0-test phase, and, only then, become a "stable" 1.0 release. -- []s Nelson ________________________________________________________________ Nelson Ferraz GNU BIS: http://www.gnubis.com.br PhPerl: http://www.phperl.com From olinux at ...289... Fri Feb 27 06:53:55 2004 From: olinux at ...289... (Coquet Olivier) Date: Fri, 27 Feb 2004 06:53:55 +0100 Subject: [Gambas-user] here a screenshot of a bug In-Reply-To: <200402261735.41602.gambas@...1...> References: <1077792587.29718.3.camel@...293...> <200402261735.41602.gambas@...1...> Message-ID: <1077861235.10847.7.camel@...293...> gnome 2.4 but same thing with kde 3.2 and this make the same probleme on 3 new machines freshly installed regards olivier  ? > On Thursday 26 February 2004 11:49, Coquet Olivier wrote: > > [french for benoit] > > > > voila la copie du bug sous fedora core 1 apres mise a jour vers qt3.2 > > rien ne change > > en fait le menu contextuel de l'auto update se place derriere la fenetre > > d'edition, la copie d'??cran est faite apres d??placement de la fenetre et > > s??lection d'une option, dans ce cas si je clique sur ok tous plante ! > > > > et voici la sequence de lancement de gambas: > > > > [olinux at ...293... olinux]$ gambas > > QPixmap: Cannot create a QPixmap when no GUI is being used > > QPixmap: Cannot create a QPixmap when no GUI is being used > > QPixmap: Cannot create a QPixmap when no GUI is being used > > QPixmap: Cannot create a QPixmap when no GUI is being used > > kbuildsycoca running... > > [olinux at ...293... olinux]$ > > > > > > [French End] > > > > olivier > > Do you use Gnome or KDE ? From oxleyd at ...364... Fri Feb 27 09:05:22 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Fri, 27 Feb 2004 09:05:22 +0100 Subject: [Gambas-user] gambas 0.90 In-Reply-To: <403e698c.66e7.0@...9...> Message-ID: <200402270648.i1R6mMJE030952@...364...> > >I won't include any change like MDI before the 1.0. If ever MDI commes, PLEASE do it like Microsoft and let the user the choice to use MDI or SDI I HATE MDI !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! And had you ever used/had an MDI on a box which uses two or more screens ? Amicalement Charlie I disagree. Ever used Deplhi 7? The way that opens on the screen is dreadful. The screen is clutter up with so many individual windows that it makes you lose sense of what you are looking at. With VB, it was all contain in one easy to use window. I always use VB on a dual-head PC without any problems. If you maximise to full screen you can reposition the internal windows easily and if you have the app floating, it is just as easy. The ultimate solution would be a choice. An MDI or not an MDI! It just makes it so much easier. I like the sound of the suggestion made for having a 'tabbed interface'. As long as it retained the qualities of an MDI. I guess that this would be similar to tabbed browsing? Or the tabbed IDE in Visual Studio .NET??? From danielcampos at ...282... Fri Feb 27 09:06:19 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Fri, 27 Feb 2004 09:06:19 CET Subject: [Gambas-user] autocomplete Message-ID: >What do you mean exactly by "the focus seems to go to the hyperspace" ? > When I press 'Intro', the editor window looses the focus, and I can't continue typing until I click on thast window again with the mouse... ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From danielcampos at ...282... Fri Feb 27 09:07:05 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Fri, 27 Feb 2004 09:07:05 CET Subject: [Gambas-user] autocomplete Message-ID: >pressing 'Intro' ? I can't find that key. > 'Intro' = 'Return' = chr(13) ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From sourceforge-raindog2 at ...94... Fri Feb 27 15:21:26 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 27 Feb 2004 09:21:26 -0500 Subject: [Gambas-user] gambas 0.90 In-Reply-To: <200402270648.i1R6mMJE030952@...364...> References: <200402270648.i1R6mMJE030952@...364...> Message-ID: <200402270916.59161.sourceforge-raindog2@...94...> On Friday 27 February 2004 03:05, Daniel Oxley wrote: > an MDI! It just makes it so much easier. I like the sound of > the suggestion made for having a 'tabbed interface'. As long > as it retained the qualities of an MDI. I guess that this > would be similar to tabbed browsing? Or the tabbed IDE in Well, I hate tabbed browsing and love MDI (albeit not for browsing). I'll wait till I see Benoit's idea before I pass judgment on it though. As for Charlie's comments about multiple screens, I use a laptop. ;) But one user I introduced to Gambas is looking at a 3-headed setup now and still would prefer Gambas to be MDI. Rob From sourceforge-raindog2 at ...94... Fri Feb 27 17:32:20 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 27 Feb 2004 11:32:20 -0500 Subject: [Gambas-user] mandrake packages for 0.90 Message-ID: <200402271132.20338.sourceforge-raindog2@...94...> I got Mandrake 9.1 and 9.2 packages out there yesterday, and submitted them to Cooker as well. It's the top article on http://www.kudla.org and I'm pressed for time, so, find them there ;) Rob From jscops at ...11... Fri Feb 27 18:33:59 2004 From: jscops at ...11... (Jack) Date: Fri, 27 Feb 2004 18:33:59 +0100 Subject: [Gambas-user] Checkbox Message-ID: <200402271833.59242.jscops@...11...> Bonsoir Charlie, Bonsoir Gambers, I would like to be more understandable but my english is very poor ! I have a screen with a checkbox which return a Gambas boolean value (true or false )OK ? My problem is how to write this value in an MySQL field ? This example: My_data = '" & my_checkbox.value & "' don't work ! Thank you for your help. ?~Jacky~? From gambas at ...1... Fri Feb 27 18:48:57 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 27 Feb 2004 18:48:57 +0100 Subject: [Gambas-user] Checkbox In-Reply-To: <200402271833.59242.jscops@...11...> References: <200402271833.59242.jscops@...11...> Message-ID: <200402271848.57842.gambas@...1...> On Friday 27 February 2004 18:33, Jack wrote: > Bonsoir Charlie, Bonsoir Gambers, > > I would like to be more understandable but my english is very poor ! > > I have a screen with a checkbox which return a Gambas boolean value (true > or false )OK ? My problem is how to write this value in an MySQL field ? > This example: My_data = '" & my_checkbox.value & "' don't work ! > > Thank you for your help. > > ?~Jacky~? > > Do something like that: DIM PrimaryKey AS String DIM MyResult AS Result MyResult = DB.Edit("MyTable", "PrimaryKey = &1", PrimaryKey) MyResult!MyBooleanField = MyCheckBox.Value MyResult.Update Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Feb 27 18:54:21 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 27 Feb 2004 18:54:21 +0100 Subject: [Gambas-user] About auto completion Message-ID: <200402271854.21155.gambas@...1...> I have finally fixed the problem with the listbox appearing behind the editor window... It is a problem with QT that don't implement Window manager specifications of freedesktop.org for top-only windows. See there for more information: http://freedesktop.org/Standards/wm-spec The funny is that KDE window manager implements them, as well as Metacity (GNOME window manager) and others. So I wrote a workaround, and when you set the TopOnly property of a window, a the corresponding X-Window property is set by hand, without using the QT functions. This fix is for the next version. Regards, -- Benoit Minisini mailto:gambas at ...1... From girardhenri at ...67... Fri Feb 27 18:56:50 2004 From: girardhenri at ...67... (Henri Girard) Date: Fri, 27 Feb 2004 18:56:50 +0100 Subject: [Gambas-user] mandrake 10 rc1 Message-ID: Hi :) I am downloading the m10 rc1 and installing it as soon as possible... So i will be able to see if "gambas" compile on it... I succeeded on the m10b 2 then i guess there shouldn't be much trouble... HG -------------- next part -------------- An HTML attachment was scrubbed... URL: From sourceforge-raindog2 at ...94... Fri Feb 27 19:10:13 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 27 Feb 2004 13:10:13 -0500 Subject: [Gambas-user] mandrake 10 rc1 In-Reply-To: References: Message-ID: <200402271310.13459.sourceforge-raindog2@...94...> On Friday 27 February 2004 12:56, Henri Girard wrote: > I am downloading the m10 rc1 and installing it as soon as > possible... So i will be able to see if "gambas" compile on > it... I succeeded on the m10b 2 then i guess there shouldn't > be much trouble... HG Gambas 0.84a was in contrib already for m10 rc1, and hopefully 0.90 will be in there in time for the final release (I uploaded the packages last night.) Rob From gambas at ...1... Fri Feb 27 19:34:03 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 27 Feb 2004 19:34:03 +0100 Subject: [Gambas-user] mandrake 10 rc1 In-Reply-To: <200402271310.13459.sourceforge-raindog2@...94...> References: <200402271310.13459.sourceforge-raindog2@...94...> Message-ID: <200402271934.03012.gambas@...1...> On Friday 27 February 2004 19:10, Rob wrote: > On Friday 27 February 2004 12:56, Henri Girard wrote: > > I am downloading the m10 rc1 and installing it as soon as > > possible... So i will be able to see if "gambas" compile on > > it... I succeeded on the m10b 2 then i guess there shouldn't > > be much trouble... HG > > Gambas 0.84a was in contrib already for m10 rc1, and hopefully > 0.90 will be in there in time for the final release (I uploaded > the packages last night.) > > Rob > Cool :-) -- Benoit Minisini mailto:gambas at ...1... From mardus at ...298... Fri Feb 27 20:01:28 2004 From: mardus at ...298... (Marcelo Duschkin) Date: Fri, 27 Feb 2004 16:01:28 -0300 Subject: [Gambas-user] Re: installing 0.84 In-Reply-To: <200402252215.36407.sourceforge-raindog2@...94...> References: <200402252112.33889.mardus@...298...> <200402252215.36407.sourceforge-raindog2@...94...> Message-ID: <200402271601.28235.mardus@...298...> El Jue 26 Feb 2004 00:15, Rob escribi?: >(Ro) urpmi.addmedia kudla http://www.kudla.org/rpm/9.1/i586 with >(Ro) hdlist.cz >(Ro) urpmi gambas-gui-0.84a This don't work because a "mixing" of 0.84 and 0.90 Then, I've tried urpmi gambas-0.90 And the install was succesfull and run OK. I have a new question: Is possible to add the net components to the tool box? Thanks -- Para el cierre: --- El Maestro Pen Guin al azar citaba: Hombre invisible busca mujer transparente para hacer lo nunca visto. - - - Marcelo Duschkin - Buenos Aires - Argentina mardus at ...298... www.websdelsur.com.ar www.lahueya.com.ar From karl.reinl at ...9... Fri Feb 27 21:04:30 2004 From: karl.reinl at ...9... (Charlie) Date: Fri, 27 Feb 2004 21:04:30 +0100 Subject: [Gambas-user] Checkbox References: <200402271833.59242.jscops@...11...> Message-ID: <403FA2CE.8050600@...9...> Jack schrieb: >Bonsoir Charlie, Bonsoir Gambers, > > I would like to be more understandable but my english is very poor ! > > I have a screen with a checkbox which return a Gambas boolean value (true or >false )OK ? My problem is how to write this value in an MySQL field ? This >example: My_data = '" & my_checkbox.value & "' don't work ! > >Thank you for your help. > >?~Jacky~? > > Salut Jacky, I had a look to my older project where I comunicated by shell/exec commands. And there I did it by converting TRUE to 'Y' and FALSE to 'N'. You try to write 'TRUE' or 'FALSE' Have you tried My_data = my_checkbox.value if that doesn't work Try to convert it to 'Y' or 'N' by passinig by an Function My_data = conv2Str(my_checkbox.value) Function conv2Str(bIn as boolean) as string DIM sRet as string if bIn then sRet='Y' else sRet='N' endif return sRet end Sorry that Code is not tested,I just wrote him in the mail program. But I have a question too. Why are you calling my name ? Amicalement Charlie From danielcampos at ...282... Fri Feb 27 21:12:06 2004 From: danielcampos at ...282... (Daniel Campos) Date: Fri, 27 Feb 2004 21:12:06 +0100 Subject: [Gambas-user] Loosing focus Message-ID: <1077912726.2674.1.camel@...40...> It's only me, or the editor window looses the focus after pressing 'TAB' to perform the new editor feature? Regards, -- Daniel Campos From abidoo.too at ...11... Fri Feb 27 21:21:41 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Fri, 27 Feb 2004 21:21:41 +0100 Subject: [Gambas-user] News Message-ID: <200402272121.41489.abidoo.too@...11...> Hi all gambasian does Microsoft buy GOOGLE ? Mabe a great news... http://korimage.free.fr/msgoogle.htm Fabien From Karl.Reinl at ...9... Fri Feb 27 20:59:23 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 27 Feb 2004 20:59:23 +0100 Subject: [Gambas-user] is it gambas or is ti mysql Message-ID: <200402272059.23551.Karl.Reinl@...9...> Salut, pleas try the following: - open a mysql - connection - use the gambas-database-manger and create a user which is NOT Admin - open for this user a connection - go to the mysql database and open the request -copy this to the request window and start it ( change the user in the Where contition to you user) Update user SET user.Select_priv = 'Y', user.Insert_priv = 'Y' , user.Update_priv = 'Y' , user.Delete_priv = 'Y', user.Create_priv = 'Y' , user.Drop_priv = 'Y' Where user.User ='' - I that works that user is Admin now On mysql 4.0.16 it is not a problem to do that. Amicalement Charlie From na2492 at ...9... Fri Feb 27 22:26:22 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Fri, 27 Feb 2004 22:26:22 00100 Subject: [Gambas-user] Checkbox (next step) Message-ID: <403fb5fe.6957.0@...9...> Salut Jacky, what I find out is that in an SQL-Request-String a boolean, you have to present like 'Y' or 'N'. I do still not know how to do it in gambas ? But ask Benoit or Gerarrd Amicalement charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From ronstk at ...239... Fri Feb 27 22:34:15 2004 From: ronstk at ...239... (ron) Date: Fri, 27 Feb 2004 22:34:15 +0100 Subject: [Gambas-user] autocomplete In-Reply-To: References: Message-ID: <200402272234.15239.ronstk@...239...> On Friday 27 February 2004 13:06, danielcampos at ...282... wrote: > >What do you mean exactly by "the focus seems to go to the hyperspace" ? > > When I press 'Intro', the editor window looses the focus, and I can't > continue typing until I click on thast window again with the mouse... > I wonder why some people have this and other another behaviour. In windows you have quick(hot) key's. You can asign a key press to start an application. In KDE they exists also. GNome, i wonder if they don't have it. Is het posible that the basic system is stealing keypress near the keyboard, lower level. Here it's behaviour is like tabbing windows. May be in tis case the key stroke intercept is done before Gambas get it? Ron From ronstk at ...239... Fri Feb 27 22:49:05 2004 From: ronstk at ...239... (ron) Date: Fri, 27 Feb 2004 22:49:05 +0100 Subject: [Gambas-user] Loosing focus In-Reply-To: <1077912726.2674.1.camel@...40...> References: <1077912726.2674.1.camel@...40...> Message-ID: <200402272249.05466.ronstk@...239...> On Friday 27 February 2004 21:12, Daniel Campos wrote: > It's only me, or the editor window looses the focus > after pressing 'TAB' to perform the new editor feature? > > Regards, Not by me, KDE 3.14 QT3.2 GB0.90 Ron. From ronstk at ...239... Fri Feb 27 22:54:00 2004 From: ronstk at ...239... (ron) Date: Fri, 27 Feb 2004 22:54:00 +0100 Subject: [Gambas-user] News In-Reply-To: <200402272121.41489.abidoo.too@...11...> References: <200402272121.41489.abidoo.too@...11...> Message-ID: <200402272254.00524.ronstk@...239...> On Friday 27 February 2004 21:21, Fabien Bodard wrote: > Hi all gambasian > > does Microsoft buy GOOGLE ? > > Mabe a great news... > > http://korimage.free.fr/msgoogle.htm > > Fabien > Linux should buy Yahoo to resque the community? Ron From leo.barnhoorn at ...246... Sat Feb 28 08:27:11 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Fri, 27 Feb 2004 23:27:11 -0800 Subject: [Gambas-user] gambas 0.90 In-Reply-To: <200402270042.02516.ronstk@...239...> References: <200402260045.51009.gambas@...1...> <200402262348.29643.leo.barnhoorn@...246...> <200402270042.02516.ronstk@...239...> Message-ID: <200402272327.11255.leo.barnhoorn@...246...> Hello Ron, I downloaded the source code and not the RPM, i compiled the CURL lib and everything is working well on SuSE 8.2 and SuSE 9.0 I downloaded the source code from this site. http://curl.haxx.se/libcurl/ Regards, Leo Barnhoorn. On Thursday 26 February 2004 15:42, ron wrote: > On Friday 27 February 2004 08:48, Leo Barnhoorn wrote: > > Hello Benoit, > > > > Gambas version 0.90 compiles good on SuSE 8.2 and SuSE 9.0 > > The projects i'm working on running well, no changes to make this time in > > the coding to get work, so i'm happy for that. > > What version of CURL do you have on SuSE 8.2? > If it is 7.11 how did you install it and is Yast still working. > At my system it fails and I had to strip of the HTTP part of Daniels > net component, its a shame, after restoring the orginal fromthe > distribution. > > Ron > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From daniel.campos at ...338... Fri Feb 27 23:31:23 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Fri, 27 Feb 2004 23:31:23 +0100 Subject: [Gambas-user] Loosing focus In-Reply-To: <200402272249.05466.ronstk@...239...> References: <1077912726.2674.1.camel@...40...> <200402272249.05466.ronstk@...239...> Message-ID: <1077921083.2623.1.camel@...40...> El vie, 27-02-2004 a las 22:49, ron escribi?: > On Friday 27 February 2004 21:12, Daniel Campos wrote: > > It's only me, or the editor window looses the focus > > after pressing 'TAB' to perform the new editor feature? > > > > Regards, > > Not by me, KDE 3.14 QT3.2 GB0.90 Mmmh... I'm using Kde 3.2 (Mandrake Cooker)... could be this the problem? > > Ron. > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From daniel.campos at ...338... Fri Feb 27 23:36:32 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Fri, 27 Feb 2004 23:36:32 +0100 Subject: [Gambas-user] News In-Reply-To: <200402272121.41489.abidoo.too@...11...> References: <200402272121.41489.abidoo.too@...11...> Message-ID: <1077921392.2623.6.camel@...40...> El vie, 27-02-2004 a las 21:21, Fabien Bodard escribi?: > Hi all gambasian > > does Microsoft buy GOOGLE ? > > Mabe a great news... > > http://korimage.free.fr/msgoogle.htm > > Fabien Never send things like this again, I thought I was living a horrible nightmare! :-)) Regards, Daniel Campos > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Fri Feb 27 23:56:30 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 27 Feb 2004 23:56:30 +0100 Subject: [Gambas-user] Loosing focus In-Reply-To: <1077921083.2623.1.camel@...40...> References: <1077912726.2674.1.camel@...40...> <200402272249.05466.ronstk@...239...> <1077921083.2623.1.camel@...40...> Message-ID: <200402272356.31189.gambas@...1...> On Friday 27 February 2004 23:31, Daniel Campos wrote: > El vie, 27-02-2004 a las 22:49, ron escribi?: > > On Friday 27 February 2004 21:12, Daniel Campos wrote: > > > It's only me, or the editor window looses the focus > > > after pressing 'TAB' to perform the new editor feature? > > > > > > Regards, > > > > Not by me, KDE 3.14 QT3.2 GB0.90 > > Mmmh... I'm using Kde 3.2 (Mandrake Cooker)... could be this the > problem? > No, see my previous post about autocompletion. I think all these focus and window layer problems will be fixed in the next version. Crossing my fingers... :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Feb 27 23:59:52 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 27 Feb 2004 23:59:52 +0100 Subject: [Gambas-user] News In-Reply-To: <200402272121.41489.abidoo.too@...11...> References: <200402272121.41489.abidoo.too@...11...> Message-ID: <200402272359.52550.gambas@...1...> On Friday 27 February 2004 21:21, Fabien Bodard wrote: > Hi all gambasian > > does Microsoft buy GOOGLE ? > > Mabe a great news... > > http://korimage.free.fr/msgoogle.htm > > Fabien > LoL! Need a french version of that :-) -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Sat Feb 28 00:06:37 2004 From: ronstk at ...239... (ron) Date: Sat, 28 Feb 2004 00:06:37 +0100 Subject: [Gambas-user] is it gambas or is ti mysql In-Reply-To: <200402272059.23551.Karl.Reinl@...9...> References: <200402272059.23551.Karl.Reinl@...9...> Message-ID: <200402280006.38114.ronstk@...239...> On Friday 27 February 2004 20:59, Charlie Reinl wrote: > Salut, > > pleas try the following: > - open a mysql - connection > - use the gambas-database-manger and create a user which is NOT Admin > - open for this user a connection > - go to the mysql database and open the request > > -copy this to the request window and start it ( change the user in the > Where contition to you user) > > Update user SET user.Select_priv = 'Y', user.Insert_priv = 'Y' , > user.Update_priv = 'Y' , user.Delete_priv = 'Y', user.Create_priv = 'Y' , > user.Drop_priv = 'Y' Where user.User ='' > > - I that works that user is Admin now > > On mysql 4.0.16 it is not a problem to do that. > > Amicalement > Charlie > I think I miss something ? I follows your instructions and after making the new connection I see mydell at ...40... (mysql) in the tree. Clicking on the + before it I got a error message. What strange is for me is there are no users/dbs on the second connection. When I let the database/user/password empty I get the second connection ok. I think this new user should not be able to open the mysql database at all. After the mydell as user is made, I see in the DB table is there a record for this user at database mysql, all priv's at N. Not as admin created and have access to db.mysql ? Using the delete record does not work. Open another database table and try it there. Did also not work. Had to use Save first. Back to the mysql db and try again to delete the record and save. The record stay's, no delete performed. With phpadmin it can be done. Recreate the user mydell doesn't pass, it exists already. Your 4'th point. do you mean the db.mysql in the new connection? I can't. In the orginal opened db?. yes shure that is me, a admin and I can pass every stupid sql line to give everyone the most stupid right's. Biggg smileee. That the not admin user is Admin now isn't true. He was it already but without rights. The Update you provide gives him only the privilege to do something, he could not do as user, with global rights and because he is already admin (acces in the db table to mysql) he is now full admin too. The wrong thing is he has a record in the db table to the mysql db. Any way I can create a new connetion but when I give a user name it can't be opened. Ron -------------- next part -------------- A non-text attachment was scrubbed... Name: snap1.png Type: image/png Size: 9788 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: snap2.png Type: image/png Size: 15945 bytes Desc: not available URL: From mardus at ...298... Sat Feb 28 00:44:30 2004 From: mardus at ...298... (Marcelo Duschkin) Date: Fri, 27 Feb 2004 20:44:30 -0300 Subject: [Gambas-user] Re: News In-Reply-To: <200402272359.52550.gambas@...1...> References: <200402272121.41489.abidoo.too@...11...> <200402272359.52550.gambas@...1...> Message-ID: <200402272044.30742.mardus@...298...> El Vie 27 Feb 2004 19:59, Benoit Minisini escribi?: >(BM) LoL! Need a french version of that :-) In french and spanish :)) -- Para el cierre: --- El Maestro Pen Guin al azar citaba: Los viejos profesores nunca mueren, simplemente pierden sus clases. - - - Marcelo Duschkin - Buenos Aires - Argentina mardus at ...298... www.websdelsur.com.ar www.lahueya.com.ar -------------- next part -------------- A non-text attachment was scrubbed... Name: google-fr.png Type: image/png Size: 88823 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: google-ar.png Type: image/png Size: 89684 bytes Desc: not available URL: From ronstk at ...239... Sat Feb 28 00:56:19 2004 From: ronstk at ...239... (ron) Date: Sat, 28 Feb 2004 00:56:19 +0100 Subject: [Gambas-user] gambas 0.90 In-Reply-To: <200402272327.11255.leo.barnhoorn@...246...> References: <200402260045.51009.gambas@...1...> <200402270042.02516.ronstk@...239...> <200402272327.11255.leo.barnhoorn@...246...> Message-ID: <200402280056.19945.ronstk@...239...> On Saturday 28 February 2004 08:27, Leo Barnhoorn wrote: > Hello Ron, > > I downloaded the source code and not the RPM, i compiled the CURL lib and > everything is working well on SuSE 8.2 and SuSE 9.0 > I downloaded the source code from this site. > > http://curl.haxx.se/libcurl/ > > Regards, > Leo Barnhoorn. > Well then I beleave you have 7.11 now. I did the same way but troubles after it with Yast. I can't add new ftp installpoints after the upgrade. curl 7.11 was working well, but I have a problem. If I go for curl 7.11 then I don't have a (un)install manager any other then Kpackage wich can't uninstall. Also the KDE 3.2 can't installed from SuSe packages and I miss the suse help how my sytem is build up now. They integreted KDE help in SuSE help and using the source from KDE will for shure not support the suse help. The other way is drop SuSE and go for Gentoo or Mandrake, but already knowing the have there problems to, or take the risc and forget suse and go for upgrading the curl and kde from source. (called away by doorbell) The last option is less risky, I got a laptop for free (pentium 166Mc) witch runs Knoppix linux CD as backhand to find things out when in trouble. Ron From rizky at ...225... Sat Feb 28 03:50:13 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Sat, 28 Feb 2004 09:50:13 +0700 Subject: [Gambas-user] CTRL + PGUP and PGDWN In-Reply-To: <200402262127.19468.Karl.Reinl@...9...> References: <200402262127.19468.Karl.Reinl@...9...> Message-ID: <6.0.0.22.2.20040228094415.01c8fa28@...329...> Once i have asked this function for the editor. yes ofcourse, it's already work fine, but take a look if you have a lot of function and subs in the editor. when the cursor at the first line and pressing ctrl+pgdown will move the cursor go to the next function/sub and the ctrl+pgup will move to the prev. above. try this.. when the cursor at the end of the editor, try to pressing ctrl+pgup. yes, the cursor will move to the prev function/sub, but we don't know what function/sub it is, cause the name of the function is not shown... yes ofcourse if the function/subs not much, it will still have the function/sub name apear... as a note, vb is showing the function/sub for something like that... :) Regards, tahara! From t4nu at ...103... Sat Feb 28 06:55:20 2004 From: t4nu at ...103... (t4nu) Date: Sat, 28 Feb 2004 12:55:20 +0700 Subject: [Gambas-user] Re: Just an idea... Message-ID: <200402281255.20373.t4nu@...103...> t4nu wrote : > Something that VB doesn't have (maybe), but Gambas could have > is that we write code in faster way by having a shortcut. > I mean that different style in writing code from any programmer, we can fill > it at our own shortcut and we can put anykind of code in it. > So, whenever it's needed, we dont have to write again or copy-paste again, > just press that shortcut. > Other benefit is that we can focus in code area, because there's > no need to travel looking for similar code that we need. > Well, guys, ? Benoit wrote : Why not ? But copy & paste is a very bad way of programming! Ron : Having a directory with files to include in a project is also handy (bad VB) and Benoit is against it for dependency. I agree with it but mis it too. Code snippets with shortcuts/select-box is a good alternative. Rob : It would be pretty easy to do this in the Gambas IDE. You could even try it yourself.... the IDE is written in Gambas. But......normally you' would want to use these things called "subs" and "functions" and "classes" to accomplish this task! Charlie Reinl : Subject: [Gambas-user] talking abaut copy and paste Salut, why should be copy and paste, to be bad programmation style ?? I once said, without copy and paste I never would be programmer ! Why ? If you arrive in a new job, and you don't have you hard outworked source-code, you start at ZERO. Because, it is not importent to know how it has to be, if you know where you find how it must be ? The programmers force is his source-code, and its knowlege about it. Question, how offten you worked on a OPEN FILE, OPEN Connection etc. ??? Every time you have had your source code to look/copy it. Thats right ? Amicalement Charlie t4nu : yach... the fact that VB is the most popular programming language, is because of this : handy and easy to use. More easier to handle will have certain point and appreciation for programmer / user. Why not for Gambas ? is'nt copy & paste is feature from GUI era, right ? i think that gambas is better language than vb (clean, clear, and shorter coding) and i'm hoping that it has more feature, including in IDE. From olinux at ...289... Sat Feb 28 08:03:57 2004 From: olinux at ...289... (Coquet Olivier) Date: Sat, 28 Feb 2004 08:03:57 +0100 Subject: [Gambas-user] About auto completion In-Reply-To: <200402271854.21155.gambas@...1...> References: <200402271854.21155.gambas@...1...> Message-ID: <1077951837.18612.15.camel@...293...> lot of thanks, because this bug make the 0.90 inusable for me regards olivier Le ven 27/02/2004 ?? 18:54, Benoit Minisini a ??crit : > I have finally fixed the problem with the listbox appearing behind the editor > window... > > It is a problem with QT that don't implement Window manager specifications of > freedesktop.org for top-only windows. > > See there for more information: http://freedesktop.org/Standards/wm-spec > > The funny is that KDE window manager implements them, as well as Metacity > (GNOME window manager) and others. > > So I wrote a workaround, and when you set the TopOnly property of a window, a > the corresponding X-Window property is set by hand, without using the QT > functions. > > This fix is for the next version. > > Regards, From wizardmansite at ...43... Sat Feb 28 08:24:37 2004 From: wizardmansite at ...43... (Devilyn) Date: Fri, 27 Feb 2004 23:24:37 -0800 (PST) Subject: [Gambas-user] About a project. Message-ID: <20040228072437.71189.qmail@...375...> Hello, I discovered Gambas about 2 yrs ago. Well I have not really got into it. I have a complete internet based 2-D RPG game made in MS Visual Basic. I wanted to convert the code so it will work in Linux using Gambas. So Can MIDI and WAV files be played in Gambas. Also how about internet APPS as in my game. Client and Server? Please let me know. It would be Great to put my game engine in Linux. --------------------------------- Do you Yahoo!? Get better spam protection with Yahoo! Mail -------------- next part -------------- An HTML attachment was scrubbed... URL: From wizardmansite at ...43... Sat Feb 28 08:35:00 2004 From: wizardmansite at ...43... (Devilyn) Date: Fri, 27 Feb 2004 23:35:00 -0800 (PST) Subject: [Gambas-user] Rpg Project Message-ID: <20040228073500.90620.qmail@...376...> WOW! I took a lot at the changes in gambas.. huummmm i did see some stuff about client/server and also sound... Could not tell about MIDI music files... So Does anyone wanna help me convert my rpg game into gambas code? If so let me know at. Wizardmansite at ...43... You will get full credit. I have all the wav,midi and graphics needed. --------------------------------- Do you Yahoo!? Get better spam protection with Yahoo! Mail -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...1... Sat Feb 28 10:25:08 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 28 Feb 2004 10:25:08 +0100 Subject: [Gambas-user] Rpg Project In-Reply-To: <20040228073500.90620.qmail@...376...> References: <20040228073500.90620.qmail@...376...> Message-ID: <200402281025.08999.gambas@...1...> On Saturday 28 February 2004 08:35, Devilyn wrote: > WOW! I took a lot at the changes in gambas.. huummmm i did see some stuff > about client/server and also sound... Could not tell about MIDI music > files... So Does anyone wanna help me convert my rpg game into gambas code? > If so let me know at. Wizardmansite at ...43... > You will get full credit. I have all the wav,midi and graphics needed. > You have all you need for your game except playing Midi files. I don't know how is the Midi support in Linux... When I had a SoundBlaster under Window on my previous computer, I noticed that the driver loaded banks of samples into the card at each startup so that it can play midifiles. Is that sort of thing managed by Alsa ? Don't know! Two solutions: - Play your midi files on a good expander, record the output in your computer, and convert it to OGG. - Use timidity to play midi files in background. Regards, -- Benoit Minisini mailto:gambas at ...1... From _root at ...324... Sat Feb 28 10:29:44 2004 From: _root at ...324... (-=FoX=-) Date: Sat, 28 Feb 2004 10:29:44 +0100 Subject: [Gambas-user] Rpg Project In-Reply-To: <20040228073500.90620.qmail@...376...> References: <20040228073500.90620.qmail@...376...> Message-ID: <40405F88.8080208@...324...> Devilyn wrote: > WOW! I took a lot at the changes in gambas.. huummmm i did see some > stuff about client/server and also sound... Could not tell about MIDI > music files... So Does anyone wanna help me convert my rpg game into > gambas code? If so let me know at. > Wizardmansite at ...43... > You will get full credit. I have all the wav,midi and graphics needed. > WOW an RPG? Like Uo? ;) -------------- next part -------------- An HTML attachment was scrubbed... URL: From thierry at ...342... Sat Feb 28 10:57:40 2004 From: thierry at ...342... (Thierry Thomas) Date: Sat, 28 Feb 2004 10:57:40 +0100 Subject: [Gambas-user] Rpg Project In-Reply-To: <200402281025.08999.gambas@...1...> References: <20040228073500.90620.qmail@...376...> <200402281025.08999.gambas@...1...> Message-ID: <20040228095740.GA52407@...343...> Salut?! Le Sam 28 f?v 04 ? 10:25:08 +0100, Benoit Minisini ?crivait?: > Two solutions: > > - Play your midi files on a good expander, record the output in your computer, > and convert it to OGG. > > - Use timidity to play midi files in background. - SDL_sound handles MIDI files: Cf. . -- Th. Thomas. From gambas at ...1... Sat Feb 28 11:13:30 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 28 Feb 2004 11:13:30 +0100 Subject: [Gambas-user] Rpg Project In-Reply-To: <20040228095740.GA52407@...343...> References: <20040228073500.90620.qmail@...376...> <200402281025.08999.gambas@...1...> <20040228095740.GA52407@...343...> Message-ID: <200402281113.30485.gambas@...1...> On Saturday 28 February 2004 10:57, Thierry Thomas wrote: > Salut?! > > Le Sam 28 f?v 04 ? 10:25:08 +0100, Benoit Minisini > > > ?crivait?: > > Two solutions: > > > > - Play your midi files on a good expander, record the output in your > > computer, and convert it to OGG. > > > > - Use timidity to play midi files in background. > > - SDL_sound handles MIDI files: > Cf. . But when you write a game, you need to play several sounds at the same time, and SDL_sound don't seem to do that. -- Benoit Minisini mailto:gambas at ...1... From olivier at ...289... Sat Feb 28 13:18:52 2004 From: olivier at ...289... (Coquet Olivier) Date: Sat, 28 Feb 2004 13:18:52 +0100 Subject: [Gambas-user] Bug in 0.90 console Message-ID: <1077970731.5933.0.camel@...293...> realy funy :=) ? 123456 12345 ? 234 23 there is something wrong :=) regards olivier From olivier at ...289... Sat Feb 28 13:21:38 2004 From: olivier at ...289... (Coquet Olivier) Date: Sat, 28 Feb 2004 13:21:38 +0100 Subject: [Gambas-user] Bug in 0.90 Application version Message-ID: <1077970898.5965.0.camel@...293...> Application.Version return alway: 0.82.63 regards Olivier From perrymou at ...370... Sat Feb 28 13:22:31 2004 From: perrymou at ...370... (pezz) Date: Sat, 28 Feb 2004 12:22:31 +0000 Subject: [Gambas-user] Re: Networking component problem (Telnet) Message-ID: <200402281222.31342.perrymou@...370...> Aha! Yes the networking component DOES send data after the intial connection. What it doesn't do is Telnet handshaking (I was testing it on a telnet BBS.) At the moment I've started a simple IRC client, and it's going well. Big ideas are forming. Would be nice to write a telnet client though ;) Gambas rocks! pezz From daniel.campos at ...338... Sat Feb 28 16:15:28 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Sat, 28 Feb 2004 16:15:28 +0100 Subject: [Gambas-user] Re: Networking component problem (Telnet) In-Reply-To: <200402281222.31342.perrymou@...370...> References: <200402281222.31342.perrymou@...370...> Message-ID: <1077981327.2616.14.camel@...40...> El s?b, 28-02-2004 a las 13:22, pezz escribi?: > Aha! Yes the networking component DOES send data after the intial connection. > What it doesn't do is Telnet handshaking (I was testing it on a telnet BBS.) > Ah!, no, of course TELNET protocol is a level upstairs! Socket class just sends or receive data using TCP, but nothing about specifications of TELNET protocol. > At the moment I've started a simple IRC client, and it's going well. Big ideas > are forming. Would be nice to write a telnet client though ;) > Fabien Bodard made some work with IRC, may be you can contact with him and work together, it would be great... Somebody was doing a work with TELNET too, I don't remember now, but he's on the gambas list archives, sure! Regards, Daniel Campos > Gambas rocks! > > pezz > > > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From olinux at ...289... Sat Feb 28 16:46:40 2004 From: olinux at ...289... (Coquet Olivier) Date: Sat, 28 Feb 2004 16:46:40 +0100 Subject: [Gambas-user] Re: Networking component problem (Telnet) In-Reply-To: <1077981327.2616.14.camel@...40...> References: <200402281222.31342.perrymou@...370...> <1077981327.2616.14.camel@...40...> Message-ID: <1077983200.6644.1.camel@...293...> yes, somebody is me lol i wrote an ide interface for excellent mail server program eXtremail, all communications between interface and server was made in telnet and work perfectly. Regards Olivier > ... Somebody was doing a work with > TELNET too, I don't remember now, but he's on the gambas list archives, > sure! > > > Regards, > > Daniel Campos > > > > > Gambas rocks! > > > > pezz > > > > > > > > > > > > ------------------------------------------------------- > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > > Build and deploy apps & Web services for Linux with > > a free DVD software kit from IBM. Click Now! > > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id56&alloc_id438&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 Feb 28 18:12:49 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 28 Feb 2004 12:12:49 -0500 Subject: [Gambas-user] Rpg Project In-Reply-To: <200402281113.30485.gambas@...1...> References: <20040228073500.90620.qmail@...376...> <20040228095740.GA52407@...343...> <200402281113.30485.gambas@...1...> Message-ID: <200402281212.49578.sourceforge-raindog2@...94...> On Saturday 28 February 2004 05:13, Benoit Minisini wrote: > > - SDL_sound handles MIDI files: > > Cf. . > But when you write a game, you need to play several sounds at > the same time, and SDL_sound don't seem to do that. Sure you can. That SDL Gambas demo I did using perl-SDL as the back end could do it pretty easily (each button was assigned to a channel, and I declared 4 or 8 channels, and SDL software mixed them.) Maybe whoever wrote the Gambas SDL component only declared 1 channel? MIDI support under Linux sucks not because it's unsupported (you can upload samples to a lot of cards that support them, or you can use one of a half dozen different software synths with ALSA) but because no mainstream distro that I know of sets it up to work by default. I think I'd just use timidity myself at this point in time. Rob From sourceforge-raindog2 at ...94... Sat Feb 28 18:16:17 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 28 Feb 2004 12:16:17 -0500 Subject: [Gambas-user] Re: Networking component problem (Telnet) In-Reply-To: <1077983200.6644.1.camel@...293...> References: <200402281222.31342.perrymou@...370...> <1077981327.2616.14.camel@...40...> <1077983200.6644.1.camel@...293...> Message-ID: <200402281216.17604.sourceforge-raindog2@...94...> On Saturday 28 February 2004 10:46, Coquet Olivier wrote: > i wrote an ide interface for excellent mail server program > eXtremail, all communications between interface and server was > made in telnet and work perfectly. Yeah, most telnet-based services will work with a raw socket connection, it's just a few of them (largely BBSes and older chat/mud type systems) try to negotiate various telnet protocol capabilities and kind of fall flat when you use a raw socket. It's rare and antiquated enough that I think a Gambas library would be sufficient to implement the telnet handshaking rather than another class in gb.net. Rob From gambas at ...1... Sat Feb 28 19:53:00 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 28 Feb 2004 19:53:00 +0100 Subject: [Gambas-user] Bug in 0.90 Application version In-Reply-To: <1077970898.5965.0.camel@...293...> References: <1077970898.5965.0.camel@...293...> Message-ID: <200402281953.00332.gambas@...1...> On Saturday 28 February 2004 13:21, Coquet Olivier wrote: > Application.Version return alway: > > 0.82.63 > > > regards > Olivier > > Of course, if you type "?Application.Version" in the console, it is evaluated in the context of the IDE, not in the context of your project that does not run! So you get the gambas IDE version! -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Feb 28 19:53:25 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 28 Feb 2004 19:53:25 +0100 Subject: [Gambas-user] Bug in 0.90 console In-Reply-To: <1077970731.5933.0.camel@...293...> References: <1077970731.5933.0.camel@...293...> Message-ID: <200402281953.25125.gambas@...1...> On Saturday 28 February 2004 13:18, Coquet Olivier wrote: > realy funy :=) > > ? 123456 > 12345 > > ? 234 > 23 > > there is something wrong :=) > > regards > olivier > Mmm... I couldn't reproduce that... Which distro do you use ? -- Benoit Minisini mailto:gambas at ...1... From mauriiiii3001 at ...325... Sat Feb 28 21:24:13 2004 From: mauriiiii3001 at ...325... (Pozzo) Date: Sat, 28 Feb 2004 21:24:13 +0100 Subject: [Gambas-user] I can't read it Message-ID: <4040F8ED.9030909@...325...> Hi Benoit I've found an visual problem in gambas' welcome form and gambas' documentation if someone use a dark theme for the desktop enviroment which use light colors for the letters will have serious difficulty to read the welcome form of gambas and all the documentations as you can see in the shots. I suggest two possibles options or you let the user change the background color or you use predefined colors also to the text, for the documentation you have only to add this text to the body of the pages text="#000000". Maurizio -------------- next part -------------- A non-text attachment was scrubbed... Name: ICan'treadIt2.png Type: image/png Size: 29032 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ICan'treadIt.png Type: image/png Size: 81648 bytes Desc: not available URL: From mauriiiii3001 at ...325... Sat Feb 28 21:25:13 2004 From: mauriiiii3001 at ...325... (Pozzo) Date: Sat, 28 Feb 2004 21:25:13 +0100 Subject: [Gambas-user] Stranges mines Message-ID: <4040F929.9090300@...325...> Hi All, I'm writing a Mines Hunter game under Gambas and I've found a real strange thing. first I have realize a Sub that place mines randomly, it works fine but is too complicated, I'll modify it in another time, I already now what to do :-), for tensting propose it put only two mines in an array of 128 cells then I've created a sub that check all then cells next to one cell per time so I can know how many mines are near to it, the cells with the mine are true and the cells without are false and here is the problem, the first time the sub find a mine everything is OK but at the next cicle a mine born magicaly in the cell at the right of the cell I'm woring on. For example if the mines are in the cells 1,1 and 7,2 when I'm working on the 0,0 it find a mine at the 1,1 and this is OK the I move to the 0,1 and it find a mine in the 1,1 and in the 0,2 next time it find in the 1,1, the 0,2 and the 0,3 .... this is real strange because I never modify the array during the process this is my sub where we(7) and hi(15) are indicate how many cells there are in the array, Harry is the array with all the mines and HarryC is the array where i've writen how many mines are near to the cells. SUB control (We AS Integer, Hi AS Integer) DIM i AS Integer DIM j AS Integer DIM y AS Integer DIM t AS Integer DIM c AS Integer DIM debug AS Boolean FOR i=0 TO Hi FOR j=0 TO We c = 0 FOR y =i-1 TO i+1 FOR t=j-1 TO j+1 debug = false IF t<0 OR t>We OR y<0 OR y>Hi THEN ELSE IF Harry[t,y] = true THEN c = c + 1 ENDIF ENDIF NEXT NEXT IF Harry[j,i] = false THEN HarryC[j,i] = c ELSE HarryC[j,i]= 80011 ENDIF NEXT NEXT END Maurizio From gambas at ...1... Sat Feb 28 21:30:58 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 28 Feb 2004 21:30:58 +0100 Subject: [Gambas-user] Stranges mines In-Reply-To: <4040F929.9090300@...325...> References: <4040F929.9090300@...325...> Message-ID: <200402282130.58160.gambas@...1...> On Saturday 28 February 2004 21:25, Pozzo wrote: > Hi All, > I'm writing a Mines Hunter game under Gambas and I've found a real > strange thing. > first I have realize a Sub that place mines randomly, it works fine but > is too complicated, I'll modify it in another time, I already now what > to do :-), for tensting propose it put only two mines in an array of 128 > cells then I've created a sub that check all then cells next to one cell > per time so I can know how many mines are near to it, the cells with the > mine are true and the cells without are false and here is the problem, > the first time the sub find a mine everything is OK but at the next > cicle a mine born magicaly in the cell at the right of the cell I'm > woring on. > For example if the mines are in the cells 1,1 and 7,2 when I'm working > on the 0,0 it find a mine at the 1,1 and this is OK the I move to the > 0,1 and it find a mine in the 1,1 and in the 0,2 next time it find in > the 1,1, the 0,2 and the 0,3 .... > this is real strange because I never modify the array during the process > this is my sub where we(7) and hi(15) are indicate how many cells there > are in the array, Harry is the array with all the mines and HarryC is > the array where i've writen how many mines are near to the cells. > > SUB control (We AS Integer, Hi AS Integer) > > DIM i AS Integer > DIM j AS Integer > DIM y AS Integer > DIM t AS Integer > DIM c AS Integer > DIM debug AS Boolean > FOR i=0 TO Hi > FOR j=0 TO We > c = 0 > FOR y =i-1 TO i+1 > FOR t=j-1 TO j+1 > debug = false > IF t<0 OR t>We OR y<0 OR y>Hi THEN > ELSE > IF Harry[t,y] = true THEN > c = c + 1 > ENDIF > ENDIF > NEXT > NEXT > IF Harry[j,i] = false THEN > HarryC[j,i] = c > ELSE > HarryC[j,i]= 80011 > ENDIF > NEXT > NEXT > END > > > Maurizio > What are the declaration of the arrays ? Could you send me a complete project ? Regards, -- Benoit Minisini mailto:gambas at ...1... From danielcampos at ...282... Sat Feb 28 21:52:55 2004 From: danielcampos at ...282... (Daniel Campos) Date: Sat, 28 Feb 2004 21:52:55 +0100 Subject: [Gambas-user] RPM installation failed (0.90) Message-ID: <1078001575.2619.2.camel@...40...> I tried to install packages from kudla.org, for Gambas 0.90, but when I type 'gambas' I find: ERROR: #27: Cannot load component '/usr/lib/gambas-0.90/lib/lib.gb.qt.so': /usr/lib/gambas-0.90/lib/lib.gb.qt.so: cannot open shared object file: No such file or directory In fact, libgambas0-0.90-1mdk.i586.rpm provides lib.gb.qt.so.0 and lib.gb.qt.so.0.0.0, but not lib.gb.qt.so Regards, Daniel Campos -- Daniel Campos From sourceforge-raindog2 at ...94... Sat Feb 28 22:02:43 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 28 Feb 2004 16:02:43 -0500 Subject: [Gambas-user] RPM installation failed (0.90) In-Reply-To: <1078001575.2619.2.camel@...40...> References: <1078001575.2619.2.camel@...40...> Message-ID: <200402281559.58389.sourceforge-raindog2@...94...> On Saturday 28 February 2004 15:52, Daniel Campos wrote: > In fact, libgambas0-0.90-1mdk.i586.rpm provides lib.gb.qt.so.0 > and lib.gb.qt.so.0.0.0, but not lib.gb.qt.so You're right, but for some reason the files exist on my system (and I did a clean uninstall/reinstall.) So I need to figure out how they're getting created (there's nothing in my spec files) and why it's not working for you.... Rob From sourceforge-raindog2 at ...94... Sat Feb 28 22:18:00 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 28 Feb 2004 16:18:00 -0500 Subject: [Gambas-user] RPM installation failed (0.90) In-Reply-To: <1078001575.2619.2.camel@...40...> References: <1078001575.2619.2.camel@...40...> Message-ID: <200402281618.00399.sourceforge-raindog2@...94...> On Saturday 28 February 2004 15:52, Daniel Campos wrote: > In fact, libgambas0-0.90-1mdk.i586.rpm provides lib.gb.qt.so.0 > and lib.gb.qt.so.0.0.0, but not lib.gb.qt.so However, libgambas0-devel-0.90-1mdk.i586.rpm does provide the .so symlinks. And libgambas0-devel is a requirement of Gambas, but it doesn't specify a version. So if you do an uninstall prior to installing 0.90, it'll create the symlinks, but otherwise not. Why the .so symlinks are in the devel package and not the lib package is a mystery to me, but it's something the cooker guys did when massaging my packages. I'll fix the requirements and reupload to cooker and my repository... thankfully, this will at least not affect first time users. Rob From gambas at ...1... Sat Feb 28 22:55:35 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 28 Feb 2004 22:55:35 +0100 Subject: [Gambas-user] RPM installation failed (0.90) In-Reply-To: <200402281618.00399.sourceforge-raindog2@...94...> References: <1078001575.2619.2.camel@...40...> <200402281618.00399.sourceforge-raindog2@...94...> Message-ID: <200402282255.35376.gambas@...1...> On Saturday 28 February 2004 22:18, Rob wrote: > On Saturday 28 February 2004 15:52, Daniel Campos wrote: > > In fact, libgambas0-0.90-1mdk.i586.rpm provides lib.gb.qt.so.0 > > and lib.gb.qt.so.0.0.0, but not lib.gb.qt.so > > However, libgambas0-devel-0.90-1mdk.i586.rpm does provide the .so > symlinks. And libgambas0-devel is a requirement of Gambas, but > it doesn't specify a version. So if you do an uninstall prior > to installing 0.90, it'll create the symlinks, but otherwise > not. Why the .so symlinks are in the devel package and not the > lib package is a mystery to me, but it's something the cooker > guys did when massaging my packages. > > I'll fix the requirements and reupload to cooker and my > repository... thankfully, this will at least not affect first > time users. > > Rob > I think the cooker guys think that .so links are only needed by people that compile programs. They didn't see that gambas relies on these links to load its components dynamically. Maybe I should change that on the future, and locate components by searching the *.so.X link instead of just the *.so one, like ld.so does. Regards, -- Benoit Minisini mailto:gambas at ...1... From jscops at ...11... Sat Feb 28 23:27:04 2004 From: jscops at ...11... (Jack) Date: Sat, 28 Feb 2004 23:27:04 +0100 Subject: [Gambas-user] Checkbox Message-ID: <200402282327.04443.jscops@...11...> Hello Charlie, Yes, your answer is good. We must convert the Gambas boolean(True or False) to MySQL Logic(1 or 0 (not y or n)), otherwise Gambas write always "FALSE" in the field. (Never True even if Checkbox.Value = True) Perhaps a bug ? -"Why are you calling my name ?" Because i think that you have to answer me to my first question. No ? Avec toutes mes amiti?s. ?~Jacky~? From olinux at ...289... Sun Feb 29 00:38:53 2004 From: olinux at ...289... (Coquet Olivier) Date: Sun, 29 Feb 2004 00:38:53 +0100 Subject: [Gambas-user] Bug in 0.90 console In-Reply-To: <200402281953.25125.gambas@...1...> References: <1077970731.5933.0.camel@...293...> <200402281953.25125.gambas@...1...> Message-ID: <1078011533.9007.7.camel@...293...> fedora core 1 qt3.2 upgrade gnome 2.4.0 same thing with all commands ? application.version don't work ? application.version_ <====a space work regards olivier Le sam 28/02/2004 ?? 19:53, Benoit Minisini a ??crit : > On Saturday 28 February 2004 13:18, Coquet Olivier wrote: > > realy funy :=) > > > > ? 123456 > > 12345 > > > > ? 234 > > 23 > > > > there is something wrong :=) > > > > regards > > olivier > > > > Mmm... I couldn't reproduce that... Which distro do you use ? From ronstk at ...239... Sun Feb 29 00:53:17 2004 From: ronstk at ...239... (ron) Date: Sun, 29 Feb 2004 00:53:17 +0100 Subject: [Gambas-user] Bugs: Help Browser + GDM + Net In-Reply-To: <200402261815.39537.ronstk@...239...> References: <200402260914.01370.ronstk@...239...> <200402261734.58133.gambas@...1...> <200402261815.39537.ronstk@...239...> Message-ID: <200402290053.18689.ronstk@...239...> On Thursday 26 February 2004 18:15, ron wrote: > > > Click on OK and Gambas exit total. > > > ------------------------- > > > GDM > > > Open the tree > > > In the tree right-click on a database icon and select Refresh in > > > context menu A blue bar or dotted at the moment of clicking. > > > > > > [13] Null Object > > > At: FMain.RefreshTable.222 > > > Click on OK and GambasDM exit . > > > I can't figure it out how to solve this now. > > > > I couldn't reproduce it. Could you give me more details ? > > I wil later this evening try to check exact how to reproduce it. > I'm at work now. Website programming. It did take some time but I can reproduce it. do: opend the GDM get: then GDM with a connection to my MqSQL server in tree not expanded yet do: expand the tree at the connection node. Click on the +. get: expanded with the user entry and 4 db's do: single click on a db icon. get: the back color is blue do: move the mouse to the white space below and right click for contest menu. the dark blue disapears Choose refrehs in the menu. get: the error mesage box with the above mesage in it. Note: I test the steps while writing this and right click on the selected database does the same. An other strange thing is there are two different context menu's A big one and a small one. When there is a big menu the refresh goes ok. It are sthe small menu it fails. After the refresh on the db with the long menu it is changed to a small menu Found the big one come's after the node is expanded and then collapsed State of the db is then open. So i know now to that a refresh close all open data bases to. Now I know that happens if they are not in open state (expanding the node). Sugestion is to use different icons, with red cross if not open? I found this bug after creating a db with phpMyadmin and at return in GDM it was not there. It's is not dynamic add so I clicked in the white space and try the refreh in context menu to get the update via the connection. I think a refresh on the table should do it for the db to get added tables, on the connection for the connection to get new db's. The whitespace all connections including the open db's Verify on the above and found after a new start the refresh is not closing open db's! I read the code at that line and found ~~~~~~~~ aKey = Split(Mid$(sParent, 2), "/") hConn = CConnection.Get(CServer.All[aKey[0]], aKey[1]) tvwBase[sParent].Clear IF IsNull(hConn.SystemTables) THEN RETURN '<<<<< --- error line bSystem = hConn.SystemTables.Count > 0 ~~~~~~~~~~~~~~~~~~ STATIC PUBLIC FUNCTION Get(hServer AS CServer, sName AS String) AS CConnection DIM sKey AS String DIM hConn AS CConnection sKey = hServer.Key &/ sName hConn = All[sKey] IF NOT hConn THEN hConn = NEW CConnection(hServer, sName) '<<< ----new connection ' must there not be a hConn.Open() here ???????? ENDIF RETURN hConn END Adding the open and the error is gone but the db is open. Of course a refresh should not open closed db's. I can only see a failure in the tvwBase_Menu() In case "D" $hConn = CConnection.All[Mid$(sKey, 2)] ' in All are the key's but not the state open/closed mnuCreateTable.Visible = NOT Null?($hConn) mnuRequest.Visible = NOT Null?($hConn) does not work properly. It should not look to the connection only but also that the db is open. CConnection.All[Mid$(sKey, 2)] In All are the key's but not the state open/closed. $hConn.Database[xxx].status ? I miss Connection.Status and DB.Status (Table.Status) enum Status: Closed = 0 ' the object it closed Open =1 Ready =2 ' can accept new exex command Executing =3 ' is still busy Error =4 ' has error occured Ron From gambas at ...1... Sun Feb 29 09:21:57 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 29 Feb 2004 09:21:57 +0100 Subject: [Gambas-user] Bug in 0.90 console In-Reply-To: <1078011533.9007.7.camel@...293...> References: <1077970731.5933.0.camel@...293...> <200402281953.25125.gambas@...1...> <1078011533.9007.7.camel@...293...> Message-ID: <200402290921.57486.gambas@...1...> On Sunday 29 February 2004 00:38, Coquet Olivier wrote: > fedora core 1 > qt3.2 upgrade > gnome 2.4.0 > > same thing with all commands > > ? application.version > > don't work > > ? application.version_ <====a space > work > > regards > olivier > Real men put their answer after the mail, not before (like Outlook does) :-) Could you give me the value of System.Charset and Desktop.Charset on your system ? Don't do that in the console, if it does not work :-) Just write a little program. Regards, -- Benoit Minisini mailto:gambas at ...1... From abidoo.too at ...11... Sun Feb 29 11:38:18 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Sun, 29 Feb 2004 11:38:18 +0100 Subject: [Gambas-user] I can't read it In-Reply-To: <4040F8ED.9030909@...325...> References: <4040F8ED.9030909@...325...> Message-ID: <200402291138.19072.abidoo.too@...11...> Le Samedi 28 F?vrier 2004 21:24, Pozzo a ?crit : > Hi Benoit > I've found an visual problem in gambas' welcome form and gambas' > documentation if someone use a dark theme for the desktop enviroment > which use light colors for the letters will have serious difficulty to > read the welcome form of gambas and all the documentations as you can > see in the shots. I suggest two possibles options or you let the user > change the background color or you use predefined colors also to the > text, for the documentation you have only to add this text to the body > of the pages text="#000000". > > Maurizio change your theme ! Fabien From abidoo.too at ...11... Sun Feb 29 11:39:42 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Sun, 29 Feb 2004 11:39:42 +0100 Subject: [Gambas-user] I can't read it In-Reply-To: <4040F8ED.9030909@...325...> References: <4040F8ED.9030909@...325...> Message-ID: <200402291139.42130.abidoo.too@...11...> Le Samedi 28 F?vrier 2004 21:24, Pozzo a ?crit : > Hi Benoit > I've found an visual problem in gambas' welcome form and gambas' > documentation if someone use a dark theme for the desktop enviroment > which use light colors for the letters will have serious difficulty to > read the welcome form of gambas and all the documentations as you can > see in the shots. I suggest two possibles options or you let the user > change the background color or you use predefined colors also to the > text, for the documentation you have only to add this text to the body > of the pages text="#000000". > > Maurizio I think that these page text colors must to be freeze. Fabien From mauriiiii3001 at ...325... Sun Feb 29 13:38:29 2004 From: mauriiiii3001 at ...325... (Pozzo) Date: Sun, 29 Feb 2004 13:38:29 +0100 Subject: [Gambas-user] Re: Stranges mines Message-ID: <4041DD45.6020602@...325...> here it is -------------- next part -------------- A non-text attachment was scrubbed... Name: Mine-0.0.tar.gz Type: application/gzip Size: 5473 bytes Desc: not available URL: From perrymou at ...370... Sun Feb 29 14:15:04 2004 From: perrymou at ...370... (pezz) Date: Sun, 29 Feb 2004 13:15:04 +0000 Subject: [Gambas-user] IRC, telnet etc Message-ID: <200402291315.04971.perrymou@...370...> Well, as time allows I'll be working on the IRC client. I did write a full-featured client in VB a few years ago. Presently I'm trying to remember the routine for converting long IP addresses to dotted, for initialising DCC transfers. My coding is untidy. Presently I'm using a listbox as a "buffer" for incoming data like this: PUBLIC SUB MySock_Read() DIM S AS String IF MySock.Status=Net.Connected THEN READ #MySock,S,Lof(MySock) getline(S) END IF END PRIVATE SUB getline(S AS String) intc AS Integer stra AS String strr AS String S = strr & S FOR intc = 1 TO Len(S) 'look for spaces or carriage returns in a line of received text: IF Mid(S, intc, 1) = Chr(13) OR Mid(S, intc, 1) = Chr(10) THEN stra = Mid(S, 1, intc) 'IF the data IS one complete line, add to the listbox/buffer: ListBox1.Add (stra) S = Mid(S, intc + 1) intc = 1 END IF NEXT strr = S END A parse routine under a timer then deals with text from the listbox, line by line, removing the item from the textbox once it's been parsed. If anyone knows a neater way of doing this, I'd appreciate the help (not being the most advanced Gambas coder)! Next problem is adding channel users to a listbox. On the face of it, this should be easy, as the server sends a "353", then a space, then your nick when it spits out the userlist on JOIN channel: :Elsene.Be.Eu.undernet.org 353 pezz = #london :Ortega53_ Kinisha66 costas23 Green-eye SweetBaBE tina- armo29 rechin raaajs ghost23 FiLiPiNa_ FILOLOG VENUS30 cuteguy- Alex_BSB Liezel Nikki^ DJ_GEORGE Redbull^^ NeonDemon Magda}{ fresheyes anusah53 cricrom petru3 arabgirl gypsy_22 maviyesil [Danutz] njapalona mittu peAch_ X_Tray` costin1 Dream4U DAVID^_^ Mccools HandsomeM carbunitz hello` maxx` liz oceanos L_ucy x-tazy Zephaniah Legolas{} +Jazz^ GLEE27 zafer Dan_Brazi Neha-Noor rty laura_26 Then of course, once in the channel, users joining or leaving have to be added/removed from the list. I've made a start, but there's a lot of unwanted stuff ending up in the listbox as well as users. All part of the learning curve. pezz From danielcampos at ...282... Sun Feb 29 14:24:23 2004 From: danielcampos at ...282... (Daniel Campos) Date: Sun, 29 Feb 2004 14:24:23 +0100 Subject: [Gambas-user] Wiki cleaning (1) Message-ID: <1078061063.2618.2.camel@...40...> Hi Rob: The following pages should be removed, as these constants are now part of the 'Net' class, instead of the 'Socket' class: GambasComponentNetSocketConstantCannotRead GambasComponentNetSocketConstantCannotWrite GambasComponentNetSocketConstantHostNotFound GambasComponentNetSocketConstantCannotCreateSocket GambasComponentNetSocketConstantConnectionRefused GambasComponentNetSocketConstantInactive GambasComponentNetSocketConstantSearching GambasComponentNetSocketConstantConnecting GambasComponentNetSocketConstantConnected As I'm updating 'Net' documentation, I will provide you more obsolete links while I find them doing this job. Regards, Daniel Campos -- Daniel Campos From sourceforge-raindog2 at ...94... Sun Feb 29 14:40:31 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 29 Feb 2004 08:40:31 -0500 Subject: [Gambas-user] Wiki cleaning (1) In-Reply-To: <1078061063.2618.2.camel@...40...> References: <1078061063.2618.2.camel@...40...> Message-ID: <200402290840.31856.sourceforge-raindog2@...94...> On Sunday 29 February 2004 08:24, Daniel Campos wrote: > The following pages should be removed, as these constants are > now part of the 'Net' class, instead of the 'Socket' class: Thanks, I haven't come up with a good automated way to find and remove obsolete pages without removing valid ones yet. Rob From daniel.campos at ...338... Sun Feb 29 14:45:37 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Sun, 29 Feb 2004 14:45:37 +0100 Subject: [Gambas-user] IRC, telnet etc In-Reply-To: <200402291315.04971.perrymou@...370...> References: <200402291315.04971.perrymou@...370...> Message-ID: <1078062337.3014.15.camel@...40...> > > PUBLIC SUB MySock_Read() > > DIM S AS String > IF MySock.Status=Net.Connected THEN > READ #MySock,S,Lof(MySock) > getline(S) > END IF > END > > PRIVATE SUB getline(S AS String) > intc AS Integer > stra AS String > strr AS String > > S = strr & S > FOR intc = 1 TO Len(S) > 'look for spaces or carriage returns in a line of received text: > IF Mid(S, intc, 1) = Chr(13) OR Mid(S, intc, 1) = Chr(10) THEN > stra = Mid(S, 1, intc) > 'IF the data IS one complete line, add to the listbox/buffer: > ListBox1.Add (stra) > S = Mid(S, intc + 1) > intc = 1 > END IF > NEXT > strr = S > > END > Well, to find a complete line wasting less resources, you could use Peek() method, which reads data from socket, but keeping it in the buffer for the next time: PUBLIC SUB MySock_Read() DIM S As String IF MySock.Status=Net.Connected THEN S=MySock.Peek() ' We read current buffer ' If there's a carry return... IF INSTR(S,Chr(13)) or INSTR(S,Chr(10)) THEN ' we read just the line, keeping the ' rest in the buffer LINE INPUT #MySock,S getline(S) ' you don't have to test Chr(13) again ' in getline() END IF END IF END You could also add a routine to test the lenght of the buffer, to discard it if it is too long (to prevent your program of beeing crashed by a malicious IRC hacker, for instance) Regards, Daniel Campos From abidoo.too at ...11... Sun Feb 29 15:02:27 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Sun, 29 Feb 2004 15:02:27 +0100 Subject: [Gambas-user] Re: Stranges mines In-Reply-To: <4041DD45.6020602@...325...> References: <4041DD45.6020602@...325...> Message-ID: <200402291502.27944.abidoo.too@...11...> Le Dimanche 29 F?vrier 2004 13:38, Pozzo a ?crit : > here it is ....hum!..... use picturebox.border property in place of your buttons.... it don't change with the desktop th?me. Fabien From nigel at ...38... Sun Feb 29 15:29:15 2004 From: nigel at ...38... (Nigel Gerrard) Date: Sun, 29 Feb 2004 14:29:15 -0000 Subject: [Gambas-user] Mysql create table patch for 0.90 Message-ID: <001701c3fed0$6ac95d20$79874c51@...360...> Guys, I have just found a problem when trying to create a mysql table with the mysql driver released in 0.90. Attached is a patch that resolves it, to apply change to ../gambas0.90/src/lib/db/mysql and apply the diff file: patch main.c mysql.main.c.diff Then compile: make and make install. Nigel -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: mysql.main.c.diff Type: application/octet-stream Size: 127 bytes Desc: not available URL: From perrymou at ...370... Sun Feb 29 22:26:05 2004 From: perrymou at ...370... (pezz) Date: Sun, 29 Feb 2004 21:26:05 +0000 Subject: [Gambas-user] IRC, telnet etc Message-ID: <200402292126.05662.perrymou@...370...> >Well, to find a complete line wasting less resources, you could use >Peek() method, which reads data from socket, but keeping it in the >buffer for the next time: > >PUBLIC SUB MySock_Read() > > DIM S As String > IF MySock.Status=Net.Connected THEN > S=MySock.Peek() ' We read current buffer > ' If there's a carry return... > IF INSTR(S,Chr(13)) or INSTR(S,Chr(10)) THEN > ' we read just the line, keeping the > ' rest in the buffer > LINE INPUT #MySock,S > getline(S) > ' you don't have to test Chr(13) again > ' in getline() > END IF > END IF >END > >You could also add a routine to test the lenght of the buffer, to >discard it if it is too long (to prevent your program of beeing crashed >by a malicious IRC hacker, for instance) > >Regards, > >Daniel Campos That's neat Daniel, thanks. Idea: Gambas channel on IRC? pezz From sourceforge-raindog2 at ...94... Sun Feb 29 23:46:07 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 29 Feb 2004 17:46:07 -0500 Subject: [Gambas-user] gambas documentation update Message-ID: <200402291746.07111.sourceforge-raindog2@...94...> The wiki is current to 0.90 now, and I have made all of Benoit's last round of change requests except three. You can see my whole list including what I did in this last round of changes at: http://www.binara.com/gambas-wiki/bin/view/Gambas/WikiExportTodoList 1) hidden methods: "I was not clear for the _new, _get & _set method: create a page GambasComponent...new as you did, but just put a link to it in the class page: something like:..." I see what you're getting at, but I haven't been creating new, get or set pages since sometime in the 0.70 series if I remember right. I never made them intentionally to begin with, since the instantiation syntax needs to be on the main class page and _get/_set are supposed to be invisible to the user. 2) automatic or assisted translation: I intend to remove all the non-English wikis that haven't had any activity since 0.80 or so. Then, after you okay the wiki in its present form (or after any subsequent rounds of changes) I will re-export the GambasFrancais wiki and set up the script we talked about to mark pages as "TranslationNeeded" and potentially fetch a machine-translated version to provide a starting point for translators. I can't really do that till you give the English wiki your blessing, though, so I can base the French wiki on it. 3) "Is it possible to insert the class name in symbol page titles?" Possible? Yeah, sure. Possible before the next Gambas release? Not likely. :) The symbol page titles are in the shell document, not the exported document, so I will need to sed all the symbol pages on the server while being careful not to touch the class or component pages. I wouldn't even know where to begin right now, but I recognize it'll need to be done eventually. Rob