From gambas at ...1... Mon Sep 1 10:56:35 2008 From: gambas at ...1... (Benoit Minisini) Date: Mon, 1 Sep 2008 10:56:35 +0200 Subject: [Gambas-devel] Fw: New controls In-Reply-To: <440905.9009.qm@...597...> References: <440905.9009.qm@...597...> Message-ID: <200809011056.35975.gambas@...1...> On mercredi 27 ao?t 2008, David Villalobos Cambronero wrote: > Hi Benoit, what about that, are we going to use it in gb.form? > > Regards > > > David > I will put it in gb.form. But is the Change event really useful? Maybe I will change the icon because of the "Msg" text inside. Regards, -- Benoit Minisini From david_villalobos_c at ...7... Mon Sep 1 14:26:58 2008 From: david_villalobos_c at ...7... (David Villalobos Cambronero) Date: Mon, 1 Sep 2008 05:26:58 -0700 (PDT) Subject: [Gambas-devel] Fw: New controls Message-ID: <814852.52485.qm@...597...> Hi, well I think in a possible use for that event, but I couldn't find one :-) , no remember why I place that event, but sure, go ahead. Remove it if you want. Best regards. David ----- Original Message ---- From: Benoit Minisini To: mailing list for gambas developers Sent: Monday, September 1, 2008 2:56:35 AM Subject: Re: [Gambas-devel] Fw: New controls On mercredi 27 ao?t 2008, David Villalobos Cambronero wrote: > Hi Benoit, what about that, are we going to use it in gb.form? > > Regards > > > David > I will put it in gb.form. But is the Change event really useful? Maybe I will change the icon because of the "Msg" text inside. Regards, -- Benoit Minisini ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gambas-devel mailing list Gambas-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-devel From bberberov at ...176... Fri Sep 5 19:03:18 2008 From: bberberov at ...176... (Boian Berberov) Date: Fri, 5 Sep 2008 11:03:18 -0600 Subject: [Gambas-devel] Gentoo ebuild and patches Message-ID: Gambas Developers, I have been writing an updated ebuild (making a new package) for your software for Gentoo Linux. You can view some of the progress here: http://bugs.gentoo.org/show_bug.cgi?id=229821 Quite a few patches have accumulated that are needed to build Gambas for Gentoo. Please review these patches and consider them for inclusion: gambas-2.7.0-r1-gb.qt-QT_LDFLAGS.patch - http://bugs.gentoo.org/attachment.cgi?id=161148 gambas-2.7.0-r1-help-GB_INIT_SHORT.patch - http://bugs.gentoo.org/attachment.cgi?id=161149 gambas-2.8.0-sdl-component-name.patch - http://bugs.gentoo.org/attachment.cgi?id=163347 If you reject certain patches, could you explain why you cannot adopt them. I may make alternative patches and try to submit those at a later date. Boian Berberov -------------- next part -------------- An HTML attachment was scrubbed... URL: From david_villalobos_c at ...7... Mon Sep 8 16:09:34 2008 From: david_villalobos_c at ...7... (David Villalobos Cambronero) Date: Mon, 8 Sep 2008 07:09:34 -0700 (PDT) Subject: [Gambas-devel] Signal 11 on Gambas 3 r1542 Message-ID: <537710.43838.qm@...582...> Hi Benoit: I got a signal 11 with my project. Attached the BackTrace and the project and a schema. Steps to reproduce the error: 1.Go to FTest.Class and provide a root password to connect 2.Then you will see the main form, click the Catalogs label, if all was fine you will see a list of all your databases. 3.Select one database that has Views, Triggers, Procedures (If you restore the schema for sakila, you will have all you nedd). 4.Then select the name of a View and try to delete it, by using the toolbutton or the ?Del? key, the item will be deleted but at the end of the refresh I got a signal 11. Hope I was clear enough. By the way, I use Mandriva 2008.1 64bits and QT. Best regards David -------------- next part -------------- A non-text attachment was scrubbed... Name: BackTrace Type: application/octet-stream Size: 4436 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: gb.db.mysql-gui-0.0.103.tar.gz Type: application/gzip Size: 49105 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: sakila-schema.sql Type: application/octet-stream Size: 23113 bytes Desc: not available URL: From gambas at ...1... Tue Sep 9 13:30:51 2008 From: gambas at ...1... (Benoit Minisini) Date: Tue, 9 Sep 2008 13:30:51 +0200 Subject: [Gambas-devel] Gentoo ebuild and patches In-Reply-To: References: Message-ID: <200809091330.51888.gambas@...1...> On vendredi 05 septembre 2008, Boian Berberov wrote: > Gambas Developers, > > I have been writing an updated ebuild (making a new package) for your > software for Gentoo Linux. You can view some of the progress here: > http://bugs.gentoo.org/show_bug.cgi?id=229821 > > Quite a few patches have accumulated that are needed to build Gambas for > Gentoo. Please review these patches and consider them for inclusion: > gambas-2.7.0-r1-gb.qt-QT_LDFLAGS.patch - > http://bugs.gentoo.org/attachment.cgi?id=161148 > gambas-2.7.0-r1-help-GB_INIT_SHORT.patch - > http://bugs.gentoo.org/attachment.cgi?id=161149 > gambas-2.8.0-sdl-component-name.patch - > http://bugs.gentoo.org/attachment.cgi?id=163347 > > If you reject certain patches, could you explain why you cannot adopt them. > I may make alternative patches and try to submit those at a later date. > > Boian Berberov Hi, I looked at your patches at bugs.gentoo.org, and here are my comments: *** gambas-2.7.0-r1-gb.qt-QT_LDFLAGS.patch I don't understand this patch. @QT_LDFLAGS@ is logically needed, they are the flags coming from pkg-config, so they should not be removed. *** gambas-2.7.0-r1-help-GB_INIT_SHORT.patch OK. There is no need to use GB_INIT there. *** gambas-2.7.0-r1-libtool-and-FLAGS.patch Please explain the difference between AC_LIBLTDL_CONVENIENCE and AC_WITH_LTDL. Why are you removing the "--enable-optimization" configure flag? *** gambas-2.7.0-r1-remove-libltdl-from-main.patch Why are you removing the use of the local libltdl sources? *** gambas-2.8.0-help-path.patch OK. It seems to be a fix, and a better way of doing the same thing. Can you confirm? And why did you replace $(LN_S) by "ln -s"? *** gambas-2.8.0-libtool.patch Please explain the difference between AC_LIBLTDL_CONVENIENCE and AC_WITH_LTDL. *** gambas-2.8.0-sdl-component-name.patch Why did you rename the component name? *** gambas-2.8.2-FLAGS.patch Why did you remove the "--enable-optimization" configure flag? Why did you force optimization to "-O3"? I carefully use it on specific source files, because gcc is not reliable with this optimization, and sometimes -O3 can be slower than -Os. *** gambas-2.8.2-app-Makefile-install.patch *** gambas-2.8.2-comp-Makefile-install.patch *** gambas-2.8.2-examples-Makefile-install.patch OK. It seems to be a better and cleaner way to do the same thing. Can you confirm? Well, thanks anyway for fixing my autoconf && automake files. This configuration system is horrible when you try to do something uncommon. Regards, -- Benoit Minisini From bberberov at ...176... Wed Sep 10 17:13:40 2008 From: bberberov at ...176... (Boian Berberov) Date: Wed, 10 Sep 2008 09:13:40 -0600 Subject: [Gambas-devel] Gentoo ebuild and patches In-Reply-To: <200809091330.51888.gambas@...1...> References: <200809091330.51888.gambas@...1...> Message-ID: Benoit, I am going to try to explain why I made each patch below. These comments are based on the gambas 2.8.2 tarball that is downloadable through sourceforge: *** gambas-2.7.0-r1-gb.qt-QT_LDFLAGS.patch GB_COMPONENT is used instead of GB_COMPONENT_PKG_CONFIG in qt.gb/configure.ac. From what I understand, the variables removed by this patch are simply not produced in this case. This caused the build process to fail so I made the patch to remove the missing variables. *** gambas-2.7.0-r1-help-GB_INIT_SHORT.patch I thought so. I do not remember if it was necessarily causing problems, and that is why I created it, or if it simply reduces autoreconf time. *** gambas-2.7.0-r1-libtool-and-FLAGS.patch This patch is no longer used and has been split into the gambas-2.8.0-libtool.patch and the gambas-2.8.2-FLAGS.patch *** gambas-2.7.0-r1-remove-libltdl-from-main.patch This is a Gentoo-specific patch working together with gambas-2.8.0-libtool.patch. See below. *** gambas-2.8.0-help-path.patch This patch was revised several times and originally it had a different purpose. Currently, it simply prevents the copying of the tar file. Originally, it also changed the install location of the help directory, but then I realized that I do not know if that location is relevant within the Gambas IDE so I reverted that. I am not sure why I am forced to use "ln -s" instead of $(LN_S) in the ebuild, but I know that it does not work. I believe that is a Gentoo-specific issue so I would not advise you to adopt this particular replacement. *** gambas-2.8.0-libtool.patch This is a Gentoo-specific patch working together with gambas-2.7.0-r1-remove-libltdl-from-main.patch. The original problem of the bug was that Gambas was failing to build with libtool 2.2.4. The way I fixed this problem was by removing libtool, to the best of my ability, and running autoreconf, to recreate it. I believe this replacement (in the patch) causes autoreconf to use the local copy of libltdl instead of the provided one. *** gambas-2.8.0-sdl-component-name.patch gb.sdl.sound/configure.ac lists the component name as sdl_sound: ... dnl check for SDL libs GB_COMPONENT( sdl_sound, SDL_SOUND, ... When --enable-sdlsound is passed to ./configure, the component does not enable because of the name difference. (sdlsound <-> sdl_sound) I do not remember but I think --enable-sdl_sound did not work either. This patch makes the two names the same. *** gambas-2.8.2-FLAGS.patch This is a Gentoo-specific patch, although I am not sure this is the best way to do things. Gentoo users are supposed to do all the optimizations by themselves. In general, their FLAGS should take precedence, unless this causes a build failure. At least that is how I understand the Gentoo philosophy. You are right. I probably should not force the -O3 on AM_CFLAGS_OPT. I believed that you had a compelling reason to use -03 so I left is alone. -O3 is not recommended by Gentoo so the majority of users will not have it set. Normally I would have to track down the usage of AM_CFLAGS_OPT and remove it, but I have not gotten that far yet, plus if there is a reason for it, it might be worth it to leave it alone. *** gambas-2.8.2-app-Makefile-install.patch *** gambas-2.8.2-comp-Makefile-install.patch *** gambas-2.8.2-examples-Makefile-install.patch I implemented these patches because .gambas files that were not building correctly were still being installed. I rewrote these patches about three times and I am still not sure they are the best way to handle things, but at least the package has better chances of getting updated in Gentoo now, IMHO. If I make some more patches for the build system (autoconf and make files), or revise some, would you consider adopting them? I will try to make them distribution/OS-neutral, but I do not use many different OSs so someone else will have to test them for compatibility. Boian Berberov On Tue, Sep 9, 2008 at 05:30, Benoit Minisini wrote: > On vendredi 05 septembre 2008, Boian Berberov wrote: > > Gambas Developers, > > > > I have been writing an updated ebuild (making a new package) for your > > software for Gentoo Linux. You can view some of the progress here: > > http://bugs.gentoo.org/show_bug.cgi?id=229821 > > > > Quite a few patches have accumulated that are needed to build Gambas for > > Gentoo. Please review these patches and consider them for inclusion: > > gambas-2.7.0-r1-gb.qt-QT_LDFLAGS.patch - > > http://bugs.gentoo.org/attachment.cgi?id=161148 > > gambas-2.7.0-r1-help-GB_INIT_SHORT.patch - > > http://bugs.gentoo.org/attachment.cgi?id=161149 > > gambas-2.8.0-sdl-component-name.patch - > > http://bugs.gentoo.org/attachment.cgi?id=163347 > > > > If you reject certain patches, could you explain why you cannot adopt > them. > > I may make alternative patches and try to submit those at a later date. > > > > Boian Berberov > > Hi, > > I looked at your patches at bugs.gentoo.org, and here are my comments: > > *** gambas-2.7.0-r1-gb.qt-QT_LDFLAGS.patch > > I don't understand this patch. @QT_LDFLAGS@ is logically needed, they are > the > flags coming from pkg-config, so they should not be removed. > > *** gambas-2.7.0-r1-help-GB_INIT_SHORT.patch > > OK. There is no need to use GB_INIT there. > > *** gambas-2.7.0-r1-libtool-and-FLAGS.patch > > Please explain the difference between AC_LIBLTDL_CONVENIENCE and > AC_WITH_LTDL. > > Why are you removing the "--enable-optimization" configure flag? > > *** gambas-2.7.0-r1-remove-libltdl-from-main.patch > > Why are you removing the use of the local libltdl sources? > > *** gambas-2.8.0-help-path.patch > > OK. It seems to be a fix, and a better way of doing the same thing. Can you > confirm? > > And why did you replace $(LN_S) by "ln -s"? > > *** gambas-2.8.0-libtool.patch > > Please explain the difference between AC_LIBLTDL_CONVENIENCE and > AC_WITH_LTDL. > > *** gambas-2.8.0-sdl-component-name.patch > > Why did you rename the component name? > > *** gambas-2.8.2-FLAGS.patch > > Why did you remove the "--enable-optimization" configure flag? > > Why did you force optimization to "-O3"? I carefully use it on specific > source > files, because gcc is not reliable with this optimization, and sometimes > -O3 > can be slower than -Os. > > *** gambas-2.8.2-app-Makefile-install.patch > *** gambas-2.8.2-comp-Makefile-install.patch > *** gambas-2.8.2-examples-Makefile-install.patch > > OK. It seems to be a better and cleaner way to do the same thing. Can you > confirm? > > Well, thanks anyway for fixing my autoconf && automake files. This > configuration system is horrible when you try to do something uncommon. > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...1... Wed Sep 10 19:44:09 2008 From: gambas at ...1... (Benoit Minisini) Date: Wed, 10 Sep 2008 19:44:09 +0200 Subject: [Gambas-devel] Gentoo ebuild and patches In-Reply-To: References: <200809091330.51888.gambas@...1...> Message-ID: <200809101944.09411.gambas@...1...> On mercredi 10 septembre 2008, Boian Berberov wrote: > Benoit, > > I am going to try to explain why I made each patch below. These comments > are based on the gambas 2.8.2 tarball that is downloadable through > sourceforge: > > *** gambas-2.7.0-r1-gb.qt-QT_LDFLAGS.patch > GB_COMPONENT is used instead of GB_COMPONENT_PKG_CONFIG in > qt.gb/configure.ac. From what I understand, the variables removed by this > patch are simply not produced in this case. This caused the build process > to fail so I made the patch to remove the missing variables. OK. > > *** gambas-2.7.0-r1-help-GB_INIT_SHORT.patch > I thought so. I do not remember if it was necessarily causing problems, > and that is why I created it, or if it simply reduces autoreconf time. > OK. > *** gambas-2.7.0-r1-libtool-and-FLAGS.patch > This patch is no longer used and has been split into the > gambas-2.8.0-libtool.patch and the gambas-2.8.2-FLAGS.patch OK. > > *** gambas-2.7.0-r1-remove-libltdl-from-main.patch > This is a Gentoo-specific patch working together with > gambas-2.8.0-libtool.patch. See below. > > *** gambas-2.8.0-help-path.patch > This patch was revised several times and originally it had a different > purpose. Currently, it simply prevents the copying of the tar file. > Originally, it also changed the install location of the help directory, but > then I realized that I do not know if that location is relevant within the > Gambas IDE so I reverted that. It is relevant. The help files must be located into $(GAMBAS_INSTALL_DIR)/share/gambas2/help > > I am not sure why I am forced to use "ln -s" instead of $(LN_S) in the > ebuild, but I know that it does not work. I believe that is a > Gentoo-specific issue so I would not advise you to adopt this particular > replacement. OK. > > *** gambas-2.8.0-libtool.patch > This is a Gentoo-specific patch working together with > gambas-2.7.0-r1-remove-libltdl-from-main.patch. The original problem of > the bug was that Gambas was failing to build with libtool 2.2.4. The way I > fixed this problem was by removing libtool, to the best of my ability, and > running autoreconf, to recreate it. I believe this replacement (in the > patch) causes autoreconf to use the local copy of libltdl instead of the > provided one. I have libtool 1.5 on my Mandriva 2008.1 yet. > > *** gambas-2.8.0-sdl-component-name.patch > gb.sdl.sound/configure.ac lists the component name as sdl_sound: > > ... > dnl check for SDL libs > GB_COMPONENT( > sdl_sound, > SDL_SOUND, > ... > > When --enable-sdlsound is passed to ./configure, the component does not > enable because of the name difference. (sdlsound <-> sdl_sound) I do not > remember but I think --enable-sdl_sound did not work either. This patch > makes the two names the same. So I will do the contrary! I will replace 'sdl_sound' by 'sdlsound' and 'SDL_SOUND' by 'SDLSOUND'. > > *** gambas-2.8.2-FLAGS.patch > This is a Gentoo-specific patch, although I am not sure this is the best > way to do things. > > Gentoo users are supposed to do all the optimizations by themselves. In > general, their FLAGS should take precedence, unless this causes a build > failure. At least that is how I understand the Gentoo philosophy. > > You are right. I probably should not force the -O3 on AM_CFLAGS_OPT. I > believed that you had a compelling reason to use -03 so I left is alone. > -O3 is not recommended by Gentoo so the majority of users will not have it > set. Normally I would have to track down the usage of AM_CFLAGS_OPT and > remove it, but I have not gotten that far yet, plus if there is a reason > for it, it might be worth it to leave it alone. OK. > > *** gambas-2.8.2-app-Makefile-install.patch > *** gambas-2.8.2-comp-Makefile-install.patch > *** gambas-2.8.2-examples-Makefile-install.patch > I implemented these patches because .gambas files that were not building > correctly were still being installed. I rewrote these patches about three > times and I am still not sure they are the best way to handle things, but > at least the package has better chances of getting updated in Gentoo now, > IMHO. OK. > > If I make some more patches for the build system (autoconf and make files), > or revise some, would you consider adopting them? Of course, I already did. But it depends on the patch. > I will try to make them > distribution/OS-neutral, but I do not use many different OSs so someone > else will have to test them for compatibility. > > Boian Berberov > Well, I think one more brain is not superfluous to deal with autoconf & automake! Regards, -- Benoit Minisini From bberberov at ...176... Wed Sep 10 20:56:05 2008 From: bberberov at ...176... (Boian Berberov) Date: Wed, 10 Sep 2008 12:56:05 -0600 Subject: [Gambas-devel] Gentoo ebuild and patches In-Reply-To: <200809101944.09411.gambas@...1...> References: <200809091330.51888.gambas@...1...> <200809101944.09411.gambas@...1...> Message-ID: On Wed, Sep 10, 2008 at 11:44, Benoit Minisini wrote: > > ... > > *** gambas-2.8.0-help-path.patch > > This patch was revised several times and originally it had a different > > purpose. Currently, it simply prevents the copying of the tar file. > > Originally, it also changed the install location of the help directory, > but > > then I realized that I do not know if that location is relevant within > the > > Gambas IDE so I reverted that. > > It is relevant. The help files must be located into > $(GAMBAS_INSTALL_DIR)/share/gambas2/help > OK. Good thing I reverted it then. > ... > > *** gambas-2.8.0-libtool.patch > > This is a Gentoo-specific patch working together with > > gambas-2.7.0-r1-remove-libltdl-from-main.patch. The original problem of > > the bug was that Gambas was failing to build with libtool 2.2.4. The > way I > > fixed this problem was by removing libtool, to the best of my ability, > and > > running autoreconf, to recreate it. I believe this replacement (in the > > patch) causes autoreconf to use the local copy of libltdl instead of the > > provided one. > > I have libtool 1.5 on my Mandriva 2008.1 yet. > This patch is for Gentoo. Even if you started using libtool 2.2, Gentoo would have to support 1.5 until it is removed from Portage. Do not worry about it. > > > *** gambas-2.8.0-sdl-component-name.patch > > gb.sdl.sound/configure.ac lists the component name as sdl_sound: > > > > ... > > dnl check for SDL libs > > GB_COMPONENT( > > sdl_sound, > > SDL_SOUND, > > ... > > > > When --enable-sdlsound is passed to ./configure, the component does not > > enable because of the name difference. (sdlsound <-> sdl_sound) I do not > > remember but I think --enable-sdl_sound did not work either. This patch > > makes the two names the same. > > So I will do the contrary! I will replace 'sdl_sound' by 'sdlsound' > and 'SDL_SOUND' by 'SDLSOUND'. > OK. Noted. I will update the ebuild on the next version bump to reflect this. > ... > > > > If I make some more patches for the build system (autoconf and make > files), > > or revise some, would you consider adopting them? > > Of course, I already did. But it depends on the patch. > > > I will try to make them > > distribution/OS-neutral, but I do not use many different OSs so someone > > else will have to test them for compatibility. > > > > Boian Berberov > > > > Well, I think one more brain is not superfluous to deal with autoconf & > automake! > Alright, I will wait for the version bump so I can get Gambas updated for Gentoo. Once that bug is closed, I can look at the build system some more. Good luck with development. Boian Berberov > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrik at ...603... Sat Sep 13 17:29:48 2008 From: patrik at ...603... (Patrik Karlsson) Date: Sat, 13 Sep 2008 17:29:48 +0200 Subject: [Gambas-devel] Request: CTRL+DELETE/BACKSPACE Message-ID: <577069a50809130829h7f5acb62mc585a3610336bbb2@...178...> It would be nice if the editor understood CTRL+DELETE/BACKSPACE to delete the word to the right and left of the cursor. -- Patrik Karlsson From gambas.fr at ...176... Mon Sep 15 15:09:34 2008 From: gambas.fr at ...176... (Fabien Bodard) Date: Mon, 15 Sep 2008 15:09:34 +0200 Subject: [Gambas-devel] No i'm not always sleeping :) Message-ID: <6324a42a0809150609w55c498e6g5eee346b8e1c649d@...178...> it's not code, but this will come after ;-) Fabien Bodard This picture is under and all related logo in it are under creative common licence http://creativecommons.org/licenses/by-sa/3.0/ Enjoy it! Regards, Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: Gambases.png Type: image/png Size: 131083 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Gambas32.svg Type: image/svg+xml Size: 36765 bytes Desc: not available URL: From ron at ...572... Mon Sep 15 15:48:19 2008 From: ron at ...572... (Ron) Date: Mon, 15 Sep 2008 15:48:19 +0200 Subject: [Gambas-devel] No i'm not always sleeping :) In-Reply-To: <6324a42a0809150609w55c498e6g5eee346b8e1c649d@...178...> References: <6324a42a0809150609w55c498e6g5eee346b8e1c649d@...178...> Message-ID: <48CE67A3.3080900@...572...> I don't want to offend you, but I think it looks like a logo for a kids toy, not for an almost proffesional programming environment. My 2cts. Regards, Ron_2nd > it's not code, but this will come after ;-) > > Fabien Bodard > > > This picture is under and all related logo in it are under creative > common licence > > http://creativecommons.org/licenses/by-sa/3.0/ > > > Enjoy it! > > > Regards, > Fabien Bodard > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ------------------------------------------------------------------------ > > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > From garulfounix at ...176... Mon Sep 15 16:00:30 2008 From: garulfounix at ...176... (=?iso-8859-1?q?Fran=E7ois?=) Date: Mon, 15 Sep 2008 16:00:30 +0200 Subject: [Gambas-devel] No i'm not always sleeping :) In-Reply-To: <48CE67A3.3080900@...572...> References: <6324a42a0809150609w55c498e6g5eee346b8e1c649d@...178...> <48CE67A3.3080900@...572...> Message-ID: <200809151600.30816.garulfounix@...176...> Ron, Theses pictures actually will be useful for the new website of community Gambas. It's a project that aims to make a website to regroup the gambas community and to fusion the old GambasForge and Gambas-fr website. All is coded in Gambas of course. And by the way, if there are people who will be interested by that, please contact me or Fabien. Fran?ois. Le Monday 15 September 2008 15:48:19 Ron, vous avez ?crit?: > I don't want to offend you, but I think it looks like a logo for a kids > toy, not for an almost proffesional programming environment. > > My 2cts. > > Regards, > Ron_2nd > > > it's not code, but this will come after ;-) > > > > Fabien Bodard > > > > > > This picture is under and all related logo in it are under creative > > common licence > > > > http://creativecommons.org/licenses/by-sa/3.0/ > > > > > > Enjoy it! > > > > > > Regards, > > Fabien Bodard > > > > > > ------------------------------------------------------------------------ > > > > ------------------------------------------------------------------------ > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge Build the coolest Linux based applications with Moblin SDK & > > win great prizes Grand prize is a trip for two to an Open Source event > > anywhere in the world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Gambas-devel mailing list > > Gambas-devel at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-devel > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel -- GarulfoUnix - Fran?ois Gallo (fr)Contributeur ? Gambas(Traductions, documentations, rapport de bugs...) (en)Gambas contributor(Translation, documentation, bugs report...and so on) From gambas at ...1... Mon Sep 15 16:10:36 2008 From: gambas at ...1... (Benoit Minisini) Date: Mon, 15 Sep 2008 16:10:36 +0200 Subject: [Gambas-devel] No i'm not always sleeping :) In-Reply-To: <6324a42a0809150609w55c498e6g5eee346b8e1c649d@...178...> References: <6324a42a0809150609w55c498e6g5eee346b8e1c649d@...178...> Message-ID: <200809151610.36348.gambas@...1...> On lundi 15 septembre 2008, Fabien Bodard wrote: > it's not code, but this will come after ;-) > > Fabien Bodard > > > This picture is under and all related logo in it are under creative > common licence > > http://creativecommons.org/licenses/by-sa/3.0/ > > > Enjoy it! > > > Regards, > Fabien Bodard I like the style, but there is too much make-up for me! As for having a female gambas, why not? But maybe it should be neutral. Or make a couple! Regards, -- Benoit Minisini From gambas.fr at ...176... Mon Sep 15 16:53:23 2008 From: gambas.fr at ...176... (Fabien Bodard) Date: Mon, 15 Sep 2008 16:53:23 +0200 Subject: [Gambas-devel] No i'm not always sleeping :) In-Reply-To: <200809151610.36348.gambas@...1...> References: <6324a42a0809150609w55c498e6g5eee346b8e1c649d@...178...> <200809151610.36348.gambas@...1...> Message-ID: <6324a42a0809150753k3ad43709x471e3a1375bca901@...178...> ok this one ? 2008/9/15 Benoit Minisini : > On lundi 15 septembre 2008, Fabien Bodard wrote: >> it's not code, but this will come after ;-) >> >> Fabien Bodard >> >> >> This picture is under and all related logo in it are under creative >> common licence >> >> http://creativecommons.org/licenses/by-sa/3.0/ >> >> >> Enjoy it! >> >> >> Regards, >> Fabien Bodard > > I like the style, but there is too much make-up for me! > > As for having a female gambas, why not? But maybe it should be neutral. Or > make a couple! > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > -------------- next part -------------- A non-text attachment was scrubbed... Name: Gambas33.svg Type: image/svg+xml Size: 38188 bytes Desc: not available URL: From ron at ...572... Mon Sep 15 16:53:14 2008 From: ron at ...572... (Ron) Date: Mon, 15 Sep 2008 16:53:14 +0200 Subject: [Gambas-devel] No i'm not always sleeping :) In-Reply-To: <200809151600.30816.garulfounix@...176...> References: <6324a42a0809150609w55c498e6g5eee346b8e1c649d@...178...> <48CE67A3.3080900@...572...> <200809151600.30816.garulfounix@...176...> Message-ID: <48CE76DA.6090501@...572...> Ok, this is a very good project then. There are to much gambas sites which are down or not updated frequently enough, any effort to bundle sites is time well spent!. Regards, Ron. > Ron, > > Theses pictures actually will be useful for the new website of community > Gambas. > > It's a project that aims to make a website to regroup the gambas community and > to fusion the old GambasForge and Gambas-fr website. > > All is coded in Gambas of course. And by the way, if there are people who will > be interested by that, please contact me or Fabien. > > Fran?ois. > > Le Monday 15 September 2008 15:48:19 Ron, vous avez ?crit : > >> I don't want to offend you, but I think it looks like a logo for a kids >> toy, not for an almost proffesional programming environment. >> >> My 2cts. >> >> Regards, >> Ron_2nd >> >> >>> it's not code, but this will come after ;-) >>> >>> Fabien Bodard >>> >>> >>> This picture is under and all related logo in it are under creative >>> common licence >>> >>> http://creativecommons.org/licenses/by-sa/3.0/ >>> >>> >>> Enjoy it! >>> >>> >>> Regards, >>> Fabien Bodard >>> >>> >>> ------------------------------------------------------------------------ >>> >>> ------------------------------------------------------------------------ >>> >>> ------------------------------------------------------------------------- >>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>> challenge Build the coolest Linux based applications with Moblin SDK & >>> win great prizes Grand prize is a trip for two to an Open Source event >>> anywhere in the world >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Gambas-devel mailing list >>> Gambas-devel at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-devel >>> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge Build the coolest Linux based applications with Moblin SDK & win >> great prizes Grand prize is a trip for two to an Open Source event anywhere >> in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Gambas-devel mailing list >> Gambas-devel at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-devel >> > > > > From gambas at ...1... Mon Sep 15 17:03:09 2008 From: gambas at ...1... (Benoit Minisini) Date: Mon, 15 Sep 2008 17:03:09 +0200 Subject: [Gambas-devel] No i'm not always sleeping :) In-Reply-To: <6324a42a0809150753k3ad43709x471e3a1375bca901@...178...> References: <6324a42a0809150609w55c498e6g5eee346b8e1c649d@...178...> <200809151610.36348.gambas@...1...> <6324a42a0809150753k3ad43709x471e3a1375bca901@...178...> Message-ID: <200809151703.09989.gambas@...1...> On lundi 15 septembre 2008, Fabien Bodard wrote: > ok this one ? > It is actually the visible red tongue that I don't like... -- Benoit Minisini From gambas.fr at ...176... Mon Sep 15 17:04:22 2008 From: gambas.fr at ...176... (Fabien Bodard) Date: Mon, 15 Sep 2008 17:04:22 +0200 Subject: [Gambas-devel] No i'm not always sleeping :) In-Reply-To: <200809151703.09989.gambas@...1...> References: <6324a42a0809150609w55c498e6g5eee346b8e1c649d@...178...> <200809151610.36348.gambas@...1...> <6324a42a0809150753k3ad43709x471e3a1375bca901@...178...> <200809151703.09989.gambas@...1...> Message-ID: <6324a42a0809150804l421401b0v3ad6a6a15c5748d0@...178...> hum what color for the tongue lol ? 2008/9/15 Benoit Minisini : > On lundi 15 septembre 2008, Fabien Bodard wrote: >> ok this one ? >> > > It is actually the visible red tongue that I don't like... > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > From gambas.fr at ...176... Mon Sep 15 17:03:37 2008 From: gambas.fr at ...176... (Fabien Bodard) Date: Mon, 15 Sep 2008 17:03:37 +0200 Subject: [Gambas-devel] No i'm not always sleeping :) In-Reply-To: <48CE67A3.3080900@...572...> References: <6324a42a0809150609w55c498e6g5eee346b8e1c649d@...178...> <48CE67A3.3080900@...572...> Message-ID: <6324a42a0809150803i33080209t2c3c6876c5ddcb70@...178...> 2008/9/15 Ron : > I don't want to offend you, but I think it looks like a logo for a kids > toy, not for an almost proffesional programming environment. > > My 2cts. > > Regards, > Ron_2nd yes ron it's just 2cts lol ... Gambas is not made to be trade... to professionnal first. It might be usefull shiny, pretty, fun , simple... as a toy is lol. so i'm happy that you congratulate me in that way :). Forget the dark logos... it remember me too much old computer ... for exemple kde4 is my way, funny pretty, handfull. Gimp logo is like a toy too... amule too. So why not ... lol i'm a free thinking man ... not in my way to think with constraint first. Then when the create is done ... we can manage constraints, but the thing created this way is really new. Fabien From gambas at ...1... Mon Sep 15 17:09:57 2008 From: gambas at ...1... (Benoit Minisini) Date: Mon, 15 Sep 2008 17:09:57 +0200 Subject: [Gambas-devel] No i'm not always sleeping :) In-Reply-To: <6324a42a0809150804l421401b0v3ad6a6a15c5748d0@...178...> References: <6324a42a0809150609w55c498e6g5eee346b8e1c649d@...178...> <200809151703.09989.gambas@...1...> <6324a42a0809150804l421401b0v3ad6a6a15c5748d0@...178...> Message-ID: <200809151709.57089.gambas@...1...> On lundi 15 septembre 2008, Fabien Bodard wrote: > hum > what color for the tongue lol ? > No tongue at all. I mean, for the default logo. But it would be funny if you can draw the logo in different situations: with tongue, with an hat, with some different attitudes, and so on! -- Benoit Minisini From gambas at ...1... Mon Sep 15 17:28:20 2008 From: gambas at ...1... (Benoit Minisini) Date: Mon, 15 Sep 2008 17:28:20 +0200 Subject: [Gambas-devel] No i'm not always sleeping :) In-Reply-To: <200809151709.57089.gambas@...1...> References: <6324a42a0809150609w55c498e6g5eee346b8e1c649d@...178...> <6324a42a0809150804l421401b0v3ad6a6a15c5748d0@...178...> <200809151709.57089.gambas@...1...> Message-ID: <200809151728.20424.gambas@...1...> On lundi 15 septembre 2008, Benoit Minisini wrote: > On lundi 15 septembre 2008, Fabien Bodard wrote: > > hum > > what color for the tongue lol ? > > No tongue at all. I mean, for the default logo. > > But it would be funny if you can draw the logo in different situations: > with tongue, with an hat, with some different attitudes, and so on! Or maybe with a tongue, but less visible (less red?). -- Benoit Minisini From gambas.fr at ...176... Mon Sep 15 17:35:26 2008 From: gambas.fr at ...176... (Fabien Bodard) Date: Mon, 15 Sep 2008 17:35:26 +0200 Subject: [Gambas-devel] No i'm not always sleeping :) In-Reply-To: <200809151709.57089.gambas@...1...> References: <6324a42a0809150609w55c498e6g5eee346b8e1c649d@...178...> <200809151703.09989.gambas@...1...> <6324a42a0809150804l421401b0v3ad6a6a15c5748d0@...178...> <200809151709.57089.gambas@...1...> Message-ID: <6324a42a0809150835u13eeef2arc178a65159da3403@...178...> now i can ... i've better knoledge that 3 year ago :) and a better tool 2008/9/15 Benoit Minisini : > On lundi 15 septembre 2008, Fabien Bodard wrote: >> hum >> what color for the tongue lol ? >> > > No tongue at all. I mean, for the default logo. > > But it would be funny if you can draw the logo in different situations: with > tongue, with an hat, with some different attitudes, and so on! > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > From ron at ...572... Mon Sep 15 17:35:56 2008 From: ron at ...572... (Ron) Date: Mon, 15 Sep 2008 17:35:56 +0200 Subject: [Gambas-devel] No i'm not always sleeping :) In-Reply-To: <6324a42a0809150803i33080209t2c3c6876c5ddcb70@...178...> References: <6324a42a0809150609w55c498e6g5eee346b8e1c649d@...178...> <48CE67A3.3080900@...572...> <6324a42a0809150803i33080209t2c3c6876c5ddcb70@...178...> Message-ID: <48CE80DC.6020306@...572...> Fabien Bodard schreef: > 2008/9/15 Ron : > >> I don't want to offend you, but I think it looks like a logo for a kids >> toy, not for an almost proffesional programming environment. >> >> My 2cts. >> >> Regards, >> Ron_2nd >> > > yes ron it's just 2cts lol ... Gambas is not made to be trade... to > professionnal first. > It might be usefull shiny, pretty, fun , simple... as a toy is lol. > > so i'm happy that you congratulate me in that way :). > > Forget the dark logos... it remember me too much old computer ... for > exemple kde4 is my way, funny pretty, handfull. > > Gimp logo is like a toy too... > > amule too. > > So why not ... lol i'm a free thinking man ... not in my way to think > with constraint first. Then when the create is done ... we can manage > constraints, but the thing created this way is really new. > Don't get me wrong, I like fun stuff too, not too serious please... I remember the animated gamba widget in the first IDE version I tried, it kinda make me wonder what gambas was, but now I know better. KDE4 and for example PulseAudio are examples of logo styles that are more suited for Gambas I think. But hey... a logo is just a logo... Regards, Ron_2nd. From gambas.fr at ...176... Mon Sep 15 18:07:07 2008 From: gambas.fr at ...176... (Fabien Bodard) Date: Mon, 15 Sep 2008 18:07:07 +0200 Subject: [Gambas-devel] No i'm not always sleeping :) In-Reply-To: <48CE80DC.6020306@...572...> References: <6324a42a0809150609w55c498e6g5eee346b8e1c649d@...178...> <48CE67A3.3080900@...572...> <6324a42a0809150803i33080209t2c3c6876c5ddcb70@...178...> <48CE80DC.6020306@...572...> Message-ID: <6324a42a0809150907l39454bdcs4aa287e1d1bdfaf4@...178...> this two other little things 2008/9/15 Ron : > Fabien Bodard schreef: >> 2008/9/15 Ron : >> >>> I don't want to offend you, but I think it looks like a logo for a kids >>> toy, not for an almost proffesional programming environment. >>> >>> My 2cts. >>> >>> Regards, >>> Ron_2nd >>> >> >> yes ron it's just 2cts lol ... Gambas is not made to be trade... to >> professionnal first. >> It might be usefull shiny, pretty, fun , simple... as a toy is lol. >> >> so i'm happy that you congratulate me in that way :). >> >> Forget the dark logos... it remember me too much old computer ... for >> exemple kde4 is my way, funny pretty, handfull. >> >> Gimp logo is like a toy too... >> >> amule too. >> >> So why not ... lol i'm a free thinking man ... not in my way to think >> with constraint first. Then when the create is done ... we can manage >> constraints, but the thing created this way is really new. >> > Don't get me wrong, I like fun stuff too, not too serious please... > I remember the animated gamba widget in the first IDE version I tried, > it kinda make me wonder what gambas was, but now I know better. > > KDE4 and for example PulseAudio are examples of logo styles that are > more suited for Gambas I think. > But hey... a logo is just a logo... > > Regards, > Ron_2nd. > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > -------------- next part -------------- A non-text attachment was scrubbed... Name: Gambas33_without_tongue.svg Type: image/svg+xml Size: 37558 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Gambas33_what_is_possible.svg Type: image/svg+xml Size: 40515 bytes Desc: not available URL: From gambas at ...1... Mon Sep 15 18:13:52 2008 From: gambas at ...1... (Benoit Minisini) Date: Mon, 15 Sep 2008 18:13:52 +0200 Subject: [Gambas-devel] No i'm not always sleeping :) In-Reply-To: <6324a42a0809150907l39454bdcs4aa287e1d1bdfaf4@...178...> References: <6324a42a0809150609w55c498e6g5eee346b8e1c649d@...178...> <48CE80DC.6020306@...572...> <6324a42a0809150907l39454bdcs4aa287e1d1bdfaf4@...178...> Message-ID: <200809151813.52976.gambas@...1...> On lundi 15 septembre 2008, Fabien Bodard wrote: > this two other little things > Cool :-) The hat should be hold by the left "hand", not the right "hand", otherwise we do not see his/her face! -- Benoit Minisini From gambas.fr at ...176... Mon Sep 15 20:12:57 2008 From: gambas.fr at ...176... (Fabien Bodard) Date: Mon, 15 Sep 2008 20:12:57 +0200 Subject: [Gambas-devel] No i'm not always sleeping :) In-Reply-To: <200809151813.52976.gambas@...1...> References: <6324a42a0809150609w55c498e6g5eee346b8e1c649d@...178...> <48CE80DC.6020306@...572...> <6324a42a0809150907l39454bdcs4aa287e1d1bdfaf4@...178...> <200809151813.52976.gambas@...1...> Message-ID: <6324a42a0809151112s16471323vb005bb4b011291ba@...178...> yop got it 2008/9/15 Benoit Minisini : > On lundi 15 septembre 2008, Fabien Bodard wrote: >> this two other little things >> > > Cool :-) > > The hat should be hold by the left "hand", not the right "hand", otherwise we > do not see his/her face! > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > From david_villalobos_c at ...7... Tue Sep 16 19:35:01 2008 From: david_villalobos_c at ...7... (David Villalobos Cambronero) Date: Tue, 16 Sep 2008 10:35:01 -0700 (PDT) Subject: [Gambas-devel] Feature request Message-ID: <309520.3220.qm@...582...> Hi Benoit: I think It will be cool to have the possibility to install a component (created with Gambas) in the Gambas installation folder, so all users can use it. In both cases, making executable (FMakeExecutable) and making the package (FMakeInstall). What do you think? If I had the knowledge in autotools to make it, I'll but I don't have it. Best regards. David From gambas.fr at ...176... Wed Sep 17 13:38:53 2008 From: gambas.fr at ...176... (Fabien Bodard) Date: Wed, 17 Sep 2008 13:38:53 +0200 Subject: [Gambas-devel] Feature request In-Reply-To: <309520.3220.qm@...582...> References: <309520.3220.qm@...582...> Message-ID: <6324a42a0809170438j4ba23f6ekb75f691b939eb66d@...178...> yes... but before let the possibility to users to make components ... i think and i repeat this since too many time now, it is now impostant to implement namespace. mylib.myclass.myproc and change a little bit inheritance way as the current one is interesting for it's magic auto replace (surcharge en fran?ais.. hem) but... i can't imagin let to users the ability to make own class before that. i've already the problem now ... as i need to call some class the same as others ... ex: Connection is valuable for net, dbus ... Format is valuable for a nameclass that manage (format s) is there a way to doing that, but with no too many complex ways ... Benoit ? 2008/9/16 David Villalobos Cambronero : > Hi Benoit: > > I think It will be cool to have the possibility to install a component (created with Gambas) in the Gambas installation folder, so all users can use it. In both cases, making executable (FMakeExecutable) and making the package (FMakeInstall). > > What do you think? > > If I had the knowledge in autotools to make it, I'll but I don't have it. > > Best regards. > > David > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > From gambas at ...1... Wed Sep 17 13:49:11 2008 From: gambas at ...1... (Benoit Minisini) Date: Wed, 17 Sep 2008 13:49:11 +0200 Subject: [Gambas-devel] Feature request In-Reply-To: <309520.3220.qm@...582...> References: <309520.3220.qm@...582...> Message-ID: <200809171349.11287.gambas@...1...> On mardi 16 septembre 2008, David Villalobos Cambronero wrote: > Hi Benoit: > > I think It will be cool to have the possibility to install a component > (created with Gambas) in the Gambas installation folder, so all users can > use it. In both cases, making executable (FMakeExecutable) and making the > package (FMakeInstall). > > What do you think? > > If I had the knowledge in autotools to make it, I'll but I don't have > it. > > Best regards. > > David > At the moment, the IDE can only package projects, not components. But the feature is planned. Not that tt is not just autotools, but every other way of packaging a component that must be implemented (rpm, deb, slackware, autotools). Regards, -- Benoit Minisini From gambas at ...1... Wed Sep 17 13:52:39 2008 From: gambas at ...1... (Benoit Minisini) Date: Wed, 17 Sep 2008 13:52:39 +0200 Subject: [Gambas-devel] Feature request In-Reply-To: <6324a42a0809170438j4ba23f6ekb75f691b939eb66d@...178...> References: <309520.3220.qm@...582...> <6324a42a0809170438j4ba23f6ekb75f691b939eb66d@...178...> Message-ID: <200809171352.39138.gambas@...1...> On mercredi 17 septembre 2008, Fabien Bodard wrote: > yes... but before let the possibility to users to make components ... > i think and i repeat this since too many time now, it is now impostant > to implement namespace. > > > mylib.myclass.myproc > > > and change a little bit inheritance way as the current one is > interesting for it's magic auto replace (surcharge en fran?ais.. hem) > > but... i can't imagin let to users the ability to make own class before > that. > > i've already the problem now ... as i need to call some class the same > as others ... ex: Connection is valuable for net, dbus ... > > Format is valuable for a nameclass that manage (format s) > > is there a way to doing that, but with no too many complex ways ... Benoit > ? > I don't see the relation between your post and David's one. Anyway I don't like namespaces, so I don't think I will implement them. Namespaces allow to avoid thinking on its class names, and makes the user brain work more. Regards, -- Benoit Minisini From david_villalobos_c at ...7... Wed Sep 17 14:20:16 2008 From: david_villalobos_c at ...7... (David Villalobos Cambronero) Date: Wed, 17 Sep 2008 05:20:16 -0700 (PDT) Subject: [Gambas-devel] Feature request Message-ID: <4307.21696.qm@...596...> Ohhh my fault, I tought it was easiers.. but thanks... let's wait a litte bit.. :) Saludos -- David ----- Original Message ---- From: Benoit Minisini To: mailing list for gambas developers Sent: Wednesday, September 17, 2008 5:49:11 AM Subject: Re: [Gambas-devel] Feature request On mardi 16 septembre 2008, David Villalobos Cambronero wrote: > Hi Benoit: > > I think It will be cool to have the possibility to install a component > (created with Gambas) in the Gambas installation folder, so all users can > use it. In both cases, making executable (FMakeExecutable) and making the > package (FMakeInstall). > > What do you think? > > If I had the knowledge in autotools to make it, I'll but I don't have > it. > > Best regards. > > David > At the moment, the IDE can only package projects, not components. But the feature is planned. Not that tt is not just autotools, but every other way of packaging a component that must be implemented (rpm, deb, slackware, autotools). Regards, -- Benoit Minisini ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gambas-devel mailing list Gambas-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-devel From gambas.fr at ...176... Wed Sep 17 14:25:04 2008 From: gambas.fr at ...176... (Fabien Bodard) Date: Wed, 17 Sep 2008 14:25:04 +0200 Subject: [Gambas-devel] Feature request In-Reply-To: <200809171352.39138.gambas@...1...> References: <309520.3220.qm@...582...> <6324a42a0809170438j4ba23f6ekb75f691b939eb66d@...178...> <200809171352.39138.gambas@...1...> Message-ID: <6324a42a0809170525l7438f01ch3df9fe9dc7766ce@...178...> 2008/9/17 Benoit Minisini : > On mercredi 17 septembre 2008, Fabien Bodard wrote: >> yes... but before let the possibility to users to make components ... >> i think and i repeat this since too many time now, it is now impostant >> to implement namespace. >> >> >> mylib.myclass.myproc >> >> >> and change a little bit inheritance way as the current one is >> interesting for it's magic auto replace (surcharge en fran?ais.. hem) >> >> but... i can't imagin let to users the ability to make own class before >> that. >> >> i've already the problem now ... as i need to call some class the same >> as others ... ex: Connection is valuable for net, dbus ... >> >> Format is valuable for a nameclass that manage (format s) >> >> is there a way to doing that, but with no too many complex ways ... Benoit >> ? >> > > I don't see the relation between your post and David's one. > > Anyway I don't like namespaces, so I don't think I will implement them. > Namespaces allow to avoid thinking on its class names, and makes the user > brain work more. Mine work well ... so i think i have to think to wrote the class hineritance system in BIG LETTER, to be sure that is not fool man that mistake and make conflict. My dbus class is named DBUSConnection for info. it's a way ... Virtualspacename in Ucase... But maybe you can rename the db class name too to DBConnection ... it will be more understandable. DBResult, etc Fabien > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > From gambas.fr at ...176... Wed Sep 17 23:35:29 2008 From: gambas.fr at ...176... (Fabien Bodard) Date: Wed, 17 Sep 2008 23:35:29 +0200 Subject: [Gambas-devel] Good news Message-ID: <6324a42a0809171435i30d49f21r75428563b27ec4cc@...178...> Now you can download on the GambasForge site ... it work ! http://www.gambasforge.net Currently i'm working to reimplement users part, the you will be able to connect to the site and add new sources. You have any ideas of what you want to the biggest communautary site ... tell me , or join us, Gambasforge will be able to manage: sources, tutorial, forum, and so on ... and surely more :) Tell us ... the gambasforge code is now on sourceforge, From ron at ...572... Mon Sep 22 21:49:30 2008 From: ron at ...572... (Ron) Date: Mon, 22 Sep 2008 21:49:30 +0200 Subject: [Gambas-devel] Some wierd gdb behaviour (I think) Message-ID: <48D7F6CA.9060907@...572...> Hi, Been trying to debug my program, because after adding some functionality every now and then it crashes (gambas), before that it was rock stable. But upgraded from 2.8.1 to 2.8.2 in the meantime also... I compile and start my program like the website says, this is what I get: ----------------- ron at ...218...:~/domotiga/DomotiGa$ gdb gbx2 GNU gdb 6.4.90-debian Copyright (C) 2006 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 "i486-linux-gnu"...Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (gdb) set args -p (gdb) run Starting program: /usr/local/bin/gbx2 -p Failed to read a valid object file image from memory. [Thread debugging using libthread_db enabled] [New Thread -1209992992 (LWP 8372)] [New Thread -1231660112 (LWP 8376)] [New Thread -1242149968 (LWP 8377)] [Thread -1242149968 (zombie) exited] [Thread -1231660112 (LWP 8376) exited] [New Thread -1231660112 (LWP 8378)] [New Thread -1242149968 (LWP 8379)] [New Thread -1250542672 (LWP 8380)] [Thread -1250542672 (zombie) exited] [New Thread -1250542672 (LWP 8381)] open /dev/sequencer: No such file or directory Qt: gdb: -nograb added to command-line options. Use the -dograb option to enforce grabbing. [New Thread -1266635856 (LWP 8385)] [Thread -1266635856 (LWP 8385) exited] [New Thread -1266635856 (LWP 8386)] [Thread -1266635856 (LWP 8386) exited] [New Thread -1266635856 (LWP 8390)] [Thread -1266635856 (LWP 8390) exited] [New Thread -1266635856 (LWP 8391)] [Thread -1266635856 (LWP 8391) exited] Segmentation fault (core dumped) ron at ...218...:~/domotiga/DomotiGa$ -------- the first thing that worries me, are the 2 zombie threads in the beginning, is this normal? Then when I click a certain menu, which lanches a part of my program which calls rrdtool to generate graphs (SHELL sRRDCmd2 WAIT) were sRRDCmd2 is a large command string which calls rrdtool graph... the gdb session gives Segmentation fault (core dumped) ron at ...218...:~/domotiga/DomotiGa$ and the gdb session is closed, my program continues to run... Is this normal? Because I started another program in the shell? My gambas program still runs and functions ok after this... What is wrong? This way I cannot debug my program without removing some functionality first. Did I overlook something? Gambas 2.8.2 on Debian 4.0etch3 Wanted to run it as root, but it's a headless server, and cannot get X to run remote for root... will have to look tomorrow... Do you need to run it as root to get the debugging info (see the Failed to read a valid object file image from memory. error) Regards, Ron_2nd From david_villalobos_c at ...7... Thu Sep 25 14:20:01 2008 From: david_villalobos_c at ...7... (David Villalobos Cambronero) Date: Thu, 25 Sep 2008 05:20:01 -0700 (PDT) Subject: [Gambas-devel] gb.option What it is used for? Message-ID: <632580.38880.qm@...555...> Hi all, Does anybody know what gb.option is used for? How can I use it? Maybe an small example? Regards -- David From gambas at ...1... Fri Sep 26 01:20:53 2008 From: gambas at ...1... (Benoit Minisini) Date: Fri, 26 Sep 2008 01:20:53 +0200 Subject: [Gambas-devel] Signal 11 on Gambas 3 r1542 In-Reply-To: <537710.43838.qm@...582...> References: <537710.43838.qm@...582...> Message-ID: <200809260120.53524.gambas@...1...> On lundi 08 septembre 2008, David Villalobos Cambronero wrote: > Hi Benoit: > I got a signal 11 with my project. Attached the BackTrace and the > project and a schema. > > Steps to reproduce the error: > 1.Go to FTest.Class and provide a root password to connect > 2.Then you will see the main form, click the Catalogs label, if all was > fine you will see a list of all your databases. 3.Select one database that > has Views, Triggers, Procedures (If you restore the schema for sakila, you > will have all you nedd). 4.Then select the name of a View and try to delete > it, by using the toolbutton or the ?Del? key, the item will be deleted but > at the end of the refresh I got a signal 11. > > Hope I was clear enough. > > By the way, I use Mandriva 2008.1 64bits and QT. > > Best regards > > David Yes, that crashes. I will look at it... Beware that all recent updates and bug fixes of 2.x were not ported in 3.0! Regards, -- Benoit Minisini From gambas at ...1... Fri Sep 26 01:57:32 2008 From: gambas at ...1... (Benoit Minisini) Date: Fri, 26 Sep 2008 01:57:32 +0200 Subject: [Gambas-devel] Signal 11 on Gambas 3 r1542 In-Reply-To: <200809260120.53524.gambas@...1...> References: <537710.43838.qm@...582...> <200809260120.53524.gambas@...1...> Message-ID: <200809260157.32593.gambas@...1...> On vendredi 26 septembre 2008, Benoit Minisini wrote: > On lundi 08 septembre 2008, David Villalobos Cambronero wrote: > > Hi Benoit: > > I got a signal 11 with my project. Attached the BackTrace and the > > project and a schema. > > > > Steps to reproduce the error: > > 1.Go to FTest.Class and provide a root password to connect > > 2.Then you will see the main form, click the Catalogs label, if all was > > fine you will see a list of all your databases. 3.Select one database > > that has Views, Triggers, Procedures (If you restore the schema for > > sakila, you will have all you nedd). 4.Then select the name of a View and > > try to delete it, by using the toolbutton or the ?Del? key, the item will > > be deleted but at the end of the refresh I got a signal 11. > > > > Hope I was clear enough. > > > > By the way, I use Mandriva 2008.1 64bits and QT. > > > > Best regards > > > > David > > Yes, that crashes. I will look at it... Beware that all recent updates and > bug fixes of 2.x were not ported in 3.0! > > Regards, Try the revision #1602, it should fix the problem. It may introduce others, I must deeper. :-) -- Benoit Minisini From chintanraoh at ...176... Fri Sep 26 09:35:02 2008 From: chintanraoh at ...176... (chintan rao) Date: Fri, 26 Sep 2008 00:35:02 -0700 Subject: [Gambas-devel] gb.option What it is used for? In-Reply-To: <632580.38880.qm@...555...> References: <632580.38880.qm@...555...> Message-ID: Hi, On Thu, Sep 25, 2008 at 5:20 AM, David Villalobos Cambronero wrote: > Hi all, Does anybody know what gb.option is used for? How can I use it? Maybe an small example? Its just a module to parse the command line arguments. I developed this long ago. Nearly about 1.5 years back. After that I did not seem to have time for this. Its seems to be buggy :(. Will send you an example soon. :). > > Regards > > > -- > David > > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > From david_villalobos_c at ...7... Sat Sep 27 16:10:34 2008 From: david_villalobos_c at ...7... (David Villalobos Cambronero) Date: Sat, 27 Sep 2008 07:10:34 -0700 (PDT) Subject: [Gambas-devel] Error compiling Gambas Message-ID: <14060.96478.qm@...587...> I got this error when compiling Gambas 3 v1610 on Mandriva 64Bits Registering Gambas server page mimetype xdg-icon-resource: file '/usr/local/share/gambas3/icons/application-x-gambasserverpage.png' does not exist xdg-mime: file './mime/application-x-gambasserverpage.xml' does not exist make[2]: *** [install-exec-local] Error 2 make[2]: se sale del directorio `/home/david/Gambas/trunk/app' make[1]: *** [install-am] Error 2 make[1]: se sale del directorio `/home/david/Gambas/trunk/app' make: *** [install-recursive] Error 1 Any Idea? Regrads -- David From gambas at ...1... Sat Sep 27 16:15:33 2008 From: gambas at ...1... (Benoit Minisini) Date: Sat, 27 Sep 2008 16:15:33 +0200 Subject: [Gambas-devel] Error compiling Gambas In-Reply-To: <14060.96478.qm@...587...> References: <14060.96478.qm@...587...> Message-ID: <200809271615.34023.gambas@...1...> On samedi 27 septembre 2008, David Villalobos Cambronero wrote: > I got this error when compiling Gambas 3 v1610 on Mandriva 64Bits > > Registering Gambas server page mimetype > xdg-icon-resource: file > '/usr/local/share/gambas3/icons/application-x-gambasserverpage.png' does > not exist xdg-mime: file './mime/application-x-gambasserverpage.xml' does > not exist make[2]: *** [install-exec-local] Error 2 > make[2]: se sale del directorio `/home/david/Gambas/trunk/app' > make[1]: *** [install-am] Error 2 > make[1]: se sale del directorio `/home/david/Gambas/trunk/app' > make: *** [install-recursive] Error 1 > > Any Idea? > > Regrads > > > -- > David > I just forgot to add the files to the repository. -- Benoit Minisini From gambas at ...1... Sat Sep 27 16:17:58 2008 From: gambas at ...1... (Benoit Minisini) Date: Sat, 27 Sep 2008 16:17:58 +0200 Subject: [Gambas-devel] Error compiling Gambas In-Reply-To: <14060.96478.qm@...587...> References: <14060.96478.qm@...587...> Message-ID: <200809271617.58522.gambas@...1...> On samedi 27 septembre 2008, David Villalobos Cambronero wrote: > I got this error when compiling Gambas 3 v1610 on Mandriva 64Bits > > Registering Gambas server page mimetype > xdg-icon-resource: file > '/usr/local/share/gambas3/icons/application-x-gambasserverpage.png' does > not exist xdg-mime: file './mime/application-x-gambasserverpage.xml' does > not exist make[2]: *** [install-exec-local] Error 2 > make[2]: se sale del directorio `/home/david/Gambas/trunk/app' > make[1]: *** [install-am] Error 2 > make[1]: se sale del directorio `/home/david/Gambas/trunk/app' > make: *** [install-recursive] Error 1 > > Any Idea? > > Regrads > > > -- > David > It should be fixed in revision #1611. Regards, -- Benoit Minisini From david_villalobos_c at ...7... Sat Sep 27 17:30:32 2008 From: david_villalobos_c at ...7... (David Villalobos Cambronero) Date: Sat, 27 Sep 2008 08:30:32 -0700 (PDT) Subject: [Gambas-devel] Error compiling Gambas Message-ID: <761861.38654.qm@...591...> Ok, it compiles fine... Regards -- David ----- Original Message ---- From: Benoit Minisini To: mailing list for gambas developers Sent: Saturday, September 27, 2008 8:17:58 AM Subject: Re: [Gambas-devel] Error compiling Gambas On samedi 27 septembre 2008, David Villalobos Cambronero wrote: > I got this error when compiling Gambas 3 v1610 on Mandriva 64Bits > > Registering Gambas server page mimetype > xdg-icon-resource: file > '/usr/local/share/gambas3/icons/application-x-gambasserverpage.png' does > not exist xdg-mime: file './mime/application-x-gambasserverpage.xml' does > not exist make[2]: *** [install-exec-local] Error 2 > make[2]: se sale del directorio `/home/david/Gambas/trunk/app' > make[1]: *** [install-am] Error 2 > make[1]: se sale del directorio `/home/david/Gambas/trunk/app' > make: *** [install-recursive] Error 1 > > Any Idea? > > Regrads > > > -- > David > It should be fixed in revision #1611. Regards, -- Benoit Minisini ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gambas-devel mailing list Gambas-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-devel From david_villalobos_c at ...7... Mon Sep 29 14:24:23 2008 From: david_villalobos_c at ...7... (David Villalobos Cambronero) Date: Mon, 29 Sep 2008 05:24:23 -0700 (PDT) Subject: [Gambas-devel] Signal 11 on Gambas 3 r1542 Message-ID: <353476.30921.qm@...582...> Hi, it works just fine... Regards -- David ----- Original Message ---- From: Benoit Minisini To: mailing list for gambas developers Sent: Thursday, September 25, 2008 5:57:32 PM Subject: Re: [Gambas-devel] Signal 11 on Gambas 3 r1542 On vendredi 26 septembre 2008, Benoit Minisini wrote: > On lundi 08 septembre 2008, David Villalobos Cambronero wrote: > > Hi Benoit: > > I got a signal 11 with my project. Attached the BackTrace and the > > project and a schema. > > > > Steps to reproduce the error: > > 1.Go to FTest.Class and provide a root password to connect > > 2.Then you will see the main form, click the Catalogs label, if all was > > fine you will see a list of all your databases. 3.Select one database > > that has Views, Triggers, Procedures (If you restore the schema for > > sakila, you will have all you nedd). 4.Then select the name of a View and > > try to delete it, by using the toolbutton or the ?Del? key, the item will > > be deleted but at the end of the refresh I got a signal 11. > > > > Hope I was clear enough. > > > > By the way, I use Mandriva 2008.1 64bits and QT. > > > > Best regards > > > > David > > Yes, that crashes. I will look at it... Beware that all recent updates and > bug fixes of 2.x were not ported in 3.0! > > Regards, Try the revision #1602, it should fix the problem. It may introduce others, I must deeper. :-) -- Benoit Minisini ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gambas-devel mailing list Gambas-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-devel From rospolosco at ...29... Thu Sep 25 16:49:28 2008 From: rospolosco at ...29... (Stefano Palmeri) Date: Thu, 25 Sep 2008 16:49:28 +0200 Subject: [Gambas-devel] gb.option What it is used for? In-Reply-To: <632580.38880.qm@...555...> References: <632580.38880.qm@...555...> Message-ID: <200809251649.28505.rospolosco@...29...> Il gioved? 25 settembre 2008 14:20:01 David Villalobos Cambronero ha scritto: > Hi all, Does anybody know what gb.option is used for? How can I use it? > Maybe an small example? > > Regards > > > -- > David > Hi this is the message that the author of gb.option sent me some time ago. You can find it even in developers-list archives. Benoit, don't you think it's gonna be useful to add it in Gambas documentation, do you? --------8X-------------------------------- Hi, Documentation for this is not currently available. Currently I don't have time as I am involved in some other project. But I will be writing one as soon as I am free. i hope I will be free soon. Tell me if you find this interface annoying. I will change it when I have time to do so I think I must make the thing simpler. You declare the opt object as DIM opt AS NEW GetOptions("la:b:c:") At this point you may really feel that GetOptions must be static class ( I don't remember why made no static. This component right now is in beta stage :) . ) if colon (ie ":") is specified after a character c, it means that that option must be be followed by an argument opt[c] will be the argument. if ":" is not specified it will be a opt[c] will 0 or 1 also opt["?"] is 1 if there is an error in specifying the command line arguments PUBLIC SUB Main() DIM opt AS NEW GetOptions("la:b:c:") IF opt["?"] = 1 PRINT "error parsing the arguments" ENDIF IF opt["l"] = 1 PRINT "found option l" ENDIF IF opt["a"] <> 1 AND opt["a"] <> 0 PRINT opt["a"] ENDIF IF opt["b"] <> 1 AND opt["a"] <> 0 PRINT opt["b"] ENDIF IF opt["c"] <> 1 AND opt["c"] <> 0 PRINT opt["c"] ENDIF END Also there is a way in which you can list the opts one by one. ' Gambas module file PUBLIC SUB Main() DIM opt AS NEW GetOptions("h:elo") DIM c AS String PRINT "command line args:\"" & opt.CommandLineArgs.Join(" ") & "\"" WHILE TRUE c = opt.NextValidOption() PRINT opt.OptionArgument() IF c = "" BREAK ENDIF SELECT CASE c CASE "h" PRINT "option h" & " the corresponding argument is\"" & opt.OptionArgument() & "\"" CASE "e" PRINT "option e" CASE "l" PRINT "option l" CASE "o" PRINT "option o" CASE "?" PRINT "error parsing the arguments" PRINT "invalid option " & opt.GetErrorOption() BREAK CASE ":" PRINT "error parsing the arguments" PRINT "no arguments to option " & opt.GetErrorOption() END SELECT WEND IF opt.RestOfArgs().Count <> 0 PRINT "Rest of the arguments are \"" & opt.RestOfArgs().Join(" ")& "\"" ENDIF END > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel From rospolosco at ...29... Thu Sep 25 22:36:31 2008 From: rospolosco at ...29... (Stefano Palmeri) Date: Thu, 25 Sep 2008 22:36:31 +0200 Subject: [Gambas-devel] gb.option What it is used for? In-Reply-To: <632580.38880.qm@...555...> References: <632580.38880.qm@...555...> Message-ID: <200809252236.32003.rospolosco@...29...> Il gioved? 25 settembre 2008 14:20:01 David Villalobos Cambronero ha scritto: > Hi all, Does anybody know what gb.option is used for? How can I use it? > Maybe an small example? > > Regards > > > -- > David > Hi. This is the message that the author of gb.option sent me some time ago. You can find it in developers-list archives too. Benoit, don't you think it's gonna be useful to add it in Gambas documentation, do you? --------8X-------------------------------- Hi, Documentation for this is not currently available. Currently I don't have time as I am involved in some other project. But I will be writing one as soon as I am free. i hope I will be free soon. Tell me if you find this interface annoying. I will change it when I have time to do so I think I must make the thing simpler. You declare the opt object as DIM opt AS NEW GetOptions("la:b:c:") At this point you may really feel that GetOptions must be static class ( I don't remember why made no static. This component right now is in beta stage :) . ) if colon (ie ":") is specified after a character c, it means that that option must be be followed by an argument opt[c] will be the argument. if ":" is not specified it will be a opt[c] will 0 or 1 also opt["?"] is 1 if there is an error in specifying the command line arguments PUBLIC SUB Main() DIM opt AS NEW GetOptions("la:b:c:") IF opt["?"] = 1 PRINT "error parsing the arguments" ENDIF IF opt["l"] = 1 PRINT "found option l" ENDIF IF opt["a"] <> 1 AND opt["a"] <> 0 PRINT opt["a"] ENDIF IF opt["b"] <> 1 AND opt["a"] <> 0 PRINT opt["b"] ENDIF IF opt["c"] <> 1 AND opt["c"] <> 0 PRINT opt["c"] ENDIF END Also there is a way in which you can list the opts one by one. ' Gambas module file PUBLIC SUB Main() DIM opt AS NEW GetOptions("h:elo") DIM c AS String PRINT "command line args:\"" & opt.CommandLineArgs.Join(" ") & "\"" WHILE TRUE c = opt.NextValidOption() PRINT opt.OptionArgument() IF c = "" BREAK ENDIF SELECT CASE c CASE "h" PRINT "option h" & " the corresponding argument is\"" & opt.OptionArgument() & "\"" CASE "e" PRINT "option e" CASE "l" PRINT "option l" CASE "o" PRINT "option o" CASE "?" PRINT "error parsing the arguments" PRINT "invalid option " & opt.GetErrorOption() BREAK CASE ":" PRINT "error parsing the arguments" PRINT "no arguments to option " & opt.GetErrorOption() END SELECT WEND IF opt.RestOfArgs().Count <> 0 PRINT "Rest of the arguments are \"" & opt.RestOfArgs().Join(" ")& "\"" ENDIF END > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel From chintanraoh at ...176... Fri Sep 26 09:49:16 2008 From: chintanraoh at ...176... (chintan rao) Date: Fri, 26 Sep 2008 00:49:16 -0700 Subject: [Gambas-devel] gb.option What it is used for? In-Reply-To: References: <632580.38880.qm@...555...> Message-ID: Hi, Any suggestions for improvement of interface is always welcome. DIM opt AS NEW GetOptions("la:b:c:") At this point you may really feel that GetOptions must be static class ( I don't remember why I made it non static. This component right now is in beta stage :) . ) if colon (ie ":") is specified after a character c, it means that the option must be be followed by an argument and opt[c] will be the argument specified after "-c" switch. if ":" is not specified opt[c] will be 0 or 1 depending on existence of "-c" switch in the command line argument. Also opt["?"] is 1 if there is an error in specifying the command line arguments PUBLIC SUB Main() DIM opt AS NEW GetOptions("la:b:c:") IF opt["?"] = 1 PRINT "error parsing the arguments" ENDIF IF opt["l"] = 1 PRINT "found option l" ENDIF IF opt["a"] <> 1 AND opt["a"] <> 0 PRINT opt["a"] ENDIF IF opt["b"] <> 1 AND opt["a"] <> 0 PRINT opt["b"] ENDIF IF opt["c"] <> 1 AND opt["c"] <> 0 PRINT opt["c"] ENDIF END Also there is a way in which you can list the opts one by one. ' Gambas module file PUBLIC SUB Main() DIM opt AS NEW GetOptions("h:elo") DIM c AS String PRINT "command line args:\"" & opt.CommandLineArgs.Join(" ") & "\"" WHILE TRUE c = opt.NextValidOption() PRINT opt.OptionArgument() IF c = "" BREAK ENDIF SELECT CASE c CASE "h" PRINT "option h" & " the corresponding argument is\"" & opt.OptionArgument() & "\"" CASE "e" PRINT "option e" CASE "l" PRINT "option l" CASE "o" PRINT "option o" CASE "?" PRINT "error parsing the arguments" PRINT "invalid option " & opt.GetErrorOption() BREAK CASE ":" PRINT "error parsing the arguments" PRINT "no arguments to option " & opt.GetErrorOption() END SELECT WEND IF opt.RestOfArgs().Count <> 0 PRINT "Rest of the arguments are \"" & opt.RestOfArgs().Join(" ")& "\"" ENDIF END Regards, Chintan Rao H From ron at ...572... Mon Sep 29 14:34:37 2008 From: ron at ...572... (Ron) Date: Mon, 29 Sep 2008 14:34:37 +0200 Subject: [Gambas-devel] Some wierd gdb behaviour (I think) In-Reply-To: <48D7F6CA.9060907@...572...> References: <48D7F6CA.9060907@...572...> Message-ID: <48E0CB5D.4090502@...572...> Ron schreef: > > Hi, > > Been trying to debug my program, because after adding some > functionality every now and then it crashes (gambas), before that it > was rock stable. > But upgraded from 2.8.1 to 2.8.2 in the meantime also... > > I compile and start my program like the website says, this is what I get: > > ----------------- > ron at ...218...:~/domotiga/DomotiGa$ gdb gbx2 > GNU gdb 6.4.90-debian > Copyright (C) 2006 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 "i486-linux-gnu"...Using host libthread_db > library "/lib/tls/i686/cmov/libthread_db.so.1". > > (gdb) set args -p > (gdb) run > Starting program: /usr/local/bin/gbx2 -p > Failed to read a valid object file image from memory. > [Thread debugging using libthread_db enabled] > [New Thread -1209992992 (LWP 8372)] > [New Thread -1231660112 (LWP 8376)] > [New Thread -1242149968 (LWP 8377)] > [Thread -1242149968 (zombie) exited] > [Thread -1231660112 (LWP 8376) exited] > [New Thread -1231660112 (LWP 8378)] > [New Thread -1242149968 (LWP 8379)] > [New Thread -1250542672 (LWP 8380)] > [Thread -1250542672 (zombie) exited] > [New Thread -1250542672 (LWP 8381)] > open /dev/sequencer: No such file or directory > Qt: gdb: -nograb added to command-line options. > Use the -dograb option to enforce grabbing. > [New Thread -1266635856 (LWP 8385)] > [Thread -1266635856 (LWP 8385) exited] > [New Thread -1266635856 (LWP 8386)] > [Thread -1266635856 (LWP 8386) exited] > [New Thread -1266635856 (LWP 8390)] > [Thread -1266635856 (LWP 8390) exited] > [New Thread -1266635856 (LWP 8391)] > [Thread -1266635856 (LWP 8391) exited] > Segmentation fault (core dumped) > ron at ...218...:~/domotiga/DomotiGa$ > -------- > > the first thing that worries me, are the 2 zombie threads in the > beginning, is this normal? > > Then when I click a certain menu, which lanches a part of my program > which calls rrdtool to generate graphs (SHELL sRRDCmd2 WAIT) were > sRRDCmd2 is a large command string which calls rrdtool graph... > > the gdb session gives Segmentation fault (core dumped) > ron at ...218...:~/domotiga/DomotiGa$ > and the gdb session is closed, my program continues to run... > > Is this normal? Because I started another program in the shell? My > gambas program still runs and functions ok after this... > What is wrong? This way I cannot debug my program without removing > some functionality first. > Did I overlook something? > > Gambas 2.8.2 on Debian 4.0etch3 > > Wanted to run it as root, but it's a headless server, and cannot get X > to run remote for root... will have to look tomorrow... > Do you need to run it as root to get the debugging info (see the > Failed to read a valid object file image from memory. error) > > Regards, > Ron_2nd > > No one with any help/pointers? Gambas 2 (even latest svn) crashes every few minutes here with signal 11, even older versions of my project. Debian etch's gdb is f at ...610...&* up, so it doesn't give me a backtrace... it even drops me to the shell prompt with my program still running. My project development has halted for a week now, still trying to pinpoint with project part is giving me troubles. I'm even considering abandoning gambas alltogether, it's simply not stable/usable anymore. Would be a pitty... Regards, Ron From ron at ...572... Tue Sep 30 14:12:27 2008 From: ron at ...572... (Ron) Date: Tue, 30 Sep 2008 14:12:27 +0200 Subject: [Gambas-devel] Some wierd gdb behaviour (I think) In-Reply-To: <48D7F6CA.9060907@...572...> References: <48D7F6CA.9060907@...572...> Message-ID: <48E217AB.3070403@...572...> Ron schreef: > Hi, > > Been trying to debug my program, because after adding some functionality > every now and then it crashes (gambas), before that it was rock stable. > But upgraded from 2.8.1 to 2.8.2 in the meantime also... > > I compile and start my program like the website says, this is what I get: > > ----------------- > ron at ...218...:~/domotiga/DomotiGa$ gdb gbx2 > GNU gdb 6.4.90-debian > Copyright (C) 2006 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 "i486-linux-gnu"...Using host libthread_db > library "/lib/tls/i686/cmov/libthread_db.so.1". > > (gdb) set args -p > (gdb) run > Starting program: /usr/local/bin/gbx2 -p > Failed to read a valid object file image from memory. > [Thread debugging using libthread_db enabled] > [New Thread -1209992992 (LWP 8372)] > [New Thread -1231660112 (LWP 8376)] > [New Thread -1242149968 (LWP 8377)] > [Thread -1242149968 (zombie) exited] > [Thread -1231660112 (LWP 8376) exited] > [New Thread -1231660112 (LWP 8378)] > [New Thread -1242149968 (LWP 8379)] > [New Thread -1250542672 (LWP 8380)] > [Thread -1250542672 (zombie) exited] > [New Thread -1250542672 (LWP 8381)] > open /dev/sequencer: No such file or directory > Qt: gdb: -nograb added to command-line options. > Use the -dograb option to enforce grabbing. > [New Thread -1266635856 (LWP 8385)] > [Thread -1266635856 (LWP 8385) exited] > [New Thread -1266635856 (LWP 8386)] > [Thread -1266635856 (LWP 8386) exited] > [New Thread -1266635856 (LWP 8390)] > [Thread -1266635856 (LWP 8390) exited] > [New Thread -1266635856 (LWP 8391)] > [Thread -1266635856 (LWP 8391) exited] > Segmentation fault (core dumped) > ron at ...218...:~/domotiga/DomotiGa$ > -------- > > the first thing that worries me, are the 2 zombie threads in the > beginning, is this normal? > > Then when I click a certain menu, which lanches a part of my program > which calls rrdtool to generate graphs (SHELL sRRDCmd2 WAIT) were > sRRDCmd2 is a large command string which calls rrdtool graph... > > the gdb session gives Segmentation fault (core dumped) > ron at ...218...:~/domotiga/DomotiGa$ > and the gdb session is closed, my program continues to run... > > Is this normal? Because I started another program in the shell? My > gambas program still runs and functions ok after this... > What is wrong? This way I cannot debug my program without removing some > functionality first. > Did I overlook something? > > Gambas 2.8.2 on Debian 4.0etch3 > > Wanted to run it as root, but it's a headless server, and cannot get X > to run remote for root... will have to look tomorrow... > Do you need to run it as root to get the debugging info (see the Failed > to read a valid object file image from memory. error) > > Regards, > Ron_2nd > > OK, so I compiled gdb 6.8 from scratch, and run my program with that, this is the first result: ron at ...218...:~/domotiga/DomotiGa.112ok$ gdb gbx2 GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"... (gdb) set args -p (gdb) run Starting program: /usr/local/bin/gbx2 -p Failed to read a valid object file image from memory. [Thread debugging using libthread_db enabled] [New Thread 0xb7dca8e0 (LWP 4648)] Qt: gdb: -nograb added to command-line options. Use the -dograb option to enforce grabbing. [New Thread 0xb654cbb0 (LWP 4660)] [Thread 0xb654cbb0 (LWP 4660) exited] [New Thread 0xb5d4bbb0 (LWP 4661)] [Thread 0xb5d4bbb0 (LWP 4661) exited] [New Thread 0xb654cbb0 (LWP 4662)] [Thread 0xb654cbb0 (LWP 4662) exited] [New Thread 0xb654cbb0 (LWP 4666)] [Thread 0xb654cbb0 (LWP 4666) exited] ... [New Thread 0xb654cbb0 (LWP 5586)] [Thread 0xb654cbb0 (LWP 5586) exited] ... Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb7dca8e0 (LWP 4648)] 0xb700e2bb in ?? () from /usr/lib/libcurl.so.3 (gdb) bt #0 0xb700e2bb in ?? () from /usr/lib/libcurl.so.3 #1 0xb6feefa0 in ?? () from /usr/lib/libcurl.so.3 #2 0x080d6970 in ?? () #3 0xb7f65ff4 in ?? () from /lib/ld-linux.so.2 #4 0x080d66d8 in ?? () #5 0x00000001 in ?? () #6 0x00000000 in ?? () (gdb) Ok, so I miss important debug information, dunno why yet, but at least gdb itself is not crashing like the 6.4 version did. But am I correct to notice the sigsegv is due to problem in/with libcurl? Any changes in gb.net.curl recently, say last 1 1/2 week? Anyone using it in their program? Will try to weed out the gb.net.curl dependant code from my program, to see if this is the only problem. Any ideas as how to get more debugging info inside my gdb would be fab. Debian 4.0 etch 3, qt, Gambas 2.99 recent svn Regards, Ron_2nd