From budi at ...415... Mon Nov 1 04:59:34 2004 From: budi at ...415... (BUDI ARIEF GUSANDI) Date: Mon, 1 Nov 2004 10:59:34 +0700 Subject: [Gambas-user] Financial support of Gambas In-Reply-To: <200410311647.22527.gambas@...1...> References: <200410301928.49695.gambas@...1...> <200410301407.45023.sourceforge-raindog2@...94...> <4183EE1B.8030500@...9...> <200410311647.22527.gambas@...1...> Message-ID: <816570563.20041101105934@...415...> Also dont forget the Dollar Icon on the "Donate" Menu item ;) Unless euro will be used. Budi > On Saturday 30 October 2004 21:40, Charlie wrote: >> Rob schrieb: >> >On Saturday 30 October 2004 13:28, Benoit Minisini wrote: >> >>More seriously, I opened a PayPal account for Gambas so that >> >>people that can't help by writing programs, examples, docs, >> >>... can support the project by giving a little bit of money. >> > >> >Once you know it works, you should make sure to put a "Donate" >> >link in the left frame of the Gambas homepage... I bet 10 times >> >as many people visit the homepage than use these lists. >> > >> >Rob >> Salut, >> and a 'Donate' in the IDE , don't know where, under Help ;-) a 'Help us'. >> No serious, I think thats not bad, for all who install it with the distro. >> Amicalment >> Charlie > Good idea, I do it. -- Best regards, BUDI mailto:budi at ...415... -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...1... Mon Nov 1 14:22:17 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 1 Nov 2004 14:22:17 +0100 Subject: [Gambas-user] BUG in 0.99 RC1 In-Reply-To: <200410312243.49888.ronstk@...239...> References: <200410312137.36652.gambasfr@...11...> <200410312243.49888.ronstk@...239...> Message-ID: <200411011422.17510.gambas@...1...> On Sunday 31 October 2004 22:43, Ron Onstenk wrote: > 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]) > > GB_COMPONENT( > sqlite, > SQLITE, > [SQLite driver], > [GB_FIND(sqlite.h, /usr/lib /usr/local /opt /usr, include > sqlite*/include)], [GB_FIND(libsqlite.$SHLIBEXT, /usr/local /opt /usr, lib > sqlite*/lib)], [$C_LIB -lsqlite -lc -lstdc++]) > > 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 -lm], > [$THREAD_INC]) > > > > As you can see in the SDL component the /usr/local is the first and then > /usr This is also the case for the CONV, INTL and I did for CURL and XML > libraries for previous relase. > > Thanks to this behaviour my SuSE box is using for the precompiled rpm's the > version SuSE has used for system build from /usr/lib. > Yast depends on it for CURL using the distributed libraries. > > I did install my own updated CURL version for the NET component with > --prefix=/usr/local Now my correct versions for new projects are using the > new one. > Old SuSE rpms using the the old in /usr , same for XML. > > Conflicts in the past where I did not use the --prefix=/usr/local had > broken parts of my system. When I'm right it should do this also for MYSQL > and SQLLITE ???? > I mean checking for overide by new versions in /usr/local before using > /usr. > > I think the lines must be changed from > [GB_FIND(mysql.h my_config.h, /usr/lib /usr/local /opt /usr, include > mysql*/include)], to > [GB_FIND(mysql.h my_config.h, /usr/local/lib /usr/lib /opt /usr, include > mysql*/include)], > > and > [GB_FIND(sqlite.h, /usr/lib /usr/local /opt /usr, include > sqlite*/include)], to > [GB_FIND(sqlite.h, /usr/local/lib /usr/lib /opt /usr, include > sqlite*/include)], > > For both also is it need the /lib for the first two, the others don't have > it. I assume the order for the locations to look is first fit. > > Correct me if I'm wrong. > > For the line [GB_FIND(mysql.h my_config.h, /usr/local/lib > Is it correct to assume in this line 'mysql.h' AND 'my_config.h' must be > found or should be one of them be found as 'mysql.h' OR 'my_config.h' ? > > @Fabian: > I checked sqlite is on my box. I do not have it but also not seen a error > about it. My compile was './configure ; make ; make install' and nothing > else, I love it :) (has been a disaster in the past with curl, you > remember?) > > Ron > Here is what I fixed, tell me if it is correct: 1) I put /usr/local before /usr in every "include search" GB_FIND() 2) I added /usr/local/lib and /usr/lib in every "include search" GB_FIND(). Normally, include files should never be put in a lib directory, but there are exceptions (like qt on Mandrake). I think distribution makers never solved the problem of installing different development packages of the same library... Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Mon Nov 1 14:25:40 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 1 Nov 2004 14:25:40 +0100 Subject: [Gambas-user] Financial support of Gambas In-Reply-To: <200410302123.04206.leo.barnhoorn@...246...> References: <200410301928.49695.gambas@...1...> <200410302123.04206.leo.barnhoorn@...246...> Message-ID: <200411011425.40168.gambas@...1...> On Saturday 30 October 2004 21:23, Leo Barnhoorn wrote: > Hello Benoit, > > Do you have also a PayPal page in english. > > Regards, > Leo. > Even if I set my language to english in my PayPal profile, it seems that the page displayed when you want to make a gift is always in french ?? If someone can help me to turn this page in english... Regards, -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Mon Nov 1 16:03:33 2004 From: ronstk at ...239... (Ron Onstenk) Date: Mon, 1 Nov 2004 16:03:33 +0100 Subject: [Gambas-user] BUG in 0.99 RC1 In-Reply-To: <200411011422.17510.gambas@...1...> References: <200410312137.36652.gambasfr@...11...> <200410312243.49888.ronstk@...239...> <200411011422.17510.gambas@...1...> Message-ID: <200411011603.33569.ronstk@...239...> On Monday 01 November 2004 14:22, Benoit Minisini wrote: --8<-------- > > > > Ron > > > > Here is what I fixed, tell me if it is correct: > > 1) I put /usr/local before /usr in every "include search" GB_FIND() > I think yes, the curl component had it and I could solve the problem by that way with the --prefix for the version needed. SuSE also did not like the xml was updated other then they provide. The same kind of problems was solved the same way. Your change tells me that my suggestion makes sense. You are the professional compared to me. :=) > 2) I added /usr/local/lib and /usr/lib in every "include search" GB_FIND(). > > Normally, include files should never be put in a lib directory, but there are > exceptions (like qt on Mandrake). > Mandrake is not the only one, SuSE 8.2 also. It make sense to me the /usr/lib and /usr/include are world wide for the distro the same. This way they know it is working if they distribute the precompiled binaries. For the system admin there is a local situation and different for every box but same disto. That makes sense for existing of the /usr/local. A kind of basic path i.e. as /bin, /lib, /etc, /tmp, /var is repeated in /usr, and also in /usr/local. It sound logic to me if the system admin wants or need a higher version for libraries they can have the place in /usr/local/lib and the includes in /usr/local/includes. This way they will not conflict with the precompiled programs for the distro. What QT is doing on mandrake is the same on SuSE. it is installed in /usr/lib/qt3. In a case I did try to compile a program it was looking for /usr/lib/qt so I made a symlink, I found also requests for /usr/lib/qt-3.1 once. I think this is dependend on the distributor compiling QT for for distro. QT however seems to use the /usr/lib/qt3 as base for there own root and I see the basic directory tree of /bin, /etc, /lib, /include here to for SuSE. /usr/lib/qt3/bin, /usr/lib/qt3/etc, /usr/lib/qt3/include and /usr/lib/qt3/lib > I think distribution makers never solved the problem of installing different > development packages of the same library... > > Regards, > > Benoit Me was told in the past that it was just the _power_ of linux it's able to do it. The programs could use different ones opposite of the windows system dll's. The reason of the existenc of mylib.so.6, mylib.so.6.1, mylib.so.6.2 and mylib.so.5.3 It is the programmer that can say it wants the 6.1 version, but never does. Greets Ron p.s. I have 20 untranslated entries of the 579 (96% done) ATM. Fabrice will proofreading of it but has no time to do the job anymore. He will also look in the Dutch KDE i18n group for check assistance for me. From ronstk at ...239... Mon Nov 1 16:06:58 2004 From: ronstk at ...239... (Ron Onstenk) Date: Mon, 1 Nov 2004 16:06:58 +0100 Subject: [Gambas-user] Financial support of Gambas In-Reply-To: <200411011425.40168.gambas@...1...> References: <200410301928.49695.gambas@...1...> <200410302123.04206.leo.barnhoorn@...246...> <200411011425.40168.gambas@...1...> Message-ID: <200411011606.58082.ronstk@...239...> On Monday 01 November 2004 14:25, Benoit Minisini wrote: > On Saturday 30 October 2004 21:23, Leo Barnhoorn wrote: > > Hello Benoit, > > > > Do you have also a PayPal page in english. > > > > Regards, > > Leo. > > > > Even if I set my language to english in my PayPal profile, it seems that the > page displayed when you want to make a gift is always in french ?? > > If someone can help me to turn this page in english... > > Regards, > onder de volgend teks is een drop down box 'S?lectionner votre pays : choisissez le pays o? vous r?sidez, puis cliquez sur S?lectionner.' Daar kun je 'Pays Bas' kiezen. Dan is hij in het engels voor de nederlandse site :) Hebben nog een vertaler nodig. Ron From igor.furlan at ...626... Mon Nov 1 17:04:48 2004 From: igor.furlan at ...626... (Primorec) Date: Mon, 1 Nov 2004 09:04:48 -0700 Subject: [Gambas-user] BUG in 0.99 RC1 In-Reply-To: <200411011603.33569.ronstk@...239...> References: <200410312137.36652.gambasfr@...11...> <200410312243.49888.ronstk@...239...> <200411011422.17510.gambas@...1...> <200411011603.33569.ronstk@...239...> Message-ID: <54728e74041101080429d75f0@...627...> I was able to compile and use "gambas" on RH8 with very outdated QT, CURL,LIBXML. So, I've downloaded offending packages, compiled them and put them into /usr/local. Because of that my .login file is slightly modified. Everything works fine. .......... my .login file ............... setenv QTDIR /usr/local/qt setenv PATH $QTDIR/bin:$PATH setenv LD_LIBRARY_PATH $QTDIR/lib .......... end of my .login file ........ My $PATH looks like this /usr/local/qt/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin $LD_LIBRARY_PATH looks like this: /usr/local/qt/lib QT 3.3.3 is installed here /usr/local/qt-x11-free-3.3.3 There is a symbolic link too ln -s /usr/local/qt-x11-free-3.3.3 /usr/local/qt "gambas" starts and it seems to work. Igor P.S.: I do not know if everything works well... all I know that I can start "gambas", open example project, copy example project, start new project... More than that I do not know how to test. DISCLAIMER: I do not know how to use "basic"... never use it therefore my info could have less value. On Mon, 1 Nov 2004 16:03:33 +0100, Ron Onstenk wrote: > On Monday 01 November 2004 14:22, Benoit Minisini wrote: > > --8<-------- > > > > > > > Ron > > > > > > > Here is what I fixed, tell me if it is correct: > > > > 1) I put /usr/local before /usr in every "include search" GB_FIND() > > > I think yes, the curl component had it and I could solve the problem by > that way with the --prefix for the version needed. > SuSE also did not like the xml was updated other then they provide. > The same kind of problems was solved the same way. > Your change tells me that my suggestion makes sense. > You are the professional compared to me. :=) > > > 2) I added /usr/local/lib and /usr/lib in every "include search" GB_FIND(). > > > > Normally, include files should never be put in a lib directory, but there are > > exceptions (like qt on Mandrake). > > > Mandrake is not the only one, SuSE 8.2 also. > > It make sense to me the /usr/lib and /usr/include are world wide for the distro the same. > This way they know it is working if they distribute the precompiled binaries. > > For the system admin there is a local situation and different for every > box but same disto. That makes sense for existing of the /usr/local. > A kind of basic path i.e. as /bin, /lib, /etc, /tmp, /var is repeated in /usr, > and also in /usr/local. > > It sound logic to me if the system admin wants or need a higher version for libraries > they can have the place in /usr/local/lib and the includes in /usr/local/includes. > This way they will not conflict with the precompiled programs for the distro. > > What QT is doing on mandrake is the same on SuSE. it is installed in /usr/lib/qt3. > In a case I did try to compile a program it was looking for /usr/lib/qt so I made > a symlink, I found also requests for /usr/lib/qt-3.1 once. > I think this is dependend on the distributor compiling QT for for distro. > > QT however seems to use the /usr/lib/qt3 as base for there own root and I > see the basic directory tree of /bin, /etc, /lib, /include here to for SuSE. > /usr/lib/qt3/bin, /usr/lib/qt3/etc, /usr/lib/qt3/include and /usr/lib/qt3/lib > > > I think distribution makers never solved the problem of installing different > > development packages of the same library... > > > > Regards, > > > > Benoit > > Me was told in the past that it was just the _power_ of linux it's able to do it. > The programs could use different ones opposite of the windows system dll's. > The reason of the existenc of mylib.so.6, mylib.so.6.1, mylib.so.6.2 and mylib.so.5.3 > It is the programmer that can say it wants the 6.1 version, but never does. > > Greets Ron > > p.s. I have 20 untranslated entries of the 579 (96% done) ATM. > Fabrice will proofreading of it but has no time to do the job anymore. > He will also look in the Dutch KDE i18n group for check assistance for me. > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From michael at ...558... Mon Nov 1 17:37:34 2004 From: michael at ...558... (Michael Sullivan) Date: Mon, 01 Nov 2004 10:37:34 -0600 Subject: [Gambas-user] Port to Qt C++ In-Reply-To: References: Message-ID: <1099327054.6507.4.camel@...559...> Gambas uses the Qt library, right? Is it possible to port my Gambas project to Qt and recompile it with GCC? My project is finished and I used the option in the Gambas IDE to make it into an executable, but the executable won't run unless Gambas is installed. I want it to be able to run with only the executable file and not need the Gambas environment to support it. Is this possible? From sourceforge-raindog2 at ...94... Mon Nov 1 19:43:48 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 1 Nov 2004 14:43:48 -0400 Subject: [Gambas-user] Port to Qt C++ In-Reply-To: <1099327054.6507.4.camel@...559...> References: <1099327054.6507.4.camel@...559...> Message-ID: <200411011343.48204.sourceforge-raindog2@...94...> On Monday 01 November 2004 11:37, Michael Sullivan wrote: > Gambas uses the Qt library, right? Is it possible to port my > Gambas project to Qt and recompile it with GCC? My project is > finished and I used the option in the Gambas IDE to make it > into an executable, but the executable won't run unless Gambas > is installed. I want it to be able to run with only the > executable file and not need the Gambas environment to support > it. Is this possible? It should in theory be possible to build a statically linked version of gbx (statically linked with the component files, not with all the libraries they depend on unless you want a 100mb executable...) and attach a compiled project to it somehow, but as far as I know no one's tried this yet. And naturally, nothing's stopping you from porting your gambas project to C++/Qt, but this will be as arduous as porting from any other OO language to C++, more or less. You also aren't using the raw Qt interface in gambas, so your code will become somewhat more complex in C++. I would like to see the former solution come to exist, but I don't know how to go about doing it myself. Rob From leo.barnhoorn at ...246... Mon Nov 1 20:22:28 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Mon, 1 Nov 2004 21:22:28 +0200 Subject: [Gambas-user] Update Read header and tag from MP3 file. Message-ID: <200411012022.28764.leo.barnhoorn@...246...> Hello All, Here a update of Read header and tag from MP3 file. This is version 0.03 Now all header fields are there. And a bug is fixed in show the track. Take a look at the screenshot. Have fun. Regards, Leo Barnhoorn. -------------- next part -------------- A non-text attachment was scrubbed... Name: MP3HeaderTag-0.0.3.tar.gz Type: application/x-tgz Size: 62974 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: MP3HeaderTag.png Type: image/png Size: 57933 bytes Desc: not available URL: From webmaster at ...664... Mon Nov 1 21:01:06 2004 From: webmaster at ...664... (webmaster at ...664...) Date: Mon, 1 Nov 2004 20:01:06 +0000 Subject: [Gambas-user] Collections bug? Referencing from variable. Message-ID: Hey all - Quite an annoying little problem. It seems I can't access an element in a collection from a index stored in a variable. This code sample probably isn't accurate, i'm just typing it into my mail client... Function Test (VarIndex as integer) as string Return MyCollection[VarIndex] End Function You get the idea what I want to do? While im here, is there anything in gambas that behaves like ADO recordsets? Just something that gives the ability of a multidimensional array with searching? Thanks From leo.barnhoorn at ...246... Tue Nov 2 03:41:35 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Tue, 2 Nov 2004 03:41:35 +0100 Subject: [Gambas-user] Financial support of Gambas In-Reply-To: <200411011606.58082.ronstk@...239...> References: <200410301928.49695.gambas@...1...> <200411011425.40168.gambas@...1...> <200411011606.58082.ronstk@...239...> Message-ID: <200411020341.35871.leo.barnhoorn@...246...> Hello Ron, Bedankt, het is al geregeld, betaling is gedaan. Met vriendelijke groeten, Leo. On Monday 01 November 2004 16:06, Ron Onstenk wrote: > On Monday 01 November 2004 14:25, Benoit Minisini wrote: > > On Saturday 30 October 2004 21:23, Leo Barnhoorn wrote: > > > Hello Benoit, > > > > > > Do you have also a PayPal page in english. > > > > > > Regards, > > > Leo. > > > > Even if I set my language to english in my PayPal profile, it seems that > > the page displayed when you want to make a gift is always in french ?? > > > > If someone can help me to turn this page in english... > > > > Regards, > > onder de volgend teks is een drop down box > 'S?lectionner votre pays : choisissez le pays o? vous r?sidez, puis cliquez > sur S?lectionner.' Daar kun je 'Pays Bas' kiezen. > > Dan is hij in het engels voor de nederlandse site :) > Hebben nog een vertaler nodig. > > Ron > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id065&op? > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From jredrejo at ...96... Tue Nov 2 11:08:46 2004 From: jredrejo at ...96... (=?ISO-8859-1?Q?Jos=E9?= L. Redrejo =?ISO-8859-1?Q?Rodr=EDguez?=) Date: Tue, 02 Nov 2004 11:08:46 +0100 Subject: [Gambas-user] Gambas in Debian Message-ID: <1099390126.6866.8.camel@...641...> Finally, after a long, long waiting time. ftp-masters in Debian have accpeted gambas packages, so , probably today, it will be available for sid users and if no release bugs avoid it, in ten days the packages will land in Sarge. Regards El mar, 02-11-2004 a las 05:43, Debian Installer escribi?: > Accepted: > gambas-doc_0.99-1_all.deb > to pool/main/g/gambas/gambas-doc_0.99-1_all.deb > gambas-gb-compress_0.99-1_i386.deb > to pool/main/g/gambas/gambas-gb-compress_0.99-1_i386.deb > gambas-gb-db-mysql_0.99-1_i386.deb > to pool/main/g/gambas/gambas-gb-db-mysql_0.99-1_i386.deb > gambas-gb-db-postgresql_0.99-1_i386.deb > to pool/main/g/gambas/gambas-gb-db-postgresql_0.99-1_i386.deb > gambas-gb-db-sqlite_0.99-1_i386.deb > to pool/main/g/gambas/gambas-gb-db-sqlite_0.99-1_i386.deb > gambas-gb-db_0.99-1_i386.deb > to pool/main/g/gambas/gambas-gb-db_0.99-1_i386.deb > gambas-gb-debug_0.99-1_i386.deb > to pool/main/g/gambas/gambas-gb-debug_0.99-1_i386.deb > gambas-gb-eval_0.99-1_i386.deb > to pool/main/g/gambas/gambas-gb-eval_0.99-1_i386.deb > gambas-gb-net-curl_0.99-1_i386.deb > to pool/main/g/gambas/gambas-gb-net-curl_0.99-1_i386.deb > gambas-gb-net_0.99-1_i386.deb > to pool/main/g/gambas/gambas-gb-net_0.99-1_i386.deb > gambas-gb-qt-editor_0.99-1_i386.deb > to pool/main/g/gambas/gambas-gb-qt-editor_0.99-1_i386.deb > gambas-gb-qt-ext_0.99-1_i386.deb > to pool/main/g/gambas/gambas-gb-qt-ext_0.99-1_i386.deb > gambas-gb-qt-kde-html_0.99-1_i386.deb > to pool/main/g/gambas/gambas-gb-qt-kde-html_0.99-1_i386.deb > gambas-gb-qt-kde_0.99-1_i386.deb > to pool/main/g/gambas/gambas-gb-qt-kde_0.99-1_i386.deb > gambas-gb-qt_0.99-1_i386.deb > to pool/main/g/gambas/gambas-gb-qt_0.99-1_i386.deb > gambas-gb-sdl_0.99-1_i386.deb > to pool/main/g/gambas/gambas-gb-sdl_0.99-1_i386.deb > gambas-gb-vb_0.99-1_i386.deb > to pool/main/g/gambas/gambas-gb-vb_0.99-1_i386.deb > gambas-runtime_0.99-1_i386.deb > to pool/main/g/gambas/gambas-runtime_0.99-1_i386.deb > gambas_0.99-1.diff.gz > to pool/main/g/gambas/gambas_0.99-1.diff.gz > gambas_0.99-1.dsc > to pool/main/g/gambas/gambas_0.99-1.dsc > gambas_0.99-1_i386.deb > to pool/main/g/gambas/gambas_0.99-1_i386.deb > gambas_0.99.orig.tar.gz > to pool/main/g/gambas/gambas_0.99.orig.tar.gz > Announcing to debian-devel-changes at ...666... > Closing bugs: 225159 > > > Thank you for your contribution to Debian. From grahame at ...457... Tue Nov 2 11:22:55 2004 From: grahame at ...457... (Grahame White) Date: Tue, 2 Nov 2004 11:22:55 +0100 Subject: [Gambas-user] Gambas in Debian In-Reply-To: <1099390126.6866.8.camel@...641...> References: <1099390126.6866.8.camel@...641...> Message-ID: <200411021022.55594.grahame@...457...> On Tuesday 02 November 2004 10:08, Jos? L. Redrejo Rodr?guez wrote: > Finally, after a long, long waiting time. ftp-masters in Debian have > accpeted gambas packages, so , probably today, it will be available for > sid users and if no release bugs avoid it, in ten days the packages will > land in Sarge. > Regards *cheers* Grahame From kungfoobar at ...626... Tue Nov 2 17:18:09 2004 From: kungfoobar at ...626... (Alberto Torres) Date: Tue, 2 Nov 2004 17:18:09 +0100 Subject: [Gambas-user] Collections bug? Referencing from variable. In-Reply-To: References: Message-ID: Note that collection key is a string, and the value stored in collections are variant. Please be more specific and tell us the error gambas returns. On Mon, 1 Nov 2004 20:01:06 +0000, webmaster at ...664... wrote: > Hey all - Quite an annoying little problem. It seems I can't access an element > in a collection from a index stored in a variable. > > This code sample probably isn't accurate, i'm just typing it into my mail > client... > > Function Test (VarIndex as integer) as string > Return MyCollection[VarIndex] > End Function > > You get the idea what I want to do? -- DiThi JID: dithi at ...646... From eilert-sprachen at ...221... Tue Nov 2 17:55:36 2004 From: eilert-sprachen at ...221... (Eilert) Date: Tue, 02 Nov 2004 17:55:36 +0100 Subject: [Gambas-user] Still problems with IDE windows In-Reply-To: <200410301634.33769.gambas@...1...> References: <417F44B1.3070506@...221...> <200410281029.52175.gambas@...1...> <4181E314.8010304@...221...> <200410301634.33769.gambas@...1...> Message-ID: <4187BC08.5050504@...221...> Hi Benoit, Thanks for your help until here, > Everything is installed in the gambas installation directory, except the > symbolic links in /usr/bin: /usr/bin/gb? and /usr/bin/gambas > > So you can use "make uninstall" to uninstall from the source directory you > used to compile gambas, or you can remove the symbolic links by hand, remove > the gambas installation directory, and then recompile any source package from > scratch. > but before I really try to uninstall , here is one more idea about what might have happened: There is e. g. one program on the server I made with Gambas (for the students). There is another program I made with Gambas just for me. Both were "compiled" and stored on the server so you can start them by clicking on an icon, the first one is public, the other one just for me. This second program just for me, I fixed to a certain screen and position for me (right-click on the window title and "save window position"). The students' program runs without problems on THEIR screens, but the same program has problems on MY screen. It is possible that from the moment I stored the window position of my own program all Gambas programs I start expect to be fixed to a position - and they read it from the last window in Gambas closed the time before. I just don't remember when this effect came up: after I stored the window position or after I installed RC1. This seems not to affect the other users on the server! This afternoon, I played around with it a bit and found that the Gambas IDE starts at the screen and in exactly the same position I stopped my own program (the one with the window position stored). When I force the Gambas windows back to another screen and start them, they open at positions of other Gambas programs. When I close Gambas and start my little program again, it will open at the position and size of the last Gambas window but on the correct screen. Maybe this is of some help. By the way, should be continue this by pm or copy it to the mailing list? Rolf From Wsouzap at ...87... Tue Nov 2 19:22:36 2004 From: Wsouzap at ...87... (Wsouzap at ...87...) Date: Tue, 02 Nov 2004 13:22:36 -0500 Subject: [Gambas-user] Howto move a textbox over the column of the columnview control? Message-ID: <1a6.2a8cc69f.2eb92a6c@...87...> MIME-Version: 1.0 Message-ID: <71B0146C.03A923E6.001B903D at ...87...> X-Mailer: Atlas Mailer 2.0 X-AOL-IP: 200.141.87.133 X-AOL-Language: portuguese Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi! Howto move a textbox over the column of the columnview control? I look the gambas IDE project in property form and the control is gridview. I'm need this effect in columnview control. Reguards, Wellington From Karl.Reinl at ...9... Tue Nov 2 19:40:49 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Tue, 2 Nov 2004 19:40:49 +0100 Subject: [Gambas-user] PayPal Link at http://gambas.sourceforge.net/ Message-ID: <200411021940.49425.Karl.Reinl@...9...> Salut, PayPal Link at http://gambas.sourceforge.net/ is broken. Amicalment Charlie From Karl.Reinl at ...9... Tue Nov 2 20:00:20 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Tue, 2 Nov 2004 20:00:20 +0100 Subject: [Gambas-user] new form from existing Message-ID: <200411022000.20419.Karl.Reinl@...9...> Salut, If you create a new form from an existing form ( in the IDE ) the pictures are not copied with. Thats not realy importent, but not nice, because if you open the form you will see the pictures, but not if you run it (F5). Amicalement Charlie From ronstk at ...239... Tue Nov 2 22:53:10 2004 From: ronstk at ...239... (Ron Onstenk) Date: Tue, 2 Nov 2004 22:53:10 +0100 Subject: [Gambas-user] Howto move a textbox over the column of the columnview control? In-Reply-To: <1a6.2a8cc69f.2eb92a6c@...87...> References: <1a6.2a8cc69f.2eb92a6c@...87...> Message-ID: <200411022253.10352.ronstk@...239...> On Tuesday 02 November 2004 19:22, Wsouzap at ...87... wrote: > MIME-Version: 1.0 > Message-ID: <71B0146C.03A923E6.001B903D at ...87...> > X-Mailer: Atlas Mailer 2.0 > X-AOL-IP: 200.141.87.133 > X-AOL-Language: portuguese > Content-Type: text/plain; charset=iso-8859-1 > Content-Transfer-Encoding: 8bit > > Hi! > > Howto move a textbox over the column of the columnview control? > I look the gambas IDE project in property form and the control is gridview. I'm need this effect in columnview control. > > Reguards, > > Wellington > I did it with tableview but columnview is more or less the same, in fact the code is developed with it. This code are part of a program I made and will not be complete or run for you situation but it is the global way/idea to help you. On the click or double click you get the row and column numbers Basic then you call subroutine 'FldInput_DoPosit(row AS Integer,col AS Integer)' After that is done you call a subroutine 'FldInput_DoFill(row AS Integer)' to fill the control with data. In your case only the textbox Set the control visible with FldInput_DoShowit(typ AS Integer)' where typ in my case is the actual row also. In my case the control changes for the row it is on may be you want the column instead, same method to get the data and fill '----------------------------------------------------------- PRIVATE SUB FldInput_DoPosit(row AS Integer,col AS Integer) DIM x AS Integer DIM y AS Integer DIM h AS Integer DIM w AS Integer DIM i AS Integer DIM obj AS Object obj=tableview1 '<--------- set to your columnview currow=row '<---- global in module/class curcol=col x=obj.current.left '<-- get position actual col/row x=x+obj.left w=obj.current.width IF obj.Border THEN x=x+1 y=obj.current.top y=y+obj.top h=obj.current.height IF obj.Border THEN y=y+1 ' i use combobox/textbox/checkbox/button etc cbx.Clear ' <---i use combobox cbx.Move(x,y,w,h-1) TextBox1.Text="" TextBox1.Move(x, y, w - btnProperty.W, h-2) WITH btnProperty .Move(x + w - .w ,y , 20, h-2) END WITH WITH chkVis .Move (x + (w - .w)/2 , y + (h - .h)/2) END WITH WITH tableview1 IF currow<.rows.count AND curcol<.columns.count THEN .MoveTo(currow,curcol) ENDIF END WITH END ************************ the values enXXX are in real row positions PUBLIC SUB FldInput_DoShowit(typ AS Integer) TextArea2.visible=FALSE TextBox1.Visible =FALSE cbx.Visible =FALSE chkVis.Visible =FALSE btnProperty.Visible =FALSE IF typ=enOFF THEN RETURN IF typ=enVIS THEN chkVis.Visible = TRUE chkvis.raise() chkVis.Setfocus() ELSE IF (typ<>enAS AND typ<>enWHR AND typ to < cbx.Visible = TRUE cbx.readonly=TRUE 'ne change event cbx.raise() cbx.Setfocus() 'keysend "F4" to open list part ENDIF IF (typ=enAS OR typ=enWHR OR typ>=enOR) THEN ' OR typ>enOR btnProperty.Visible = TRUE TextBox1.Visible = TRUE TextBox1.Raise() TextBox1.Setfocus() ENDIF ENDIF END *********************************************************** * The events fired on the temporary visible control * (some debug code still in there) *********************************************************** PUBLIC SUB TextBox1_LostFocus() PRINT "TextBox1_LostFocus" PRINT "key",Key.Code,Key.Shift PRINT "ms",Key.Code,Key.Shift CATCH FldInput_Changed(TextBox1.Text) END PUBLIC SUB TextBox1_Change() FldInput_Changed(TextBox1.Text) END PUBLIC SUB ComboBox1_Activate() 'Raised when the RETURN key is hit in the text box 'can not if readonly PRINT "ComboBox1_Activate(" FldInput_Changed(ComboBox1.Text) END PUBLIC SUB ComboBox1_Change() 'Raised when the text in the combo box is modified 'not if readonly PRINT "ComboBox1_Change(" FldInput_Changed(ComboBox1.Text) END PUBLIC SUB ComboBox1_Click() 'Raised when an element is selected in the popup list box ' if readonly and ?? PRINT "ComboBox1_Click" FldInput_Changed(ComboBox1.Current.Text) END PUBLIC SUB chkVis_Click() IF chkVIS.Value=0 THEN FldInput_Changed("No") ELSE FldInput_Changed("Yes") ENDIF END ******************************************** * here you should put the value in your columnview * my case the tableview source array ******************************************** PRIVATE SUB FldInput_Changed(txt AS String) IF NOT cbxDoChange THEN RETURN PRINT "FldInput_Changed",txt IF curcol<0 OR currow<0 THEN RETURN 'failsafe vArrSQL[curcol][currow]=txt tableview1.refresh(currow,curcol) END ******************************************** PRIVATE SUB FldInput_DoFill(row AS Integer) DIM typ AS String DIM i AS Integer DIM coldat AS String[] 'Variant[]' DIM stblfld AS String[] DIM col AS Integer col=curcol IF row<0 OR col<0 THEN RETURN ' failsave IF curcol>vArrSQL.count-1 THEN RETURN coldat=vArrSQL[curcol] cbxDoChange=FALSE cbx.clear cbx.Sorted =FALSE cbx.Text="" 'project.rowhead=["tbl","fld","group","sort","visible","where"] 'this is also the row index sequence SELECT CASE row CASE enTBL FldInput_TblUpdate() cbx.Add("") IF FldInput_Tables.Count>0 THEN ' the tables also on table pane FldInput_Tables.Sort FOR i= 0 TO FldInput_Tables.Count-1 cbx.Add(CStr(FldInput_Tables[i])) NEXT cbx.Text=coldat[enTBL] ENDIF CASE enFLD IF coldat[enTBL]<>"" THEN cbx.Add("") IF Project.LBFS.LBframes.Exist(coldat[enTBL]) THEN stblfld=Project.LBFS.LBframes[coldat[enTBL]].Fields stblfld.Sort IF stblfld.Count>0 THEN cbx.Add("*") FOR i= 0 TO stblfld.Count-1 cbx.Add(CStr(stblfld[i])) NEXT ENDIF 'stblfld.Count>0 cbx.Text=coldat[enFLD] ENDIF 'exist ELSE coldat[enFLD]="" ENDIF CASE enAS cbx.Text=coldat[enAS] TextBox1.Text=coldat[enAS] CASE enGRP cbx.Add("") FOR i = 0 TO grpfunc.Count-1 cbx.Add(grpfunc[i]) NEXT cbx.Text=coldat[enGRP] CASE enSRT cbx.Add("(None)") cbx.Add("Asc") cbx.Add("Desc") cbx.Text=coldat[enSRT] CASE enVIS chkVis.Value = If( coldat[enVIS]="Yes",TRUE,FALSE) CASE enWHR cbx.Text=coldat[enWHR] TextBox1.Text=coldat[enWHR] CASE enOR cbx.Text=coldat[enOR] TextBox1.Text=coldat[enOR] CASE ELSE ' all other are asumed as 'enOR' IF row<>enOFF THEN ' room for more then 100? IF row>(coldat.count - 1) THEN Grid_AddRows2Column(2) 'vArrSQL2.Resize(row+1) cbx.Text=coldat[row] TextBox1.Text=coldat[row] ENDIF END SELECT cbxDoChange=TRUE END From lbaudio at ...172... Tue Nov 2 22:02:39 2004 From: lbaudio at ...172... (LB Audio) Date: Tue, 2 Nov 2004 19:02:39 -0200 (Hora oficial do Brasil) Subject: [Gambas-user] Gambas Stok mySQL Brazil References: <200411012022.28764.leo.barnhoorn@...246...> Message-ID: <4187F5EF.000001.03948@...661...> Brazil http://www.expertaccess.com.br/tuxstok/index.html Enjoy... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: BackGrnd.jpg Type: image/jpeg Size: 1431 bytes Desc: not available URL: From Lamego at ...99... Tue Nov 2 23:40:10 2004 From: Lamego at ...99... (Joao Pinto) Date: Tue, 02 Nov 2004 22:40:10 +0000 Subject: [Gambas-user] Gambas Stok mySQL Brazil In-Reply-To: <4187F5EF.000001.03948@...661...> References: <200411012022.28764.leo.barnhoorn@...246...> <4187F5EF.000001.03948@...661...> Message-ID: <41880CCA.6080204@...99...> For those which don't understand portuguese-brazil it looks a nice stock managment application developed with gambas ;) LB Audio wrote: > Brazil > > http://www.expertaccess.com.br/tuxstok/index.html > > Enjoy... > > > > > > From gambas at ...1... Wed Nov 3 10:30:41 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 3 Nov 2004 10:30:41 +0100 Subject: [Gambas-user] PayPal Link at http://gambas.sourceforge.net/ In-Reply-To: <200411021940.49425.Karl.Reinl@...9...> References: <200411021940.49425.Karl.Reinl@...9...> Message-ID: <200411031030.41207.gambas@...1...> On Tuesday 02 November 2004 19:40, Charlie Reinl wrote: > Salut, > > PayPal Link at http://gambas.sourceforge.net/ is broken. > > Amicalment > Charlie > > Strange, it works from here... -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Nov 3 10:34:35 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 3 Nov 2004 10:34:35 +0100 Subject: [Gambas-user] Collections bug? Referencing from variable. In-Reply-To: References: Message-ID: <200411031034.35441.gambas@...1...> On Monday 01 November 2004 21:01, webmaster at ...664... wrote: > Hey all - Quite an annoying little problem. It seems I can't access an > element in a collection from a index stored in a variable. > > This code sample probably isn't accurate, i'm just typing it into my mail > client... > > Function Test (VarIndex as integer) as string > Return MyCollection[VarIndex] > End Function > > You get the idea what I want to do? > > While im here, is there anything in gambas that behaves like ADO > recordsets? Just something that gives the ability of a multidimensional > array with searching? Thanks > Collection elements are indexed by a string, not an integer. The Gambas collections are not the same as VB collections - I didn't want to waste CPU and memory. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Nov 3 10:36:46 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 3 Nov 2004 10:36:46 +0100 Subject: [Gambas-user] new form from existing In-Reply-To: <200411022000.20419.Karl.Reinl@...9...> References: <200411022000.20419.Karl.Reinl@...9...> Message-ID: <200411031036.46143.gambas@...1...> On Tuesday 02 November 2004 20:00, Charlie Reinl wrote: > Salut, > > If you create a new form from an existing form ( in the IDE ) the pictures > are not copied with. > True! This is a problem :-) > Thats not realy importent, but not nice, because if you open the form you > will see the pictures, but not if you run it (F5). It should depends where the form comes from. > > Amicalement > Charlie > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Benoit Minisini mailto:gambas at ...1... From picander78 at ...325... Wed Nov 3 10:55:14 2004 From: picander78 at ...325... (Marco Gusy) Date: Wed, 3 Nov 2004 10:55:14 +0100 Subject: [Gambas-user] PayPal Link at http://gambas.sourceforge.net/ In-Reply-To: <200411031030.41207.gambas@...1...> References: <200411021940.49425.Karl.Reinl@...9...> <200411031030.41207.gambas@...1...> Message-ID: <200411031055.14328.picander78@...325...> Alle 10:30, mercoled? 3 novembre 2004, Benoit Minisini ha scritto: > On Tuesday 02 November 2004 19:40, Charlie Reinl wrote: > > Salut, > > > > PayPal Link at http://gambas.sourceforge.net/ is broken. > > > > Amicalment > > Charlie > > Strange, it works from here... The picture works, the link with "paypal" text don't maybe this should be changed to From radoslav.dejanovic at ...116... Wed Nov 3 11:06:46 2004 From: radoslav.dejanovic at ...116... (Radoslav =?iso-8859-2?q?Dejanovi=E6?=) Date: Wed, 3 Nov 2004 11:06:46 +0100 Subject: [Gambas-user] broken paypal link Message-ID: <200411031106.46923.radoslav.dejanovic@...116...> maybe this is the problem? :) "http://gambas.sourceforge.net/paypal.com" -- Radoslav Dejanovi? Operacijski sustavi d.o.o. http://www.opsus.hr From gambas at ...1... Wed Nov 3 11:15:09 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 3 Nov 2004 11:15:09 +0100 Subject: [Gambas-user] PayPal Link at http://gambas.sourceforge.net/ In-Reply-To: <200411031055.14328.picander78@...325...> References: <200411021940.49425.Karl.Reinl@...9...> <200411031030.41207.gambas@...1...> <200411031055.14328.picander78@...325...> Message-ID: <200411031115.09282.gambas@...1...> On Wednesday 03 November 2004 10:55, Marco Gusy wrote: > Alle 10:30, mercoled? 3 novembre 2004, Benoit Minisini ha scritto: > > On Tuesday 02 November 2004 19:40, Charlie Reinl wrote: > > > Salut, > > > > > > PayPal Link at http://gambas.sourceforge.net/ is broken. > > > > > > Amicalment > > > Charlie > > > > Strange, it works from here... > > The picture works, the link with "paypal" text don't > > maybe this > > > should be changed to > > > Sorry... I didn't understand... :-) Fixed! -- Benoit Minisini mailto:gambas at ...1... From picander78 at ...325... Wed Nov 3 12:08:49 2004 From: picander78 at ...325... (Marco Gusy) Date: Wed, 3 Nov 2004 12:08:49 +0100 Subject: [Gambas-user] PayPal Link at http://gambas.sourceforge.net/ In-Reply-To: <200411031115.09282.gambas@...1...> References: <200411021940.49425.Karl.Reinl@...9...> <200411031055.14328.picander78@...325...> <200411031115.09282.gambas@...1...> Message-ID: <200411031208.49310.picander78@...325...> Alle 11:15, mercoled? 3 novembre 2004, Benoit Minisini ha scritto: > Sorry... I didn't understand... :-) > > Fixed! How fast! :-D By the way... same problem on 01/11/2004 news.... "As you can see on the home page, I opened a PayPal account for ***Gambas***. Now you can support the project by making a donation. " From gambas at ...1... Wed Nov 3 12:57:05 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 3 Nov 2004 12:57:05 +0100 Subject: [Gambas-user] Re: Your software Gambas registered on Skysoft In-Reply-To: <200411020825.iA28P7Bm006988@...668...> References: <200411020825.iA28P7Bm006988@...668...> Message-ID: <200411031257.05635.gambas@...1...> On Tuesday 02 November 2004 09:25, you wrote: > Dear Colleague, > > We have started a new astronomical software directory, Skysoft, > available at the address http://www.skysoft.org, and we have added your > software to our database. The relative information was found on the > web, but can be incomplete or inaccurate, so please visit our site to > integrate it. Also if you know of other software or people who would be > interested in contributing, please let me know, and give them the > Skysoft URL. At the end of this mail, we give a summary of site > self-portrait. > > Thank you for your attention, > Best regards > > Carlo Baffa INAF-Osservatorio Astrofisico di > Arcetri baffa at ...667... Largo Fermi 5 > http://www.skysoft.org I-50125-Firenze ITALY Hello, Could you fix the following on the Gambas description on your site ? - Gambas does not run on Windows. - The main language of Gambas is C, not C++. Or put the two if you like. Thanks in advance, Regards, -- Benoit Minisini mailto:gambas at ...1... From radoslav.dejanovic at ...116... Wed Nov 3 13:25:41 2004 From: radoslav.dejanovic at ...116... (Radoslav =?iso-8859-2?q?Dejanovi=E6?=) Date: Wed, 3 Nov 2004 13:25:41 +0100 Subject: [Gambas-user] Re: Your software Gambas registered on Skysoft In-Reply-To: <200411031257.05635.gambas@...1...> References: <200411020825.iA28P7Bm006988@...668...> <200411031257.05635.gambas@...1...> Message-ID: <200411031325.42054.radoslav.dejanovic@...116...> On Wednesday 03 November 2004 12:57, Benoit Minisini wrote: > - The main language of Gambas is C, not C++. Or put the two if you like. That might be confusing - people might think that Gambas is C IDE... Maybe something like "Gambas is written in C language, and the IDE is written in Gambas itself" ?? -- Radoslav Dejanovi? Operacijski sustavi d.o.o. http://www.opsus.hr From picander78 at ...325... Wed Nov 3 15:32:10 2004 From: picander78 at ...325... (Marco Gusy) Date: Wed, 3 Nov 2004 15:32:10 +0100 Subject: [Gambas-user] GridView (feature request) Message-ID: <200411031532.10101.picander78@...325...> It may be very useful to have a "backcolor" property in the .GridCell class, this would add a lot of power to this nice component. A "tag" property would also be useful:In Visual Basic I created a similar user control and used to show data from a recordset like this "ID , Row, Col, Text" I stored the ID in the tag of the cell, so each time I modify a cell content in runtime i know exactly what record should I update. Anyway, While the "tag" property can be simulated with an external array the backcolor should be coded in the control, so it's more important Thanks Marco From ronan at ...384... Wed Nov 3 22:15:00 2004 From: ronan at ...384... (Ronan Chilvers) Date: Wed, 03 Nov 2004 21:15:00 +0000 Subject: [Gambas-user] Combo Box Question Message-ID: <41894A54.4020509@...384...> Hi folks Firstly, fantasticly well done Benoit (and everyone) for a great piece of software. I'm using gambas more and more at work to write fast, smal but scalable database applications and its great! Secondly a quick question on the ComboBox control. In web forms I often populate combo boxes with data from a mysql table using the row id from the table as the option value of the dropdown list. Eg:- SQL : SELECT id, name FROM mynames As you can see the ids may or may not be sequential. Selecting a value from the dropdown returns the database id of the entry. I'd like to do the same with a combobox on a gambas form, but it seems the Index property has to be sequential and cannot have missing values (as in the above). So (assuming r is my Result object):- while r.available ComboBox.Add(r["name"],r["id"]) r.movenext wend doesn't work. Am I just doing it wrong ? Or is the combobox not able to do things this way? I could use one of the other controls, but a combobox would be ideal... Thanks again for a great piece of software, Benoit, and good luck with the acting! Ronan -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 256 bytes Desc: OpenPGP digital signature URL: From Karl.Reinl at ...9... Thu Nov 4 00:06:15 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Thu, 4 Nov 2004 00:06:15 +0100 Subject: [Gambas-user] WebBrowser Message-ID: <200411040006.15477.Karl.Reinl@...9...> Salut, can anybody use/find the WebBrowser (normaly in gb.qt.kde ) in a new project ?? I can't refind in RC1. Amicalment Charlie From karl.reinl at ...9... Mon Nov 1 15:58:40 2004 From: karl.reinl at ...9... (Charlie) Date: Mon, 01 Nov 2004 15:58:40 +0100 Subject: [Gambas-user] Financial support of Gambas References: <200410301928.49695.gambas@...1...> <200410302123.04206.leo.barnhoorn@...246...> <200411011425.40168.gambas@...1...> Message-ID: <41864F20.5090703@...9...> Benoit Minisini schrieb: >On Saturday 30 October 2004 21:23, Leo Barnhoorn wrote: > > >>Hello Benoit, >> >>Do you have also a PayPal page in english. >> >>Regards, >>Leo. >> >> >> > >Even if I set my language to english in my PayPal profile, it seems that the >page displayed when you want to make a gift is always in french ?? > >If someone can help me to turn this page in english... > >Regards, > > > Salut ; Browsers Navigation Language ?? may be that helps I'v 3 de en and fr So I could change it, to german by choosing the country on the page. Amicalment Charlie From ronstk at ...239... Thu Nov 4 01:35:14 2004 From: ronstk at ...239... (Ron Onstenk) Date: Thu, 4 Nov 2004 01:35:14 +0100 Subject: [Gambas-user] WebBrowser In-Reply-To: <200411040006.15477.Karl.Reinl@...9...> References: <200411040006.15477.Karl.Reinl@...9...> Message-ID: <200411040135.14273.ronstk@...239...> On Thursday 04 November 2004 00:06, Charlie Reinl wrote: > Salut, > > can anybody use/find the WebBrowser (normaly in gb.qt.kde ) in a new > project ?? I can't refind in RC1. > > > > Amicalment > Charlie > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > You must check the show beta version componenten. Then it wil be add. From usinggambas at ...43... Thu Nov 4 02:14:13 2004 From: usinggambas at ...43... (Rob Gambas) Date: Wed, 3 Nov 2004 20:14:13 -0500 (EST) Subject: [Gambas-user] WebBrowser In-Reply-To: <200411040006.15477.Karl.Reinl@...9...> Message-ID: <20041104011413.76766.qmail@...669...> --- Charlie Reinl wrote: > Salut, > > can anybody use/find the WebBrowser (normaly in > gb.qt.kde ) in a new > project ?? I can't refind in RC1. > > > > Amicalment > Charlie > The example project in my install worked fine until you asked the question... Now I get an error: +---------------------------------+ | X Cannot open file. | | | | Component missing | | FForm.CreateControl.831 | | | | [ OK ] | | | +---------------------------------+ ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca From ronstk at ...239... Thu Nov 4 02:49:04 2004 From: ronstk at ...239... (Ron Onstenk) Date: Thu, 4 Nov 2004 02:49:04 +0100 Subject: [Gambas-user] WebBrowser In-Reply-To: <20041104011413.76766.qmail@...669...> References: <20041104011413.76766.qmail@...669...> Message-ID: <200411040249.04725.ronstk@...239...> On Thursday 04 November 2004 02:14, Rob Gambas wrote: > --- Charlie Reinl wrote: > > Salut, > > > > can anybody use/find the WebBrowser (normaly in > > gb.qt.kde ) in a new > > project ?? I can't refind in RC1. > > > > > > > > Amicalment > > Charlie > > > > The example project in my install worked fine until > you asked the question... Now I get an error: > > +---------------------------------+ > | X Cannot open file. | > | | > | Component missing | > | FForm.CreateControl.831 | > | | > | [ OK ] | > | | > +---------------------------------+ > You must check the show beta version componenten in, in Menubar->project->preferences Tab->Componenten 2'nd checkbox :) Then it wil be add. > ______________________________________________________________________ > Post your free ad now! http://personals.yahoo.ca > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From usinggambas at ...43... Thu Nov 4 02:16:41 2004 From: usinggambas at ...43... (Rob Gambas) Date: Wed, 3 Nov 2004 20:16:41 -0500 (EST) Subject: [Gambas-user] WebBrowser In-Reply-To: <200411040135.14273.ronstk@...239...> Message-ID: <20041104011641.29489.qmail@...670...> --- Ron Onstenk wrote: > On Thursday 04 November 2004 00:06, Charlie Reinl > wrote: > > Salut, > > > > can anybody use/find the WebBrowser (normaly in > gb.qt.kde ) in a new > > project ?? I can't refind in RC1. > > > > > > > > Amicalment > > Charlie > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Sybase ASE Linux Express Edition - download now > for FREE > > LinuxWorld Reader's Choice Award Winner for best > database on Linux. > > > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > You must check the show beta version componenten. > Then it wil be add. > Well gosh. I should waited a minute before whining! That fixed my error too... Thanks! ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca From elentirmo at ...20... Thu Nov 4 09:02:55 2004 From: elentirmo at ...20... (Marco Bauer) Date: Thu, 4 Nov 2004 09:02:55 +0100 Subject: [Gambas-user] Bug in gambas 1.0 RC1 Editor Message-ID: <200411040902.56193.elentirmo@...20...> Hi, I've just found an error in the gambas GUI source editor. When you type "Privat" or "Public" in a new line and then right-click into the editor window the GUI raises the following error: This application has raised an unexpected error and must abort. [21] Out of bounds. CComponent.ScanClass.333 The same happens when "Private" and "Public" are followed by "Sub" or "Function". Regards Marco From na2492 at ...9... Thu Nov 4 09:43:37 2004 From: na2492 at ...9... (Charlie Reinl) Date: Thu, 4 Nov 2004 09:43:37 00100 Subject: [Gambas-user] WebBrowser Message-ID: <4189ebb9.18ac.0@...9...> > --- Ron Onstenk wrote: >> On Thursday 04 November 2004 00:06, Charlie Reinl >> wrote: >> > Salut, >> > >> > can anybody use/find the WebBrowser (normaly in >> gb.qt.kde ) in a new >> > project ?? I can't refind in RC1. >> > >> > >> > >> > Amicalment >> > Charlie >> > >> >> You must check the show beta version componenten. >> Then it wil be add. >> Salut Ron, Who can read, has advantage. But : Who reads wins Thanks Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From marcio at ...671... Thu Nov 4 11:59:17 2004 From: marcio at ...671... (=?iso-8859-1?Q?M=E1rcio?=) Date: Thu, 4 Nov 2004 08:59:17 -0200 Subject: [Gambas-user] Toolbar and Statusbar Message-ID: <009d01c4c25d$54a800e0$0a78e6c8@...671...> Greetings! Somebody knows to say me as to place a TOOLBAR (with icons) and a STATUSBAR in a form? Thanks! Marcio -------------- next part -------------- An HTML attachment was scrubbed... URL: From leo.barnhoorn at ...246... Thu Nov 4 16:39:20 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Thu, 4 Nov 2004 16:39:20 +0100 Subject: [Gambas-user] New tab strip. Message-ID: <200411041639.20247.leo.barnhoorn@...246...> Hello All, This class is a kind of Tabstrip. I needed this for a application i'm writing. So, maybe some people can use it, i dont know. Example how to use it is included. Regards, Leo Barnhoorn -------------- next part -------------- A non-text attachment was scrubbed... Name: NewTabStrip-0.0.2.tar.gz Type: application/x-tgz Size: 3516 bytes Desc: not available URL: From kdogordinho at ...494... Thu Nov 4 17:51:10 2004 From: kdogordinho at ...494... (clayton delfino) Date: Thu, 4 Nov 2004 13:51:10 -0300 (ART) Subject: [Gambas-user] Printing a form Message-ID: <20041104165110.98376.qmail@...672...> Hi friends... How I do to printer a form with all controls? Something as form1.printer??? Thank you _______________________________________________________ Yahoo! Acesso Gr?tis - Internet r?pida e gr?tis. Instale o discador agora! http://br.acesso.yahoo.com/ From sourceforge-raindog2 at ...94... Thu Nov 4 18:25:33 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 4 Nov 2004 13:25:33 -0400 Subject: [Gambas-user] Printing a form In-Reply-To: <20041104165110.98376.qmail@...672...> References: <20041104165110.98376.qmail@...672...> Message-ID: <200411041225.33260.sourceforge-raindog2@...94...> On Thursday 04 November 2004 11:51, clayton delfino wrote: > How I do to printer a form with all controls? I think that something like Draw.Begin(Printer) Draw.Picture(ME.Grab(), 0, 0) Draw.End should get you started... Rob From mdumm at ...647... Thu Nov 4 18:46:10 2004 From: mdumm at ...647... (Maurice Dumais) Date: Thu, 04 Nov 2004 12:46:10 -0500 Subject: [Gambas-user] Re: Combo Box Question Message-ID: <418A6AE2.4060500@...647...> Hi Ronan, I had this problem with a listbox, and I did a little "hacking" as follows: while r.available listbox1.Add(r["name"] & String$(30," ") & r["id"]) r.movenext wend The table id is embedded in the same string as the name with a space padding This way the (id) does not show in the listbox window. To extract the (id) from the selected listbox item PUBLIC SUB listbox1_Click() Dim sID as String Dim recID as Integer sID=listbox1[listbox1.Index].Text recID=CInt(Right$(sID,6)) ....... END It might not be elegant, but it serves my purpose. Maurice From Karl.Reinl at ...9... Thu Nov 4 19:26:23 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Thu, 4 Nov 2004 19:26:23 +0100 Subject: [Gambas-user] a little XML example Message-ID: <200411041926.23506.Karl.Reinl@...9...> Salut, check in the beta stuff and have a look You fill you Firstname, name and Email and in the Browser you have like it will be after. If you put you email like that on your HomePage all that spam-spiders will have more problems to find you. Amicalment Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: XmlTest-0.0.33.tar.gz Type: application/x-tgz Size: 4211 bytes Desc: not available URL: From webmaster at ...673... Thu Nov 4 22:12:39 2004 From: webmaster at ...673... (Webmaster) Date: Thu, 4 Nov 2004 18:12:39 -0300 Subject: [Gambas-user] gambas in the brasil Message-ID: http://www.gambas.com.br MJ From lbaudio at ...172... Thu Nov 4 21:43:31 2004 From: lbaudio at ...172... (LB Audio) Date: Thu, 4 Nov 2004 18:43:31 -0200 (Hora oficial do Brasil) Subject: [Gambas-user] gambas in the brasil References: Message-ID: <418A9473.000001.01816@...645...> Parab?ns pela iniciativa. Lindomar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: BackGrnd.jpg Type: image/jpeg Size: 1431 bytes Desc: not available URL: From LACKKD at ...674... Thu Nov 4 22:44:49 2004 From: LACKKD at ...674... (LACKKD at ...674...) Date: Thu, 4 Nov 2004 14:44:49 -0700 Subject: [Gambas-user] event handling for member of a collection Message-ID: If I have: Dim colToolBtns AS Collection Dim tBtn AS ToolButton Dim i AS Integer For i = 0 To 10 tBtn = new TollButton(frmMain) colToolBtns.Add(tBtn, i) Next How can I now access the click() event of the buttons in the collection? Thanks, Kevin -------------- next part -------------- An HTML attachment was scrubbed... URL: From LACKKD at ...674... Thu Nov 4 23:04:59 2004 From: LACKKD at ...674... (LACKKD at ...674...) Date: Thu, 4 Nov 2004 15:04:59 -0700 Subject: [Gambas-user] gambas in the brasil In-Reply-To: <418A9473.000001.01816@...645...> Message-ID: Obrigado, mais 'tou com muito problema em usar essa porcaria de collection da forma que qero usar-lo. Kevin -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambasfr at ...11... Thu Nov 4 23:30:22 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Thu, 4 Nov 2004 23:30:22 +0100 Subject: [Gambas-user] event handling for member of a collection In-Reply-To: References: Message-ID: <200411042330.22799.gambasfr@...11...> Le jeudi 4 Novembre 2004 22:44, LACKKD at ...674... a ?crit?: > If I have: > > Dim colToolBtns AS Collection > Dim tBtn AS ToolButton > Dim i AS Integer > > For i = 0 To 10 > tBtn = new TollButton(frmMain) // tBtn = new ToolButton(frmMain) --> workbetter with no spelling fault tBtn = new ToolButton(frmMain) as "myButton" > > colToolBtns.Add(tBtn, i) > Next > > > How can I now access the click() event of the buttons in the collection? > > Thanks, > Kevin Then add a sub like this : PUBLIC SUB MyButton_Click() END and use the LAST keyword to manage each button. I think it can be usefful to add a virtual index in the tag property of each button. Dim colToolBtns AS Collection Dim tBtn AS ToolButton Dim i AS Integer For i = 0 To 10 tBtn = new ToolButton(frmMain) as "myButton" tBtn.Tag = i colToolBtns.Add(tBtn, i) Next END PUBLIC SUB MyButton_Click() SELECT CASE LAST.Tag CASE 1 do something CASE 2 do something else CASE ELSE END SELECT END Fabien BODARD From Karl.Reinl at ...9... Thu Nov 4 22:53:47 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Thu, 4 Nov 2004 22:53:47 +0100 Subject: [Gambas-user] the Beta - Components Choice Message-ID: <200411042253.48043.Karl.Reinl@...9...> Salut, I think the Beta - Components Choice is not a lucky one. 1. if you don't have it choosen, and you make a copy of the WegBrowser, you get 'STRANGE' messages, If you have had a look to the project/proberties before. The lib entries get lost, and then you can't work with. Amicalment Charlie From ronan at ...384... Fri Nov 5 10:55:54 2004 From: ronan at ...384... (Ronan Chilvers) Date: Fri, 05 Nov 2004 09:55:54 +0000 Subject: [Gambas-user] Re: Combo Box Question In-Reply-To: <418A6AE2.4060500@...647...> References: <418A6AE2.4060500@...647...> Message-ID: <418B4E2A.7050506@...384...> Hi Maurice Maurice Dumais wrote: > Hi Ronan, > > I had this problem with a listbox, and I did a little "hacking" as follows: Many thanks! I'll give that a try... Cheers Ronan -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 256 bytes Desc: OpenPGP digital signature URL: From webmaster at ...664... Fri Nov 5 12:49:21 2004 From: webmaster at ...664... (webmaster at ...664...) Date: Fri, 5 Nov 2004 11:49:21 +0000 Subject: [Gambas-user] Collections bug? Referencing from variable. In-Reply-To: <200411031034.35441.gambas@...1...> References: <200411031034.35441.gambas@...1...> Message-ID: Yea I meant string, not integer. MyCollection["NAME"] works Dim CheckVal as String CheckVal = "NAME" MyCollection[CheckVal] doesn't. Collections probably aren't the best way of doing this. I just need a way of storing configuration data where I can refer to any of the elements by a name (2 Fields - Name and Value. Lookup name by a string and return its value) If there is a better way of doing this without a physical DB that would be usefull =) Tonight i'll lookup the precise error, but thats about the jist of it. Benoit Minisini wrote: > On Monday 01 November 2004 21:01, webmaster at ...664... wrote: > > Hey all - Quite an annoying little problem. It seems I can't access an > > element in a collection from a index stored in a variable. > > > > This code sample probably isn't accurate, i'm just typing it into my mail > > client... > > > > Function Test (VarIndex as integer) as string > > Return MyCollection[VarIndex] > > End Function > > > > You get the idea what I want to do? > > > > While im here, is there anything in gambas that behaves like ADO > > recordsets? Just something that gives the ability of a multidimensional > > array with searching? Thanks > > > > Collection elements are indexed by a string, not an integer. The Gambas > collections are not the same as VB collections - I didn't want to waste CPU > and memory. > > Regards, From danielcampos at ...282... Fri Nov 5 14:30:27 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Fri, 5 Nov 2004 14:30:27 CET Subject: [Gambas-user] test Message-ID: test ------------------------------------------------------------- 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 kdogordinho at ...494... Fri Nov 5 14:58:34 2004 From: kdogordinho at ...494... (clayton delfino) Date: Fri, 5 Nov 2004 10:58:34 -0300 (ART) Subject: [Gambas-user] Packing Message-ID: <20041105135834.2317.qmail@...675...> Hello folks!!! I finished a program but when I was make the "rpm's" packages I recevied the error message: error: File /root/RPM/SOURCES/teste-0.0.tar.bz2 is smaller than 4 bytes Executing(%prep): /bin/sh -e /root/RPM/tmp/rpm-tmp.36396 + umask 022 + cd /root/RPM/BUILD + rm -rf /root/RPM/tmp/teste-buildroot + cd /root/RPM/BUILD + rm -rf teste + tar -xf /root/RPM/SOURCES/teste-0.0.tar.bz2 + cd teste /root/RPM/tmp/rpm-tmp.36396: cd: teste: No such file or directory error: Bad exit status from /root/RPM/tmp/rpm-tmp.36396 (%prep) RPM build errors: File /root/RPM/SOURCES/teste-0.0.tar.bz2 is smaller than 4 byte What's is this??? I'm using debian sarge Thank you bye __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From ricardo.blanco at ...676... Fri Nov 5 16:12:17 2004 From: ricardo.blanco at ...676... (Rick) Date: Fri, 05 Nov 2004 09:12:17 -0600 Subject: [Gambas-user] help please!!! libkwalletclient.so.1 In-Reply-To: References: Message-ID: <418B9851.5050902@...676...> hi guys im trying to run the datareport example but i cant bacause gambas tells me gb.qt.kde and gb.qt.kde.html not found, i downloaded the rpms but i cant install it because it ask me for libkwalletclient.so.1 i have installed kdelibs but not such library, i downloaded again kdelibs, but to install it, before a need installed qt 3.3.3, arts 1.3.1 and kdelibs3_doc, so i installed qt and arts, but when i try to install kdelibs_doc it asks me for libkwalletclient.so.1, why it asks me for a library that i cant have until i install kdelibs???? how can i obtain such library ??? thanks a lot PD: im using suse 9.0 gambas .99 rc1 and kde 3.1 if someone uses suse 9.0 please help me to upgrade kde 3.1 to 3.3.1, maybe it install that library i tried with Yast but it dont update kde or what im doing wrong??? From Karl.Reinl at ...9... Fri Nov 5 21:07:01 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 5 Nov 2004 21:07:01 +0100 Subject: [Gambas-user] xmllib and css Message-ID: <200411052107.02045.Karl.Reinl@...9...> Salut Daniel, the attached project, transforms an existing XML-file by using the existing XSL-file, but don't use the css file. I see the colors are not used. Is it not implemented or where I'm wrong ? Amicalment Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: XMLTest2-0.0.2.tar.gz Type: application/x-tgz Size: 14605 bytes Desc: not available URL: From sourceforge-raindog2 at ...94... Fri Nov 5 21:46:46 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 5 Nov 2004 16:46:46 -0400 Subject: [Gambas-user] END SUB causes weird error Message-ID: <200411051546.46071.sourceforge-raindog2@...94...> I am porting yet another VB app in Gambas. This afternoon I copied a SUB into my Gambas class and forgot to remove the SUB from END SUB at the end of it. Rather than give me an error about that, the compiler then refused to recognize any form controls unless I qualified them with ME. first... kept going "Unknown identifier: Timer1" etc. (Sorry that I can't send the project or give an exact quote.... no way to get stuff off the machine I'm working on today.) I think this should probably be clarified if possible, especially if END never takes any arguments. Rob From gambas at ...1... Sat Nov 6 17:21:44 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 6 Nov 2004 17:21:44 +0100 Subject: [Gambas-user] Collections bug? Referencing from variable. In-Reply-To: References: <200411031034.35441.gambas@...1...> Message-ID: <200411061721.44640.gambas@...1...> On Friday 05 November 2004 12:49, webmaster at ...664... wrote: > Yea I meant string, not integer. > > MyCollection["NAME"] works > > Dim CheckVal as String > CheckVal = "NAME" > MyCollection[CheckVal] doesn't. > Sure it does! I use that everywhere in the IDE code. Could you send me some project where MyCollection[Var] does not work please ? Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Nov 6 17:23:25 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 6 Nov 2004 17:23:25 +0100 Subject: [Gambas-user] Combo Box Question In-Reply-To: <41894A54.4020509@...384...> References: <41894A54.4020509@...384...> Message-ID: <200411061723.25655.gambas@...1...> On Wednesday 03 November 2004 22:15, Ronan Chilvers wrote: > Hi folks > > Firstly, fantasticly well done Benoit (and everyone) for a great piece > of software. I'm using gambas more and more at work to write fast, smal > but scalable database applications and its great! > > Secondly a quick question on the ComboBox control. In web forms I often > populate combo boxes with data from a mysql table using the row id from > the table as the option value of the dropdown list. Eg:- > > SQL : SELECT id, name FROM mynames > > > > As you can see the ids may or may not be sequential. Selecting a value > from the dropdown returns the database id of the entry. > > I'd like to do the same with a combobox on a gambas form, but it seems > the Index property has to be sequential and cannot have missing values > (as in the above). So (assuming r is my Result object):- > > while r.available > ComboBox.Add(r["name"],r["id"]) > r.movenext > wend > > doesn't work. Am I just doing it wrong ? Or is the combobox not able to > do things this way? I could use one of the other controls, but a > combobox would be ideal... > > Thanks again for a great piece of software, Benoit, and good luck with > the acting! > > Ronan Sorry, but at the moment the ComboBox cannot index its component. But you can create your own class MyComboBox that creates a ComboBox and that has the same methods as the ComboBox, but that manages the index you need. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Nov 6 17:46:38 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 6 Nov 2004 17:46:38 +0100 Subject: [Gambas-user] Bug in gambas 1.0 RC1 Editor In-Reply-To: <200411040902.56193.elentirmo@...20...> References: <200411040902.56193.elentirmo@...20...> Message-ID: <200411061746.38249.gambas@...1...> On Thursday 04 November 2004 09:02, Marco Bauer wrote: > Hi, > > I've just found an error in the gambas GUI source editor. When you type > "Privat" or "Public" in a new line and then right-click into the editor > window the GUI raises the following error: > > This application has raised an unexpected error and must abort. > [21] Out of bounds. > CComponent.ScanClass.333 > > The same happens when "Private" and "Public" are followed by "Sub" or > "Function". > > Regards > Marco > > Thanks for the report, I fix it... -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Nov 6 17:47:08 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 6 Nov 2004 17:47:08 +0100 Subject: [Gambas-user] the Beta - Components Choice In-Reply-To: <200411042253.48043.Karl.Reinl@...9...> References: <200411042253.48043.Karl.Reinl@...9...> Message-ID: <200411061747.08010.gambas@...1...> On Thursday 04 November 2004 22:53, Charlie Reinl wrote: > Salut, > > I think the Beta - Components Choice is not a lucky one. > > 1. if you don't have it choosen, and you make a copy of the WegBrowser, you > get 'STRANGE' messages, If you have had a look to the project/proberties > before. The lib entries get lost, and then you can't work with. > > > Amicalment > Charlie > > You are 100% right. I remove it - it will come back after the 1.0. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Nov 6 17:49:29 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 6 Nov 2004 17:49:29 +0100 Subject: [Gambas-user] Packing In-Reply-To: <20041105135834.2317.qmail@...675...> References: <20041105135834.2317.qmail@...675...> Message-ID: <200411061749.29338.gambas@...1...> On Friday 05 November 2004 14:58, clayton delfino wrote: > Hello folks!!! > > I finished a program but when I was make the "rpm's" > packages I recevied the error message: > > > error: File /root/RPM/SOURCES/teste-0.0.tar.bz2 is > smaller than 4 bytes Executing(%prep): /bin/sh -e > /root/RPM/tmp/rpm-tmp.36396 + umask 022 + cd > /root/RPM/BUILD + rm -rf /root/RPM/tmp/teste-buildroot > + cd /root/RPM/BUILD + rm -rf teste + tar -xf > /root/RPM/SOURCES/teste-0.0.tar.bz2 + cd teste > /root/RPM/tmp/rpm-tmp.36396: cd: teste: No such file > or directory error: Bad exit status from > /root/RPM/tmp/rpm-tmp.36396 (%prep) RPM build > errors: File /root/RPM/SOURCES/teste-0.0.tar.bz2 > is smaller than 4 byte > > > What's is this??? > > I'm using debian sarge > > Thank you > > bye > > Can you send me your project so that I can see what happens when building packages for other distributions ? Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Nov 6 17:53:41 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 6 Nov 2004 17:53:41 +0100 Subject: [Gambas-user] END SUB causes weird error In-Reply-To: <200411051546.46071.sourceforge-raindog2@...94...> References: <200411051546.46071.sourceforge-raindog2@...94...> Message-ID: <200411061753.41663.gambas@...1...> On Friday 05 November 2004 21:46, Rob wrote: > I am porting yet another VB app in Gambas. This afternoon I > copied a SUB into my Gambas class and forgot to remove the SUB > from END SUB at the end of it. Rather than give me an error > about that, the compiler then refused to recognize any form > controls unless I qualified them with ME. first... kept going > "Unknown identifier: Timer1" etc. (Sorry that I can't send the > project or give an exact quote.... no way to get stuff off the > machine I'm working on today.) I think this should probably be > clarified if possible, especially if END never takes any > arguments. > > Rob > Yes... By having END SUB instead of END at the end of functions, the compiler thinks that the form code in one big function, even the hidden code generated to build the form and declare the controls that is inserted after. So the error... I think I should allow the compiler to accept SUB and FUNCTION after a SUB. But I will do it after the 1.0, sorry ! Regards, -- Benoit Minisini mailto:gambas at ...1... From bllymoore at ...370... Sat Nov 6 18:47:36 2004 From: bllymoore at ...370... (andrea) Date: Sat, 06 Nov 2004 18:47:36 +0100 Subject: [Gambas-user] message to Benoit In-Reply-To: <200411061749.29338.gambas@...1...> References: <20041105135834.2317.qmail@...675...> <200411061749.29338.gambas@...1...> Message-ID: <1099763256.6146.7.camel@...37...> Reading the documentation that comes with gambas' source-code i've spotted some italians name... after contacting Antonio Maschio, i proposed im to make an italian website about Gambas. What Do You think? cheers ciao andrea italia -- "And the only sound that's left After the ambulances go Is Cinderella sweeping up On Desolation Row" Bob Dylan From gambas at ...1... Sat Nov 6 19:00:49 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 6 Nov 2004 19:00:49 +0100 Subject: [Gambas-user] message to Benoit In-Reply-To: <1099763256.6146.7.camel@...37...> References: <20041105135834.2317.qmail@...675...> <200411061749.29338.gambas@...1...> <1099763256.6146.7.camel@...37...> Message-ID: <200411061900.49750.gambas@...1...> On Saturday 06 November 2004 18:47, andrea wrote: > Reading the documentation that comes with gambas' source-code i've > spotted some italians name... after contacting Antonio Maschio, i > proposed im to make an italian website about Gambas. > > What Do You think? > > > cheers ciao > andrea > italia > No problem - Anyway, I can't read italian, so try to make the fewer errors as possible ;-) Regards, -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Sat Nov 6 19:41:50 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 6 Nov 2004 14:41:50 -0400 Subject: [Gambas-user] message to Benoit In-Reply-To: <1099763256.6146.7.camel@...37...> References: <20041105135834.2317.qmail@...675...> <200411061749.29338.gambas@...1...> <1099763256.6146.7.camel@...37...> Message-ID: <200411061341.50813.sourceforge-raindog2@...94...> On Saturday 06 November 2004 12:47, andrea wrote: > Reading the documentation that comes with gambas' source-code > i've spotted some italians name... after contacting Antonio > Maschio, i proposed im to make an italian website about > Gambas. Talked to the guys at http://www.gambas.org yet? Rob From daniel.campos at ...338... Sat Nov 6 21:44:42 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Sat, 06 Nov 2004 21:44:42 +0100 Subject: [Gambas-user] xmllib and css Message-ID: <1099773882.7713.4.camel@...40...> Well, I do not understand very well your question: I've changed the first part of your css file, so the background turns blue, and the konqueror widget shows it blue... It just works If you mean if the css file is mixed with the file created using the original XML file and the XSLT file, no, libxslt just keeps the link to the css file (translated to HTML): All seems to be OK... Regards, Daniel Campos From gambasfr at ...11... Sat Nov 6 23:04:08 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Sat, 6 Nov 2004 23:04:08 +0100 Subject: [Gambas-user] message to Benoit In-Reply-To: <200411061341.50813.sourceforge-raindog2@...94...> References: <20041105135834.2317.qmail@...675...> <1099763256.6146.7.camel@...37...> <200411061341.50813.sourceforge-raindog2@...94...> Message-ID: <200411062304.09254.gambasfr@...11...> Le samedi 6 Novembre 2004 19:41, Rob a ?crit?: > On Saturday 06 November 2004 12:47, andrea wrote: > > Reading the documentation that comes with gambas' source-code > > i've spotted some italians name... after contacting Antonio > > Maschio, i proposed im to make an italian website about > > Gambas. > > Talked to the guys at http://www.gambas.org yet? > > Rob so bad.... gambas.org in italiano ? > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 Nov 7 00:05:10 2004 From: karl.reinl at ...9... (Charlie) Date: Sun, 07 Nov 2004 00:05:10 +0100 Subject: [Gambas-user] xmllib and css References: <1099773882.7713.4.camel@...40...> Message-ID: <418D58A6.5090602@...9...> Daniel Campos schrieb: >Well, I do not understand very well your question: > >I've changed the first part of your css file, so the background turns >blue, and the konqueror widget shows it blue... It just works > >If you mean if the css file is mixed with the file created using the >original XML file and the XSLT file, no, libxslt just keeps the link to >the css file (translated to HTML): > > > > > >All seems to be OK... > >Regards, > >Daniel Campos > > Sorry Daniel, everything, but konqueror workes right. I had just a look with Mozilla to the created html and I refound all. The Colors I talked, where the 3 activities headlines 1 in red and black 2 in black and 3 in green Even the font isn't right . . That are a malfunctions in konqueror Thanks for your respons. Amicalment Charlie From daniel.campos at ...338... Sun Nov 7 00:18:43 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Sun, 07 Nov 2004 00:18:43 +0100 Subject: [Gambas-user] message to Benoit In-Reply-To: <200411062304.09254.gambasfr@...11...> References: <20041105135834.2317.qmail@...675...> <1099763256.6146.7.camel@...37...> <200411061341.50813.sourceforge-raindog2@...94...> <200411062304.09254.gambasfr@...11...> Message-ID: <1099783123.3796.2.camel@...40...> >so bad... >gambas.org in italiano? Yes it is true, it should be in Spanish!!! :-))))) No seriously, what's the problem with that? regards, Daniel Campos From gambasfr at ...11... Sun Nov 7 00:32:40 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Sun, 7 Nov 2004 00:32:40 +0100 Subject: [Gambas-user] message to Benoit In-Reply-To: <1099783123.3796.2.camel@...40...> References: <20041105135834.2317.qmail@...675...> <200411062304.09254.gambasfr@...11...> <1099783123.3796.2.camel@...40...> Message-ID: <200411070032.40953.gambasfr@...11...> Le dimanche 7 Novembre 2004 00:18, Daniel Campos a ?crit?: > >so bad... > >gambas.org in italiano? > > Yes it is true, it should be in Spanish!!! :-))))) > > No seriously, what's the problem with that? > > regards, > > Daniel Campos > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Generally.. in comunauty projects... the .org is reserved to english... (or french ? ;-) ) but it's the trade rules... The more important is that gambas main site can be found easily... And more people... know this beautifull language... isn't it ? Fabien Bodard From usinggambas at ...43... Sun Nov 7 03:11:43 2004 From: usinggambas at ...43... (Rob Gambas) Date: Sat, 6 Nov 2004 21:11:43 -0500 (EST) Subject: [Gambas-user] Databases Message-ID: <20041107021143.32876.qmail@...677...> As on eof the users who will be donating to gambas... I have a question. Is there any work presently being done on using gambas with TDS (i.e. freetds) for access to MS SQL Server and Sybase Databases? Is there any work presently being done on using gambas with Oracle? Thanks in advance! Rob Petty __________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com From sourceforge-raindog2 at ...94... Sun Nov 7 07:04:42 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 7 Nov 2004 02:04:42 -0400 Subject: [Gambas-user] Databases In-Reply-To: <20041107021143.32876.qmail@...677...> References: <20041107021143.32876.qmail@...677...> Message-ID: <200411070104.42470.sourceforge-raindog2@...94...> On Saturday 06 November 2004 21:11, Rob Gambas wrote: > Is there any work presently being done on using gambas > with TDS (i.e. freetds) for access to MS SQL Server > and Sybase Databases? I intend to do this eventually if no one with more time does it first, but I haven't written any code yet (I am currently shelling out to perl scripts to use freetds.) > Is there any work presently being done on using gambas > with Oracle? I have no plans to do this (though I would if someone paid me), and know of no one else working on this either. Rob From sourceforge-raindog2 at ...94... Sun Nov 7 07:05:59 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 7 Nov 2004 02:05:59 -0400 Subject: [Gambas-user] message to Benoit In-Reply-To: <200411070032.40953.gambasfr@...11...> References: <20041105135834.2317.qmail@...675...> <1099783123.3796.2.camel@...40...> <200411070032.40953.gambasfr@...11...> Message-ID: <200411070105.59776.sourceforge-raindog2@...94...> > but it's the trade rules... The more important is that gambas > main site can be found easily... And more people... know this > beautifull language... isn't it ? I had hoped to get gambas.org, but they got it before I did. nevertheless, when you type "gambas" into google, the first hit you get is the official site.... not like a year ago when you got a shrimp cooking site :) Rob From gambas at ...1... Sun Nov 7 20:02:35 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 7 Nov 2004 20:02:35 +0100 Subject: [Gambas-user] Release of Gambas 1.0 RC2 Message-ID: <200411072002.35341.gambas@...1...> Hi, Here the second release candidate, that just fixes the bugs discovered since 1.0 RC1. Translations are updated, but not everything is finished. The following translations are out of date (<= 95%). * Arabic * Galician * Welsh * Indonesian * Italian * Norvegian * Portuguese Could their translator tell me if they intend to finish them ? I want to thank every people that made a donation to the project: their name now appears in a special tab in the IDE about dialog box. - Radoslav Dejanovi? - Leo Barnhoorn - Alberto Alday - Igor Furlan - Fernando J Parra Velandia - Dallen Wilson - Yvick Miossec Now, the packaging problem: To Rob: do you have the time to submit again the good Gambas packages to the Mandrake so that the bad ones are removed ? I don't want to release the 1.0 with bad Mandrake packages. Is there a SuSE employee on this mailing-list that can explain me how we can have correct gambas packages in it too ? As for the Debian, the problem seems to be solved. As for the Fedora, I don't know how to submit the packages. Can someone help me ? I have so few time these days, that if someone can help for this sort of non-really-technical task, this would be great! Thanks in advance, -- Benoit Minisini mailto:gambas at ...1... From nigel at ...38... Sun Nov 7 20:38:10 2004 From: nigel at ...38... (nigel at ...38...) Date: Sun, 7 Nov 2004 20:38:10 +0100 (CET) Subject: [Gambas-user] Databases Message-ID: <26389265.1099856290208.JavaMail.www@...678...> It's strange how things seem to rear their head. I was looking at this on Friday and downloaded both Sybase and freetds. I will do some investigation into what is required and start working on it......but saying that, I started working on an odbc driver a couple of months ago, but am now having to fit it in with my real work. After the odbc, I will do tds so we can have access to sybase and MS SQL. Nigel > Message date : Nov 07 2004, 07:04 AM > From : "Rob" > To : gambas-user at lists.sourceforge.net > Copy to : > Subject : Re: [Gambas-user] Databases > > On Saturday 06 November 2004 21:11, Rob Gambas wrote: > > Is there any work presently being done on using gambas > > with TDS (i.e. freetds) for access to MS SQL Server > > and Sybase Databases? > > I intend to do this eventually if no one with more time does it > first, but I haven't written any code yet (I am currently > shelling out to perl scripts to use freetds.) > > > Is there any work presently being done on using gambas > > with Oracle? > > I have no plans to do this (though I would if someone paid me), > and know of no one else working on this either. > > Rob > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From sourceforge-raindog2 at ...94... Sun Nov 7 20:39:20 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 7 Nov 2004 15:39:20 -0400 Subject: [Gambas-user] Release of Gambas 1.0 RC2 In-Reply-To: <200411072002.35341.gambas@...1...> References: <200411072002.35341.gambas@...1...> Message-ID: <200411071439.20200.sourceforge-raindog2@...94...> On Sunday 07 November 2004 14:02, Benoit Minisini wrote: > To Rob: do you have the time to submit again the good Gambas > packages to the Mandrake so that the bad ones are removed ? I > don't want to release the 1.0 with bad Mandrake packages. As of this morning, Cooker is still frozen from the release of 10.1 official. I don't know why this is, but as soon as I see that it's unfrozen I can submit packages. Rob From Karl.Reinl at ...9... Sun Nov 7 21:33:54 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 7 Nov 2004 21:33:54 +0100 Subject: [Gambas-user] talking RC2 Message-ID: <200411072133.54900.Karl.Reinl@...9...> Salut Benoit, somewhere in the paste we could enter the webbrowser which is used in gambas. I can't find it no more. Why ? If I push the donate Button in About, nothing happend. No not nothing in my debug window i find 'sh: line 1: mozilla: command not found' it's right, no mozilla on this box. And you forgot to place the Changelog on the shrine. Amicalment Charlie From mauriziopz at ...626... Sun Nov 7 21:48:52 2004 From: mauriziopz at ...626... (Maurizio Pozzobon) Date: Sun, 7 Nov 2004 21:48:52 +0100 Subject: [Gambas-user] Italian translation In-Reply-To: <200411072002.35341.gambas@...1...> References: <200411072002.35341.gambas@...1...> Message-ID: > Here the second release candidate, that just fixes the bugs discovered since > 1.0 RC1. > > Translations are updated, but not everything is finished. > > The following translations are out of date (<= 95%). > > * Arabic > * Galician > * Welsh > * Indonesian > * Italian > * Norvegian > * Portuguese > > Could their translator tell me if they intend to finish them ? Here are the updated files for the Italian translation I'm sorry that I couldn't translate it before now -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-database-manager-it.po Type: text/x-gettext-translation Size: 17516 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-it.po Type: text/x-gettext-translation Size: 61425 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: tips.it Type: application/octet-stream Size: 8561 bytes Desc: not available URL: From leo.barnhoorn at ...246... Sun Nov 7 23:30:19 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Sun, 7 Nov 2004 23:30:19 +0100 Subject: [Gambas-user] GBSnapshot Message-ID: <200411072330.19115.leo.barnhoorn@...246...> Hello All, Here a program that takes a snapshot from your Dekstop so you can save it, and you can also make a selection of the part you want to have from the desktop. So it is not necessary any more start a graphical program to select the part you want to have. Here a snapshot of the program, it is taken with gbsnapshot. With mouse down you start the selection and mouse up stops the selection, a window popsup with the selection. And then you can save the selection. Just take a look and have a good time. You can also find this program on the site of Fabien Bodard gambas.magic-systems.net Regards, Leo Barnhoorn. -------------- next part -------------- A non-text attachment was scrubbed... Name: GBSnapshot.png Type: image/png Size: 137747 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: gbsnapshot-0.0.8.tar.gz Type: application/x-tgz Size: 12890 bytes Desc: not available URL: From leo.barnhoorn at ...246... Mon Nov 8 00:17:41 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Mon, 8 Nov 2004 00:17:41 +0100 Subject: [Gambas-user] GBsnapshot. Message-ID: <200411080017.41585.leo.barnhoorn@...246...> Hello All, I forgot to put the delay time in right place. This is done in GBSnapshot version 0.09. You can find this new version on the Gambas Forge Site. Sorry. Regards, Leo Barnhoorn. From igor.furlan at ...626... Mon Nov 8 00:25:35 2004 From: igor.furlan at ...626... (Primorec) Date: Sun, 7 Nov 2004 15:25:35 -0800 Subject: [Gambas-user] Release of Gambas 1.0 RC2 In-Reply-To: <200411071439.20200.sourceforge-raindog2@...94...> References: <200411072002.35341.gambas@...1...> <200411071439.20200.sourceforge-raindog2@...94...> Message-ID: <54728e740411071525ad697cb@...627...> it compiles on RH8.0 Thanks Igor On Sun, 7 Nov 2004 15:39:20 -0400, Rob wrote: > On Sunday 07 November 2004 14:02, Benoit Minisini wrote: > > To Rob: do you have the time to submit again the good Gambas > > packages to the Mandrake so that the bad ones are removed ? I > > don't want to release the 1.0 with bad Mandrake packages. > > As of this morning, Cooker is still frozen from the release of > 10.1 official. I don't know why this is, but as soon as I see > that it's unfrozen I can submit packages. > > Rob > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 Nov 8 20:43:47 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 8 Nov 2004 20:43:47 +0100 Subject: [Gambas-user] RC2 split Function (same as in RC1, may be before also) Message-ID: <200411082043.47847.Karl.Reinl@...9...> Salut Benoit, take that line : Picture = Picture["gambas.png"] and split here by "=" from sLine = "Picture = Picture[\"gambas.png\"] you get "Picture " and " Picture[\"gambas.png\"]" "Picture" and "Picture[\"gambas.png\"]" thats it, you should get . The blanks left- and right from '=' should not be in the results. NO? Amicalment Charlie From mike_keehan at ...679... Mon Nov 8 21:05:34 2004 From: mike_keehan at ...679... (Mike Keehan) Date: Mon, 08 Nov 2004 20:05:34 +0000 Subject: [Gambas-user] RC2 split Function (same as in RC1, may be before also) In-Reply-To: <200411082043.47847.Karl.Reinl@...9...> References: <200411082043.47847.Karl.Reinl@...9...> Message-ID: <418FD18E.8060305@...679...> Charlie Reinl wrote: > Salut Benoit, > > take that line : > > Picture = Picture["gambas.png"] > > and split here by "=" > > from sLine = "Picture = Picture[\"gambas.png\"] > > you get > "Picture " and " Picture[\"gambas.png\"]" > "Picture" and "Picture[\"gambas.png\"]" > thats it, you should get . > > The blanks left- and right from '=' should not be in the results. > > NO? > > Amicalment > Charlie No, I don't think so. If the 'split' string is " = " (that is, space - equals - space) then you would get what you want, but splitting by "=" alone should leave all the other characters in the split up strings, including leading an trailing spaces. If you need to get rid of the spaces, you can use Trim(). Mike. From leo.barnhoorn at ...246... Mon Nov 8 22:25:25 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Mon, 8 Nov 2004 22:25:25 +0100 Subject: [Gambas-user] GBSnapshot version 0.10 Message-ID: <200411082225.25185.leo.barnhoorn@...246...> Hello All, Here a new version of GBSnapshot. BUG fixed : Text in the main window. Regards, Leo Barnhoorn. -------------- next part -------------- A non-text attachment was scrubbed... Name: gbsnapshot-0.0.10.tar.gz Type: application/x-tgz Size: 12887 bytes Desc: not available URL: From LACKKD at ...674... Mon Nov 8 21:54:06 2004 From: LACKKD at ...674... (LACKKD at ...674...) Date: Mon, 8 Nov 2004 13:54:06 -0700 Subject: [Gambas-user] Change mouse icon Message-ID: How do I change the mouse icon to busy or wait and then back? Thanks, Kevin -------------- next part -------------- An HTML attachment was scrubbed... URL: From na2492 at ...9... Mon Nov 8 22:05:10 2004 From: na2492 at ...9... (Charlie Reinl) Date: Mon, 8 Nov 2004 22:05:10 00100 Subject: [Gambas-user] RC2 split Function (same as in RC1, may be before also) Message-ID: <418fdf86.4f19.0@...9...> >Charlie Reinl wrote: >> Salut Benoit, >> >> take that line : >> >> Picture = Picture["gambas.png"] >> >> and split here by "=" >> >> from sLine = "Picture = Picture[\"gambas.png\"] >> >> you get >> "Picture " and " Picture[\"gambas.png\"]" >> "Picture" and "Picture[\"gambas.png\"]" >> thats it, you should get . >> >> The blanks left- and right from '=' should not be in the results. >> >> NO? >> >> Amicalment >> Charlie > >No, I don't think so. > >If the 'split' string is " = " (that is, space - equals - space) then >you would get what you want, but splitting by "=" alone should leave >all the other characters in the split up strings, including leading an >trailing spaces. > >If you need to get rid of the spaces, you can use Trim(). > >Mike. Sorry, but what is the return if I split with a blank (' ') sLine = "Picture = Picture[\"gambas.png\"] " Picture = Picture[\"gambas.png\"] ' ' ' ' unquated blanks have no value, so they must be striped. Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From ronan at ...384... Mon Nov 8 22:35:26 2004 From: ronan at ...384... (Ronan Chilvers) Date: Mon, 08 Nov 2004 21:35:26 +0000 Subject: [Gambas-user] Change mouse icon In-Reply-To: References: Message-ID: <418FE69E.5010608@...384...> Hi Kevin LACKKD at ...674... wrote: > How do I change the mouse icon to busy or wait and then back? PUBLIC SUB MyFunction() INC Application.Busy DO LOTS OF STUFF DEC Application.Busy END That's it, I think... Cheers Ronan -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 256 bytes Desc: OpenPGP digital signature URL: From sourceforge-raindog2 at ...94... Mon Nov 8 22:58:16 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 8 Nov 2004 17:58:16 -0400 Subject: [Gambas-user] Change mouse icon In-Reply-To: References: Message-ID: <200411081658.16274.sourceforge-raindog2@...94...> On Monday 08 November 2004 15:54, LACKKD at ...674... wrote: > How do I change the mouse icon to busy or wait and then back? ME.Mouse = Mouse.Wait ... ME.Mouse = Mouse.Normal Rob From mike_keehan at ...679... Mon Nov 8 23:11:23 2004 From: mike_keehan at ...679... (Mike Keehan) Date: Mon, 08 Nov 2004 22:11:23 +0000 Subject: [Gambas-user] RC2 split Function (same as in RC1, may be before also) In-Reply-To: <418fdf86.4f19.0@...9...> References: <418fdf86.4f19.0@...9...> Message-ID: <418FEF0B.90607@...679...> Charlie Reinl wrote: >>Charlie Reinl wrote: >> >>>Salut Benoit, >>> >>>take that line : >>> >>>Picture = Picture["gambas.png"] >>> >>>and split here by "=" >>> >>>from sLine = "Picture = Picture[\"gambas.png\"] >>> >>>you get >>>"Picture " and " Picture[\"gambas.png\"]" >>>"Picture" and "Picture[\"gambas.png\"]" >>>thats it, you should get . >>> >>>The blanks left- and right from '=' should not be in the results. >>> >>>NO? >>> >>>Amicalment >>>Charlie >> >>No, I don't think so. >> >>If the 'split' string is " = " (that is, space - equals - space) then >>you would get what you want, but splitting by "=" alone should leave >>all the other characters in the split up strings, including leading an >>trailing spaces. >> >>If you need to get rid of the spaces, you can use Trim(). >> >>Mike. > > > Sorry, > > but what is the return if I split with a blank (' ') > sLine = "Picture = Picture[\"gambas.png\"] " > > Picture > = > Picture[\"gambas.png\"] > ' ' > ' ' > > unquated blanks have no value, so they must be striped. > > Amicalment > Charlie I disagree. Blanks _do_ have a value, they are part of the string. The only character that should not be in the output is the separator. All other characters should still be in the output strings. If the space characters are not wanted in your application, then use Trim() to remove them. Other people will want the spaces - I certainly do in some places. And when I don't want leading/trailing spaces, I use trim(). Try split() in other languages - awk, VB, or strtok() in C. They all keep the space characters in the output strings when the separator is a single character (but not a space char - this tends to be special). Mike. From picander78 at ...325... Mon Nov 8 23:53:30 2004 From: picander78 at ...325... (Marco Gusy) Date: Mon, 8 Nov 2004 23:53:30 +0100 Subject: [Gambas-user] GridView (feature request) In-Reply-To: <200411031532.10101.picander78@...325...> References: <200411031532.10101.picander78@...325...> Message-ID: <200411082353.30600.picander78@...325...> Do you think this is not a good idea? (i don't want to insist, but i would like to hear someone else opinion) Marco From na2492 at ...9... Tue Nov 9 06:49:00 2004 From: na2492 at ...9... (Charlie Reinl) Date: Tue, 9 Nov 2004 06:49:00 00100 Subject: [Gambas-user] GridView (feature request) Message-ID: <41905a4c.1902.0@...9...> >Do you think this is not a good idea? >(i don't want to insist, but i would like to hear someone else opinion) > >Marco May be its a good idea. tell us the idea, if you want an opinion Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From picander78 at ...325... Tue Nov 9 10:35:02 2004 From: picander78 at ...325... (Marco Gusy) Date: Tue, 9 Nov 2004 10:35:02 +0100 Subject: [Gambas-user] GridView (feature request) In-Reply-To: <41905a4c.1902.0@...9...> References: <41905a4c.1902.0@...9...> Message-ID: <200411091035.03153.picander78@...325...> Alle 07:49, marted? 9 novembre 2004, Charlie Reinl ha scritto: > tell us the idea, if you want an opinion I already did! Maybe the message did not arrive :-? Well... my request was to add a backcolor for each cell in the grid control in order to create something like this image -------------- next part -------------- A non-text attachment was scrubbed... Name: schermata1.png Type: image/png Size: 37400 bytes Desc: not available URL: From gambas at ...1... Tue Nov 9 11:07:19 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 9 Nov 2004 11:07:19 +0100 Subject: [Gambas-user] RC2 split Function (same as in RC1, may be before also) In-Reply-To: <418FEF0B.90607@...679...> References: <418fdf86.4f19.0@...9...> <418FEF0B.90607@...679...> Message-ID: <200411091107.20014.gambas@...1...> On Monday 08 November 2004 23:11, Mike Keehan wrote: > Charlie Reinl wrote: > >>Charlie Reinl wrote: > >>>Salut Benoit, > >>> > >>>take that line : > >>> > >>>Picture = Picture["gambas.png"] > >>> > >>>and split here by "=" > >>> > >>>from sLine = "Picture = Picture[\"gambas.png\"] > >>> > >>>you get > >>>"Picture " and " Picture[\"gambas.png\"]" > >>>"Picture" and "Picture[\"gambas.png\"]" > >>>thats it, you should get . > >>> > >>>The blanks left- and right from '=' should not be in the results. > >>> > >>>NO? > >>> > >>>Amicalment > >>>Charlie > >> > >>No, I don't think so. > >> > >>If the 'split' string is " = " (that is, space - equals - space) then > >>you would get what you want, but splitting by "=" alone should leave > >>all the other characters in the split up strings, including leading an > >>trailing spaces. > >> > >>If you need to get rid of the spaces, you can use Trim(). > >> > >>Mike. > > > > Sorry, > > > > but what is the return if I split with a blank (' ') > > sLine = "Picture = Picture[\"gambas.png\"] " > > > > Picture > > = > > Picture[\"gambas.png\"] > > ' ' > > ' ' > > > > unquated blanks have no value, so they must be striped. > > > > Amicalment > > Charlie > > I disagree. Blanks _do_ have a value, they are part of the string. > > The only character that should not be in the output is the separator. > All other characters should still be in the output strings. > > If the space characters are not wanted in your application, then use > Trim() to remove them. Other people will want the spaces - I > certainly do in some places. And when I don't want leading/trailing > spaces, I use trim(). > > Try split() in other languages - awk, VB, or strtok() in C. They all > keep the space characters in the output strings when the separator is > a single character (but not a space char - this tends to be special). > > Mike. > I think you will have what you want with the upcoming Perl-Compatible Regular Expression component from Rob Kudla. Be patient! Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Nov 9 11:43:03 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 9 Nov 2004 11:43:03 +0100 Subject: [Gambas-user] talking RC2 In-Reply-To: <200411072133.54900.Karl.Reinl@...9...> References: <200411072133.54900.Karl.Reinl@...9...> Message-ID: <200411091143.03596.gambas@...1...> On Sunday 07 November 2004 21:33, Charlie Reinl wrote: > Salut Benoit, > > somewhere in the paste we could enter the webbrowser which is used in > gambas. I can't find it no more. > Why ? > If I push the donate Button in About, nothing happend. > No not nothing in my debug window i find > 'sh: line 1: mozilla: command not found' > it's right, no mozilla on this box. > The IDE uses the contents of the $BROWSER environment variable, which is defined in Mandrake. > And you forgot to place the Changelog on the shrine. Right! I fix it... > > Amicalment > Charlie > Regards, -- Benoit Minisini mailto:gambas at ...1... From na2492 at ...9... Tue Nov 9 14:00:01 2004 From: na2492 at ...9... (Charlie Reinl) Date: Tue, 9 Nov 2004 14:00:01 00100 Subject: [Gambas-user] GridView (feature request) Message-ID: <4190bf51.5ff4.0@...9...> > >Alle 07:49, marted? 9 novembre 2004, Charlie Reinl ha scritto: > >> tell us the idea, if you want an opinion > >I already did! Maybe the message did not arrive :-? > >Well... my request was to add a backcolor for each cell in the grid control> in >order to create something like this image > Yes, looks usefull. Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From gambas at ...1... Tue Nov 9 14:11:28 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 9 Nov 2004 14:11:28 +0100 Subject: [Gambas-user] Italian translation In-Reply-To: References: <200411072002.35341.gambas@...1...> Message-ID: <200411091411.28633.gambas@...1...> On Sunday 07 November 2004 21:48, Maurizio Pozzobon wrote: > > Here the second release candidate, that just fixes the bugs discovered > > since 1.0 RC1. > > > > Translations are updated, but not everything is finished. > > > > The following translations are out of date (<= 95%). > > > > * Arabic > > * Galician > > * Welsh > > * Indonesian > > * Italian > > * Norvegian > > * Portuguese > > > > Could their translator tell me if they intend to finish them ? > > Here are the updated files for the Italian translation > I'm sorry that I couldn't translate it before now Thanks! -- Benoit Minisini mailto:gambas at ...1... From jorisenpetra at ...681... Tue Nov 9 20:22:29 2004 From: jorisenpetra at ...681... (Joris Meijer) Date: Tue, 09 Nov 2004 20:22:29 +0100 Subject: [Gambas-user] Re: Linking to a c library (libxxx.so.0 In-Reply-To: <200411071614.47324.gambas@...1...> References: <1097611460.2683.3.camel@...682...> <200410241619.09157.gambas@...1...> <1099835387.6950.2.camel@...682...> <200411071614.47324.gambas@...1...> Message-ID: <1100028149.2421.4.camel@...682...> Here is the latest example off a possible way to dynamically link with a C-library without knowing the function prototy at compile time. It does not giva a answer to all the questions but answers some. About the portebility, I think it is portable but to where would you like to port?? greetz Joris Meijer On Sun, 2004-11-07 at 16:14 +0100, Benoit Minisini wrote: > On Sunday 07 November 2004 14:49, you wrote: > > Sorry it took me so long to answer but I have made a little test > > programm to see if it is possible to call a dynamic library function > > without knowing its prototype at compile time. I think it should work > > like this. Have a look!!. > > > > To compile: > > > > make > > make lib > > Great :-) But many questions: > > Which asm instructions must you insert to push a (char *), a short int, a > long, a double, a long long ? Can you send me an example ? > > How is returned a double ? A (char *) ? A long long ? > > Is this method portable ? I'm not sure... Is it possible to make this method > portable ? > > Thanks in advance for your answers - Please send it to the devel mailing-list, > many other people may be interested! :-) > > Regards, > -------------- next part -------------- A non-text attachment was scrubbed... Name: test_dl.tar.gz Type: application/octet-stream Size: 3547 bytes Desc: not available URL: From gambas at ...1... Wed Nov 10 16:30:19 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 10 Nov 2004 16:30:19 +0100 Subject: [Gambas-user] gambas 1.0RC2 packages Message-ID: <200411101630.19555.gambas@...1...> Hi, You will find Mandrake binary packages of 1.0RC2 at http://gambas.sourceforge.net/RPM/MandrakeLinux/RPMS You can use this URL as an urpmi media source. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Nov 10 16:46:25 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 10 Nov 2004 16:46:25 +0100 Subject: [Gambas-user] Re: Linking to a c library (libxxx.so.0 In-Reply-To: <1100028149.2421.4.camel@...682...> References: <1097611460.2683.3.camel@...682...> <200411071614.47324.gambas@...1...> <1100028149.2421.4.camel@...682...> Message-ID: <200411101646.25148.gambas@...1...> On Tuesday 09 November 2004 20:22, Joris Meijer wrote: > Here is the latest example off a possible way to dynamically link with a > C-library without knowing the function prototy at compile time. It does > not giva a answer to all the questions but answers some. Cool. But this is "user" mailing-list: post on "devel" mailing-list, the other one :-) I think you should restore the stack after having called the function in the dynamic library. > > About the portebility, I think it is portable but to where would you > like to port?? Something other than x86: PowerPC for example. > > greetz Joris Meijer > Regards, -- Benoit Minisini mailto:gambas at ...1... From ronan at ...384... Wed Nov 10 17:48:26 2004 From: ronan at ...384... (Ronan Chilvers) Date: Wed, 10 Nov 2004 16:48:26 +0000 Subject: [Gambas-user] Gambas projects and CVS Message-ID: <4192465A.10901@...384...> Hi folks Just a quick question... How would Gambas files behave with CVS. Since everything is text I'm guessing it would all work fine. What about the contents of the .gambas directory? I guess I could just CVS my project files and leave gambas to rebuild the necessary binary files itself? Presumably If I CVS everything that is zipped up by the source archive command then I'm CVSing everything the project needs? Cheers Ronan -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 256 bytes Desc: OpenPGP digital signature URL: From sourceforge-raindog2 at ...94... Wed Nov 10 18:16:41 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 10 Nov 2004 13:16:41 -0400 Subject: [Gambas-user] gambas 1.0RC2 packages In-Reply-To: <200411101630.19555.gambas@...1...> References: <200411101630.19555.gambas@...1...> Message-ID: <200411101216.41110.sourceforge-raindog2@...94...> On Wednesday 10 November 2004 10:30, Benoit Minisini wrote: > You will find Mandrake binary packages of 1.0RC2 at > http://gambas.sourceforge.net/RPM/MandrakeLinux/RPMS Hi Benoit, Do these RPMs differ from the ones I posted earlier this week? i.e. should I replace mine with yours and rebuild the ones for older mandrake versions? Rob From gambas at ...683... Thu Nov 11 06:58:55 2004 From: gambas at ...683... (GAMBAS Jakarta) Date: Thu, 11 Nov 2004 12:58:55 +0700 Subject: [Gambas-user] First Posting Message-ID: <4192FF9F.000003.03308@...684...> Dear, Soryy only test my account -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: IMSTP.gif Type: image/gif Size: 8841 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: BackGrnd.jpg Type: image/jpeg Size: 1431 bytes Desc: not available URL: From budi at ...415... Thu Nov 11 07:05:43 2004 From: budi at ...415... (BUDI ARIEF GUSANDI) Date: Thu, 11 Nov 2004 13:05:43 +0700 Subject: [Gambas-user] First Posting In-Reply-To: <4192FF9F.000003.03308@...684...> References: <4192FF9F.000003.03308@...684...> Message-ID: <1392325263.20041111130543@...415...> Hi...welcome to gambas.. It's much better if you use plain text only ;) Budi > Dear, > > Soryy only test my account > __________ NOD32 1.919 (20041109) Information __________ > This message was checked by NOD32 antivirus system. > http://www.nod32.com -- Best regards, BUDI mailto:budi at ...415... -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...683... Thu Nov 11 07:10:52 2004 From: gambas at ...683... (Teguh Nuryadi) Date: Thu, 11 Nov 2004 13:10:52 +0700 Subject: [Gambas-user] MYSQL development packages Message-ID: <1100153452.3738.1.camel@...685...> Dear All, Yesterday, i use Mandrake 10, and Gambas rpm from Rob Kudla (Thanks to you). To day, i changed my Linux to Fedora 2. I must compile source code of Gambas, and success, but my Fedora CD not include MySQL development packages. So My Gambas can not enable MySQL driver. Please kindly give me a link to download MySQL development packages for Fedora. Thanks for all Teguh Nuryadi From ronstk at ...239... Thu Nov 11 09:08:11 2004 From: ronstk at ...239... (Ron Onstenk) Date: Thu, 11 Nov 2004 09:08:11 +0100 Subject: [Gambas-user] First Posting In-Reply-To: <4192FF9F.000003.03308@...684...> References: <4192FF9F.000003.03308@...684...> Message-ID: <200411110908.11779.ronstk@...239...> On Thursday 11 November 2004 06:58, GAMBAS Jakarta wrote: | Dear, | | Soryy only test my account Hello, welkom to the list anyway. Try to avoid HTML in the mails. Mail-lists will be a mess when archived as bundel and the HTML parts are many times included as unreadable text or lost. Grtz From ronstk at ...239... Thu Nov 11 09:19:55 2004 From: ronstk at ...239... (Ron Onstenk) Date: Thu, 11 Nov 2004 09:19:55 +0100 Subject: [Gambas-user] First Posting In-Reply-To: <1392325263.20041111130543@...415...> References: <4192FF9F.000003.03308@...684...> <1392325263.20041111130543@...415...> Message-ID: <200411110919.57598.ronstk@...239...> On Thursday 11 November 2004 07:05, BUDI ARIEF GUSANDI wrote: | Hi...welcome to gambas.. | | It's much better if you use plain text only ;) | | Budi | | > Dear, | > | > Soryy only test my account | | | > __________ NOD32 1.919 (20041109) Information __________ | | > This message was checked by NOD32 antivirus system. | > http://www.nod32.com | | | | | LOL: Uhhh, what do you say here ??? From ronstk at ...239... Thu Nov 11 11:04:03 2004 From: ronstk at ...239... (Ron Onstenk) Date: Thu, 11 Nov 2004 11:04:03 +0100 Subject: [Gambas-user] need help Script to start program Message-ID: <200411111104.03279.ronstk@...239...> [off-gambas] I have a simple problem I have made a script but I'm doing something wrong. I know RTFM but which and where to search for, I've bad luck with bash scripts every time, sorry #!/bin/sh # i want to run next line # timidity.sh /data3/media/audio/midi/gus2/SOFUNKY.MID # it has to kill running instance(s) before new one start # it needs a audio output and is blocked if not killed. # # The script is a stub between the *.mid file assoc and the # program to use it as argument. # how to get safe the PID to kill ??? #TIMID=`ps -ax |grep timidity` #echo "proc=${RUN}" TIMID=timidity NFIL=$1 # the argument from the command NFIL=/data3/media/audio/midi/gus2/SOFUNKY.MID # get the running file OFIL=`cat /var/tim.lock` #kill running timidity kill -TERM ${TIMID} #here it can't find ??? if [ -f /var/tim.lock ] ; then echo "exit player for ${OFIL}" unlink /var/tim.lock fi echo ${NFIL} > /var/tim.lock echo "playing now ${NFIL}" # run program with new argument # should it exit or stay running # till process is done? timidity ${NFIL} & # <-- do I need the & at the end? [/offgambas] I assume it is not difficult but as told, I have bad luck. I want to play midi files and it should not block until ready. If I select an other midi file it must abort the playing one and start to play the new selected one. Ron From girardhenri at ...67... Thu Nov 11 11:52:29 2004 From: girardhenri at ...67... (Henri Girard) Date: Thu, 11 Nov 2004 11:52:29 +0100 Subject: [Gambas-user] MYSQL development packages References: <1100153452.3738.1.camel@...685...> Message-ID: Hi :) Why aren't you using fc3 ? just out ? But if you still want fedora 2 use "yum install mysql* " in a shell.. (well if you have a good internet connection..lol) With fc2 you can use a better one "process" opencarpet (www.opencarpet.org) on the web site you will find lot of repos !!!! and you can install lot of soft which are not included in fc xxx and not yet in fc3 ! good luck :) HG ----- Original Message ----- From: "Teguh Nuryadi" To: "Mailing List GAMBAS" Sent: Thursday, November 11, 2004 7:10 AM Subject: [Gambas-user] MYSQL development packages > Dear All, > > Yesterday, i use Mandrake 10, and Gambas rpm from Rob Kudla (Thanks to > you). To day, i changed my Linux to Fedora 2. I must compile source > code of Gambas, and success, but my Fedora CD not include MySQL > development packages. So My Gambas can not enable MySQL driver. > > Please kindly give me a link to download MySQL development packages for > Fedora. > > Thanks for all > > Teguh Nuryadi > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 Nov 11 12:23:21 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 11 Nov 2004 12:23:21 +0100 Subject: [Gambas-user] gambas 1.0RC2 packages In-Reply-To: <200411101216.41110.sourceforge-raindog2@...94...> References: <200411101630.19555.gambas@...1...> <200411101216.41110.sourceforge-raindog2@...94...> Message-ID: <200411111223.21599.gambas@...1...> On Wednesday 10 November 2004 18:16, Rob wrote: > On Wednesday 10 November 2004 10:30, Benoit Minisini wrote: > > You will find Mandrake binary packages of 1.0RC2 at > > http://gambas.sourceforge.net/RPM/MandrakeLinux/RPMS > > Hi Benoit, > > Do these RPMs differ from the ones I posted earlier this week? > i.e. should I replace mine with yours and rebuild the ones for > older mandrake versions? > > Rob > > I think so, as I used a .spec file that was modified and corrected by Christophe Amrein-Marie. Look in the src.rpm package to get it: the macros like '_tpmpath' were removed and put in a ~/.rpmmacros file. He fixes some english mistakes too. Regards, -- Benoit Minisini mailto:gambas at ...1... From mike_keehan at ...679... Thu Nov 11 21:20:49 2004 From: mike_keehan at ...679... (Mike Keehan) Date: Thu, 11 Nov 2004 20:20:49 +0000 Subject: [Gambas-user] need help Script to start program In-Reply-To: <200411111104.03279.ronstk@...239...> References: <200411111104.03279.ronstk@...239...> Message-ID: <4193C9A1.2080002@...679...> Ron Onstenk wrote: > [off-gambas] > > I have a simple problem > > I have made a script but I'm doing something wrong. > I know RTFM but which and where to search for, I've bad luck > with bash scripts every time, sorry > > > #!/bin/sh > # i want to run next line > # timidity.sh /data3/media/audio/midi/gus2/SOFUNKY.MID > # it has to kill running instance(s) before new one start > # it needs a audio output and is blocked if not killed. > # > # The script is a stub between the *.mid file assoc and the > # program to use it as argument. > > # how to get safe the PID to kill ??? > #TIMID=`ps -ax |grep timidity` > #echo "proc=${RUN}" > TIMID=timidity > > NFIL=$1 # the argument from the command > NFIL=/data3/media/audio/midi/gus2/SOFUNKY.MID > > # get the running file > OFIL=`cat /var/tim.lock` > > #kill running timidity > kill -TERM ${TIMID} #here it can't find ??? > > if [ -f /var/tim.lock ] ; then > echo "exit player for ${OFIL}" > unlink /var/tim.lock > fi > > echo ${NFIL} > /var/tim.lock > echo "playing now ${NFIL}" > > # run program with new argument > # should it exit or stay running > # till process is done? > timidity ${NFIL} & # <-- do I need the & at the end? > > [/offgambas] > > I assume it is not difficult but as told, I have bad luck. > I want to play midi files and it should not block until ready. > If I select an other midi file it must abort the playing one > and start to play the new selected one. > > Ron > > You could try this:- killall -TERM timidity Also, at a terminal/console prompt, man -k kill will show you all commands related to kill. (man -k needs the 'makewhatis' command to be run daily or whenever new software is installed). As for the '&', it is probably easiest to try it and see. If you want the script to end but leave timidity running in the background, then add the '&' character. Note that some programs will automatically go into the background on their own - I don't know if timidity does or not. Mike. From daniel.campos at ...338... Thu Nov 11 22:53:51 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Thu, 11 Nov 2004 22:53:51 +0100 Subject: [Gambas-user] Gambas at Osnews.com Message-ID: <1100210031.7936.1.camel@...40...> Hi! Here's a little article I've written for osnews.com: http://osnews.com/story.php?news_id=8849 Comments seem to be positive (for Gambas I mean:) http://osnews.com/comment.php?news_id=8849 Regards, Daniel Campos From radoslav.dejanovic at ...116... Fri Nov 12 09:12:51 2004 From: radoslav.dejanovic at ...116... (Radoslav =?utf-8?q?Dejanovi=C4=87?=) Date: Fri, 12 Nov 2004 09:12:51 +0100 Subject: [Gambas-user] Gambas at Osnews.com In-Reply-To: <1100210031.7936.1.camel@...40...> References: <1100210031.7936.1.camel@...40...> Message-ID: <200411120912.51313.radoslav.dejanovic@...116...> On Thursday 11 November 2004 22:53, Daniel Campos wrote: > Hi! > > Here's a little article I've written for osnews.com: > > http://osnews.com/story.php?news_id=8849 It is good, but it is the fact that there are good IDE tools for other languages, take Eric for Python as an example (http://www.die-offenbachs.de/detlev/eric3.html) ;) -- Radoslav Dejanovi? Operacijski sustavi d.o.o. http://www.opsus.hr From eilert-sprachen at ...221... Fri Nov 12 10:41:37 2004 From: eilert-sprachen at ...221... (Eilert) Date: Fri, 12 Nov 2004 10:41:37 +0100 Subject: [Gambas-user] Confused windows in IDE In-Reply-To: <200410281029.52175.gambas@...1...> References: <417F44B1.3070506@...221...> <200410281029.52175.gambas@...1...> Message-ID: <41948551.30801@...221...> Hi Benoit, just found some weird thing: There are 2 different Gambas branches in the /opt/gambas directory here, one is of May the other one is of November, so obviously one version was installed on top of the other... Might that be a reason for the confusion of windows? I cannot try to clean it up now because currently a class is working with my typewriting app (yes, it's working, Gambas is great :-) ) but I could try later. So if you read this soon, just give me a quick answer. For my own part, I don't believe it's confusing things because it only appears on my KDE and on no other. It seems to be an override of windows' prefs within KDE rather than a Gambas bug, but it only affects Gambas windows. Anyway, here's what the gambas directory has: /opt/gambas contains bin, include, lib and share bin has a number of binaries dating November, but there's a binary "Util" which dates May include contains a "gambas.h" dated May lib contains an /info directory and lots of .so files dated May, and there is a subdirectory called gambas living here dated November containing just the same so-files dating November. share contains /samples dated May with samples all dated May, a /help directory dating May and (you guess...) a /gambas directory dating November with the complete branch dating November (examples, help and info). The symlink in /usr/bin points to /opt/gambas/bin/gbx, i. e. the November binary, and it shows 0.99 RC1 when coming up. Rolf From girardhenri at ...67... Fri Nov 12 11:37:53 2004 From: girardhenri at ...67... (Henri Girard) Date: Fri, 12 Nov 2004 11:37:53 +0100 Subject: [Gambas-user] Gambas at Osnews.com References: <1100210031.7936.1.camel@...40...> <200411120912.51313.radoslav.dejanovic@...116...> Message-ID: Seems nice... Only one big backdraw... Needs commercial qt on win :) maybe one day "gambas" will work on cygwin ? lol Kind regards HG ----- Original Message ----- From: "Radoslav Dejanovi?" To: Sent: Friday, November 12, 2004 9:12 AM Subject: Re: [Gambas-user] Gambas at Osnews.com On Thursday 11 November 2004 22:53, Daniel Campos wrote: > Hi! > > Here's a little article I've written for osnews.com: > > http://osnews.com/story.php?news_id=8849 It is good, but it is the fact that there are good IDE tools for other languages, take Eric for Python as an example (http://www.die-offenbachs.de/detlev/eric3.html) ;) -- Radoslav Dejanovi? Operacijski sustavi d.o.o. http://www.opsus.hr ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From lordheavy at ...512... Fri Nov 12 11:57:17 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Fri, 12 Nov 2004 11:57:17 +0100 Subject: [Gambas-user] Gambas at Osnews.com In-Reply-To: References: <1100210031.7936.1.camel@...40...> <200411120912.51313.radoslav.dejanovic@...116...> Message-ID: <200411121157.17472.lordheavy@...512...> Le Vendredi 12 Novembre 2004 11:37, Henri Girard a ?crit?: > Seems nice... Only one big backdraw... Needs commercial qt on win :) > maybe one day "gambas" will work on cygwin ? lol > Kind regards Or this should come from the gtk component for gambas (or wxwidget component or "native" win component :) ) -- Laurent Carlier From sdnpaolo at ...69... Fri Nov 12 13:18:27 2004 From: sdnpaolo at ...69... (Paolo Saudin) Date: Fri, 12 Nov 2004 13:18:27 +0100 Subject: [Gambas-user] Yellowdog problem In-Reply-To: <200411101646.25148.gambas@...1...> References: <1097611460.2683.3.camel@...682...> <200411071614.47324.gambas@...1...> <1100028149.2421.4.camel@...682...> <200411101646.25148.gambas@...1...> Message-ID: <4194AA13.1060302@...69...> Hi all, I tried to install Gambas on Yellowdog 4.0 for ppc and both the ./configure and the make commands run ok. But when I run make install, i get the following error : ................. ................. Making symbolic links in /usr/bin... Creating the library info files... /opt/gambas/share/gambas/info/gb.eval.info make[2]: *** [install-exec-local] Segmentation fault make[2]: Leaving directory `/home/paolo/_Gambas/gambas-0.99.RC2' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/home/paolo/_Gambas/gambas-0.99.RC2' make: *** [install-recursive] Error 1 I tried Gambas 0.99, 0.99RC1 and RC2 with the same results. Any idea? Regards Paolo Saudin From ronstk at ...239... Fri Nov 12 14:50:03 2004 From: ronstk at ...239... (Ron Onstenk) Date: Fri, 12 Nov 2004 14:50:03 +0100 Subject: [Gambas-user] need help Script to start program In-Reply-To: <4193C9A1.2080002@...679...> References: <200411111104.03279.ronstk@...239...> <4193C9A1.2080002@...679...> Message-ID: <200411121450.03949.ronstk@...239...> On Thursday 11 November 2004 21:20, Mike Keehan wrote: | | You could try this:- | | killall -TERM timidity killall -TERM timidity works now. It was the 'all' part I had to know. I forget simple the Error warning now if not found. :) | | Also, at a terminal/console prompt, man -k kill will show you all | commands related to kill. (man -k needs the 'makewhatis' command to | be run daily or whenever new software is installed). | The hint for man -k kill was a good one, I had to know this '-k' before :) makewhatis is unknown at suse box but found mandb instead. Have to study it. Did a run of it and there where many updates, purges old ones and final 700 pages add. Never know it exist or had to run it. Regarding the man pages I have seen passing even SuSE is not doing it during install or remove in the final configuration script. It explains also why in the susehelp manpages are/where missing but on the CLI where existing. thanks for this important tip. | As for the '&', it is probably easiest to try it and see. If you want | the script to end but leave timidity running in the background, then | add the '&' character. Note that some programs will automatically go | into the background on their own - I don't know if timidity does or not. The & is need while timidity not going to backgrond. That was just 1 of the reasons for this script. | | Mike. | Thanks, I have learn something again :) Ron From ronan at ...384... Fri Nov 12 14:57:02 2004 From: ronan at ...384... (Ronan Chilvers) Date: Fri, 12 Nov 2004 13:57:02 +0000 Subject: [Gambas-user] Terminal project net component events don't fire Message-ID: <4194C12E.5010401@...384...> Hi folks Been playing with writing some terminal programs that use the gb.net component. However the events for the socket don't seem to fire. Example from new empty terminal project with 1 module:- PUBLIC mySock AS Socket PUBLIC SUB Main() mySock = NEW Socket PRINT "Going to connect" mySock.Connect("192.168.100.18",25) END PUBLIC SUB mySock_Ready() print("Connected") CLOSE mySock END Running this module makes the connection (I can see it in the mail server logs) but the mySock_Ready event never fires. Am I doing it wrong ? In a more complete program none of the other socket events fire either. I'm using the RC2 rpms from Rob Kudla's site (not the ones Benoit recently did, the original kudla RC2 ones). Any clues ? Cheers Ronan -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 256 bytes Desc: OpenPGP digital signature URL: From daniel.campos at ...338... Fri Nov 12 16:30:17 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Fri, 12 Nov 2004 16:30:17 +0100 Subject: [Gambas-user] Terminal project net component events don't fire In-Reply-To: <4194C12E.5010401@...384...> References: <4194C12E.5010401@...384...> Message-ID: <1100273417.3536.2.camel@...40...> Hi: If you want to process the events from any object, you have to define the event "observer" in the "NEW" statement: Dim MySock As Socket MySock=NEW Socket As "FooFoo" .... PUBLIC SUB FooFoo_Read() END As you can see the name of the "observer" can be any different from the object name, but must be explicitely declared. Regards, D. Campos From ronan at ...384... Fri Nov 12 16:35:03 2004 From: ronan at ...384... (Ronan Chilvers) Date: Fri, 12 Nov 2004 15:35:03 +0000 Subject: [Gambas-user] Terminal project net component events don't fire In-Reply-To: <1100273417.3536.2.camel@...40...> References: <4194C12E.5010401@...384...> <1100273417.3536.2.camel@...40...> Message-ID: <4194D827.8000903@...384...> Hi Daniel Daniel Campos wrote: > As you can see the name of the "observer" can be any different from the > object name, but must be explicitely declared. Great !! Many thanks for your help. Cheers Ronan -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 256 bytes Desc: OpenPGP digital signature URL: From ronstk at ...239... Fri Nov 12 16:56:19 2004 From: ronstk at ...239... (Ron Onstenk) Date: Fri, 12 Nov 2004 16:56:19 +0100 Subject: [Gambas-user] Gambas at Osnews.com In-Reply-To: <1100210031.7936.1.camel@...40...> References: <1100210031.7936.1.camel@...40...> Message-ID: <200411121656.19426.ronstk@...239...> On Thursday 11 November 2004 22:53, Daniel Campos wrote: | Hi! | | Here's a little article I've written for osnews.com: | | http://osnews.com/story.php?news_id=8849 | | | Comments seem to be positive (for Gambas I mean:) | | http://osnews.com/comment.php?news_id=8849 | | | Regards, | | Daniel Campos | Nice to read Daniel. Also the comments on it. I can only smile for some misunderstanding of some people. Some less positive make sense and from there point of view are not so bad. They forget however there are other people with a different position where gambas is the ultimate companion to there possibilities. Simple, I'm happy it exist. Ron From igor.furlan at ...626... Fri Nov 12 19:14:48 2004 From: igor.furlan at ...626... (Primorec) Date: Fri, 12 Nov 2004 10:14:48 -0800 Subject: [Gambas-user] need help Script to start program In-Reply-To: <200411111104.03279.ronstk@...239...> References: <200411111104.03279.ronstk@...239...> Message-ID: <54728e7404111210146c1fd198@...627...> # how to get safe the PID to kill ??? #TIMID=`ps -ax |grep timidity` #echo "proc=${RUN}" TIMID=timidity here is one way of doing it ` TIMID=`ps -auxw | grep timidity | awk '{print $2}' kill -9 $TIMID On Thu, 11 Nov 2004 11:04:03 +0100, Ron Onstenk wrote: > [off-gambas] > > I have a simple problem > > I have made a script but I'm doing something wrong. > I know RTFM but which and where to search for, I've bad luck > with bash scripts every time, sorry > > #!/bin/sh > # i want to run next line > # timidity.sh /data3/media/audio/midi/gus2/SOFUNKY.MID > # it has to kill running instance(s) before new one start > # it needs a audio output and is blocked if not killed. > # > # The script is a stub between the *.mid file assoc and the > # program to use it as argument. > > # how to get safe the PID to kill ??? > #TIMID=`ps -ax |grep timidity` > #echo "proc=${RUN}" > TIMID=timidity > > NFIL=$1 # the argument from the command > NFIL=/data3/media/audio/midi/gus2/SOFUNKY.MID > > # get the running file > OFIL=`cat /var/tim.lock` > > #kill running timidity > kill -TERM ${TIMID} #here it can't find ??? > > if [ -f /var/tim.lock ] ; then > echo "exit player for ${OFIL}" > unlink /var/tim.lock > fi > > echo ${NFIL} > /var/tim.lock > echo "playing now ${NFIL}" > > # run program with new argument > # should it exit or stay running > # till process is done? > timidity ${NFIL} & # <-- do I need the & at the end? > > [/offgambas] > > I assume it is not difficult but as told, I have bad luck. > I want to play midi files and it should not block until ready. > If I select an other midi file it must abort the playing one > and start to play the new selected one. > > Ron > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From ronstk at ...239... Fri Nov 12 20:25:21 2004 From: ronstk at ...239... (Ron Onstenk) Date: Fri, 12 Nov 2004 20:25:21 +0100 Subject: [Gambas-user] need help Script to start program In-Reply-To: <54728e7404111210146c1fd198@...627...> References: <200411111104.03279.ronstk@...239...> <54728e7404111210146c1fd198@...627...> Message-ID: <200411122025.21501.ronstk@...239...> On Friday 12 November 2004 19:14, Primorec wrote: | # how to get safe the PID to kill ??? | #TIMID=`ps -ax |grep timidity` | #echo "proc=${RUN}" | TIMID=timidity | | here is one way of doing it | ` | TIMID=`ps -auxw | grep timidity | awk '{print $2}' | kill -9 $TIMID | Never had awk in mind. Using 'man awk' I understand that it is a whole programming language on his own. :) I was in the neighborhood but missed the awk. I was looking for something as substr(), left$() but found by accident leftpart=${parameter:start:length} as the replacement for what I had in need. Still in my script is the way Mike Keehan told. It works well. After some more edit I have the next as result in timidity.sh and the midi file association to this script. Maybe not the most elegant but it does what I wish. Now I can play midi files on a webpage too, by download to a temporary directory and play the file. (rip the music :) ) The ftp site can be a copy when I need. -------------------- #!/bin/sh # i want to run next line # timidity.sh /data3/media/audio/midi/gus2/SOFUNKY.MID # it has to kill running instance(s) before new one start # it needs a audio output and is blocked if not killed. # # The script is a stub between the *.mid file assoc and the # program to use it as argument. TIMRUN=/var/run/timidi TIMLCK=/var/run/timidi/tim.lock #no interface TIMPRG=/usr/bin/timidity TIMID=timidity #the tcl interface TIMPRG="/usr/bin/timidity-2.11.0p1 -ikt " TIMID=timidity-2.11.0 #the gnome interface TIMPRG="/usr/bin/timidity-2.11.3 -iat " TIMID=timidity-2.11.3 cd ${TIMRUN} NFIL=$1 # the argument from the command # NFIL=/data3/media/audio/midi/gus2/SOFUNKY.MID # NFIL=http://midi.ss.ru/rusmidis/rain_xg.mid echo "File src='${NFIL:0:7}'" if [ "${NFIL:0:7}" = "http://" ] ; then echo "wget ${NFIL}" wget ${NFIL} # need to extract the file NFIL=`basename ${NFIL}` NFIL="${TIMRUN}/${NFIL}" echo "got file ${NFIL}" fi # get the running file OFIL=`cat ${TIMLCK}` #kill running timidity killall -TERM ${TIMID} if [ -f ${TIMLCK} ] ; then echo "exit player for ${OFIL}"; unlink ${TIMLCK}; fi #mark new file in play echo ${NFIL} > ${TIMLCK} # run program with new argument # should it exit or stay running # till process is done? if [ -f ${NFIL} ] ; then ${TIMPRG} ${NFIL} > /dev/nul & echo "playing now ${NFIL}" else echo "playing stopped" fi ----------------- Thanks for the help and tips. From mike_keehan at ...679... Fri Nov 12 22:07:37 2004 From: mike_keehan at ...679... (Mike Keehan) Date: Fri, 12 Nov 2004 21:07:37 +0000 Subject: [Gambas-user] Mutex destroy failure Message-ID: <41952619.9070004@...679...> Hi Benoit, When Quit is used with a xxx_Timer() subroutine, it produces the following error on the console in the IDE:- WARNING: circular references detected Form1 (1) Mutex destroy failure: Device or resource busy WARNING: 8 allocation(s) non freed. OK, it's not a very elegant way of shutting down the application, but the error might be worth looking into. This is with the 0.99RC2 version (plus earlier ones I think). Mike. -------------- next part -------------- A non-text attachment was scrubbed... Name: proj.tar.gz Type: application/x-tgz Size: 1445 bytes Desc: not available URL: From franciscoj.cruz at ...686... Sat Nov 13 16:05:41 2004 From: franciscoj.cruz at ...686... (F.J.Cruz) Date: Sat, 13 Nov 2004 16:05:41 +0100 Subject: [Gambas-user] Problem with XMLWriter Message-ID: <200411131605.42016.franciscoj.cruz@...686...> Hi list, I have something like this: (...) proXML.Open (Dialog.Path , TRUE) proXML.PI (..............) proXML.StartElement (..........) (...) But all I've got is "Null Object" error, refered to the first line above, even if I put there a valid path as string. I'm working with the last gambas release. Any idea? From danielcampos at ...282... Sat Nov 13 16:39:43 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Sat, 13 Nov 2004 16:39:43 CET Subject: [Gambas-user] Problem with XMLWriter Message-ID: It seems you try to work with a NULL object :-) If you do: DIM proXML As XmlWriter proXML.Open(...) You got a "NULL object" error. This is the correct way to do it: DIM proXML As NEW XmlWriter proXML.Open(...) Or if you want to do it in two steps: DIM proXML As XmlWriter proXML=NEW XmlWriter proXML.Open (...) Regards, D. 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 fj.cruz at ...179... Sat Nov 13 22:21:26 2004 From: fj.cruz at ...179... (F.J.Cruz) Date: Sat, 13 Nov 2004 22:21:26 +0100 Subject: [Gambas-user] Problem with XMLWriter In-Reply-To: References: Message-ID: <200411132221.26681.fj.cruz@...179...> El S?bado, 13 de Noviembre de 2004 20:39, danielcampos at ...282... escribi?: > It seems you try to work with a NULL object :-) > > If you do: > > DIM proXML As XmlWriter > > proXML.Open(...) > > You got a "NULL object" error. > > This is the correct way to do it: > > DIM proXML As NEW XmlWriter > > proXML.Open(...) > > Or if you want to do it in two steps: > > DIM proXML As XmlWriter > > proXML=NEW XmlWriter > > proXML.Open (...) > > Regards, > > D. Campos Ooops, .......mmmmm......I shall not try to write any code at 03:00 a.m. again. :-) From fj.cruz at ...179... Sat Nov 13 22:22:33 2004 From: fj.cruz at ...179... (F.J.Cruz) Date: Sat, 13 Nov 2004 22:22:33 +0100 Subject: [Gambas-user] XML component examples Message-ID: <200411132222.33978.fj.cruz@...179...> Hi all, Is there any example about how to use the XML component? Saludos. From na2492 at ...9... Sat Nov 13 23:38:08 2004 From: na2492 at ...9... (Charlie Reinl) Date: Sat, 13 Nov 2004 23:38:08 00100 Subject: [Gambas-user] XML component examples Message-ID: <41968cd0.24f4.0@...9...> >Hi all, > >Is there any example about how to use the XML component? > >Saludos. > Salut, a very small, look at http://gambas.magic-systems.net/ myemail Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From lordheavy at ...512... Sun Nov 14 01:48:34 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Sun, 14 Nov 2004 01:48:34 +0100 Subject: [Gambas-user] Any Trick to avoid Stack Overflow Error ? Message-ID: <200411140148.34627.lordheavy@...512...> I ve got Stack Overflow Error with that simple loop : FOR x=0 to 640 FOR y=0 to 480 color = rgb (y/2,y/2,x/3) plot (x,y,color) NEXT NEXT Any tips to avoid this error ? Is it a bug ? Regards, -- Laurent Carlier From ronstk at ...239... Sun Nov 14 05:38:29 2004 From: ronstk at ...239... (Ron Onstenk) Date: Sun, 14 Nov 2004 05:38:29 +0100 Subject: [Gambas-user] XML Question Message-ID: <200411140538.29514.ronstk@...239...> I try to get a xml file in a treeview First I see the nodes same as a directory children are the sub directories. The attributes should come in a list as name/value pairs when I select a node and the text element(s) is a second list. My xml file is as follows: Nederland 1 pal television 1 216000 Nederland 2 pal television 2 184000 When I print the node.name of the first node I itterate I get kwintv for the node.value I get the whole text content of all the nodes. It has however 1 attibute, named version. I call a sub to show the attributes of a node. -------------- PUBLIC SUB showdatr(dnode AS XmlNode,ind AS Integer) DIM i AS Integer DIM s AS String DIM sa AS String[] DIM o AS XmlReaderNodeType DIM n AS XmlNode i=dnode.Attributes.Count IF i>0 THEN FOR i = 0 TO dnode.Attributes.Count-1 ' s =dnode.Attributes[i] ' it say's 'not a array' but has 1 entry so must be array ' sa=dnode.Attributes[i] ' it say's 'not a array' but has 1 entry so must be array ' s =dnode.Attributes ' expect string, got .XmlNodeAttributes ' PRINT Space(ind+2) & "attribute:";i,dnode.Attributes 'say (XmlNode 0x8146120) ' why is the type here XmlNode and before .XmlNodeAttributes? ' XmlNodeAttributes has only a count but no name/value pairs ' ok n=xmlnode and has name/value pairs '' n=dnode.Attributes 'bad class '' PRINT Space(ind+2) & "attributename:";i,n.Name '' PRINT Space(ind+2) & "attributevalue:";i,n.Value PRINT Space(ind+2) & "attributename:";i,dnode.Attributes.Name 'say .XmlNodeAttributes PRINT Space(ind+2) & "attributevalue:";i,dnode.Attributes.Value 'say .XmlNodeAttributes NEXT ELSE PRINT Space(ind+2) & "attribute:none" ENDIF END -------------- when i use n=dnode.Attributes[i] i got message it is not a array How do I get the attrributes, I'm lost now. If I can get help how to iterate the nodes and get the attributes I'm will be happy, I have no luck. In the XMLnode are many constants. They tell me something about a node or attribute type but there is no property for Type. From ronstk at ...239... Sun Nov 14 07:55:04 2004 From: ronstk at ...239... (Ron Onstenk) Date: Sun, 14 Nov 2004 07:55:04 +0100 Subject: [Gambas-user] Req: Select project Message-ID: <200411140755.04373.ronstk@...239...> When I start gambas and chose 'open project' with on the clipboard the path to the directory and past it in the project box it can't open the file. On the clipboard: file:/opt/gambasprj/contrib/XML/MySQLLogin It would be more simple if I can type or paste the path to the project. Also I like to be able to open a existing project by typing 'gambas /opt/gambasprj/contrib/XML/charlie/_daniel/MySQLLogin' and if the project does not exist a conform to create it. The location to create can be in a the basepath as explained next. With a 'basepath = /opt/gambasprj/share' in the gambas.conf it can be add if only one name as project name is given or add if given without leading '/' i.e. 'gambas networking/ServerSocket' will be transformed by 'gambas /networking/ServerSocket' to 'gambas /opt/gambasprj/share/networking/ServerSocket' When start as 'gambas makedust' and 'makedust' is not existing then it will be made after confirm in basepath or with 'gambas --new makedust' it is made without confirm if not exist and open if exist. The most pleasant is be able to give a project name to automatic open if one is given with full path. Hope this can before or in version 1.0 the case. grtz Ron From ronstk at ...239... Sun Nov 14 08:56:56 2004 From: ronstk at ...239... (Ron Onstenk) Date: Sun, 14 Nov 2004 08:56:56 +0100 Subject: [Gambas-user] bug: syntax markers Message-ID: <200411140856.56956.ronstk@...239...> given the lin under test: sLine = Trim(Replace(Replace(sLine,")",""),"Move(","")) 1>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>1 2>>>>>>>>>>>>>>>>>>>>2-----------^ 3>>>>>>>3----^ 4<<<<<<<4 should not do any 5<<<<<<<^<<<<<<<<<<<<5 6<<<<6 1 till 6 are the cursor positions, The < and > the direction the match is found The ^ is the right that should be. #1 is OK #2 is found 1 to early due ")" at position 3 #3 is found 1 to early in string same reason as #2 #4 should search backward and in string or do nothing. #5 counts one to much back due quoted ")" at position 3 #6 should also not work because it is inside a string and the close should be in string to as with position 4. #1 is by accident OK while inner count of ( and ) matches. For change sLine = Trim(Replace(Replace(sLine,")",""),"Move(","")) to sLine = Trim(Replace(Replace(sLine,"]",""),"Move[","")) works OK. Not the program anymore :( sLine = Trim1(Replace2(Replace3(sLine,"]","")3,"Move[","")2)1 This will be not easy to solve but a note about it should be made for this functional behavior. It can't be a simple count of ( and ) or need annalize they are not in text strings embedded. From ronstk at ...239... Sun Nov 14 10:13:05 2004 From: ronstk at ...239... (Ron Onstenk) Date: Sun, 14 Nov 2004 10:13:05 +0100 Subject: [Gambas-user] PRB-info: Expression evaluation Message-ID: <200411141013.05131.ronstk@...239...> changed line in project from: cbxShell.Y=ME.H - cbxShell.Height to cbxShell.Y=ME.clientH - (cbxShell.Height +10) I get a 'missing right brace' error. First it is here a parenthesis ')'. I know this from the interpreter I once wrote for basic long, long time back (1976 2kbyte z80 code) Very strict the line is indeed wrong, but it is another mistake. The error here is more as 'Bad expression' I think. The intention is to add the values of cbxShell.Height and 10 together, here is written now 'cbxShell.Height' and '+10' but no addition action. It should be 'cbxShell.Height + +10', looks awfull but is right. :) The + is the sign for 10, it could be 'cbxShell.Height + -10' effective as add a negative value or substract 10 written as 'cbxShell.Height - +10'. The positive sign is not always shown but in background exist. 'cbxShell.Height+10' works OK and the 'missing right ???' is gone. 'cbxShell.Height+-10' works OK 'cbxShell.Height++10' does not work but strict it is right and should work. 'cbxShell.Height+ +10' is more correct to read and works OK ((+|-)variable) (+|-) ((+|-)variable) The middle (+|-) is the method, the other are sign prefix of the variable. The middle can also be (*|/) according the arithmetic priority. The spaces around the method are more clear to read but optional no need for as clear seen with * and / but with + - it easy to misunderstand. I made the mistake myself now but it can be nice to know for other to write the calculation right and for the case they get the 'Missing Right ???' where the fault can be. Ron From gambasfr at ...11... Sun Nov 14 11:44:51 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Sun, 14 Nov 2004 11:44:51 +0100 Subject: [Gambas-user] XML component examples In-Reply-To: <41968cd0.24f4.0@...9...> References: <41968cd0.24f4.0@...9...> Message-ID: <200411141144.51599.gambasfr@...11...> Le dimanche 14 Novembre 2004 00:38, Charlie Reinl a ?crit?: > >Hi all, > > > >Is there any example about how to use the XML component? > > > >Saludos. > > Salut, > > a very small, look at http://gambas.magic-systems.net/ > > myemail > > Amicalment > Charlie > * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user hi charlie... When you give a link to this site give : all your code : http://gambas.magic-systems.net/codeslist.php?by=author&id=13 or the code id itself : http://gambas.magic-systems.net/code.php?id=11 Hi hope F.J. Cruz can connect the server... Fabien Bodard From ronstk at ...239... Sun Nov 14 16:02:38 2004 From: ronstk at ...239... (Ron Onstenk) Date: Sun, 14 Nov 2004 16:02:38 +0100 Subject: [Gambas-user] XML component examples In-Reply-To: <200411141144.51599.gambasfr@...11...> References: <41968cd0.24f4.0@...9...> <200411141144.51599.gambasfr@...11...> Message-ID: <200411141602.39427.ronstk@...239...> On Sunday 14 November 2004 11:44, Bodard Fabien wrote: | Le dimanche 14 Novembre 2004 00:38, Charlie Reinl a ?crit?: | | Hi hope F.J. Cruz can connect the server... | | | Fabien Bodard | | Well the connect is not the problem we, Leo and I, found sofar. Connecting to the apache server works if it is www.magic-systems.net. It does not respond if the request is for the gambas part. gambas is setup as virtual server, may be there is a problem. I think it is but do not know yet what exact, the apache documentation is inconflict between v1.3 and 2.0 NameVirtualHost 1.2.3.4 DocumentRoot /srv/httpd/www ServerName www.magic-systems.net UseCanonicalName off DocumentRoot /home/fabien/www ServerName gambas.magic-systems.net UseCanonicalName off V2.x says the 1.2.3.4 should be unique IP or names. V1.3 says they must be the same as NameVirtualHost if IP The first match entry counts. V2.x sound to me more correct as I can't reach gambas and get always www. as responce. But then why can others or the proxy do it correct? I have his httpd.conf studied but see no real faulty things. A few as i.e. it is started by inetd and not as stand alone. The server returns www.magic-systems.net as name for all services instead magic-systems.net My server in Germany returns the domainname.de:http only, without www. The only thing I can say it works if I use a ISDN connection. With the ADSL modem it works only if I use a proxy server between. The ADSL modem is a ZyXEL 650R-31 and has a router with NAT on board. I'm see with ethereal response from the DNS system. then the request is sent SYNC but never answered. When I go to www.magic-systems.net it works. It is gambas. that fails and in combination with a ADSL modem/router. Also it is not excluded tiscali is part of it. Daniel Campos had same problem and had/has tiscali.es at home with the problem. Coincidence, who knows. From ronan at ...384... Sun Nov 14 17:06:14 2004 From: ronan at ...384... (Ronan Chilvers) Date: Sun, 14 Nov 2004 16:06:14 +0000 Subject: [Gambas-user] XML component examples In-Reply-To: <200411141602.39427.ronstk@...239...> References: <41968cd0.24f4.0@...9...> <200411141144.51599.gambasfr@...11...> <200411141602.39427.ronstk@...239...> Message-ID: <41978276.3070502@...384...> Hi Ron Some stuff I noticed about the domain name .... Firstly the gambas.magic-systems.net record is a CNAME. ;; ANSWER SECTION: gambas.magic-systems.net. 86400 IN CNAME www.magic-systems.net. ;; AUTHORITY SECTION: magic-systems.net. 86389 IN NS ns0.directnic.com. magic-systems.net. 86389 IN NS ns1.directnic.com. CNAME records will always be slow to respond since they require extra queries to resolve. I'm finding that ns0 / ns1.directnic.com are dragging when querying the CNAME records. This may be enough to timeout connections (eg: if you run a report for gambas.magic-systems.net at www.dnsreport.com, it seems to time out more often than not. YMMV). If you can I would change this record to a straight A record. Ron Onstenk wrote: > NameVirtualHost 1.2.3.4 I think I'd be tempted to change this to NameVirtualHost *:80 Only becuase I prefer to do it that way... :-) > > Similarly :-) > DocumentRoot /srv/httpd/www > ServerName www.magic-systems.net > UseCanonicalName off > > > > DocumentRoot /home/fabien/www > ServerName gambas.magic-systems.net > UseCanonicalName off > I always set up my DNS as A records and then set up the VirtualHost directives as above. You shouldn't then need the UseCanonicalName directive. > V2.x says the 1.2.3.4 should be unique IP or names. > V1.3 says they must be the same as NameVirtualHost if IP > The first match entry counts. > V2.x sound to me more correct as I can't reach gambas and get > always www. as responce. For NameVirtualHosts you just need to make sure that the identifier is unique. I use the *:80 to allow apache to sort out the IP (and it makes the config more portable). > But then why can others or the proxy do it correct? I think that the reason you can't reach the gambas site (I can btw) is to do with the CNAME records. What browser are you using? > I have his httpd.conf studied but see no real faulty things. > A few as i.e. it is started by inetd and not as stand alone. ???? Apache started by inetd ? Why? Anyway.... > The server returns www.magic-systems.net as name for all services > instead magic-systems.net > My server in Germany returns the domainname.de:http only, without www. I think that your resolvers are stripping the domain name back because of the CNAME. # dig +short -x $( dig +short gambas.magic-systems.net ) www.magic-systems.net. You want it to resolve back to gambas. not www. so you're going to need an A record I reckon. Certainly it won't hurt !! ;-) Hope this essay makes some sort of sense!!!! Cheers Ronan -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 256 bytes Desc: OpenPGP digital signature URL: From gambas at ...1... Sun Nov 14 18:32:27 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 14 Nov 2004 18:32:27 +0100 Subject: [Gambas-user] Mutex destroy failure In-Reply-To: <41952619.9070004@...679...> References: <41952619.9070004@...679...> Message-ID: <200411141832.27765.gambas@...1...> On Friday 12 November 2004 22:07, Mike Keehan wrote: > Hi Benoit, > > When Quit is used with a xxx_Timer() subroutine, it produces the > following error on the console in the IDE:- > > WARNING: circular references detected > Form1 (1) > Mutex destroy failure: Device or resource busy > WARNING: 8 allocation(s) non freed. > > OK, it's not a very elegant way of shutting down the application, but > the error might be worth looking into. > > This is with the 0.99RC2 version (plus earlier ones I think). > > Mike. QUIT brutally aborts the interpreter, and try to free things as cleanly as possible. But sometimes it may fails, and some objects may not be freed. So your messages... Try to replace your QUIT by ME.Close. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Nov 14 19:08:08 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 14 Nov 2004 19:08:08 +0100 Subject: [Gambas-user] END SUB causes weird error In-Reply-To: <200411051546.46071.sourceforge-raindog2@...94...> References: <200411051546.46071.sourceforge-raindog2@...94...> Message-ID: <200411141908.08640.gambas@...1...> On Friday 05 November 2004 21:46, Rob wrote: > I am porting yet another VB app in Gambas. This afternoon I > copied a SUB into my Gambas class and forgot to remove the SUB > from END SUB at the end of it. Rather than give me an error > about that, the compiler then refused to recognize any form > controls unless I qualified them with ME. first... kept going > "Unknown identifier: Timer1" etc. (Sorry that I can't send the > project or give an exact quote.... no way to get stuff off the > machine I'm working on today.) I think this should probably be > clarified if possible, especially if END never takes any > arguments. > > Rob > > Finally I fixed it :-) -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Nov 14 19:09:15 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 14 Nov 2004 19:09:15 +0100 Subject: [Gambas-user] Yellowdog problem In-Reply-To: <4194AA13.1060302@...69...> References: <1097611460.2683.3.camel@...682...> <200411101646.25148.gambas@...1...> <4194AA13.1060302@...69...> Message-ID: <200411141909.16046.gambas@...1...> On Friday 12 November 2004 13:18, Paolo Saudin wrote: > Hi all, I tried to install Gambas on Yellowdog 4.0 for ppc and both the > ./configure and the make commands run ok. But when I run make install, i > get the following error : > ................. > ................. > Making symbolic links in /usr/bin... > > Creating the library info files... > /opt/gambas/share/gambas/info/gb.eval.info > make[2]: *** [install-exec-local] Segmentation fault > make[2]: Leaving directory `/home/paolo/_Gambas/gambas-0.99.RC2' > make[1]: *** [install-am] Error 2 > make[1]: Leaving directory `/home/paolo/_Gambas/gambas-0.99.RC2' > make: *** [install-recursive] Error 1 > > I tried Gambas 0.99, 0.99RC1 and RC2 with the same results. Any idea? > > Regards > Paolo Saudin > Can you debug the gbi program and tell me where it crashes ? $ gdb gbi ... $ run -a ... *crash* $ bt Thanks in advance, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Nov 14 19:10:00 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 14 Nov 2004 19:10:00 +0100 Subject: [Gambas-user] Gambas projects and CVS In-Reply-To: <4192465A.10901@...384...> References: <4192465A.10901@...384...> Message-ID: <200411141910.00380.gambas@...1...> On Wednesday 10 November 2004 17:48, Ronan Chilvers wrote: > Hi folks > > Just a quick question... How would Gambas files behave with CVS. Since > everything is text I'm guessing it would all work fine. What about the > contents of the .gambas directory? I guess I could just CVS my project > files and leave gambas to rebuild the necessary binary files itself? > > Presumably If I CVS everything that is zipped up by the source archive > command then I'm CVSing everything the project needs? > > Cheers > > Ronan Not everything is text: only the source files. I can't tell more, as I have no real knowledge of CVS... Regards, -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Sun Nov 14 19:12:09 2004 From: ronstk at ...239... (Ron Onstenk) Date: Sun, 14 Nov 2004 19:12:09 +0100 Subject: [Gambas-user] XML component examples In-Reply-To: <41978276.3070502@...384...> References: <41968cd0.24f4.0@...9...> <200411141602.39427.ronstk@...239...> <41978276.3070502@...384...> Message-ID: <200411141912.09219.ronstk@...239...> On Sunday 14 November 2004 17:06, Ronan Chilvers wrote: | | > NameVirtualHost 1.2.3.4 | | | I think I'd be tempted to change this to | | NameVirtualHost *:80 | | Only becuase I prefer to do it that way... :-) this I had in mind too. | | > | > | | Similarly | | | | :-) | | | > DocumentRoot /srv/httpd/www | > ServerName www.magic-systems.net | > UseCanonicalName off | > | > | > but this one also should be *:80 or ? | > DocumentRoot /home/fabien/www | > ServerName gambas.magic-systems.net | > UseCanonicalName off | > | | | For NameVirtualHosts you just need to make sure that the identifier is | unique. I use the *:80 to allow apache to sort out the IP (and it makes | the config more portable). this confirms my idea the doc v2.x is right | | | > But then why can others or the proxy do it correct? | | | I think that the reason you can't reach the gambas site (I can btw) is | to do with the CNAME records. What browser are you using? IE, Konqueror and FireFox I changed the gateway to the winbox and a old router program between the ethernet and ISDN card after sending the previous message. All can reach using ISDN, ADSL disconnected, across the window box None can using the ADSL connection without proxy.tiscali.nl The www site is with ADSL and ISDN OK. | | | | ???? Apache started by inetd ? Why? No idea why Leo does. | | > The server returns www.magic-systems.net as name for all services | > instead magic-systems.net | > My server in Germany returns the domainname.de:http only, without www. | | I think that your resolvers are stripping the domain name back because | of the CNAME. | | # dig +short -x $( dig +short gambas.magic-systems.net ) | www.magic-systems.net. | | You want it to resolve back to gambas. not www. so you're going to need | an A record I reckon. Certainly it won't hurt !! ;-) | | Hope this essay makes some sort of sense!!!! | | Cheers | | Ronan | For me it does, I'm not that big guru, it make sense as I had also some questions about the DNS records, I got back was a bit strange. Thanks for you explain and tips. I send to Leo the webmaster. Ron From gambas at ...1... Sun Nov 14 19:31:58 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 14 Nov 2004 19:31:58 +0100 Subject: [Gambas-user] bug: syntax markers In-Reply-To: <200411140856.56956.ronstk@...239...> References: <200411140856.56956.ronstk@...239...> Message-ID: <200411141931.59221.gambas@...1...> On Sunday 14 November 2004 08:56, Ron Onstenk wrote: > given the lin under test: > > sLine = Trim(Replace(Replace(sLine,")",""),"Move(","")) > 1>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>1 > 2>>>>>>>>>>>>>>>>>>>>2-----------^ > 3>>>>>>>3----^ > 4<<<<<<<4 should not do any > 5<<<<<<<^<<<<<<<<<<<<5 > 6<<<<6 > > > 1 till 6 are the cursor positions, > The < and > the direction the match is found > The ^ is the right that should be. > > #1 is OK > #2 is found 1 to early due ")" at position 3 > #3 is found 1 to early in string same reason as #2 > #4 should search backward and in string or do nothing. > #5 counts one to much back due quoted ")" at position 3 > #6 should also not work because it is inside a string > and the close should be in string to as with position 4. > > #1 is by accident OK while inner count of ( and ) matches. > > For change > sLine = Trim(Replace(Replace(sLine,")",""),"Move(","")) > to > sLine = Trim(Replace(Replace(sLine,"]",""),"Move[","")) > works OK. Not the program anymore :( > > sLine = Trim1(Replace2(Replace3(sLine,"]","")3,"Move[","")2)1 > > This will be not easy to solve but a note about it should be made > for this functional behavior. > It can't be a simple count of ( and ) or need annalize they are > not in text strings embedded. > OK, I fixed it! -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Sun Nov 14 19:45:13 2004 From: ronstk at ...239... (Ron Onstenk) Date: Sun, 14 Nov 2004 19:45:13 +0100 Subject: [Gambas-user] bug: syntax markers In-Reply-To: <200411141931.59221.gambas@...1...> References: <200411140856.56956.ronstk@...239...> <200411141931.59221.gambas@...1...> Message-ID: <200411141945.13052.ronstk@...239...> On Sunday 14 November 2004 19:31, Benoit Minisini wrote: | On Sunday 14 November 2004 08:56, Ron Onstenk wrote: | > | | OK, I fixed it! | Busy life nowadays :) Many Thanks. From mike_keehan at ...679... Sun Nov 14 20:26:32 2004 From: mike_keehan at ...679... (Mike Keehan) Date: Sun, 14 Nov 2004 19:26:32 +0000 Subject: [Gambas-user] Mutex destroy failure In-Reply-To: <200411141832.27765.gambas@...1...> References: <41952619.9070004@...679...> <200411141832.27765.gambas@...1...> Message-ID: <4197B168.8070401@...679...> Benoit Minisini wrote: > On Friday 12 November 2004 22:07, Mike Keehan wrote: > >>Hi Benoit, >> >>When Quit is used with a xxx_Timer() subroutine, it produces the >>following error on the console in the IDE:- >> >> WARNING: circular references detected >> Form1 (1) >> Mutex destroy failure: Device or resource busy >> WARNING: 8 allocation(s) non freed. >> >>OK, it's not a very elegant way of shutting down the application, but >>the error might be worth looking into. >> >>This is with the 0.99RC2 version (plus earlier ones I think). >> >>Mike. > > > QUIT brutally aborts the interpreter, and try to free things as cleanly as > possible. > > But sometimes it may fails, and some objects may not be freed. So your > messages... > > Try to replace your QUIT by ME.Close. > > Regards, > Oh I've done that already :) It was only an observation really, while I was playing with various ways of exiting my app. Thanks for your time, and for Gambas of course. Mike. From gambasfr at ...11... Sun Nov 14 20:58:36 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Sun, 14 Nov 2004 20:58:36 +0100 Subject: [Gambas-user] XML component examples In-Reply-To: <200411141912.09219.ronstk@...239...> References: <41968cd0.24f4.0@...9...> <41978276.3070502@...384...> <200411141912.09219.ronstk@...239...> Message-ID: <200411142058.36274.gambasfr@...11...> Le dimanche 14 Novembre 2004 19:12, Ron Onstenk a ?crit?: > On Sunday 14 November 2004 17:06, Ronan Chilvers wrote: > | > | > | > NameVirtualHost 1.2.3.4 > | > | > | > | I think I'd be tempted to change this to > | > | NameVirtualHost *:80 > | > | Only becuase I prefer to do it that way... :-) > > this I had in mind too. > > | > | > | > > | > | > | Similarly > | > | > | > | :-) > | > | > | > | > DocumentRoot /srv/httpd/www > | > ServerName www.magic-systems.net > | > UseCanonicalName off > | > > | > > | > > > but this one also should be *:80 or ? > > | > DocumentRoot /home/fabien/www > | > ServerName gambas.magic-systems.net > | > UseCanonicalName off > | > > | > | > > > > | For NameVirtualHosts you just need to make sure that the identifier is > | unique. I use the *:80 to allow apache to sort out the IP (and it makes > | the config more portable). > > this confirms my idea the doc v2.x is right > > | > | > | > But then why can others or the proxy do it correct? > | > | > | > | I think that the reason you can't reach the gambas site (I can btw) is > | to do with the CNAME records. What browser are you using? > > IE, Konqueror and FireFox > I changed the gateway to the winbox and a old router program between > the ethernet and ISDN card after sending the previous message. > All can reach using ISDN, ADSL disconnected, across the window box > None can using the ADSL connection without proxy.tiscali.nl > > The www site is with ADSL and ISDN OK. > > | > | > | ???? Apache started by inetd ? Why? > > No idea why Leo does. > > | > | > | > The server returns www.magic-systems.net as name for all services > | > instead magic-systems.net > | > My server in Germany returns the domainname.de:http only, without www. > | > | > | I think that your resolvers are stripping the domain name back because > | of the CNAME. > | > | # dig +short -x $( dig +short gambas.magic-systems.net ) > | www.magic-systems.net. > | > | You want it to resolve back to gambas. not www. so you're going to need > | an A record I reckon. Certainly it won't hurt !! ;-) > | > | Hope this essay makes some sort of sense!!!! > | > | Cheers > | > | Ronan > > For me it does, I'm not that big guru, it make sense as I had also > some questions about the DNS records, I got back was a bit strange. > > Thanks for you explain and tips. I send to Leo the webmaster. > > Ron > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user thank for your mind work... i hope you like my work Fabien From leo.barnhoorn at ...246... Sun Nov 14 21:12:10 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Sun, 14 Nov 2004 21:12:10 +0100 Subject: [Gambas-user] XML component examples In-Reply-To: <200411141912.09219.ronstk@...239...> References: <41968cd0.24f4.0@...9...> <41978276.3070502@...384...> <200411141912.09219.ronstk@...239...> Message-ID: <200411142112.10339.leo.barnhoorn@...246...> Hello Ron, Ronan, I make the changes Ron, Ronan, i hope this will work. Regards, Leo. On Sunday 14 November 2004 19:12, Ron Onstenk wrote: > On Sunday 14 November 2004 17:06, Ronan Chilvers wrote: > | > | > | > NameVirtualHost 1.2.3.4 > | > | > | > | I think I'd be tempted to change this to > | > | NameVirtualHost *:80 > | > | Only becuase I prefer to do it that way... :-) > > this I had in mind too. > > | > | > | > > | > | > | Similarly > | > | > | > | :-) > | > | > | > | > DocumentRoot /srv/httpd/www > | > ServerName www.magic-systems.net > | > UseCanonicalName off > | > > | > > | > > > but this one also should be *:80 or ? > > | > DocumentRoot /home/fabien/www > | > ServerName gambas.magic-systems.net > | > UseCanonicalName off > | > > | > | > > > > | For NameVirtualHosts you just need to make sure that the identifier is > | unique. I use the *:80 to allow apache to sort out the IP (and it makes > | the config more portable). > > this confirms my idea the doc v2.x is right > > | > | > | > But then why can others or the proxy do it correct? > | > | > | > | I think that the reason you can't reach the gambas site (I can btw) is > | to do with the CNAME records. What browser are you using? > > IE, Konqueror and FireFox > I changed the gateway to the winbox and a old router program between > the ethernet and ISDN card after sending the previous message. > All can reach using ISDN, ADSL disconnected, across the window box > None can using the ADSL connection without proxy.tiscali.nl > > The www site is with ADSL and ISDN OK. > > | > | > | ???? Apache started by inetd ? Why? > > No idea why Leo does. > > | > | > | > The server returns www.magic-systems.net as name for all services > | > instead magic-systems.net > | > My server in Germany returns the domainname.de:http only, without www. > | > | > | I think that your resolvers are stripping the domain name back because > | of the CNAME. > | > | # dig +short -x $( dig +short gambas.magic-systems.net ) > | www.magic-systems.net. > | > | You want it to resolve back to gambas. not www. so you're going to need > | an A record I reckon. Certainly it won't hurt !! ;-) > | > | Hope this essay makes some sort of sense!!!! > | > | Cheers > | > | Ronan > > For me it does, I'm not that big guru, it make sense as I had also > some questions about the DNS records, I got back was a bit strange. > > Thanks for you explain and tips. I send to Leo the webmaster. > > Ron > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From ronstk at ...239... Sun Nov 14 22:17:22 2004 From: ronstk at ...239... (Ron Onstenk) Date: Sun, 14 Nov 2004 22:17:22 +0100 Subject: [Gambas-user] XML component examples In-Reply-To: <200411142058.36274.gambasfr@...11...> References: <41968cd0.24f4.0@...9...> <200411141912.09219.ronstk@...239...> <200411142058.36274.gambasfr@...11...> Message-ID: <200411142217.22470.ronstk@...239...> On Sunday 14 November 2004 20:58, Bodard Fabien wrote: | | thank for your mind work... i hope you like my work | | Fabien | The look is good if javascript is enabled. Thats not my case. Personal I don't like sites so much that need javascript to show right. Javascript should be used for functionality of the page and effects to nice it up, but the page can be good with simple good written HTML. Try to overview it without javascript during development, that way you see what is going wrong with the layout. Be happy, the website of my ISP with professionals is bad^10. :) Lets first find out what is going wrong to reach the server. The webspace I have in Germany is still available. Ron From gambasfr at ...11... Mon Nov 15 00:32:36 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Mon, 15 Nov 2004 00:32:36 +0100 Subject: [Gambas-user] XML component examples In-Reply-To: <200411142217.22470.ronstk@...239...> References: <41968cd0.24f4.0@...9...> <200411142058.36274.gambasfr@...11...> <200411142217.22470.ronstk@...239...> Message-ID: <200411150032.36476.gambasfr@...11...> Le dimanche 14 Novembre 2004 22:17, Ron Onstenk a ?crit?: > On Sunday 14 November 2004 20:58, Bodard Fabien wrote: > | thank for your mind work... i hope you like my work > | > | Fabien > > The look is good if javascript is enabled. Thats not my case. if you have a soluce to have menu without javascript... i heard you... javascript is used as minimal as i can ... i use in fact many feature of css But to give the maximal of information to user in one page... menu systems seem to me the more usefull... and ... why don't you use javascript...? all modern broswer include it !... i've stopped to use lynx since... many year .. i use it just on some old server ! i remember one of my first installation of linux.. in 1996 ..; with already netscape ! Fabien > Personal I don't like sites so much that need javascript to show right. > Javascript should be used for functionality of the page and effects > to nice it up, but the page can be good with simple good written HTML. > Try to overview it without javascript during development, that way you > see what is going wrong with the layout. > > Be happy, the website of my ISP with professionals is bad^10. :) > Lets first find out what is going wrong to reach the server. > The webspace I have in Germany is still available. > > Ron > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From sourceforge-raindog2 at ...94... Mon Nov 15 06:04:35 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 15 Nov 2004 00:04:35 -0500 Subject: [Gambas-user] gbs (gambas script) hack :) Message-ID: <200411150004.35665.sourceforge-raindog2@...94...> While away this weekend I was trying to get to sleep late Friday night and the laptop was nearby, so I did this :) Usage: gbs -a /path/to/project >project.gbs - make gambas project into a gambas script gbs project.gbs - execute a gambas script gbs lets you distribute programs as a single, editable text file with run-time compilation invisible to the end user. It is very much a hack (or a proof of concept, if anything ever comes of it) but so far it seems to work. The only limitation I'm aware of presently is that it only includes .project, .class, .form and .module files, so (as with most script languages) you need to refer to image files and the like externally. A "real" script engine would not do what this thing does, namely, burst the script into the various source files of a project (in a temp$() folder), compile it ("just in time" :) ) and execute it, but I don't think I could have written a "real" script engine in Gambas in a couple hours. I do hope to add some features to it like being able to include base64 encoded images (for icons) and being able to just dash off a one-module script without the filename headers within the script. Attached also is the notepad example from the gambas IDE converted to a gambas script. Amusingly enough, the .gbs version is smaller than the executable created by the gambas archiver. Rob -------------- next part -------------- A non-text attachment was scrubbed... Name: gbs-0.0.15.tar.gz Type: application/x-tgz Size: 6118 bytes Desc: not available URL: -------------- next part -------------- #!/usr/bin/gbx /usr/bin/gbs -- GBSfile FAbout.class ' Gambas class file STATIC PUBLIC SUB Run() DIM hForm AS Form hForm = NEW FAbout hForm.ShowModal END PUBLIC SUB _new() ME.Center END PUBLIC SUB btnOK_Click() ME.Close END GBSfile .project # Gambas Project File 1.0 Project=Notepad Icon=notepad.png Startup=FNotepad TabSize=2 Version=0.0.1 Library=gb.qt SnapToGrid=1 ShowGrid=1 Snap=8 Localize=0 KeepDebugInfo=0 ControlPublic=0 ExecPath=/home/benoit/gambas/gambas.link/share/gambas/examples/Miscellaneous/Notepad/Notepad Prefix=0 GBSfile FNotepad.class ' Gambas class file PRIVATE $sPath AS String PRIVATE $bModify AS Boolean STATIC PUBLIC SUB Main() DIM hForm AS Form hForm = NEW FNotepad hForm.Show END PUBLIC SUB _new() txtNotepad.Text = "" $bModify = FALSE RefreshTitle txtNotePad.SetFocus END PRIVATE FUNCTION GetName() AS String IF $sPath THEN RETURN $sPath RETURN "(New document)" END PRIVATE SUB RefreshTitle() DIM sTitle AS String IF $bModify THEN sTitle = "*" sTitle = sTitle & GetName() ME.Title = sTitle END PRIVATE SUB SetPath(sPath AS String) $sPath = sPath RefreshTitle END PRIVATE SUB SetModify(bModify AS Boolean) IF bModify = bModify THEN RETURN bModify = bModify RefreshTitle END PRIVATE FUNCTION CloseDoc() AS Boolean IF $bModify THEN SELECT CASE Message.Question(GetName() & "\n\nFile has been modified. Do you want to save it ?", "Yes", "No", "Cancel") CASE 1 Save CASE 3 RETURN TRUE END SELECT ENDIF $sPath = "" txtNotepad.Text = "" $bModify = FALSE RefreshTitle END PUBLIC SUB Load(sPath AS String) IF CloseDoc() THEN RETURN txtNotepad.Text = File.Load(sPath) $bModify = FALSE SetPath(sPath) CATCH Message.Error(sPath & "\nUnable to load file.\n" & Error.Text) END PUBLIC SUB Save(OPTIONAL bSaveAs AS Boolean) IF bSaveAs OR NOT $sPath THEN IF Dialog.SaveFile() THEN RETURN SetPath(Dialog.Path) ENDIF File.Save($sPath, txtNotepad.Text) END PUBLIC SUB Form_Resize() txtNotepad.Move(0, 0, ME.ClientWidth, ME.ClientHeight) END PUBLIC SUB mnuOpen_Click() DIM sPath AS String Dialog.Filter = [ "Text files (*.txt)", "Desktop files (*.desktop)" ] IF Dialog.OpenFile() THEN RETURN Load(Dialog.Path) END PUBLIC SUB mnuSave_Click() Save END PUBLIC SUB mnuSaveAs_Click() Save(TRUE) END PUBLIC SUB mnuQuit_Click() ME.Close END PUBLIC SUB txtNotepad_Change() SetModify(TRUE) END PUBLIC SUB mnuClose_Click() CloseDoc END PUBLIC FUNCTION Form_Close() AS Boolean RETURN CloseDoc() END PUBLIC SUB mnuAbout_Click() FAbout.Run END PUBLIC SUB mnuCopy_Click() txtNotepad.Copy END PUBLIC SUB mnuPaste_Click() txtNotepad.Paste END PUBLIC SUB mnuCut_Click() txtNotepad.Cut END PUBLIC SUB mnuUndo_Click() txtNotepad.Undo END PUBLIC SUB mnuRedo_Click() txtNotepad.Redo END PUBLIC SUB mnuFont_Click() IF Dialog.SelectFont() THEN RETURN txtNotepad.Font = Dialog.Font END GBSfile FAbout.form # Gambas Form File 1.0 { FAbout Form Move(377,387,228,122) Text = ("About...") Border = Window.Fixed { Image1 PictureBox Move(16,16,32,32) Picture = Picture["notepad.png"] Stretch = True } { btnOK Button Move(64,88,96,24) Text = ("OK") Default = True Cancel = True } { TextLabel1 TextLabel Move(64,16,160,56) Text = ("This is a little notepad sample program.") } } GBSfile FNotepad.form # Gambas Form File 1.0 { FNotepad Form Move(327,225,400,400) Text = ("Little notepad") Icon = Picture["notepad.png"] { mnuFile Menu Text = ("&File") { mnuOpen Menu Text = ("&Open...") Shortcut = "Ctrl+O" } { mnuClose Menu Text = ("Close") Shortcut = "Ctrl+W" } { Menu1 Menu Text = ("") } { mnuSave Menu Text = ("&Save") Shortcut = "Ctrl+S" } { mnuSaveAs Menu Text = ("S&ave As...") Shortcut = "Ctrl+Shift+S" } { Menu2 Menu Text = ("") } { mnuQuit Menu Text = ("&Quit") Shortcut = "Ctrl+Q" } } { mnuEdit Menu Text = ("&Edit") { mnuCopy Menu Text = ("&Copy") Shortcut = "Ctrl+C" } { mnuCut Menu Text = ("C&ut") Shortcut = "Ctrl+X" } { mnuPaste Menu Text = ("&Paste") Shortcut = "Ctrl+V" } { Menu3 Menu Text = ("") } { mnuUndo Menu Text = ("&Undo") Shortcut = "Ctrl+Z" } { mnuRedo Menu Text = ("&Redo") Shortcut = "Ctrl+Y" } { Menu4 Menu Text = ("") } { mnuFont Menu Text = ("Choose &Font...") } } { mnuHelp Menu Text = ("&?") { mnuAbout Menu Text = ("&About...") } } { txtNotepad TextArea Move(8,8,280,208) Font = Font["Monospace,10"] Text = ("txtNotepad") } } From ronstk at ...239... Mon Nov 15 07:34:52 2004 From: ronstk at ...239... (Ron Onstenk) Date: Mon, 15 Nov 2004 07:34:52 +0100 Subject: [Gambas-user] XML component examples In-Reply-To: <200411150032.36476.gambasfr@...11...> References: <41968cd0.24f4.0@...9...> <200411142217.22470.ronstk@...239...> <200411150032.36476.gambasfr@...11...> Message-ID: <200411150734.53388.ronstk@...239...> On Monday 15 November 2004 00:32, Bodard Fabien wrote: | Le dimanche 14 Novembre 2004 22:17, Ron Onstenk a ?crit?: | > On Sunday 14 November 2004 20:58, Bodard Fabien wrote: | > | thank for your mind work... i hope you like my work | > | | > | Fabien | > | > The look is good if javascript is enabled. Thats not my case. | | if you have a soluce to have menu without javascript... i heard you... it's not to bad for a menu with folders open and close. | | javascript is used as minimal as i can ... i use in fact many feature of css | It is the javascript used to handle CSS attributes that is very browser dependend. I have seen the css file, we live here with linux, MS stuff. The page looks good at IE, less on FF and Konqi. | But to give the maximal of information to user in one page... menu systems | seem to me the more usefull... True but a page for the menu entry in a frame is more reliable between browsers | | and ... why don't you use javascript...? all modern broswer include it !... | i've stopped to use lynx since... many year .. i use it just on some old | server ! Why is simple, we have gambas :) Just joking. Reverse, why use it? With the hell of spyware, advertisment popups, counter sites and behavior trakkers etc, the advise is alway switch it off. I did. Less spam nowadays :) I can say the most sites I visit works well without it and have also active menus with style sheet. See: http://www.meyerweb.com/eric/css/edge/complexspiral/demo.html http://www.meyerweb.com/eric/css/edge/menus/demo.html the menu is on the right side without javascript ! http://www.serve.com/apg/workshop/cssMenu.html dropdown bar on top http://www.surguy.net/menu/index.html This is a pure CSS pop-up menu; there is no JavaScript being used for the popups. | | i remember one of my first installation of linux.. in 1996 ..; with already | netscape ! | | | Fabien Greets Ron. From ronan at ...384... Mon Nov 15 10:23:49 2004 From: ronan at ...384... (Ronan Chilvers) Date: Mon, 15 Nov 2004 09:23:49 +0000 Subject: [Gambas-user] XML component examples In-Reply-To: <200411141912.09219.ronstk@...239...> References: <41968cd0.24f4.0@...9...> <200411141602.39427.ronstk@...239...> <41978276.3070502@...384...> <200411141912.09219.ronstk@...239...> Message-ID: <419875A5.4090705@...384...> Ron Onstenk wrote: > | > > > but this one also should be *:80 or ? > Yes, I reckon you could do this one the same, too. > IE, Konqueror and FireFox > I changed the gateway to the winbox and a old router program between > the ethernet and ISDN card after sending the previous message. > All can reach using ISDN, ADSL disconnected, across the window box > None can using the ADSL connection without proxy.tiscali.nl > > The www site is with ADSL and ISDN OK. Tiscali wouldn't be blocking port 80 on your connection would they ? Would be very strange if you have > | > | > | > | ???? Apache started by inetd ? Why? > > No idea why Leo does. > Unusual to run apache through inetd, except on very low access sites. As traffic mounts apache should be run as a daemon, really. > For me it does, I'm not that big guru, it make sense as I had also > some questions about the DNS records, I got back was a bit strange. > > Thanks for you explain and tips. I send to Leo the webmaster. At least we'll be a step further on to sorting it out, eh!!??!! :-) Cheers Ronan -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 256 bytes Desc: OpenPGP digital signature URL: From ronan at ...384... Mon Nov 15 10:27:17 2004 From: ronan at ...384... (Ronan Chilvers) Date: Mon, 15 Nov 2004 09:27:17 +0000 Subject: [Gambas-user] XML component examples In-Reply-To: <200411142112.10339.leo.barnhoorn@...246...> References: <41968cd0.24f4.0@...9...> <41978276.3070502@...384...> <200411141912.09219.ronstk@...239...> <200411142112.10339.leo.barnhoorn@...246...> Message-ID: <41987675.6040409@...384...> Hi Leo Leo Barnhoorn wrote: > Hello Ron, Ronan, > > I make the changes Ron, Ronan, i hope this will work. > > Regards, > Leo. > It may not solve the whole problem, but it will get us a stage further on I think. You can get a pretty comprehensive DNS health check at www.dnsreport.com. Its very good at weeding out any potential glitches in the DNS records. (Interestingly enough it failed to contact the nameservers for gambas. with the CNAME in place, but ran fine on www.) Cheers Ronan -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 256 bytes Desc: OpenPGP digital signature URL: From ronan at ...384... Mon Nov 15 11:01:10 2004 From: ronan at ...384... (Ronan Chilvers) Date: Mon, 15 Nov 2004 10:01:10 +0000 Subject: [Gambas-user] XML component examples In-Reply-To: <200411142112.10339.leo.barnhoorn@...246...> References: <41968cd0.24f4.0@...9...> <41978276.3070502@...384...> <200411141912.09219.ronstk@...239...> <200411142112.10339.leo.barnhoorn@...246...> Message-ID: <41987E66.4080404@...384...> Hi Leo Leo Barnhoorn wrote: > Hello Ron, Ronan, > > I make the changes Ron, Ronan, i hope this will work. > Just noticed another odd thing. Here's a dig output:- [ronan at ...687... ronan]$ dig magic-systems.net any ; <<>> DiG 9.2.3 <<>> magic-systems.net any ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21853 ;; flags: qr rd; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 1 ;; QUESTION SECTION: ;magic-systems.net. IN ANY ;; ANSWER SECTION: magic-systems.net. 85161 IN NS ns1.directnic.com. magic-systems.net. 85161 IN NS ns0.directnic.com. ;; AUTHORITY SECTION: magic-systems.net. 85161 IN NS ns0.directnic.com. magic-systems.net. 85161 IN NS ns1.directnic.com. ;; ADDITIONAL SECTION: ns0.directnic.com. 158238 IN A 204.251.10.100 ;; Query time: 39 msec ;; SERVER: 192.168.100.5#53(192.168.100.5) ;; WHEN: Mon Nov 15 09:52:04 2004 ;; MSG SIZE rcvd: 128 So although the domain is set up with 2 NS records, only one is resolving correctly... Do the NS records for the magic-systems.net root domain look right? Ronan -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 256 bytes Desc: OpenPGP digital signature URL: From oxleyd at ...364... Mon Nov 15 11:06:56 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Mon, 15 Nov 2004 11:06:56 +0100 Subject: [Gambas-user] Signature.asc file In-Reply-To: <41987E66.4080404@...384...> Message-ID: <200411151006.iAFA6RUs013009@...364...> Ron, totally off topic... Which mail client do you use that allows you to attach your PGP (or GPG) public key file? Thanks, Daniel From ronan at ...384... Mon Nov 15 11:09:44 2004 From: ronan at ...384... (Ronan Chilvers) Date: Mon, 15 Nov 2004 10:09:44 +0000 Subject: [Gambas-user] XML component examples In-Reply-To: <41987E66.4080404@...384...> References: <41968cd0.24f4.0@...9...> <41978276.3070502@...384...> <200411141912.09219.ronstk@...239...> <200411142112.10339.leo.barnhoorn@...246...> <41987E66.4080404@...384...> Message-ID: <41988068.1010401@...384...> Ooops... sorry. My mistake. Querying the wrong thing. Ignore that one !!! :-D Cheers Ronan Ronan Chilvers wrote: > Hi Leo > > Leo Barnhoorn wrote: > >> Hello Ron, Ronan, >> >> I make the changes Ron, Ronan, i hope this will work. >> > Just noticed another odd thing. Here's a dig output:- > > [ronan at ...687... ronan]$ dig magic-systems.net any > > ; <<>> DiG 9.2.3 <<>> magic-systems.net any > ;; global options: printcmd > ;; Got answer: > ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21853 > ;; flags: qr rd; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 1 > > ;; QUESTION SECTION: > ;magic-systems.net. IN ANY > > ;; ANSWER SECTION: > magic-systems.net. 85161 IN NS ns1.directnic.com. > magic-systems.net. 85161 IN NS ns0.directnic.com. > > ;; AUTHORITY SECTION: > magic-systems.net. 85161 IN NS ns0.directnic.com. > magic-systems.net. 85161 IN NS ns1.directnic.com. > > ;; ADDITIONAL SECTION: > ns0.directnic.com. 158238 IN A 204.251.10.100 > > ;; Query time: 39 msec > ;; SERVER: 192.168.100.5#53(192.168.100.5) > ;; WHEN: Mon Nov 15 09:52:04 2004 > ;; MSG SIZE rcvd: 128 > > So although the domain is set up with 2 NS records, only one is > resolving correctly... Do the NS records for the magic-systems.net root > domain look right? > > Ronan -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 256 bytes Desc: OpenPGP digital signature URL: From sdnpaolo at ...69... Mon Nov 15 11:23:26 2004 From: sdnpaolo at ...69... (Paolo Saudin) Date: Mon, 15 Nov 2004 11:23:26 +0100 Subject: R: [Gambas-user] Yellowdog problem In-Reply-To: <200411141909.16046.gambas@...1...> Message-ID: Here what I got by debugging [paolo at ...688... gambas-0.99.RC2]$ sudo gdb gbi GNU gdb Red Hat Linux (6.0post-0.20040223.19.ydl.1rh) Copyright 2004 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 "ppc-yellowdog-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) run -a Starting program: /usr/bin/gbi -a /opt/gambas/share/gambas/info/gb.eval.info Program received signal SIGSEGV, Segmentation fault. 0x0fef1b00 in strlen () from /lib/tls/libc.so.6 (gdb) bt #0 0x0fef1b00 in strlen () from /lib/tls/libc.so.6 #1 0x0febbdb0 in vfprintf () from /lib/tls/libc.so.6 #2 0x10002318 in print (fmt=Variable "fmt" is not available. ) at gbi.c:89 #3 0x10002394 in dump_symbol (desc=0xed7edc0) at gbi.c:357 #4 0x10002b8c in analyze_class (desc=0xed7edc0) at gbi.c:423 #5 0x10002ca8 in analyze (path=Variable "path" is not available. ) at gbi.c:472 #6 0x1000308c in main (argc=Variable "argc" is not available. ) at gbi.c:645 (gdb) Thanks Paolo -----Messaggio originale----- Da: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] Per conto di Benoit Minisini Inviato: domenica 14 novembre 2004 19.09 A: gambas-user at lists.sourceforge.net Oggetto: Re: [Gambas-user] Yellowdog problem On Friday 12 November 2004 13:18, Paolo Saudin wrote: > Hi all, I tried to install Gambas on Yellowdog 4.0 for ppc and both the > ./configure and the make commands run ok. But when I run make install, i > get the following error : > ................. > ................. > Making symbolic links in /usr/bin... > > Creating the library info files... > /opt/gambas/share/gambas/info/gb.eval.info > make[2]: *** [install-exec-local] Segmentation fault > make[2]: Leaving directory `/home/paolo/_Gambas/gambas-0.99.RC2' > make[1]: *** [install-am] Error 2 > make[1]: Leaving directory `/home/paolo/_Gambas/gambas-0.99.RC2' > make: *** [install-recursive] Error 1 > > I tried Gambas 0.99, 0.99RC1 and RC2 with the same results. Any idea? > > Regards > Paolo Saudin > Can you debug the gbi program and tell me where it crashes ? $ gdb gbi ... $ run -a ... *crash* $ bt Thanks in advance, -- Benoit Minisini mailto:gambas at ...1... ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From leo.barnhoorn at ...246... Mon Nov 15 12:35:40 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Mon, 15 Nov 2004 12:35:40 +0100 Subject: [Gambas-user] XML component examples In-Reply-To: <41987675.6040409@...384...> References: <41968cd0.24f4.0@...9...> <200411142112.10339.leo.barnhoorn@...246...> <41987675.6040409@...384...> Message-ID: <200411151235.40538.leo.barnhoorn@...246...> Hello Ronan, > It may not solve the whole problem, but it will get us a stage further > on I think. I think also thats true. You can look also on this site www.squish.net/dnscheck Gifs a lot of information about a domain you check. On the site above it returns A record for gambas. Regards, Leo. On Monday 15 November 2004 10:27, Ronan Chilvers wrote: > Hi Leo > > Leo Barnhoorn wrote: > > Hello Ron, Ronan, > > > > I make the changes Ron, Ronan, i hope this will work. > > > > Regards, > > Leo. > > It may not solve the whole problem, but it will get us a stage further > on I think. > > You can get a pretty comprehensive DNS health check at > www.dnsreport.com. Its very good at weeding out any potential glitches > in the DNS records. (Interestingly enough it failed to contact the > nameservers for gambas. with the CNAME in place, but ran fine on www.) > > Cheers > > Ronan From sourceforge-raindog2 at ...94... Mon Nov 15 14:25:42 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 15 Nov 2004 08:25:42 -0500 Subject: [Gambas-user] XML component examples In-Reply-To: <200411150734.53388.ronstk@...239...> References: <41968cd0.24f4.0@...9...> <200411150032.36476.gambasfr@...11...> <200411150734.53388.ronstk@...239...> Message-ID: <200411150821.41070.sourceforge-raindog2@...94...> On Monday 15 November 2004 01:34, Ron Onstenk wrote: > | javascript is used as minimal as i can ... i use in fact > | many feature of css > It is the javascript used to handle CSS attributes that is > very browser dependend. I have seen the css file, we live here > with linux, MS stuff. The page looks good at IE, less on FF > and Konqi. In Firefox, if you go View/Page Style/None, it displays the whole menu. This is how I navigate Fabien's site, even though I have javascript enabled, because I hate rollover menus (or really, rollover anything except for tooltips) with a passion. Having a link on each page to a non-javascript sitemap would make that site a lot more usable. The only time I ever visit it presently is if someone links to their code on it. Sorry Fabien, I know it was a lot of work for you and I don't mean to detract from it. Rob From sourceforge-raindog2 at ...94... Mon Nov 15 14:48:13 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 15 Nov 2004 08:48:13 -0500 Subject: [Gambas-user] Signature.asc file In-Reply-To: <200411151006.iAFA6RUs013009@...364...> References: <200411151006.iAFA6RUs013009@...364...> Message-ID: <200411150848.13469.sourceforge-raindog2@...94...> On Monday 15 November 2004 05:06, Daniel Oxley wrote: > Which mail client do you use that allows you to attach your > PGP (or GPG) public key file? It was Ronan who's been signing his messages lately, and it looks like he's using: User-Agent: Mozilla Thunderbird 0.8 (X11/20040913) However, Kmail also lets you sign messages, and I would be signing my posts if I had a public key tied to my sourceforge address. I sign or encrypt all my business mails... Rob From ronan at ...384... Mon Nov 15 14:53:38 2004 From: ronan at ...384... (Ronan Chilvers) Date: Mon, 15 Nov 2004 13:53:38 +0000 Subject: [Gambas-user] Signature.asc file In-Reply-To: <200411150848.13469.sourceforge-raindog2@...94...> References: <200411151006.iAFA6RUs013009@...364...> <200411150848.13469.sourceforge-raindog2@...94...> Message-ID: <4198B4E2.7080805@...384...> Hi Rob, Daniel Sorry, didn't cotton on. Rob wrote: > It was Ronan who's been signing his messages lately, and it looks > like he's using: > > User-Agent: Mozilla Thunderbird 0.8 (X11/20040913) > Yup, with Enigmail / Enigmime to do the heavy lifting... Cheers Ronan -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 256 bytes Desc: OpenPGP digital signature URL: From oxleyd at ...364... Mon Nov 15 15:11:59 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Mon, 15 Nov 2004 15:11:59 +0100 Subject: [Gambas-user] Signature.asc file In-Reply-To: <200411150848.13469.sourceforge-raindog2@...94...> Message-ID: <200411151411.iAFEBTUs019337@...364...> Thanks! I am stuck on (dare I say it) Outlook Express, as I read this thread at work. Daniel -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Rob Sent: 15 November 2004 14:48 To: gambas-user at lists.sourceforge.net Subject: Re: [Gambas-user] Signature.asc file On Monday 15 November 2004 05:06, Daniel Oxley wrote: > Which mail client do you use that allows you to attach your > PGP (or GPG) public key file? It was Ronan who's been signing his messages lately, and it looks like he's using: User-Agent: Mozilla Thunderbird 0.8 (X11/20040913) However, Kmail also lets you sign messages, and I would be signing my posts if I had a public key tied to my sourceforge address. I sign or encrypt all my business mails... Rob ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From sourceforge-raindog2 at ...94... Mon Nov 15 16:32:43 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 15 Nov 2004 10:32:43 -0500 Subject: [Gambas-user] OT: Signature.asc file In-Reply-To: <200411151411.iAFEBTUs019337@...364...> References: <200411151411.iAFEBTUs019337@...364...> Message-ID: <200411151032.43915.sourceforge-raindog2@...94...> On Monday 15 November 2004 09:11, Daniel Oxley wrote: > Thanks! I am stuck on (dare I say it) Outlook Express, as I > read this thread at work. I'm surprised you can read signed posts at all, then. I have a client who uses OE and I have to turn off signing when I send to him for that reason. Rob From sourceforge-raindog2 at ...94... Mon Nov 15 16:41:24 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 15 Nov 2004 10:41:24 -0500 Subject: [Gambas-user] wiki server temporarily dead Message-ID: <200411151041.24980.sourceforge-raindog2@...94...> Sorry to those who've tried to hit the Gambas wiki in the last day or so. Our colo site had a power problem and the web server box is acting up. They're supposed to be rebooting it this morning but they haven't done so yet. Rob From oxleyd at ...364... Mon Nov 15 16:44:15 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Mon, 15 Nov 2004 16:44:15 +0100 Subject: [Gambas-user] OT: Signature.asc file In-Reply-To: <200411151032.43915.sourceforge-raindog2@...94...> Message-ID: <200411151543.iAFFhjUs022445@...364...> I've never had a problem. You just set OE up to use PGP and it does everything for me. I can read and send signed and/or encrypted messages. Daniel -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Rob Sent: 15 November 2004 16:33 To: gambas-user at lists.sourceforge.net Subject: [Gambas-user] OT: Signature.asc file On Monday 15 November 2004 09:11, Daniel Oxley wrote: > Thanks! I am stuck on (dare I say it) Outlook Express, as I > read this thread at work. I'm surprised you can read signed posts at all, then. I have a client who uses OE and I have to turn off signing when I send to him for that reason. Rob ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambasfr at ...11... Mon Nov 15 19:48:08 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Mon, 15 Nov 2004 19:48:08 +0100 Subject: [Gambas-user] XML component examples In-Reply-To: <200411150821.41070.sourceforge-raindog2@...94...> References: <41968cd0.24f4.0@...9...> <200411150734.53388.ronstk@...239...> <200411150821.41070.sourceforge-raindog2@...94...> Message-ID: <200411151948.08688.gambasfr@...11...> Le lundi 15 Novembre 2004 14:25, Rob a ?crit?: > On Monday 15 November 2004 01:34, Ron Onstenk wrote: > > | javascript is used as minimal as i can ... i use in fact > > | many feature of css > > > > It is the javascript used to handle CSS attributes that is > > very browser dependend. I have seen the css file, we live here > > with linux, MS stuff. The page looks good at IE, less on FF > > and Konqi. > > In Firefox, if you go View/Page Style/None, it displays the whole > menu. This is how I navigate Fabien's site, even though I have > javascript enabled, because I hate rollover menus (or really, > rollover anything except for tooltips) with a passion. > > Having a link on each page to a non-javascript sitemap would make > that site a lot more usable. The only time I ever visit it > presently is if someone links to their code on it. Sorry > Fabien, I know it was a lot of work for you and I don't mean to > detract from it. > > Rob > hum... promish i'm going to see what i can do... In reallity i think it wil be easy to do what i want on my site... all the menu map is strored in an array... and then a function parse it... i've just to change this function..; in fact ! $armenu = array(menu1=>array( text=>"Home", link=>$ToscaConfig_Site_url, ), menu2=>array( text=>"Codes", link=>"index.php", menuitem=>array( menuitem1=>array( text=>"All codes", link=>"codeslist.php", picture=>$ToscaConfig_Site_url."/media/gambas24.gif", info=>false ), menuitem2=>array( text=>"All better codes", link=>"index.php", picture=>$ToscaConfig_Site_url."/media/none.gif", info=>false ), menuitem3=>array( text=>"-" ), menuitem4=>array( text=>"Add a new source", link=>"addcode.php", picture=>$ToscaConfig_Site_url."/media/none.gif", info=>false ) ) ), menu3=>array( text=>"Codes by category", link=>"codeslist.php", menuitem=>array( menuitem1=>array( text=>"no category", link=>"index.php", picture=>$ToscaConfig_Site_url."/media/none.gif", info=>true ) ) ), menu4=>array( text=>"Connection", link=>"logform.php", menuitem=>array( menuitem1=>array( text=>$logframe, link=>"index.php", picture=>$ToscaConfig_Site_url."/media/none.gif", info=>true ) ) ), etc... fabien Bodard > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From macisaac at ...689... Mon Nov 15 20:37:58 2004 From: macisaac at ...689... (Michael Isaac) Date: Mon, 15 Nov 2004 11:37:58 -0800 Subject: [Gambas-user] gambas road map In-Reply-To: <200411150004.35665.sourceforge-raindog2@...94...> References: <200411150004.35665.sourceforge-raindog2@...94...> Message-ID: <41990596.2080107@...689...> Looking over the gambas road map, I see that there are plans but the whole IDE in one window. i dont like that. i always turn that off in vb. so can it atleast be an option? and also, could you make the code editor seperate the code like the vb editor does? I find it much simipler. I have attached an example, its buggy so it with care. Michael -------------- next part -------------- A non-text attachment was scrubbed... Name: vbEditor-0.1.1.tar.gz Type: application/x-gzip Size: 1822 bytes Desc: not available URL: From Karl.Reinl at ...9... Mon Nov 15 22:58:37 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 15 Nov 2004 22:58:37 +0100 Subject: [Gambas-user] gambas settings Message-ID: <200411152258.37254.Karl.Reinl@...9...> Salut Benoit, two remarkes about gambas settings. 1. have a look to the attached archiv, you can add gambas executable to the list, and you can delete them from the list. But they don't realy dissapear in the list, thats only why I added the 'Count'. Whats needed is a Settings.Clear to empty the settings. 2. I was shocked, while I saw my database passwords in plain text in gambas-database-manager.conf. I can't find words for that . That may be usefull, and helpfull for lazy ones , but that is not realy security. That Windows 98 like. Amicalment Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: CallingAps-0.0.1.tar.gz Type: application/x-tgz Size: 11491 bytes Desc: not available URL: From oxleyd at ...364... Tue Nov 16 09:03:18 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Tue, 16 Nov 2004 09:03:18 +0100 Subject: [Gambas-user] gambas settings In-Reply-To: <200411152258.37254.Karl.Reinl@...9...> Message-ID: <200411160802.iAG82kUs031747@...364...> Lol! As bad as Windows 98? Surely not!?!! -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Charlie Reinl Sent: 15 November 2004 22:59 To: gambas-user Subject: [Gambas-user] gambas settings Salut Benoit, two remarkes about gambas settings. 1. have a look to the attached archiv, you can add gambas executable to the list, and you can delete them from the list. But they don't realy dissapear in the list, thats only why I added the 'Count'. Whats needed is a Settings.Clear to empty the settings. 2. I was shocked, while I saw my database passwords in plain text in gambas-database-manager.conf. I can't find words for that . That may be usefull, and helpfull for lazy ones , but that is not realy security. That Windows 98 like. Amicalment Charlie From na2492 at ...9... Tue Nov 16 11:47:45 2004 From: na2492 at ...9... (Charlie Reinl) Date: Tue, 16 Nov 2004 11:47:45 00100 Subject: [Gambas-user] gambas settings Message-ID: <4199dad1.3ed4.0@...9...> >Lol! As bad as Windows 98? Surely not!?!! Not as bad, but as open > >-----Original Message----- >From: gambas-user-admin at lists.sourceforge.net >[mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Charlie Reinl >Sent: 15 November 2004 22:59 >To: gambas-user >Subject: [Gambas-user] gambas settings > >Salut Benoit, > >two remarkes about gambas settings. > >1. have a look to the attached archiv, you can add gambas executable to the >list, and you can delete them from the list. > >But they don't realy dissapear in the list, thats only why I added the >'Count'. >Whats needed is a Settings.Clear to empty the settings. > >2. I was shocked, while I saw my database passwords in plain text in >gambas-database-manager.conf. >I can't find words for that . >That may be usefull, and helpfull for lazy ones , but that is not realy >security. > >That Windows 98 like. > >Amicalment >Charlie > > > > >------------------------------------------------------- >This SF.Net email is sponsored by: InterSystems CACHE >FREE OODBMS DOWNLOAD - A multidimensional database that combines >robust object and relational technologies, making it a perfect match >for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From nferraz at ...184... Tue Nov 16 14:32:18 2004 From: nferraz at ...184... (Nelson Ferraz) Date: Tue, 16 Nov 2004 11:32:18 -0200 Subject: [Gambas-user] gambas settings In-Reply-To: <200411152258.37254.Karl.Reinl@...9...> References: <200411152258.37254.Karl.Reinl@...9...> Message-ID: <419A0162.6000801@...184...> Charlie Reinl wrote: > 2. I was shocked, while I saw my database passwords in plain text in > gambas-database-manager.conf. > I can't find words for that . > That may be usefull, and helpfull for lazy ones , but that is not realy > security. You could encrypt the passwords, but the database manager would have to decrypt them anyway... where would you store the passwords' password? (This will be a problem even if you ship a compiled application with a hardcoded password.) Perhaps the password should be asked at runtime. From gambas at ...1... Tue Nov 16 14:54:15 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 16 Nov 2004 14:54:15 +0100 Subject: [Gambas-user] gambas settings In-Reply-To: <200411152258.37254.Karl.Reinl@...9...> References: <200411152258.37254.Karl.Reinl@...9...> Message-ID: <200411161454.16145.gambas@...1...> On Monday 15 November 2004 22:58, Charlie Reinl wrote: > Salut Benoit, > > two remarkes about gambas settings. > > 1. have a look to the attached archiv, you can add gambas executable to the > list, and you can delete them from the list. > > But they don't realy dissapear in the list, thats only why I added the > 'Count'. > Whats needed is a Settings.Clear to empty the settings. > And if you set NULL to the settings you want to remove ? > 2. I was shocked, while I saw my database passwords in plain text in > gambas-database-manager.conf. > I can't find words for that . > That may be usefull, and helpfull for lazy ones , but that is not realy > security. > > That Windows 98 like. And worse... if you put a password in your code, the password will be readable in the project executable. As for the database manager, the solution is some crypting, or simply not storing the password in the configuration file. I will do crypting when I have a component to do it :-) > > Amicalment > Charlie Regards, -- Benoit Minisini mailto:gambas at ...1... From na2492 at ...9... Tue Nov 16 15:11:50 2004 From: na2492 at ...9... (Charlie Reinl) Date: Tue, 16 Nov 2004 15:11:50 00100 Subject: [Gambas-user] gambas settings Message-ID: <419a0aa6.7bf.0@...9...> >Charlie Reinl wrote: >> 2. I was shocked, while I saw my database passwords in plain text in >> gambas-database-manager.conf. >> I can't find words for that . >> That may be usefull, and helpfull for lazy ones , but that is not realy >> security. > >You could encrypt the passwords, but the database manager would have to >decrypt them anyway... where would you store the passwords' password? > >(This will be a problem even if you ship a compiled application with a >hardcoded password.) > >Perhaps the password should be asked at runtime. YES Or aske if it could be stored ! > >------------------------------------------------------- >This SF.Net email is sponsored by: InterSystems CACHE >FREE OODBMS DOWNLOAD - A multidimensional database that combines >robust object and relational technologies, making it a perfect match >for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From oxleyd at ...364... Tue Nov 16 15:41:00 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Tue, 16 Nov 2004 15:41:00 +0100 Subject: [Gambas-user] gambas settings In-Reply-To: <200411161454.16145.gambas@...1...> Message-ID: <200411161440.iAGEe5Us010254@...364...> -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Benoit Minisini Sent: 16 November 2004 14:54 To: gambas-user at lists.sourceforge.net Subject: Re: [Gambas-user] gambas settings On Monday 15 November 2004 22:58, Charlie Reinl wrote: > Salut Benoit, > > two remarkes about gambas settings. > > 1. have a look to the attached archiv, you can add gambas executable to the > list, and you can delete them from the list. > > But they don't realy dissapear in the list, thats only why I added the > 'Count'. > Whats needed is a Settings.Clear to empty the settings. > And if you set NULL to the settings you want to remove ? > 2. I was shocked, while I saw my database passwords in plain text in > gambas-database-manager.conf. > I can't find words for that . > That may be usefull, and helpfull for lazy ones , but that is not realy > security. > > That Windows 98 like. And worse... if you put a password in your code, the password will be readable in the project executable. As for the database manager, the solution is some crypting, or simply not storing the password in the configuration file. I will do crypting when I have a component to do it :-) ------------------------------------------------------------------------- There was a reader on this list who submitted a blowfish cryption module. He was called Brent I believe. Could this not be used? From nferraz at ...184... Tue Nov 16 16:17:52 2004 From: nferraz at ...184... (Nelson Ferraz) Date: Tue, 16 Nov 2004 13:17:52 -0200 Subject: [Gambas-user] gambas settings In-Reply-To: <200411161440.iAGEe5Us010254@...364...> References: <200411161440.iAGEe5Us010254@...364...> Message-ID: <419A1A20.8080009@...184...> Daniel Oxley wrote: > There was a reader on this list who submitted a blowfish cryption module. > He was called Brent I believe. Could this not be used? No matter what encryption method is used (Blowfish, DES, RC5, etc), the password must be decrypted before it is sent to the database. That said, encrypting is a bit more secure than storing plain text, since it avoids "casual viewers". A warning dialog, before the password is saved, should be mandatory. From scatman_ at ...17... Tue Nov 16 19:15:44 2004 From: scatman_ at ...17... (scatman) Date: Tue, 16 Nov 2004 19:15:44 +0100 Subject: [Gambas-user] Resizable Funktion? Message-ID: <200411161915.44627.scatman_@...17...> Hallo. it is Possible to make a Resizable Funktion like Kommander? In Kommander just Click on the Form and Press STRG + G, thats all to make a Resizable Application. Nice Feature :-) thanks -- scatman From sourceforge-raindog2 at ...94... Tue Nov 16 22:41:19 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 16 Nov 2004 16:41:19 -0500 Subject: [Gambas-user] bug in gambas package maker Message-ID: <200411161641.19611.sourceforge-raindog2@...94...> Every time I make a package, gambas wastes my .rpmmacros file in my home directory. Looking at the IDE source, this seems to be intentional. Would it be possible to save any existing .rpmmacros file and restore it after the packages are made? Rob From na2492 at ...9... Tue Nov 16 23:16:40 2004 From: na2492 at ...9... (Charlie Reinl) Date: Tue, 16 Nov 2004 23:16:40 00100 Subject: [Gambas-user] gambas settings Message-ID: <419a7c48.6d48.0@...9...> >On Monday 15 November 2004 22:58, Charlie Reinl wrote: >> Salut Benoit, >> >> two remarkes about gambas settings. >> >> 1. have a look to the attached archiv, you can add gambas executable to the >> list, and you can delete them from the list. >> >> But they don't realy dissapear in the list, thats only why I added the >> 'Count'. >> Whats needed is a Settings.Clear to empty the settings. >> > >And if you set NULL to the settings you want to remove ? Yes, that workes. What I do is the following: I move the original Setting-file to TmpSetting-file, and try to copy only the good ones to the new (original) Setting-file. That workes, but the n +1 rest staiyng in the file , while in memory, when I say setting.save. The Settings.Clear means to Clear all what is hold in backgroud. >> 2. I was shocked, while I saw my database passwords in plain text in >> gambas-database-manager.conf. >> I can't find words for that . >> That may be usefull, and helpfull for lazy ones , but that is not realy >> security. >> >> That Windows 98 like. > >And worse... if you put a password in your code, the password will be readable >in the project executable. > >As for the database manager, the solution is some crypting, or simply not >storing the password in the configuration file. > >I will do crypting when I have a component to do it :-) > >> >> Amicalment >> Charlie > >Regards, > >-- >Benoit Minisini >mailto:gambas at ...1... > > >------------------------------------------------------- >This SF.Net email is sponsored by: InterSystems CACHE >FREE OODBMS DOWNLOAD - A multidimensional database that combines >robust object and relational technologies, making it a perfect match >for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From ricardo.blanco at ...676... Tue Nov 16 23:53:35 2004 From: ricardo.blanco at ...676... (Rick) Date: Tue, 16 Nov 2004 16:53:35 -0600 Subject: [Gambas-user] how to distribute an app made in gambas?? References: <200411072002.35341.gambas@...1...> Message-ID: <004c01c4cc2f$215033d0$2801a8c0@...690...> sorry by my question, i know its very basic, if i have finished my app in gambas, how can i generate a rpm file or an installer for my app, i want to run it on other linux stations, but without running it from gambas thanks by your answers!!! =) From gambas at ...1... Wed Nov 17 10:28:10 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 17 Nov 2004 10:28:10 +0100 Subject: [Gambas-user] Resizable Funktion? In-Reply-To: <200411161915.44627.scatman_@...17...> References: <200411161915.44627.scatman_@...17...> Message-ID: <200411171028.10449.gambas@...1...> On Tuesday 16 November 2004 19:15, scatman wrote: > Hallo. > > it is Possible to make a Resizable Funktion like Kommander? > > In Kommander just Click on the Form and Press STRG + G, thats all to make a > Resizable Application. > > Nice Feature :-) > > thanks What is this function doing exactly ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Nov 17 10:32:20 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 17 Nov 2004 10:32:20 +0100 Subject: [Gambas-user] bug in gambas package maker In-Reply-To: <200411161641.19611.sourceforge-raindog2@...94...> References: <200411161641.19611.sourceforge-raindog2@...94...> Message-ID: <200411171032.20894.gambas@...1...> On Tuesday 16 November 2004 22:41, Rob wrote: > Every time I make a package, gambas wastes my .rpmmacros file in > my home directory. Looking at the IDE source, this seems to be > intentional. Would it be possible to save any existing > .rpmmacros file and restore it after the packages are made? > > Rob > > > OK, fixed ! -- Benoit Minisini mailto:gambas at ...1... From scatman_ at ...17... Wed Nov 17 11:01:49 2004 From: scatman_ at ...17... (scatman) Date: Wed, 17 Nov 2004 11:01:49 +0100 Subject: [Gambas-user] Resizable Funktion? In-Reply-To: <200411171028.10449.gambas@...1...> References: <200411161915.44627.scatman_@...17...> <200411171028.10449.gambas@...1...> Message-ID: <200411171101.50006.scatman_@...17...> Am Mittwoch, 17. November 2004 10:28 schrieb Benoit Minisini: Hallo, > > In Kommander just Click on the Form and Press STRG + G, thats all to make > > a Resizable Application. > > > > Nice Feature :-) > What is this function doing exactly ? With this funktion, you don't must wrote the PUBLIC SUB Form_Resize() for Resizable Application. Kommander takes over this. regards, -- scatman From ronstk at ...239... Wed Nov 17 12:06:54 2004 From: ronstk at ...239... (Ron Onstenk) Date: Wed, 17 Nov 2004 12:06:54 +0100 Subject: [Gambas-user] Resizable Funktion? In-Reply-To: <200411171101.50006.scatman_@...17...> References: <200411161915.44627.scatman_@...17...> <200411171028.10449.gambas@...1...> <200411171101.50006.scatman_@...17...> Message-ID: <200411171206.55573.ronstk@...239...> On Wednesday 17 November 2004 11:01, scatman wrote: | Am Mittwoch, 17. November 2004 10:28 schrieb Benoit Minisini: | | Hallo, | | > > In Kommander just Click on the Form and Press STRG + G, thats all to make | > > a Resizable Application. | > > | > > Nice Feature :-) | | > What is this function doing exactly ? | | With this funktion, you don't must wrote the PUBLIC SUB Form_Resize() for | Resizable Application. | | Kommander takes over this. | | regards, I'm afraid for this. Let it be a option, that can be used but do not change to this behavior, please. There are simple widgets that should not change width/hight on resize of the main form. There are many program that have on the horizontal axis 2 widgets. If this is done automatic it spreads the two in percent if the width is changed. Take for example KMail. if you set the left tree to a size and change the width it, the tree, holds the width, (unless it becomes to small). If I have kmail half screen width and the tree at 1/3 of it the width stays if I resize to full screen width. With Kdetv the channel list must have a width to be able to read the channels. If it is set to a very small window or full size the width should not change. However the width is a percent of the initial width and changing to full screen changes the channel list width also, losing the reason to go full screen. The space is occupied by the also widen channel list. very nasty. :( Ron From gambas at ...1... Wed Nov 17 12:05:39 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 17 Nov 2004 12:05:39 +0100 Subject: [Gambas-user] Resizable Funktion? In-Reply-To: <200411171101.50006.scatman_@...17...> References: <200411161915.44627.scatman_@...17...> <200411171028.10449.gambas@...1...> <200411171101.50006.scatman_@...17...> Message-ID: <200411171205.39683.gambas@...1...> On Wednesday 17 November 2004 11:01, scatman wrote: > Am Mittwoch, 17. November 2004 10:28 schrieb Benoit Minisini: > > Hallo, > > > > In Kommander just Click on the Form and Press STRG + G, thats all to > > > make a Resizable Application. > > > > > > Nice Feature :-) > > > > What is this function doing exactly ? > > With this funktion, you don't must wrote the PUBLIC SUB Form_Resize() for > Resizable Application. > > Kommander takes over this. > > regards, OK, but what does it do exactly in details ? What does it resize exactly ? -- Benoit Minisini mailto:gambas at ...1... From scatman_ at ...17... Wed Nov 17 13:11:25 2004 From: scatman_ at ...17... (scatman) Date: Wed, 17 Nov 2004 13:11:25 +0100 Subject: [Gambas-user] Resizable Funktion? In-Reply-To: <200411171205.39683.gambas@...1...> References: <200411161915.44627.scatman_@...17...> <200411171101.50006.scatman_@...17...> <200411171205.39683.gambas@...1...> Message-ID: <200411171311.25610.scatman_@...17...> Am Mittwoch, 17. November 2004 12:05 schrieb Benoit Minisini: Hallo, > > Kommander takes over this. > OK, but what does it do exactly in details ? What does it resize exactly ? Example: I have a Project with a TreeView, Buttons, TextArea etc. In Gambas i must use the Form_Resize() for Resizable Programs. (And i don't know, how it correctly works) :-) ashamed In Kommander, i clicked on the Form, Press STRG + G and all are Resizable. Whats Kommander do, I don't know. But it works correctly. How can i find a instructions for Resize in Gambas? thanks -- scatman From ronstk at ...239... Wed Nov 17 13:36:28 2004 From: ronstk at ...239... (Ron Onstenk) Date: Wed, 17 Nov 2004 13:36:28 +0100 Subject: [Gambas-user] Resizable Funktion? In-Reply-To: <200411171205.39683.gambas@...1...> References: <200411161915.44627.scatman_@...17...> <200411171101.50006.scatman_@...17...> <200411171205.39683.gambas@...1...> Message-ID: <200411171336.28582.ronstk@...239...> On Wednesday 17 November 2004 12:05, Benoit Minisini wrote: | On Wednesday 17 November 2004 11:01, scatman wrote: | > Am Mittwoch, 17. November 2004 10:28 schrieb Benoit Minisini: | > | > Hallo, | > | > > > In Kommander just Click on the Form and Press STRG + G, thats all to | > > > make a Resizable Application. | > > > | > > > Nice Feature :-) | > > | > > What is this function doing exactly ? | > | > With this funktion, you don't must wrote the PUBLIC SUB Form_Resize() for | > Resizable Application. | > | > Kommander takes over this. | > | > regards, | | OK, but what does it do exactly in details ? What does it resize exactly ? | You can say it's resize _every_ widget proportional within the container they are in. These containers with respect to there containers ending with the main window. This way the form is always drawn full with the widgets automatic. In case the Form_Resize or this effect scatman means not is working you get a empty form area when you set full screen or the widgets are hidden by de smaller window size. Ron From ronstk at ...239... Wed Nov 17 13:41:04 2004 From: ronstk at ...239... (Ron Onstenk) Date: Wed, 17 Nov 2004 13:41:04 +0100 Subject: [Gambas-user] PRB: imageviewer Message-ID: <200411171341.04763.ronstk@...239...> In the example Imageviewer the dram menu does nothing Open file say's "Unknown symbol 'Home' in class 'Application' !" From ronstk at ...239... Wed Nov 17 13:44:00 2004 From: ronstk at ...239... (Ron Onstenk) Date: Wed, 17 Nov 2004 13:44:00 +0100 Subject: [Gambas-user] Resizable Funktion? In-Reply-To: <200411171311.25610.scatman_@...17...> References: <200411161915.44627.scatman_@...17...> <200411171205.39683.gambas@...1...> <200411171311.25610.scatman_@...17...> Message-ID: <200411171344.00571.ronstk@...239...> On Wednesday 17 November 2004 13:11, scatman wrote: | Am Mittwoch, 17. November 2004 12:05 schrieb Benoit Minisini: | | Hallo, | | > > Kommander takes over this. | | > OK, but what does it do exactly in details ? What does it resize exactly ? | | Example: | | I have a Project with a TreeView, Buttons, TextArea etc. | | In Gambas i must use the Form_Resize() for Resizable Programs. | (And i don't know, how it correctly works) :-) ashamed | | In Kommander, i clicked on the Form, Press STRG + G and all are Resizable. | | Whats Kommander do, I don't know. | But it works correctly. | | How can i find a instructions for Resize in Gambas? | | thanks If you take a look in the code of the examples MoviePlayer you can find practical example. Also in the forms of the IDE you can find them. Ron From gambas at ...1... Wed Nov 17 15:24:27 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 17 Nov 2004 15:24:27 +0100 Subject: [Gambas-user] PRB: imageviewer In-Reply-To: <200411171341.04763.ronstk@...239...> References: <200411171341.04763.ronstk@...239...> Message-ID: <200411171524.28257.gambas@...1...> On Wednesday 17 November 2004 13:41, Ron Onstenk wrote: > In the example Imageviewer the dram menu does nothing > Open file say's "Unknown symbol 'Home' in class 'Application' !" > > OK. Fixed ! -- Benoit Minisini mailto:gambas at ...1... From johdeval at ...43... Wed Nov 17 16:34:06 2004 From: johdeval at ...43... (Mr JH Deval) Date: Wed, 17 Nov 2004 07:34:06 -0800 (PST) Subject: [Gambas-user] FTPClient In-Reply-To: <200411171524.28257.gambas@...1...> Message-ID: <20041117153406.60084.qmail@...691...> Can someone please post a simple exmaple of the Put and Get functions within the FTPClient. Currently I have: DIM dtUpload AS FtpClient DIM hFile AS String dtUpload = NEW FtpClient dtUpload.URL = GetSetting("FTPServer") dtUpload.User = GetSetting("FTPUser") dtUpload.Password = GetSetting("FTPPass") FOR EACH hFile IN Dir("/DIRECTORY/") dtUpload.Put(hFile) NEXT hFile dtUpload.Stop I believe this should go through the DIRECTORY and upload all files. The Problem I am having is the Get side. I need to do the same thing there but I see no way of geting the list of Files. __________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com From johdeval at ...43... Wed Nov 17 17:31:55 2004 From: johdeval at ...43... (Mr JH Deval) Date: Wed, 17 Nov 2004 08:31:55 -0800 (PST) Subject: [Gambas-user] FTPClient Message-ID: <20041117163155.33696.qmail@...692...> Can someone please post a simple exmaple of the Put and Get functions within the FTPClient. Currently I have: DIM dtUpload AS FtpClient DIM hFile AS String dtUpload = NEW FtpClient dtUpload.URL = GetSetting("FTPServer") dtUpload.User = GetSetting("FTPUser") dtUpload.Password = GetSetting("FTPPass") FOR EACH hFile IN Dir("/DIRECTORY/") dtUpload.Put(hFile) NEXT hFile dtUpload.Stop I believe this should go through the DIRECTORY and upload all files. The Problem I am having is the Get side. I need to do the same thing there but I see no way of geting the list of Files. __________________________________ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com From daniel.campos at ...338... Wed Nov 17 18:01:02 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Wed, 17 Nov 2004 18:01:02 +0100 Subject: [Gambas-user] FTPClient In-Reply-To: <20041117163155.33696.qmail@...692...> References: <20041117163155.33696.qmail@...692...> Message-ID: <1100710862.12299.1.camel@...40...> This should work: PUBLIC SUB Button1_Click() Ftp.User="fooUser" Ftp.Password ="fooPassword" Do_Put("/home/fooUser/img1.jpg") Do_Put("/home/fooUser/img2.jpg") END PUBLIC SUB Do_Put(FileName AS String) DIM RemFile AS String RemFile="ftp://www.foo.foo/mydata/images/" RemFile=RemFile & File.Name (FileName) Ftp.URL=RemFile Ftp.Put(FileName) DO WHILE Ftp.Status >0 WAIT (0.1) LOOP END From johdeval at ...43... Wed Nov 17 22:19:30 2004 From: johdeval at ...43... (Mr JH Deval) Date: Wed, 17 Nov 2004 13:19:30 -0800 (PST) Subject: [Gambas-user] FTPClient In-Reply-To: <1100710862.12299.1.camel@...40...> Message-ID: <20041117211930.82342.qmail@...613...> So if I am understanding this I have to previously know what the filename is? Is there anyway to send a ftp command directly that will return that information? Let me explain what my problem is. When I login I don't previously know what the filenames are. I need to grab everything out of the directory. But I need to be able to say what has been downloaded. Just a little clarification as well I assume what you meant to type was FTP.Put not Do_Put If that is correct than the example I sent looks to be correct. When I try and run the program though I get an error #11. I did notice another person you were helping had the same error but I saw no fix. Is it possible my libcurl is out of date? --- Daniel Campos wrote: > This should work: > > PUBLIC SUB Button1_Click() > > Ftp.User="fooUser" > Ftp.Password ="fooPassword" > > Do_Put("/home/fooUser/img1.jpg") > Do_Put("/home/fooUser/img2.jpg") > > END > > PUBLIC SUB Do_Put(FileName AS String) > > DIM RemFile AS String > > RemFile="ftp://www.foo.foo/mydata/images/" > RemFile=RemFile & File.Name (FileName) > > > Ftp.URL=RemFile > Ftp.Put(FileName) > > DO WHILE Ftp.Status >0 > > WAIT (0.1) > > LOOP > > END > > > > > > > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems > CACHE > FREE OODBMS DOWNLOAD - A multidimensional database > that combines > robust object and relational technologies, making it > a perfect match > for Java, C++,COM, XML, ODBC and JDBC. > www.intersystems.com/match8 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > __________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com From daniel.campos at ...338... Thu Nov 18 00:06:35 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Thu, 18 Nov 2004 00:06:35 +0100 Subject: [Gambas-user] FTPClient In-Reply-To: <20041117211930.82342.qmail@...613...> References: <20041117211930.82342.qmail@...613...> Message-ID: <1100732795.6027.5.camel@...40...> At this moment, the only thing you can do to know the contents of a remote folder, is to perform a "Get()" over that folder. That is, Get() allows you to receive a file, or, if it is applied over a folder, you will receive the contents. Note that you have to parse the information received, as it is different when FTP server is an UNIX server, a Win$ server or even a Novell server... Here's an example (do not forget to use "/" after remote folder name): PUBLIC SUB Button2_Click() DIM sCad AS String Ftp.User="fooUser" Ftp.Password ="fooPass" Ftp.URL="ftp://fooserver.net/myfolder/" Ftp.Get() DO WHILE Ftp.Status >0 WAIT (0.1) LOOP IF Ftp.Status < 0 THEN Message("Error") RETURN END IF READ #Ftp,sCad,Lof(Ftp) PRINT sCad END I've sent a patch for the #11 (segmentation fault) error, this is a problem from the net.curl component, not from the curl library itself. Regards, Daniel Campos From Gernot.Sadlo at ...221... Thu Nov 18 13:38:52 2004 From: Gernot.Sadlo at ...221... (Gernot Sadlo) Date: Thu, 18 Nov 2004 13:38:52 +0100 Subject: [Gambas-user] Gambas RC2 Crashed Message-ID: <200411181338.52733.gernot.sadlo@...221...> Hallo, I want add a Picture to a Menu in the Menu Editor and Gambas Crashed. Look the Screenshot in Attachment. -- gernot -------------- next part -------------- A non-text attachment was scrubbed... Name: GaError.jpg Type: image/jpeg Size: 13266 bytes Desc: not available URL: From godoal at ...67... Thu Nov 18 16:07:06 2004 From: godoal at ...67... (Linux Power) Date: Thu, 18 Nov 2004 15:07:06 +0000 Subject: [Gambas-user] Retrieve database records Message-ID: Hi all, I have the following question for anyone that has some spare time to have a look on this... Lets assume we have the following table in a database: COLOR <-- Table Name Color_id <-- Key Value NAME <-- Color Name Records ---- let records be --- black blue red yellow -------------------------- and assuming that: PUBLIC db AS NEW Connection PUBLIC rs AS Result -- somewhere else on the code -- DIM sQuery AS String sQuery = "SELECT NAME FROM COLOR" rs = db.Exec(sQuery) If the connection to the database was successfull. How do I load the records in a combo box (ie. ComboBox1)? Tnx in advance _________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ From sourceforge-raindog2 at ...94... Thu Nov 18 16:19:04 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 18 Nov 2004 10:19:04 -0500 Subject: [Gambas-user] how to distribute an app made in gambas?? In-Reply-To: <004c01c4cc2f$215033d0$2801a8c0@...690...> References: <200411072002.35341.gambas@...1...> <004c01c4cc2f$215033d0$2801a8c0@...690...> Message-ID: <200411181019.04406.sourceforge-raindog2@...94...> On Tuesday 16 November 2004 17:53, Rick wrote: > sorry by my question, i know its very basic, if i have > finished my app in gambas, how can i generate a rpm file or an > installer for my app, i want to run it on other linux > stations, but without running it from gambas Well, you'll still need the gambas runtime installed on those machines (not the IDE, just the runtime) but you should just be able to look under the Project menu and select Make installation package... If you don't want to make a package, you can just Project/Make executable and then copy the resulting executable to whatever machine you want to run it on (making sure that the gambas runtime is also installed there.) Rob From ricardo.blanco at ...676... Thu Nov 18 16:49:34 2004 From: ricardo.blanco at ...676... (Rick) Date: Thu, 18 Nov 2004 09:49:34 -0600 Subject: [Gambas-user] how to distribute an app made in gambas?? References: <200411072002.35341.gambas@...1...> <004c01c4cc2f$215033d0$2801a8c0@...690...> <200411181019.04406.sourceforge-raindog2@...94...> Message-ID: <000f01c4cd86$33cea930$2801a8c0@...690...> thanks a lot Rob!!! i?ll try it now!! =) ----- Original Message ----- From: "Rob" To: Sent: Thursday, November 18, 2004 9:19 AM Subject: Re: [Gambas-user] how to distribute an app made in gambas?? > On Tuesday 16 November 2004 17:53, Rick wrote: >> sorry by my question, i know its very basic, if i have >> finished my app in gambas, how can i generate a rpm file or an >> installer for my app, i want to run it on other linux >> stations, but without running it from gambas > > Well, you'll still need the gambas runtime installed on those > machines (not the IDE, just the runtime) but you should just be > able to look under the Project menu and select Make installation > package... > > If you don't want to make a package, you can just Project/Make > executable and then copy the resulting executable to whatever > machine you want to run it on (making sure that the gambas > runtime is also installed there.) > > Rob > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From eilert-sprachen at ...221... Thu Nov 18 17:12:47 2004 From: eilert-sprachen at ...221... (Eilert) Date: Thu, 18 Nov 2004 17:12:47 +0100 Subject: [Gambas-user] how to distribute an app made in gambas?? In-Reply-To: <200411181019.04406.sourceforge-raindog2@...94...> References: <200411072002.35341.gambas@...1...> <004c01c4cc2f$215033d0$2801a8c0@...690...> <200411181019.04406.sourceforge-raindog2@...94...> Message-ID: <419CC9FF.4070308@...221...> Hi Rob, by the way > If you don't want to make a package, you can just Project/Make > executable and then copy the resulting executable to whatever > machine you want to run it on (making sure that the gambas > runtime is also installed there.) what do you mean "runtime"? What must I do to just install it on some machine? Rolf From sourceforge-raindog2 at ...94... Thu Nov 18 17:27:18 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 18 Nov 2004 11:27:18 -0500 Subject: [Gambas-user] how to distribute an app made in gambas?? In-Reply-To: <419CC9FF.4070308@...221...> References: <200411072002.35341.gambas@...1...> <200411181019.04406.sourceforge-raindog2@...94...> <419CC9FF.4070308@...221...> Message-ID: <200411181127.18083.sourceforge-raindog2@...94...> On Thursday 18 November 2004 11:12, Eilert wrote: > > If you don't want to make a package, you can just > > Project/Make executable and then copy the resulting > > executable to whatever machine you want to run it on (making > > sure that the gambas runtime is also installed there.) > what do you mean "runtime"? What must I do to just install it > on some machine? Varies by distro. If you're using some source-based one like slackware or gentoo, I can't help you. If you're using a distro that makes it deliberately hard to install third party software, like RH, SuSE or Lindows, I can't help you. Hopefully maintainers for those distros will make some nice self-contained packages like the "gambas-complete" I maintain for mandrake. But on debian it should be "apt-get install gambas", on fedora it should be "yum install gambas", on mandrake it's "urpmi gambas", assuming you have a repository with a current version of Gambas set up right. In fact, on Mandrake you should just be able to go "urpmi mynewgambasprogram.rpm" if it was generated by the gambas IDE, and it should automatically install everything you need. This will get a lot easier as more distros start including gambas, of course... years ago it was similarly painful to install perl or python. Rob From ricardo.blanco at ...676... Thu Nov 18 19:59:52 2004 From: ricardo.blanco at ...676... (Rick) Date: Thu, 18 Nov 2004 12:59:52 -0600 Subject: [Gambas-user] how to distribute an app made in gambas?? References: <200411072002.35341.gambas@...1...> <200411181019.04406.sourceforge-raindog2@...94...> <419CC9FF.4070308@...221...> <200411181127.18083.sourceforge-raindog2@...94...> Message-ID: <004d01c4cda0$c9cf8b60$2801a8c0@...690...> ok Rob, im using Suse, i think ill look for some info Thanks ----- Original Message ----- From: "Rob" To: Sent: Thursday, November 18, 2004 10:27 AM Subject: Re: [Gambas-user] how to distribute an app made in gambas?? > On Thursday 18 November 2004 11:12, Eilert wrote: >> > If you don't want to make a package, you can just >> > Project/Make executable and then copy the resulting >> > executable to whatever machine you want to run it on (making >> > sure that the gambas runtime is also installed there.) >> what do you mean "runtime"? What must I do to just install it >> on some machine? > > Varies by distro. If you're using some source-based one like > slackware or gentoo, I can't help you. If you're using a distro > that makes it deliberately hard to install third party software, > like RH, SuSE or Lindows, I can't help you. Hopefully > maintainers for those distros will make some nice self-contained > packages like the "gambas-complete" I maintain for mandrake. > > But on debian it should be "apt-get install gambas", on fedora it > should be "yum install gambas", on mandrake it's "urpmi gambas", > assuming you have a repository with a current version of Gambas > set up right. In fact, on Mandrake you should just be able to > go "urpmi mynewgambasprogram.rpm" if it was generated by the > gambas IDE, and it should automatically install everything you > need. > > This will get a lot easier as more distros start including > gambas, of course... years ago it was similarly painful to > install perl or python. > > Rob > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From krzysss at ...694... Thu Nov 18 21:02:23 2004 From: krzysss at ...694... (krzysss at ...694...) Date: Thu, 18 Nov 2004 21:02:23 +0100 Subject: [Gambas-user] Problem with using files - maybe new bug Message-ID: <20041118200232Z144684-20435+790@...695...> Hello. I've encountered such problem. I don't know if it's bug or not, but I need your help.I'm writing internet communicator software in gambas and I've decided to use files in my project.At the beginning I was reading files only in project directory, but when I want to write something to it, I have problems. So I wrote "OPEN file.txt" FOR READ WRITE AS #hFile <- I use relative path for file, which is in project directory and gambas shows me a message that access is forbidden. I don't know why it happens ... so I chceck file permission and directory permission and I have them granted. To be sure, I wrote "OPEN "/home/user/file.txt" FOR READ WRITE AS #hFile" and everything works OK. So the result is that I can't write anything to files in project direcotry, but I need that... How to make this work ?Maybe it's program bug ?Help me, please ? From christian.faurebouvard at ...357... Thu Nov 18 21:38:06 2004 From: christian.faurebouvard at ...357... (Christian Faure) Date: Thu, 18 Nov 2004 17:38:06 -0300 Subject: [Gambas-user] Retrieve database records In-Reply-To: References: Message-ID: <200411181738.06399.christian.faurebouvard@...357...> El Jueves, 18 de Noviembre de 2004 12:07, Linux Power escribi?: > Hi all, > I have the following question for anyone that has some spare time to have > a look on this... > > Lets assume we have the following table in a database: > COLOR <-- Table Name > Color_id <-- Key Value > NAME <-- Color Name Records > > ---- let records be --- > black > blue > red > yellow > -------------------------- > > and assuming that: > PUBLIC db AS NEW Connection > PUBLIC rs AS Result > > -- somewhere else on the code -- > DIM sQuery AS String > sQuery = "SELECT NAME FROM COLOR" > rs = db.Exec(sQuery) Hi, try code like this: while rs.Available ComboBox1.Add(rs["NAME"]) rs.MoveNext() wend > > If the connection to the database was successfull. How do I load the > records in a combo box (ie. ComboBox1)? > > Tnx in advance > From krzysss at ...694... Thu Nov 18 21:52:23 2004 From: krzysss at ...694... (krzysss at ...694...) Date: Thu, 18 Nov 2004 21:52:23 +0100 Subject: [Gambas-user] Package with "mobile" gambas Message-ID: <20041118205235Z4355601-5197+1106@...696...> If you want to use gambas programs (or you want to develop your programs) without installing gambas in system, you can use my package:] If someone want it, just say and I will send it. I don't know why, but I can't send it here:( Package contain gbx, and all changed libraries from RC2 (strip *.so .. so you cannot debug program using this libraries but it works perfectly;-)). Anyone want some?:] From christian.faurebouvard at ...357... Thu Nov 18 23:27:19 2004 From: christian.faurebouvard at ...357... (Christian Faure) Date: Thu, 18 Nov 2004 19:27:19 -0300 Subject: [Gambas-user] XML Question In-Reply-To: <200411140538.29514.ronstk@...239...> References: <200411140538.29514.ronstk@...239...> Message-ID: <200411181927.19407.christian.faurebouvard@...357...> > If I can get help how to iterate the nodes and get the attributes > I'm will be happy, I have no luck. > > > In the XMLnode are many constants. They tell me something about a > node or attribute type but there is no property for Type. I have the same problem Daniel can you send an example of use of attributes with xmlreader? Regards, Christian From dafyre at ...43... Fri Nov 19 04:16:35 2004 From: dafyre at ...43... (Brant Wells) Date: Thu, 18 Nov 2004 19:16:35 -0800 (PST) Subject: [Gambas-user] Files not showing when I try to open a project... Message-ID: <20041119031635.26865.qmail@...697...> Hey All: Sorry I haven't been on the list in a while... been busy getting married and what-not... But I'm back now, so I should be at least a little more active again... I hope everyone is well! And now... I have an old problem... one that I remember from the list from several months back... When I try to open a project, or click on my home folder, I can't see any of the files in either of the list boxes... Anybody remember how to fix that?? I have recently done an install (upgrade?) of Gambas 0.99... I run Mandrake 10.0 if that's any help... Thanks! ~Brant __________________________________ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com From danielcampos at ...282... Fri Nov 19 08:36:38 2004 From: danielcampos at ...282... (Daniel Campos) Date: Fri, 19 Nov 2004 08:36:38 +0100 Subject: [Gambas-user] XML Reader patch Message-ID: <1100849798.2968.3.camel@...40...> Hi: I'm back :-), here's a patch for the xml.libxml component, that corrects a bug with XmlReader and fixes also some memory leaks. Here's also a simple XmlReader sample with attributes. Regards, Daniel Campos -------------- next part -------------- A non-text attachment was scrubbed... Name: CXMLReader.c Type: text/x-csrc Size: 8246 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: MyXML.tar.gz Type: application/x-compressed-tar Size: 977 bytes Desc: not available URL: From christian.faurebouvard at ...357... Fri Nov 19 15:48:55 2004 From: christian.faurebouvard at ...357... (Christian Faure) Date: Fri, 19 Nov 2004 11:48:55 -0300 Subject: [Gambas-user] Re: XML Reader patch In-Reply-To: <1100849798.2968.3.camel@...40...> References: <1100849798.2968.3.camel@...40...> Message-ID: <200411191148.55763.christian.faurebouvard@...357...> El Viernes, 19 de Noviembre de 2004 04:36, Daniel Campos escribi?: > Hi: > > I'm back :-), here's a patch for the xml.libxml component, that corrects > a bug with XmlReader and fixes also some memory leaks. > > Here's also a simple XmlReader sample with attributes. > > > Regards, > > Daniel Campos Muchas gracias! From sourceforge-raindog2 at ...94... Fri Nov 19 16:29:58 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 19 Nov 2004 10:29:58 -0500 Subject: [Gambas-user] Hey Windows users, time for a virus scan. Message-ID: <200411191029.58792.sourceforge-raindog2@...94...> It appears to have originated in South America. And shame on you for using a windows box on a linux mailing list ;) > From: > To: > Subject: Sex > Date: Fri, 19 Nov 2004 10:19:35 -0500 > Attachment: britney.zip From Karl.Reinl at ...9... Fri Nov 19 22:27:24 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 19 Nov 2004 22:27:24 +0100 Subject: [Gambas-user] Something wend wrong, by my fault. Message-ID: <200411192227.24055.Karl.Reinl@...9...> Salut Benoit, I had, by my fault a simple file (here a *.png) in ../gambas-xxx/app When I dit a 'make install' do finish the update from Daniel's XML stuff, the script tried to compile it, and it failed ;-) , no surprise. Can you change the 'make install' script to NOT compile non-gambas projects in 'app' and 'examples' ? Because 'make install' failes in that cases. Amicalment Charlie From na2492 at ...9... Fri Nov 19 22:44:46 2004 From: na2492 at ...9... (Charlie Reinl) Date: Fri, 19 Nov 2004 22:44:46 00100 Subject: [Gambas-user] XML Reader patch Message-ID: <419e694e.4879.0@...9...> > > >Hi: > >I'm back :-), here's a patch for the xml.libxml component, that corrects >a bug with XmlReader and fixes also some memory leaks. > >Here's also a simple XmlReader sample with attributes. > > >Regards, > >Daniel Campos > Salut Daniel, thanks a lot, will had a go, and your example was helpfull. Question: do I have the possibillity to move back while reading? I mean: after open with the xmlreader, I can move forwards with read, OK But how can I keep the xml-document open and search for somethin, what can be readed say 3 lines before ? What I want, is to write a class, where I open once the document, and then I set my Querys to read what I need. If I right understood, actually it is read forwards only, isn't it ? Amicalment Charlie Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From na2492 at ...9... Fri Nov 19 22:55:23 2004 From: na2492 at ...9... (Charlie Reinl) Date: Fri, 19 Nov 2004 22:55:23 00100 Subject: [Gambas-user] Hey Windows users, time for a virus scan. Message-ID: <419e6bcb.4f88.0@...9...> >It appears to have originated in South America. And shame on you >for using a windows box on a linux mailing list ;) > >> From: >> To: >> Subject: Sex >> Date: Fri, 19 Nov 2004 10:19:35 -0500 >> Attachment: britney.zip > Lucky me, my provider, setup a good spam-software. But have the same problem at work. I know my email-adresse at a guys box, who has no or a too old anti-virus software on his windows-box 15 - 20 bad formed mail-headers and virus-infected mails pops up per day. Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From Karl.Reinl at ...9... Fri Nov 19 23:00:37 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 19 Nov 2004 23:00:37 +0100 Subject: [Gambas-user] Lib's needed to run gambas Message-ID: <200411192300.38050.Karl.Reinl@...9...> Salut, I try to setup gambas on a Ubuntu Linux. Ubuntu Linux from south africa, is a small debian, from the unstable branch. It commes, I see it like this, as a enduser Linux, is very easy to install, but has nothing for an developer onboard. I had to add g++ and all the other basics. Compilation fails, so I ask, is there a list, where I can find all Lib I need to set it up ? Amicalment Charlie From danielcampos at ...282... Fri Nov 19 23:43:00 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Fri, 19 Nov 2004 23:43:00 CET Subject: [Gambas-user] XML Reader patch Message-ID: Oh, Well! I have to re-send this message using the web interface because smtp.tiscali.es is now in the "spamcop" list! What in the hell! these lists are there to help or to send more spam with " Delivery Status Notifications"? Well, here's the message: Hi: XmlReader is based on the XmlTextReader class from libxml. The idea of that class is to have a simple reader, wasting as few resources as possible. So, it just reads from node to node, wasting no memory in a buffer to allow "redwing"... in few words, you can only read forwards, and you have to implement your own buffer if you need it. When I finish the "XmlDocument" and "XmlNode" classes, based on the tree model, that stores the whole tree in memory, it will be possible to do what you want, but I need time to write it:-))) 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 godoal at ...67... Sat Nov 20 01:41:05 2004 From: godoal at ...67... (Linux Power) Date: Sat, 20 Nov 2004 00:41:05 +0000 Subject: [Gambas-user] ColumnView Header Text Question Message-ID: Is it possible to add text to the columnview header's of a columnview control ? If yes could someone provide a small example. i.e. in case where we have a 3 column view, for the ColumnView1 control. i.e ColumnView1.Columns.Count = 3 Tnx in advance _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From jredrejo at ...96... Sat Nov 20 10:31:34 2004 From: jredrejo at ...96... (=?ISO-8859-1?Q?Jos=E9?= L. Redrejo =?ISO-8859-1?Q?Rodr=EDguez?=) Date: Sat, 20 Nov 2004 10:31:34 +0100 Subject: [Gambas-user] Lib's needed to run gambas In-Reply-To: <20041120040618.6D70D1D420F@...640...> References: <20041120040618.6D70D1D420F@...640...> Message-ID: <1100943094.3273.11.camel@...698...> El s?b, 20-11-2004 a las 05:05, > Message: 7 > From: Charlie Reinl > Organization: none > To: "gambas-user" > Date: Fri, 19 Nov 2004 23:00:37 +0100 > Subject: [Gambas-user] Lib's needed to run gambas > Reply-To: gambas-user at lists.sourceforge.net > > Salut, > > I try to setup gambas on a Ubuntu Linux. > Ubuntu Linux from south africa, is a small debian, from the unstable branch. > It commes, I see it like this, as a enduser Linux, is very easy to install, > but has nothing for an developer onboard. > > I had to add g++ and all the other basics. > > Compilation fails, so I ask, is there a list, where I can find all Lib I need > to set it up ? > > Amicalment > Charlie Well, ubuntu is more or less a subgroup of Debian sid packages together with some patches & configurations. So you just need to use Debian. If you want, 0.99 packages of gambas are already available in Debian via apt-get. If you want 1.0RC2 packages and sources are at http://cvs.linex.org/linex/gambas ready to be uploaded to Debian And, finally if you want to compile them by yourself. Download from the previous link the .dsc, .tar.gz & .diff.gz files, go to the directory where you downloaded them, make "dpkg-source -x gambas_1.0RC2-1.dsc" and you will get the sources patched and ready for debian compilation. Then, inside the new created gambas-1.0.RC2 directory, make "fakeroot dpkg-buildpackage" or "dpkg-buildpackage" if you are root. If you need some not installed libraries this command will tell you the name of the debian packages you have to install to compile gambas. Regards. From sdnpaolo at ...69... Sat Nov 20 13:20:41 2004 From: sdnpaolo at ...69... (Paolo Saudin) Date: Sat, 20 Nov 2004 13:20:41 +0100 Subject: R: [Gambas-user] Lib's needed to run gambas In-Reply-To: <1100943094.3273.11.camel@...698...> Message-ID: -----Messaggio originale----- Da: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] Per conto di Jos? L. Redrejo Rodr?guez Inviato: sabato 20 novembre 2004 10.32 A: gambas-user at lists.sourceforge.net Oggetto: Re: [Gambas-user] Lib's needed to run gambas El s?b, 20-11-2004 a las 05:05, > Message: 7 > From: Charlie Reinl > Organization: none > To: "gambas-user" > Date: Fri, 19 Nov 2004 23:00:37 +0100 > Subject: [Gambas-user] Lib's needed to run gambas > Reply-To: gambas-user at lists.sourceforge.net > > Salut, > > I try to setup gambas on a Ubuntu Linux. > Ubuntu Linux from south africa, is a small debian, from the unstable branch. > It commes, I see it like this, as a enduser Linux, is very easy to install, > but has nothing for an developer onboard. > > I had to add g++ and all the other basics. > > Compilation fails, so I ask, is there a list, where I can find all Lib I need > to set it up ? > > Amicalment > Charlie Well, ubuntu is more or less a subgroup of Debian sid packages together with some patches & configurations. So you just need to use Debian. If you want, 0.99 packages of gambas are already available in Debian via apt-get. If you want 1.0RC2 packages and sources are at http://cvs.linex.org/linex/gambas ready to be uploaded to Debian And, finally if you want to compile them by yourself. Download from the previous link the .dsc, .tar.gz & .diff.gz files, go to the directory where you downloaded them, make "dpkg-source -x gambas_1.0RC2-1.dsc" and you will get the sources patched and ready for debian compilation. Then, inside the new created gambas-1.0.RC2 directory, make "fakeroot dpkg-buildpackage" or "dpkg-buildpackage" if you are root. If you need some not installed libraries this command will tell you the name of the debian packages you have to install to compile gambas. Regards. Hi, I run "dpkg-source -x gambas_1.0RC2-1.dsc" but the file "gambas_1.0RC2-1.diff.gz" seems not to be compressed as I get a lenght check error. Regards, Paolo ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From jredrejo at ...96... Sat Nov 20 17:00:02 2004 From: jredrejo at ...96... (=?ISO-8859-1?Q?Jos=E9?= L. Redrejo =?ISO-8859-1?Q?Rodr=EDguez?=) Date: Sat, 20 Nov 2004 17:00:02 +0100 Subject: [Gambas-user] Lib's needed to run gambas In-Reply-To: <1100943094.3273.11.camel@...698...> References: <20041120040618.6D70D1D420F@...640...> <1100943094.3273.11.camel@...698...> Message-ID: <1100966402.3273.63.camel@...698...> El s?b, 20-11-2004 a las 10:31, Paolo Saudin escribi?: > El s?b, 20-11-2004 a las 05:05, > Hi, > I run "dpkg-source -x gambas_1.0RC2-1.dsc" but the file > "gambas_1.0RC2-1.diff.gz" seems not to be compressed as I get a lenght check > error. Try it again, probably you caught the packages when a new compilation was being uploaded this morning. I have just checked it know and it works perfectly. Regards. From gambas at ...1... Sat Nov 20 18:06:34 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 20 Nov 2004 18:06:34 +0100 Subject: [Gambas-user] Gambas RC2 Crashed In-Reply-To: <200411181338.52733.gernot.sadlo@...221...> References: <200411181338.52733.gernot.sadlo@...221...> Message-ID: <200411201806.34438.gambas@...1...> On Thursday 18 November 2004 13:38, Gernot Sadlo wrote: > Hallo, > > I want add a Picture to a Menu in the Menu Editor and Gambas Crashed. > > Look the Screenshot in Attachment. Mmm... Have you more details ? Does it crash everytime, in the same context ? How do you select your picture exactly ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Nov 20 18:08:19 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 20 Nov 2004 18:08:19 +0100 Subject: [Gambas-user] Problem with using files - maybe new bug In-Reply-To: <20041118200232Z144684-20435+790@...695...> References: <20041118200232Z144684-20435+790@...695...> Message-ID: <200411201808.19994.gambas@...1...> On Thursday 18 November 2004 21:02, krzysss at ...694... wrote: > Hello. I've encountered such problem. I don't know if it's bug or not, but > I need your help.I'm writing internet communicator software in gambas and > I've decided to use files in my project.At the beginning I was reading > files only in project directory, but when I want to write something to it, > I have problems. So I wrote "OPEN file.txt" FOR READ WRITE AS #hFile <- I > use relative path for file, which is in project directory and gambas shows > me a message that access is forbidden. I don't know why it happens ... so I > chceck file permission and directory permission and I have them granted. To > be sure, I wrote "OPEN "/home/user/file.txt" FOR READ WRITE AS #hFile" and > everything works OK. So the result is that I can't write anything to files > in project direcotry, but I need that... How to make this work ?Maybe it's > program bug ?Help me, please ? > Writing to file whose path is relative is forbidden, because project files are read-only. Think when you make an executable: every project file is located in an archive and so can't be modified. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Nov 20 18:09:22 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 20 Nov 2004 18:09:22 +0100 Subject: [Gambas-user] Files not showing when I try to open a project... In-Reply-To: <20041119031635.26865.qmail@...697...> References: <20041119031635.26865.qmail@...697...> Message-ID: <200411201809.22349.gambas@...1...> On Friday 19 November 2004 04:16, Brant Wells wrote: > Hey All: > > Sorry I haven't been on the list in a while... been busy > getting married and what-not... But I'm back now, so I should > be at least a little more active again... I hope everyone is > well! > > > And now... I have an old problem... one that I remember from > the list from several months back... > > When I try to open a project, or click on my home folder, I > can't see any of the files in either of the list boxes... > Anybody remember how to fix that?? I have recently done an > install (upgrade?) of Gambas 0.99... I run Mandrake 10.0 if > that's any help... > > Thanks! > ~Brant > Can you try the latest RC2 please, and tell me if you have the problem ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Nov 20 18:24:51 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 20 Nov 2004 18:24:51 +0100 Subject: [Gambas-user] Something wend wrong, by my fault. In-Reply-To: <200411192227.24055.Karl.Reinl@...9...> References: <200411192227.24055.Karl.Reinl@...9...> Message-ID: <200411201824.51570.gambas@...1...> On Friday 19 November 2004 22:27, Charlie Reinl wrote: > Salut Benoit, > > I had, by my fault a simple file (here a *.png) in ../gambas-xxx/app > When I dit a 'make install' do finish the update from Daniel's XML stuff, > the script tried to compile it, and it failed ;-) , no surprise. > > Can you change the 'make install' script to NOT compile non-gambas projects > in 'app' and 'examples' ? > > Because 'make install' failes in that cases. Hey! Just don't touch the sources :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From satyasundarsahoo at ...626... Sat Nov 20 19:19:51 2004 From: satyasundarsahoo at ...626... (Satya Sahoo) Date: Sat, 20 Nov 2004 23:49:51 +0530 Subject: [Gambas-user] Error Starting gambas on AMD 64 runing Fedora Core 3 x86_64 Message-ID: <4d2c9314041120101929493432@...627...> Hi, I have compiled gambas on AMD 64 running Fedora Core 3 x86_64. The compilation is successful but I get the following error on runing gambas. sizeof(CLASS) = 256 ! ERROR: #51: Bad archive: File exists I have attached the log of compilation '(./configure; make ; make install) > make.log 2>&1' for your reference. Please help me as I want to get started on gambas as I find it very interesting. Thanks, -Satya -------------- next part -------------- A non-text attachment was scrubbed... Name: make.log Type: text/x-log Size: 108364 bytes Desc: not available URL: From gambas at ...1... Sat Nov 20 19:23:47 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 20 Nov 2004 19:23:47 +0100 Subject: [Gambas-user] Error Starting gambas on AMD 64 runing Fedora Core 3 x86_64 In-Reply-To: <4d2c9314041120101929493432@...627...> References: <4d2c9314041120101929493432@...627...> Message-ID: <200411201923.48007.gambas@...1...> On Saturday 20 November 2004 19:19, Satya Sahoo wrote: > Hi, > > I have compiled gambas on AMD 64 running Fedora Core 3 x86_64. > > The compilation is successful but I get the following error on runing > gambas. > > sizeof(CLASS) = 256 ! > ERROR: #51: Bad archive: File exists > > I have attached the log of compilation '(./configure; make ; make > install) > make.log 2>&1' for your reference. > > Please help me as I want to get started on gambas as I find it very > interesting. > > Thanks, > -Satya Gambas sources are not ready to be compiled in 64 bits mode. You must compile as a 32 bits application, but don't ask me how to do that as I have no idea! Note: I think you will have very few speed gains in a 64 bits gambas. Regards, -- Benoit Minisini mailto:gambas at ...1... From karl.reinl at ...9... Sat Nov 20 17:50:43 2004 From: karl.reinl at ...9... (Charlie) Date: Sat, 20 Nov 2004 17:50:43 +0100 Subject: [Gambas-user] XML Reader patch References: Message-ID: <419F75E3.3060308@...9...> danielcampos at ...282... schrieb: >Oh, Well! I have to re-send this message using the web interface because smtp.tiscali.es is now in the "spamcop" list! What in the hell! these lists are there to help or to send more spam with " Delivery Status Notifications"? > >Well, here's the message: > > >Hi: > >XmlReader is based on the XmlTextReader class from libxml. The idea of >that class is to have a simple reader, wasting as few resources as >possible. So, it just reads from node to node, wasting no memory in a >buffer to allow "redwing"... in few words, you can only read forwards, >and you have to implement your own buffer if you need it. > >When I finish the "XmlDocument" and "XmlNode" classes, based on the tree >model, that stores the whole tree in memory, it will be possible to do >what you want, but I need time to write it:-))) > >Regards, > >Daniel Campos > > Salut Daniel, thanks for that information, thats what I thought. But now I know , that I haven't to look for that. Thanks again. Amicalment Charlie From Karl.Reinl at ...9... Sun Nov 21 01:01:36 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 21 Nov 2004 01:01:36 +0100 Subject: [Gambas-user] XMLReader Message-ID: <200411210101.36892.Karl.Reinl@...9...> Salut Daniel, if I see right, if I have read all the XML, after a open or a FromString, the XMLReader is empty, isn't it ? send you back your example, where you can test it in a loop. Is it a bug or normal ? Amicalment Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: MyXML-0.0.2.tar.gz Type: application/x-tgz Size: 1719 bytes Desc: not available URL: From daniel.campos at ...338... Sun Nov 21 02:04:39 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Sun, 21 Nov 2004 02:04:39 +0100 Subject: [Gambas-user] test Message-ID: <1100999079.21458.2.camel@...40...> test From daniel.campos at ...338... Sun Nov 21 02:09:37 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Sun, 21 Nov 2004 02:09:37 +0100 Subject: [Gambas-user] XMLReader Message-ID: <1100999377.21458.4.camel@...40...> It is an strange bug... By now you can create the object each time you're going to use it: DIM MyDepth AS Integer DIM Xml AS XmlReader DIM nI AS Integer FOR nI = 1 TO 4 TxtData.Text = TxtData.Text & "\n Loop = " & nI & "\n" Xml=NEW XmlReader From ronstk at ...239... Sun Nov 21 02:25:58 2004 From: ronstk at ...239... (Ron Onstenk) Date: Sun, 21 Nov 2004 02:25:58 +0100 Subject: [Gambas-user] XMLReader In-Reply-To: <200411210101.36892.Karl.Reinl@...9...> References: <200411210101.36892.Karl.Reinl@...9...> Message-ID: <200411210225.58858.ronstk@...239...> On Sunday 21 November 2004 01:01, Charlie Reinl wrote: | Salut Daniel, | | if I see right, if I have read all the XML, after a open or a FromString, the | XMLReader is empty, isn't it ? | | send you back your example, where you can test it in a loop. | | Is it a bug or normal ? | | Amicalment | Charlie | Should you not renew the xml object? PUBLIC SUB Button1_Click() DIM MyDepth AS Integer DIM Xml AS NEW XmlReader DIM nI AS Integer FOR nI = 1 TO 4 TxtData.Text = TxtData.Text & "\n Loop = " & nI & "\n" xml= NEW XmlReader Xml.Open ("data.xml") Thanks Daniel, I got now more with your sample. But from help: XmlReader.Node AS .XmlReaderNode .XmlReaderNode.Atributes AS .XmlAttributes ??? and XmlAttributes is not in the help. FOR EACH Xml.Node.Attributes TxtData.Text=TxtData.Text & Xml.Node.Name & ": " & Xml.Node.Value & " " NEXT How can it be the Xml.Node here returns the attibute name/value. I never expected that was the case and the reason I could not find the right way. I try the sample code before recompile ant got a error on Xml.Node.Attributes After recompile and install it worked, my conclusion is the update has also done something in the object hierarchy. I'm feeling not guilty I could not handle the xml component :) I have no more time to work with it, I go to Tenerife for 6 weeks for job and refresh of health, I'll wink to Madrid when the plain pass by. :) Need to learn Spanish because the employer is German. :) Gracias por tu trabajo sobre el componente xml y el componente neto. Ronaldo From na2492 at ...9... Sun Nov 21 14:52:15 2004 From: na2492 at ...9... (Charlie Reinl) Date: Sun, 21 Nov 2004 14:52:15 00100 Subject: [Gambas-user] XMLReader Message-ID: <41a09d8f.5661.0@...9...> >On Sunday 21 November 2004 01:01, Charlie Reinl wrote: >| Salut Daniel, >| >| if I see right, if I have read all the XML, after a open or a FromString, the >| XMLReader is empty, isn't it ? >| >| send you back your example, where you can test it in a loop. >| >| Is it a bug or normal ? >| >| Amicalment >| Charlie >| > >Should you not renew the xml object? > >PUBLIC SUB Button1_Click() > DIM MyDepth AS Integer > DIM Xml AS NEW XmlReader > DIM nI AS Integer > FOR nI = 1 TO 4 > TxtData.Text = TxtData.Text & "\n Loop = " & nI & "\n" > > xml= NEW XmlReader > Xml.Open ("data.xml") > > >Thanks Daniel, I got now more with your sample. > >But from help: >XmlReader.Node AS .XmlReaderNode >.XmlReaderNode.Atributes AS .XmlAttributes ??? >and XmlAttributes is not in the help. > >FOR EACH Xml.Node.Attributes > TxtData.Text=TxtData.Text & Xml.Node.Name & ": " & Xml.Node.Value & " " >NEXT > >How can it be the Xml.Node here returns the attibute name/value. > >I never expected that was the case and the reason I could not find the right way. >I try the sample code before recompile ant got a error on Xml.Node.Attributes >After recompile and install it worked, my conclusion is the update has also >done something in the object hierarchy. >I'm feeling not guilty I could not handle the xml component :) > >I have no more time to work with it, I go to Tenerife for 6 weeks for >job and refresh of health, I'll wink to Madrid when the plain pass by. :) >Need to learn Spanish because the employer is German. :) >Gracias por tu trabajo sobre el componente xml y el componente neto. > >Ronaldo > Salut Ron, have a nice trip. Here an example, I worked out with your XML, using the FromString Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * -------------- next part -------------- A non-text attachment was scrubbed... Name: CReadXMLron.class Type: application/x-java Size: 2945 bytes Desc: not available URL: From karl.reinl at ...9... Sun Nov 21 15:21:43 2004 From: karl.reinl at ...9... (Charlie) Date: Sun, 21 Nov 2004 15:21:43 +0100 Subject: [Gambas-user] XMLReader References: <1100999377.21458.4.camel@...40...> Message-ID: <41A0A477.10202@...9...> Daniel Campos schrieb: >It is an strange bug... By now you can create the object each time >you're going to use it: > >DIM MyDepth AS Integer > DIM Xml AS XmlReader > DIM nI AS Integer > FOR nI = 1 TO 4 > TxtData.Text = TxtData.Text & "\n Loop = " & nI & "\n" > Xml=NEW XmlReader > > > Salut Daniel, I observed the following: while debuging , if you enter into PUBLIC SUB Button1_Click(). If code is like PUBLIC SUB Button1_Click() DIM MyDepth AS Integer DIM Xml AS XmlReader DIM nI AS Integer FOR nI = 1 TO 4 TxtData.Text = TxtData.Text & "\n Loop = " & nI & "\n" xml= NEW XmlReader first stop is at : FOR nI = 1 TO 4 at the old version PUBLIC SUB Button1_Click() DIM MyDepth AS Integer DIM Xml AS NEW XmlReader DIM nI AS Integer FOR nI = 1 TO 4 TxtData.Text = TxtData.Text & "\n Loop = " & nI & "\n" first stop is at : DIM Xml AS NEW XmlReader Normaly, while debugging you never can stay at a declaration. Amicalment Charlie From gambas at ...1... Sun Nov 21 19:52:39 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 21 Nov 2004 19:52:39 +0100 Subject: [Gambas-user] Release of Gambas 1.0 RC3 Message-ID: <200411211952.40024.gambas@...1...> Here is a short list the bug fixes included in this release: - The form editor don't remove void functions anymore when saving. This feature was buggy. - The ~/.rpmmacros file is not destroyed by the packager wizard anymore. - If the $BROWSER environment variable is not defined, then the IDE tries the following web browsers, in this order: konwueror, firefox, mozilla-firefox, mozilla, and opera. - Now the Process Kill event is raised after all pending Read event are flushed. - The debugger now correctly detects global class symbols. - Calling the default class method (implemented by the _call hidden method) does not fill the stack anymore. - Calling Stat() with an unknown path does not leak memory anymore. - Now the compiler accepts 'END SUB', 'END PROCEDURE' and 'END FUNCTION' in place of the 'END' keyword. - The highlighting process now ignores string contents. - The patches from Daniel were included too: sqlite driver, gb.net.curl, VB.Round() and xml fixes. The following translations are not up to date: Arabic, Galician, Welsh, Dutch, and Brazilian portuguese. I don't know if I should remove them or not in the final release... You will find gambas packages in the Mandrake 10.1: do not use them! I wrote to the Mandrake packager (Lenny Cartier) about this problem on 07 Sep 2004, but he never answered. I'm going to write him again, and will ask him to remove these packages if he don't want to follow the needed organization. Enjoy this release! If there is no big bug found in the next weeks, this will become the official 1.0 release. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Nov 21 19:58:03 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 21 Nov 2004 19:58:03 +0100 Subject: [Gambas-user] Re: About Gambas packages in contrib In-Reply-To: <200409072202.03236.gambas@...1...> References: <200409072202.03236.gambas@...1...> Message-ID: <200411211958.03589.gambas@...1...> Hi, Lenny. I noticed that in Mandrake 10.1 you made gambas packages, but that these packages will prevent the gambas installer to work. I already wrote you about this problem two months ago, but didn't get any anwser. I join the mail I sent you, that describes the problem. If you don't want to follow the needed gambas package organization because they don't follow the Mandrake rules, please remove them. Otherwise, Mandrake users will have problems when installing gambas applications. Best regards, -- Benoit Minisini mailto:gambas at ...1... >--8<------------------------------------------------------------------------- > > Hi, Lenny. > > I'm happy to see that you made Gambas packages for Mandrake. > > Alas the packages you made will prevent Gambas to work as it should. > > You used the old bad .spec file made by Rod Kudla. Now you should use > the .spec file included in the source package. > > I give more details :-) > > The package organization of Gambas is the following: > > - gambas-runtime.rpm: includes the runtime necessary to run gambas > projects. - gambas-ide.rpm: includes the IDE and ALL other packages. > - gambas-gb*.rpm: one package for each component. > > The IDE packager wizard relies on this structure to make a rpm packages > from a Gambas project. Without this structure, nothing will work. > > I know that this is not exactly the common Mandrake structure for packages, > but tell me if it is a problem as: > > - Shared libraries included in Gambas are just used by the interpreter. > They won't be used by any other programs. > > - If you put all components in one library, this means that installing a > simple textual "Hello-world" Gambas program will install all the components > - not dramatic - and ALL the shared libraries they depends on (X11, QT, > SDL, ...)- more problematic! > > - All distributions (even the Debian!) will have this structure, so that a > person who makes a Gambas program on a SuSE will be able to install it on a > Mandrake. > > I hope I was convincing. > > I think it will be a bad thing if people find Gambas packages on Mandrake > and they don't work! > > Regards, > >--8<------------------------------------------------------------------------- From karl.reinl at ...9... Sun Nov 21 20:17:12 2004 From: karl.reinl at ...9... (Charlie) Date: Sun, 21 Nov 2004 20:17:12 +0100 Subject: [Gambas-user] XTableView loads and saves to XML files Message-ID: <41A0E9B8.60501@...9...> Salut, send you the new version from XTableView You save and load XML Description and Value files now. You have to have gb.xml.libxml as component on your box. Amicalment Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: XTableView-0.0.10.tar.gz Type: application/x-tar Size: 60311 bytes Desc: not available URL: From sourceforge-raindog2 at ...94... Sun Nov 21 20:52:10 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 21 Nov 2004 14:52:10 -0500 Subject: [Gambas-user] Release of Gambas 1.0 RC3 In-Reply-To: <200411211952.40024.gambas@...1...> References: <200411211952.40024.gambas@...1...> Message-ID: <200411211452.10575.sourceforge-raindog2@...94...> On Sunday 21 November 2004 13:52, Benoit Minisini wrote: > I wrote to the Mandrake packager (Lenny Cartier) about this > problem on 07 Sep 2004, but he never answered. I'm going to > write him again, and will ask him to remove these packages if > he don't want to follow the needed organization. On 09 Nov 2004, Amrein-Marie Christopher said on the cooker list that my RC2 packages should appear in "a few days" but seemed confused on whether to use my spec file or yours; I said to use yours (and I will use yours for my RC3 packages this afternoon and re-submit them.) Rob From ronstk at ...239... Sun Nov 21 20:58:07 2004 From: ronstk at ...239... (Ron Onstenk) Date: Sun, 21 Nov 2004 20:58:07 +0100 Subject: [Gambas-user] XMLReader In-Reply-To: <41a09d8f.5661.0@...9...> References: <41a09d8f.5661.0@...9...> Message-ID: <200411212058.08865.ronstk@...239...> On Sunday 21 November 2004 15:52, Charlie Reinl wrote: | Salut Ron, | | have a nice trip. | Here an example, I worked out with your XML, using the FromString | | Amicalment | Charlie | * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * | Thanks Charlie, I did interrupt my printer setup to see. Good for PrettyPrint, now I can do it after 5 years without own printer. :) From ronstk at ...239... Sun Nov 21 23:03:18 2004 From: ronstk at ...239... (Ron Onstenk) Date: Sun, 21 Nov 2004 23:03:18 +0100 Subject: [Gambas-user] Release of Gambas 1.0 RC3 In-Reply-To: <200411211952.40024.gambas@...1...> References: <200411211952.40024.gambas@...1...> Message-ID: <200411212303.18623.ronstk@...239...> On Sunday 21 November 2004 19:52, Benoit Minisini wrote: | Here is a short list the bug fixes included in this release: | --8<--- | | The following translations are not up to date: Arabic, Galician, Welsh, Dutch, | and Brazilian portuguese. I don't know if I should remove them or not in the | final release... | I have the nl.po send to Fabrice but have nothing heard from him. I take the risk there are some translating mistakes inside. The only thing I haven't good checked are the key accelerators in the way they are unique in the forms. But because I have this week less time, due the trip I send it now. It would be a pity if it is removed. Can you confirm the way for people getting the (lang).po file now and put it in the source and recompile gambas to get the updated language? This way, a updated (lang).po is installable after a release is done instead waiting till next release. I'm not sure now this can be done. Second thing I want to know, is a plain attachment or a bz2 preferred? Ron -------------- next part -------------- A non-text attachment was scrubbed... Name: nl.po Type: application/x-gettext Size: 60242 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: nl.po.tar.bz2 Type: application/x-tbz Size: 12294 bytes Desc: not available URL: From sourceforge-raindog2 at ...94... Mon Nov 22 14:47:21 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 22 Nov 2004 08:47:21 -0500 Subject: [Gambas-user] gambas packages of 1.0RC3 Message-ID: <200411220847.22010.sourceforge-raindog2@...94...> Here you go.... still just 9.2 and 10.0 I'm afraid (hope to get access to a 10.1 box today or Wednesday...) http://www.kudla.org/index.php?wl_mode=more&wl_eid=65 Rob From Karl.Reinl at ...9... Mon Nov 22 21:41:30 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 22 Nov 2004 21:41:30 +0100 Subject: [Gambas-user] checked examples on RC3 Message-ID: <200411222141.30621.Karl.Reinl@...9...> Salut, This is for preparing the 1.0 I had a go, with all examples on RC3. I only looked, if they load into IDE and if I can start them. I dit NOT make a copy, I started the read only examples. here what I observed: Database/DataReportExample fails at: Fpreview.WebBrowser1.Path=flname -------------------------------------------------------------------------------- Exec/MoviePlayer can't test, no film on my box -------------------------------------------------------------------------------- Games/DeepSpace has a .lock file and fails at: PUBLIC SUB _new() mMain.Canvas = ME.daCanvas END -------------------------------------------------------------------------------- Games/Snake can't test, sdl not installed on my box -------------------------------------------------------------------------------- Miscellaneous/Explore About says 'IconView example ....' -------------------------------------------------------------------------------- /Networking can't realy test, had never a go with and do not know much all that network stuff. /DnsClient returns a signal #11 /HttpGet has a .lock file -------------------------------------------------------------------------------- Sound/MusicPlayer can't test, sdl not installed on my box -------------------------------------------------------------------------------- Amicalment Charlie From Karl.Reinl at ...9... Mon Nov 22 22:25:21 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 22 Nov 2004 22:25:21 +0100 Subject: [Gambas-user] searching Browser Message-ID: <200411222225.21250.Karl.Reinl@...9...> Salut Benoit, on my gentoo box , even if I can call 'konqueror' 'whereis konqueror' returns nothing 'which konqueror' returns the path to active konqueror my konqueror icon on desktop, starts 'kfmclient openProfile webbrowsing' and you can add the url. 'whereis 'kfmclient ' returns nothing 'which 'kfmclient ' returns the path to active 'kfmclient May be thats why I'v 3 versions of kde on my box 3.1,3.2 and 3.3 ! So find Browser is not solved. Amicalment Charlie From sourceforge-raindog2 at ...94... Mon Nov 22 23:18:52 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 22 Nov 2004 17:18:52 -0500 Subject: [Gambas-user] arrrrrgggh!! Message-ID: <200411221718.52205.sourceforge-raindog2@...94...> So no sooner do I upload my RC3 RPMs to cooker than I see this: Subject: [Contrib-Rpm] gambas-0.99-2mdk Date: Monday 22 November 2004 13:00 From: Lenny Cartier To: Changelog List [Contrib-RPM] -=-=-=- Name : gambas Relocations : (not relocatable) Version : 0.99 At least it's the correct spec, but it's 3 versions out of date now. Rob From satyasundarsahoo at ...626... Tue Nov 23 10:22:33 2004 From: satyasundarsahoo at ...626... (Satya Sahoo) Date: Tue, 23 Nov 2004 15:07:33 +0545 Subject: [Gambas-user] Re: Error Starting gambas on AMD 64 runing Fedora Core 3 x86_64 Message-ID: <4d2c9314041123012236f861b8@...627...> Thanks for the reply. I have compiled it for 32-bit and am able use it now. Regards, -Satya ------------------------- Gambas sources are not ready to be compiled in 64 bits mode. You must compile as a 32 bits application, but don't ask me how to do that as I have no idea! Note: I think you will have very few speed gains in a 64 bits gambas. Regards, -- Benoit Minisini mailto:gambas at ...1... > Hi, > > I have compiled gambas on AMD 64 running Fedora Core 3 x86_64. > > The compilation is successful but I get the following error on runing > gambas. > > sizeof(CLASS) = 256 ! > ERROR: #51: Bad archive: File exists > > I have attached the log of compilation '(./configure; make ; make > install) > make.log 2>&1' for your reference. > > Please help me as I want to get started on gambas as I find it very > interesting. > > Thanks, > -Satya From oxleyd at ...699... Tue Nov 23 10:26:59 2004 From: oxleyd at ...699... (Daniel Oxley) Date: Tue, 23 Nov 2004 10:26:59 +0100 Subject: [Gambas-user] Re: Error Starting gambas on AMD 64 runing Fedora Core 3 x86_64 In-Reply-To: <4d2c9314041123012236f861b8@...627...> Message-ID: <20041123092958.28B0737316@...700...> For the record, how do you compile for 32 bits then? Daniel -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Satya Sahoo Sent: 23 November 2004 10:23 To: gambas-user at lists.sourceforge.net Subject: [Gambas-user] Re: Error Starting gambas on AMD 64 runing Fedora Core 3 x86_64 Thanks for the reply. I have compiled it for 32-bit and am able use it now. Regards, -Satya ------------------------- Gambas sources are not ready to be compiled in 64 bits mode. You must compile as a 32 bits application, but don't ask me how to do that as I have no idea! Note: I think you will have very few speed gains in a 64 bits gambas. Regards, -- Benoit Minisini mailto:gambas at ...1... > Hi, > > I have compiled gambas on AMD 64 running Fedora Core 3 x86_64. > > The compilation is successful but I get the following error on runing > gambas. > > sizeof(CLASS) = 256 ! > ERROR: #51: Bad archive: File exists > > I have attached the log of compilation '(./configure; make ; make > install) > make.log 2>&1' for your reference. > > Please help me as I want to get started on gambas as I find it very > interesting. > > Thanks, > -Satya ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From lbaudio at ...172... Sun Nov 21 01:40:39 2004 From: lbaudio at ...172... (LB Audio) Date: Sat, 20 Nov 2004 22:40:39 -0200 (Hora oficial do Brasil) Subject: [Gambas-user] New component for Mixer two MP3 References: <1100710862.12299.1.camel@...40...> Message-ID: <419FE407.000003.01064@...701...> Hello to all. I am developing a component to reproduce 2 mp3 simultaneously with mixing with FMOD. I am using as base libSDL. But when I try to execute in the Skunks in real time the following message it comes... /usr/bin/gbx: relocation error: ... undefined symbol: FSOUND_SetOutput ( ) Please help me... Where am I wandering? -------------- next part -------------- An HTML attachment was scrubbed... URL: From lbaudio at ...172... Tue Nov 23 23:01:47 2004 From: lbaudio at ...172... (LB Audio) Date: Tue, 23 Nov 2004 20:01:47 -0200 (Hora oficial do Brasil) Subject: [Gambas-user] New component for Mixer two MP3 References: <419FE407.000003.01064@...701...> Message-ID: <41A3B34B.000001.01244@...701...> OK... As I didn't get remasterizer FMOD with skunks, I used the paste sdl. Will have to be made some modifications. I will make the step later the step sending for you. But Beno?t Minisini could add directly in the Skunks. -------Original Message------- From: gambas-user at lists.sourceforge.net Date: 23/11/2004 19:22:20 To: gambas-user at lists.sourceforge.net Subject: [Gambas-user] New component for Mixer two MP3 Hello to all. I am developing a component to reproduce 2 mp3 simultaneously with mixing with FMOD. I am using as base libSDL. But when I try to execute in the Skunks in real time the following message it comes... /usr/bin/gbx: relocation error: ... undefined symbol: FSOUND_SetOutput ( ) Please help me... Where am I wandering? -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...1... Wed Nov 24 17:27:27 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 24 Nov 2004 17:27:27 +0100 Subject: [Gambas-user] checked examples on RC3 In-Reply-To: <200411222141.30621.Karl.Reinl@...9...> References: <200411222141.30621.Karl.Reinl@...9...> Message-ID: <200411241727.27394.gambas@...1...> On Monday 22 November 2004 21:41, Charlie Reinl wrote: > Salut, > > This is for preparing the 1.0 > > I had a go, with all examples on RC3. > > I only looked, if they load into IDE and if I can start them. > > I dit NOT make a copy, I started the read only examples. > > here what I observed: > > Database/DataReportExample > fails at: Fpreview.WebBrowser1.Path=flname A problem I forgot to mention: examples projects must not have the option "form controls are public" set! Because the "make install" command never pass this option to the gambas compiler when it compiles examples. I modified the example so that I can remove this option in the project properties. > > --------------------------------------------------------------------------- >----- Exec/MoviePlayer > can't test, no film on my box > --------------------------------------------------------------------------- >----- Games/DeepSpace > has a .lock file > > and fails at: > > PUBLIC SUB _new() > mMain.Canvas = ME.daCanvas > END Same problem as in the DataReportExample example. > --------------------------------------------------------------------------- >----- Games/Snake > > can't test, sdl not installed on my box > --------------------------------------------------------------------------- >----- Miscellaneous/Explore > > About says 'IconView example ....' Yes: this IS an IconView example :-) > --------------------------------------------------------------------------- >----- /Networking > > can't realy test, had never a go with and do not know much all that > network stuff. > > /DnsClient returns a signal #11 I fixed it. > > /HttpGet has a .lock file > I removed it. > --------------------------------------------------------------------------- >----- Sound/MusicPlayer > can't test, sdl not installed on my box > > --------------------------------------------------------------------------- >----- > > > Amicalment > Charlie > Thanks for your tests Charlie. Regards, -- Benoit Minisini mailto:gambas at ...1... From technoferret at ...598... Thu Nov 25 10:53:56 2004 From: technoferret at ...598... (Technoferret) Date: Thu, 25 Nov 2004 09:53:56 +0000 Subject: [Gambas-user] getting a list of users Message-ID: <1101376436.1248.4.camel@...599...> Could anyone help me with what is probably a simple problem. I need to populate a combobox with a list of all the USER names that have a login account on the system but for some reason how I get this list has deserted me. Cheers Dave -- "All electronic components have smoke inside them, once this is released they will cease to function." From gambas at ...1... Thu Nov 25 11:21:06 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 25 Nov 2004 11:21:06 +0100 Subject: [Gambas-user] getting a list of users In-Reply-To: <1101376436.1248.4.camel@...599...> References: <1101376436.1248.4.camel@...599...> Message-ID: <200411251121.06817.gambas@...1...> On Thursday 25 November 2004 10:53, Technoferret wrote: > Could anyone help me with what is probably a simple problem. > > I need to populate a combobox with a list of all the USER names that > have a login account on the system but for some reason how I get this > list has deserted me. > > Cheers > Dave The quick way but not the good way: MyComboBox.List = Dir("/home").Join("\n") & "\nroot" -- Benoit Minisini mailto:gambas at ...1... From lars.engels at ...703... Thu Nov 25 21:19:29 2004 From: lars.engels at ...703... (Lars Engels) Date: Thu, 25 Nov 2004 21:19:29 +0100 Subject: [Gambas-user] Component Missing when creating Form Message-ID: <20041125201928.GB2357@...704...> Hello List! I have a freshly installed Gambas version 0.93b on Fedora Core 2. The installation was made via rpm. When I open one of the example programs or create a new one and create a new form, Gambas crashes with the following error: FForm.CreateControl.789: #-1: Component missing WARNING: circular references detected Mutex destroy failure: Device or resource busy Does anyone know which component is missing? Neither google nor the list's archive know the problem. Thanks in advance Lars Engels From ronstk at ...239... Thu Nov 25 21:27:20 2004 From: ronstk at ...239... (Ron Onstenk) Date: Thu, 25 Nov 2004 21:27:20 +0100 Subject: [Gambas-user] Dutch translation Message-ID: <200411252127.20848.ronstk@...239...> No changes, only resend in case not arrived. I'm leaving Monday my current workplace for 6 weeks. Ron -------------- next part -------------- A non-text attachment was scrubbed... Name: nl-RC3.po Type: application/x-gettext Size: 60242 bytes Desc: not available URL: From macisaac at ...689... Fri Nov 26 00:58:54 2004 From: macisaac at ...689... (Michael Isaac) Date: Thu, 25 Nov 2004 15:58:54 -0800 Subject: [Gambas-user] Range Operator Message-ID: <41A671BE.7060200@...689...> You need a range operator. This is what I mean. DIM X AS NEW String[] X = [ "A", "B", "C", "D", "E" ] We have defined X, which is 0 to 4 (total of 5) elements long, lets say I only need a small part of the array, It would be nice to be able to slice it, like this... Dim Y As New String[] Y = X[1..3] Y would now be equal to [ "B", "C", "D" ] this would save everyone, especially me, alot of time writing for...next statments. Is there anyway to accomplish this? or do i have to wait for 1.0 ;) Michael From gambas at ...162... Fri Nov 26 01:53:05 2004 From: gambas at ...162... (Wojciech Saltarski) Date: Fri, 26 Nov 2004 01:53:05 +0100 Subject: [Gambas-user] little bugs Message-ID: <200411260153.06049.gambas@...162...> Screenshots in attachments: AboutGambas1,2 & FSave - not enough place for translated text. FSupSelector - too low cboFilter -- Wojciech Saltarski mailto:gambas at ...162... -------------- next part -------------- A non-text attachment was scrubbed... Name: AboutGambas1.jpg Type: image/jpeg Size: 47350 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: FSave.jpg Type: image/jpeg Size: 13584 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: FSupSelector.jpg Type: image/jpeg Size: 42548 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: AboutGambas2.jpg Type: image/jpeg Size: 37101 bytes Desc: not available URL: From gambasfr at ...11... Fri Nov 26 20:14:53 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Fri, 26 Nov 2004 20:14:53 +0100 Subject: [Gambas-user] Need help on format$ function Message-ID: <200411262014.53276.gambasfr@...11...> Hi to all I'm working on a professionnal program for manage cognac stock... But when i type : PRINT Format(12355.20, "0 00.00") i've : 12355 00.00 I need somme thing like that : PRINT Format(12355.20, "0 \h\l 00 \L .00 \c\l") it don't work (escape characters are not accepted) but it will be usefull and must to return : 123 hl 55 L. 20 cl If i type PRINT Format(12355.20, "0 hl 00 L .00 cl") it return : 12355 hl 00 L .00 cl Say me if you have a soluce for that please ! Fabien Bodard From Karl.Reinl at ...9... Fri Nov 26 21:27:27 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 26 Nov 2004 21:27:27 +0100 Subject: [Gambas-user] give gDBM a little bit more usability Message-ID: <200411262127.28013.Karl.Reinl@...9...> Salut Benoit, made some little changes to gDBM to give FRequest a bit more usability. It is nothing magic, only show the Tables and fields of the DB , where the SQL request was choosen. And set a 'Select * from ' when table in tables-combo is changed. If in field-combo somethings changed the field-name is set to the selection string. For sqlite a 'Open DB would be nice', because it is not an engine who knows where the DB-files are. Amicalment Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: FRequest.class Type: application/x-java Size: 6546 bytes Desc: not available URL: -------------- next part -------------- # Gambas Form File 1.0 { FRequest Form Move(162,118,622,536) Text = ("") Icon = Picture["img/16/sql.png"] Arrangement = Arrange.Vertical { Panel1 Panel Move(0,0,304,32) Arrangement = Arrange.Horizontal Spacing = 4 Padding = 4 Border = Border.Raised { PictureBox1 PictureBox Move(8,8,16,16) Picture = Picture["img/16/sql.png"] Alignment = Align.Center } { lblTitle Label Move(40,0,200,24) Expand = True Text = ("") } { btnClose ToolButton Move(272,8,20,20) Text = ("") Picture = Picture["img/16/close.png"] } } { splRequest VSplit Move(8,40,592,472) Expand = True { VBox1 VBox Move(32,24,512,192) { HPanel1 HPanel Move(48,16,448,24) { btnRun ToolButton Move(0,0,24,24) ToolTip = ("Run") Text = ("") Picture = Picture["img/16/right-b.png"] } { btnNew ToolButton Move(24,0,24,24) ToolTip = ("New request") Text = ("") Picture = Picture["img/16/delete.png"] } { btnLoad ToolButton Move(48,0,24,24) ToolTip = ("Load request") Text = ("") Picture = Picture["img/16/open-file.png"] } { btnSave ToolButton Move(72,0,24,24) ToolTip = ("Save request") Text = ("") Picture = Picture["img/16/save.png"] } { btnFind ToolButton Move(96,0,24,24) Visible = False ToolTip = ("Find") Text = ("") Picture = Picture["img/16/find.png"] } { cbxTables ComboBox Move(128,0,136,8) Text = (" ") } { cbxFields ComboBox Move(280,0,136,8) Text = (" ") } } { txtRequest TextArea Move(32,48,336,112) Expand = True Text = ("") Wrap = True } } { panRequest Panel Move(16,232,536,224) Arrangement = Arrange.Fill { Panel3 Panel Move(24,8,400,176) Arrangement = Arrange.Fill Padding = 8 { lblRequest Label Move(0,0,336,112) Text = ("") Alignment = Align.TopNormal } } { panData VBox Move(16,40,480,168) Visible = False { HBox1 HBox Move(120,16,304,24) { btnSaveData ToolButton Move(0,0,24,24) ToolTip = ("Export data") Text = ("") Picture = Picture["img/16/save.png"] } { btnCopyData ToolButton Move(24,0,24,24) ToolTip = ("Copy data in clipboard") Text = ("") Picture = Picture["img/16/copy.png"] } { lblCount Label Move(64,0,208,24) Expand = True Text = ("") Alignment = Align.Right } { Panel2 Panel Move(280,0,8,24) } } { tbvData TableView Move(96,56,216,96) Font = Font["8"] Expand = True Mode = TableView.Multi } } } } } From ronstk at ...239... Fri Nov 26 22:43:39 2004 From: ronstk at ...239... (Ron Onstenk) Date: Fri, 26 Nov 2004 22:43:39 +0100 Subject: [Gambas-user] Wish: IDE TextEditor functions Message-ID: <200411262243.39783.ronstk@...239...> If using the TextEditor on a text file in the data folder have a change by accident there is no way to revert this. The Undo can only handle 1 item. Close of the editor does not really close but hides only. Reopen returns the unsaved state. It should be nice to have a 'Save as...' and 'Reload' in the RMB menu. A folder acting as the Data folder but not included in the project for the executable, sometimes it can be help documentation. Temporary savings or templates to use related to the project. Ron. From j.m.curl at ...466... Sat Nov 27 12:17:16 2004 From: j.m.curl at ...466... (Jason Curl) Date: Sat, 27 Nov 2004 12:17:16 +0100 Subject: [Gambas-user] Component Missing when creating Form In-Reply-To: <20041125201928.GB2357@...704...> Message-ID: <000001c4d472$a8b91a80$1410a8c0@...511...> Version 0.93b is really old now. You might want to try downloading 0.99RC3 and compiling it from scratch Have a look at gambas.sourceforge.net -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Lars Engels Sent: Thursday, 25 November 2004 21:19 To: gambas-user at lists.sourceforge.net Subject: [Gambas-user] Component Missing when creating Form Hello List! I have a freshly installed Gambas version 0.93b on Fedora Core 2. The installation was made via rpm. When I open one of the example programs or create a new one and create a new form, Gambas crashes with the following error: FForm.CreateControl.789: #-1: Component missing WARNING: circular references detected Mutex destroy failure: Device or resource busy Does anyone know which component is missing? Neither google nor the list's archive know the problem. Thanks in advance Lars Engels ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From j.m.curl at ...17... Sat Nov 27 12:19:39 2004 From: j.m.curl at ...17... (Jason Curl) Date: Sat, 27 Nov 2004 12:19:39 +0100 Subject: [Gambas-user] getting a list of users In-Reply-To: <200411251121.06817.gambas@...1...> Message-ID: <000101c4d472$fd9cf9e0$1410a8c0@...511...> On most systems, isn't /etc/passwd available for reading? One could iterate through this and check that the login shell is actually valid for a valid login account. I'm not sure if the passwd file is always kept in /etc though. -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Benoit Minisini Sent: Thursday, 25 November 2004 11:21 To: gambas-user at lists.sourceforge.net Subject: Re: [Gambas-user] getting a list of users On Thursday 25 November 2004 10:53, Technoferret wrote: > Could anyone help me with what is probably a simple problem. > > I need to populate a combobox with a list of all the USER names that > have a login account on the system but for some reason how I get this > list has deserted me. > > Cheers > Dave The quick way but not the good way: MyComboBox.List = Dir("/home").Join("\n") & "\nroot" -- Benoit Minisini mailto:gambas at ...1... ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambasfr at ...11... Sat Nov 27 14:02:59 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Sat, 27 Nov 2004 14:02:59 +0100 Subject: [Gambas-user] just a look add into the IDE Message-ID: <200411271402.59492.gambasfr@...11...> Just a change to get a more pretty explorer Fabien -------------- next part -------------- A non-text attachment was scrubbed... Name: FSupSelector.class Type: application/x-java Size: 34917 bytes Desc: not available URL: -------------- next part -------------- ' Gambas module file PUBLIC ProjectTree AS TreeView PUBLIC ProjectMessage AS Label PUBLIC ActiveForm AS Object PUBLIC Path AS String PUBLIC Name AS String PUBLIC Dir AS String PUBLIC ReadOnly AS Boolean PUBLIC Title AS String PUBLIC Startup AS String PUBLIC Libraries AS String[] PUBLIC Arguments AS String PUBLIC KeepDebugInfo AS Boolean PUBLIC ControlPublic AS Boolean PUBLIC MajorVersion AS Integer PUBLIC MinorVersion AS Integer PUBLIC ReleaseVersion AS Integer PUBLIC SnapToGrid AS Boolean PUBLIC ShowGrid AS Boolean PUBLIC Snap AS Integer PUBLIC Localize AS Boolean PUBLIC Types AS String[] PUBLIC Description AS String PUBLIC Icon AS String PUBLIC Systems AS String[] PUBLIC Menus AS Collection PUBLIC Groups AS Collection PUBLIC Prefix AS Boolean PUBLIC TabSize AS Integer PUBLIC Version AS String PUBLIC ExecPath AS String PUBLIC TileGrid AS Picture PUBLIC Running AS Boolean PUBLIC Recent AS NEW String[] PRIVATE CONST MAX_RECENT AS Integer = 24 PUBLIC CONST FORM_MAGIC AS String = "# Gambas Form File 1.0" PUBLIC CONST PROJECT_MAGIC AS String = "# Gambas Project File 1.0" PUBLIC CONST DEFAULT_FONT AS String = "Monospace,10" PUBLIC Files AS NEW Collection PUBLIC AboutToQuit AS Boolean PUBLIC Positions AS NEW String[] PUBLIC CONST MAX_ICON_SIZE AS Integer = 2048 PUBLIC EXAMPLES_DIR AS String PUBLIC RPMBUILD_PROG AS String PRIVATE CONST IMAGE_DIR AS String = "img/16" PRIVATE CONST KEY_MODULE AS String = "$M" PRIVATE CONST KEY_CLASS AS String = "$C" PUBLIC CONST KEY_FORM AS String = "$F" PUBLIC CONST KEY_MISC AS String = "$O" PRIVATE CONST CLASS_AUTH_CAR AS String = "abcdefghijklmnopqrstuvwxyz0123456789" PRIVATE CONST FILE_AUTH_CAR AS String = "abcdefghijklmnopqrstuvwxyz0123456789-.+_" PRIVATE CONST PROJECT_FILE AS String = ".project" PRIVATE $bGetSource AS Boolean PRIVATE $bDisplayForm AS Boolean PRIVATE TMP_FILE AS String '= "/tmp/.gambas.ver" PRIVATE OUTPUT_FILE AS String '= "/tmp/.gambas.out" PRIVATE $sBrowser AS String PUBLIC SUB Main() DIM sPath AS String DIM hGambas AS FGambas TMP_FILE = Temp$() OUTPUT_FILE = Temp$() 'CLASSES_FILE = Temp$() EXAMPLES_DIR = System.Path &/ "share/gambas/examples" 'Config = NEW Config '(System.Home &/ ".gambas") Application.Tooltip.Enabled = Settings["/ShowTooltip", TRUE] 'Application.Font = Font["10"] InitVersion LoadRecent FMain.Load FGambas.Load 'FOutput.Load(Workspace) 'FDebug.Load(Workspace) 'FIconTool.Load(Workspace) 'FFormStack.Load(Workspace) 'FExplorer.Load(Workspace) DO sPath = FWelcome.Run() 'sPath = System.Home &/ "gambas/test/gambas" IF sPath THEN Project.Open(sPath) ELSE FMain.Close RETURN ENDIF LOOP UNTIL Project.Name INC Application.Busy FProperty.Show FToolBox.Show 'FFormStack.Load IF Settings["/ShowMascot", TRUE] THEN FGambas.Show ENDIF FMain.UpdateRecentMenu FMain.Show DEC Application.Busy IF Settings["/ShowTipOnStartup", TRUE] THEN FTips.Run ENDIF END PRIVATE SUB InitVersion() DIM sVer AS String Version = "?" SHELL "gbx -V > " & TMP_FILE WAIT sVer = File.Load(TMP_FILE) KILL TMP_FILE Version = Trim(Mid$(sVer, Instr(sVer, "-") + 1)) END PUBLIC FUNCTION Open(sDir AS String) AS Boolean DIM sOldPath AS String DIM sOldName AS String sOldPath = Project.Path sOldName = Project.Name IF CloseProject() THEN RETURN TRUE IF Exist(sDir &/ ".lock") THEN IF Message.Warning(("BE CAREFUL! This project seems to be already opened.\n\nOpening the same project twice can crash the IDE\nand lead to data loss."),("Open after all"),("Do not open")) = 2 THEN RETURN TRUE ENDIF TRY KILL sDir &/ ".lock" ENDIF ReadOnly = NOT Access(sDir, gb.write) Path = sDir &/ PROJECT_FILE Name = File.Name(sDir) Project.Dir = sDir ReadProject Refresh AddRecent(sDir) FMain.OnProjectChange FFind.OnProjectChange 'FExplorer.ProjectChange FDebug.Clear TRY File.Save(sDir &/ ".lock", "") IF ReadOnly THEN Message.Warning(("This project is read-only.")) SetMessage(("OK")) RETURN CATCH IF Error.Text THEN Message.Error(("Cannot open project file :\n") & sDir & "\n\n" & Error.Text & "\n" & Error.Where) ENDIF Path = sOldPath Project.Dir = File.Dir(Path) Name = sOldName IF Path THEN ReadProject RETURN TRUE END PUBLIC SUB CloseAll() DIM hForm AS Object FOR EACH hForm IN Files hForm.Close NEXT END PRIVATE FUNCTION CloseProject() AS Boolean DIM hForm AS Object DIM bModif AS Boolean 'IF Len(Path) = 0 THEN RETURN IF Running THEN FDebug.Stop 'WAIT 0.5 ENDIF FOR EACH hForm IN Files IF hForm.IsModified() THEN bModif = TRUE BREAK ENDIF NEXT IF bModif THEN IF FSave.Run(AboutToQuit) THEN RETURN TRUE ENDIF FFind.Close FOR EACH hForm IN Files hForm.Delete NEXT Files.Clear ActiveForm = NULL IF NOT AboutToQuit THEN FProperty.HideAll TRY KILL Project.Dir &/ ".lock" RETURN FALSE END PUBLIC FUNCTION Close() AS Boolean DIM hForm AS Form DIM iInd AS Integer DIM sLig AS String AboutToQuit = TRUE IF CloseProject() THEN AboutToQuit = FALSE RETURN TRUE ENDIF SaveRecent 'FDebug.Close 'FOR EACH hForm IN Windows ' TRY hForm.Close 'NEXT 'FOR EACH hForm IN Windows ' TRY hForm.Delete 'NEXT ' FToolBox.Delete ' FExplorer.Delete ' FFind.Delete ' FGambas.Delete ' FIconTool.Delete ' FDebug.Delete ' FProperty.Delete CComponent.Exit END PRIVATE PROCEDURE AddDir(cDir AS String[]) DIM sDir AS String DIM sFile AS String DIM sIcon AS String DIM sPath AS String DIM sKey AS String DIM bShow AS Boolean DIM sExt AS String DIM sParent AS String DIM hPict AS Picture DIM aFile AS NEW String[] DIM bAllowForm AS Boolean bAllowForm = AllowForm() sDir = cDir[0] FOR EACH sFile IN Dir(sDir, "*") IF IsDir(sDir &/ sFile) THEN aFile.Add("D" & sFile) NEXT FOR EACH sFile IN Dir(sDir, "*") IF NOT IsDir(sDir &/ sFile) THEN aFile.Add("F" & sFile) NEXT aFile.Sort FOR EACH sFile IN aFile sFile = Mid$(sFile, 2) sPath = sDir &/ sFile sKey = sPath sParent = sDir WITH Stat(sPath) IF NOT .Hidden THEN bShow = FALSE IF .Type = gb.Directory THEN cDir.Add(sPath) sIcon = IMAGE_DIR &/ "close.png" IF sDir = Project.Dir THEN sParent = KEY_MISC ENDIF bShow = TRUE ELSE sExt = Lower(File.Ext(sFile)) IF sDir = Project.Dir THEN sParent = KEY_MISC ENDIF SELECT CASE sExt CASE "form", "class", "module" IF sParent = KEY_MISC THEN sIcon = IMAGE_DIR &/ sExt & ".png" bShow = TRUE IF sExt = "form" THEN sParent = KEY_FORM IF NOT bAllowForm THEN sIcon = "" ELSE IF sExt = "class" THEN sParent = KEY_CLASS IF $bDisplayForm THEN IF NOT bAllowForm THEN IF Exist(sDir &/ File.BaseName(sFile) & ".form") THEN sIcon = "" ENDIF ENDIF ELSE IF Exist(sDir &/ File.BaseName(sFile) & ".form") THEN sIcon = "" ENDIF ENDIF ELSE IF sExt = "module" THEN sParent = KEY_MODULE ENDIF sFile = File.BaseName(sFile) ELSE sIcon = IMAGE_DIR &/ "unknown.png" ENDIF CASE "jpg", "jpeg", "xpm", "bmp", "png", "gif" IF .Size > MAX_ICON_SIZE THEN sIcon = IMAGE_DIR &/ "image.png" ELSE sIcon = sPath ENDIF CASE "svg" sIcon = IMAGE_DIR &/ "image.png" CASE "pot" IF sParent = KEY_MISC THEN sIcon = "" ENDIF CASE ELSE sIcon = "" IF Right$(sFile,1) <> "~" THEN IF sFile <> Project.Name OR sParent <> KEY_MISC THEN sIcon = IMAGE_DIR &/ "unknown.png" ENDIF ENDIF END SELECT ENDIF IF Len(sIcon) THEN IF Left$(sIcon) = "/" THEN hPict = NEW Picture hPict.Load(sIcon) ELSE hPict = Picture[sIcon] ENDIF WITH ProjectTree.Add(sKey, sFile, hPict, sParent) IF bShow THEN ProjectTree[sKey].MoveParent ProjectTree.Item.Expanded = TRUE ENDIF END WITH ENDIF ENDIF END WITH NEXT END PRIVATE SUB SelectKey(sKey AS String) IF NOT ProjectTree.Exist(sKey) THEN IF Right$(sKey, 6) = ".class" THEN sKey = Left$(sKey, -6) & ".form" ENDIF ENDIF TRY ProjectTree[sKey].Selected = TRUE TRY ProjectTree[sKey].EnsureVisible END PUBLIC PROCEDURE Refresh(OPTIONAL bReset AS Boolean) DIM sFile AS String DIM cDir AS NEW String[] DIM sDir AS String DIM sKey AS String DIM sKeyReset AS String $bDisplayForm = Settings["/DisplayForm"] IF NOT bReset THEN sKeyReset = ProjectTree.Key ENDIF WITH ProjectTree .Clear() sKey = Project.Dir .Add(sKey, Name, Picture["img/16/gambas.png"]).Expanded = TRUE cDir.Add(Project.Dir) .Add(KEY_CLASS, ("Classes"), Picture["img/16/close.png"], sKey).Expanded = TRUE IF AllowForm() THEN .Add(KEY_FORM, ("Forms"), Picture["img/16/close.png"], sKey).Expanded = TRUE ENDIF .Add(KEY_MODULE, ("Modules"), Picture["img/16/close.png"], sKey).Expanded = TRUE .Add(KEY_MISC, ("Data"), Picture["img/16/close.png"], sKey).Expanded = TRUE '$bGetSource = TRUE REPEAT AddDir(cDir) cDir.Remove(0) $bGetSource = FALSE UNTIL cDir.Count = 0 '.Sort() END WITH IF sKeyReset THEN sKey = sKeyReset TRY ProjectTree[sKey].EnsureVisible DefineStartup(Startup, TRUE) 'STOP FMain.Title = ("Project") & " - " & Name & If(ReadOnly, " [" & ("Read only") & "]", "") END PUBLIC FUNCTION IsEditor(hFile AS Object) AS Boolean RETURN Object.Type(hFile) = "FEditor" END PUBLIC FUNCTION IsForm(hFile AS Object) AS Boolean IF hFile THEN RETURN Object.Type(hFile) = "FForm" END PUBLIC FUNCTION LoadFile(sPath AS String) AS Object DIM hForm AS Object 'DIM hActive AS Object INC Application.Busy hForm = Files[sPath] IF NOT hForm THEN 'PRINT "Load: "; sPath 'hActive = ActiveForm SELECT CASE Lower(File.Ext(sPath)) CASE "module", "class" hForm = NEW FEditor(sPath) CASE "form" IF AllowForm() THEN hForm = NEW FForm(sPath) CASE "png", "gif", "jpg", "jpeg", "bmp", "xpm" hForm = NEW FIconEditor(sPath) CASE ELSE hForm = NEW FTextEditor(sPath) END SELECT Files[sPath] = hForm ENDIF DEC Application.Busy RETURN hForm CATCH DEC Application.Busy Message.Error(("Cannot open file.") & "\n\n" & Error.Text & "\n" & Error.Where) END PUBLIC FUNCTION FindPath(sClass AS String) AS String DIM sPath AS String sPath = Project.Dir &/ sClass & ".class" IF Exist(sPath) THEN RETURN sPath sPath = Project.Dir &/ sClass & ".module" IF Exist(sPath) THEN RETURN sPath 'PRINT "FindPath: "; sClass; " ?" END PUBLIC SUB OpenFile(sPath AS String, OPTIONAL iLine AS Integer) DIM hForm AS Object IF Instr(sPath, "/") = 0 THEN sPath = FindPath(sPath) IF NOT Exist(sPath) THEN Message.Warning("File not found!") Project.Refresh RETURN ENDIF 'IF File.Ext(sPath) = "form" THEN ' FProperty.Show ' FToolBox.Show 'ENDIF LoadFile(sPath) hForm = Files[sPath] IF NOT hForm THEN RETURN hForm.Show IF Object.Type(hForm) = "FEditor" THEN hForm.Editor.SetFocus ENDIF IF iLine THEN hForm.GotoCenter(iLine, 0) END PUBLIC FUNCTION ExistForm(sName AS String) AS Boolean RETURN Dir(Project.dir, "*.form").Find(sName & ".form", gb.Text) >= 0 END PUBLIC SUB OpenForm(sName AS String) DIM sPath AS String sPath = Project.Dir &/ sName & ".form" IF Exist(sPath) THEN OpenFile(sPath) END PRIVATE FUNCTION AddMessage(sVoid AS String) AS String DIM hFic AS File DIM sLig AS String IF Stat(OUTPUT_FILE).Size = 0 THEN SetMessage(sVoid) RETURN ELSE OPEN OUTPUT_FILE FOR READ AS #hFic WHILE NOT Eof(hFic) LINE INPUT #hFic, sLig 'ProjectMessage.Add(sLig) WEND CLOSE #hFic ENDIF 'ProjectMessage.Index = ProjectMessage.Count - 1 'SetMessage(sLig) RETURN sLig END PRIVATE SUB CompileError(sMsg AS String) DIM iPos AS Integer DIM sFile AS String DIM iLine AS Integer iPos = Instr(sMsg, ":") 'if iPos = 0 then return sFile = Left$(sMsg, iPos - 1) sMsg = Mid$(sMsg, iPos + 1) iPos = Instr(sMsg, ":") 'if iPos = 0 then return iLine = Val(Left$(sMsg, iPos - 1)) 'if iLine = 0 then return sFile = File.Dir(Path) &/ File.Name(sFile) SetMessage(File.BaseName(sFile) & "." & CStr(iLine) & ": " & Trim(Mid$(sMsg,iPos + 1))) OpenFile(sFile, iLine) FGambas.Animate("Depressive") Message.Warning(Trim(Mid$(sMsg,iPos + 1)) & "\n" & Subst(("at line &1 in &2"), CStr(iLine), File.Name(sFile))) OpenFile(sFile, iLine) CATCH END PUBLIC FUNCTION Quote(sPath AS String) AS String DIM sQuote AS String DIM iInd AS Integer DIM sCar AS String sPath = Conv$(sPath, Desktop.Charset, System.Charset) FOR iInd = 1 TO Len(sPath) sCar = Mid$(sPath, iInd, 1) IF Instr("0123456789abcdefghijklmnopqrstuvwxyz.-/_~", LCase(sCar)) = 0 THEN sCar = "\\" & sCar ENDIF sQuote = sQuote & sCar NEXT RETURN sQuote END PUBLIC FUNCTION Escape(sStr AS String) AS String DIM sRes AS String DIM iInd AS Integer DIM sCar AS String DIM iPos AS Integer FOR iInd = 1 TO Len(sStr) sCar = Mid$(sStr, iInd, 1) iPos = Instr("'\"\\\n\r\t", sCar) IF iPos THEN sCar = "\\" & Mid$("'\"\\nrt", iPos, 1) sRes = sRes & sCar NEXT RETURN sRes END PUBLIC SUB Process_Read() DIM sLig AS String LINE INPUT #LAST, sLig PRINT sLig END PUBLIC SUB DeleteCompiledFiles() DIM sFile AS String EXEC [ "rm", "-rf", Project.Dir &/ ".gambas"] WAIT IF Exist(Project.Dir &/ ".lang") THEN FOR EACH sFile IN Dir(Project.Dir &/ ".lang", "*.pot") TRY KILL Project.Dir &/ ".lang" &/ sFile NEXT ENDIF END PUBLIC FUNCTION GetCompileCommand(bAll AS Boolean, bNoDebug AS Boolean, bIDE AS Boolean) AS String DIM sExec AS String sExec = System.Path &/ "bin/gbc " IF bAll THEN sExec = sExec & "-a " IF NOT bNoDebug THEN sExec = sExec & "-g " IF Localize THEN sExec = sExec & "-t " IF ControlPublic THEN sExec = sExec & "-p " 'sExec = sExec & "-c " & Quote(CLASSES_FILE) & " " & Quote(Project.Dir) & " > " & OUTPUT_FILE & " 2>&1" IF bIDE THEN sExec = sExec & Quote(Project.Dir) sExec = sExec & " > " & OUTPUT_FILE & " 2>&1" ENDIF RETURN sExec END PUBLIC FUNCTION Compile(OPTIONAL bAll AS Boolean, OPTIONAL bNoDebug AS Boolean) AS Boolean DIM sExec AS String DIM sRes AS String DIM sDir AS String IF Project.ReadOnly THEN RETURN IF Project.Running THEN RETURN 'TRUE IF Lock() THEN RETURN TRUE sDir = Project.Dir Save SetMessage(("Compiling project") & " " & Project.Name & "...") IF bAll THEN CleanUpProject DeleteCompiledFiles WriteProject ENDIF sExec = GetCompileCommand(bAll, bNoDebug, TRUE) SHELL sExec WAIT 'Stat(OUTPUT_FILE) sRes = AddMessage(("Nothing to do.")) IF sRes THEN IF sRes <> "OK" THEN Unlock() CompileError(sRes) RETURN TRUE ELSE IF Localize THEN TRY MKDIR sDir &/ ".lang" SHELL "msgcat " & Quote(sDir) &/ ".lang/*.pot > " & Quote(sDir &/ ".lang/.pot") & " 2>/dev/null" WAIT ENDIF SetMessage(("OK")) FGambas.Animate("Happy") ENDIF ENDIF Unlock() END PRIVATE FUNCTION CheckRunning(OPTIONAL bCompileAll AS Boolean) AS Boolean IF Project.Running THEN RETURN IF Compile(bCompileAll) THEN RETURN TRUE IF CheckStartupClass() THEN RETURN TRUE END PUBLIC SUB Run(OPTIONAL bCompileAll AS Boolean, OPTIONAL iDebug AS Integer) IF CheckRunning(bCompileAll) THEN RETURN IF iDebug = 1 THEN FDebug.Step ELSE IF iDebug = 2 THEN FDebug.Forward ELSE IF iDebug = 3 THEN FDebug.ReturnFrom ELSE FDebug.Run ENDIF END PUBLIC SUB Forward() IF CheckRunning() THEN RETURN FDebug.Forward END PUBLIC SUB ReturnFrom() IF CheckRunning() THEN RETURN FDebug.ReturnFrom END PUBLIC SUB RunUntil(hForm AS FEditor, iLine AS Integer) IF CheckRunning() THEN RETURN FDebug.RunUntil(hForm, iLine) END PUBLIC SUB Step() IF Compile() THEN RETURN IF CheckStartupClass() THEN RETURN FDebug.Step END PUBLIC SUB Save() DIM hForm AS Object INC Application.Busy FOR EACH hForm IN Files IF Object.Type(hForm) = "FEditor" THEN IF hForm.Save(TRUE) THEN BREAK ELSE IF hForm.Save() THEN BREAK ENDIF NEXT DEC Application.Busy END PUBLIC SUB Insert(sName AS String, sType AS String, OPTIONAL sTemplate AS String, OPTIONAL bNoRefresh AS Boolean) DIM sPath AS String DIM sData AS String sPath = Project.Dir &/ File.BaseName(sName) & "." & sType IF Exist(sPath) THEN Message.Warning(("File already exists.")) RETURN ENDIF File.Save(sPath, sTemplate) IF NOT bNoRefresh THEN Refresh OpenFile(sPath) END PUBLIC SUB InsertFile(sName AS String, sDir AS String, OPTIONAL sTemplate AS String) DIM sPath AS String DIM sData AS String sPath = sDir &/ sName IF Len(sTemplate) THEN IF Exist(sPath) THEN Message.Warning(("File already exists.")) RETURN ENDIF SHELL "cp " & Quote(sTemplate) & " " & Quote(sPath) WAIT IF NOT Exist(sPath) THEN Message.Error(("Cannot copy template file.")) RETURN ENDIF ENDIF Refresh RefreshLibrary OpenFile(sPath) END PUBLIC SUB InsertDirectory(sPath AS String) IF Exist(sPath) THEN Message.Warning(("Directory already exists.")) RETURN ENDIF MKDIR sPath Refresh END PUBLIC SUB Activate(hForm AS Object) DIM sType AS String 'PRINT Application.ActiveWindow 'TRY PRINT Application.ActiveWindow.Name 'IF Application.ActiveWindow <> hForm THEN RETURN 'IF File.Ext(hForm.Path) = "class" THEN ' IF Exist(File.Dir(hForm.Path) &/ File.BaseName(hForm.Path) & ".form" THEN IF NOT hForm THEN RETURN SelectKey(hForm.Path) IF ActiveForm = hForm THEN RETURN ActiveForm = hForm IF Object.Type(hForm) = "FIconEditor" THEN FIconTool.Raise ELSE FIconTool.Hide ENDIF FProperty.RefreshAll FFormStack.RefreshAll ' IF Object.Type(hForm) = "FTextEditor" THEN ' FFind.SetTextOnly(TRUE) ' ELSE IF Object.Type(hForm) = "FEditor" THEN ' FFind.SetTextOnly(FALSE) ' ENDIF END PUBLIC SUB Deactivate(hForm AS Object) IF ActiveForm <> hForm THEN RETURN SELECT CASE Object.Type(hForm) CASE "FIconEditor" FIconTool.Hide CASE "FForm" FProperty.HideAll FFormStack.HideAll END SELECT END PUBLIC FUNCTION NewProject(sDir AS String, OPTIONAL aOption AS String[]) AS Boolean DIM sName AS String DIM iInd AS Integer DIM sPath AS String DIM sOption AS String sName = File.Name(sDir) MKDIR sDir sPath = sDir &/ PROJECT_FILE IF aOption THEN sOption = aOption.Join("\n") File.Save(sPath, PROJECT_MAGIC & "\nProject=" & sName & "\n" & sOption) 'BrowseForm.AddProject(sDir) RETURN CATCH Message.Warning(("Cannot create project!") & "\n\n" & Error.Text) RETURN TRUE END PUBLIC FUNCTION CopyProject(sSrc AS String, sDst AS String) AS Boolean DIM sName AS String DIM iInd AS Integer DIM sPath AS String DIM sOut AS String sOut = Temp$ SHELL "cp -r " & Quote(sSrc) & " " & Quote(sDst) & " 2> " & Quote(sOut) WAIT sOut = File.Load(sOut) IF sOut THEN Error.Raise(sOut) RETURN CATCH Message.Warning(("Cannot copy project!") & "\n\n" & Error.Text) RETURN TRUE END PUBLIC FUNCTION MakeExecutable(OPTIONAL bDoNotIncVersion AS Boolean, OPTIONAL bSilent AS Boolean) AS Boolean DIM sExec AS String IF NOT bSilent THEN Dialog.Title = ("Make executable") Dialog.Path = ExecPath Dialog.Filter = [ ("All files") & " (*.*)" ] IF NOT Exist(Dialog.Path) THEN Dialog.Path = Project.Dir &/ Project.Name ENDIF IF Dialog.SaveFile() THEN RETURN TRUE ExecPath = Dialog.Path ENDIF IF Compile(TRUE, NOT KeepDebugInfo) THEN RETURN TRUE IF CheckStartupClass() THEN RETURN TRUE SetMessage(("Making executable...")) sExec = System.Path &/ "bin/gba " & Quote(Project.Dir) & " > " & OUTPUT_FILE & " 2>&1" 'PRINT sExec SHELL sExec WAIT IF ExecPath <> (Project.Dir &/ Project.Name) THEN TRY KILL ExecPath TRY RENAME Project.Dir &/ Project.Name AS ExecPath ENDIF 'Stat(OUTPUT_FILE) AddMessage(("Nothing to do.")) Compile(TRUE, FALSE) IF NOT bDoNotIncVersion THEN INC ReleaseVersion WriteProject END PUBLIC FUNCTION GetClasses(OPTIONAL bFullPath AS Boolean) AS String[] DIM sFile AS String DIM aClass AS NEW String[] DIM bStop AS Boolean FOR EACH sFile IN Dir(Project.Dir, "*.module") IF bFullPath THEN aClass.Add(Project.Dir &/ sFile) ELSE aClass.Add(File.BaseName(sFile)) ENDIF NEXT FOR EACH sFile IN Dir(Project.Dir, "*.class") IF bFullPath THEN aClass.Add(Project.Dir &/ sFile) ELSE aClass.Add(File.BaseName(sFile)) ENDIF NEXT aClass.Sort RETURN aClass END PUBLIC SUB ReadProject() DIM hFic AS File DIM sLig AS String DIM iPos AS Integer DIM sKey AS String DIM sVal AS String DIM cVer AS String[] DIM sElt AS String DIM iElt AS Integer DIM aMissing AS NEW String[] DIM sMsg AS String Libraries = NEW String[] Title = "" TabSize = Settings["/DefaultTabSize", 2] Arguments = "" MajorVersion = 0 MinorVersion = 0 ReleaseVersion = 1 SnapToGrid = TRUE ShowGrid = TRUE Snap = Settings["/DefaultGridResolution", 8] ControlPublic = FALSE KeepDebugInfo = FALSE Localize = FALSE Description = "" Icon = "" Systems = NEW String[] Menus = NEW Collection Groups = NEW Collection Prefix = FALSE ExecPath = Project.Dir &/ Project.Name OPEN Path FOR READ AS hFic WHILE NOT Eof(hFic) LINE INPUT #hFic, sLig sLig = Trim(sLig) IF Len(sLig) = 0 THEN CONTINUE IF Left$(sLig, 1) = "#" THEN CONTINUE iPos = Instr(sLig, "=") IF iPos = 0 THEN CONTINUE sKey = Lower$(Trim(Left$(sLig, iPos - 1))) sVal = Trim(Mid$(sLig, iPos + 1)) SELECT sKey CASE "title" Title = sVal CASE "startup" DefineStartup(sVal, TRUE) CASE "library" IF CComponent.All.Exist(sVal) THEN Libraries.Add(sVal) ELSE aMissing.Add(sVal) ENDIF CASE "tabsize" TabSize = Val(sVal) CASE "argument" IF Arguments THEN Arguments = Arguments & "\n" Arguments = Arguments & sVal CASE "version" cVer = Split(sVal, ".") TRY MajorVersion = Val(cVer[0]) TRY MinorVersion = Val(cVer[1]) TRY ReleaseVersion = Val(cVer[2]) CASE "snaptogrid" SnapToGrid = Val(sVal) <> 0 CASE "showgrid" ShowGrid = Val(sVal) <> 0 CASE "snapx", "snap" Snap = Val(sVal) CASE "localize" Localize = Val(sVal) <> 0 ' CASE "language" ' Language = sVal CASE "keepdebuginfo" KeepDebugInfo = Val(sVal) <> 0 CASE "controlpublic" ControlPublic = Val(sVal) <> 0 CASE "description" Description = Replace(sVal, "\\n", "\n") CASE "icon" Icon = sVal CASE "systems" Systems = Split(sVal, ",") CASE "menus" iElt = 0 FOR EACH sElt IN Split(sVal, ",") IF iElt >= Systems.Count THEN BREAK Menus[Systems[iElt]] = sElt INC iElt NEXT CASE "groups" iElt = 0 FOR EACH sElt IN Split(sVal, ",") IF iElt >= Systems.Count THEN BREAK Groups[Systems[iElt]] = sElt INC iElt NEXT CASE "prefix" Prefix = Val(sVal) CASE "execpath" ExecPath = sVal END SELECT WEND CLOSE hFic IF aMissing.Count THEN sMsg = Subst(("Some components are missing: &1"), aMissing.Join(", ")) IF Message.Error(sMsg, ("Continue"), ("Cancel")) = 2 THEN Error.Raise("") ENDIF ENDIF Libraries.Sort FMain.UpdateTranslate RefreshLibrary 'TileGrid = NEW Picture 'TileGrid.Type = Picture.Bitmap 'TileGrid.Resize(SnapX, SnapY) 'Draw.Begin(TileGrid) 'Draw.FillColor = Color. 'Draw.End END PUBLIC SUB WriteProject() DIM hFic AS File DIM sLib AS String DIM sSys AS String DIM sElt AS String DIM sPath AS String DIM sArg AS String IF Project.ReadOnly THEN RETURN OPEN Path & ".tmp" FOR CREATE AS hFic PRINT #hFic, PROJECT_MAGIC PRINT #hFic, "Project="; Name IF Title THEN PRINT #hFic,"Title="; Title IF Description THEN PRINT #hFic, "Description="; Replace(Description, "\n", "\\n") IF Icon THEN PRINT #hFic,"Icon="; Icon IF Startup THEN PRINT #hFic, "Startup="; Startup 'IF StackSize THEN PRINT #hFic, "Stack="; CStr(StackSize) PRINT #hFic,"TabSize="; CStr(TabSize) FOR EACH sArg IN Split(Arguments, "\n") PRINT #hFic, "Argument="; sArg NEXT PRINT #hFic,"Version=";CStr(MajorVersion) & "." & CStr(MinorVersion) & "." & CStr(ReleaseVersion) FOR EACH sLib IN Libraries PRINT #hFic, "Library="; sLib NEXT PRINT #hFic, "SnapToGrid="; If(SnapToGrid, "1", "0") PRINT #hFic, "ShowGrid="; If(ShowGrid, "1", "0") PRINT #hFic, "Snap="; CStr(Snap) PRINT #hFic, "Localize="; If(Localize, "1", "0") 'PRINT #hFic, "Language="; Language PRINT #hFic, "KeepDebugInfo="; If(KeepDebugInfo, "1", "0") PRINT #hFic, "ControlPublic="; If(ControlPublic, "1", "0") IF ExecPath <> (Project.Dir &/ Project.Name) THEN PRINT #hFic, "ExecPath="; ExecPath ENDIF IF Systems.Count THEN PRINT #hFic,"Systems="; Systems.Join(",") sElt = "" FOR EACH sSys IN Systems sElt = sElt & "," & Menus[sSys] NEXT PRINT #hFic, "Menus="; Mid$(sElt, 2) sElt = "" FOR EACH sSys IN Systems sElt = sElt & "," & Groups[sSys] NEXT PRINT #hFic, "Groups="; Mid$(sElt, 2) ENDIF PRINT #hFic, "Prefix="; If(Prefix, "1", "0") CLOSE #hFic KILL Path RENAME Path & ".tmp" AS Path sPath = Project.Dir &/ ".lang/#project.pot" TRY KILL sPath IF Localize THEN TRY MKDIR File.Dir(sPath) OPEN sPath FOR CREATE AS #hFic PRINT #hFic, "# "; Path PRINT #hFic, File.Load("pot-header.txt") IF Title THEN PRINT #hFic, "#: .project:1" PRINT #hFic, "msgid \""; Escape(Title); "\"" PRINT #hFic, "msgstr \"\"\n" ENDIF IF Description THEN PRINT #hFic, "#: .project:2" PRINT #hFic, "msgid \""; Escape(Description); "\"" PRINT #hFic, "msgstr \"\"\n" ENDIF CLOSE #hFic ENDIF RefreshLibrary FMain.UpdateTranslate CATCH Message.Error(("Cannot write project file.") & "\n\n" & Error.Text) END ' PUBLIC FUNCTION GetSorted() AS String[] ' ' DIM cList AS NEW String[] ' DIM hFile AS Object ' DIM bStop AS Boolean ' ' ProjectTree[KEY_CLASS].MoveChild ' WHILE ProjectTree.Available ' cList.Add(ProjectTree.Item.Key) ' ProjectTree.MoveNext ' WEND ' ' ProjectTree[KEY_MODULE].MoveChild ' WHILE ProjectTree.Available ' cList.Add(ProjectTree.Item.Key) ' ProjectTree.MoveNext ' WEND ' ' 'cList.Sort ' ' RETURN cList ' ' END PUBLIC FUNCTION GetNextEditor(sKey AS String) AS String DIM sFirst AS String DIM sFile AS String DIM bNext AS Boolean FOR EACH sFile IN GetClasses(TRUE) IF bNext THEN RETURN sFile IF NOT sFirst THEN sFirst = sFile ENDIF IF sFile = sKey THEN bNext = TRUE ENDIF NEXT IF bNext THEN RETURN sFirst END PUBLIC FUNCTION GetPreviousEditor(sKey AS String) AS String DIM sLast AS String DIM sFile AS String FOR EACH sFile IN GetClasses(TRUE) IF sFile = sKey THEN IF sLast THEN RETURN sLast ENDIF ENDIF sLast = sFile NEXT RETURN sLast END PRIVATE $bBlock AS Boolean PUBLIC SUB Shortcut(Code AS Integer, Ascii AS String, State AS Integer) IF $bBlock THEN RETURN $bBlock = TRUE SELECT CASE Code CASE Key.F2 FExplorer.Show CASE Key.F4 FProperty.Show CASE Key.F5 ME.Run CASE Key.F6 FToolBox.Show CASE Key.F7 Compile(State AND Mouse.Alt) CASE Key.F8 ME.Step END SELECT $bBlock = FALSE END PUBLIC SUB SetMessage(sMsg AS String) ProjectMessage.Text = sMsg WAIT END PUBLIC SUB DeleteFile(sPath AS String) DIM sExt AS String DIM hForm AS Object IF NOT Exist(sPath) THEN RETURN hForm = Files[sPath] IF hForm THEN hForm.Delete Files[sPath] = NULL ENDIF TRY ProjectTree.Remove(sPath) TRY KILL sPath & "~" TRY RENAME sPath AS sPath & "~" IF sExt = "form" OR sExt = "class" OR sExt = "module" THEN TRY KILL Project.Dir &/ ".gambas" &/ UCase(File.BaseName(sPath)) TRY KILL Project.Dir &/ ".lang" &/ File.BaseName(sPath) & ".pot" ENDIF sExt = File.Ext(sPath) IF sExt = "form" THEN DeleteFile(File.Dir(sPath) &/ File.BaseName(sPath) & ".class") ELSE IF sExt = "class" THEN DeleteFile(File.Dir(sPath) &/ File.BaseName(sPath) & ".form") ENDIF IF File.BaseName(sPath) = Startup THEN DefineStartup("") ENDIF 'CATCH 'Message("*Unable to delete file.||" & sPath) 'Refresh END PUBLIC SUB DeleteDir(sDir AS String) DIM sFile AS String FOR EACH sFile IN Dir(sDir, "*~") TRY KILL sDir &/ sFile NEXT RMDIR sDir END PRIVATE FUNCTION CheckStartupClass() AS Boolean IF Startup THEN RETURN Message.Warning(("You must define a startup class or form!")) RETURN TRUE END PUBLIC FUNCTION CheckFileName(sName AS String, OPTIONAL sDir AS String) AS Boolean DIM iInd AS Integer IF NOT sName THEN GOTO VOID_NAME FOR iInd = 1 TO Len(sName) IF Instr(FILE_AUTH_CAR & "-._+()", LCase(Mid$(sName, iInd, 1))) = 0 THEN GOTO BAD_CHAR NEXT IF Len(sDir) THEN IF Exist(sDir &/ sName) THEN GOTO ALREADY_EXIST ENDIF RETURN VOID_NAME: Message.Warning(("Please type a name.")) RETURN TRUE BAD_CHAR: Message.Warning(("This name contains a forbidden character :") & " [ " & Mid$(sName, iInd, 1) & " ]") RETURN TRUE ALREADY_EXIST: Message.Warning(("This name is already used. Choose another one.")) RETURN TRUE END PUBLIC FUNCTION CheckClassName(sName AS String, OPTIONAL bCheckNotExist AS Boolean) AS Boolean DIM iInd AS Integer IF NOT sName THEN GOTO VOID_NAME FOR iInd = 1 TO Len(sName) IF Instr(CLASS_AUTH_CAR, LCase(Mid$(sName, iInd, 1))) = 0 THEN GOTO BAD_CHAR NEXT IF Instr("0123456789", Left$(sName)) THEN iInd = 1 GOTO BAD_CHAR ENDIF IF bCheckNotExist THEN IF Project.Exist(sName) THEN GOTO ALREADY_EXIST ENDIF RETURN VOID_NAME: Message.Warning(("Please type a name.")) RETURN TRUE BAD_CHAR: Message.Warning(("This name contains a forbidden character :") & " [ " & Mid$(sName, iInd, 1) & " ] \n\n" & ("A name must begin with a letter, followed by any letter or digit.")) RETURN TRUE ALREADY_EXIST: Message.Warning(("This name is already used. Choose another one.")) RETURN TRUE END PRIVATE FUNCTION RenameOneFile(sDir AS String, sName AS String, sNewName AS String, OPTIONAL sExt AS String) AS String DIM sPath AS String DIM hForm AS Object DIM sNewPath AS String sPath = sDir &/ sName IF sExt THEN sPath = sPath & "." & sExt IF NOT Exist(sPath) THEN RETURN sNewPath = sDir &/ sNewName IF sExt THEN sNewPath = sNewPath & "." & sExt RENAME sPath AS sNewPath IF sExt THEN TRY KILL sDir &/ ".gambas" &/ UCase(sName) ENDIF hForm = Files[sPath] IF hForm THEN hForm.Rename(sNewName, sNewPath) Files[sPath] = NULL Files[sNewPath] = hForm ENDIF RETURN sNewPath END PUBLIC SUB RenameFile(sPath AS String) DIM sName AS String DIM sExt AS String DIM sDir AS String DIM sNewName AS String DIM sNewPath AS String DIM sTitle AS String sDir = File.Dir(sPath) sExt = File.Ext(sPath) IF Project.IsClassName(sPath) THEN sName = File.BaseName(sPath) SELECT CASE sExt CASE "form" sTitle = ("Rename form") CASE "class" sTitle = ("Rename class") CASE "module" sTitle = ("Rename module") END SELECT sNewName = FRename.Run(sName, sTitle, TRUE) IF NOT sNewName THEN RETURN IF sName = Startup THEN Startup = sNewName WriteProject ENDIF sNewPath = RenameOneFile(sDir, sName, sNewName, sExt) IF sExt = "form" THEN RenameOneFile(sDir, sName, sNewName, "class") ELSE IF sExt = "class" THEN RenameOneFile(sDir, sName, sNewName, "form") ENDIF ELSE sName = File.Name(sPath) sNewName = FRename.Run(sName, If(IsDir(sPath), ("Rename directory"), ("Rename file"))) IF NOT sNewName THEN RETURN sNewPath = RenameOneFile(sDir, sName, sNewName) ENDIF Refresh TRY ProjectTree[sNewPath].Selected = TRUE TRY ProjectTree[sNewPath].EnsureVisible CATCH Message.Error(Subst(("Unable to rename '&1'"), File.Name(sPath))) END PUBLIC FUNCTION Exist(sName AS String) AS Boolean RETURN Project.GetClasses().Find(sName, gb.Text) >= 0 END PRIVATE FUNCTION Lock() AS Boolean IF Application.Busy THEN RETURN TRUE INC Application.Busy 'PRINT "Lock" END PRIVATE SUB UnLock() DEC Application.Busy 'PRINT "Unlock" END PUBLIC FUNCTION GetProject() AS String RETURN FOpenProject.Run() END PUBLIC FUNCTION GetNewProject() AS String RETURN FNewProject.Run() END PRIVATE SUB LoadRecent() DIM nRecent AS Integer DIM hMenu AS Menu DIM iInd AS Integer DIM sPath AS String nRecent = Settings["/Recent/Count", 0] Recent.Clear FOR iInd = 1 TO nRecent sPath = Settings["/Recent/File[" & CStr(iInd) & "]"] IF sPath THEN IF Exist(sPath) THEN Recent.Add(sPath) IF Recent.Count >= MAX_RECENT THEN BREAK ENDIF ENDIF NEXT END PRIVATE SUB AddRecent(sPath AS String) DIM iInd AS Integer IF Right$(sPath) = "/" THEN sPath = Left$(sPath, -1) 'sPath = "(" & File.BaseName(sPath) & ") " & File.Dir(sPath) WHILE iInd < Recent.Count IF Recent[iInd] = sPath THEN Recent.Remove(iInd) ELSE INC iind ENDIF WEND Recent.Add(sPath, 0) WHILE Recent.Count > MAX_RECENT Recent.Remove(Recent.Count - 1) WEND END PRIVATE SUB SaveRecent() DIM iInd AS Integer Settings["/Recent/Count"] = CStr(Recent.Count) FOR iInd = 0 TO Recent.Count - 1 Settings["/Recent/File[" & CStr(iInd + 1) & "]"] = Recent[iInd] NEXT END PUBLIC FUNCTION CheckProjectName(sName AS String, OPTIONAL sDir AS String) AS Boolean DIM iInd AS Integer IF NOT sName THEN Message.Warning(("Please type a project name.")) RETURN TRUE ENDIF FOR iInd = 1 TO Len(sName) IF Instr(" .?*", Mid$(sName, iInd, 1)) OR Asc(Mid$(sName, iInd, 1)) > 127 THEN Message.Warning(("Forbidden characters in project name.")) RETURN TRUE ENDIF NEXT IF sDir THEN IF Exist(sDir &/ sName &/ PROJECT_FILE) THEN Message.Warning(("This project already exists.")) RETURN TRUE ENDIF ENDIF END PUBLIC SUB MakeSourcePackageTo(sPath AS String) DIM sCmd AS String DIM sOpt AS String INC Application.Busy IF Right$(sPath, 3) = ".gz" THEN sOpt = "z" ELSE IF Right$(sPath, 4) = ".bz2" THEN sOpt = "j" ENDIF sCmd = "cd " & Quote(File.Dir(Project.Dir)) & ";" sCmd = sCmd & " tar cfv" & sOpt & " " & Quote(sPath) sCmd = sCmd & " --exclude=" & ".gambas/*" sCmd = sCmd & " --exclude=" & "*~" sCmd = sCmd & " --exclude=" & ".lock" sCmd = sCmd & " --exclude=" & ".lang/*.pot" sCmd = sCmd & " --exclude=" & ".lang/.pot" sCmd = sCmd & " --exclude=" & "*/.xvpics/*" sCmd = sCmd & " --exclude=" & ".xvpics/*" sCmd = sCmd & " " & Quote(File.Name(Project.Dir)) & " > /dev/null" SHELL sCmd WAIT DEC Application.Busy END PUBLIC SUB MakePackage() Dialog.Path = System.Home &/ Name & "-" & Subst("&1.&2", MajorVersion, MinorVersion) & IIf(ReleaseVersion > 0, "." & ReleaseVersion, "") & ".tar.gz" Dialog.Title = ("Create source package") Dialog.Filter = [ ("Source packages") & " (*.tar.gz)", ("All files") & " (*.*)" ] IF Dialog.SaveFile() THEN RETURN MakeSourcePackageTo(Dialog.Path) END PUBLIC SUB RefreshForm() DIM hFile AS Object FOR EACH hFile IN Project.Files IF NOT Project.IsEditor(hFile) THEN hFile.Refresh ENDIF NEXT END PUBLIC SUB RefreshEditor() DIM hFile AS Object FOR EACH hFile IN Project.Files IF Project.IsEditor(hFile) THEN hFile.Refresh ENDIF NEXT END PUBLIC SUB RefreshLibrary() DIM sLib AS String DIM sClass AS String Types = NEW String[] FOR EACH sLib IN Libraries IF NOT CComponent.All.Exist(sLib) THEN CONTINUE WITH CComponent.All[sLib] .Load IF .Type THEN IF Types.Find(.Type) < 0 THEN Types.Add(.Type) ENDIF END WITH NEXT FToolBox.RefreshToolbar FCompletion.RefreshLibrary Project.Refresh END PUBLIC FUNCTION IsClassName(sName AS String) AS Boolean DIM sExt AS String sExt = File.Ext(sName) IF sExt = "class" THEN RETURN TRUE IF sExt = "module" THEN RETURN TRUE IF sExt = "form" THEN RETURN TRUE END PUBLIC FUNCTION StripPath(sPath AS String) AS String DIM sDir AS String sDir = Project.Dir IF Right$(sDir) <> "/" THEN sDir = sDir & "/" IF Left$(sPath, Len(sDir)) = sDir THEN RETURN Mid$(sPath, Len(sDir) + 1) ELSE RETURN sPath ENDIF END PUBLIC SUB RunTool(sTool AS String) DIM aExec AS NEW String[] aExec.Add(System.Path &/ "bin" &/ sTool) aExec.Add(Project.Dir) EXEC aExec END PUBLIC FUNCTION GetExamples() AS String[] DIM sFile AS String DIM sFile2 AS String DIM aList AS NEW String[] FOR EACH sFile IN Dir(EXAMPLES_DIR) IF Exist(EXAMPLES_DIR &/ sFile &/ ".project") THEN aList.Add(sFile) ELSE FOR EACH sFile2 IN Dir(EXAMPLES_DIR &/ sFile) aList.Add(sFile &/ sFile2) NEXT ENDIF NEXT aList.Sort FINALLY RETURN aList END PUBLIC SUB DefineStartup(sPath AS String, OPTIONAL bDoNotWrite AS Boolean) IF Startup THEN TRY ProjectTree[Project.Dir &/ Startup & ".module"].Picture = Picture["img/16/module.png"] TRY ProjectTree[Project.Dir &/ Startup & ".class"].Picture = Picture["img/16/class.png"] TRY ProjectTree[Project.Dir &/ Startup & ".form"].Picture = Picture["img/16/form.png"] ENDIF Startup = File.BaseName(sPath) IF NOT Project.Exist(Startup) THEN Startup = "" ENDIF IF Startup THEN TRY ProjectTree[Project.Dir &/ Startup & ".module"].Picture = Picture["img/16/module-start.png"] TRY ProjectTree[Project.Dir &/ Startup & ".class"].Picture = Picture["img/16/class-start.png"] TRY ProjectTree[Project.Dir &/ Startup & ".form"].Picture = Picture["img/16/form-start.png"] ENDIF IF NOT bDoNotWrite THEN WriteProject END PUBLIC SUB CopyFile(sSrc AS String, sDst AS String) DIM iInd AS Integer DIM sDest AS String DIM sExt AS String 'PRINT sSrc; " -> "; sDst sDest = sDst WHILE Exist(sDest) INC iInd sExt = File.Ext(sDst) IF sExt THEN sDest = File.Dir(sDst) &/ File.BaseName(sDst) & " (" & iInd & ")." & sExt ELSE sDest = File.Dir(sDst) &/ File.BaseName(sDst) & " (" & iInd & ")" ENDIF WEND COPY sSrc TO sDest Refresh SelectKey(sDest) CATCH Message.Error(Subst(("Cannot copy file &1."), sSrc) &"\n\n" & Error.Text) END PUBLIC SUB MoveFile(sSrc AS String, sDst AS String) RENAME sSrc AS sDst Refresh SelectKey(sDst) CATCH Message.Error(Subst(("Cannot move file &1."), sSrc) &"\n\n" & Error.Text) END ' PUBLIC SUB RefreshToolbox() ' ' FToolBox.ClearToolbar ' ' END PUBLIC FUNCTION GetNewName(sPrefix AS String) AS String DIM iInd AS Integer DIM sName AS String DO INC iInd sName = sPrefix & iInd IF NOT Project.Exist(sName) THEN RETURN sName LOOP END PUBLIC SUB ResetScan() DIM hFile AS Object FOR EACH hFile IN Files TRY hFile.Scan = NULL NEXT END PUBLIC FUNCTION AllowForm() AS Boolean RETURN Types.Find("Form") >= 0 END PUBLIC SUB MakeInstall() IF MakeExecutable(TRUE, TRUE) THEN RETURN IF NOT CheckProgram("rpmbuild") THEN RPMBUILD_PROG = "rpmbuild" ELSE IF NOT CheckProgram("rpm") THEN RPMBUILD_PROG = "rpm" ELSE Message.Error(("rpmbuild is not installed on your system.")) RETURN ENDIF FMakeInstall.ShowModal END PUBLIC SUB InitMove(hForm AS Form) IF FMain.X < (Desktop.W \ 2) THEN hForm.Move(Int(Rnd(FMain.X + FMain.W + 8, Desktop.Width - hForm.Width - 8)), Int(Rnd(0, Desktop.Height - hForm.Height))) ELSE hForm.Move(Int(Rnd(0, FMain.X - hForm.Width - 8)), Int(Rnd(0, Desktop.Height - hForm.Height))) ENDIF END PUBLIC FUNCTION GetIcon(sPath AS String, iSize AS Integer, OPTIONAL sDefaultPath AS String) AS Picture DIM hFile AS File DIM sLig AS String DIM hImage AS Image DIM hPict AS Picture IF sDefaultPath = NULL THEN sDefaultPath = "img/32/gambas.png" OPEN sPath &/ ".project" FOR READ AS #hFile WHILE NOT Eof(hFile) LINE INPUT #hFile, sLig IF Left$(sLig, 5) = "Icon=" THEN sPath = sPath &/ Mid$(sLig, 6) hImage = NEW Image TRY hImage.Load(sPath) IF ERROR THEN hImage = NULL BREAK ENDIF WEND CLOSE #hFile FINALLY IF NOT hImage THEN hImage = NEW Image hImage.Load(sDefaultPath) ENDIF RETURN hImage.Stretch(iSize, iSize, TRUE).Picture END PRIVATE SUB CleanUpProject() DIM aDir AS NEW String[] DIM sFile AS String DIM sPath AS String aDir.Add(Project.Dir) WHILE aDir.Count FOR EACH sFile IN Dir(aDir[0]) sPath = aDir[0] &/ sFile IF IsDir(sPath) THEN aDir.Add(sPath) ELSE IF Right(sPath) = "~" THEN TRY KILL sPath ENDIF NEXT aDir.Remove(0) WEND CATCH Message.Error(("Cannot clean the project.") & "\n\n" & Error.Text) END PUBLIC SUB SetFormIcon(hForm AS FForm) ' ' DIM hPict AS Picture ' DIM eRap AS Float ' ' 'hForm.Raise ' hPict = hForm.Grab() ' hForm.Refresh ' eRap = hPict.Width / hPict.Height ' IF eRap > 4 THEN ' eRap = 4 ' hPict = hPict.Copy(0, 0, hPict.Height * eRap, hPict.Height) ' ELSE IF eRap < 0.5 THEN ' eRap = 0.5 ' hPict = hPict.Copy(0, 0, hPict.Width, hPict.Width / eRap) ' ENDIF ' IF eRap > 1 THEN ' hPict = hPict.Image.Stretch(32 * eRap, 32).Picture ' ELSE ' hPict = hPict.Image.Stretch(32, 32 / eRap).Picture ' ENDIF ' ' Draw.Begin(hPict) ' Draw.Foreground = &H808080& ' Draw.Rect(0, 0, hPict.Width, hPict.Height) ' Draw.End ' ' ProjectTree[Project.Dir &/ hForm.Name & ".form"].Picture = hPict ' ' CATCH ' ' PRINT Error.Text ' END PUBLIC FUNCTION CheckProgram(sProg AS String) AS Boolean DIM sTemp AS String DIM bError AS Boolean sTemp = Temp$ SHELL "whereis " & sProg & " > " & sTemp WAIT bError = NOT (Trim(File.Load(sTemp)) LIKE (sProg & ":*" & sProg & "*")) KILL sTemp RETURN bError END PUBLIC FUNCTION OpenWebPage(sLink AS String) AS String DIM sExec AS String IF NOT $sBrowser THEN sExec = Application.Env["BROWSER"] IF NOT sExec THEN sExec = "konqueror" IF CheckProgram(sExec) THEN sExec = "firefox" IF CheckProgram(sExec) THEN sExec = "mozilla-firefox" IF CheckProgram(sExec) THEN sExec = "mozilla" IF CheckProgram(sExec) THEN sExec = "opera" IF CheckProgram(sExec) THEN RETURN ENDIF $sBrowser = sExec ENDIF SHELL $sBrowser & " " & Chr$(34) & sLink & Chr$(34) CATCH Message.Error(Error.Text) END From christian.faurebouvard at ...357... Sat Nov 27 15:53:34 2004 From: christian.faurebouvard at ...357... (Christian Faure) Date: Sat, 27 Nov 2004 11:53:34 -0300 Subject: [Gambas-user] Need help on format$ function In-Reply-To: <200411262014.53276.gambasfr@...11...> References: <200411262014.53276.gambasfr@...11...> Message-ID: <200411271153.35003.christian.faurebouvard@...357...> El Viernes, 26 de Noviembre de 2004 16:14, Bodard Fabien escribi?: > 12355.20 Hi, i think format() not support requested format, divide into its components: PUBLIC FUNCTION format_hl(x AS Variant ) AS String DIM hl AS Variant DIM l AS Variant DIM cl AS Variant DIM out AS String x=Round(x,-2) hl=Int(x/100) l=Int(x-hl*100) cl = Frac(x)*100 out=Format(hl,"#,##0hl") 'hl out=out &" " & Format(l,"#,##0l") 'l out=out &" " & Format(cl,"00cl") 'cl RETURN out END PUBLIC SUB Button1_Click() PRINT format_hl(12355.999) END From gambasfr at ...11... Sat Nov 27 19:06:09 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Sat, 27 Nov 2004 19:06:09 +0100 Subject: [Gambas-user] Need help on format$ function In-Reply-To: <200411271153.35003.christian.faurebouvard@...357...> References: <200411262014.53276.gambasfr@...11...> <200411271153.35003.christian.faurebouvard@...357...> Message-ID: <200411271906.10061.gambasfr@...11...> Le samedi 27 Novembre 2004 15:53, Christian Faure a ?crit?: > El Viernes, 26 de Noviembre de 2004 16:14, Bodard Fabien escribi?: > > 12355.20 > > Hi, > i think format() not support requested format, > divide into its components: > > PUBLIC FUNCTION format_hl(x AS Variant ) AS String > DIM hl AS Variant > DIM l AS Variant > DIM cl AS Variant > DIM out AS String > > x=Round(x,-2) > hl=Int(x/100) > l=Int(x-hl*100) > cl = Frac(x)*100 > > out=Format(hl,"#,##0hl") 'hl > out=out &" " & Format(l,"#,##0l") 'l > out=out &" " & Format(cl,"00cl") 'cl > RETURN out > END > > PUBLIC SUB Button1_Click() > PRINT format_hl(12355.999) > END > > Thank Christian hum yes ... it's a workaround... but not a finallity. I don't know how to implement that into gambas... but It will be really usefull i think... isn't it benoit? Fabien Bodard > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bsnipes at ...21... Sat Nov 27 19:00:55 2004 From: bsnipes at ...21... (Brian Snipes) Date: Sat, 27 Nov 2004 18:00:55 +0000 Subject: [Gambas-user] getting a list of users In-Reply-To: <000101c4d472$fd9cf9e0$1410a8c0@...511...> References: <000101c4d472$fd9cf9e0$1410a8c0@...511...> Message-ID: <41A8C0D7.7010508@...21...> Jason Curl wrote: >On most systems, isn't /etc/passwd available for reading? One could iterate >through this and check that the login shell is actually valid for a valid >login account. > >I'm not sure if the passwd file is always kept in /etc though. > >-----Original Message----- >From: gambas-user-admin at lists.sourceforge.net >[mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Benoit >Minisini >Sent: Thursday, 25 November 2004 11:21 >To: gambas-user at lists.sourceforge.net >Subject: Re: [Gambas-user] getting a list of users > > >On Thursday 25 November 2004 10:53, Technoferret wrote: > > >>Could anyone help me with what is probably a simple problem. >> >>I need to populate a combobox with a list of all the USER names that >>have a login account on the system but for some reason how I get this >>list has deserted me. >> >>Cheers >>Dave >> >> > >The quick way but not the good way: > >MyComboBox.List = Dir("/home").Join("\n") & "\nroot" > > > Parsing the output of 'getent passwd' would work for systems that use /etc/passwd or external auth backends such as LDAP. Brian From scatman_ at ...17... Sun Nov 28 15:16:50 2004 From: scatman_ at ...17... (scatman) Date: Sun, 28 Nov 2004 15:16:50 +0100 Subject: [Gambas-user] File.Load = Null Object Message-ID: <200411281516.51206.scatman_@...17...> Hallo, i have a Problem with File.Load. I wrote this Dim dev[3] AS String Dim sTemp AS String IF Exist("/proc/ide/ide0/hda") THEN SHELL "cat /proc/ide/ide0/hda/media >" & sTemp WAIT dev[0] = File.Load (sTemp) and Gambas tells me Error Null Object. The Tempstring exist. I dont know why, but in other Projects this Code works. Gambas RC3 Look at the Screenshot ... -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas_null_object.jpg Type: image/jpeg Size: 110458 bytes Desc: not available URL: From gambasfr at ...11... Sun Nov 28 15:54:28 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Sun, 28 Nov 2004 15:54:28 +0100 Subject: [Gambas-user] File.Load = Null Object In-Reply-To: <200411281516.51206.scatman_@...17...> References: <200411281516.51206.scatman_@...17...> Message-ID: <200411281554.29074.gambasfr@...11...> Le dimanche 28 Novembre 2004 15:16, scatman a ?crit?: > Hallo, > > i have a Problem with File.Load. > I wrote this > > Dim dev[3] AS String > Dim sTemp AS String > > IF Exist("/proc/ide/ide0/hda") THEN > SHELL "cat /proc/ide/ide0/hda/media >" & sTemp WAIT > dev[0] = File.Load (sTemp) > > and Gambas tells me Error Null Object. > The Tempstring exist. I dont know why, but in other Projects this Code > works. Gambas RC3 > > Look at the Screenshot ... PUBLIC SUB Button1_Click() DIM dev[3] AS String DIM sTemp AS String stemp = "/home/gambas/tmp/temp.txt" IF Exist("/proc/ide/ide0/hda") THEN SHELL "cat /proc/ide/ide0/hda/media >" & sTemp WAIT dev[0] = File.Load (sTemp) END IF message(dev[0]) END This work for me !! From gambas at ...1... Sun Nov 28 20:09:17 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 28 Nov 2004 20:09:17 +0100 Subject: [Gambas-user] Release of Gambas 1.0 RC3 In-Reply-To: <200411212303.18623.ronstk@...239...> References: <200411211952.40024.gambas@...1...> <200411212303.18623.ronstk@...239...> Message-ID: <200411282009.17973.gambas@...1...> On Sunday 21 November 2004 23:03, Ron Onstenk wrote: > On Sunday 21 November 2004 19:52, Benoit Minisini wrote: > | Here is a short list the bug fixes included in this release: > > --8<--- > > | The following translations are not up to date: Arabic, Galician, Welsh, > | Dutch, and Brazilian portuguese. I don't know if I should remove them or > | not in the final release... > > I have the nl.po send to Fabrice but have nothing heard from him. > I take the risk there are some translating mistakes inside. > The only thing I haven't good checked are the key accelerators > in the way they are unique in the forms. But because I have this > week less time, due the trip I send it now. > It would be a pity if it is removed. > > Can you confirm the way for people getting the (lang).po file now and > put it in the source and recompile gambas to get the updated language? > > This way, a updated (lang).po is installable after a release is > done instead waiting till next release. > I'm not sure now this can be done. The .po files are compiled and integrated inside the executable. There is no way at the moment to install translations files separately from the executable. This is something that will have to be done in a next version of Gambas. > > Second thing I want to know, is a plain attachment or a bz2 preferred? It is easier for me to take the translation if I don't have to uncompress it before :-) > > Ron -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Nov 28 18:51:32 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 28 Nov 2004 18:51:32 +0100 Subject: [Gambas-user] Need help on format$ function In-Reply-To: <200411262014.53276.gambasfr@...11...> References: <200411262014.53276.gambasfr@...11...> Message-ID: <200411281851.32495.gambas@...1...> On Friday 26 November 2004 20:14, Bodard Fabien wrote: > Hi to all > > > I'm working on a professionnal program for manage cognac stock... > > But when i type : > > PRINT Format(12355.20, "0 00.00") > > i've : > > 12355 00.00 > > > I need somme thing like that : > > PRINT Format(12355.20, "0 \h\l 00 \L .00 \c\l") > > it don't work (escape characters are not accepted) but it will be usefull > and must to return : > > 123 hl 55 L. 20 cl > > > If i type > > PRINT Format(12355.20, "0 hl 00 L .00 cl") > > it return : > 12355 hl 00 L .00 cl > > > > Say me if you have a soluce for that please ! > > > Fabien Bodard > > The Gambas Format$() function does not work like the other Basic ones. You can only use formatting characters in the format string: no spaces, no alphabetical character. And you can't split the formatted values with separators. Maybe I will enhance Format$() this way in the future. But at the moment, you must split the string yourself: sFormat = Format(12355.20, "00000") PRINT Left$(sFormat, 1); " hl "; Mid$(sFormat, 2, 2); " L ."; Mid$(sFormat, 4, 2); " cl" Sorry for the little extra job ! :-) -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Nov 28 18:53:04 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 28 Nov 2004 18:53:04 +0100 Subject: [Gambas-user] give gDBM a little bit more usability In-Reply-To: <200411262127.28013.Karl.Reinl@...9...> References: <200411262127.28013.Karl.Reinl@...9...> Message-ID: <200411281853.05027.gambas@...1...> On Friday 26 November 2004 21:27, Charlie Reinl wrote: > Salut Benoit, > > made some little changes to gDBM to give FRequest a bit more usability. > It is nothing magic, only show the Tables and fields of the DB , where the > SQL request was choosen. And set a 'Select * from
' when table in > tables-combo is changed. If in field-combo somethings changed the > field-name is set to the selection string. > > For sqlite a 'Open DB would be nice', because it is not an engine who knows > where the DB-files are. > > Amicalment > Charlie Hi, Charlie. Can you keep your change for after the 1.0 ? Note that for sqlite the database path is specified in the connection host and name. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Nov 28 18:46:39 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 28 Nov 2004 18:46:39 +0100 Subject: [Gambas-user] little bugs In-Reply-To: <200411260153.06049.gambas@...162...> References: <200411260153.06049.gambas@...162...> Message-ID: <200411281846.39477.gambas@...1...> On Friday 26 November 2004 01:53, Wojciech Saltarski wrote: > Screenshots in attachments: > AboutGambas1,2 & FSave - not enough place for translated text. > FSupSelector - too low cboFilter I fixed all of them :-) -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Nov 28 18:20:37 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 28 Nov 2004 18:20:37 +0100 Subject: [Gambas-user] Dutch translation In-Reply-To: <200411252127.20848.ronstk@...239...> References: <200411252127.20848.ronstk@...239...> Message-ID: <200411281820.37366.gambas@...1...> On Thursday 25 November 2004 21:27, Ron Onstenk wrote: > No changes, only resend in case not arrived. > I'm leaving Monday my current workplace for 6 weeks. > > > Ron Thanks Ron. Do you have time to translate the database manager too ? Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...162... Mon Nov 29 00:40:39 2004 From: gambas at ...162... (Wojciech Saltarski) Date: Mon, 29 Nov 2004 00:40:39 +0100 Subject: [Gambas-user] forgotten? Message-ID: <200411290040.39387.gambas@...162...> FPropertyFile.class -> Sub GetInfo CASE "form" txtInfo.Text = "Gambas form file" CASE "class" txtInfo.Text = "Gambas class file" CASE "module" txtInfo.Text = "Gambas module file" Could anybody have forgotten about brackets? ;-) Or mayby it is specjally not for translation? -- Wojciech Saltarski mailto:gambas at ...162... From Karl.Reinl at ...9... Mon Nov 29 00:37:14 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 29 Nov 2004 00:37:14 +0100 Subject: [Gambas-user] BUG : TableView Row Headers Message-ID: <200411290037.14294.Karl.Reinl@...9...> Salut Benoit, have a look to this small project, where you can add and delete Columns and Rows to/from a TableView. The Row Headers have a Problem when doing other action then 'add Row' They shrink in width. Amicalment Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: TestTV-0.0.1.tar.gz Type: application/x-tgz Size: 911 bytes Desc: not available URL: From gambas at ...683... Mon Nov 29 03:38:53 2004 From: gambas at ...683... (Teguh Nuryadi) Date: Mon, 29 Nov 2004 09:38:53 +0700 Subject: [Gambas-user] How to create MDI Form, and MDI Child? Message-ID: <1101695932.12726.3.camel@...685...> Hi, i have a problem to create MDI Form and MDI child? Can you help me? Teguh Nuryadi From ronstk at ...239... Mon Nov 29 07:36:08 2004 From: ronstk at ...239... (Ron Onstenk) Date: Mon, 29 Nov 2004 07:36:08 +0100 Subject: [Gambas-user] Dutch translation In-Reply-To: <200411281820.37366.gambas@...1...> References: <200411252127.20848.ronstk@...239...> <200411281820.37366.gambas@...1...> Message-ID: <200411290736.08583.ronstk@...239...> On Sunday 28 November 2004 18:20, Benoit Minisini wrote: | On Thursday 25 November 2004 21:27, Ron Onstenk wrote: | > No changes, only resend in case not arrived. | > I'm leaving Monday my current workplace for 6 weeks. | > | > | > Ron | | Thanks Ron. | | Do you have time to translate the database manager too ? | | Regards, | I'm leaving today to Tenerife for 6 weeks :) I'm not sure to have gambas overthere but will try to get it. Only then I'm able to do and will try spend some time to do. The tips should be done too. Ron From ronstk at ...239... Mon Nov 29 07:40:18 2004 From: ronstk at ...239... (Ron Onstenk) Date: Mon, 29 Nov 2004 07:40:18 +0100 Subject: [Gambas-user] forgotten? In-Reply-To: <200411290040.39387.gambas@...162...> References: <200411290040.39387.gambas@...162...> Message-ID: <200411290740.18379.ronstk@...239...> On Monday 29 November 2004 00:40, Wojciech Saltarski wrote: | FPropertyFile.class -> Sub GetInfo | | ? ? CASE "form" | ? ? ? txtInfo.Text = "Gambas form file" | | ? ? CASE "class" | ? ? ? txtInfo.Text = "Gambas class file" | | ? ? CASE "module" | ? ? ? txtInfo.Text = "Gambas module file" | Dutch translation "Gambas formulier bestand" "Gambas klass bestand" "Gambas module bestand" Simple but quick way before my airplain :) Ron From gambas at ...162... Mon Nov 29 08:08:55 2004 From: gambas at ...162... (Wojtek) Date: Mon, 29 Nov 2004 08:08:55 +0100 Subject: [Gambas-user] little bugs In-Reply-To: <200411281846.39477.gambas@...1...> References: <200411260153.06049.gambas@...162...> <200411281846.39477.gambas@...1...> Message-ID: <200411290808.55521.gambas@...162...> Dnia niedziela, 28 listopada 2004 18:46, Benoit Minisini napisa?: > > FSupSelector - too low cboFilter > > I fixed all of them :-) Still too low. SUB Form_Resize() pnlFile.Move(0,ME.ClientHeight - pnlFile.Height + 8, ME.ClientWidth - iBW) Remove + 8 -- Wojciech Saltarski From gambasfr at ...11... Mon Nov 29 20:50:11 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Mon, 29 Nov 2004 20:50:11 +0100 Subject: [Gambas-user] How to create MDI Form, and MDI Child? In-Reply-To: <1101695932.12726.3.camel@...685...> References: <1101695932.12726.3.camel@...685...> Message-ID: <200411292050.11704.gambasfr@...11...> Le lundi 29 Novembre 2004 03:38, Teguh Nuryadi a ?crit?: > Hi, i have a problem to create MDI Form and MDI child? Can you help me? > > Teguh Nuryadi > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Yes .. but give us your problem... From gambasfr at ...11... Mon Nov 29 20:59:09 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Mon, 29 Nov 2004 20:59:09 +0100 Subject: [Gambas-user] How to create MDI Form, and MDI Child? In-Reply-To: <1101695932.12726.3.camel@...685...> References: <1101695932.12726.3.camel@...685...> Message-ID: <200411292059.09659.gambasfr@...11...> Le lundi 29 Novembre 2004 03:38, Teguh Nuryadi a ?crit?: > Hi, i have a problem to create MDI Form and MDI child? Can you help me? > > Teguh Nuryadi > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user I can help you... First : you are not in VB Second it not exist mdiform in gambas Mdi is a widget in the qt.ext component named workspace to create a mdi child do : create an empty form for the child(childform) in another form(Myform) add a workspace.. in this form type private childstack as Object[] PUBLIC SUB MyForm_Open() Dim hChild as form hchild = New childform(WorkSpace1) childstack.add(hchild) 'it's to store the child instances END now add a button in myform and play PUBLIC SUB Command1_Click() Dim hChild as form hchild = New childform(WorkSpace1) childstack.add(hchild) 'it's to store the child instances END Fabien Bodard From lordheavy at ...512... Tue Nov 30 11:11:32 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Tue, 30 Nov 2004 11:11:32 +0100 Subject: [Gambas-user] Gambas 1.0RC4 Message-ID: <200411301111.32698.lordheavy@...512...> Found on the website : 28 Nov 2004 - Release of Gambas 1.0 RC4 This release fixes the bugs detected by users since the RC3. Here are the translations that are not up to date: Arabic, Galician, and Welsh. I didn't receive any answer from the Mandrake packager that creates bad Gambas binary packages... --------------------------------------------------------------------------- ChangeLog : - Development Environment Some Labels were replaced by TextLabels so that text wraps correctly. Virtual classes are not displayed anymore in the help browser treeview. BUG: Fixed a race condition that crashed the IDE when quitting. - Examples BUG: Rewrite examples so that public controls in forms are not necessary anymore. This was necessary because examples are compiled without any flags by the installation script. BUG: Fixed a crash in the DNS example. BUG: Remove pending .lock files. - Interpreter Two 'virtual' components were created in the ./configure script, so that the interpreter can be compiled with external i18n libraries on systems like Solaris. - Qt Component BUG: The Button Alignment property was fixed. - Xml Component BUG: once a XmlReader was opened, the EOF flag was set to TRUE at the end of the document, even if Open() method was used again. A new method, XMLReader.Decode(). This method allows to decode both base64 and BinHex encoded strings. That way, Gambas can manage binary data stored in a XML file. -- Laurent Carlier From sourceforge-raindog2 at ...94... Tue Nov 30 14:22:07 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 30 Nov 2004 08:22:07 -0500 Subject: [Gambas-user] Gambas 1.0RC4 In-Reply-To: <200411301111.32698.lordheavy@...512...> References: <200411301111.32698.lordheavy@...512...> Message-ID: <200411300822.07758.sourceforge-raindog2@...94...> On Tuesday 30 November 2004 05:11, Laurent Carlier quoted: > I didn't receive any answer from the > Mandrake packager that creates bad Gambas binary packages... Hey Benoit, if you write him again could you CC: the cooker list? Other people seem interested in the gambas packages too. He did send updated packages to cooker on 22 November, but of an old version: > -=-=-=- > Lenny Cartier 0.99-2mdk > > - use better spec from Benoit Minisini : > - Fix modal windows not being modal with QT 3.2. > - Fix IDE crash when the .gambas directory does not exist. > - Updated documentation. Rob From mj at ...621... Tue Nov 30 17:37:55 2004 From: mj at ...621... (MJ) Date: Tue, 30 Nov 2004 13:37:55 -0300 Subject: [Gambas-user] Error when compiling gambas-0.99.RC4 Message-ID: Error when compiling gambas-0.99.RC4 in the fedora: make[6]: Entrando no diret?rio `/opt/gambas-0.99.RC4/src/lib/xml/libxml/rpc' /bin/sh ../../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I../../../../../src/share -I/usr/include/libxml2/ -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -c main.c gcc -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I../../../../../src/share -I/usr/include/libxml2/ -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -c main.c -fPIC -DPIC -o main.lo /bin/sh ../../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I../../../../../src/share -I/usr/include/libxml2/ -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -c CXmlRpc.c gcc -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I../../../../../src/share -I/usr/include/libxml2/ -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -c CXmlRpc.c -fPIC -DPIC -o CXmlRpc.lo CXmlRpc.c:31:30: libxml/xmlwriter.h: No such file or directory CXmlRpc.c: In function `CXMLRPC_Call': CXmlRpc.c:119: error: `xmlTextWriterPtr' undeclared (first use in this function) CXmlRpc.c:119: error: (Each undeclared identifier is reported only once CXmlRpc.c:119: error: for each function it appears in.) CXmlRpc.c:119: error: syntax error before "writer" CXmlRpc.c:154: error: `writer' undeclared (first use in this function) CXmlRpc.c:154: warning: implicit declaration of function `xmlNewTextWriterMemory' CXmlRpc.c:155: warning: implicit declaration of function `xmlTextWriterSetIndent' CXmlRpc.c:156: warning: implicit declaration of function `xmlTextWriterStartDocument' CXmlRpc.c:158: warning: implicit declaration of function `xmlTextWriterStartElement' CXmlRpc.c:159: warning: implicit declaration of function `xmlTextWriterWriteElement' CXmlRpc.c:202: warning: implicit declaration of function `xmlTextWriterEndElement' CXmlRpc.c:206: warning: implicit declaration of function `xmlTextWriterEndDocument' CXmlRpc.c:207: warning: implicit declaration of function `xmlFreeTextWriter' CXmlRpc.c:113: warning: unused variable `cname' make[6]: ** [CXmlRpc.lo] Erro 1 make[6]: Saindo do diret?rio `/opt/gambas-0.99.RC4/src/lib/xml/libxml/rpc' make[5]: ** [all-recursive] Erro 1 make[5]: Saindo do diret?rio `/opt/gambas-0.99.RC4/src/lib/xml/libxml' make[4]: ** [all-recursive] Erro 1 make[4]: Saindo do diret?rio `/opt/gambas-0.99.RC4/src/lib/xml' make[3]: ** [all-recursive] Erro 1 make[3]: Saindo do diret?rio `/opt/gambas-0.99.RC4/src/lib' make[2]: ** [all-recursive] Erro 1 make[2]: Saindo do diret?rio `/opt/gambas-0.99.RC4/src' make[1]: ** [all-recursive] Erro 1 make[1]: Saindo do diret?rio `/opt/gambas-0.99.RC4' make: ** [all-recursive-am] Erro 2 MJ. From sourceforge-raindog2 at ...94... Tue Nov 30 17:47:10 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 30 Nov 2004 11:47:10 -0500 Subject: [Gambas-user] Error when compiling gambas-0.99.RC4 In-Reply-To: References: Message-ID: <200411301147.10313.sourceforge-raindog2@...94...> On Tuesday 30 November 2004 11:37, MJ wrote: > CXmlRpc.c:31:30: libxml/xmlwriter.h: No such file or directory You're missing the libxml headers. In Mandrake, the package you would need is libxml2-devel. I think this became necessary in RC2 or RC3. Rob From sourceforge-raindog2 at ...94... Tue Nov 30 18:53:16 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 30 Nov 2004 12:53:16 -0500 Subject: [Gambas-user] RC4 mandrake packages... Message-ID: <200411301253.16311.sourceforge-raindog2@...94...> http://www.kudla.org/index.php?wl_mode=more&wl_eid=66 Maybe I'll get to do 10.1 packages this time... Rob From jrmzb at ...43... Tue Nov 30 19:32:20 2004 From: jrmzb at ...43... (Jaime Ramirez) Date: Tue, 30 Nov 2004 10:32:20 -0800 (PST) Subject: [Gambas-user] Problems recompiling in RH 9.0 Message-ID: <20041130183220.72241.qmail@...705...> Hi: I am getting this error when starting to "configure" gambas: loading cache ./config.cache checking whether to enable maintainer-specific portions of Makefiles... no configure: error: can not find install-sh or install.sh in . ./.. ./../.. Any ideas?? Jaime Ramz. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com