From lordheavy at ...141... Sun Oct 2 19:55:01 2005 From: lordheavy at ...141... (Laurent Carlier) Date: Sun, 02 Oct 2005 19:55:01 +0200 Subject: [Gambas-devel] qt and opengl Message-ID: <43401EF5.5050102@...141...> This is the first steps for an opengl widget for qt http://gambas.tuxfamily.org/download (qt.opengl) Joined an example. Have fun, -- Laurent Carlier jabber : LordHeavy at ...298... -------------- next part -------------- A non-text attachment was scrubbed... Name: glbox-0.0.1.tar.gz Type: application/x-gzip Size: 1431 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: glbox.jpg Type: image/jpeg Size: 71378 bytes Desc: not available URL: From lordheavy at ...141... Sun Oct 2 20:03:49 2005 From: lordheavy at ...141... (Laurent Carlier) Date: Sun, 02 Oct 2005 20:03:49 +0200 Subject: [Gambas-devel] qt and opengl In-Reply-To: <43401EF5.5050102@...141...> References: <43401EF5.5050102@...141...> Message-ID: <43402105.8040301@...141...> Laurent Carlier a ?crit : > http://gambas.tuxfamily.org/download (qt.opengl) Oops, bad link : http://gamebas.tuxfamily.org/download file : gambas2-gb-qt-opengl-1.9.19.tar.gz -- Laurent Carlier jabber : LordHeavy at ...298... From lordheavy at ...141... Sat Oct 1 23:18:51 2005 From: lordheavy at ...141... (Laurent Carlier) Date: Sat, 01 Oct 2005 23:18:51 +0200 Subject: [Gambas-devel] OpenGL widget for Qt (gb.qt.opengl) Message-ID: <433EFD3B.5040002@...141...> First release of a opengl widget for Qt, it's not surely not perfect :) Attached here an example and a screenshot. Here the gb.qt.opengl component : http://gamebas.tuxfamily.org/download/ Regards, -- Laurent Carlier jabber : LordHeavy at ...298... -------------- next part -------------- A non-text attachment was scrubbed... Name: glbox-0.0.1.tar.gz Type: application/x-gzip Size: 1431 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: glbox.jpg Type: image/jpeg Size: 71378 bytes Desc: not available URL: From gambas at ...1... Sun Oct 2 15:30:41 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 2 Oct 2005 15:30:41 +0200 Subject: [Gambas-devel] driver for firebird In-Reply-To: <43388B5A.2040507@...318...> References: <433310A6.2000009@...318...> <200509251559.14686.gambas@...1...> <43388B5A.2040507@...318...> Message-ID: <200510021530.41554.gambas@...1...> On Tuesday 27 September 2005 01:59, Daniel wrote: > Benoit Minisini wrote: > >On Thursday 22 September 2005 22:14, Daniel wrote: > >>hi benoit > >>i've just finished with the driver for firebird, where upload the code > >>please > >> > >>daniel > > > >If the code is not too important (tar.gz size < 256K) , just post it on > > the devel mailing-list. Otherwise, find a server on the internet, put > > your source in, and send us a link on the mailing-list. > > > >Regards, > > ok > the code is on > ftp://littlesaigon.homedns.org/gb.db.firebird.tar.gz > > daniel > I can't download it just now... Can you give me your full name please? This is for the Hall Of Fame... Regards, -- Benoit Minisini mailto:gambas at ...1... From yudi.astira at ...176... Mon Oct 3 08:17:23 2005 From: yudi.astira at ...176... (Super_spy) Date: Mon, 3 Oct 2005 13:17:23 +0700 Subject: [Gambas-devel] I have made example to make a bar chart, check attachment Message-ID: I have made example to make a bar chart. Hope can be included in gambas examples, that will can help any user to make a chart. Please check attachment. -- ====================== http://hdteam.net high definition team ====================== -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: chart.tar.bz2 Type: application/x-bzip2 Size: 5923 bytes Desc: not available URL: From daniel at ...318... Mon Oct 3 20:42:42 2005 From: daniel at ...318... (Daniel) Date: Mon, 03 Oct 2005 20:42:42 +0200 Subject: [Gambas-devel] driver for firebird In-Reply-To: <200510021530.41554.gambas@...1...> References: <433310A6.2000009@...318...> <200509251559.14686.gambas@...1...> <43388B5A.2040507@...318...> <200510021530.41554.gambas@...1...> Message-ID: <43417BA2.9020400@...318...> Benoit Minisini wrote: >On Tuesday 27 September 2005 01:59, Daniel wrote: > > >>Benoit Minisini wrote: >> >> >>>On Thursday 22 September 2005 22:14, Daniel wrote: >>> >>> >>>>hi benoit >>>>i've just finished with the driver for firebird, where upload the code >>>>please >>>> >>>>daniel >>>> >>>> >>>If the code is not too important (tar.gz size < 256K) , just post it on >>>the devel mailing-list. Otherwise, find a server on the internet, put >>>your source in, and send us a link on the mailing-list. >>> >>>Regards, >>> >>> >>ok >>the code is on >>ftp://littlesaigon.homedns.org/gb.db.firebird.tar.gz >> >>daniel >> >> >> > >I can't download it just now... Can you give me your full name please? This is >for the Hall Of Fame... > >Regards, > > > yes naturally my name is Vostanikian, daniel i live in belgium (bruxelles) and I write components for the fun daniel From gambas at ...1... Wed Oct 5 21:45:05 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 5 Oct 2005 21:45:05 +0200 Subject: [Gambas-devel] Re: [Gambas-user] Developing a gambas component using gambas. In-Reply-To: <1128423719.18978.14.camel@...353...> References: <1128423719.18978.14.camel@...353...> Message-ID: <200510052145.05656.gambas@...1...> On Tuesday 04 October 2005 13:01, Dani Santos wrote: > Hi all. Hi, > > I'm trying to make a gambas component using gambas (C/C+ is too much to > me). So you should write this mail on the devel mailing-list... > > I followed J.L. Redrejo advices and donloaded the gambas-gb-form source > code to see how is it built. I have made several progress but I've got > some questions to make: > > - ?How do I asign the icon that is shown in the gambas-toolbox to my > gambas component? The icons are hard-coded in the IDE at the moment. They should be put outside, in a directory like /usr/share/gambas2/controls for example. > - ?How can I have a preview of the control I'm making in design-time? I > mean with this that I only see a slashed rectangle, but I don't see the > components it is made with. For instance, if I use the gb.form component > in a application and I put a ColorChooser component in a form, I can see > how it is perfectly with all it's controls, but not so with my > component. You can see a preview only if the IDE uses the component the control belongs to. Otherwise, you only see a dashed frame. So if your component is not gb.qt, gb.form or gb.qt.ext, you will never see it! I'm thinking about a way to specify a standard gb.qt control for drawing the real control, with a "_DrawWith" property or something like that. > > Finally, this is the script I use to add my component to the list of > components of gambas. It's only for the test phase. ?Is it correct? ?Is > there a betterway? > daniel at ...352...:~/srcGambas/gb.dycontrols$ cat instala-componente.sh > #!/bin/sh > > case $1 in > -a) > cp -vf gb.dycontrols/gb.dycontrols.* /usr/lib/gambas2 > chmod 644 /usr/lib/gambas2/gb.dycontrols.component > chmod 755 /usr/lib/gambas2/gb.dycontrols.gambas > cp -vf > gb.dycontrols/.info /usr/share/gambas2/info/gb.dycontrols.info > cp -vf > gb.dycontrols/.list /usr/share/gambas2/info/gb.dycontrols.list > break;; > -d) > rm -vf /usr/lib/gambas2/gb.dycontrols.component > rm -vf /usr/lib/gambas2/gb.dycontrols.gambas > rm -vf /usr/share/gambas2/info/gb.dycontrols.info > rm -vf /usr/share/gambas2/info/gb.dycontrols.list > break;; > esac > > NOTES: > - You must be logged as root to use the script: > - ./instala-componente.sh -a -> Installs the component. > - ./instala-componente.sh -d -> Removes the component. > You can't do that. Components written in Gambas must be inserted into the 'comp' directory inside the source tree, and you must update the ORDER file in it, to tell which order must be used when compiling these components. So when your component is finished, send it me and I will add it into the main source tree. Like other components written in C/C++. I didn't have the time to document all that yet... Sorry :-) > > Regards. Regards, -- Benoit Minisini From daniel at ...318... Fri Oct 7 01:52:37 2005 From: daniel at ...318... (Daniel) Date: Fri, 07 Oct 2005 01:52:37 +0200 Subject: [Gambas-devel] makefile !!! Message-ID: <4345B8C5.2050003@...318...> what i do to know the flags used by g++ to compile ? i think the compiler use -fno-exceptions flag when i compile some c++ code !!!! daniel ps: i can't catch exceptions in the code From gambas at ...1... Fri Oct 7 13:57:42 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 7 Oct 2005 13:57:42 +0200 Subject: [Gambas-devel] makefile !!! In-Reply-To: <4345B8C5.2050003@...318...> References: <4345B8C5.2050003@...318...> Message-ID: <200510071357.42322.gambas@...1...> On Friday 07 October 2005 01:52, Daniel wrote: > what i do to know the flags used by g++ to compile ? > i think the compiler use -fno-exceptions flag when i compile some c++ > code !!!! > > daniel > > ps: i can't catch exceptions in the code > Can you avoid using exceptions? If *really* you can't, you have to add that to your Makefile.am file: gb__la_CXXFLAGS = $(AM_CXXFLAGS) -fexceptions Regards, -- Benoit Minisini From daniel at ...318... Fri Oct 7 16:35:39 2005 From: daniel at ...318... (Daniel) Date: Fri, 07 Oct 2005 16:35:39 +0200 Subject: [Gambas-devel] makefile !!! In-Reply-To: <200510071357.42322.gambas@...1...> References: <4345B8C5.2050003@...318...> <200510071357.42322.gambas@...1...> Message-ID: <434687BB.1010608@...318...> Benoit Minisini wrote: >On Friday 07 October 2005 01:52, Daniel wrote: > > >>what i do to know the flags used by g++ to compile ? >>i think the compiler use -fno-exceptions flag when i compile some c++ >>code !!!! >> >>daniel >> >>ps: i can't catch exceptions in the code >> >> >> > >Can you avoid using exceptions? > >If *really* you can't, you have to add that to your Makefile.am file: > >gb__la_CXXFLAGS = $(AM_CXXFLAGS) -fexceptions > >Regards, > > > sorry but the ibpp library (firebird) use exceptions, that made 3 weeks i break the head "why I cannot catch exception any more" thank you daniel ps:the driver for firebird is in attachement -------------- next part -------------- A non-text attachment was scrubbed... Name: gb.db.firebird.tar.gz Type: application/x-gzip Size: 237922 bytes Desc: not available URL: From oreip at ...1... Fri Oct 7 19:33:33 2005 From: oreip at ...1... (PV) Date: Fri, 07 Oct 2005 19:33:33 +0200 Subject: [Gambas-devel] makefile !!! In-Reply-To: <434687BB.1010608@...318...> References: <4345B8C5.2050003@...318...> <200510071357.42322.gambas@...1...> <434687BB.1010608@...318...> Message-ID: <4346B16D.7070501@...1...> On 07/10/2005 16:35, Daniel wrote: > sorry > but the ibpp library (firebird) use exceptions, that made 3 weeks i > break the head "why I cannot catch exception any more" > thank you Aha! Now we're finally talking! :) I banged my head for some days to try to find out what was wrong, the reason why I kept receiving the dreaded signal #6 from Gambas! I finally found that it was a connection problem on the port used by firebird, but it took a while because I didn't get any useful feedback from the component. However, please note that I just recreated the same situation (hence the same connection problem) but the firebird component returned with a user/password failure, so it wouldn't have been of great help even if the component and exceptions worked from the very beginning. If I can give a suggestion, try to make the component issue more significant error messages, in order to better identify possible problems. Thanks anyway for your good and useful work! Ciao, Piero From daniel at ...318... Fri Oct 7 23:14:13 2005 From: daniel at ...318... (Daniel) Date: Fri, 07 Oct 2005 23:14:13 +0200 Subject: [Gambas-devel] makefile !!! In-Reply-To: <4346B16D.7070501@...1...> References: <4345B8C5.2050003@...318...> <200510071357.42322.gambas@...1...> <434687BB.1010608@...318...> <4346B16D.7070501@...1...> Message-ID: <4346E525.5010706@...318...> PV wrote: > On 07/10/2005 16:35, Daniel wrote: > >> sorry >> but the ibpp library (firebird) use exceptions, that made 3 weeks i >> break the head "why I cannot catch exception any more" >> thank you > > > Aha! Now we're finally talking! :) > I banged my head for some days to try to find out what was wrong, the > reason why I kept receiving the dreaded signal #6 from Gambas! > > I finally found that it was a connection problem on the port used by > firebird, but it took a while because I didn't get any useful feedback > from the component. > > However, please note that I just recreated the same situation (hence > the same connection problem) but the firebird component returned with > a user/password failure, so it wouldn't have been of great help even > if the component and exceptions worked from the very beginning. > > If I can give a suggestion, try to make the component issue more > significant error messages, in order to better identify possible > problems. > > Thanks anyway for your good and useful work! > > Ciao, > Piero > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > > ok, I note your suggestion can you explain the situation which causes this error? or to give detailles please daniel From daniel at ...318... Sat Oct 8 00:36:03 2005 From: daniel at ...318... (Daniel) Date: Sat, 08 Oct 2005 00:36:03 +0200 Subject: [Gambas-devel] makefile !!! In-Reply-To: <4346B16D.7070501@...1...> References: <4345B8C5.2050003@...318...> <200510071357.42322.gambas@...1...> <434687BB.1010608@...318...> <4346B16D.7070501@...1...> Message-ID: <4346F853.5090802@...318...> PV wrote: > On 07/10/2005 16:35, Daniel wrote: > >> sorry >> but the ibpp library (firebird) use exceptions, that made 3 weeks i >> break the head "why I cannot catch exception any more" >> thank you > > > Aha! Now we're finally talking! :) > I banged my head for some days to try to find out what was wrong, the > reason why I kept receiving the dreaded signal #6 from Gambas! > > I finally found that it was a connection problem on the port used by > firebird, but it took a while because I didn't get any useful feedback > from the component. > > However, please note that I just recreated the same situation (hence > the same connection problem) but the firebird component returned with > a user/password failure, so it wouldn't have been of great help even > if the component and exceptions worked from the very beginning. > > If I can give a suggestion, try to make the component issue more > significant error messages, in order to better identify possible > problems. > > Thanks anyway for your good and useful work! > > Ciao, > Piero > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > > the new code in attachement with the modifications you want daniel -------------- next part -------------- A non-text attachment was scrubbed... Name: gb.db.firebird.tar.gz Type: application/x-gzip Size: 237912 bytes Desc: not available URL: From danielcampos at ...45... Sat Oct 8 11:01:14 2005 From: danielcampos at ...45... (danielcampos at ...45...) Date: Sat, 8 Oct 2005 11:01:14 +0200 Subject: [Gambas-devel] makefile !!! Message-ID: Thanks, Benoit: Did you already received the famous invitation to the International Conference? My boss said it was sent to you in english a weeks ago... do you plan to come here? 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 oreip at ...1... Sat Oct 8 12:44:48 2005 From: oreip at ...1... (PV) Date: Sat, 08 Oct 2005 12:44:48 +0200 Subject: [Gambas-devel] makefile !!! In-Reply-To: <4346F853.5090802@...318...> References: <4345B8C5.2050003@...318...> <200510071357.42322.gambas@...1...> <434687BB.1010608@...318...> <4346B16D.7070501@...1...> <4346F853.5090802@...318...> Message-ID: <4347A320.7070003@...1...> Hi Daniel. On 08/10/2005 00:36, Daniel wrote: > the new code in attachement with the modifications you want Hmm... the code didn't compile. In main.cpp the following lines catch (IBPP::Exception& e){ std::cout< References: <4345B8C5.2050003@...318...> <4346F853.5090802@...318...> <4347A320.7070003@...1...> Message-ID: <200510081407.30957.gambas@...1...> On Saturday 08 October 2005 12:44, PV wrote: > Hi Daniel. > > On 08/10/2005 00:36, Daniel wrote: > > the new code in attachement with the modifications you want > > Hmm... the code didn't compile. > In main.cpp the following lines > > catch (IBPP::Exception& e){ > std::cout< ... > > cause a compilation error. > I don't know whether it's a IBPP version problem (I am using 2.3.5) but I > don't see any "what" method in IBPP::Exception class in ibpp.h or in other > places. > > Anyway, I changed all occurrences of e.what() into e.ErrorMessage() (don't > know if that's correct, I'm not into ibpp programming...) and at least the > compiler stopped complaining. :) > > After installation however, I realized that signal #6 is back, so it seems > that exceptions have gone one more time, unlike the previous version which > had exceptions working. > I tried to change the -fno-exceptions flag into -fexceptions but nothing > changed. > > Could you please double check the code and makefiles? > Thanks! > > Ciao, > Piero > > You have to send Daniel a backtrace of the stack when it crashes, with gdb. How to do that is explained in the 'troubleshooting' section of the web site. Regards, -- Benoit Minisini From gambas at ...1... Sat Oct 8 14:19:54 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 8 Oct 2005 14:19:54 +0200 Subject: [Gambas-devel] Come back on the internet... Message-ID: <200510081419.54447.gambas@...1...> Just to say that I finally got back a working internet connection! I have many many mails to process, so to all the people who sent me patches, examples, source code, bugs reports, and so on: be patient! I will release a 1.9.21 as soon as possible (with gtk update, corba component, firebird driver). I need it because I use Gambas in my job, and this version will add a new feature I need - The ability to transparently handle Unix/Windows/Mac newline character sequences. I have no time to really work on Gambas, because my acting studies - I have a *lot* of work there too. This is the reason why I changed so many things during the two summer days. So, for the new IDE, everybody must be *very* patient! Anyway, I will try to post some explanations on the way it will work. Then, maybe it will be possible that other people could work on it. Regards, -- Benoit Minisini From daniel at ...318... Sat Oct 8 14:35:19 2005 From: daniel at ...318... (Daniel) Date: Sat, 08 Oct 2005 14:35:19 +0200 Subject: [Gambas-devel] makefile !!! In-Reply-To: <4347A320.7070003@...1...> References: <4345B8C5.2050003@...318...> <200510071357.42322.gambas@...1...> <434687BB.1010608@...318...> <4346B16D.7070501@...1...> <4346F853.5090802@...318...> <4347A320.7070003@...1...> Message-ID: <4347BD07.7070806@...318...> PV wrote: > Hi Daniel. > > On 08/10/2005 00:36, Daniel wrote: > >> the new code in attachement with the modifications you want > > > Hmm... the code didn't compile. > In main.cpp the following lines > > catch (IBPP::Exception& e){ > std::cout< ... > > cause a compilation error. > I don't know whether it's a IBPP version problem (I am using 2.3.5) > but I don't > see any "what" method in IBPP::Exception class in ibpp.h or in other > places. > > Anyway, I changed all occurrences of e.what() into e.ErrorMessage() > (don't know if that's correct, I'm not into ibpp programming...) and > at least the compiler stopped complaining. :) > > After installation however, I realized that signal #6 is back, so it > seems that > exceptions have gone one more time, unlike the previous version which had > exceptions working. > I tried to change the -fno-exceptions flag into -fexceptions but > nothing changed. > > Could you please double check the code and makefiles? > Thanks! > > Ciao, > Piero > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > > yes this is correct, this code is for the 2.4.4 ibpp library (README) 1)dowload the last version and install it and also the ibpp.h header 1.a) do ldconfig 2) rename the directory gb.db.firebird in gb.db.firebird.ok and untar unzip the file in attachement 3) reconfig + ./configure ... etc (the makefile.am in src is modif. to -fexecptions) 4) a small prayer daniel -------------- next part -------------- A non-text attachment was scrubbed... Name: gb.db.firebird.tar.gz Type: application/x-gzip Size: 237971 bytes Desc: not available URL: From oreip at ...1... Sun Oct 9 00:39:39 2005 From: oreip at ...1... (PV) Date: Sun, 09 Oct 2005 00:39:39 +0200 Subject: [Gambas-devel] makefile !!! In-Reply-To: <4347BD07.7070806@...318...> References: <4345B8C5.2050003@...318...> <200510071357.42322.gambas@...1...> <434687BB.1010608@...318...> <4346B16D.7070501@...1...> <4346F853.5090802@...318...> <4347A320.7070003@...1...> <4347BD07.7070806@...318...> Message-ID: <43484AAB.3020104@...1...> On 08/10/2005 14:35, Daniel wrote: > this code is for the 2.4.4 ibpp library (README) > 1)dowload the last version and install it and also the ibpp.h header > 1.a) do ldconfig > 2) rename the directory gb.db.firebird in gb.db.firebird.ok and untar > unzip the file in attachement > 3) reconfig + ./configure ... etc (the makefile.am in src is modif. to > -fexecptions) > 4) a small prayer Ok, upgraded ibpp to 2.4.4, the compilation now runs smoothly. However, exceptions still don't seem to work properly and the program stops unexpectedly by raising signal #6. Following Benoit's suggestion, here's a backtrace of the stack when the program stops: Program received signal SIGABRT, Aborted. [Switching to Thread 16384 (LWP 7383)] 0x40083ef1 in kill () from /lib/libc.so.6 (gdb) bt #0 0x40083ef1 in kill () from /lib/libc.so.6 #1 0x4025bbb1 in pthread_kill () from /lib/libpthread.so.0 #2 0x4025bf2b in raise () from /lib/libpthread.so.0 #3 0x40083b24 in raise () from /lib/libc.so.6 #4 0x400853fd in abort () from /lib/libc.so.6 #5 0x409f9954 in __cxa_call_unexpected () from /usr/lib/./libstdc++.so.5 #6 0x409f9991 in std::terminate () from /usr/lib/./libstdc++.so.5 #7 0x409f9b01 in __cxa_throw () from /usr/lib/./libstdc++.so.5 #8 0x409b2e0c in std::__throw_out_of_range () from /usr/lib/./libstdc++.so.5 #9 0x409e969f in std::string::_M_check () from /usr/lib/./libstdc++.so.5 #10 0x409e9d9c in std::basic_string, std::allocator >::basic_string () from /usr/lib/./libstdc++.so.5 #11 0x41dbe12e in db_version (str1= {static npos = 4294967295, _M_dataplus = {> = {}, _M_p = 0x40a1ecac ""}, static _S_empty_rep_storage = {0, 0, 6, 0}}) at main.cpp:920 #12 0x41dbe72a in open_database (desc=0x81afb80, charset=0x81afba0) at main.cpp:969 #13 0x4001a095 in DB_Open () from /usr/local/lib/gambas2/gb.db.so #14 0x4001a987 in CCONNECTION_open () from /usr/local/lib/gambas2/gb.db.so #15 0x0804de32 in ?? () #16 0x081afb70 in ?? () #17 0x08074fc8 in ?? () #18 0x00000000 in ?? () #19 0xbfffe898 in ?? () #20 0x0804e0c4 in ?? () #21 0x4001a939 in CCONNECTION_version () from /usr/local/lib/gambas2/gb.db.so Previous frame inner to this frame (corrupt stack?) The library can't connect to the db server because I've faked a problem on port 3050, the same problem that I actually had before discovering it :) If all parameters are set correctly (login, pw etc.) and there are no connection problems everything seems to run just fine. Ciao, Piero From daniel at ...318... Sun Oct 9 02:57:55 2005 From: daniel at ...318... (Daniel) Date: Sun, 09 Oct 2005 02:57:55 +0200 Subject: [Gambas-devel] makefile !!! In-Reply-To: <43484AAB.3020104@...1...> References: <4345B8C5.2050003@...318...> <200510071357.42322.gambas@...1...> <434687BB.1010608@...318...> <4346B16D.7070501@...1...> <4346F853.5090802@...318...> <4347A320.7070003@...1...> <4347BD07.7070806@...318...> <43484AAB.3020104@...1...> Message-ID: <43486B13.3090502@...318...> PV wrote: > On 08/10/2005 14:35, Daniel wrote: > >> this code is for the 2.4.4 ibpp library (README) >> 1)dowload the last version and install it and also the ibpp.h header >> 1.a) do ldconfig >> 2) rename the directory gb.db.firebird in gb.db.firebird.ok and untar >> unzip the file in attachement >> 3) reconfig + ./configure ... etc (the makefile.am in src is modif. >> to -fexecptions) >> 4) a small prayer > > > Ok, upgraded ibpp to 2.4.4, the compilation now runs smoothly. > However, exceptions still don't seem to work properly and the program > stops unexpectedly by raising signal #6. > > Following Benoit's suggestion, here's a backtrace of the stack when > the program stops: > > Program received signal SIGABRT, Aborted. > [Switching to Thread 16384 (LWP 7383)] > 0x40083ef1 in kill () from /lib/libc.so.6 > (gdb) bt > #0 0x40083ef1 in kill () from /lib/libc.so.6 > #1 0x4025bbb1 in pthread_kill () from /lib/libpthread.so.0 > #2 0x4025bf2b in raise () from /lib/libpthread.so.0 > #3 0x40083b24 in raise () from /lib/libc.so.6 > #4 0x400853fd in abort () from /lib/libc.so.6 > #5 0x409f9954 in __cxa_call_unexpected () from /usr/lib/./libstdc++.so.5 > #6 0x409f9991 in std::terminate () from /usr/lib/./libstdc++.so.5 > #7 0x409f9b01 in __cxa_throw () from /usr/lib/./libstdc++.so.5 > #8 0x409b2e0c in std::__throw_out_of_range () from > /usr/lib/./libstdc++.so.5 > #9 0x409e969f in std::string::_M_check () from /usr/lib/./libstdc++.so.5 > #10 0x409e9d9c in std::basic_string, > std::allocator >::basic_string () > from /usr/lib/./libstdc++.so.5 > #11 0x41dbe12e in db_version (str1= > {static npos = 4294967295, _M_dataplus = > {> = {}, _M_p = 0x40a1ecac ""}, > static _S_empty_rep_storage = {0, 0, 6, 0}}) at main.cpp:920 > #12 0x41dbe72a in open_database (desc=0x81afb80, charset=0x81afba0) at > main.cpp:969 > #13 0x4001a095 in DB_Open () from /usr/local/lib/gambas2/gb.db.so > #14 0x4001a987 in CCONNECTION_open () from > /usr/local/lib/gambas2/gb.db.so > #15 0x0804de32 in ?? () > #16 0x081afb70 in ?? () > #17 0x08074fc8 in ?? () > #18 0x00000000 in ?? () > #19 0xbfffe898 in ?? () > #20 0x0804e0c4 in ?? () > #21 0x4001a939 in CCONNECTION_version () from > /usr/local/lib/gambas2/gb.db.so > Previous frame inner to this frame (corrupt stack?) > > The library can't connect to the db server because I've faked a > problem on port 3050, the same problem that I actually had before > discovering it :) > > If all parameters are set correctly (login, pw etc.) and there are no > connection problems everything seems to run just fine. > > > Ciao, > Piero > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > > i think the line 969 (main.cpp) is the problem !!! can you remove this line by one // desc->version=db_version(con->GetVersion(desc->host, desc->user, desc->password)); can i see the result of the command in isql isql>show version; please I believe the format of the line is not the same one as for my version daniel From oreip at ...1... Sun Oct 9 11:05:41 2005 From: oreip at ...1... (PV) Date: Sun, 09 Oct 2005 11:05:41 +0200 Subject: [Gambas-devel] makefile !!! In-Reply-To: <43486B13.3090502@...318...> References: <4345B8C5.2050003@...318...> <200510071357.42322.gambas@...1...> <434687BB.1010608@...318...> <4346B16D.7070501@...1...> <4346F853.5090802@...318...> <4347A320.7070003@...1...> <4347BD07.7070806@...318...> <43484AAB.3020104@...1...> <43486B13.3090502@...318...> Message-ID: <4348DD65.2060008@...1...> On 09/10/2005 02:57, Daniel wrote: > i think the line 969 (main.cpp) is the problem !!! > can you remove this line by one // > desc->version=db_version(con->GetVersion(desc->host, desc->user, > desc->password)); removing that line helped a lot and much more meaningful messages now show up on the console. > can i see the result of the command in isql > isql>show version; > please > I believe the format of the line is not the same one as for my version This is the output of show version ISQL Version: LI-V1.5.1.4481 Firebird 1.5 Thanks, Piero From gambas at ...1... Sun Oct 9 23:14:30 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 9 Oct 2005 23:14:30 +0200 Subject: [Gambas-devel] Inability to change table data within Datamanager 1.9.20 In-Reply-To: <9928316.1127241193479.JavaMail.www@...207...> References: <9928316.1127241193479.JavaMail.www@...207...> Message-ID: <200510092314.30164.gambas@...1...> On Tuesday 20 September 2005 20:33, nigel at ...2... wrote: > Benoit, > > I've just noticed that data cannot be changed for the latest development > version of the database manager. When comparing to the stable release > 1.0.11 (which does work), I note that the function WriteData in FData.class > is slightly different. When reapplying the differences, the change of data > works; > > e.g. > > WITH tbvData > > Connection.Handle.Begin > > $rData.MoveFirst > > FOR EACH $rData =========================> Remove this line! > FOR iInd = 0 TO $rData.Count - 1 =================>Add This line > > IF $cDelete.Exist(iInd) THEN > $rData.Delete > ELSE IF $cData.Exist(iInd) THEN > FOR EACH vVal IN $cData[iInd] > sField = $cData[iInd].Key > IF IsObject(Vval) THEN > $rData[sField] = NULL > ELSE > $rData[sField] = vVal > ENDIF > NEXT > $rData.Update > ENDIF > > $rData.MoveNext ===========================> Add this line > > NEXT > > regards > > Nigel > Thanks. I fix that... -- Benoit Minisini From daniel at ...318... Mon Oct 10 00:08:41 2005 From: daniel at ...318... (Daniel) Date: Mon, 10 Oct 2005 00:08:41 +0200 Subject: [Gambas-devel] makefile !!! In-Reply-To: <4348DD65.2060008@...1...> References: <4345B8C5.2050003@...318...> <200510071357.42322.gambas@...1...> <434687BB.1010608@...318...> <4346B16D.7070501@...1...> <4346F853.5090802@...318...> <4347A320.7070003@...1...> <4347BD07.7070806@...318...> <43484AAB.3020104@...1...> <43486B13.3090502@...318...> <4348DD65.2060008@...1...> Message-ID: <434994E9.2070109@...318...> PV wrote: > On 09/10/2005 02:57, Daniel wrote: > >> i think the line 969 (main.cpp) is the problem !!! >> can you remove this line by one // >> desc->version=db_version(con->GetVersion(desc->host, desc->user, >> desc->password)); > > > removing that line helped a lot and much more meaningful messages now > show up > on the console. > >> can i see the result of the command in isql >> isql>show version; >> please >> I believe the format of the line is not the same one as for my version > > > This is the output of show version > ISQL Version: LI-V1.5.1.4481 Firebird 1.5 > > > Thanks, > Piero > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > > ok, connecting to a port != 3050, use the .Port option in Connection object look like this Con1.Host = "localhost" or "MyServer" ... etc Con1.Login = "MyName" Con1.Password = "MyPassword" Con1.Name = "...MyDB.fdb" Con1.Type = "firebird" Con1.Port = "Number of de Port" Con1.Open() use the file in attachement please to make test thanks daniel From daniel at ...318... Mon Oct 10 00:11:22 2005 From: daniel at ...318... (Daniel) Date: Mon, 10 Oct 2005 00:11:22 +0200 Subject: [Gambas-devel] makefile !!! In-Reply-To: <4348DD65.2060008@...1...> References: <4345B8C5.2050003@...318...> <200510071357.42322.gambas@...1...> <434687BB.1010608@...318...> <4346B16D.7070501@...1...> <4346F853.5090802@...318...> <4347A320.7070003@...1...> <4347BD07.7070806@...318...> <43484AAB.3020104@...1...> <43486B13.3090502@...318...> <4348DD65.2060008@...1...> Message-ID: <4349958A.8060802@...318...> PV wrote: > On 09/10/2005 02:57, Daniel wrote: > >> i think the line 969 (main.cpp) is the problem !!! >> can you remove this line by one // >> desc->version=db_version(con->GetVersion(desc->host, desc->user, >> desc->password)); > > > removing that line helped a lot and much more meaningful messages now > show up > on the console. > >> can i see the result of the command in isql >> isql>show version; >> please >> I believe the format of the line is not the same one as for my version > > > This is the output of show version > ISQL Version: LI-V1.5.1.4481 Firebird 1.5 > > > Thanks, > Piero > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > > ok, connecting to a port != 3050, use the .Port option in Connection object look like this Con1.Host = "localhost" or "MyServer" ... etc Con1.Login = "MyName" Con1.Password = "MyPassword" Con1.Name = "...MyDB.fdb" Con1.Type = "firebird" Con1.Port = "Number of de Port" Con1.Open() use the file in attachement please to make test thanks daniel Oops forget Attachement :) -------------- next part -------------- A non-text attachment was scrubbed... Name: gb.db.firebird.tar.gz Type: application/x-gzip Size: 237947 bytes Desc: not available URL: From gambas at ...1... Mon Oct 10 00:23:10 2005 From: gambas at ...1... (Benoit Minisini) Date: Mon, 10 Oct 2005 00:23:10 +0200 Subject: [Gambas-devel] makefile !!! In-Reply-To: <4349958A.8060802@...318...> References: <4345B8C5.2050003@...318...> <4348DD65.2060008@...1...> <4349958A.8060802@...318...> Message-ID: <200510100023.10559.gambas@...1...> On Monday 10 October 2005 00:11, Daniel wrote: > PV wrote: > > On 09/10/2005 02:57, Daniel wrote: > >> i think the line 969 (main.cpp) is the problem !!! > >> can you remove this line by one // > >> desc->version=db_version(con->GetVersion(desc->host, desc->user, > >> desc->password)); > > > > removing that line helped a lot and much more meaningful messages now > > show up > > on the console. > > > >> can i see the result of the command in isql > >> isql>show version; > >> please > >> I believe the format of the line is not the same one as for my version > > > > This is the output of show version > > ISQL Version: LI-V1.5.1.4481 Firebird 1.5 > > > > > > Thanks, > > Piero > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Power Architecture Resource Center: Free content, downloads, discussions, > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > _______________________________________________ > > Gambas-devel mailing list > > Gambas-devel at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-devel > > ok, connecting to a port != 3050, use the .Port option in Connection > object look like this > Con1.Host = "localhost" or "MyServer" ... etc > Con1.Login = "MyName" > Con1.Password = "MyPassword" > Con1.Name = "...MyDB.fdb" > Con1.Type = "firebird" > Con1.Port = "Number of de Port" > Con1.Open() > use the file in attachement please to make test > thanks > > daniel > > Oops forget Attachement :) Can you add the date in the package name, each time you send a source package, please? Very useful when I have to pick the last one :-) Do you know if there are binary packages of the ibpp library from the mandriva? Without them, I will have to compile it from sources, and it will prevent gambas2 for being integrated inside the mandriva distribution... Regards, -- Benoit Minisini From lordheavy at ...141... Mon Oct 10 00:43:37 2005 From: lordheavy at ...141... (Laurent Carlier) Date: Mon, 10 Oct 2005 00:43:37 +0200 Subject: [Gambas-devel] makefile !!! In-Reply-To: <200510100023.10559.gambas@...1...> References: <4345B8C5.2050003@...318...> <4348DD65.2060008@...1...> <4349958A.8060802@...318...> <200510100023.10559.gambas@...1...> Message-ID: <43499D19.60701@...141...> Benoit Minisini a ?crit : > > Do you know if there are binary packages of the ibpp library from the > mandriva? Without them, I will have to compile it from sources, and it will > prevent gambas2 for being integrated inside the mandriva distribution... > > Regards, > Here ? http://carroll.cac.psu.edu/pub/linux/distributions/mandrivalinux/official/current/i586/media/contrib/ firebird-1.5.2.4731-0.2mdk.i586.rpm firebird-client-embedded-1.5.2.4731-0.2mdk.i586.rpm firebird-devel-1.5.2.4731-0.2mdk.i586.rpm ... Regards, -- Laurent Carlier jabber : LordHeavy at ...298... From gambas at ...1... Mon Oct 10 00:59:40 2005 From: gambas at ...1... (Benoit Minisini) Date: Mon, 10 Oct 2005 00:59:40 +0200 Subject: [Gambas-devel] makefile !!! In-Reply-To: <43499D19.60701@...141...> References: <4345B8C5.2050003@...318...> <200510100023.10559.gambas@...1...> <43499D19.60701@...141...> Message-ID: <200510100059.40244.gambas@...1...> On Monday 10 October 2005 00:43, Laurent Carlier wrote: > Benoit Minisini a ?crit : > > Do you know if there are binary packages of the ibpp library from the > > mandriva? Without them, I will have to compile it from sources, and it > > will prevent gambas2 for being integrated inside the mandriva > > distribution... > > > > Regards, > > Here ? > http://carroll.cac.psu.edu/pub/linux/distributions/mandrivalinux/official/c >urrent/i586/media/contrib/ > > firebird-1.5.2.4731-0.2mdk.i586.rpm > firebird-client-embedded-1.5.2.4731-0.2mdk.i586.rpm > firebird-devel-1.5.2.4731-0.2mdk.i586.rpm > ... > > Regards, No, I want the ibpp library! -- Benoit Minisini From daniel at ...318... Mon Oct 10 01:00:42 2005 From: daniel at ...318... (Daniel) Date: Mon, 10 Oct 2005 01:00:42 +0200 Subject: [Gambas-devel] makefile !!! In-Reply-To: <200510100023.10559.gambas@...1...> References: <4345B8C5.2050003@...318...> <4348DD65.2060008@...1...> <4349958A.8060802@...318...> <200510100023.10559.gambas@...1...> Message-ID: <4349A11A.30508@...318...> Benoit Minisini wrote: >On Monday 10 October 2005 00:11, Daniel wrote: > > >>PV wrote: >> >> >>>On 09/10/2005 02:57, Daniel wrote: >>> >>> >>>>i think the line 969 (main.cpp) is the problem !!! >>>>can you remove this line by one // >>>>desc->version=db_version(con->GetVersion(desc->host, desc->user, >>>>desc->password)); >>>> >>>> >>>removing that line helped a lot and much more meaningful messages now >>>show up >>>on the console. >>> >>> >>> >>>>can i see the result of the command in isql >>>>isql>show version; >>>>please >>>>I believe the format of the line is not the same one as for my version >>>> >>>> >>>This is the output of show version >>>ISQL Version: LI-V1.5.1.4481 Firebird 1.5 >>> >>> >>>Thanks, >>>Piero >>> >>> >>> >>>------------------------------------------------------- >>>This SF.Net email is sponsored by: >>>Power Architecture Resource Center: Free content, downloads, discussions, >>>and more. http://solutions.newsforge.com/ibmarch.tmpl >>>_______________________________________________ >>>Gambas-devel mailing list >>>Gambas-devel at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/gambas-devel >>> >>> >>ok, connecting to a port != 3050, use the .Port option in Connection >>object look like this >> Con1.Host = "localhost" or "MyServer" ... etc >> Con1.Login = "MyName" >> Con1.Password = "MyPassword" >> Con1.Name = "...MyDB.fdb" >> Con1.Type = "firebird" >> Con1.Port = "Number of de Port" >> Con1.Open() >>use the file in attachement please to make test >>thanks >> >>daniel >> >>Oops forget Attachement :) >> >> > >Can you add the date in the package name, each time you send a source package, > > good idee >please? Very useful when I have to pick the last one :-) > >Do you know if there are binary packages of the ibpp library from the > > sorry, no any time in sources "easy to complie and setup" >mandriva? Without them, I will have to compile it from sources, and it will >prevent gambas2 for being integrated inside the mandriva distribution... > >Regards, > > > daniel From lordheavy at ...141... Mon Oct 10 01:09:41 2005 From: lordheavy at ...141... (Laurent Carlier) Date: Mon, 10 Oct 2005 01:09:41 +0200 Subject: [Gambas-devel] makefile !!! In-Reply-To: <200510100059.40244.gambas@...1...> References: <4345B8C5.2050003@...318...> <200510100023.10559.gambas@...1...> <43499D19.60701@...141...> <200510100059.40244.gambas@...1...> Message-ID: <4349A335.9070204@...141...> Benoit Minisini a ?crit : > > > No, I want the ibpp library! > Oups, sorry ! Here a src rpm, not for mandriva but should not be too hard to adapt the spec file... ftp://ftp.pld-linux.org/dists/2.0/PLD/SRPMS/SRPMS/ibpp-2.3.5.0-2.src.rpm Regards, -- Laurent Carlier jabber : LordHeavy at ...298... From daniel at ...318... Mon Oct 10 01:19:57 2005 From: daniel at ...318... (Daniel) Date: Mon, 10 Oct 2005 01:19:57 +0200 Subject: [Gambas-devel] makefile !!! In-Reply-To: <4349A335.9070204@...141...> References: <4345B8C5.2050003@...318...> <200510100023.10559.gambas@...1...> <43499D19.60701@...141...> <200510100059.40244.gambas@...1...> <4349A335.9070204@...141...> Message-ID: <4349A59D.4070603@...318...> Laurent Carlier wrote: >Benoit Minisini a ?crit : > > >>No, I want the ibpp library! >> >> >> > >Oups, sorry ! > >Here a src rpm, not for mandriva but should not be too hard to adapt the >spec file... > >ftp://ftp.pld-linux.org/dists/2.0/PLD/SRPMS/SRPMS/ibpp-2.3.5.0-2.src.rpm > >Regards, > > > use the 2.4.4, the driver is write for this version !!!! download from www.ibpp.org daniel From oreip at ...1... Mon Oct 10 20:51:31 2005 From: oreip at ...1... (PV) Date: Mon, 10 Oct 2005 20:51:31 +0200 Subject: [Gambas-devel] makefile !!! In-Reply-To: <4349958A.8060802@...318...> References: <4345B8C5.2050003@...318...> <200510071357.42322.gambas@...1...> <434687BB.1010608@...318...> <4346B16D.7070501@...1...> <4346F853.5090802@...318...> <4347A320.7070003@...1...> <4347BD07.7070806@...318...> <43484AAB.3020104@...1...> <43486B13.3090502@...318...> <4348DD65.2060008@...1...> <4349958A.8060802@...318...> Message-ID: <434AB833.6050702@...1...> On 10/10/2005 00:11, Daniel wrote: > ok, connecting to a port != 3050, use the .Port option in Connection I know, I know :) but in that case the problem was not to just change port. Anyway now, with the information correctly returned on the console by the component, it would have taken a minute to find it... :) > use the file in attachement please to make test It seems to work just fine. Thanks, Piero From daniel at ...318... Mon Oct 10 23:15:29 2005 From: daniel at ...318... (Daniel) Date: Mon, 10 Oct 2005 23:15:29 +0200 Subject: [Gambas-devel] makefile !!! In-Reply-To: <434AB833.6050702@...1...> References: <4345B8C5.2050003@...318...> <200510071357.42322.gambas@...1...> <434687BB.1010608@...318...> <4346B16D.7070501@...1...> <4346F853.5090802@...318...> <4347A320.7070003@...1...> <4347BD07.7070806@...318...> <43484AAB.3020104@...1...> <43486B13.3090502@...318...> <4348DD65.2060008@...1...> <4349958A.8060802@...318...> <434AB833.6050702@...1...> Message-ID: <434AD9F1.3020609@...318...> PV wrote: > On 10/10/2005 00:11, Daniel wrote: > >> ok, connecting to a port != 3050, use the .Port option in Connection > > > I know, I know :) but in that case the problem was not to just change > port. you know you know, but i forget to implement the port number, it's juste now i write the necessary code :) > Anyway now, with the information correctly returned on the console by > the component, it would have taken a minute to find it... :) > >> use the file in attachement please to make test > > > It seems to work just fine. > > Thanks, > Piero > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > > this is the last release, with error code (i think no more modif) ... etc (look in atttachement) daniel -------------- next part -------------- A non-text attachment was scrubbed... Name: gb.db.firebird-10-10-2005.tar.gz Type: application/x-gzip Size: 238468 bytes Desc: not available URL: From gambas at ...1... Mon Oct 10 23:33:50 2005 From: gambas at ...1... (Benoit Minisini) Date: Mon, 10 Oct 2005 23:33:50 +0200 Subject: [Gambas-devel] makefile !!! In-Reply-To: <434AD9F1.3020609@...318...> References: <4345B8C5.2050003@...318...> <434AB833.6050702@...1...> <434AD9F1.3020609@...318...> Message-ID: <200510102333.50377.gambas@...1...> On Monday 10 October 2005 23:15, Daniel wrote: > PV wrote: > > On 10/10/2005 00:11, Daniel wrote: > >> ok, connecting to a port != 3050, use the .Port option in Connection > > > > I know, I know :) but in that case the problem was not to just change > > port. > > you know you know, but i forget to implement the port number, it's juste > now i write the necessary code :) > > > Anyway now, with the information correctly returned on the console by > > the component, it would have taken a minute to find it... :) > > > >> use the file in attachement please to make test > > > > It seems to work just fine. > > > > Thanks, > > Piero > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Power Architecture Resource Center: Free content, downloads, discussions, > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > _______________________________________________ > > Gambas-devel mailing list > > Gambas-devel at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-devel > > this is the last release, with error code (i think no more modif) ... etc > (look in atttachement) > daniel And I forgot... Put the version of Gambas needed to compile your component in the package name too. Something like: gb.db.firebird-10.10.2005-1.9.20.tar.gz Regards, -- Benoit Minisini From daniel at ...318... Mon Oct 10 23:41:53 2005 From: daniel at ...318... (Daniel) Date: Mon, 10 Oct 2005 23:41:53 +0200 Subject: [Gambas-devel] makefile !!! In-Reply-To: <200510102333.50377.gambas@...1...> References: <4345B8C5.2050003@...318...> <434AB833.6050702@...1...> <434AD9F1.3020609@...318...> <200510102333.50377.gambas@...1...> Message-ID: <434AE021.1000407@...318...> Benoit Minisini wrote: >On Monday 10 October 2005 23:15, Daniel wrote: > > >>PV wrote: >> >> >>>On 10/10/2005 00:11, Daniel wrote: >>> >>> >>>>ok, connecting to a port != 3050, use the .Port option in Connection >>>> >>>> >>>I know, I know :) but in that case the problem was not to just change >>>port. >>> >>> >>you know you know, but i forget to implement the port number, it's juste >>now i write the necessary code :) >> >> >> >>>Anyway now, with the information correctly returned on the console by >>>the component, it would have taken a minute to find it... :) >>> >>> >>> >>>>use the file in attachement please to make test >>>> >>>> >>>It seems to work just fine. >>> >>>Thanks, >>>Piero >>> >>> >>> >>>------------------------------------------------------- >>>This SF.Net email is sponsored by: >>>Power Architecture Resource Center: Free content, downloads, discussions, >>>and more. http://solutions.newsforge.com/ibmarch.tmpl >>>_______________________________________________ >>>Gambas-devel mailing list >>>Gambas-devel at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/gambas-devel >>> >>> >>this is the last release, with error code (i think no more modif) ... etc >>(look in atttachement) >>daniel >> >> > >And I forgot... Put the version of Gambas needed to compile your component in >the package name too. Something like: > >gb.db.firebird-10.10.2005-1.9.20.tar.gz > >Regards, > > > ok, this is for the 1.9.20 daniel -------------- next part -------------- A non-text attachment was scrubbed... Name: gb.db.firebird-10.10.2005-1.9.20.tar.gz Type: application/x-gzip Size: 238468 bytes Desc: not available URL: From oreip at ...1... Tue Oct 11 12:09:09 2005 From: oreip at ...1... (PV) Date: Tue, 11 Oct 2005 12:09:09 +0200 Subject: [Gambas-devel] makefile !!! In-Reply-To: <434AE021.1000407@...318...> References: <4345B8C5.2050003@...318...> <434AB833.6050702@...1...> <434AD9F1.3020609@...318...> <200510102333.50377.gambas@...1...> <434AE021.1000407@...318...> Message-ID: <434B8F45.9050703@...1...> Hi Daniel, On 10/10/2005 23:41, Daniel wrote: > ok, this is for the 1.9.20 I've found a small problem in the firebird component regarding retrieving field names in a table. If I tried DIM c AS NEW Connection DIM hTables AS Object DIM hFields AS Object WITH c .Type = "firebird" .Host = "localhost" .Name = "/my/path/to/database.gdb" .Login = "blabla" .Password = "blabla" END WITH c.Open FOR EACH hTables IN c.Tables IF NOT (Left(hTables.Name, 4) = "RDB$") THEN PRINT "Table: " & hTables.Name FOR EACH hFields IN hTables.Fields PRINT hFields.Name NEXT END IF NEXT the program died unexpectedly raising the famous signal #6. After a little investigation, I found out that the problem was on line 1690 of main.cpp In fact, the problem occurred with a field like this CREATE TABLE test ( DATA date default 'now', ... ); so I changed the query in line 1690 from "select *" to "select rdb$field_name" and the problem disappeared. Since the actual data returned by the query doesn't seem to matter (it's just the number of returned rows that counts and doing a "select *" seems a bit overkill), changing the query this way shouldn't do any harm. I haven't investigated too deep to see where the actual fault comes up but I made a guess. From isql, doing a select like select * from rdb$relation_fields where rdb$relation_name='TEST'; gives (on a date field without default value) a result like RDB$FIELD_NAME DATA RDB$RELATION_NAME TEST RDB$FIELD_SOURCE RDB$2 RDB$QUERY_NAME RDB$BASE_FIELD RDB$EDIT_STRING RDB$FIELD_POSITION 1 RDB$QUERY_HEADER RDB$UPDATE_FLAG 1 RDB$FIELD_ID 1 RDB$VIEW_CONTEXT RDB$DESCRIPTION RDB$DEFAULT_VALUE RDB$SYSTEM_FLAG 0 RDB$SECURITY_CLASS RDB$COMPLEX_NAME RDB$NULL_FLAG RDB$DEFAULT_SOURCE RDB$COLLATION_ID and no crash whereas on a date field with default value I get RDB$FIELD_NAME DATA2 RDB$RELATION_NAME TEST RDB$FIELD_SOURCE RDB$3 RDB$QUERY_NAME RDB$BASE_FIELD RDB$EDIT_STRING RDB$FIELD_POSITION 2 RDB$QUERY_HEADER RDB$UPDATE_FLAG 1 RDB$FIELD_ID 2 RDB$VIEW_CONTEXT RDB$DESCRIPTION RDB$DEFAULT_VALUE 5:5b2 BLOB display set to subtype 1. This BLOB: subtype = 2 RDB$SYSTEM_FLAG 0 RDB$SECURITY_CLASS RDB$COMPLEX_NAME RDB$NULL_FLAG RDB$DEFAULT_SOURCE 5:5b3 default 'now' RDB$COLLATION_ID and a crash. That BLOB line and the following empty one look suspicious to me and that is most likely the cause of the crash. My guess seems to be confirmed by the fact that selecting only RDB$FIELD_NAME eliminates any problems. I am using Firebird V1.5.1.4481, don't know if things have changed in other versions. Ciao, Piero From daniel at ...318... Tue Oct 11 23:49:00 2005 From: daniel at ...318... (Daniel) Date: Tue, 11 Oct 2005 23:49:00 +0200 Subject: [Gambas-devel] makefile !!! In-Reply-To: <434B8F45.9050703@...1...> References: <4345B8C5.2050003@...318...> <434AB833.6050702@...1...> <434AD9F1.3020609@...318...> <200510102333.50377.gambas@...1...> <434AE021.1000407@...318...> <434B8F45.9050703@...1...> Message-ID: <434C334C.5020800@...318...> PV wrote: > Hi Daniel, > > On 10/10/2005 23:41, Daniel wrote: > >> ok, this is for the 1.9.20 > > > I've found a small problem in the firebird component regarding > retrieving field names in a table. > > If I tried > > DIM c AS NEW Connection > DIM hTables AS Object > DIM hFields AS Object > > WITH c > .Type = "firebird" > .Host = "localhost" > .Name = "/my/path/to/database.gdb" > .Login = "blabla" > .Password = "blabla" > END WITH > > c.Open > > FOR EACH hTables IN c.Tables > IF NOT (Left(hTables.Name, 4) = "RDB$") THEN > PRINT "Table: " & hTables.Name > FOR EACH hFields IN hTables.Fields > PRINT hFields.Name > NEXT > END IF > NEXT > > the program died unexpectedly raising the famous signal #6. > > After a little investigation, I found out that the problem was on line > 1690 of main.cpp > > In fact, the problem occurred with a field like this > CREATE TABLE test ( > DATA date default 'now', > ... > ); > > so I changed the query in line 1690 from "select *" to "select > rdb$field_name" and the problem disappeared. thank you for this info > > > Since the actual data returned by the query doesn't seem to matter > (it's just the number of returned rows that counts and doing a "select > *" seems a bit overkill), changing the query this way shouldn't do any > harm. > > I haven't investigated too deep to see where the actual fault comes up > but I made a guess. > > From isql, doing a select like > > select * from rdb$relation_fields where rdb$relation_name='TEST'; > > gives (on a date field without default value) a result like > > RDB$FIELD_NAME DATA > RDB$RELATION_NAME TEST > RDB$FIELD_SOURCE RDB$2 > RDB$QUERY_NAME > RDB$BASE_FIELD > RDB$EDIT_STRING > RDB$FIELD_POSITION 1 > RDB$QUERY_HEADER > RDB$UPDATE_FLAG 1 > RDB$FIELD_ID 1 > RDB$VIEW_CONTEXT > RDB$DESCRIPTION > RDB$DEFAULT_VALUE > RDB$SYSTEM_FLAG 0 > RDB$SECURITY_CLASS > RDB$COMPLEX_NAME > RDB$NULL_FLAG > RDB$DEFAULT_SOURCE > RDB$COLLATION_ID > > and no crash whereas on a date field with default value I get > > RDB$FIELD_NAME DATA2 > RDB$RELATION_NAME TEST > RDB$FIELD_SOURCE RDB$3 > RDB$QUERY_NAME > RDB$BASE_FIELD > RDB$EDIT_STRING > RDB$FIELD_POSITION 2 > RDB$QUERY_HEADER > RDB$UPDATE_FLAG 1 > RDB$FIELD_ID 2 > RDB$VIEW_CONTEXT > RDB$DESCRIPTION > RDB$DEFAULT_VALUE 5:5b2 > BLOB display set to subtype 1. This BLOB: subtype = 2 > > RDB$SYSTEM_FLAG 0 > RDB$SECURITY_CLASS > RDB$COMPLEX_NAME > RDB$NULL_FLAG > RDB$DEFAULT_SOURCE 5:5b3 > default 'now' the problem is i use the wrong field (i use rdb$default_value and not rdb$default_source), i change its immediately > RDB$COLLATION_ID > > and a crash. > > That BLOB line and the following empty one look suspicious to me and > that is most likely the cause of the crash. > > My guess seems to be confirmed by the fact that selecting only > RDB$FIELD_NAME eliminates any problems. > > I am using Firebird V1.5.1.4481, don't know if things have changed in > other versions. > > > Ciao, > Piero > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > > daniel From daniel at ...318... Wed Oct 12 02:25:52 2005 From: daniel at ...318... (Daniel) Date: Wed, 12 Oct 2005 02:25:52 +0200 Subject: [Gambas-devel] makefile !!! In-Reply-To: <434B8F45.9050703@...1...> References: <4345B8C5.2050003@...318...> <434AB833.6050702@...1...> <434AD9F1.3020609@...318...> <200510102333.50377.gambas@...1...> <434AE021.1000407@...318...> <434B8F45.9050703@...1...> Message-ID: <434C5810.4010900@...318...> PV wrote: > Hi Daniel, > > On 10/10/2005 23:41, Daniel wrote: > >> ok, this is for the 1.9.20 > > > I've found a small problem in the firebird component regarding > retrieving field names in a table. > > If I tried > > DIM c AS NEW Connection > DIM hTables AS Object > DIM hFields AS Object > > WITH c > .Type = "firebird" > .Host = "localhost" > .Name = "/my/path/to/database.gdb" > .Login = "blabla" > .Password = "blabla" > END WITH > > c.Open > > FOR EACH hTables IN c.Tables > IF NOT (Left(hTables.Name, 4) = "RDB$") THEN > PRINT "Table: " & hTables.Name > FOR EACH hFields IN hTables.Fields > PRINT hFields.Name > NEXT > END IF > NEXT > > the program died unexpectedly raising the famous signal #6. > > After a little investigation, I found out that the problem was on line > 1690 of main.cpp > > In fact, the problem occurred with a field like this > CREATE TABLE test ( > DATA date default 'now', > ... > ); > > so I changed the query in line 1690 from "select *" to "select > rdb$field_name" and the problem disappeared. > > Since the actual data returned by the query doesn't seem to matter > (it's just the number of returned rows that counts and doing a "select > *" seems a bit overkill), changing the query this way shouldn't do any > harm. > > I haven't investigated too deep to see where the actual fault comes up > but I made a guess. > > From isql, doing a select like > > select * from rdb$relation_fields where rdb$relation_name='TEST'; > > gives (on a date field without default value) a result like > > RDB$FIELD_NAME DATA > RDB$RELATION_NAME TEST > RDB$FIELD_SOURCE RDB$2 > RDB$QUERY_NAME > RDB$BASE_FIELD > RDB$EDIT_STRING > RDB$FIELD_POSITION 1 > RDB$QUERY_HEADER > RDB$UPDATE_FLAG 1 > RDB$FIELD_ID 1 > RDB$VIEW_CONTEXT > RDB$DESCRIPTION > RDB$DEFAULT_VALUE > RDB$SYSTEM_FLAG 0 > RDB$SECURITY_CLASS > RDB$COMPLEX_NAME > RDB$NULL_FLAG > RDB$DEFAULT_SOURCE > RDB$COLLATION_ID > > and no crash whereas on a date field with default value I get > > RDB$FIELD_NAME DATA2 > RDB$RELATION_NAME TEST > RDB$FIELD_SOURCE RDB$3 > RDB$QUERY_NAME > RDB$BASE_FIELD > RDB$EDIT_STRING > RDB$FIELD_POSITION 2 > RDB$QUERY_HEADER > RDB$UPDATE_FLAG 1 > RDB$FIELD_ID 2 > RDB$VIEW_CONTEXT > RDB$DESCRIPTION > RDB$DEFAULT_VALUE 5:5b2 > BLOB display set to subtype 1. This BLOB: subtype = 2 > > RDB$SYSTEM_FLAG 0 > RDB$SECURITY_CLASS > RDB$COMPLEX_NAME > RDB$NULL_FLAG > RDB$DEFAULT_SOURCE 5:5b3 > default 'now' > RDB$COLLATION_ID > > and a crash. > > That BLOB line and the following empty one look suspicious to me and > that is most likely the cause of the crash. > > My guess seems to be confirmed by the fact that selecting only > RDB$FIELD_NAME eliminates any problems. > > I am using Firebird V1.5.1.4481, don't know if things have changed in > other versions. > > > Ciao, > Piero > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > > Piero can you test this version thank's daniel -------------- next part -------------- A non-text attachment was scrubbed... Name: gb.db.firebird-11.10.2005-1.9.20.tar.gz Type: application/x-gzip Size: 238505 bytes Desc: not available URL: From danielcampos at ...45... Thu Oct 13 21:24:02 2005 From: danielcampos at ...45... (danielcampos at ...45...) Date: Thu, 13 Oct 2005 21:24:02 +0200 Subject: [Gambas-devel] gb.odbc probably won't work correctly Message-ID: (Gambas-1.9.20 / gb.db / gb.db.odbc / Informix) Hi: I've been testing gb.db.odbc with Informix, and it does not work. The problem is that gb.db tries to get the row count of a "SELECT" query, and that value is not reported by the major part of ODBC drivers (well, MySQL does, but it has not very much sense having a native driver). For example you can look at the IB M documentation about ODBC: http://publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.db2.doc.odbc/bjnemstr111.htm ...or the Perl-ODBC documentation (I have not the link now,sorry) The major part of ODBC drivers report the row count only for INSERT, UPDATE or DELETE queries, and return -1 for SELECT queries, when using the SQLRowCount() method. I've made a hack for me, that repeats twice the query, the first one to count the number or rows, and the second one to fill the data. It works OK, but I remember an old mail from Benoit saying that this is "horrible", however is the only thing I can do from the driver currently. It seems there's a commented code in the gb.db part about this, however it is disabled... The second porblem is that "FetchScroll()" method does not work for Informix, and it seems it will not work for DB2, according to IBM documentation, that says nothing about that method, so, in my hack, I've replaced it by "Fetch()"... Once I stabilize my hacks trying to make it work correctly, I will release it as an "odbc2" or something like that unnoficial driver, as I need these features for Informix, and may be It will help other developers. However, I think something more clean should be done with that, may be a complete component for ODBC with a different interface, or modify the current gb.db component so it can handle drivers having not row counting and a forward-only cursor (I think MoveFirst, MovePrevious, etc won't work correctly with the current interface). It is important to support DB2 and Informix! Regards, Daniel Campos ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From danielcampos at ...45... Thu Oct 13 22:20:17 2005 From: danielcampos at ...45... (danielcampos at ...45...) Date: Thu, 13 Oct 2005 22:20:17 +0200 Subject: [Gambas-devel] gb.odbc probably won't work correctly Message-ID: >It works OK, but I remember an old mail from Benoit saying that this is >"horrible" I forgot to say that I also think is really an ugly hack, as it wastes server and network resources... and it works OK only if thare's not any addition or deletion by other user just between the two queries... but is the only way to fill gb.db requirements. 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 gambas at ...1... Fri Oct 14 01:00:43 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 14 Oct 2005 01:00:43 +0200 Subject: [Gambas-devel] gb.odbc probably won't work correctly In-Reply-To: References: Message-ID: <200510140100.43632.gambas@...1...> On Thursday 13 October 2005 21:24, danielcampos at ...45... wrote: > (Gambas-1.9.20 / gb.db / gb.db.odbc / Informix) > > Hi: > > I've been testing gb.db.odbc with Informix, and it does not work. The > problem is that gb.db tries to get the row count of a "SELECT" query, and > that value is not reported by the major part of ODBC drivers (well, MySQL > does, but it has not very much sense having a native driver). For example > you can look at the IB M documentation about ODBC: > > http://publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com >.ibm.db2.doc.odbc/bjnemstr111.htm > > > ...or the Perl-ODBC documentation (I have not the link now,sorry) > > The major part of ODBC drivers report the row count only for INSERT, UPDATE > or DELETE queries, and return -1 for SELECT queries, when using the > SQLRowCount() method. > > I've made a hack for me, that repeats twice the query, the first one to > count the number or rows, and the second one to fill the data. It works OK, > but I remember an old mail from Benoit saying that this is "horrible", > however is the only thing I can do from the driver currently. It seems > there's a commented code in the gb.db part about this, however it is > disabled... At the moment, the behaviour of gb.db is the following: - If the query_init() driver function returns a row count >= 0, then this value is used for testing the row index when extracting a row. - If query_init() returns a count of -1, then no test is done, and the query_fill() driver function can get any value in its pos argument. This behaviour is not a problem, if there wasn't the second one you describe after (that I wasn't aware of)... > > The second porblem is that "FetchScroll()" method does not work for > Informix, and it seems it will not work for DB2, according to IBM > documentation, that says nothing about that method, so, in my hack, I've > replaced it by "Fetch()"... FetchScroll() exists from ODBC 3.0. ODBC seems to be as well designed as the SQL pseudo-standard... :-( It seems that Andrea replaced the use of Fetch() by FetchScroll(). I don't know why, if he could explain us? Anyway, if there is no way to move to any row in the result set, and if there is no way to rewind the recordset to its beginning, then the driver must raise an error. What to do? 1) Find a function to get the ODBC version implemented by the ODBC driver. 2) If ODBC >= 3.0, then use FetchScroll(). Otherwise raise an error when this function must be called. > > Once I stabilize my hacks trying to make it work correctly, I will release > it as an "odbc2" or something like that unnoficial driver, as I need these > features for Informix, and may be It will help other developers. If we need one ODBC gambas driver for each database system, then ODBC is useless! I suggest you make a gb.db.odbc.informix driver by copying the gb.db.odbc source code first, if you need it. But it will be cool if you can do in gb.db.odbc what I described just before: getting ODBC version implemented by the underlying driver, and raise an error if FetchScroll() is impossible. > > However, I think something more clean should be done with that, may be a > complete component for ODBC with a different interface, or modify the > current gb.db component so it can handle drivers having not row counting gb.db is not as cleanly designed as I'd like, but it actually handle drivers having not row counting. It is just that Andrea didn't imagine that FetchScroll() could be not implemented in some ODBC drivers! > and a forward-only cursor (I think MoveFirst, MovePrevious, etc won't work > correctly with the current interface). Maybe, for performance reasons. But raising an error when something is impossible can be sufficient now. > It is important to support DB2 and > Informix! And it will be cool if they could do correct ODBC drivers for these databases :-) I'm very surprised that there is no support for FetchScroll() in ODBC drivers of big databases... Anyway, I continue thinking that: - ODBC is a pain. - Direct drivers are better. After all, almost all databases are doing about the same things, and SQL is absolutely not standard. - ODBTP is a good and more efficient way to use ODBC from a Linux box: http://odbtp.sourceforge.net Regards, -- Benoit Minisini From danielcampos at ...45... Fri Oct 14 01:51:45 2005 From: danielcampos at ...45... (danielcampos at ...45...) Date: Fri, 14 Oct 2005 01:51:45 +0200 Subject: [Gambas-devel] gb.odbc probably won't work correctly Message-ID: >At the moment, the behaviour of gb.db is the following: >- If the query_init() driver function returns a row count >= 0, then this >value is used for testing the row index when extracting a row. >- If query_init() returns a count of -1, then no test is done, and the >query_fill() driver function can get any value in its pos argument. > >This behaviour is not a problem, if there wasn't the second one you >describe >after (that I wasn't aware of)... OK, then it seems I mixed both errors in my test and I didn't notice that the first one could be solved by gb.db... I'll try tomorrow... > >FetchScroll() exists from ODBC 3.0. ODBC seems to be as well designed as >the >SQL pseudo-standard... :-( > >It seems that Andrea replaced the use of Fetch() by FetchScroll(). I don't >know why, if he could explain us? > >Anyway, if there is no way to move to any row in the result set, and if >there >is no way to rewind the recordset to its beginning, then the driver must >raise an error. > >What to do? > >1) Find a function to get the ODBC version implemented by the ODBC >driver. > I think it is possible... >2) If ODBC >= 3.0, then use FetchScroll(). Otherwise raise an error when >this >function must be called. > I'll try to do it > >If we need one ODBC gambas driver for each database system, then ODBC >is >useless! > In fact IBM offers their own ODBC implementation with non-standard functions (ClientSDK). However It is not free at all... >But it will be cool if you can do in gb.db.odbc what I described just before: >getting ODBC version implemented by the underlying driver, and raise an >error >if FetchScroll() is impossible. > > > However, I think something more clean should be done with that, may be a > complete component for ODBC with a different interface, or modify the > current gb.db component so it can handle drivers having not row I'll try to mix all code, I'll tell you more >Anyway, I continue thinking that: >- ODBC is a pain. Yes >- Direct drivers are better. After all, almost all databases are doing about >the same things, and SQL is absolutely not standard. But big databases does not offer a free SDK, and I do not want to compile Gambas code with propietary code. Too hard to mantain even if there's not legal problems. >- ODBTP is a good and more efficient way to use ODBC from a Linux box: >http://odbtp.sourceforge.net I'll try 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 oreip at ...1... Fri Oct 14 08:45:36 2005 From: oreip at ...1... (PV) Date: Fri, 14 Oct 2005 08:45:36 +0200 Subject: [Gambas-devel] makefile !!! In-Reply-To: <434C5810.4010900@...318...> References: <4345B8C5.2050003@...318...> <434AB833.6050702@...1...> <434AD9F1.3020609@...318...> <200510102333.50377.gambas@...1...> <434AE021.1000407@...318...> <434B8F45.9050703@...1...> <434C5810.4010900@...318...> Message-ID: <434F5410.5040509@...1...> On 12/10/2005 02:25, Daniel wrote: > Piero can you test this version > > thank's daniel > It does seem to work properly. I'll continue using it and I'll notify you in case of problems. Thank you, Piero From dcamposf at ...176... Fri Oct 14 22:26:13 2005 From: dcamposf at ...176... (Daniel Campos) Date: Fri, 14 Oct 2005 22:26:13 +0200 Subject: [Gambas-devel] Moving to gmail Message-ID: <7259b5ae0510141326t4bef6cbeg@...178...> Hi all: I'm moving to Gmail, my subscription to netcourrier will finish on October,18, and I don't want to pay again for POP access having free options (free as in beer). So my new public address is: dcamposf at ...176... Please delete my netcourrier address from your address books! The netcourrier account will be alive a long time still, however I will use it less and less... Benoit: could you please change my mail address in the "Hall of Fame"? Apart from this, I will use the netcourrier account for the Spanish Gambas list some time more as I don't have time now to change the options in the administrative interface. Regards, Daniel Campos From Karl.Reinl at ...16... Sat Oct 15 21:25:25 2005 From: Karl.Reinl at ...16... (Charlie Reinl) Date: Sat, 15 Oct 2005 21:25:25 +0200 Subject: [Gambas-devel] Using Gambas-1.9.20 Message-ID: <200510152125.25812.Karl.Reinl@...16...> Salut , I started to use gambas-1.9.20 now, (for testing). After my problem with huge forms, while moving projects from gambas1 , I found the following. - User.Name don' work -After changing the Text in a Tabstrip and save it, everything on that Tabstrip goes lost. (see attachted Test-0.0.1.tar.gz which is only a form an imported form from a gambas1 project, try it) - The debug-Cursor shows the text behind only in the first line when starts, after that you have only a colored line. - At a Breakpoint also you don't see the text under. (see Editor.png) All about my box you find in sysInfo.log. Gambas-1.9.20 was installed by ./configure -C --disable-gtk --disable-sdl --disable-odbc > /opt/gambas2/configure.log 2>&1 Amicalment Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: Test-0.0.1.tar.gz Type: application/x-tgz Size: 1460 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: sysInfo.log Type: text/x-log Size: 3125 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Editor.png Type: image/png Size: 22526 bytes Desc: not available URL: From Karl.Reinl at ...16... Sat Oct 15 22:39:06 2005 From: Karl.Reinl at ...16... (Charlie Reinl) Date: Sat, 15 Oct 2005 22:39:06 +0200 Subject: [Gambas-devel] Using Gambas-1.9.20 Message-ID: <200510152239.06502.Karl.Reinl@...16...> Salut, I forgot, the cursor in the IDE consol is not on his right place. Alway (I think ) 2 chars too left to position. Amicalment Charlie From Karl.Reinl at ...16... Sun Oct 16 21:46:15 2005 From: Karl.Reinl at ...16... (Charlie Reinl) Date: Sun, 16 Oct 2005 21:46:15 +0200 Subject: [Gambas-devel] Component for universally unique identifier (UUID) Message-ID: <200510162146.15454.Karl.Reinl@...16...> Salut, I made a gambas Component who return an universally unique identifier (UUID) In the attachment you find the sources and also the help for Wiki. The Component was made with gambas2-1.9.20 Amicalment Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: gb.uuidgen-0.0.1.tar.gz Type: application/x-tgz Size: 3874 bytes Desc: not available URL: From gambas at ...1... Sun Oct 16 21:51:04 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 16 Oct 2005 21:51:04 +0200 Subject: [Gambas-devel] Component for universally unique identifier (UUID) In-Reply-To: <200510162146.15454.Karl.Reinl@...16...> References: <200510162146.15454.Karl.Reinl@...16...> Message-ID: <200510162151.04956.gambas@...1...> On Sunday 16 October 2005 21:46, Charlie Reinl wrote: > Salut, > > I made a gambas Component who return an universally unique identifier > (UUID) In the attachment you find the sources and also the help for Wiki. > > The Component was made with gambas2-1.9.20 > > Amicalment > Charlie I'm not sure it is worth making a component just for calling the 'uuidgen' program... Regards, -- Benoit Minisini From gambasfr at ...4... Sun Oct 16 22:10:24 2005 From: gambasfr at ...4... (Fabien Bodard) Date: Sun, 16 Oct 2005 22:10:24 +0200 Subject: [Gambas-devel] Component for universally unique identifier (UUID) In-Reply-To: <200510162146.15454.Karl.Reinl@...16...> References: <200510162146.15454.Karl.Reinl@...16...> Message-ID: <200510162210.24491.gambasfr@...4...> Le Dimanche 16 Octobre 2005 21:46, Charlie Reinl a ?crit?: > Salut, > > I made a gambas Component who return an universally unique identifier > (UUID) In the attachment you find the sources and also the help for Wiki. > > The Component was made with gambas2-1.9.20 > > Amicalment > Charlie is it a jock ? :) A line in the help about that will be better in my point of view. Fabien From Karl.Reinl at ...16... Wed Oct 19 14:53:20 2005 From: Karl.Reinl at ...16... (Charlie Reinl) Date: Wed, 19 Oct 2005 14:53:20 +0200 Subject: [Gambas-devel] Using Gambas-1.9.20 (3) Message-ID: <200510191453.20993.Karl.Reinl@...16...> Salut, - Splitter works fine with older projects, but can't create new, the componets are not placed into the panel. If you change a workin form with a Splitter on every old components are lost after saving. - What happens with the XML , if you load a project, you don't see any ERROR, but the project don't work. called gambas2.gambas from a console and loading the project you see that: Warning: cannot find /usr/local/share/gambas2/info/gb.xml.libxml.info Warning: cannot find /usr/local/share/gambas2/info/gb.xml.libxml.info Warning: cannot find /usr/local/share/gambas2/info/gb.xml.libxml.rpc.info Warning: cannot find /usr/local/share/gambas2/info/gb.xml.libxml.info Warning: cannot find /usr/local/share/gambas2/info/gb.xml.libxml.xslt.info In /usr/local/share/gambas2/info/ you find these files ( and also others) starting with 'lib.' Amicalment Charlie From nigel at ...2... Wed Oct 19 16:06:28 2005 From: nigel at ...2... (nigel at ...2...) Date: Wed, 19 Oct 2005 16:06:28 +0200 (CEST) Subject: [Gambas-devel] (no subject) Message-ID: <25336933.1129730788079.JavaMail.www@...231...> Benoit, When debugging within the IDE, I have always thought it would be nice to drive down through any non-simple variables and objects. Attached is an attempt to allow the user to double click on these items. Unfortunately, I haven't had any success at trying to get information back about the user defined classes within a project. Maybe you have a suggestion. Attached are hacked modules of the 1.9.20 IDE. Many thanks Nigel -------------- next part -------------- A non-text attachment was scrubbed... Name: /home/ngerrard/gambas2-1.9.20/app/src/gambas2/DebugExpand.tar.gz Type: application/x-gzip Size: 6135 bytes Desc: not available URL: From daniel at ...318... Wed Oct 19 16:55:28 2005 From: daniel at ...318... (Daniel) Date: Wed, 19 Oct 2005 16:55:28 +0200 Subject: [Gambas-devel] modif in firebird driver Message-ID: <43565E60.3010402@...318...> just a small modification when you fetch a blob or array, the field is filled with the word "" or "" daniel -------------- next part -------------- A non-text attachment was scrubbed... Name: gb.db.firebird-19.10.2005-1.9.20.tar.gz Type: application/x-gzip Size: 237833 bytes Desc: not available URL: From nigel at ...2... Thu Oct 20 14:17:17 2005 From: nigel at ...2... (nigel at ...2...) Date: Thu, 20 Oct 2005 14:17:17 +0200 (CEST) Subject: [Gambas-devel] (no subject) Message-ID: <10049326.1129810637112.JavaMail.www@...208...> Benoit, Last year I recall someone asking about changing settings for a console based program; I think it was a getkey type function that was required. Attached is a small component that uses parts of the ncurses library to enable getkey, change the basic text colours and some of the attributes. It is not very complicated, but maybe useful to some. Nigel -------------- next part -------------- A non-text attachment was scrubbed... Name: /home/ngerrard/gambas2-1.9.20/gb.term2.tar.gz Type: application/x-gzip Size: 238007 bytes Desc: not available URL: From Karl.Reinl at ...16... Sun Oct 23 23:06:43 2005 From: Karl.Reinl at ...16... (Charlie Reinl) Date: Sun, 23 Oct 2005 23:06:43 +0200 Subject: [Gambas-devel] Using Gambas2-1.9.20 (4) Message-ID: <200510232306.43205.Karl.Reinl@...16...> Salut, I found the pb on my box , about the container and splitters. Old gambas2 libs in /usr/local/lib/gambas2 (I think it was the gambas2-1.9.5) after make an 'make uninstall' in all older gambas2 installations, TabStrip and containers are OK. Also the cursor in the IDE-consol works right. XML isn't tested, but don't send no more Warnings. I still have pb with : - User.Name - The debug-Cursor shows the text behind only in the first line when you first enter into a procedure/sub/function, ?after that you have only a colored line. - Breakpoints hide also the text under. - and a new one see attached screen ? Any idea, What else must be destroit, for makeing gambas2 working well ? Amicalment Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: msgbox1.png Type: image/png Size: 14457 bytes Desc: not available URL: From andrea_bortolan at ...112... Thu Oct 27 09:26:43 2005 From: andrea_bortolan at ...112... (Andrea Bortolan) Date: Thu, 27 Oct 2005 09:26:43 +0200 (CEST) Subject: [Gambas-devel] gb.odbc probably won't work correctly In-Reply-To: Message-ID: <20051027072643.32496.qmail@...363...> Sorry for the late answer, I had some problems on my Linux box... and after the problem were fixed I was very busy for my job. danielcampos at ...45... ha scritto: (Gambas-1.9.20 / gb.db / gb.db.odbc / Informix) Hi: I've been testing gb.db.odbc with Informix, and it does not work. The problem is that gb.db tries to get the row count of a "SELECT" query, and that value is not reported by the major part of ODBC drivers (well, MySQL does, but it has not very much sense having a native driver). For example you can look at the IB M documentation about ODBC: http://publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.db2.doc.odbc/bjnemstr111.htm This is related only to the DB2 UDB for zSeries.....there are many DB2 UDB (for zSeries, iSeries, pSeries, for Windows and Linux Intel and PowerPC....) that have some little differences, the ODBC driver for iSeries i.e. supports FetcScroll, I don't know all the others DB2 ...or the Perl-ODBC documentation (I have not the link now,sorry) The major part of ODBC drivers report the row count only for INSERT, UPDATE or DELETE queries, and return -1 for SELECT queries, when using the SQLRowCount() method. I've made a hack for me, that repeats twice the query, the first one to count the number or rows, and the second one to fill the data. It works OK, but I remember an old mail from Benoit saying that this is "horrible", however is the only thing I can do from the driver currently. It seems there's a commented code in the gb.db part about this, however it is disabled... After you've submitted the query, if the number of rows is -1 you can fetch the rows until the gb.odbc module rise an error, if you catch it it's done. The second porblem is that "FetchScroll()" method does not work for Informix, and it seems it will not work for DB2, according to IBM documentation, that says nothing about that method, so, in my hack, I've replaced it by "Fetch()"... I'm working on a work-around in order to check if the driver supports the FetchScroll or not, if the driver doesn't support fetchscroll fetch will be called instead. ASAP it will be ready I'll ask you to try it because I haven't Informix DB. Once I stabilize my hacks trying to make it work correctly, I will release it as an "odbc2" or something like that unnoficial driver, as I need these features for Informix, and may be It will help other developers. However, I think something more clean should be done with that, may be a complete component for ODBC with a different interface, or modify the current gb.db component so it can handle drivers having not row counting and a forward-only cursor (I think MoveFirst, MovePrevious, etc won't work correctly with the current interface). It is important to support DB2 and Informix! 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) ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Gambas-devel mailing list Gambas-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-devel --------------------------------- Yahoo! Messenger: chiamate gratuite in tutto il mondo --------------------------------- Yahoo! Messenger: chiamate gratuite in tutto il mondo -------------- next part -------------- An HTML attachment was scrubbed... URL: From sumangalaknair at ...255... Thu Oct 27 19:48:05 2005 From: sumangalaknair at ...255... (sumangala nair) Date: Thu, 27 Oct 2005 23:18:05 +0530 Subject: [Gambas-devel] Mandrake 9.2 install Message-ID: Sir, I tried installing Gambas1.0.10 on Mandrake Linux 9.2.But autoconf 2.5 is needed for it. Only autoconf 2.13 is present in Mandrake 9.2.Sir does Gambas 1.0.6 require autoconf 2.5?Please reply.....Sir i am involved in a project of report tool and wants to install gambas in my pc. Does Fedora Linux support Gambas 1.0.10 ? Plz do reply at the earliest. Sumangala K.nair _________________________________________________________________ Exclusive NRI offer! Get a Zero Balance Account for next 20 years http://creative.mediaturf.net/creatives/citibankrca/rca_msntagofline.htm From dcamposf at ...176... Thu Oct 27 23:05:28 2005 From: dcamposf at ...176... (Daniel Campos) Date: Thu, 27 Oct 2005 23:05:28 +0200 Subject: [Gambas-devel] Mandrake 9.2 install In-Reply-To: References: Message-ID: <7259b5ae0510271405v739e16c6t@...178...> Well, if you plan to change your distribution may be you could Install Mandriva 2005 instead, as it is easy to upgrade from Mandrake 9.2 to the new Mandriva distribution. Regards, D. Campos 2005/10/27, sumangala nair : > Sir, > I tried installing Gambas1.0.10 on Mandrake Linux 9.2.But autoconf 2.5 is > needed for it. Only autoconf 2.13 is present in Mandrake 9.2.Sir does Gambas > 1.0.6 require autoconf 2.5?Please reply.....Sir i am involved in a project > of report tool and wants to install gambas in my pc. > Does Fedora Linux support Gambas 1.0.10 ? > > > Plz do reply at the earliest. > Sumangala K.nair > > _________________________________________________________________ > Exclusive NRI offer! Get a Zero Balance Account for next 20 years > http://creative.mediaturf.net/creatives/citibankrca/rca_msntagofline.htm > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. > Get Certified Today * Register for a JBoss Training Course > Free Certification Exam for All Training Attendees Through End of 2005 > Visit http://www.jboss.com/services/certification for more information > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > From gambasfr at ...4... Sat Oct 29 14:28:01 2005 From: gambasfr at ...4... (Fabien Bodard) Date: Sat, 29 Oct 2005 14:28:01 +0200 Subject: [Gambas-devel] Gambas2-1.9.20 and KDE 3.5 beta 2 Message-ID: <200510291428.01889.gambasfr@...4...> Hi to all :) it's a good news... gambas seem to compile well with kde 3.5. It's all ... Regards, Fabien From gambas at ...1... Sat Oct 29 15:00:45 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 29 Oct 2005 15:00:45 +0200 Subject: [Gambas-devel] Gambas2-1.9.20 and KDE 3.5 beta 2 In-Reply-To: <200510291428.01889.gambasfr@...4...> References: <200510291428.01889.gambasfr@...4...> Message-ID: <200510291500.45438.gambas@...1...> On Saturday 29 October 2005 14:28, Fabien Bodard wrote: > Hi to all :) > > it's a good news... gambas seem to compile well with kde 3.5. > > It's all ... > > Regards, > Fabien > Hi, Fabien. Do you know where the "GLtextureMapping.h" include file comes from? I don't find this file anywhere in my Mandriva 2006, and so can't compile the opengl component. Regards, -- Benoit Minisini From gambas at ...1... Sat Oct 29 15:08:42 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 29 Oct 2005 15:08:42 +0200 Subject: [Gambas-devel] Gambas2-1.9.20 and KDE 3.5 beta 2 In-Reply-To: <200510291500.45438.gambas@...1...> References: <200510291428.01889.gambasfr@...4...> <200510291500.45438.gambas@...1...> Message-ID: <200510291508.42588.gambas@...1...> On Saturday 29 October 2005 15:00, Benoit Minisini wrote: > On Saturday 29 October 2005 14:28, Fabien Bodard wrote: > > Hi to all :) > > > > it's a good news... gambas seem to compile well with kde 3.5. > > > > It's all ... > > > > Regards, > > Fabien > > Hi, Fabien. > > Do you know where the "GLtextureMapping.h" include file comes from? I don't > find this file anywhere in my Mandriva 2006, and so can't compile the > opengl component. > > Regards, I got it: the Makefile.am of opengl component does not include all the source files! -- Benoit Minisini From gambas at ...1... Sat Oct 29 15:08:17 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 29 Oct 2005 15:08:17 +0200 Subject: [Gambas-devel] Using Gambas2-1.9.20 (4) In-Reply-To: <200510232306.43205.Karl.Reinl@...16...> References: <200510232306.43205.Karl.Reinl@...16...> Message-ID: <200510291508.17436.gambas@...1...> On Sunday 23 October 2005 23:06, Charlie Reinl wrote: > Salut, > > I found the pb on my box , about the container and splitters. Old gambas2 > libs in /usr/local/lib/gambas2 (I think it was the gambas2-1.9.5) after > make an 'make uninstall' in all older gambas2 installations, TabStrip and > containers are OK. > > Also the cursor in the IDE-consol works right. > > XML isn't tested, but don't send no more Warnings. > > I still have pb with : > > - User.Name Which problem ? There, when I type PRINT User.Name, I get "benoit". > > - The debug-Cursor shows the text behind only in the first line when you > first enter into a procedure/sub/function, ?after that you have only a > colored line. > > - Breakpoints hide also the text under. It works there... Don't you have custom colors? > > - and a new one see attached screen ? Any idea, What else must be destroit, > for makeing gambas2 working well ? Try to recompile from scratch from a fresh source directory, install on a specific directory ('/usr/local/gambas-1.9.20' for example), and check that everything is correct during the installation process. > > Amicalment > Charlie Regards, -- Benoit Minisini From lordheavy at ...141... Sat Oct 29 15:19:46 2005 From: lordheavy at ...141... (lordheavy) Date: Sat, 29 Oct 2005 15:19:46 +0200 Subject: [Gambas-devel] Gambas2-1.9.20 and KDE 3.5 beta 2 In-Reply-To: <200510291508.42588.gambas@...1...> References: <200510291428.01889.gambasfr@...4...> <200510291500.45438.gambas@...1...> <200510291508.42588.gambas@...1...> Message-ID: <200510291519.46892.lordheavy@...141...> Le Samedi 29 Octobre 2005 15:08, Benoit Minisini a ?crit?: > On Saturday 29 October 2005 15:00, Benoit Minisini wrote: > > On Saturday 29 October 2005 14:28, Fabien Bodard wrote: > > > Hi to all :) > > > > > > it's a good news... gambas seem to compile well with kde 3.5. > > > > > > It's all ... > > > > > > Regards, > > > Fabien > > > > Hi, Fabien. > > > > Do you know where the "GLtextureMapping.h" include file comes from? I > > don't find this file anywhere in my Mandriva 2006, and so can't compile > > the opengl component. > > > > Regards, > > I got it: the Makefile.am of opengl component does not include all the > source files! I will send you an update (revised) opengl component :) From na2492 at ...16... Sun Oct 30 00:42:53 2005 From: na2492 at ...16... (Charlie Reinl) Date: Sun, 30 Oct 2005 00:42:53 +0200 Subject: [Gambas-devel] Using Gambas2-1.9.20 (4) In-Reply-To: <200510291508.17436.gambas@...1...> References: <200510232306.43205.Karl.Reinl@...16...> <200510291508.17436.gambas@...1...> Message-ID: <1130625773.9151.5.camel@...326...> Am Samstag, den 29.10.2005, 15:08 +0200 schrieb Benoit Minisini: > On Sunday 23 October 2005 23:06, Charlie Reinl wrote: > > Salut, > > > > I found the pb on my box , about the container and splitters. Old gambas2 > > libs in /usr/local/lib/gambas2 (I think it was the gambas2-1.9.5) after > > make an 'make uninstall' in all older gambas2 installations, TabStrip and > > containers are OK. > > > > Also the cursor in the IDE-consol works right. > > > > XML isn't tested, but don't send no more Warnings. > > > > I still have pb with : > > > > - User.Name > > Which problem ? There, when I type PRINT User.Name, I get "benoit". Well, on the consol that works, but in the IDE , first after the dot if get only Home and ID , and if I type User.Name an error raise, claiming User.Name is not static > > > > > - The debug-Cursor shows the text behind only in the first line when you > > first enter into a procedure/sub/function, after that you have only a > > colored line. > > > > - Breakpoints hide also the text under. > > It works there... Don't you have custom colors? No, only selecteted Colors/Bright > > > > > - and a new one see attached screen ? Any idea, What else must be destroit, > > for makeing gambas2 working well ? > > Try to recompile from scratch from a fresh source directory, install on a > specific directory ('/usr/local/gambas-1.9.20' for example), and check that > everything is correct during the installation process. Yes but befor I do this , I wanted to konw, if I have to clean up other directories on the system . > > > > > Amicalment > > Charlie > > Regards, > From gambas at ...1... Sun Oct 30 00:43:45 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 30 Oct 2005 00:43:45 +0200 Subject: [Gambas-devel] Release of gambas 1.9.21 Message-ID: <200510300043.45467.gambas@...1...> Hi all, It was a long time before a new release... Here is the changelog: --8<------------------------------------------------------------------------- CONFIGURATION * Now the search of libintl, libgettextlib and libiconv libraries display a more accurate warning message. DEVELOPMENT ENVIRONMENT * BUG: The automatic completion does not crash anymore when a class inherits an unknown parent class. DATABASE MANAGER * BUG: Deleting rows in a table works again. * BUG: Field names are case unsensitive now in the table edition window. COMPILER * WARNING: The SCAN instruction has been removed, and replaced by the Scan() subroutine. INTERPRETER * NEW: a new API that allows components to define a function for creating Image objects, and for using it. * NEW: Object.Is(), a new static method for checking if the class of an object is or inherits a given class. * NEW: Stream.EndOfLine is a new property for setting the end of line pattern of a stream. This pattern is used by the LINE INPUT and PRINT functions. Possible values are gb.Unix, gb.Windows and gb.Mac. By default, the end of line pattern is gb.Unix. * WARNING: The SCAN instruction has been removed, and replaced by the Scan() subroutine. * NEW: A component is not loaded if it has the same name as the project. This way, debugging component made in gambas are far easier. * BUG: Enumerating objects like Result works again. * BUG: Looping with a Byte or Short variable now works correctly. * BUG: Formatting a date with AM/PM now displays an hour value between 1 and 12, and not 0 and 11 as before. * BUG: Displaying numbers in decimal now is more accurate, and should not display things like 123,00000000001 anymore. * BUG: The interpreter event loop was fixed. SETTINGS COMPONENT * NEW: Settings.Read() and Settings.Write() allow reading and writing settings for Window objects: position, and size. QT COMPONENT * NEW: The Separator control, that displays an horizontal or vertical separator line. * BUG: The DblClick event is now posted, and not raised immediately as before. * NEW: Window.ToolBox, a new property to tell the window manager that a window is a toolbar. QT EXTENSION COMPONENT * BUG: Some fixes in highlighting process of the Editor control. KDE HTML COMPONENT * NEW: Webrowser.Java, a new property for allowing java in the browser. GTK+ COMPONENT * Updated. DATABASE COMPONENT: * NEW: Result.Delete now takes an optional boolean parameter to prevent the deleted record for being removed for the Result object. XML COMPONENT * BUG: Patch from Dirk Mueller, that fixes an uninitialized variable access. OPENGL COMPONENT * Updated. CORBA COMPONENT * New component made by Carlo Sorda. LDAP COMPONENT * New component made by Carlo Sorda. --8<------------------------------------------------------------------------- As you may have noticed, there are two new components: one for using the ldap library, one other for doing Corba things. They have been made by Carlo Sorda, and he will explain you far better than me how to use them... Regards, -- Benoit Minisini From gambas at ...1... Sun Oct 30 00:46:19 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 30 Oct 2005 00:46:19 +0200 Subject: [Gambas-devel] Using Gambas2-1.9.20 (4) In-Reply-To: <1130625773.9151.5.camel@...326...> References: <200510232306.43205.Karl.Reinl@...16...> <200510291508.17436.gambas@...1...> <1130625773.9151.5.camel@...326...> Message-ID: <200510300046.19152.gambas@...1...> On Sunday 30 October 2005 00:42, Charlie Reinl wrote: > Am Samstag, den 29.10.2005, 15:08 +0200 schrieb Benoit Minisini: > > On Sunday 23 October 2005 23:06, Charlie Reinl wrote: > > > Salut, > > > > > > I found the pb on my box , about the container and splitters. Old > > > gambas2 libs in /usr/local/lib/gambas2 (I think it was the > > > gambas2-1.9.5) after make an 'make uninstall' in all older gambas2 > > > installations, TabStrip and containers are OK. > > > > > > Also the cursor in the IDE-consol works right. > > > > > > XML isn't tested, but don't send no more Warnings. > > > > > > I still have pb with : > > > > > > - User.Name > > > > Which problem ? There, when I type PRINT User.Name, I get "benoit". > > Well, on the consol that works, but in the IDE , first after the dot if > get only Home and ID , and if I type User.Name an error raise, claiming > User.Name is not static > > > > - The debug-Cursor shows the text behind only in the first line when > > > you first enter into a procedure/sub/function, after that you have > > > only a colored line. > > > > > > - Breakpoints hide also the text under. > > > > It works there... Don't you have custom colors? > > No, only selecteted Colors/Bright > > > > - and a new one see attached screen ? Any idea, What else must be > > > destroit, for makeing gambas2 working well ? > > > > Try to recompile from scratch from a fresh source directory, install on a > > specific directory ('/usr/local/gambas-1.9.20' for example), and check > > that everything is correct during the installation process. > > Yes but befor I do this , I wanted to konw, if I have to clean up other > directories on the system . Nothing else. Everything is stored into the installation directory, except a few symbolic links in /usr/bin. I think you have really a compilation/installation problem. Please retry everything from scratch, and be careful with all error messages during installation. Regards, -- Benoit Minisini From Karl.Reinl at ...16... Sun Oct 30 18:44:31 2005 From: Karl.Reinl at ...16... (Charlie Reinl) Date: Sun, 30 Oct 2005 18:44:31 +0100 Subject: [Gambas-devel] Now using Using Gambas2-1.9.21 Message-ID: <200510301844.31975.Karl.Reinl@...16...> Salut Benoit, after a su -c 'make uninstall' in gambas2-1.9.20 I made a tar xvjf gambas2-1.9.21.tar.bz2 , moved int gambas2-1.9.21 and made ./configure , then make and at last su -c 'make install' I attachted you the 3 log files and a file showing my box. Here what I found: - User.Name don't work in project (on consol return the users name) see attachted User.Name.png - Text underlaying on Breakpoints and Debug-Cursor are only visible if 'Use relief' is used. Without 'Use relief' the underlaying text on the Debug-Cursor is visible only once, while entering into a new Function/Sub etc. - the cursor in the IDE consol is not on his right place. Type ABCDEFG and you see that the cursor is between F and G - Tip of the day don't find his text. Amicalment Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: sysInfo.log Type: text/x-log Size: 3125 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: make_install.log Type: text/x-log Size: 84652 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: make.log Type: text/x-log Size: 243308 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: configure.log Type: text/x-log Size: 84 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: User.Name.png Type: image/png Size: 10131 bytes Desc: not available URL: From dcamposf at ...176... Sun Oct 30 19:08:40 2005 From: dcamposf at ...176... (Daniel Campos) Date: Sun, 30 Oct 2005 19:08:40 +0100 Subject: [Gambas-devel] Now using Using Gambas2-1.9.21 In-Reply-To: <200510301844.31975.Karl.Reinl@...16...> References: <200510301844.31975.Karl.Reinl@...16...> Message-ID: <7259b5ae0510301008i8863cd4i@...178...> Here the "User" class works OK (Debian Sarge/Linex)... no matter if you use Gambas without gb.qt or with it... Did you used ./configure with the same flags as previous versions? Specially the --prefix option. Try also to remove all the .info files and regenerate them with gbi2 Regards, D. Campos 2005/10/30, Charlie Reinl : > Salut Benoit, > > after a su -c 'make uninstall' in gambas2-1.9.20 > I made a tar xvjf gambas2-1.9.21.tar.bz2 , moved int gambas2-1.9.21 > and made ./configure , then make and at last su -c 'make install' > I attachted you the 3 log files and a file showing my box. > > Here what I found: > > - User.Name don't work in project (on consol return the users name) see > attachted User.Name.png > > - Text underlaying on Breakpoints and Debug-Cursor are only visible if 'Use > relief' is used. Without 'Use relief' the underlaying text on the > Debug-Cursor is visible only once, while > entering into a new Function/Sub etc. > > - the cursor in the IDE consol is not on his right place. > Type ABCDEFG and you see that the cursor is between F and G > > - Tip of the day don't find his text. > > Amicalment > Charlie > > > From na2492 at ...16... Sun Oct 30 20:20:26 2005 From: na2492 at ...16... (Charlie Reinl) Date: Sun, 30 Oct 2005 20:20:26 00100 Subject: [Gambas-devel] Now using Using Gambas2-1.9.21 Message-ID: <43651cfa.dc4.0@...16...> >Here the "User" class works OK (Debian Sarge/Linex)... no matter if >you use Gambas without gb.qt or with it... like I said, it works on IDE-console, but not in a project. > >Did you used ./configure with the same flags as previous versions? No, with 1.9.20 I used -C and disabled the components >Specially the --prefix option. Try also to remove all the .info files >and regenerate them with gbi2 I,ll try that Thx Charlie >Regards, > >D. Campos > >2005/10/30, Charlie Reinl : >> Salut Benoit, >> >> after a su -c 'make uninstall' in gambas2-1.9.20 >> I made a tar xvjf gambas2-1.9.21.tar.bz2 , moved int gambas2-1.9.21 >> and made ./configure , then make and at last su -c 'make install' >> I attachted you the 3 log files and a file showing my box. >> >> Here what I found: >> >> - User.Name don't work in project (on consol return the users name) see >> attachted User.Name.png >> >> - Text underlaying on Breakpoints and Debug-Cursor are only visible if 'Use >> relief' is used. Without 'Use relief' the underlaying text on the >> Debug-Cursor is visible only once, while >> entering into a new Function/Sub etc. >> >> - the cursor in the IDE consol is not on his right place. >> Type ABCDEFG and you see that the cursor is between F and G >> >> - Tip of the day don't find his text. >> >> Amicalment >> Charlie >> >> >> > > >------------------------------------------------------- >This SF.Net email is sponsored by the JBoss Inc. >Get Certified Today * Register for a JBoss Training Course >Free Certification Exam for All Training Attendees Through End of 2005 >Visit http://www.jboss.com/services/certification for more information >_______________________________________________ >Gambas-devel mailing list >Gambas-devel at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-devel > > * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From na2492 at ...16... Sun Oct 30 20:39:31 2005 From: na2492 at ...16... (Charlie Reinl) Date: Sun, 30 Oct 2005 20:39:31 00100 Subject: [Gambas-devel] Now using Using Gambas2-1.9.21 Message-ID: <43652173.1886.0@...16...> >Here the "User" class works OK (Debian Sarge/Linex)... no matter if >you use Gambas without gb.qt or with it... > >Did you used ./configure with the same flags as previous versions? >Specially the --prefix option. Try also to remove all the .info files >and regenerate them with gbi2 > >Regards, > >D. Campos Salut Daniel, see the attached project, if I add gb.db I see after User. only ID and Home. Without gb.de I see also Name. The pb in the IDE-console rests, also the pb with Tip of the day, and the Debug and Breakpoit problem. Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * -------------- next part -------------- A non-text attachment was scrubbed... Name: TestGambas2-0.0.1.tar.gz Type: application/x-tgz Size: 413 bytes Desc: not available URL: From gambas at ...1... Mon Oct 31 10:58:58 2005 From: gambas at ...1... (Benoit Minisini) Date: Mon, 31 Oct 2005 10:58:58 +0100 Subject: [Gambas-devel] Now using Using Gambas2-1.9.21 In-Reply-To: <200510301844.31975.Karl.Reinl@...16...> References: <200510301844.31975.Karl.Reinl@...16...> Message-ID: <200510311058.58980.gambas@...1...> On Sunday 30 October 2005 18:44, Charlie Reinl wrote: > Salut Benoit, > > after a su -c 'make uninstall' in gambas2-1.9.20 > I made a tar xvjf gambas2-1.9.21.tar.bz2 , moved int gambas2-1.9.21 > and made ./configure , then make and at last su -c 'make install' > I attachted you the 3 log files and a file showing my box. > > Here what I found: > > - User.Name don't work in project (on consol return the users name) see > attachted User.Name.png OK. I understand the bug now. It's my fault: there is a class named User in gb *and* in gb.db, which creates a clash. > > - Text underlaying on Breakpoints and Debug-Cursor are only visible if 'Use > relief' is used. Without 'Use relief' the underlaying text on the > Debug-Cursor is visible only once, while > entering into a new Function/Sub etc. Indeed. This is fixed in the new Editor control, that will replace the current GambasEditor control sometime. Please use relief until I fix it or I use Editor effectively. > > - the cursor in the IDE consol is not on his right place. > Type ABCDEFG and you see that the cursor is between F and G Do you have a screenshot? I never noticed that. Can you explain me what you do exactly? > > - Tip of the day don't find his text. Do you have a screenshot? Regards, -- Benoit Minisini From gambas at ...1... Mon Oct 31 11:18:19 2005 From: gambas at ...1... (Benoit Minisini) Date: Mon, 31 Oct 2005 11:18:19 +0100 Subject: [Gambas-devel] Now using Using Gambas2-1.9.21 In-Reply-To: <43652173.1886.0@...16...> References: <43652173.1886.0@...16...> Message-ID: <200510311118.19388.gambas@...1...> On Sunday 30 October 2005 21:39, Charlie Reinl wrote: > >Here the "User" class works OK (Debian Sarge/Linex)... no matter if > >you use Gambas without gb.qt or with it... > > > >Did you used ./configure with the same flags as previous versions? > >Specially the --prefix option. Try also to remove all the .info files > >and regenerate them with gbi2 > > > >Regards, > > > >D. Campos > > Salut Daniel, > > see the attached project, if I add gb.db I see after User. only ID and > Home. > Without gb.de I see also Name. > > The pb in the IDE-console rests, also the pb with Tip of the day, and the > Debug and Breakpoit problem. > > Amicalment > Charlie > * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * In the next version, I will rename the 'User' class of gb.db as 'DatabaseUser'. -- Benoit Minisini From gambas at ...1... Mon Oct 31 15:00:33 2005 From: gambas at ...1... (Benoit Minisini) Date: Mon, 31 Oct 2005 15:00:33 +0100 Subject: [Gambas-devel] Note for component developers Message-ID: <200510311500.33939.gambas@...1...> Just a remark: In the top Makefile.am file of a component (for example, ./gb.qt/Makefile.am), the first line must be: 'SUBDIR=@XXX_DIR@' and not 'SUBDIR=src', where XXX is the name of the component or library, as defined in the GB_COMPONENT() or GB_COMPONENT_PKG_CONFIG() macro in the ./configure.ac file. Otherwise, disabled components are compiled all the same! Regards, -- Benoit Minisini