From lordheavy at ...141... Fri Oct 1 16:33:08 2004 From: lordheavy at ...141... (Laurent Carlier) Date: Fri, 1 Oct 2004 16:33:08 +0200 Subject: [Gambas-devel] First step for a Gambas-sdl video component Message-ID: <200410011633.09003.lordheavy@...141...> I've start working on a sdl-video componenr for gambas. Here my first early work. It need a lot of work and is very -basic-. I've got a bug with the timer if some can take a look et and explain me where i'm wrong will be nice. Lot of enhancement are planned. Thanks, -- Laurent Carlier -------------- next part -------------- A non-text attachment was scrubbed... Name: mysdl-20041001.tar.gz Type: application/x-tgz Size: 60426 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: GfxTest.tar.gz Type: application/x-tgz Size: 840 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: TimerTest.tar.gz Type: application/x-tgz Size: 1023 bytes Desc: not available URL: From ronstk at ...124... Sat Oct 2 04:25:37 2004 From: ronstk at ...124... (ron) Date: Sat, 2 Oct 2004 04:25:37 +0200 Subject: [Gambas-devel] First step for a Gambas-sdl video component In-Reply-To: <200410011633.09003.lordheavy@...141...> References: <200410011633.09003.lordheavy@...141...> Message-ID: <200410020425.38722.ronstk@...124...> On Friday 01 October 2004 16:33, Laurent Carlier wrote: > I've start working on a sdl-video componenr for gambas. Here my first early > work. It need a lot of work and is very -basic-. > > I've got a bug with the timer if some can take a look et and explain me where > i'm wrong will be nice. Lot of enhancement are planned. > > Thanks, > In your timertest example you are using: DIM timer1 as Timer DIM timer2 as Timer This is the weak point of gambas. It has his own Timer object/class. Definied as gb.qt.Timer in the help. Your intention is to use gb.mysdl.Timer. It is the leak of namespace you cant do: Dim timer1 as mysdl.Timer Dim timer2 as qt.Timer The namespace is here 'mysdl' and 'qt' and can have 2 different timers classes. It can be true several components have the same name for controls/objects/classes in it but not for gambas components in a easy way. i.e. gb.qt.Dialog is overruled by gb.qt.kde.Dialog. Using this component for the URLLabel prevents you to use the more friendly gb.qt.Dialog without the KDE look (as example!). For gambas these should have a unique name or by add a prefix or suffix to tell the difference. Maybe this helps against you bug with the timer. From tecnicoma at ...164... Sat Oct 2 16:55:01 2004 From: tecnicoma at ...164... (KARIM MHAMED) Date: Sat, 2 Oct 2004 16:55:01 +0200 (CEST) Subject: [Gambas-devel] (no subject) Message-ID: <20041002145501.60505.qmail@...165...> ok --------------------------------- Cr?ez gratuitement votre Yahoo! Mail avec 100 Mo de stockage ! Cr?ez votre Yahoo! Mail Le nouveau Yahoo! Messenger est arriv? ! D?couvrez toutes les nouveaut?s pour dialoguer instantan?ment avec vos amis.T?l?chargez GRATUITEMENT ici ! -------------- next part -------------- An HTML attachment was scrubbed... URL: From Karl.Reinl at ...16... Sat Oct 2 22:29:59 2004 From: Karl.Reinl at ...16... (Charlie Reinl) Date: Sat, 2 Oct 2004 22:29:59 +0200 Subject: [Gambas-devel] about X11 pb at a Yoper box Message-ID: <200410022230.00037.Karl.Reinl@...16...> Salut, Yoper is using generally very new Components like gcc 3.4.x may be they stripped also xFree86 for the XOrg version. I thing there is the problem. Aske Benoit. Amicalement Charlie From karl.reinl at ...16... Sun Oct 3 22:25:53 2004 From: karl.reinl at ...16... (Charlie) Date: Sun, 03 Oct 2004 22:25:53 +0200 Subject: [Gambas-devel] Question to the C-workers. References: <0C51CB064292C647BE2FF317A92BB6C388960F@...104...> Message-ID: <41606051.1030902@...16...> Ahmed Kamal schrieb: >Perhaps this is of interest >http://www.eclipse.org/cdt/ >Also search sf.net for c++ IDE, you should find some interesting stuff. > Finally it rans, one month a go I found in a Mag a DVD with all the eclipse 3.0 stuff for for all platforms, included CDT 2.0. After installing (its just a copy to /usr/lib (at gentoo)) and it works. But not on my box, hat strange crashes and for all I couldn't start an project. After some emails to the eclipse-list, without results, I found on the gentoo archive a mail, who said tho move from blackdown-jdk to sun-jdk. A download later ( 34 Mb / 1,5 h ), now I'm ready, till now no more crash, can start project. If I have more news, will let you know. Amicalement Charlie From ronstk at ...124... Mon Oct 4 09:22:09 2004 From: ronstk at ...124... (ron) Date: Mon, 4 Oct 2004 09:22:09 +0200 Subject: [Gambas-devel] libxml-0.0.2 In-Reply-To: <1096114053.3304.7.camel@...102...> References: <1096100541.3525.2.camel@...102...> <200409251203.36975.ronstk@...124...> <1096114053.3304.7.camel@...102...> Message-ID: <200410040922.11229.ronstk@...124...> Hi Daniel,Benoit Still having problems. libxml2 is as far I can see OK now. My result sofar follows. The libxml is the only extra lib now to make sure no other are messing up. I do every time after changes: make clean; ./reconf; ./configure --disable-curl; make ------------------- make[4]: Leaving directory `/usr/local/src/gambas-0.99/src/lib/vb' Making all in libxml make[4]: Entering directory `/usr/local/src/gambas-0.99/src/lib/libxml' if /bin/sh ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share /usr/local/include/libxml2 -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT main.lo -MD -MP -MF ".deps/main.Tpo" \ -c -o main.lo `test -f 'main.c' || echo './'`main.c; \ then mv -f ".deps/main.Tpo" ".deps/main.Plo"; \ else rm -f ".deps/main.Tpo"; exit 1; \ fi gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share /usr/local/include/libxml2 -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.c -fPIC -DPIC -o main.lo gcc: cannot specify -o with -c or -S and multiple compilations make[4]: *** [main.lo] Error 1 make[4]: Leaving directory `/usr/local/src/gambas-0.99/src/lib/libxml' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/local/src/gambas-0.99/src/lib' I do not understand why: gcc: cannot specify -o with -c or -S and multiple compilations ?????????????? ***************************************************************************** ---------------- in */configure.in dnl libxml GB_COMPONENT( libxml, LIBXML, [LIBXML component], [GB_FIND(xmlversion.h, /usr/local /usr, include include/libxml* include/libxml*/*)], [GB_FIND(libxml2.$SHLIBEXT, /usr/local /usr, lib)], [-llibxml2]) note: In last [$GLIB_C -llibxml] changed to [-llibxml2] if it must be the library then the name should be libxml2 instead libxml. ----------------- in */src/lib/Makefile.am SUBDIRS = debug eval db compress @QT_DIR@ @NET_DIR@ @SDL_DIR@ @VB_DIR@ @LIBXML_DIR@ EXTRA_DIST = *.component example install-exec-local: @cp -f *.component $(pkglibdir) ----------------- in */src/lib/libxml/Makefile.am INCLUDES = -I$(top_srcdir)/src/share /usr/local/include/libxml2 # @LIBXML_INC@ EXTRA_DIST = *.component pkglib_LTLIBRARIES = lib.gb.xml.libxml.la lib_gb_xml_libxml_la_LIBADD = /usr/local/include/libxml2 # @LIBXML_INC@ lib_gb_xml_libxml_la_LDFLAGS = @LD_FLAGS@ -lxml2 -lpthread -lz -lm lib_gb_xml_libxml_la_SOURCES = \ main.h \ main.c \ CXMLNode.h \ CXMLNode.c \ CXMLReader.h \ CXMLReader.c \ CXMLWriter.h \ CXMLWriter.c \ CXMLDocument.h \ CXMLDocument.c install-exec-local: note1: /usr/local/include/libxml2 instead @LIBXML_INC@ note2: I had also to remove /libxml as end of above line behind libxml2 to get it correct. The @LIBXML_INC@ does not work as in the wiki page here. -------------------------- ./configure shows the correct path to the libxml however if I use the @xxx@ then during compile it is to /usr/include instead /usr/local/include Sofar it is going OK for finding libraries and include as I can see. libxml2 is build and installed to /usr/local as prefix. 'make test' with it says everything OK. From sourceforge-raindog2 at ...19... Mon Oct 4 15:58:10 2004 From: sourceforge-raindog2 at ...19... (Rob) Date: Mon, 4 Oct 2004 09:58:10 -0400 Subject: [Gambas-devel] gb.pcre 0.0.4 Message-ID: <200410040958.10463.sourceforge-raindog2@...19...> This version adds SubMatchOffset() and makes all properties read-only. I also threw in a readme file with a synopsis and pointer to instructions on building components. Rob -------------- next part -------------- A non-text attachment was scrubbed... Name: pcre-0.0.4.tar.gz Type: application/x-tgz Size: 9415 bytes Desc: not available URL: From lordheavy at ...141... Mon Oct 4 16:15:30 2004 From: lordheavy at ...141... (Laurent Carlier) Date: Mon, 4 Oct 2004 16:15:30 +0200 Subject: [Gambas-devel] First step for a Gambas-sdl video component In-Reply-To: <200410020425.38722.ronstk@...124...> References: <200410011633.09003.lordheavy@...141...> <200410020425.38722.ronstk@...124...> Message-ID: <200410041615.30555.lordheavy@...141...> Le Samedi 2 Octobre 2004 04:25, ron a ?crit?: > The namespace is here 'mysdl' and 'qt' and can > have 2 different timers classes. > > It can be true several components have the same > name for controls/objects/classes in it but not > for gambas components in a easy way. > > i.e. gb.qt.Dialog is overruled by gb.qt.kde.Dialog. > Using this component for the URLLabel prevents you > to use the more friendly gb.qt.Dialog without the > KDE look (as example!). > > For gambas these should have a unique name or by > add a prefix or suffix to tell the difference. > > Maybe this helps against you bug with the timer. > Here it doesnt come from a namespace issue. I've found in the sound.c file (sdl component) that an event can't be raise from a static function .... I think it's the problem :) I should make a customized hook loop i think. Regards, -- Laurent Carlier From gambas at ...1... Tue Oct 5 16:41:57 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 5 Oct 2004 16:41:57 +0200 Subject: [Gambas-devel] First step for a Gambas-sdl video component In-Reply-To: <200410011633.09003.lordheavy@...141...> References: <200410011633.09003.lordheavy@...141...> Message-ID: <200410051641.57530.gambas@...1...> On Friday 01 October 2004 16:33, Laurent Carlier wrote: > I've start working on a sdl-video componenr for gambas. Here my first early > work. It need a lot of work and is very -basic-. > > I've got a bug with the timer if some can take a look et and explain me > where i'm wrong will be nice. Lot of enhancement are planned. > > Thanks, You must give a name to the timer so that it can raises events. MyTimer = NEW Timer AS "Timer1" ==> Timer1_Timer() is called. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Oct 5 16:51:04 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 5 Oct 2004 16:51:04 +0200 Subject: [Gambas-devel] gb.pcre 0.0.4 In-Reply-To: <200410040958.10463.sourceforge-raindog2@...19...> References: <200410040958.10463.sourceforge-raindog2@...19...> Message-ID: <200410051651.04516.gambas@...1...> On Monday 04 October 2004 15:58, Rob wrote: > This version adds SubMatchOffset() and makes all properties > read-only. I also threw in a readme file with a synopsis and > pointer to instructions on building components. > > Rob Good work, Rob. I suggest you the following interface: 1) Rename the class from 'Regex' to 'RegExp'. 2) Make a virtual class '.RegExpSubmatches' and make a property 'SubMatch' that returns it. 3) '.RegExpSubmatches' will have only one method: '_get', and will return a virtual class '.RegExpSubmatch'. 4) The virtual class '.RegExpSubmatch' will have three properties: - Text, that will act as the old method SubMatch(Index). - Offset, that will act as the old method SubMatchOffset(Index). - Count, that will act as the old method SubMatchCount(Index). This way, we could have the following syntax: MyRegExp = NEW RegExp("...", "...") PRINT MyRegExp.SubMatch[1].Text ... If you are not easy with virtual classes, look at the ListBox code to see how it returns ListBox items. As for a 'MATCH' keyword, this would need support from the interpreter, exactly like the Eval() subroutine. So I'm not sure I will do it now. Regards, -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...19... Tue Oct 5 17:07:50 2004 From: sourceforge-raindog2 at ...19... (Rob) Date: Tue, 5 Oct 2004 11:07:50 -0400 Subject: [Gambas-devel] gb.pcre 0.0.4 In-Reply-To: <200410051651.04516.gambas@...1...> References: <200410040958.10463.sourceforge-raindog2@...19...> <200410051651.04516.gambas@...1...> Message-ID: <200410051107.50636.sourceforge-raindog2@...19...> On Tuesday 05 October 2004 10:51, Benoit Minisini wrote: > Good work, Rob. > I suggest you the following interface: > 1) Rename the class from 'Regex' to 'RegExp'. OK, I only made it "Regex" because I can't physically say the word "RegExp" ;) > 2) Make a virtual class '.RegExpSubmatches' and make a > property 'SubMatch' that returns it. [...] > This way, we could have the following syntax: > MyRegExp = NEW RegExp("...", "...") > PRINT MyRegExp.SubMatch[1].Text Actually, with my existing code it's shorter: MyRegExp = NEW RegEx("...", "...") PRINT MyRegExp.SubMatch(1) But I see the value of making it a virtual class. I almost did that originally but I just wanted to get the code working. Is there any way I can make a "default property" of a virtual class such that MyRegExp.Submatch[1] returns the submatch text the same as MyRegExp.Submatch[1].Text, but MyRegExp.Submatch[1].Offset would still work? > If you are not easy with virtual classes, look at the ListBox > code to see how it returns ListBox items. Thank you, I certainly will be consulting the Qt component for all this "virtual class within virtual class" stuff. > As for a 'MATCH' keyword, this would need support from the > interpreter, exactly like the Eval() subroutine. So I'm not > sure I will do it now. I don't see how you could do it anyway unless I made a static version of the class. I have made a module (which i added to my local copy of the IDE) to do a match or replace in 5 or 6 different ways anyway, so maybe once gambas code can be used in components I can make a gb.pcre.match component or something. Rob From jredrejo at ...101... Wed Oct 6 10:50:20 2004 From: jredrejo at ...101... (=?ISO-8859-1?Q?Jos=E9?= L. Redrejo =?ISO-8859-1?Q?Rodr=EDguez?=) Date: Wed, 06 Oct 2004 10:50:20 +0200 Subject: [Gambas-devel] config.sub & config.guess files Message-ID: <1097052619.6821.10.camel@...134...> Hi. I am going to upload gambas to the official Debian distro, and I am having some problems with the sources. The main one is that the config.sub and config.guess files are too old, and that will make gambas fail in some platforms, specilall in GNU/KFreeBSD. Does anyone have a more updated version of these packages? If not, Beno?t, would you mind to update them? And, Beno?t, if you have some patches you think I should apply to the 0.99 version before uploading it to Debian, send them to me. I will apply at least, those I sent related to the debian packaging creation from the gambas IDE. Regards From jredrejo at ...101... Wed Oct 6 12:03:37 2004 From: jredrejo at ...101... (=?ISO-8859-1?Q?Jos=E9?= L. Redrejo =?ISO-8859-1?Q?Rodr=EDguez?=) Date: Wed, 06 Oct 2004 12:03:37 +0200 Subject: [Gambas-devel] Debian packages Message-ID: <1097057017.6821.33.camel@...134...> I have uploaded a preliminary version of the debian packages that I am going to put into the Debian distro. They are located at http://cvs.linex.org/linex/gambas. I have made very few modifications in the sources: patching it to make debian packages generation work and changing the config.sub y config.guess files to the updated versions from ftp://ftp.gnu.org/gnu/config/ The rest of the changes are inside the debian directory. Among them I have had to prepare man pages for all the binaries to fulfill the Debian policy. I would like your opinion, sugerences, modifications, etc. for these changes before the definitive uploading to Debian. Regards. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Esta parte del mensaje est? firmada digitalmente URL: From gambas at ...1... Wed Oct 6 17:14:07 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 6 Oct 2004 17:14:07 +0200 Subject: [Gambas-devel] gb.pcre 0.0.4 In-Reply-To: <200410051107.50636.sourceforge-raindog2@...19...> References: <200410040958.10463.sourceforge-raindog2@...19...> <200410051651.04516.gambas@...1...> <200410051107.50636.sourceforge-raindog2@...19...> Message-ID: <200410061714.07553.gambas@...1...> On Tuesday 05 October 2004 17:07, Rob wrote: > On Tuesday 05 October 2004 10:51, Benoit Minisini wrote: > > Good work, Rob. > > I suggest you the following interface: > > 1) Rename the class from 'Regex' to 'RegExp'. > > OK, I only made it "Regex" because I can't physically say the > word "RegExp" ;) > > > 2) Make a virtual class '.RegExpSubmatches' and make a > > property 'SubMatch' that returns it. > > [...] > > > This way, we could have the following syntax: > > MyRegExp = NEW RegExp("...", "...") > > PRINT MyRegExp.SubMatch[1].Text > > Actually, with my existing code it's shorter: > > MyRegExp = NEW RegEx("...", "...") > PRINT MyRegExp.SubMatch(1) I know. It is just that I try to use the following implicit logic: - Use [] when you get date from something already computed, or that is very fast to compute. - Use () when there is some processing behind (heavy or not), that may access external data. In a few false words: [] means fast and () means slow. > > But I see the value of making it a virtual class. I almost did > that originally but I just wanted to get the code working. Is > there any way I can make a "default property" of a virtual class > such that > > MyRegExp.Submatch[1] > > returns the submatch text the same as MyRegExp.Submatch[1].Text, > but > > MyRegExp.Submatch[1].Offset > > would still work? > This is not possible, as there is no default property in Gambas. > > If you are not easy with virtual classes, look at the ListBox > > code to see how it returns ListBox items. > > Thank you, I certainly will be consulting the Qt component for > all this "virtual class within virtual class" stuff. > > > As for a 'MATCH' keyword, this would need support from the > > interpreter, exactly like the Eval() subroutine. So I'm not > > sure I will do it now. > > I don't see how you could do it anyway unless I made a static > version of the class. I have made a module (which i added to my > local copy of the IDE) to do a match or replace in 5 or 6 > different ways anyway, so maybe once gambas code can be used in > components I can make a gb.pcre.match component or something. This is not a problem. Look how the interpreter internally creates an Expression object each time you call Eval(). More important, the following points: 1) Why storing the text or the pattern if you don't use them once the expresson is executed ? You could store the pattern, it is rarely a very long string. But storing the text... I suggest you split the compilation process and the execution process in the RegExp class, the same way I did in the Expression class in the gb.eval component. MyRegExp = NEW RegExp MyRegExp.Pattern = "the pattern" MyRegExp.Compile() MyRegExp.Execute("the text") ' or .Exec("the text"), or .Matches("the text") ==> returns the return value of pcre_exec(). Of course, you can keep the 'NEW RegExp(Text, Pattern)' syntax with optional arguments. 2) pcre_exec() wants a pointer and a length. So you don't need to call GB.ToZeroString(), that you must use only if you need a zero-terminated string. Instead of: THIS->rc = pcre_exec(code, NULL, GB.ToZeroString(ARG(subject)), LENGTH(subject), 0, 0, ovector, 99); Do: THIS->rc = pcre_exec(code, NULL, STRING(subject), LENGTH(subject), 0, 0, ovector, 99); 3) There are many options and error constants in libpcre. You should create Gambas constants for them: RegExp.NotBOL, RegExp.NotEmpty... This way, the complete power of libpcre is accessible to the user ! :-) Especially UTF-8... Regards, -- Benoit Minisini mailto:gambas at ...1... From lordheavy at ...141... Wed Oct 6 18:49:06 2004 From: lordheavy at ...141... (Laurent Carlier) Date: Wed, 6 Oct 2004 18:49:06 +0200 Subject: [Gambas-devel] First step for a Gambas-sdl video component In-Reply-To: <200410051641.57530.gambas@...1...> References: <200410011633.09003.lordheavy@...141...> <200410051641.57530.gambas@...1...> Message-ID: <200410061849.07020.lordheavy@...141...> Le Mardi 5 Octobre 2004 16:41, Benoit Minisini a ?crit?: > On Friday 01 October 2004 16:33, Laurent Carlier wrote: > > I've start working on a sdl-video componenr for gambas. Here my first > > early work. It need a lot of work and is very -basic-. > > > > I've got a bug with the timer if some can take a look et and explain me > > where i'm wrong will be nice. Lot of enhancement are planned. > > > > Thanks, > > You must give a name to the timer so that it can raises events. > > MyTimer = NEW Timer AS "Timer1" > > ==> Timer1_Timer() is called. Thanks, it works very well now :) -- Laurent Carlier From ktomala at ...166... Fri Oct 8 14:31:12 2004 From: ktomala at ...166... (Karol Tomala) Date: Fri, 08 Oct 2004 14:31:12 +0200 Subject: [Gambas-devel] XML and OpenSSL component Message-ID: <1097238672.15449.39.camel@...167...> Hello everybody! I'm new to this list so maybe I'll introduce myself shortly. My name is Karol Tomala and I'm network administrator at Bakertilly International Poland. Gambas is nice tool that I'm using to write some programs to help me manage european-scale corporate network. However seeing no XML component I began writing classes for it by myself. I have contacted Benoit and he told me to get in touch with Daniel Campos regarding the XML component. If you'd be interested in taking a look at my classes for XML documents I'll provide them to you. Currently there are three classes: cXMLDoc, cXMLTag and cXMLTagOpt. They are written in raw Gambas (no C++ whatsoever). I have tested them extensively using OpenOffice.org documents and it works. This is very simple XML component and it doesn't have any parser yet. However it has some nice capabilities for handling small documents (with tag edition, automatic depth resolution and many other useful things). It doesn't need any kind of validator because it's not using any DTD, XPath or such things and class methods are resolving problems with depth matching, closing/opening tag resolution automatically. It's very simple to use, however quite powerful. If you want to take a look (and maybe make use of it) let me know. I'll prepare package, clean up some code and finish documentation. Also. I have a question regarding OpenSSL component. Does anyone work on it? I don't mean handling HTTPS traffic in gb.net.curl. I need server/client sockets with OpenSSL handling so I can create client/server software using encryption. It's very important for me because I want to write network administration and monitoring programs and Gambas would let me do this very quickly and efficiently. If only it had OpenSSL sockets. Greetings, -- Karol Tomala [Network administrator] TGC Group / Contract Administration Sp. z o.o. Mail: ktomala (at) tgc (dot) pl WWW: www.tgc.pl | www.bakertilly.pl Phone: (+48 22) 6533833 Mobile: (+48) 693290300 Address: ul. Kr?lewska 27 00-060 Warsaw Poland From na2492 at ...16... Fri Oct 8 20:16:06 2004 From: na2492 at ...16... (Charlie Reinl) Date: Fri, 8 Oct 2004 20:16:06 00200 Subject: [Gambas-devel] XML and OpenSSL component Message-ID: <4166d966.45d6.0@...16...> >Hello everybody! >I'm new to this list so maybe I'll introduce myself shortly. My name is >Karol Tomala and I'm network administrator at Bakertilly International >Poland. Gambas is nice tool that I'm using to write some programs to >help me manage european-scale corporate network. However seeing no XML >component I began writing classes for it by myself. > >I have contacted Benoit and he told me to get in touch with Daniel >Campos regarding the XML component. > >If you'd be interested in taking a look at my classes for XML documents >I'll provide them to you. Currently there are three classes: cXMLDoc, >cXMLTag and cXMLTagOpt. They are written in raw Gambas (no C++ >whatsoever). --- snip ---------------------------------- Salut , I'm very interested to use ,this kind of your XML-classes, because I use since 2 years XML in that way, to stock informations, for my programs. But till now I read and write them by line. So if you want, you can take it to the list or to me personaly. Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From karl.reinl at ...16... Fri Oct 8 21:44:49 2004 From: karl.reinl at ...16... (Charlie) Date: Fri, 08 Oct 2004 21:44:49 +0200 Subject: [Gambas-devel] PrettyPrinter-0.3.1 for use in IDE References: <200409241744.28848.Karl.Reinl@...16...> <200409251110.41358.ronstk@...124...> Message-ID: <4166EE31.9060603@...16...> ron schrieb: >Hi charlie, >You did just the oposite as I proposed. > >--------------------- s -------------- n ---- i ------ p--------- > Salut Ron, Yes . But PrittyPrinter till works always on one line. That means he dosn't know whats the next line is. The last line before is more easier to have. So I changed, while working on it, and thats why I wrote into the Changlog 'experimental'. This 'empty line between logical block in a proc' , I haven't found the way to it. Actually I stoped, working on that. I think I will release the next PrettyPrinter without that Option. Amicalement Charlie From christian.faurebouvard at ...156... Sat Oct 9 03:12:59 2004 From: christian.faurebouvard at ...156... (Christian Faure) Date: Fri, 8 Oct 2004 22:12:59 -0300 Subject: [Gambas-devel] DBreportViewer, Qt limitation? In-Reply-To: <4166EE31.9060603@...16...> References: <200409241744.28848.Karl.Reinl@...16...> <200409251110.41358.ronstk@...124...> <4166EE31.9060603@...16...> Message-ID: <200410082212.59520.christian.faurebouvard@...156...> Hi, Working on a Report Viewer, i want display each pages of report one above other (Similar to OpenOffice.org Writer display) But, when "y" coordinate exceed 32767 (aprox. page 27 using A4), no more pages displayed, with no errors. Is a Qt limitation ? Thanks From Karl.Reinl at ...16... Sat Oct 9 15:39:14 2004 From: Karl.Reinl at ...16... (Charlie Reinl) Date: Sat, 9 Oct 2004 15:39:14 +0200 Subject: [Gambas-devel] PrettyPrinter-0.3.2 for use in IDE Message-ID: <200410091539.15039.Karl.Reinl@...16...> Salut, I send you a new version of PrettyPrinter, included into the IDE, for that I had to change FEditor.form and *.class. These files comme with the code. If you like to have a go, please, don't do it in your ?../gambas-0.99/app/gambas, make a copy from that directory Then merge the changes by copiing PPinstall-0.3.2/app/gambas/* to your test-IDE You find the PrettyPrinter in the Contextmenu of the IDE-Editor. You should NOT work on real projects, try it with copys of your projects first. OR on your copy of the IDE. Attention: ?the PrettyPrinter in the Editor menu is not managed, so you can ? change you sourcecode during debugging (but it is not the only one) !!!! The changes you find in ChangeLog.PrettyPrinter If you have still a test-gambas with the last version, you can continue to use it by merging the newer version. Thank you for your help Aamicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: PPinstall-0.3.2.tar.bz2 Type: application/x-tbz Size: 20845 bytes Desc: not available URL: From ronstk at ...124... Sat Oct 9 18:04:31 2004 From: ronstk at ...124... (ron) Date: Sat, 9 Oct 2004 18:04:31 +0200 Subject: [Gambas-devel] XML and OpenSSL component In-Reply-To: <1097238672.15449.39.camel@...167...> References: <1097238672.15449.39.camel@...167...> Message-ID: <200410091804.49353.ronstk@...124...> On Friday 08 October 2004 14:31, Karol Tomala wrote: > Hello everybody! > I'm new to this list so maybe I'll introduce myself shortly. My name is > Karol Tomala and I'm network administrator at Bakertilly International > Poland. Gambas is nice tool that I'm using to write some programs to > help me manage european-scale corporate network. However seeing no XML > component I began writing classes for it by myself. > > I have contacted Benoit and he told me to get in touch with Daniel > Campos regarding the XML component. > > If you'd be interested in taking a look at my classes for XML documents > I'll provide them to you. Currently there are three classes: cXMLDoc, > cXMLTag and cXMLTagOpt. They are written in raw Gambas (no C++ Hi Karol. I'm also interested to see. I can't get the XML from Daniel passing the compile phase. I have asked a few day's back some info about a error message but nobody could give me a tip where to look. It can be a simple option to use but there are 100 of them. After all Daniel could do it but how? I have give up and started the winbox to do the work. There I have the complete XML-Dom tree avaliable in VB6. I hope you can post it here or by private email. TIA Ron. From ronstk at ...124... Sat Oct 9 18:22:39 2004 From: ronstk at ...124... (ron) Date: Sat, 9 Oct 2004 18:22:39 +0200 Subject: [Gambas-devel] PrettyPrinter-0.3.1 for use in IDE In-Reply-To: <4166EE31.9060603@...16...> References: <200409241744.28848.Karl.Reinl@...16...> <200409251110.41358.ronstk@...124...> <4166EE31.9060603@...16...> Message-ID: <200410091822.39608.ronstk@...124...> On Friday 08 October 2004 21:44, Charlie wrote: > ron schrieb: > ...snip > Actually I stoped, working on that. > I think I will release the next PrettyPrinter without that Option. > > Amicalement > Charlie Gruss Charlie I did not get the last 4 days any mail. My fault setting :( Well the PP is working nice. Its only you know at best where to look, for me more difficult. Maybe I can do it on my own. For now I'm happy with it. The big part is done. Thanks for your contribution. Ron From danielcampos at ...45... Sun Oct 10 02:22:39 2004 From: danielcampos at ...45... (Daniel Campos) Date: Sun, 10 Oct 2004 02:22:39 +0200 Subject: [Gambas-devel] xml.libxml 0.0.4 Message-ID: <1097367759.6106.6.camel@...102...> Hi all: Here's the 0.0.4 alpha version from the gb.xml.libxml component. I've added DTD support to XmlWriter. A new class, XSLT, allows to easily convert XML documents to XHTML documents (and other formats) using the XSLT style sheets. A new component, gb.xml.libxml.rpc, allows to perform XML-RPC calls to remote servers. By now, I didn't had time to write the compilation tutorial, I can't find the way to properly modify configure.in for these two classes, even if I've read the brief tutorial at binara. Benoit, please, help me! I would like to add flags to specify where the right libraries are placed, so people using SUSE can compile the newer libxml2 libraries and put it at /usr/local, to not conflict with the evil SAX2. http://gambas.gnulinex.org/libxml/libxml-0.0.4.tar.bz2 Regards, Daniel Campos From gambas at ...1... Sun Oct 10 17:08:00 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 10 Oct 2004 17:08:00 +0200 Subject: [Gambas-devel] xml.libxml 0.0.4 In-Reply-To: <1097367759.6106.6.camel@...102...> References: <1097367759.6106.6.camel@...102...> Message-ID: <200410101708.00962.gambas@...1...> On Sunday 10 October 2004 02:22, Daniel Campos wrote: > Hi all: > > Here's the 0.0.4 alpha version from the gb.xml.libxml component. I've > added DTD support to XmlWriter. A new class, XSLT, allows to easily > convert XML documents to XHTML documents (and other formats) using the > XSLT style sheets. > > A new component, gb.xml.libxml.rpc, allows to perform XML-RPC calls to > remote servers. > > By now, I didn't had time to write the compilation tutorial, I can't > find the way to properly modify configure.in for these two classes, even > if I've read the brief tutorial at binara. Benoit, please, help me! I > would like to add flags to specify where the right libraries are > placed, so people using SUSE can compile the newer libxml2 libraries and > put it at /usr/local, to not conflict with the evil SAX2. > > http://gambas.gnulinex.org/libxml/libxml-0.0.4.tar.bz2 > > Regards, > > Daniel Campos > > I'm going to try to insert your component in the main source. But what are your problems exactly ? You must: Create a Makefile.am file in each directory and subdirectory: ./src/lib/xml ./src/lib/xml/libxml ./src/lib/xml/libxml/rpc Adds a call to GB_COMPONENT() macro for each component in configure.in. NEVER use subdirectory includes like #include , but #include instead. The GB_COMPONENT macro will find the correct path. NEVER use include paths and linker flags directly in the Makefile.am files, but use the variables declared by GB_COMPONENT. The GB_COMPONENT macro for gb.xml.libxml looks like the GB_COMPONENT macro for SDL library, something like that: GB_COMPONENT( libxml, LIBXML, [libxml-based XML parser component], [GB_FIND(parser.h, /usr/local /usr, include/libxml/libxml* include/libxml* include)], [GB_FIND(libxml2.$SHLIBEXT, /usr/local /usr, lib)], [$C_LIB $THREAD_LIB -lxml2 -lxslt -lz -lm] [$THREAD_INC]) I didn't test it yet, so maybe there are errors... :-/ Don't forget to tell AC_OUTPUT() to generate the makefile in configure.in. A remark: do you have to include libxslt in the xml component ? Can't you make another component for libxslt ? I say that because I think libxslt should be a heavy library, so having to link to it just for reading xml files may not be a good idea. As soon as I succeed in compiling your component, I will send my configure.in and Makefile.am files. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Oct 10 17:13:05 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 10 Oct 2004 17:13:05 +0200 Subject: [Gambas-devel] config.sub & config.guess files In-Reply-To: <1097052619.6821.10.camel@...134...> References: <1097052619.6821.10.camel@...134...> Message-ID: <200410101713.05713.gambas@...1...> On Wednesday 06 October 2004 10:50, Jos? L. Redrejo Rodr?guez wrote: > Hi. I am going to upload gambas to the official Debian distro, and I am > having some problems with the sources. The main one is that the > config.sub and config.guess files are too old, and that will make > gambas fail in some platforms, specilall in GNU/KFreeBSD. > Does anyone have a more updated version of these packages? If not, > Beno?t, would you mind to update them? > And, Beno?t, if you have some patches you think I should apply to the > 0.99 version before uploading it to Debian, send them to me. I will > apply at least, those I sent related to the debian packaging creation > from the gambas IDE. > > Regards > OK. I updated the file from the gnu ftp server. Thanks, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Oct 10 17:16:28 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 10 Oct 2004 17:16:28 +0200 Subject: [Gambas-devel] DBreportViewer, Qt limitation? In-Reply-To: <200410082212.59520.christian.faurebouvard@...156...> References: <200409241744.28848.Karl.Reinl@...16...> <4166EE31.9060603@...16...> <200410082212.59520.christian.faurebouvard@...156...> Message-ID: <200410101716.28081.gambas@...1...> On Saturday 09 October 2004 03:12, Christian Faure wrote: > Hi, > Working on a Report Viewer, > i want display each pages of report one above other > (Similar to OpenOffice.org Writer display) > > But, when "y" coordinate exceed 32767 (aprox. page 27 using A4), no more > pages displayed, with no errors. > > Is a Qt limitation ? > > Thanks > I think so. The QT documentation says something like that. Do you use a ScrollView ? -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...124... Sun Oct 10 17:16:15 2004 From: ronstk at ...124... (ron) Date: Sun, 10 Oct 2004 17:16:15 +0200 Subject: [Gambas-devel] xml.libxml 0.0.4 In-Reply-To: <1097367759.6106.6.camel@...102...> References: <1097367759.6106.6.camel@...102...> Message-ID: <200410101716.17942.ronstk@...124...> On Sunday 10 October 2004 02:22, Daniel Campos wrote: > Hi all: > > Here's the 0.0.4 alpha version from the gb.xml.libxml component. I've > added DTD support to XmlWriter. A new class, XSLT, allows to easily > convert XML documents to XHTML documents (and other formats) using the > XSLT style sheets. > > A new component, gb.xml.libxml.rpc, allows to perform XML-RPC calls to > remote servers. > > By now, I didn't had time to write the compilation tutorial, I can't > find the way to properly modify configure.in for these two classes, even > if I've read the brief tutorial at binara. Benoit, please, help me! I > would like to add flags to specify where the right libraries are > placed, so people using SUSE can compile the newer libxml2 libraries and > put it at /usr/local, to not conflict with the evil SAX2. > > http://gambas.gnulinex.org/libxml/libxml-0.0.4.tar.bz2 > > Regards, > > Daniel Campos > Thanks god, you didn't forget me :) And I'm not the only one having problems. The missing part for the components made by 3' party is the configure.in how the GB_COMPONENT should be. ================== This is what I have constructed till now: ------------------ GB_COMPONENT( xml, XML, [XML component], [GB_FIND(xmlversion.h, /usr/local /usr, include include/libxml* include/libxml*/*)], [GB_FIND(libxml2.$SHLIBEXT, /usr/local /usr, lib)], [$C_LIB -lxml]) GB_COMPONENT( curl, CURL, [Advanced networking component], [GB_FIND(curl.h, `curl-config --prefix 2> /dev/null`, include)], [GB_FIND(libcurl.$SHLIBEXT, `curl-config --prefix 2> /dev/null`, lib)], [$C_LIB `curl-config --libs 2> /dev/null`]) ================== what does it mean? (the way I interprete the lines) ------------------ [GB_FIND( <1> xmlversion.h, <2> /usr/local /usr, <3> include include/libxml* include/libxml*/*)], <1> xmlversion.h A file to find to detect the -devel part is installed Set by creator of component, what he find an appropiate file for it. <2> /usr/local /usr The paths to search in order to find, The /usr/local prefer if it is done like I did, to not break SuSE compiled stuff. By look first in the '/usr/local' the handle to use updated libraries by user above the distribution pre compiled binaries problems like I have withe SuSEs curl and xml should be solved. This Search place can be done for curl with the shell function `curl-config --prefix 2> /dev/null` <3> include include/libxml* include/libxml*/* look in/for the 'include' directory (or does it means it's count for the 'include' stuff) for additional places 'include/libxml*' and 'include/libxml*/*' to find the given *.h file. ------------- [GB_FIND(<1> libxml2.$SHLIBEXT, <2> /usr/local /usr, <3> lib)], The same construction as above for the libraries ------------- [$C_LIB -lxml]) This is the row giving me the problems. Daniel uses here some flags and that is what component distributors forget to say. The writer didn't provide it so using the wiki example I decided to use -lxml and set it to: '[$C_LIB -lxml]' Thanks god again I paste the 'curl' component also here to show how to get the lib and include directories. I see now the way how to get the flag with the same shell function is done :) In one of the other component the next rows are used [$CXX_LIB $THREAD_LIB $X_LIBS -lqt-mt], [$THREAD_INC]) The unknown fact is why or when the 2 $THREAD_ are in need. Also not every component has '$C_LIB', resulting in the same question. That makes it importand the writer of the component add the complete GB_COMPONENT section to include in the configure.in. ==================== I know, reading some files in the current source can give some answers. However the writer of the component can have here something HE decide and I cant guess what that is. My proposal to set this in files in the component directory and let it include by the ./configure to prevent the user has to type it in himself was not welcome by Benoit. His argument it is not so much work to add it yourself is true. But you must know the exact parameters to fill in to get it right. My view was that all the info need to add a component is inside 1 directory. Simple add or remove that directory and ready. ==================== The way as in the wiki looks good to me with the i.e. @LIBXML_DIR@ . However creators don't do it that way and use hardcoded parameters. When all is goes right then the configure phase takes care @LIBXML_DIR@ have the right content. For the xml component I found 'xml2-config' now. (did guess it could have the same as curl) The results done from home directory: xml2-config --version 2.6.13 xml2-config --prefix /usr/local xml2-config --libs -L/usr/local/lib -lxml2 -lz -lpthread -lm xml2-config --cflags -I/usr/local/include/libxml2 I know now the updated XML (and curl) is working. Now a try for the component could be: GB_COMPONENT( xml, XML, [XML component], [GB_FIND(xmlversion.h, `xml2-config --prefix 2> /dev/null`, include)], [GB_FIND(libxml2.$SHLIBEXT, `xml2-config --prefix 2> /dev/null`, lib)], [$C_LIB `xml2-config --libs 2> /dev/null`]) ******************************* in the Makefile.am is now. (I add the /local for my case extra in the paths) INCLUDES = -I$(top_srcdir)/src/share -I/usr/local/include/libxml2 EXTRA_DIST = *.component pkglib_LTLIBRARIES = lib.gb.xml.libxml.la lib_gb_xml_libxml_la_LIBADD = lib_gb_xml_libxml_la_LDFLAGS = @LD_FLAGS@ -lxml2 -lpthread -lz -lm -lxslt lib_gb_xml_libxml_la_SOURCES = main.h main.c CXMLNode.h CXMLNode.c CXMLReader.h CXMLReader.c \ CXMLWriter.h CXMLWriter.c CXMLDocument.h CXMLDocument.c \ CXSLT.h CXSLT.c install-exec-local: @cp -f *.component $(pkglibdir) ************************************** * This compiles with success !! yipie ************************************** I do not have XML in the gambas help yet? So what can I do to be follow the wiki? I Changed to: INCLUDES = -I$(top_srcdir)/src/share @LIBXML_INC@ EXTRA_DIST = *.component pkglib_LTLIBRARIES = lib.gb.xml.libxml.la lib_gb_xml_libxml_la_LIBADD = lib_gb_xml_libxml_la_LDFLAGS = @LD_FLAGS@ -lxml2 -lpthread -lz -lm -lxslt lib_gb_xml_libxml_la_SOURCES = main.h main.c CXMLNode.h CXMLNode.c CXMLReader.h CXMLReader.c \ CXMLWriter.h CXMLWriter.c CXMLDocument.h CXMLDocument.c \ CXSLT.h CXSLT.c install-exec-local: @cp -f *.component $(pkglibdir) ************************ * When I use the @LIBXML_INC@ it goes wrong. * I get Makefile:534: *** missing separator. Stop. ************************ For the help, can it be the names are wrong? I look in the NET and CURL component lib_gb_net_la_LIBADD = @NET_LIB@ lib_gb_net_la_LDFLAGS = @LD_FLAGS@ lib_gb_net_curl_la_LIBADD = @CURL_LIB@ lib_gb_net_curl_la_LDFLAGS = @LD_FLAGS@ compare it to lib_gb_xml_libxml_la_LIBADD = lib_gb_xml_libxml_la_LDFLAGS = @LD_FLAGS@ -lxml2 -lpthread -lz -lm -lxslt This tells me I should have 'src/lib/xml/libxml' as path and not 'src/lib/libxml' I miss the between 'xml' directory. The logic in name giving is broke I think. How does that go Daniel? It is nice to have a general xml component with a libxml sub-component in it. Easy to add expat as second sub-component in future. I changed the 'lib_gb_xml_libxml' to 'lib_gb_libxml' in the files and in the file names. The RPC part is also not done yet. Using the same technics found sofar I add a GB_COMPONENT for RPC. Add a SUBDIRS line to the src/lib/libxml/Makefile.am Using now the hardcoded path instead @LIBXML_INC@ reconf;configure;make and all is OK I find the '/opt/gambas/lib/gambas/lib.gb.libxml*' files and for the first time the '/opt/gambas/lib/gambas/lib.gb.libxml.rpc.*' files. make install and working but not in the help. /opt/gambas/share/gambas/info does not have the *.info and *.list files. I do not get the libxml.info and libxml.list files ? After done a 'gbi gb.xml.libxml' add it to ??? Ron From gambas at ...1... Sun Oct 10 17:53:37 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 10 Oct 2004 17:53:37 +0200 Subject: [Gambas-devel] xml.libxml 0.0.4 In-Reply-To: <200410101716.17942.ronstk@...124...> References: <1097367759.6106.6.camel@...102...> <200410101716.17942.ronstk@...124...> Message-ID: <200410101753.37977.gambas@...1...> On Sunday 10 October 2004 17:16, ron wrote: > > Thanks god, you didn't forget me :) > And I'm not the only one having problems. > > > The missing part for the components made by 3' party is > the configure.in how the GB_COMPONENT should be. > > ================== > This is what I have constructed till now: > ------------------ > GB_COMPONENT( > xml, > XML, > [XML component], > [GB_FIND(xmlversion.h, /usr/local /usr, include include/libxml* > include/libxml*/*)], [GB_FIND(libxml2.$SHLIBEXT, /usr/local /usr, lib)], > [$C_LIB -lxml]) > > > GB_COMPONENT( > curl, > CURL, > [Advanced networking component], > [GB_FIND(curl.h, `curl-config --prefix 2> /dev/null`, include)], > [GB_FIND(libcurl.$SHLIBEXT, `curl-config --prefix 2> /dev/null`, lib)], > [$C_LIB `curl-config --libs 2> /dev/null`]) > > > ================== > what does it mean? (the way I interprete the lines) > ------------------ > [GB_FIND( <1> xmlversion.h, <2> /usr/local /usr, <3> include > include/libxml* include/libxml*/*)], > > <1> xmlversion.h > A file to find to detect the -devel part is installed > Set by creator of component, what he find an appropiate file for it. You can put several include files there. All them must be found in the following search paths. > > <2> /usr/local /usr > The paths to search in order to find, The /usr/local prefer if it is > done like I did, to not break SuSE compiled stuff. > By look first in the '/usr/local' the handle to use updated libraries > by user above the distribution pre compiled binaries problems like > I have withe SuSEs curl and xml should be solved. > > This Search place can be done for curl with the shell function > `curl-config --prefix 2> /dev/null` > > <3> include include/libxml* include/libxml*/* > look in/for the 'include' directory > (or does it means it's count for the 'include' stuff) > for additional places 'include/libxml*' and 'include/libxml*/*' > to find the given *.h file. > Actually, the search path is a combination of <2> and <3>. <3> is a list of subdirectories. For example, if <2> is "/usr /usr/local", and <3> is "include include/SDL*", then the includes will be search in /usr/include, /usr/include/SDL*, /usr/local/include and /usr/local/include/SDL*. In other words, The search path is the product of <2> by <3>. > ------------- > [GB_FIND(<1> libxml2.$SHLIBEXT, <2> /usr/local /usr, <3> lib)], > > The same construction as above for the libraries > > ------------- > [$C_LIB -lxml]) > > This is the row giving me the problems. > Daniel uses here some flags and that is what component distributors forget > to say. The writer didn't provide it so using the wiki example I decided to > use -lxml and set it to: '[$C_LIB -lxml]' > > Thanks god again I paste the 'curl' component also here to show how > to get the lib and include directories. > I see now the way how to get the flag with the same shell function is done > :) > > In one of the other component the next rows are used > [$CXX_LIB $THREAD_LIB $X_LIBS -lqt-mt], > [$THREAD_INC]) > The unknown fact is why or when the 2 $THREAD_ are in need. > Also not every component has '$C_LIB', resulting in the same question. > That makes it importand the writer of the component add the complete > GB_COMPONENT section to include in the configure.in. > > > ==================== > I know, reading some files in the current source can give some answers. > However the writer of the component can have here something HE decide > and I cant guess what that is. > > My proposal to set this in files in the component directory and let it > include by the ./configure to prevent the user has to type it in himself > was not welcome by Benoit. His argument it is not so much work to > add it yourself is true. > But you must know the exact parameters to fill in to get it right. > > My view was that all the info need to add a component is inside 1 > directory. Simple add or remove that directory and ready. > > ==================== > The way as in the wiki looks good to me with the i.e. @LIBXML_DIR@ . > However creators don't do it that way and use hardcoded parameters. > When all is goes right then the configure phase takes care @LIBXML_DIR@ > have the right content. > > For the xml component I found 'xml2-config' now. (did guess it could have > the same as curl) The results done from home directory: > > xml2-config --version > 2.6.13 > xml2-config --prefix > /usr/local > xml2-config --libs > -L/usr/local/lib -lxml2 -lz -lpthread -lm > xml2-config --cflags > -I/usr/local/include/libxml2 > > I know now the updated XML (and curl) is working. > > Now a try for the component could be: > GB_COMPONENT( > xml, > XML, > [XML component], > [GB_FIND(xmlversion.h, `xml2-config --prefix 2> /dev/null`, include)], > [GB_FIND(libxml2.$SHLIBEXT, `xml2-config --prefix 2> /dev/null`, lib)], > [$C_LIB `xml2-config --libs 2> /dev/null`]) > > ******************************* > in the Makefile.am is now. > (I add the /local for my case extra in the paths) > > INCLUDES = -I$(top_srcdir)/src/share -I/usr/local/include/libxml2 > > EXTRA_DIST = *.component > > pkglib_LTLIBRARIES = lib.gb.xml.libxml.la > > lib_gb_xml_libxml_la_LIBADD = > lib_gb_xml_libxml_la_LDFLAGS = @LD_FLAGS@ -lxml2 -lpthread -lz -lm -lxslt > > lib_gb_xml_libxml_la_SOURCES = main.h main.c CXMLNode.h CXMLNode.c > CXMLReader.h CXMLReader.c \ CXMLWriter.h CXMLWriter.c CXMLDocument.h > CXMLDocument.c \ CXSLT.h CXSLT.c > > install-exec-local: > @cp -f *.component $(pkglibdir) > > ************************************** > * This compiles with success !! yipie > ************************************** > I do not have XML in the gambas help yet? > > So what can I do to be follow the wiki? > I Changed to: > > INCLUDES = -I$(top_srcdir)/src/share @LIBXML_INC@ > > EXTRA_DIST = *.component > > pkglib_LTLIBRARIES = lib.gb.xml.libxml.la > > lib_gb_xml_libxml_la_LIBADD = > lib_gb_xml_libxml_la_LDFLAGS = @LD_FLAGS@ -lxml2 -lpthread -lz -lm -lxslt > > lib_gb_xml_libxml_la_SOURCES = main.h main.c CXMLNode.h CXMLNode.c > CXMLReader.h CXMLReader.c \ CXMLWriter.h CXMLWriter.c CXMLDocument.h > CXMLDocument.c \ CXSLT.h CXSLT.c > > install-exec-local: > @cp -f *.component $(pkglibdir) > > ************************ > * When I use the @LIBXML_INC@ it goes wrong. > * I get Makefile:534: *** missing separator. Stop. > ************************ > > For the help, can it be the names are wrong? > > I look in the NET and CURL component > lib_gb_net_la_LIBADD = @NET_LIB@ > lib_gb_net_la_LDFLAGS = @LD_FLAGS@ > lib_gb_net_curl_la_LIBADD = @CURL_LIB@ > lib_gb_net_curl_la_LDFLAGS = @LD_FLAGS@ > compare it to > lib_gb_xml_libxml_la_LIBADD = > lib_gb_xml_libxml_la_LDFLAGS = @LD_FLAGS@ -lxml2 -lpthread -lz -lm -lxslt > > This tells me I should have 'src/lib/xml/libxml' as path and not > 'src/lib/libxml' I miss the between 'xml' directory. The logic in name > giving is broke I think. > > How does that go Daniel? > It is nice to have a general xml component with a libxml sub-component in > it. Easy to add expat as second sub-component in future. > > I changed the 'lib_gb_xml_libxml' to 'lib_gb_libxml' in the files and > in the file names. > > The RPC part is also not done yet. > > Using the same technics found sofar I add a GB_COMPONENT for RPC. > Add a SUBDIRS line to the src/lib/libxml/Makefile.am > > Using now the hardcoded path instead @LIBXML_INC@ > reconf;configure;make and all is OK > I find the '/opt/gambas/lib/gambas/lib.gb.libxml*' files and for the > first time the '/opt/gambas/lib/gambas/lib.gb.libxml.rpc.*' files. > make install and working but not in the help. > /opt/gambas/share/gambas/info does not have the *.info and *.list files. > > > > > > I do not get the libxml.info and libxml.list files ? > After done a 'gbi gb.xml.libxml' add it to ??? > > > Ron > There is a problem with the libxml component that prevent it to being "compilable" with gambas: the includes for the two different libraries libxml and libxslt are not in the same place. This is a case not managed by GB_COMPONENT() ! This was not a problem with the SDL component (that uses libsdl and libsdl_mixer), because all SDL includes are in the same directory. As I said before, maybe Daniel could remove xslt things from libxml to put them in another component (gb.xml.libxml.xslt ?). So the problem will be fixed, and I will be able to compile it cleanly. But if there is an explicit need for libxslt in the component, the problem will remain... I have another problem on Mandrake: xml2-config returns the correct information, but not xslt-config! It tells me that the xslt includes are in /usr/include/libxml2, and they are actually in /usr/include/libxslt! Maybe a Mandrake bug ? Waiting for your answer, Daniel ! :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From christian.faurebouvard at ...156... Sun Oct 10 16:08:39 2004 From: christian.faurebouvard at ...156... (Christian Faure) Date: Sun, 10 Oct 2004 11:08:39 -0300 Subject: [Gambas-devel] DBreportViewer, Qt limitation? In-Reply-To: <200410101716.28081.gambas@...1...> References: <200409241744.28848.Karl.Reinl@...16...> <200410082212.59520.christian.faurebouvard@...156...> <200410101716.28081.gambas@...1...> Message-ID: <200410101108.39375.christian.faurebouvard@...156...> El Domingo, 10 de Octubre de 2004 12:16, Benoit Minisini escribi?: > On Saturday 09 October 2004 03:12, Christian Faure wrote: > > Hi, > > Working on a Report Viewer, > > i want display each pages of report one above other > > (Similar to OpenOffice.org Writer display) > > > > But, when "y" coordinate exceed 32767 (aprox. page 27 using A4), no more > > pages displayed, with no errors. > > > > Is a Qt limitation ? > > > > Thanks > > I think so. The QT documentation says something like that. Do you use a > ScrollView ? Yes, i use a scrollview. From ronstk at ...124... Sun Oct 10 18:50:49 2004 From: ronstk at ...124... (ron) Date: Sun, 10 Oct 2004 18:50:49 +0200 Subject: [Gambas-devel] xml.libxml 0.0.4 In-Reply-To: <200410101753.37977.gambas@...1...> References: <1097367759.6106.6.camel@...102...> <200410101716.17942.ronstk@...124...> <200410101753.37977.gambas@...1...> Message-ID: <200410101850.50161.ronstk@...124...> Thanks reply Benoit. On Sunday 10 October 2004 17:53, Benoit Minisini wrote: > On Sunday 10 October 2004 17:16, ron wrote: > > ---8<----- > > A file to find to detect the -devel part is installed > > Set by creator of component, what he find an appropiate file for it. > > You can put several include files there. All them must be found in the > following search paths. > > > > > <2> /usr/local /usr > > The paths to search in order to find, The /usr/local prefer if it is > > done like I did, to not break SuSE compiled stuff. > > By look first in the '/usr/local' the handle to use updated libraries > > by user above the distribution pre compiled binaries problems like > > I have withe SuSEs curl and xml should be solved. > > > > This Search place can be done for curl with the shell function > > `curl-config --prefix 2> /dev/null` > > > > <3> include include/libxml* include/libxml*/* > > look in/for the 'include' directory > > (or does it means it's count for the 'include' stuff) > > for additional places 'include/libxml*' and 'include/libxml*/*' > > to find the given *.h file. > > > > Actually, the search path is a combination of <2> and <3>. <3> is a list of > subdirectories. > > For example, if <2> is "/usr /usr/local", and <3> is "include include/SDL*", > then the includes will be search > in /usr/include, /usr/include/SDL*, /usr/local/include > and /usr/local/include/SDL*. > > In other words, The search path is the product of <2> by <3>. > In short I'm right with my view?make > > ------------- > > [GB_FIND(<1> libxml2.$SHLIBEXT, <2> /usr/local /usr, <3> lib)], > > ---8<----- > > > > > > I do not get the libxml.info and libxml.list files ? > > After done a 'gbi gb.xml.libxml' add it to ??? > > > > > > Ron > > > > There is a problem with the libxml component that prevent it to being > "compilable" with gambas: the includes for the two different libraries libxml > and libxslt are not in the same place. > > This is a case not managed by GB_COMPONENT() ! > > This was not a problem with the SDL component (that uses libsdl and > libsdl_mixer), because all SDL includes are in the same directory. > > As I said before, maybe Daniel could remove xslt things from libxml to put > them in another component (gb.xml.libxml.xslt ?). So the problem will be > fixed, and I will be able to compile it cleanly. > > But if there is an explicit need for libxslt in the component, the problem > will remain... > > I have another problem on Mandrake: > > xml2-config returns the correct information, but not xslt-config! It tells me > that the xslt includes are in /usr/include/libxml2, and they are actually > in /usr/include/libxslt! Maybe a Mandrake bug ? > > Waiting for your answer, Daniel ! :-) > > Regards, > For SuSE 8.2 there is also a xslt-config -------------------- # xml-config --version 1.8.17 # xml-config --prefix /usr # xml-config --libs -L/usr/lib -lxml -lz -L/usr/X11R6/lib -L/usr/X11R6/lib # xml-config --cflags -I/usr/include/gnome-xml --------------------------- # xml2-config --version 2.6.13 # xml2-config --prefix /usr/local # xml2-config --libs -L/usr/local/lib -lxml2 -lz -lpthread -lm # xml2-config --cflags -I/usr/local/include/libxml2 --------------------------- # xslt-config --version 1.0.33 # xslt-config --prefix /usr # xslt-config --libs -L/usr/lib -lxslt -lxml2 -lz -lpthread -lm # xslt-config --cflags -I/usr/local/include/libxml2 --------------------------- I do have now src/lib/libxml (not src/lib/xml/libxml!!) ============================ configure.in part for the components --------------- dnl ---- Check for libxml library GB_COMPONENT( libxml, LIBXML, [LIBXML component], [GB_FIND(xmlversion.h, `xml2-config --prefix 2> /dev/null`, include)], [GB_FIND(libxml2.$SHLIBEXT, `xml2-config --prefix 2> /dev/null`, lib)], [$C_LIB `xml2-config --libs 2> /dev/null`]) GB_COMPONENT( rpc, RPC, [RPC component], [GB_FIND(xmlwriter.h, `xml2-config --prefix 2> /dev/null`, include)], [GB_FIND(libxml2.$SHLIBEXT, `xml2-config --prefix 2> /dev/null`, lib)], [$C_LIB `xml2-config --libs 2> /dev/null`]) ============================ configure.in for last part for AC_OUTPUT( ------------ ...... src/lib/compress/bzlib2/Makefile \ src/lib/libxml/Makefile \ src/lib/libxml/rpc/Makefile \ ) ============================ src/lib/Makefile.am ------------ SUBDIRS = debug eval db compress @QT_DIR@ @NET_DIR@ @SDL_DIR@ @VB_DIR@ @LIBXML_DIR@ EXTRA_DIST = *.component example install-exec-local: @cp -f *.component $(pkglibdir) ============================ src/lib/libxml/Makefile.am ------------ SUBDIRS = rpc INCLUDES = -I$(top_srcdir)/src/share -I/usr/local/include/libxml2 EXTRA_DIST = *.component pkglib_LTLIBRARIES = lib.gb.libxml.la lib_gb_libxml_la_LIBADD = lib_gb_libxml_la_LDFLAGS = @LD_FLAGS@ -lxml2 -lpthread -lz -lm -lxslt lib_gb_libxml_la_SOURCES = main.h main.c CXMLNode.h CXMLNode.c CXMLReader.h CXMLReader.c \ CXMLWriter.h CXMLWriter.c CXMLDocument.h CXMLDocument.c \ CXSLT.h CXSLT.c install-exec-local: @cp -f *.component $(pkglibdir) ============================ src/lib/libxml/rpc/Makefile.am ------------ INCLUDES = -I$(top_srcdir)/src/share -I/usr/local/include/libxml2 EXTRA_DIST = *.component pkglib_LTLIBRARIES = lib.gb.libxml.rpc.la lib_gb_libxml_rpc_la_LIBADD = lib_gb_libxml_rpc_la_LDFLAGS = @LD_FLAGS@ -lxml2 -lpthread -lz -lm -lxslt lib_gb_libxml_rpc_la_SOURCES = main.h main.c CXxmlRpc.h CXmlRpc.c install-exec-local: @cp -f *.component $(pkglibdir) ******************************* -------------- note: I can't use @LIBXML_INC@ in first line for xml! -------------- This compiles without a error The make install does install the libraries in the runtime place Still do not have the *.list and *.info files And the libxml is also not in the help. What can be wrong??? >>Create a Makefile.am file in each directory and subdirectory: >> ./src/lib/xml >> ./src/lib/xml/libxml >> ./src/lib/xml/libxml/rpc Nice, but what must be in /src/lib/xml/Makefile.am ? Something like in then/src/lib/Makefile.am or ./src/lib/net/Makefile.am sounds realistic but I cant get it working with the src/lib/xml/libxml Ron From danielcampos at ...45... Sun Oct 10 19:02:32 2004 From: danielcampos at ...45... (Daniel Campos) Date: Sun, 10 Oct 2004 19:02:32 +0200 Subject: [Gambas-devel] xml.libxml 0.0.4 In-Reply-To: <200410101753.37977.gambas@...1...> References: <1097367759.6106.6.camel@...102...> <200410101716.17942.ronstk@...124...> <200410101753.37977.gambas@...1...> Message-ID: <1097427752.3899.0.camel@...102...> >There is a problem with the libxml component that prevent it to being >"compilable" with gambas: the includes for the two different libraries libxml >and libxslt are not in the same place. > >This is a case not managed by GB_COMPONENT() ! > >This was not a problem with the SDL component (that uses libsdl and >libsdl_mixer), because all SDL includes are in the same directory. > >As I said before, maybe Daniel could remove xslt things from libxml to put >them in another component (gb.xml.libxml.xslt ?). So the problem will be >fixed, and I will be able to compile it cleanly. > >But if there is an explicit need for libxslt in the component, the problem >will remain... > >I have another problem on Mandrake: > >xml2-config returns the correct information, but not xslt-config! It tells me >that the xslt includes are in /usr/include/libxml2, and they are actually >in /usr/include/libxslt! Maybe a Mandrake bug ? > >Waiting for your answer, Daniel ! :-) > Well, I have not problem to divide the current XML component in two components, one for XML and the other for XSLT. I have two questions about path configuration: 1) Why using xml2-config and xslt-config? I always use pkgconfig, instead, It is used by all Gnome libraries... 2) I'm using Mandrake 10.1 community, and xslt-config says: - I/usr/include/libxml2, so may be you have a problem in your installation, or there's a general problem in... Mandrake 10? Try using pkg-config. Regards, Daniel Campos From ronstk at ...124... Sun Oct 10 19:27:11 2004 From: ronstk at ...124... (ron) Date: Sun, 10 Oct 2004 19:27:11 +0200 Subject: [Gambas-devel] xml.libxml 0.0.4 In-Reply-To: <1097427752.3899.0.camel@...102...> References: <1097367759.6106.6.camel@...102...> <200410101753.37977.gambas@...1...> <1097427752.3899.0.camel@...102...> Message-ID: <200410101927.13008.ronstk@...124...> On Sunday 10 October 2004 19:02, Daniel Campos wrote: --8<--- > > Well, I have not problem to divide the current XML component in two > components, > one for XML and the other for XSLT. > > I have two questions about path configuration: > > 1) Why using xml2-config and xslt-config? I always use pkgconfig, > instead, It is used > by all Gnome libraries... > > 2) I'm using Mandrake 10.1 community, and xslt-config says: - > I/usr/include/libxml2, so > may be you have a problem in your installation, or there's a general > problem in... Mandrake 10? > Try using pkg-config. > > Regards, > > Daniel Campos > I use the xml2-config simple for the reason it is the same way as used for the curl component. A second reason can be that it is from the released and installed version if you update the system from source. I (maybe others too) may not update the system xxxx libraries because the released packages are compiled with it. Using --prefix=/some/where/on/earth :) The curl problem I had with Yast i.e. is solved this way. And the 3' reason is when you have no GNOME, a bare system build. Then the source is maybe the only correct one. (btw it is working now, the trick to /usr/local/ works :) ) Ron From ronstk at ...124... Sun Oct 10 22:06:56 2004 From: ronstk at ...124... (ron) Date: Sun, 10 Oct 2004 22:06:56 +0200 Subject: [Gambas-devel] xml.libxml 0.0.4 In-Reply-To: <200410101850.50161.ronstk@...124...> References: <1097367759.6106.6.camel@...102...> <200410101753.37977.gambas@...1...> <200410101850.50161.ronstk@...124...> Message-ID: <200410102206.59159.ronstk@...124...> ---8<---- GOT IT !!!! > ============================ > src/lib/libxml/Makefile.am > ------------ > > SUBDIRS = rpc > INCLUDES = -I$(top_srcdir)/src/share -I/usr/local/include/libxml2 > > EXTRA_DIST = *.component > > pkglib_LTLIBRARIES = lib.gb.libxml.la > > lib_gb_libxml_la_LIBADD = > lib_gb_libxml_la_LDFLAGS = @LD_FLAGS@ -lxml2 -lpthread -lz -lm -lxslt > > lib_gb_libxml_la_SOURCES = main.h main.c CXMLNode.h CXMLNode.c CXMLReader.h CXMLReader.c \ > CXMLWriter.h CXMLWriter.c CXMLDocument.h CXMLDocument.c \ > CXSLT.h CXSLT.c > > install-exec-local: > @cp -f *.component $(pkglibdir) HERE the leading character for install-exec-local is VERY wrong. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ After remove I got the *.component in /opt/gambas/lib, i had not seen that one was missing too, and the *.info and *.list in /opt/gambas/share/info > > > ============================ > src/lib/libxml/rpc/Makefile.am > ------------ > > INCLUDES = -I$(top_srcdir)/src/share -I/usr/local/include/libxml2 > > EXTRA_DIST = *.component > > pkglib_LTLIBRARIES = lib.gb.libxml.rpc.la > > lib_gb_libxml_rpc_la_LIBADD = > lib_gb_libxml_rpc_la_LDFLAGS = @LD_FLAGS@ -lxml2 -lpthread -lz -lm -lxslt > > lib_gb_libxml_rpc_la_SOURCES = main.h main.c CXxmlRpc.h CXmlRpc.c > > install-exec-local: > @cp -f *.component $(pkglibdir) Same problem with leading character ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > ******************************* > -------------- > note: I can't use @LIBXML_INC@ in first line for xml! > -------------- --8<--- The help pages are also available now. For now in the gb.xml.libxml the missing xml directory Was not say in the first release, it told into ./src/lib and not ./src/lib/xml and the make of the xml directory. Now what should be in the Makefile.am and Makefile.in for it? How should I know about it? And the 2 unknown characters found as problem for the help and get the component in the project>properties>component list Ron From ktomala at ...166... Mon Oct 11 11:39:28 2004 From: ktomala at ...166... (Karol Tomala) Date: Mon, 11 Oct 2004 11:39:28 +0200 Subject: [Gambas-devel] gbXML v0.0.9 - RFC Message-ID: <1097487568.3330.45.camel@...167...> Hello everybody! Since there was some interest in my XML classes for Gambas I'm posting the code here. It's released under LGPL v2 so you can use it also in your commercial programs, as long as you give back the code for gbXML to the community. The package consists of three classes: cXMLDoc, cXMLTag and cXMLTagOpt. The first one manages document, second one manages tag operations and the last one manages tag options. The API is currently stabilized, so you can use it. I have taken some tests and I know that these classes will have problems with documents larger than 1MB. Also document loading is done quite quickly and it should be reconsidered for binary input (so you can try to load XML documents from other sources like sockets). There is docs.html file, but it's pretty outdated and incomplete. Take a look at Module1 file which has some clues about how to use these classes. !!! THIS gbXML classes should be considered as INCOMPLETE! !!! It has some functionality and is currently usable for small and medium sized documents. And here is the example how to use these classes: --- snip --- DIM xdc AS cXMLDoc 'define xdc as new class DIM dumdepth AS Integer 'define dummy depth xdc = new cXMLDoc 'create object 'set filename of the document xdc.SetFilename("/home/wolverine/documents/content.xml") 'Try to load document IF xdc.Load() THEN 'If successful show debugging output PRINT xdc.DebugOutput() ELSE PRINT "failed" RETURN ENDIF 'Set pointer to fifth tag in the document xdc.SetPtr(10) 'Show currently pointed tag PRINT xdc.GetPtrTag().Construct() 'Get depth of currently pointed tag dumdepth = xdc.GetPtrTag().GetDepth() 'Check depth IF dumdepth >= 2 THEN 'Set pointer to parent tag of currently pointed tag xdc.SetPtr(xdc.GetParent()) 'Show tag PRINT xdc.GetPtrTag().Construct() 'Try to show closing tag number of currently pointed tag PRINT xdc.FindClosing() 'Show closing tag PRINT xdc.GetTag(xdc.Findclosing()).Construct() ENDIF 'Show whole document PRINT xdc.Output() --- snip --- This is how to use these classes. It should be simple to use and I hope that you can understand basic XML document management. Almost every function in these classes return either result or NULL on failure. That's why you have to distinct between function result types. You will have to browse through these classes and look at functions because there are some fancy methods to handle documents. I'm waiting for some feedback and propositions of improvements, patches for things in TODO list and so on. I don't have much time now to work on these, but if I get enough feedback and somebody will find these classes useful I will try to work on them. Greetings, -- Karol Tomala [Network administrator] TGC Group / Contract Administration Sp. z o.o. Mail: ktomala (at) tgc (dot) pl WWW: www.tgc.pl | www.bakertilly.pl Phone: (+48 22) 6533833 Mobile: (+48) 693290300 Address: ul. Kr?lewska 27 00-060 Warsaw Poland -------------- next part -------------- A non-text attachment was scrubbed... Name: gbxml.tar.gz Type: application/x-compressed-tar Size: 18803 bytes Desc: not available URL: From ktomala at ...166... Mon Oct 11 12:26:39 2004 From: ktomala at ...166... (Karol Tomala) Date: Mon, 11 Oct 2004 12:26:39 +0200 Subject: [Gambas-devel] gbXML v0.0.9 - RFC In-Reply-To: <1097487568.3330.45.camel@...167...> References: <1097487568.3330.45.camel@...167...> Message-ID: <1097490399.3330.49.camel@...167...> W li?cie z pon, 11-10-2004, godz. 11:39, Karol Tomala pisze: > 'Set pointer to fifth tag in the document > xdc.SetPtr(10) This comment is bad. My error. Sorry. It should say: 'Set pointer to tenth tag in the document Also try to look at TODO list which is also CHANGELOG file. You may get some hints from this file about gbXML. Greetings, -- Karol Tomala [Network administrator] TGC Group / Contract Administration Sp. z o.o. Mail: ktomala (at) tgc (dot) pl WWW: www.tgc.pl | www.bakertilly.pl Phone: (+48 22) 6533833 Mobile: (+48) 693290300 Address: ul. Kr?lewska 27 00-060 Warsaw Poland From daniel.campos at ...103... Mon Oct 11 14:44:13 2004 From: daniel.campos at ...103... (Daniel Campos) Date: Mon, 11 Oct 2004 14:44:13 +0200 Subject: [Gambas-devel] xml 0.0.5 Message-ID: <1097498653.5180.9.camel@...102...> Hi all: Here's the 0.0.5 version of xml.libxml. Now there are 3 components: gb.xml.libxml -> Main XML component gb.xml.libxml.xslt -> XSLT transformations support gb.xml.libxml.rpc -> XML-RPC client and... server? I've also added Namespace support to XmlWriter class, It should be now almost finished and stable. Beta testers needed! I need people writting very complex XML documents with this class! There will be not money for you, so it's all for love!:-)))) Regards, Daniel Campos Ah! Here's also a Gambas-CGI example using XML and XSLT and SQLite. Just compile it and place it in your CGI apache folder, place also the sqlite database 'libros'. But be careful! I know this CGI is vulnerable to SQL- injection, so do not use it in a public place! Regards, Daniel Campos XML-GAMBAS homepage: http://gambas.gnulinex.org/libxml/ -------------- next part -------------- A non-text attachment was scrubbed... Name: XmlCGI-0.0.1.tar.gz Type: application/x-compressed-tar Size: 4447 bytes Desc: not available URL: From daniel.campos at ...103... Tue Oct 12 13:57:17 2004 From: daniel.campos at ...103... (Daniel Campos) Date: Tue, 12 Oct 2004 13:57:17 +0200 Subject: [Gambas-devel] Some questions about Gambas C interface Message-ID: <1097582237.23456.6.camel@...102...> Hi Beno?t: I have some questions about Gambas C interface: I'm using GB.Push, GB.Call and GB.GetFunction in order to call the 'Post' function of HttpClient from RPC Client. All seems to be ok with this code: GB.GetFunction (&Post,THIS->http,"Post",NULL ); GB.Push(2,GB_T_STRING,"text/xml",8,GB_T_STRING,buffer->content,buffer- >use); GB.Call (&Post,2,1); Where "Post" is a GB_FUNCTION, and THIS->http is an HttpClient pointer. However: What's the meaning of the "signature" parameter from GB.GetFuncion? I just used NULL. How can I call to a property instead of a method? How can I receive the return value after calling GB.Call? After I do GB.Push must I free anything, or Gambas does it automatically? Well, that's all for today...:-)) Regards, Daniel Campos From gambas at ...1... Tue Oct 12 15:58:01 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 12 Oct 2004 15:58:01 +0200 Subject: [Gambas-devel] Some questions about Gambas C interface In-Reply-To: <1097582237.23456.6.camel@...102...> References: <1097582237.23456.6.camel@...102...> Message-ID: <200410121558.01499.gambas@...1...> On Tuesday 12 October 2004 13:57, Daniel Campos wrote: > Hi Beno?t: > > > I have some questions about Gambas C interface: > > I'm using GB.Push, GB.Call and GB.GetFunction in order to call the > 'Post' function of HttpClient from RPC Client. All seems to be ok with > this code: > > GB.GetFunction (&Post,THIS->http,"Post",NULL ); > GB.Push(2,GB_T_STRING,"text/xml",8,GB_T_STRING,buffer->content,buffer- > > >use); > > GB.Call (&Post,2,1); > > Where "Post" is a GB_FUNCTION, and THIS->http is an HttpClient pointer. > > However: > > What's the meaning of the "signature" parameter from GB.GetFuncion? I > just used NULL. With this paramter, you can specify a function signature that the function you are looking for must match. This signature is a string with the same syntax as in a GB_DESC description structure. > > How can I call to a property instead of a method? > You don't have an interface for doing that in GB_INTERFACE. But this is possible - look the object_set_property and object_get_property methods in 'gbx_c_class.c'. > How can I receive the return value after calling GB.Call? Same answer. Actually, after calling GB.Call(), the return value is stored in the same place as if you called a GB.Return*() method. > > After I do GB.Push must I free anything, or Gambas does it > automatically? Gambas does it automatically. > > Well, that's all for today...:-)) > The GB.Call() API was created for allowing calling static functions, when you don't have an object and an event under the hand. I think you must create an interface in the gb.curl component with an access to all C functions you need in gb.xml.libxml.rpc. Or when I allow making components directly in Gambas, you will make the RPC component this way :-) Maybe this is the better solution. Here is a link to a pre-version of 1.0RC1 so that you can take the libxml directory. I modified the configure.in file, so that libraries and includes are searched, and I modified your Makefile.am, to use the Makefile variables generated by configure.in, and to fix a typo error on a file name. Look at them to understand how things work! http://gambas.sf.net/gambas-0.99.RC1.tar.bz2 > Regards, > > Daniel Campos > > Regards, -- Benoit Minisini mailto:gambas at ...1... From daniel.campos at ...103... Tue Oct 12 16:02:10 2004 From: daniel.campos at ...103... (Daniel Campos) Date: Tue, 12 Oct 2004 16:02:10 +0200 Subject: [Gambas-devel] Another question... Message-ID: <1097589730.8521.4.camel@...102...> Hi again: I want to perform a synchronous HTTP call to a remote server. To do that (I mean from my RpcClient C code), I first call the "Post" method from HttpClient, and then I would like to wait until HttpClient Status is equal to zero (OK) or lesser than zero (error). I have two problems: I can not read the "Status" property from HttpClient using GB.GetFunction (It always returns 1). I don't know how to call the WAIT method from the C code, so the HttpClient can perform its work, something like: while ( HTTP_STATUS > 0) { Call "WAIT" } Regards, Daniel Campos From daniel.campos at ...103... Tue Oct 12 16:10:35 2004 From: daniel.campos at ...103... (Daniel Campos) Date: Tue, 12 Oct 2004 16:10:35 +0200 Subject: [Gambas-devel] Some questions about Gambas C interface In-Reply-To: <200410121558.01499.gambas@...1...> References: <1097582237.23456.6.camel@...102...> <200410121558.01499.gambas@...1...> Message-ID: <1097590235.8521.6.camel@...102...> Hi Beno?t: OK, then I will create the gb.net.curl interface, you can forget my second message I sent before I received your reply. By now, don't want to write lib.gb.xml.libxml.rpc in Gambas, I want to write it in pure C code, unless I find extrange problems. I will stop by now this work as I'm gonna learn about the pre-version you've sent me. Regards, Daniel Campos From daniel.campos at ...103... Tue Oct 12 16:42:56 2004 From: daniel.campos at ...103... (Daniel Campos) Date: Tue, 12 Oct 2004 16:42:56 +0200 Subject: [Gambas-devel] Spanish translation 0.99RC1 Message-ID: <1097592176.6302.1.camel@...102...> Here's the spanish translation for 0.99RC1, just two phrases i've added. Regards, Daniel Campos -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-es-0.99RC1.po Type: text/x-gettext-translation Size: 62671 bytes Desc: not available URL: From gambas at ...1... Tue Oct 12 17:20:43 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 12 Oct 2004 17:20:43 +0200 Subject: [Gambas-devel] Spanish translation 0.99RC1 In-Reply-To: <1097592176.6302.1.camel@...102...> References: <1097592176.6302.1.camel@...102...> Message-ID: <200410121720.43510.gambas@...1...> On Tuesday 12 October 2004 16:42, Daniel Campos wrote: > Here's the spanish translation for 0.99RC1, just two phrases i've added. > > Regards, > > Daniel Campos Don't be too in a hurry :-) This is not the final 0.99RC1, just a preview so that you can understand how configure.in and Makefile.am work. I just found a problem in the Makefile.am - I have udpated the package at the same address than before. Regards, -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...124... Tue Oct 12 19:03:41 2004 From: ronstk at ...124... (ron) Date: Tue, 12 Oct 2004 19:03:41 +0200 Subject: [Gambas-devel] Some questions about Gambas C interface In-Reply-To: <200410121558.01499.gambas@...1...> References: <1097582237.23456.6.camel@...102...> <200410121558.01499.gambas@...1...> Message-ID: <200410121903.45281.ronstk@...124...> On Tuesday 12 October 2004 15:58, Benoit Minisini wrote: > Look at them to understand how things work! > > http://gambas.sf.net/gambas-0.99.RC1.tar.bz2 > > Regards, > It just compiled out of box :) I miss only the gb.xml.info and list gb.xml.libxml.info and list gb.xml.libxml.rpc.info and list gb.xml.libxml.xslt.info and list In /src/lib/xml there is no *.component file ? The way with the xml directory is working now. How I had to find out the Makefile.in as in RC1? Or when are they really updated? I had a symlink in a project directory to the documentation. The 'open project' does not show _any_ files in that case in the right frame but opens correct. grtz Ron From ronstk at ...124... Tue Oct 12 19:12:20 2004 From: ronstk at ...124... (ron) Date: Tue, 12 Oct 2004 19:12:20 +0200 Subject: [Gambas-devel] Wish: Html view for Data files in text editor. Message-ID: <200410121912.20736.ronstk@...124...> HTML view for TextEditor form. Esc key changes the view between HTML and Text. In FTextEditor: ******************************************************* Add a TextView control on form. change name to HtmlView ******************************************************* change in PUBLIC SUB _new(sPath AS String) ----- DrawTitle END ----- to ----- DrawTitle ViewMode("text") IF Instr(UCase(Left(sText,128))," Salut Benoit, two things about the ganbas Dialog: 1. I don't understand, why, if par example IF Dialog.OpenFile() THEN RETURN What means, if Dialog returns TRUE, then the user has aborted the Dialog. Thats not logic for me. If there is a result , something is TRUE, if not then it is FALSE. And I think, even If it is hard for us users(lots of code to change), we should break with that. Because if we have to breake after the 1.0 that will be harder. Dialog.Filter = [ ("XTableView as xtv") & " (*.xtv)", ("All files") & " (*.*)" ] Dialog.Path = sPath IF Dialog.OpenFile() THEN RETURN ENDIF sPath = Dialog.Path 2. it would be nice ( on Dialog.SaveFile) that if the user hasn't typed the EXTENTION and a Dialog Filter <> * is set, to add the Filter Extention to the File Amicalement Charlie From carsten at ...151... Sat Oct 16 12:33:09 2004 From: carsten at ...151... (Carsten Olsen) Date: Sat, 16 Oct 2004 12:33:09 +0200 Subject: [Gambas-devel] Print gambas source code Message-ID: <1097922789.4146.3.camel@...168...> Hi Will it be possible to print gambas source code in future releases of Gambas ? Kind regards Carsten Olsen -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...1... Sat Oct 16 17:08:06 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 16 Oct 2004 17:08:06 +0200 Subject: [Gambas-devel] About gambas Dialog In-Reply-To: <200410122031.48703.Karl.Reinl@...16...> References: <200410122031.48703.Karl.Reinl@...16...> Message-ID: <200410161708.06188.gambas@...1...> On Tuesday 12 October 2004 20:31, Charlie Reinl wrote: > Salut Benoit, > > two things about the ganbas Dialog: > > 1. I don't understand, why, if par example IF Dialog.OpenFile() THEN > RETURN What means, if Dialog returns TRUE, then the user has aborted the > Dialog. Thats not logic for me. That's logic for me :-) > > If there is a result , something is TRUE, if not then it is FALSE. If there is an error, something is TRUE, if not then it is FALSE :-) > > And I think, even If it is hard for us users(lots of code to change), we > should break with that. > Because if we have to breake after the 1.0 that will be harder. > > Dialog.Filter = [ ("XTableView as xtv") & " (*.xtv)", ("All files") & > " (*.*)" ] > Dialog.Path = sPath > IF Dialog.OpenFile() THEN > RETURN > ENDIF > sPath = Dialog.Path > Trust me - You will write smaller and more readable code by always returning a non-false value when something that is not expected happens. > 2. it would be nice ( on Dialog.SaveFile) that if the user hasn't typed > the EXTENTION and a Dialog Filter <> * is set, to add the Filter Extention > to the File This is a good idea - I note it for the next version. > > Amicalement > Charlie > > Regards, -- Benoit Minisini mailto:gambas at ...1... From na2492 at ...16... Sat Oct 16 18:57:51 2004 From: na2492 at ...16... (Charlie Reinl) Date: Sat, 16 Oct 2004 18:57:51 00200 Subject: [Gambas-devel] Print gambas source code Message-ID: <4171530f.19ac.0@...16...> > >Hi > >Will it be possible to print gambas source code in future releases of >Gambas ? > >Kind regards > >Carsten Olsen > Salut Carsten, yes it will, if you write it. Some hints : ' loop all the lines , wherer is your gambas Editor FOR iLine = 0 TO .Lines.Count ' read the line sReadString = .Lines[iLine] ' now you can send it to the printer NEXT if finished, tested and found OK send it to Benoit. Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From gambas at ...1... Sat Oct 16 17:09:00 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 16 Oct 2004 17:09:00 +0200 Subject: [Gambas-devel] Print gambas source code In-Reply-To: <1097922789.4146.3.camel@...168...> References: <1097922789.4146.3.camel@...168...> Message-ID: <200410161709.00990.gambas@...1...> On Saturday 16 October 2004 12:33, Carsten Olsen wrote: > Hi > > Will it be possible to print gambas source code in future releases of > Gambas ? > > Kind regards > > Carsten Olsen I don't know. You can use kprinter in KDE to do that. Maybe I could add a menu that simply pipes the source file to an external printer command like kprinter... -- Benoit Minisini mailto:gambas at ...1... From carsten at ...151... Sun Oct 17 21:23:21 2004 From: carsten at ...151... (Carsten Olsen) Date: Sun, 17 Oct 2004 21:23:21 +0200 Subject: [Gambas-devel] Print gambas source code In-Reply-To: <4171530f.19ac.0@...16...> References: <4171530f.19ac.0@...16...> Message-ID: <1098041001.3126.14.camel@...168...> Okay - Sow here is the first release of print source code. I have added a new button for print source on the FEditor.form (image-file print-source.png) and FEditor.class. Print i maintain in CPrintSource.class. All 4 files are attached in zip-file. Kind Regards Carsten Olsen On Sat, 2004-10-16 at 18:57, Charlie Reinl wrote: > > > >Hi > > > >Will it be possible to print gambas source code in future releases of > >Gambas ? > > > >Kind regards > > > >Carsten Olsen > > > Salut Carsten, > > yes it will, if you write it. > > Some hints : > ' loop all the lines , wherer is your gambas Editor > FOR iLine = 0 TO .Lines.Count > ' read the line > sReadString = .Lines[iLine] > ' now you can send it to the printer > > > NEXT > if finished, tested and found OK send it to Benoit. > > > Amicalment > Charlie > * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas.tar.bz2 Type: application/x-bzip-compressed-tar Size: 9544 bytes Desc: not available URL: From karl.reinl at ...16... Sun Oct 17 23:06:38 2004 From: karl.reinl at ...16... (Charlie) Date: Sun, 17 Oct 2004 23:06:38 +0200 Subject: [Gambas-devel] Print gambas source code References: <4171530f.19ac.0@...16...> <1098041001.3126.14.camel@...168...> Message-ID: <4172DEDE.5040904@...16...> Carsten Olsen schrieb: >Okay - Sow here is the first release of print source code. > >I have added a new button for print source on the FEditor.form >(image-file print-source.png) and FEditor.class. Print i maintain in >CPrintSource.class. All 4 files are attached in zip-file. > >Kind Regards > >Carsten Olsen > > > Salut Carsten, looks good. Would be nice to see a stored Font for printing, and a parameter to switch the line-numbers On/Off (also stored). As something like add. printing setup, or as box after printer.setup. Hope Beno?t is online! Amicalement Charlie From carsten at ...151... Mon Oct 18 16:44:03 2004 From: carsten at ...151... (Carsten Olsen) Date: Mon, 18 Oct 2004 16:44:03 +0200 Subject: [Gambas-devel] Print gambas source code In-Reply-To: <4172DEDE.5040904@...16...> References: <4171530f.19ac.0@...16...> <1098041001.3126.14.camel@...168...> <4172DEDE.5040904@...16...> Message-ID: <1098110643.3106.5.camel@...168...> Hi Charlie You are right - but this is just a first cut. I would also like to color the source like in the editor, bold keywords. Kind Regards Carsten On Sun, 2004-10-17 at 23:06, Charlie wrote: > Carsten Olsen schrieb: > > >Okay - Sow here is the first release of print source code. > > > >I have added a new button for print source on the FEditor.form > >(image-file print-source.png) and FEditor.class. Print i maintain in > >CPrintSource.class. All 4 files are attached in zip-file. > > > >Kind Regards > > > >Carsten Olsen > > > > > > > Salut Carsten, > > looks good. > > Would be nice to see a stored Font for printing, > and a parameter to switch the line-numbers On/Off (also stored). > > As something like add. printing setup, or as box after printer.setup. > > Hope Beno?t is online! > > Amicalement > Charlie > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel -------------- next part -------------- An HTML attachment was scrubbed... URL: From na2492 at ...16... Mon Oct 18 16:48:50 2004 From: na2492 at ...16... (Charlie Reinl) Date: Mon, 18 Oct 2004 16:48:50 00200 Subject: [Gambas-devel] Print gambas source code Message-ID: <4173d7d2.29d3.0@...16...> > >Hi Charlie > >You are right - but this is just a first cut. I would also like to color >the source like in the editor, bold keywords. So we need also a Color On/Off parameter Amicalement Charlie > >Kind Regards >Carsten > >On Sun, 2004-10-17 at 23:06, Charlie wrote: > >> Carsten Olsen schrieb: >> >> >Okay - Sow here is the first release of print source code. >> > >> >I have added a new button for print source on the FEditor.form >> >(image-file print-source.png) and FEditor.class. Print i maintain in >> >CPrintSource.class. All 4 files are attached in zip-file. >> > >> >Kind Regards >> > >> >Carsten Olsen >> > >> > >> > >> Salut Carsten, >> >> looks good. >> >> Would be nice to see a stored Font for printing, >> and a parameter to switch the line-numbers On/Off (also stored). >> >> As something like add. printing setup, or as box after printer.setup. >> >> Hope Beno?t is online! >> >> Amicalement >> Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From na2492 at ...16... Mon Oct 18 22:37:03 2004 From: na2492 at ...16... (Charlie Reinl) Date: Mon, 18 Oct 2004 22:37:03 00200 Subject: [Gambas-devel] Print gambas source code Message-ID: <4174296f.1780.0@...16...> > >Hi Charlie > >You are right - but this is just a first cut. I would also like to color >the source like in the editor, bold keywords. > >Kind Regards >Carsten > >On Sun, 2004-10-17 at 23:06, Charlie wrote: > >> Carsten Olsen schrieb: >> >> >Okay - Sow here is the first release of print source code. >> > >> >I have added a new button for print source on the FEditor.form >> >(image-file print-source.png) and FEditor.class. Print i maintain in >> >CPrintSource.class. All 4 files are attached in zip-file. >> > >> >Kind Regards >> > >> >Carsten Olsen >> > >> > >> > >> Salut Carsten, >> >> looks good. >> >> Would be nice to see a stored Font for printing, >> and a parameter to switch the line-numbers On/Off (also stored). >> >> As something like add. printing setup, or as box after printer.setup. >> >> Hope Beno?t is online! >> >> Amicalement >> Charlie Salut Carsten, for your color work, till 0.99 you can find it out with Analyze. but may be that can change. 'Analyze results DIM sParts AS String[] DIM iParts AS Integer[] ' where sWorkString is a .line ' Analyze current line ppEditor.Analyze(sWorkString) sParts = GambasEditor.Symbols iParts = GambasEditor.Types FOR ni = 0 TO sParts.Count - 1 PRINT sParts[nI], iParts[nI], GetColorsName(iParts[nI]) NEXT FUNCTION GetColorsName(iType AS Integer) AS String DIM sOut AS String WITH ppEditor SELECT CASE iType CASE .Colors.Background ' 0 sOut = "Background" CASE .Colors.Normal ' 1 sOut = "Normal" CASE .Colors.Keyword ' 2 sOut = "Keyword" CASE .Colors.Function ' 3 sOut = "Function" CASE .Colors.Operator ' 4 sOut = "Operator" CASE .Colors.Symbol ' 5 sOut = "Symbol" CASE .Colors.Number ' 6 sOut = "Number" CASE .Colors.String ' 7 sOut = "String" CASE .Colors.Comment ' 8 sOut = "Comment" CASE .Colors.Breakpoint ' 9 sOut = "Breakpoint" CASE .Colors.Current ' 10 sOut = "Current" CASE .Colors.DataType ' 11 sOut = "DataType" CASE .Colors.Highlight ' 12 sOut = "Highlight" CASE .Colors.Selection ' 13 sOut = "Selection" CASE ELSE sOut = "?? iType = " & iType END SELECT END WITH RETURN sOut END Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From carsten at ...169... Wed Oct 20 22:52:48 2004 From: carsten at ...169... (Carsten Olsen) Date: Wed, 20 Oct 2004 22:52:48 +0200 Subject: [Gambas-devel] Print source Message-ID: <1098305568.3096.9.camel@...168...> Hi Beno?t I have finished the code for print gambas source. Attached in zip-file Added options for print in FOption.form and FOption.class Added Print button (print-source.png) in FEditor.form and FEditor.class Made new class CPrintSource.class. All are build on Gambas 0.99 Hob you will find it useful ! Kind regards Carsten Olsen -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas.tar.bz2 Type: application/x-bzip-compressed-tar Size: 14062 bytes Desc: not available URL: From na2492 at ...16... Wed Oct 20 23:31:40 2004 From: na2492 at ...16... (Charlie Reinl) Date: Wed, 20 Oct 2004 23:31:40 00200 Subject: [Gambas-devel] Print source Message-ID: <4176d93c.11af.0@...16...> > > > >Hi Beno?t > >I have finished the code for print gambas source. Attached in zip-file > >Added options for print in FOption.form and FOption.class >Added Print button (print-source.png) in FEditor.form and FEditor.class >Made new class CPrintSource.class. > >All are build on Gambas 0.99 > >Hob you will find it useful ! > >Kind regards > >Carsten Olsen Salut Carsten, two things. 1. like if you choose or unchoose Color printing, you should showe it in the 'window' how it looks whene you choose or unchoose Print no. 2. you should use the choice from 'Editor' tab in 'Print' and 'Print colors' Tab. You don't take care of 'Use relief', what is not choosen in my preferences. Now I start to test the printing. Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From na2492 at ...16... Wed Oct 20 23:59:02 2004 From: na2492 at ...16... (Charlie Reinl) Date: Wed, 20 Oct 2004 23:59:02 00200 Subject: [Gambas-devel] Print source Message-ID: <4176dfa6.2487.0@...16...> > > > >Hi Beno?t > >I have finished the code for print gambas source. Attached in zip-file > >Added options for print in FOption.form and FOption.class >Added Print button (print-source.png) in FEditor.form and FEditor.class >Made new class CPrintSource.class. > >All are build on Gambas 0.99 > >Hob you will find it useful ! > >Kind regards > >Carsten Olsen > Salut Carsten, seams you have a problem when going Size under 10 (ditn't try more the 10) with the colors (may be thats not from you) The rest works ok , after a short printing test * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From christian.faurebouvard at ...156... Thu Oct 21 13:38:42 2004 From: christian.faurebouvard at ...156... (Christian Faure) Date: Thu, 21 Oct 2004 08:38:42 -0300 Subject: [Gambas-devel] DrawingArea, SetFocus, BUG ? In-Reply-To: <4176dfa6.2487.0@...16...> References: <4176dfa6.2487.0@...16...> Message-ID: <200410210838.42593.christian.faurebouvard@...156...> Hi Benoit, Working on a ReportDesigner, i get somes problems: The IDE of ReportDesigner work creating and placing objects in a ScrollView using a toolbox and allow drag and drop to move objects. These objects are DrawingArea's I call a DrawingArea.SetFocus() function to enable each object to handle keyboard events. All work ok, except when i move an object outside of visible area and this object lose focus, then app crash with: QPainter::begin: Cannot paint null pixmap QPainter::setWorldMatrix: Will be reset by begin() Attached file provide a small example of the problem Thanks -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-test-da-0.0.1.tar.gz Type: application/x-tgz Size: 995 bytes Desc: not available URL: From carsten at ...151... Thu Oct 21 22:13:15 2004 From: carsten at ...151... (Carsten Olsen) Date: Thu, 21 Oct 2004 22:13:15 +0200 Subject: [Gambas-devel] Print source In-Reply-To: <4176dfa6.2487.0@...16...> References: <4176dfa6.2487.0@...16...> Message-ID: <1098389595.3105.7.camel@...168...> Is it font size ? I have tried with sow for the fonts with size 6 with and with out color - no problem ! Regards Carsten On Wed, 2004-10-20 at 23:59, Charlie Reinl wrote: > > > > > > > >Hi Beno?t > > > >I have finished the code for print gambas source. Attached in zip-file > > > >Added options for print in FOption.form and FOption.class > >Added Print button (print-source.png) in FEditor.form and FEditor.class > >Made new class CPrintSource.class. > > > >All are build on Gambas 0.99 > > > >Hob you will find it useful ! > > > >Kind regards > > > >Carsten Olsen > > > Salut Carsten, > > seams you have a problem when going Size under 10 (ditn't try more the 10) > > with the colors (may be thats not from you) > The rest works ok , after a short printing test > * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel -------------- next part -------------- An HTML attachment was scrubbed... URL: From carsten at ...151... Thu Oct 21 22:18:30 2004 From: carsten at ...151... (Carsten Olsen) Date: Thu, 21 Oct 2004 22:18:30 +0200 Subject: [Gambas-devel] Print source In-Reply-To: <4176d93c.11af.0@...16...> References: <4176d93c.11af.0@...16...> Message-ID: <1098389910.3105.12.camel@...168...> Okay - I will look at that ! Regards Carsten On Wed, 2004-10-20 at 23:31, Charlie Reinl wrote: > > > > > > > >Hi Beno?t > > > >I have finished the code for print gambas source. Attached in zip-file > > > >Added options for print in FOption.form and FOption.class > >Added Print button (print-source.png) in FEditor.form and FEditor.class > >Made new class CPrintSource.class. > > > >All are build on Gambas 0.99 > > > >Hob you will find it useful ! > > > >Kind regards > > > >Carsten Olsen > > Salut Carsten, > > two things. > > 1. like if you choose or unchoose Color printing, you should > showe it in the 'window' how it looks whene you choose or unchoose > Print no. > > 2. you should use the choice from 'Editor' tab in 'Print' and 'Print colors' > Tab. > You don't take care of 'Use relief', what is not choosen in my preferences. > > > Now I start to test the printing. > > Amicalement > Charlie > * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel -------------- next part -------------- An HTML attachment was scrubbed... URL: From na2492 at ...16... Thu Oct 21 23:31:31 2004 From: na2492 at ...16... (Charlie Reinl) Date: Thu, 21 Oct 2004 23:31:31 00200 Subject: [Gambas-devel] Print source Message-ID: <41782ab3.468c.0@...16...> > >Is it font size ? I have tried with sow for the fonts with size 6 with >and with out color - no problem ! > >Regards >Carsten > --- snip ------------------ Salut Carsten, I changed to Courier 10 at Pitch 10 the comments where gray, like in the Ide-Editor, but as I changed to Pitch 8 the colors where goning to have a little bit more color inside, so the gray changed to light - green. Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From carsten at ...169... Fri Oct 22 22:09:25 2004 From: carsten at ...169... (Carsten Olsen) Date: Fri, 22 Oct 2004 22:09:25 +0200 Subject: [Gambas-devel] Print Source Message-ID: <1098475765.3118.19.camel@...168...> Here are the last changes to Print Source. I have added "Use relief" as print option, the colors in the ex. view should work better. It is not possible to preview line numbers in the option view because GambasEditor color it the color as a number in the sourcecode. Charlie, I tried this with the fonts but it works find here. Could you try it again ? Have a nice weekend ! Carsten -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas.tar.bz2 Type: application/x-bzip-compressed-tar Size: 14312 bytes Desc: not available URL: From Karl.Reinl at ...16... Sat Oct 23 00:30:19 2004 From: Karl.Reinl at ...16... (Charlie Reinl) Date: Sat, 23 Oct 2004 00:30:19 +0200 Subject: [Gambas-devel] IDE Source printing Message-ID: <200410230030.19537.Karl.Reinl@...16...> Salut Carsten, sorry, can't test your new changes. My printer, is in troubles. Can print from OOo, but not the cups testpage, and even not with the IDE-Sourceprinter (even not with the older version) Amicalement Charlie From daniel.campos at ...103... Sat Oct 23 18:11:11 2004 From: daniel.campos at ...103... (Daniel Campos) Date: Sat, 23 Oct 2004 18:11:11 +0200 Subject: [Gambas-devel] Gambas IDE bug Message-ID: <1098547871.11493.4.camel@...102...> Hi Beno?t: I was trying to add a new graphical component, and I created a component very similar to gb.qt.ext to do that. However, when opening the IDE, and adding the new component, I tried to put my new object into a form, and the IDE crashed. That's the point where it fails: (at FForm.class ) PUBLIC SUB Control_Draw(OPTIONAL iIndex AS Integer) DIM hForm AS Form DIM X AS Integer DIM Y AS Integer DIM SX AS Integer DIM SY AS Integer DIM SXF AS Integer DIM SYF AS Integer DIM iMod AS Integer DIM DX AS Integer DIM DY AS Integer IF LAST.Tag <> Name THEN Draw.Picture(Picture["img/control" &/ LCase(Control[LAST.Tag].Kind) & ".png"], 4, 4) Draw.ForeColor = Color.Black Draw.Text(LAST.Tag, 44, 4) .... The program tries to load an image that does not exist, so it fails. I think it should it just should give a warning message, or even not any visible error (just 'TRY Draw.Picture' is OK), so the developers can test new graphical components, without having to modify all the Gambas IDE... Regards, Daniel Campos From gambas at ...1... Sun Oct 24 16:02:13 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 24 Oct 2004 16:02:13 +0200 Subject: [Gambas-devel] DrawingArea, SetFocus, BUG ? In-Reply-To: <200410210838.42593.christian.faurebouvard@...156...> References: <4176dfa6.2487.0@...16...> <200410210838.42593.christian.faurebouvard@...156...> Message-ID: <200410241602.13767.gambas@...1...> On Thursday 21 October 2004 13:38, Christian Faure wrote: > Hi Benoit, > > Working on a ReportDesigner, i get somes problems: > > The IDE of ReportDesigner work creating and placing objects in a ScrollView > using a toolbox and allow drag and drop to move objects. > > These objects are DrawingArea's > > I call a DrawingArea.SetFocus() function to enable each object to handle > keyboard events. > > All work ok, except when i move an object outside of visible area and > this object lose focus, then app crash with: > QPainter::begin: Cannot paint null pixmap > QPainter::setWorldMatrix: Will be reset by begin() > > Attached file provide a small example of the problem > > Thanks I found the bug: when the drawing area is not visible, qt sends a paint event with a null width and height, which is a case I didn't test. Here is a patch that solves the problem. Regards, -- Benoit Minisini mailto:gambas at ...1... -------------- next part -------------- A non-text attachment was scrubbed... Name: CDrawingArea.cpp Type: text/x-c++src Size: 7350 bytes Desc: not available URL: From gambas at ...1... Sun Oct 24 15:40:25 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 24 Oct 2004 15:40:25 +0200 Subject: [Gambas-devel] Wish: Html view for Data files in text editor. In-Reply-To: <200410121912.20736.ronstk@...124...> References: <200410121912.20736.ronstk@...124...> Message-ID: <200410241540.25891.gambas@...1...> On Tuesday 12 October 2004 19:12, ron wrote: > HTML view for TextEditor form. > Esc key changes the view between HTML and Text. > > In FTextEditor: > > ******************************************************* > Add a TextView control on form. > change name to HtmlView > ******************************************************* > change in PUBLIC SUB _new(sPath AS String) > ----- > DrawTitle > > END > ----- > to > ----- > DrawTitle > > ViewMode("text") > IF Instr(UCase(Left(sText,128))," > END > ----- > ******************************************************* > change Form_Resize: > ----- > PUBLIC SUB Form_Resize() > > edtEditor.Move(0, 0, ME.ClientW, ME.ClientH) > 'lblCursor.Move(0, ME.ClientH - lblCursor.Height) > END > ------ > to > ------ > PUBLIC SUB Form_Resize() > > edtEditor.Move(0, 0, ME.ClientW, ME.ClientH) > 'lblCursor.Move(0, ME.ClientH - lblCursor.Height) > HtmlView.Move(0,0, ME.ClientW, ME.ClientH) > END > ------ > ******************************************************* > Add at end code: > ------ > PUBLIC SUB htmlview_KeyRelease() > IF key.Code=key.Escape THEN ViewMode("text") > END > > PUBLIC SUB edtEditor_KeyRelease() > IF key.Code=key.Escape THEN ViewMode("html") > END > > PRIVATE SUB ViewMode(mode AS String) > IF mode="html" THEN > edtEditor.Visible=FALSE > HtmlView.Visible=TRUE > HtmlView.Text = edtEditor.Text > HtmlView.SetFocus > ELSE > HtmlView.Visible=FALSE > edtEditor.Visible=TRUE > edtEditor.SetFocus > ENDIF > END > ----- > > > grtz Ron > I note your proposal for after the 1.0 :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From Karl.Reinl at ...16... Sun Oct 24 21:05:59 2004 From: Karl.Reinl at ...16... (Charlie Reinl) Date: Sun, 24 Oct 2004 21:05:59 +0200 Subject: [Gambas-devel] IDE Source printing Message-ID: <200410242105.59925.Karl.Reinl@...16...> Salut Carsten, sorry, can't still test your new changes. My printer or System, is in troubles. After a quick printer cleaning, the testpage from cups run well and OOo still prints. The IDE-Sourceprinter (even not with the older version, who worked before ) stops with a 'out of paper / paper troubles please reboot the printer' And I know that not allways that reason, because my printer is a HP-OfficeJet 710 who works via hpoj-0.91 and hpij driver, ( it a Windows AllinOne, very nice, but with pb. at my Linux) I think I have to clean up the printer properly. My last updates where only you code, a black Ink-cartridge and new paper. The black Ink, I changed while testing the version who had RELIEF , the paper after. My Color-Ink seams OK , got nice Cups-testpages. And unfortunally I have not the time to clean up the printer properly. So I hope you'v got also other responds. Amicalement Charlie From christian.faurebouvard at ...156... Mon Oct 25 00:51:41 2004 From: christian.faurebouvard at ...156... (Christian Faure) Date: Sun, 24 Oct 2004 19:51:41 -0300 Subject: [Gambas-devel] DrawingArea, SetFocus, BUG ? In-Reply-To: <200410241602.13767.gambas@...1...> References: <4176dfa6.2487.0@...16...> <200410210838.42593.christian.faurebouvard@...156...> <200410241602.13767.gambas@...1...> Message-ID: <200410241951.41984.christian.faurebouvard@...156...> El Domingo, 24 de Octubre de 2004 11:02, Benoit Minisini escribi?: > On Thursday 21 October 2004 13:38, Christian Faure wrote: > > Hi Benoit, > > > > Working on a ReportDesigner, i get somes problems: > > > > The IDE of ReportDesigner work creating and placing objects in a > > ScrollView using a toolbox and allow drag and drop to move objects. > > > > These objects are DrawingArea's > > > > I call a DrawingArea.SetFocus() function to enable each object to handle > > keyboard events. > > > > All work ok, except when i move an object outside of visible area and > > this object lose focus, then app crash with: > > QPainter::begin: Cannot paint null pixmap > > QPainter::setWorldMatrix: Will be reset by begin() > > > > Attached file provide a small example of the problem > > > > Thanks > > I found the bug: when the drawing area is not visible, qt sends a paint > event with a null width and height, which is a case I didn't test. > > Here is a patch that solves the problem. > > Regards, Thanks !! In few days, alfa version of DBReportDesigner and DBReportViewer available... :-) Regards, Christian Faure From gambas at ...1... Mon Oct 25 13:03:26 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 25 Oct 2004 13:03:26 +0200 Subject: [Gambas-devel] test3 Message-ID: <200410251303.26428.gambas@...1...> -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Oct 24 15:40:25 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 24 Oct 2004 15:40:25 +0200 Subject: [Gambas-devel] Wish: Html view for Data files in text editor. In-Reply-To: <200410121912.20736.ronstk@...124...> References: <200410121912.20736.ronstk@...124...> Message-ID: <200410241540.25891.gambas@...1...> On Tuesday 12 October 2004 19:12, ron wrote: > HTML view for TextEditor form. > Esc key changes the view between HTML and Text. > > In FTextEditor: > > ******************************************************* > Add a TextView control on form. > change name to HtmlView > ******************************************************* > change in PUBLIC SUB _new(sPath AS String) > ----- > DrawTitle > > END > ----- > to > ----- > DrawTitle > > ViewMode("text") > IF Instr(UCase(Left(sText,128))," > END > ----- > ******************************************************* > change Form_Resize: > ----- > PUBLIC SUB Form_Resize() > > edtEditor.Move(0, 0, ME.ClientW, ME.ClientH) > 'lblCursor.Move(0, ME.ClientH - lblCursor.Height) > END > ------ > to > ------ > PUBLIC SUB Form_Resize() > > edtEditor.Move(0, 0, ME.ClientW, ME.ClientH) > 'lblCursor.Move(0, ME.ClientH - lblCursor.Height) > HtmlView.Move(0,0, ME.ClientW, ME.ClientH) > END > ------ > ******************************************************* > Add at end code: > ------ > PUBLIC SUB htmlview_KeyRelease() > IF key.Code=key.Escape THEN ViewMode("text") > END > > PUBLIC SUB edtEditor_KeyRelease() > IF key.Code=key.Escape THEN ViewMode("html") > END > > PRIVATE SUB ViewMode(mode AS String) > IF mode="html" THEN > edtEditor.Visible=FALSE > HtmlView.Visible=TRUE > HtmlView.Text = edtEditor.Text > HtmlView.SetFocus > ELSE > HtmlView.Visible=FALSE > edtEditor.Visible=TRUE > edtEditor.SetFocus > ENDIF > END > ----- > > > grtz Ron > I note your proposal for after the 1.0 :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Oct 24 15:50:00 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 24 Oct 2004 15:50:00 +0200 Subject: [Gambas-devel] Gambas IDE bug In-Reply-To: <1098547871.11493.4.camel@...102...> References: <1098547871.11493.4.camel@...102...> Message-ID: <200410241550.00912.gambas@...1...> On Saturday 23 October 2004 18:11, Daniel Campos wrote: > Hi Beno?t: > > I was trying to add a new graphical component, > and I created a component very similar to gb.qt.ext to do that. > > However, when opening the IDE, and adding the new component, I tried > to put my new object into a form, and the IDE crashed. That's the > point where it fails: > > (at FForm.class ) > > PUBLIC SUB Control_Draw(OPTIONAL iIndex AS Integer) > > DIM hForm AS Form > DIM X AS Integer > DIM Y AS Integer > DIM SX AS Integer > DIM SY AS Integer > DIM SXF AS Integer > DIM SYF AS Integer > DIM iMod AS Integer > DIM DX AS Integer > DIM DY AS Integer > > IF LAST.Tag <> Name THEN > > Draw.Picture(Picture["img/control" &/ LCase(Control[LAST.Tag].Kind) > & ".png"], 4, 4) > Draw.ForeColor = Color.Black > Draw.Text(LAST.Tag, 44, 4) > .... > > > The program tries to load an image that does not exist, so it fails. I > think it should > it just should give a warning message, or even not any visible error > (just 'TRY Draw.Picture' > is OK), so the developers can test new graphical components, without > having to modify all > the Gambas IDE... > > Regards, > > Daniel Campos > > OK. I added a TRY in front of the line. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Oct 24 15:45:42 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 24 Oct 2004 15:45:42 +0200 Subject: [Gambas-devel] Print Source In-Reply-To: <1098475765.3118.19.camel@...168...> References: <1098475765.3118.19.camel@...168...> Message-ID: <200410241545.42414.gambas@...1...> On Friday 22 October 2004 22:09, Carsten Olsen wrote: > Here are the last changes to Print Source. > > I have added "Use relief" as print option, the colors in the ex. view > should work better. > It is not possible to preview line numbers in the option view because > GambasEditor color it the color as a number in the sourcecode. > > Charlie, I tried this with the fonts but it works find here. Could you > try it again ? > > Have a nice weekend ! > Carsten I will add your code after the 1.0, so that it is well tested before. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Oct 24 16:02:13 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 24 Oct 2004 16:02:13 +0200 Subject: [Gambas-devel] DrawingArea, SetFocus, BUG ? In-Reply-To: <200410210838.42593.christian.faurebouvard@...156...> References: <4176dfa6.2487.0@...16...> <200410210838.42593.christian.faurebouvard@...156...> Message-ID: <200410241602.13767.gambas@...1...> On Thursday 21 October 2004 13:38, Christian Faure wrote: > Hi Benoit, > > Working on a ReportDesigner, i get somes problems: > > The IDE of ReportDesigner work creating and placing objects in a ScrollView > using a toolbox and allow drag and drop to move objects. > > These objects are DrawingArea's > > I call a DrawingArea.SetFocus() function to enable each object to handle > keyboard events. > > All work ok, except when i move an object outside of visible area and > this object lose focus, then app crash with: > QPainter::begin: Cannot paint null pixmap > QPainter::setWorldMatrix: Will be reset by begin() > > Attached file provide a small example of the problem > > Thanks I found the bug: when the drawing area is not visible, qt sends a paint event with a null width and height, which is a case I didn't test. Here is a patch that solves the problem. Regards, -- Benoit Minisini mailto:gambas at ...1... -------------- next part -------------- A non-text attachment was scrubbed... Name: CDrawingArea.cpp Type: text/x-c++src Size: 7350 bytes Desc: not available URL: From Karl.Reinl at ...16... Mon Oct 25 20:10:43 2004 From: Karl.Reinl at ...16... (Charlie Reinl) Date: Mon, 25 Oct 2004 20:10:43 +0200 Subject: [Gambas-devel] xml-lib from Daniel Message-ID: <200410252010.43895.Karl.Reinl@...16...> Salut Daniel, try to work with your XML-Lib, writing is after your exaple no problem. But reading. Don't find out how that should work. A hint would be wellcome. I attached a small project where I transform the FLogin.form to an XML (CReadForm.class). Now I would like to read in that document (CReadXML.class). The Form and its class is just, because they are there !? (and for reading). Using gambas 0.99.RC1 for that. Amicalment Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: MySQLLogin_TEST_XML-0.0.1.tar.gz Type: application/x-tgz Size: 12685 bytes Desc: not available URL: From Karl.Reinl at ...16... Mon Oct 25 22:24:36 2004 From: Karl.Reinl at ...16... (Charlie Reinl) Date: Mon, 25 Oct 2004 22:24:36 +0200 Subject: [Gambas-devel] xml-lib from Daniel Message-ID: <200410252224.36820.Karl.Reinl@...16...> Salut Daniel, try to work with your XML-Lib, writing is after your exaple no problem. But reading. Don't find out how that should work. A hint would be wellcome. I attached a small project where I transform the FLogin.form to an XML (CReadForm.class). Now I would like to read in that document (CReadXML.class). The Form and its class is just, because they are there !? (and for reading). Using gambas 0.99.RC1 (before today) for that. Amicalment Charlie PS. Something went wrong, so I resend it now. -------------- next part -------------- A non-text attachment was scrubbed... Name: MySQLLogin_TEST_XML-0.0.1.tar.gz Type: application/x-tgz Size: 12685 bytes Desc: not available URL: From daniel.campos at ...103... Mon Oct 25 22:17:34 2004 From: daniel.campos at ...103... (Daniel Campos) Date: Mon, 25 Oct 2004 22:17:34 +0200 Subject: [Gambas-devel] Spanish translation 1.0RC1 Message-ID: <1098735454.23541.1.camel@...102...> Here it is... I think I've lived it twice! :-)) Regards, D. Campos -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-es-1.0RC1.po Type: text/x-gettext-translation Size: 62775 bytes Desc: not available URL: From gambas at ...1... Tue Oct 26 12:30:49 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 26 Oct 2004 12:30:49 +0200 Subject: [Gambas-devel] Spanish translation 1.0RC1 In-Reply-To: <1098735454.23541.1.camel@...102...> References: <1098735454.23541.1.camel@...102...> Message-ID: <200410261230.49380.gambas@...1...> On Monday 25 October 2004 22:17, Daniel Campos wrote: > Here it is... I think I've lived it twice! :-)) > > Regards, > > D. Campos Thanks. -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...19... Tue Oct 26 18:11:08 2004 From: sourceforge-raindog2 at ...19... (Rob) Date: Tue, 26 Oct 2004 12:11:08 -0400 Subject: [Gambas-devel] slashdotted :) Message-ID: <200410261211.08389.sourceforge-raindog2@...19...> http://developers.slashdot.org/article.pl?sid=04/10/26/142212 Comments seem mostly positive apart from "What about kylix?" Rob From carsten at ...151... Tue Oct 26 19:50:46 2004 From: carsten at ...151... (Carsten Olsen) Date: Tue, 26 Oct 2004 19:50:46 +0200 Subject: [Gambas-devel] Format source Message-ID: <1098813045.3134.156.camel@...168...> Here are some code to format gambas source in the editor. The zip-file contains New CFormatSource.class Altered FEditor.class + form (new button) Altered FOption.class + form (new options for Format source in other tab) New icon format-source.png Kind regards Carsten Olsen -------------- next part -------------- An HTML attachment was scrubbed... URL: From carsten at ...169... Tue Oct 26 19:51:45 2004 From: carsten at ...169... (Carsten Olsen) Date: Tue, 26 Oct 2004 19:51:45 +0200 Subject: [Gambas-devel] [Fwd: Format source] Message-ID: <1098813105.3134.160.camel@...168...> And the zip-file :) -----Forwarded Message----- > From: Carsten Olsen > To: Gambas devel > Subject: Format source > Date: Tue, 26 Oct 2004 19:50:46 +0200 > > Here are some code to format gambas source in the editor. > > The zip-file contains > > New CFormatSource.class > Altered FEditor.class + form (new button) > Altered FOption.class + form (new options for Format source in other > tab) > New icon format-source.png > > Kind regards > > Carsten Olsen Hilsen Carsten -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: formatsource-gambas.tar.bz2 Type: application/x-bzip-compressed-tar Size: 13905 bytes Desc: not available URL: From daniel.campos at ...103... Tue Oct 26 22:52:50 2004 From: daniel.campos at ...103... (Daniel Campos) Date: Tue, 26 Oct 2004 22:52:50 +0200 Subject: [Gambas-devel] xml-lib from Daniel In-Reply-To: <200410252224.36820.Karl.Reinl@...16...> References: <200410252224.36820.Karl.Reinl@...16...> Message-ID: <1098823970.3725.4.camel@...102...> Mmmh... I was trying to write an example and i've found a bug in XmlReader thanks to this, I will send the example and the patch soon... Regards, D. Campos From ronstk at ...124... Wed Oct 27 07:42:21 2004 From: ronstk at ...124... (ron) Date: Wed, 27 Oct 2004 07:42:21 +0200 Subject: [Gambas-devel] Prob: RPM SuSE8.2 not working Message-ID: <200410270742.21662.ronstk@...124...> On SuSE 8.2 there is no rpmbuild executable. Only rpm program is /bin/rpm only as version rpm-3.0.6-555.i586.rpm Making a soft link rpmbuild let me pass the error and say sucess at the end. In ~/RPM directoy are following BUILD :empty BUILD/gambas :project copy RPMS :empty RPMS/noarch :empty SOURCES :gambas-gambas-0.99.tar.bz2 SPECS :gambas-gambas.spec SRPMS :empty tmp :empty Attachments: The spec file. The result in from text box after finish. The known build options for version 3.0.6-555 After finish it is easy to click OK to close the form, however it starts again. Cancel sounds a bit stupid, I do not want that. :) In project.module there is a test for existing rpmbuild. This does not work. The process starts without that rpmbuild program ??? PUBLIC SUB MakeInstall() IF MakeExecutable(TRUE, TRUE) THEN RETURN IF CheckProgram("rpmbuild") THEN Message.Error(("rpmbuild is not installed on your system.")) RETURN ENDIF FMakeInstall.ShowModal END The whereis returned without link: terminator:/opt/gambas # whereis rpmbuild rpmbuild: with link and dummy .noway terminator:/opt/gambas # whereis rpmbuild rpmbuild: /bin/rpmbuild.noway /bin/rpmbuild In Project.module PUBLIC FUNCTION CheckProgram(sProg AS String) AS Boolean DIM sTemp AS String DIM bError AS Boolean sTemp = Temp$ SHELL "whereis " & sProg & " > " & sTemp WAIT bError = NOT (Trim(File.Load(sTemp)) LIKE (sProg & ":*")) KILL sTemp RETURN bError END Maybe change: bError = NOT (Trim(File.Load(sTemp)) LIKE (sProg & ":*")) to sProg = "/" & sProg & " " sTemp2 = File.Load(sTemp) & " " ' in sTemp2 = "rpmbuild: /bin/rpmbuild /bin/rpmbuild.noway " sTemp2 = mid$(sTemp2,instr(sTemp2,":")+1) & " " 'get right side of ':' bError = NOT (instr(sTemp2,sProg) > 0) -------------- next part -------------- %define name gambas-gambas %define version 0.99 %define release 110suse Summary: Gambas Name: %{name} Version: %{version} Release: %{release} Source0: %{name}-%{version}.tar.bz2 License: GPL Group: Development/Languages BuildRoot: %{_tmppath}/%{name}-buildroot Prefix: %{_prefix} BuildArch: noarch Requires: gambas-runtime >= 0.95,gambas-runtime <= 1.0,gambas-gb-debug >= 0.95,gambas-gb-debug <= 1.0,gambas-gb-qt >= 0.95,gambas-gb-qt <= 1.0,gambas-gb-qt-editor >= 0.95,gambas-gb-qt-editor <= 1.0,gambas-gb-qt-ext >= 0.95,gambas-gb-qt-ext <= 1.0 AutoReqProv: no %description Integrated Development Environment for Gambas This program is written in Gambas, so you will need Gambas to be installed. %prep rm -rf $RPM_BUILD_ROOT %setup -q -n gambas %build /opt/gambas/bin/gbc -a -t gba %install install -d $RPM_BUILD_ROOT/usr/bin install -p gambas $RPM_BUILD_ROOT/usr/bin/gambas-gambas install -d $RPM_BUILD_ROOT/%{_datadir}/pixmaps install -d $RPM_BUILD_ROOT/%{_datadir}/applications install -p .icon/32.png $RPM_BUILD_ROOT/%{_datadir}/pixmaps/gambas-gambas.png cat << EOF > $RPM_BUILD_ROOT/%{_datadir}/applications/gambas-gambas.desktop [Desktop Entry] Name=Gambas Comment=Integrated Development Environment for Gambas Categories=Development;IDE Icon=/usr/share/pixmaps/gambas-gambas.png Exec=/usr/bin/gambas-gambas Type=Application Terminal=False Encoding=UTF-8 EOF %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) /usr/bin/gambas-gambas %{_datadir}/pixmaps/gambas-gambas.png %{_datadir}/applications/gambas-gambas.desktop %changelog * Wed Oct 27 2004 root 0.99-110 - * Wed Oct 27 2004 root 0.99-110 - sdfsadfsd * Wed Oct 27 2004 root 0.99-110 - sdfsadfsd -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-rpm.log Type: text/x-log Size: 26637 bytes Desc: not available URL: -------------- next part -------------- BUILD OPTIONS The general form of an rpm build command is rpm -[b|t]O [build-options] + The argument used is -b if a spec file is being used to build the package and -t if RPM should look inside of a gzipped (or compressed) tar file for the spec file to use. After the first argument, the next argument (O) specifies the stages of building and packaging to be done and is one of: -bp Executes the "%prep" stage from the spec file. Normally this involves unpacking the sources and applying any patches. -bl Do a "list check". The "%files" section from the spec file is macro expanded, and checks are made to verify that each file exists. -bc Do the "%build" stage from the spec file (after doing the prep stage). This generally involves the equivalent of a "make". -bi Do the "%install" stage from the spec file (after doing the prep and build stages). This gener? ally involves the equivalent of a "make install". -bb Build a binary package (after doing the prep, build, and install stages). -bs Build just the source package (after doing the prep, build, and install stages). -ba Build binary and source packages (after doing the prep, build, and install stages). The following options may also be used: --short-circuit Skip straight to specified stage (ie, skip all stages leading up to the specified stage). Only valid with -bc and -bi. --timecheck Set the "timecheck" age (0 to disable). This value can also be configured by defining the macro "_timecheck". The timecheck value expresses, in seconds, the maximum age of a file being pack? aged. Warnings will be printed for all files beyond the timecheck age. --clean Remove the build tree after the packages are made. --rmsource Remove the sources and spec file after the build (may also be used standalone, eg. "rpm --rmsource foo.spec"). --test Do not execute any build stages. Useful for testing out spec files. --sign Embed a PGP signature in the package. This signature can be used to verify the integrity and the origin of the package. See the section on PGP SIGNATURES for configuration details. --buildroot When building the package, override the BuildRoot tag with directory . --target When building the package, interpret as arch-vendor-os and set the macros _target, _target_arch and _target_os accordingly. --buildarch When building the package, set the architecture to . This option has been obsoleted by --target in RPM 3.0. --buildos When building the package, set the architecture to . This option has been obsoleted by --tar? get in RPM 3.0. From joffrey at ...171... Wed Oct 27 07:56:33 2004 From: joffrey at ...171... (Jason Offrey) Date: Tue, 26 Oct 2004 22:56:33 -0700 Subject: [Gambas-devel] Re: Gambas-devel -- confirmation of subscription -- request 166168 In-Reply-To: <20041026193449.1A2F41D2AAF@...172...> References: <20041026193449.1A2F41D2AAF@...172...> Message-ID: <200410262256.33825.joffrey@...171...> On October 26, 2004 12:34 pm, gambas-devel-request at lists.sourceforge.net wrote: > Gambas-devel -- confirmation of subscription -- request 166168 > > We have received a request from 24.69.4.184 for subscription of your > email address, , to the > gambas-devel at lists.sourceforge.net mailing list. To confirm the > request, please send a message to > gambas-devel-request at lists.sourceforge.net, and either: > > - maintain the subject line as is (the reply's additional "Re:" is > ok), > > - or include the following line - and only the following line - in the > message body: > > confirm 166168 > > (Simply sending a 'reply' to this message should work from most email > interfaces, since that usually leaves the subject line in the right > form.) > > If you do not wish to subscribe to this list, please simply disregard > this message. Send questions to > gambas-devel-admin at ...30... From ronstk at ...124... Wed Oct 27 08:15:15 2004 From: ronstk at ...124... (ron) Date: Wed, 27 Oct 2004 08:15:15 +0200 Subject: [Gambas-devel] Prob: Translating and how to get it. Message-ID: <200410270815.15171.ronstk@...124...> I made the translating for Gambas by editing the current nl.po file with kedit. Placed the new file in /usr/local/gb99rc1/app/gambas/.lang and make install again. The gambas executable is then again compiled but running I was missing some translating. But how do I get Gambas now (startup) in Dutch? There is no place I can select the language for the IDE. My system is en_EN but I wish be able to select for the IDE the language to verify it is correct in real time. :-) There is also no way to bypass the first form without selecting a new, existing or recent project. When New is chosen you must use the wizard. Canceling it does not give an empty project but send back to the first form. This is unpleasant if I want to look in the Help only i.e. :( @Daniel Campos: How do you make the new es.po file so quickly ??? @Benoit Minisini Don't forget the Gambas0.99.RC1a :=) Greetings Ron. From daniel.campos at ...103... Wed Oct 27 08:46:38 2004 From: daniel.campos at ...103... (daniel.campos at ...103...) Date: Wed, 27 Oct 2004 08:46:38 +0200 Subject: [Gambas-devel] Prob: Translating and how to get it. In-Reply-To: <200410270815.15171.ronstk@...124...> Message-ID: <417E0DD2000004D8@...173...> Hi Ron: Gambas has is own translator, do not use kedit to do that! That translator exports the files automatically in .po format. Here you've more information: http://www.binara.com/gambas-wiki/bin/view/Gambas/HowToTranslateGambas Regards, D. Campos >-- Mensaje Original -- >From: ron >To: gambas-devel at lists.sourceforge.net >Subject: [Gambas-devel] Prob: Translating and how to get it. >Reply-To: gambas-devel at lists.sourceforge.net >Date: Wed, 27 Oct 2004 08:15:15 +0200 > > >I made the translating for Gambas by editing the current nl.po file with kedit. Placed the new file in /usr/local/gb99rc1/app/gambas/.lang and make install again. The gambas executable is then again compiled but running I was missing some transl >ting. But how do I get Gambas now (startup) in Dutch? There is no place I can select the language for the IDE. My system is en_EN but I wish be able to select for the IDE the language to verify it is correct in real time. :-) There is also no >ay to bypass the first form without selecting a new, existing or recent project. When New is chosen you must use the wizard. Canceling it does not give an empty project but send back to the first form. This is unpleasant if I want to look in the H >lp only i.e. :( @Daniel Campos: How do you make the new es.po file so quickly ??? @Benoit Minisini Don't forget the Gambas0.99.RC1a :=) Greetings Ron. ------------------------------------------------------- This SF.Net email is spons >red by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Gambas-dev >l mailing list Gambas-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-devel Env?anos tus fotos digitales. Te las revelamos en papel de m?xima calidad y te las llevamos a la puerta de casa. ?Ver?s qu? c?modo! http://foto.tiscali.es From herve-gambas at ...174... Wed Oct 27 08:54:23 2004 From: herve-gambas at ...174... (=?ISO-8859-1?Q?Herv=E9_Masson?=) Date: Wed, 27 Oct 2004 08:54:23 +0200 Subject: [Gambas-devel] Any started windows port ? Message-ID: <417F461F.5000108@...174...> Hi, Slashdot post just got me aware of gambas, and the first thing I would like to write is: congratulation to all gambas workers ! This looks like a really cool and well done project. Before I spend some time in reading gambas code internals, I would like to ask if someone already started to work at a windows port, and if I could possibly give a hand on this ? I've some skills in windows programming, and a few years ago, I wrote a C/Objective-C cross platform (Xlib and win32-sdk) API for GUI creation. Regards, Herv? Masson From daniel.campos at ...103... Wed Oct 27 09:03:45 2004 From: daniel.campos at ...103... (daniel.campos at ...103...) Date: Wed, 27 Oct 2004 09:03:45 +0200 Subject: [Gambas-devel] Any started windows port ? In-Reply-To: <417F461F.5000108@...174...> Message-ID: <417E0DD2000004EB@...173...> Hi: Beno?t tried to make it work using cygwin: "Gambas interpreter and compiler now compiles on CygWin but not components. The libtool 1.5 package is required, and I don't know how to get it ! But programs without GUI work." In other words, if you can help providing libtool 1.5 for Cygwin, or allowing gambas to load components using any other method under cygwin, do not wait, start now! :-)) The QT-GPL version is beeing ported to windows with success (no need of a "fake X-Server" under windows), so even graphical Gambas programs would be able to work correctly if Gambas were able to load components. http://sourceforge.net/forum/forum.php?forum_id=388683 Regards, D. Campos >-- Mensaje Original -- >From: Herv? Masson >To: gambas-devel at lists.sourceforge.net >Subject: [Gambas-devel] Any started windows port ? >Reply-To: gambas-devel at lists.sourceforge.net >Date: Wed, 27 Oct 2004 08:54:23 +0200 > > >Hi, Slashdot post just got me aware of gambas, and the first thing I would like to write is: congratulation to all gambas workers ! This looks like a really cool and well done project. Before I spend some time in reading gambas code internals, > would like to ask if someone already started to work at a windows port, and if I could possibly give a hand on this ? I've some skills in windows programming, and a few years ago, I wrote a C/Objective-C cross platform (Xlib and win32-sdk) API f >r GUI creation. Regards, Herv? Masson ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best dat >base on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Gambas-devel mailing list Gambas-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-devel Env?anos tus fotos digitales. Te las revelamos en papel de m?xima calidad y te las llevamos a la puerta de casa. ?Ver?s qu? c?modo! http://foto.tiscali.es From gambas at ...1... Wed Oct 27 11:58:54 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 27 Oct 2004 11:58:54 +0200 Subject: [Gambas-devel] Format source In-Reply-To: <1098813045.3134.156.camel@...168...> References: <1098813045.3134.156.camel@...168...> Message-ID: <200410271158.54392.gambas@...1...> On Tuesday 26 October 2004 19:50, Carsten Olsen wrote: > Here are some code to format gambas source in the editor. > > The zip-file contains > > New CFormatSource.class > Altered FEditor.class + form (new button) > Altered FOption.class + form (new options for Format source in other > tab) > New icon format-source.png > > Kind regards > > Carsten Olsen As I said before, I will add a method in the gb.eval component that will analyze a code line and return all the language pattern inside, with the type, so that colorize and format the code becomes simple. Any problem with that ? :-) -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...19... Wed Oct 27 14:20:47 2004 From: sourceforge-raindog2 at ...19... (Rob) Date: Wed, 27 Oct 2004 08:20:47 -0400 Subject: [Gambas-devel] Any started windows port ? In-Reply-To: <417E0DD2000004EB@...173...> References: <417E0DD2000004EB@...173...> Message-ID: <200410270820.47962.sourceforge-raindog2@...19...> On Wednesday 27 October 2004 03:03, daniel.campos at ...103... wrote: > The QT-GPL version is beeing ported to windows with success > (no need of a "fake X-Server" under > windows), so even graphical Gambas programs would be able to > work correctly if Gambas were > able to load components. Hmmm, I don't know about that... building the gambas compiler and interpreter under cygwin and using qt-cygwin is a far cry from porting the compiler+interpreter to native windows and using this native qt port! I don't think you could use this qt port from a cygwin program, but maybe I misunderstand its project page... Rob From herve at ...175... Wed Oct 27 15:02:30 2004 From: herve at ...175... (=?ISO-8859-1?Q?Herv=E9_Masson?=) Date: Wed, 27 Oct 2004 15:02:30 +0200 Subject: [Gambas-devel] Any started windows port ? In-Reply-To: <417E0DD2000004EB@...173...> References: <417E0DD2000004EB@...173...> Message-ID: <417F9C66.9080605@...175...> Hi, > Beno?t tried to make it work using cygwin: > > "Gambas interpreter and compiler now compiles on CygWin but not components. > > The libtool 1.5 package is required, and I don't know how to get it ! But > programs without GUI work." Could someone give hints to achive compiling gambas on cygwin ? I simply tried to run "./configure" on cygwin, and it failed when searching for libX11. I then loaded the cygwin/x modules, which amongst other things install a library named "libX11.dll.a", but his does not suit gambas needs. Is there something special to do about this ? > In other words, if you can help providing libtool 1.5 for Cygwin, > or allowing gambas to load components using any other method under > cygwin, do not wait, start now! :-)) Isn't the available cygwin package "libtool-1.5b" good for gambas compilation ? > Rob wrote: > Hmmm, I don't know about that... building the gambas compiler and > interpreter under cygwin and using qt-cygwin is a far cry from > porting the compiler+interpreter to native windows and using > this native qt port! I don't think you could use this qt port > from a cygwin program, but maybe I misunderstand its project > page... Do you have another suggestions/directoins to achieve the port of the GUI part ? Thanks, Herv? Masson From dimitribellini at ...69... Wed Oct 27 15:47:07 2004 From: dimitribellini at ...69... (Dimitri Bellini) Date: Wed, 27 Oct 2004 15:47:07 +0200 Subject: [Gambas-devel] Any started windows port ? In-Reply-To: <417F9C66.9080605@...175...> References: <417E0DD2000004EB@...173...> <417F9C66.9080605@...175...> Message-ID: <200410271547.07519.dimitribellini@...69...> Hi Herv? I have try to find libtool-1.5 for cygwin and i seed this pack: http://gd.tuwien.ac.at/pc/bazar/cygwin/release/libtool/libtool-1.5b-1.tar.bz2 Try it Dimitri On Wednesday 27 October 2004 15:02, Herv? Masson wrote: > Hi, > > > Beno?t tried to make it work using cygwin: > > > > "Gambas interpreter and compiler now compiles on CygWin but not > > components. > > > > The libtool 1.5 package is required, and I don't know how to get it ! But > > programs without GUI work." > > Could someone give hints to achive compiling gambas on cygwin ? > > I simply tried to run "./configure" on cygwin, and it failed when > searching for libX11. I then loaded the cygwin/x modules, which > amongst other things install a library named "libX11.dll.a", but > his does not suit gambas needs. Is there something special to do > about this ? > > > In other words, if you can help providing libtool 1.5 for Cygwin, > > or allowing gambas to load components using any other method under > > cygwin, do not wait, start now! :-)) > > Isn't the available cygwin package "libtool-1.5b" good for gambas > compilation ? > > > Rob wrote: > > Hmmm, I don't know about that... building the gambas compiler and > > interpreter under cygwin and using qt-cygwin is a far cry from > > porting the compiler+interpreter to native windows and using > > this native qt port! I don't think you could use this qt port > > from a cygwin program, but maybe I misunderstand its project > > page... > > Do you have another suggestions/directoins to achieve the port of > the GUI part ? > > Thanks, > Herv? Masson > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id065&op=Click > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel From sourceforge-raindog2 at ...19... Wed Oct 27 16:14:06 2004 From: sourceforge-raindog2 at ...19... (Rob) Date: Wed, 27 Oct 2004 10:14:06 -0400 Subject: [Gambas-devel] Any started windows port ? In-Reply-To: <417F9C66.9080605@...175...> References: <417E0DD2000004EB@...173...> <417F9C66.9080605@...175...> Message-ID: <200410271014.06570.sourceforge-raindog2@...19...> On Wednesday 27 October 2004 09:02, Herv? Masson wrote: > > native windows and using this native qt port! I don't > > think you could use this qt port from a cygwin program, but > > maybe I misunderstand its project page... > Do you have another suggestions/directoins to achieve the port > of the GUI part ? Certainly... assuming you can get those dependencies resolved (I have to admit libX11.dll.a sounds kinda weird to me...) I would recommend building against the cygwin port of Qt, which is supposedly pretty stable by now. That's different than the native GPL port of Qt, which is what Daniel was referring to. I may have access to a vmware Win2K session in the near future, and if I do (and if I have time) I am going to take a crack at building it as well. I'm afraid I've never built anything under cygwin in the limited time I've used it in the past, just installed binaries. But, my gambas priorities right now are finishing up gb.pcre and getting the documentation updated... Rob From yizhou_he at ...143... Wed Oct 27 17:55:35 2004 From: yizhou_he at ...143... (Yizhou He) Date: Wed, 27 Oct 2004 23:55:35 +0800 Subject: [Gambas-devel] Simplified Chinese translation 0.99RC1 Message-ID: <33c40a33b7b6.33b7b633c40a@...143...> sorry, because of new baby event, I didn't upload translation for Gambas 0.99. Here is translation for Gambas 0.99RC1. and translated Tips for today. no change in database manager was found. I can not translate the dialog window of make execute file. the button and text remain English. Yizhou he Research Technician (Xiong Lab) Lineberger Comprehensive Cancer Center University of North Carolina at Chapel Hill Chapel Hill, NC 27599-7295 Tel: (919)-962-2143 ----- Original Message ----- From: gambas-devel-request at lists.sourceforge.net Date: Wednesday, October 27, 2004 11:04 am Subject: Gambas-devel digest, Vol 1 #369 - 5 msgs > Send Gambas-devel mailing list submissions to > gambas-devel at lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/gambas-devel > or, via email, send a message with subject or body 'help' to > gambas-devel-request at lists.sourceforge.net > > You can reach the person managing the list at > gambas-devel-admin at lists.sourceforge.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Gambas-devel digest..." > > > Today's Topics: > > 1. Re: Spanish translation 1.0RC1 (Benoit Minisini) > 2. slashdotted :) (Rob) > 3. Format source (Carsten Olsen) > 4. [Fwd: Format source] (Carsten Olsen) > 5. Re: xml-lib from Daniel (Daniel Campos) > > --__--__-- > > Message: 1 > From: Benoit Minisini > To: gambas-devel at lists.sourceforge.net > Subject: Re: [Gambas-devel] Spanish translation 1.0RC1 > Date: Tue, 26 Oct 2004 12:30:49 +0200 > Reply-To: gambas-devel at lists.sourceforge.net > > On Monday 25 October 2004 22:17, Daniel Campos wrote: > > Here it is... I think I've lived it twice! :-)) > > > > Regards, > > > > D. Campos > > Thanks. > > -- > Benoit Minisini > mailto:gambas at ...1... > > > --__--__-- > > Message: 2 > From: Rob > To: gambas-user at lists.sourceforge.net > Date: Tue, 26 Oct 2004 12:11:08 -0400 > Cc: gambas-devel at lists.sourceforge.net > Subject: [Gambas-devel] slashdotted :) > Reply-To: gambas-devel at lists.sourceforge.net > > http://developers.slashdot.or > > Comments seem mostly positive apart from "What about kylix?" > > Rob > > > > > --__--__-- > > Message: 3 > From: Carsten Olsen > To: Gambas devel > Date: Tue, 26 Oct 2004 19:50:46 +0200 > Subject: [Gambas-devel] Format source > Reply-To: gambas-devel at lists.sourceforge.net > > > --=-5inJz2n6dCvUNUxA/fbp > Content-Type: text/plain > Content-Transfer-Encoding: 7bit > > Here are some code to format gambas source in the editor. > > The zip-file contains > > New CFormatSource.class > Altered FEditor.class + form (new button) > Altered FOption.class + form (new options for Format source in other > tab) > New icon format-source.png > > Kind regards > > Carsten Olsen > > --=-5inJz2n6dCvUNUxA/fbp > Content-Type: text/html; charset=utf-8 > Content-Transfer-Encoding: 7bit > > > > > > > > > Here are some code to format gambas source in the editor.
>
> The zip-file contains
>
> New CFormatSource.class
> Altered FEditor.class + form (new button)
> Altered FOption.class + form (new options for Format source in > other tab)
> New icon format-source.png
> > > > >
>
> Kind regards
>
> Carsten Olsen >
> > > > > --=-5inJz2n6dCvUNUxA/fbp-- > > > > --__--__-- > > Message: 4 > From: Carsten Olsen > To: Gambas devel > Date: Tue, 26 Oct 2004 19:51:45 +0200 > Subject: [Gambas-devel] [Fwd: Format source] > Reply-To: gambas-devel at lists.sourceforge.net > > > --=-2AIyo2xGIQMJDt2iP6w8 > Content-Type: multipar > > --=-lggHhPwv/ZkvpVNnY8AM > Content-Type: text/plain > Content-Transfer-Encoding: 7bit > > And the zip-file :) > > > > -----Forwarded Message----- > > > From: Carsten Olsen > > To: Gambas devel > > Subject: Format source > > Date: Tue, 26 Oct 2004 19:50:46 +0200 > > > > Here are some code to format gambas source in the editor. > > > > The zip-file contains > > > > New CFormatSource.class > > Altered FEditor.class + form (new button) > > Altered FOption.class + form (new options for Format source in other > > tab) > > New icon format-source.png > > > > Kind regards > > > > Carsten Olsen > > > Hilsen > > Carsten > > --=-lggHhPwv/ZkvpVNnY8AM > Content-Type: text/html; charset=utf-8 > Content-Transfer-Encoding: 7bit > > > > > > > > > And the zip-file :)
>
>
>
> -----Forwarded Message----- >
> From: Carsten Olsen > To: Gambas devel devel at lists.sourceforge.net>
Subject: Format > source
Date: Tue, 26 Oct 2004 19:50:46 +0200
>
> Here are some code to format gambas source in the editor.
>
> The zip-file contains
>
> New CFormatSource.class
> Altered FEditor.class + form (new button)
> Altered FOption.class + form (new options for Format source in > other tab)
> New icon format-source.png

> > > > >
>
> Kind regards
>
> Carsten Olsen >
> >
> > > > >
>
> Hilsen
>
> Carsten >
> > > > > --=-lggHhPwv/ZkvpVNnY8AM-- > > --=-2AIyo2xGIQMJDt2iP6w8 > Content-Disposition: attachment; filename=formatsource-gambas.tar.bz2 > Content-Type: application/x-bzip-compressed-tar; name=formatsource- > gambas.tar.bz2Content-Transfer-Encoding: base64 > > QlpoOTFBWSZTWbH7kb4Aafd////Wd5n97////////v//3/5QJCAODpNREyTEPEo4gBmY4El+++Z3 > hFXIaz7e+++p70e+1PLZ89vt3B9Pht8+3t7bu19e2UqO8o5zq95u8EVe1MducMAp3nuxkc3gejmw > VcDt73uzo6933vPvb5bvO00KFZz5b7q24e7qube73e5Cru33kPZ9ePPc94J7t2na++33gd32vu9L > 68I0r1u93j4E5x92ZL5pbxz4tgNedxq9tUtWWxtbDWJtrp1ri+nn33H22d3Bz2aUG2hOjrqrwt5Y > p3XRAdXW9WMO2PgkhE0AmgRiCYIT0aIyDRpqZk01TelPRPTU0ek0eoAaA0epoyGTQAAAB6ZIJTQI > IgghMhpHoKn6NSfqj9FPKMjQPUBvVPSGgGgAGgeoGgGgAAAAAJBJFTyNJMp4U2pqZ6anpqTaNpNA > ymTaGiPRMQwAACaYQyYIYATQZDCNGmAhSQgQmhDTTEo/TUwlP1TMKaeUaeoPUD1AHqAPUDah6gae > oAAaAAAAAAiSmknpMTJpMSfqp6m9MnqKep5PTQoZqaHlPSD0RoA9QAHqeUAADQDIAZBpoNDQIkiB > CaaNBNE2Sp+jE9CaaYmRqaR6hppoPSNABo0ANAAAAAA0AAH8/U76z6fzYeAxdLpp1ZsGmY1oqEVD > 79e938YG5EPowAE970ebzle/7aL8wV3eohYQ0l/UO+C6YzKiPju3duIdDpBAo0IpSh5QkYgHAJQA > IBdOUgdVAyiiwU/tc0gr5sQAX3kugDIoqHpxT+MHXFAtHi36UDyTzJOTOIXD4IKvwfsw+NpS1t+79T4qumCt33SR9mYQx5WxZ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D1e95PgbOAc96qDSd0GnkhxwbAdnZ79EEpUPAppd+CLcKAGgXqc3yBoe/jA69 > s7FK+IPsIw6d6/XUaBJg0AckDw2MEbtECE3xCgizQUWAGWQG+RuNnwKB0w8SOy+k6sndYxBiRkuU > hrKPkzEwFMjUJxI5vIaAAZawvGiUVJSGhuechGoyyG1HE8ro45OAaRRjoRqhLWCwlyEJE5AMAoHr > EHkTaFSh0IG6gOnyjwonaVEDHB8yYEGAg8aoGcEtEYIk2gAMYDoHv3QgQgpAlQ2evvkL48UYPNBA > yGZMq9NbqHsmlHACKxIKmlPEHOp10biOKXHuE5UUKdAuFlU+hw4G44cBUiIG2Ch29zTzKHKwUmMC > DuiOC+Y9E+ovmMzNAgwm4zSEIb3uuID5XjO2u1DmQyghMhIQMHrD7IevB95SN0hhmiR/VpIGMhC4 > OI8DD7PhOupn6hkKfn89gGOoQTO8hWo05zTSflTAd6d6CaICRQaAPSLBN+Z5/nfUahP4Djmb1BOT > MRZbplaHO5tNhmsLOBDExsiSCYmC07C+OHY7g64KpICSKDQgdu5BXlMwRIa9HUB6IevxQPeJYpI8 > wHw/rz8tX5YqmQpmkAmqPCpCkWJaRKopP9uxiqmwJKSTjEfJy/B/n9inwelw/y/bu9b5q/yvJ/p4 > f/vlqp+B/9uTz/H880r/n+X5vn+75//Pl+b8H9XF8vz/N/d8/9ulCR+H/8XckU4UJCx+5G+A > > --=-2AIyo2xGIQMJDt2iP6w8-- > > > > --__--__-- > > Message: 5 > Subject: Re: [Gambas-devel] xml-lib from Daniel > From: Daniel Campos > To: gambas-devel at lists.sourceforge.net > Date: Tue, 26 Oct 2004 22:52:50 +0200 > Reply-To: gambas-devel at lists.sourceforge.net > > Mmmh... I was trying to write an example and i've found a bug > in XmlReader thanks to this, I will send the example and the patch > soon... > > Regards, > > D. Campos > > > > > > --__--__-- > > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > > > End of Gambas-devel Digest > -------------- next part -------------- A non-text attachment was scrubbed... Name: ips.zh Type: application/octet-stream Size: 7357 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: h.po Type: text/x-po Size: 59867 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: h.mo Type: application/octet-stream Size: 37097 bytes Desc: not available URL: From gambas at ...1... Wed Oct 27 18:17:42 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 27 Oct 2004 18:17:42 +0200 Subject: [Gambas-devel] Any started windows port ? In-Reply-To: <417F9C66.9080605@...175...> References: <417E0DD2000004EB@...173...> <417F9C66.9080605@...175...> Message-ID: <200410271817.42246.gambas@...1...> On Wednesday 27 October 2004 15:02, Herv? Masson wrote: > Hi, > > > Beno?t tried to make it work using cygwin: > > > > "Gambas interpreter and compiler now compiles on CygWin but not > > components. > > > > The libtool 1.5 package is required, and I don't know how to get it ! But > > programs without GUI work." > > Could someone give hints to achive compiling gambas on cygwin ? > > I simply tried to run "./configure" on cygwin, and it failed when > searching for libX11. I then loaded the cygwin/x modules, which > amongst other things install a library named "libX11.dll.a", but > his does not suit gambas needs. Is there something special to do > about this ? > Did you install X11 development packages ? > > In other words, if you can help providing libtool 1.5 for Cygwin, > > or allowing gambas to load components using any other method under > > cygwin, do not wait, start now! :-)) > > Isn't the available cygwin package "libtool-1.5b" good for gambas > compilation ? > > > Rob wrote: > > Hmmm, I don't know about that... building the gambas compiler and > > interpreter under cygwin and using qt-cygwin is a far cry from > > porting the compiler+interpreter to native windows and using > > this native qt port! I don't think you could use this qt port > > from a cygwin program, but maybe I misunderstand its project > > page... > > Do you have another suggestions/directoins to achieve the port of > the GUI part ? > The qt component uses some X11 specific code to workaround Qt bugs & limitations, and depends on a window manager that implements the freedesktop.org standards. Otherwise, you should not have problem :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From herve at ...175... Wed Oct 27 18:35:58 2004 From: herve at ...175... (=?ISO-8859-1?Q?Herv=E9_Masson?=) Date: Wed, 27 Oct 2004 18:35:58 +0200 Subject: [Gambas-devel] Any started windows port ? In-Reply-To: <200410271817.42246.gambas@...1...> References: <417E0DD2000004EB@...173...> <417F9C66.9080605@...175...> <200410271817.42246.gambas@...1...> Message-ID: <417FCE6E.2060904@...175...> > Did you install X11 development packages ? well, I think so. I did install the following: xorg-x11-base-6.8.1.0-1.tar.bz2 xorg-x11-devel-6.8.1.0-1.tar.bz2 xorg-x11-libs-data-6.8.1.0-1.tar.bz2 xorg-x11-bin-dlls-6.8.1.0-1.tar.bz2 From gambas at ...1... Wed Oct 27 18:14:01 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 27 Oct 2004 18:14:01 +0200 Subject: [Gambas-devel] Prob: RPM SuSE8.2 not working In-Reply-To: <200410270742.21662.ronstk@...124...> References: <200410270742.21662.ronstk@...124...> Message-ID: <200410271814.01037.gambas@...1...> On Wednesday 27 October 2004 07:42, ron wrote: > On SuSE 8.2 there is no rpmbuild executable. > > Only rpm program is /bin/rpm only as version rpm-3.0.6-555.i586.rpm > Making a soft link rpmbuild let me pass the error and say sucess at > the end. > In ~/RPM directoy are following > > BUILD :empty > BUILD/gambas :project copy > RPMS :empty > RPMS/noarch :empty > SOURCES :gambas-gambas-0.99.tar.bz2 > SPECS :gambas-gambas.spec > SRPMS :empty > tmp :empty > > Attachments: > The spec file. > The result in from text box after finish. > The known build options for version 3.0.6-555 > > After finish it is easy to click OK to close the form, however it > starts again. Cancel sounds a bit stupid, I do not want that. :) > > In project.module there is a test for existing rpmbuild. > This does not work. The process starts without that rpmbuild program ??? > > PUBLIC SUB MakeInstall() > > IF MakeExecutable(TRUE, TRUE) THEN RETURN > IF CheckProgram("rpmbuild") THEN > Message.Error(("rpmbuild is not installed on your system.")) > RETURN > ENDIF > FMakeInstall.ShowModal > > END > > > The whereis returned > > without link: > terminator:/opt/gambas # whereis rpmbuild > rpmbuild: > > with link and dummy .noway > terminator:/opt/gambas # whereis rpmbuild > rpmbuild: /bin/rpmbuild.noway /bin/rpmbuild > > In Project.module > PUBLIC FUNCTION CheckProgram(sProg AS String) AS Boolean > > DIM sTemp AS String > DIM bError AS Boolean > > sTemp = Temp$ > SHELL "whereis " & sProg & " > " & sTemp WAIT > bError = NOT (Trim(File.Load(sTemp)) LIKE (sProg & ":*")) > KILL sTemp > > RETURN bError > > END > > > Maybe change: > bError = NOT (Trim(File.Load(sTemp)) LIKE (sProg & ":*")) > to > sProg = "/" & sProg & " " > sTemp2 = File.Load(sTemp) & " " > ' in sTemp2 = "rpmbuild: /bin/rpmbuild /bin/rpmbuild.noway " > sTemp2 = mid$(sTemp2,instr(sTemp2,":")+1) & " " 'get right side of ':' > bError = NOT (instr(sTemp2,sProg) > 0) Thanks for the bug report. Now the program is correctly checked, and if rpmbuild is not found, then rpm is used if present. 'OK' and 'Cancel' were renamed as 'Make package' and 'Close'. Regards, -- Benoit Minisini mailto:gambas at ...1... From carsten at ...151... Wed Oct 27 19:37:41 2004 From: carsten at ...151... (Carsten Olsen) Date: Wed, 27 Oct 2004 19:37:41 +0200 Subject: [Gambas-devel] Format source In-Reply-To: <200410271158.54392.gambas@...1...> References: <1098813045.3134.156.camel@...168...> <200410271158.54392.gambas@...1...> Message-ID: <1098898660.3121.10.camel@...168...> On Wed, 2004-10-27 at 11:58, Benoit Minisini wrote: > On Tuesday 26 October 2004 19:50, Carsten Olsen wrote: > > Here are some code to format gambas source in the editor. > > > > The zip-file contains > > > > New CFormatSource.class > > Altered FEditor.class + form (new button) > > Altered FOption.class + form (new options for Format source in other > > tab) > > New icon format-source.png > > > > Kind regards > > > > Carsten Olsen > > As I said before, I will add a method in the gb.eval component that will > analyze a code line and return all the language pattern inside, with the > type, so that colorize and format the code becomes simple. > > Any problem with that ? :-) No problem - if it can make auto in-line if you e.g. puts an if-end statement around existing code. :) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smiley-3.png Type: image/png Size: 819 bytes Desc: not available URL: From ronstk at ...124... Wed Oct 27 21:40:35 2004 From: ronstk at ...124... (ron) Date: Wed, 27 Oct 2004 21:40:35 +0200 Subject: [Gambas-devel] Prob: RPM SuSE8.2 not working In-Reply-To: <200410271814.01037.gambas@...1...> References: <200410270742.21662.ronstk@...124...> <200410271814.01037.gambas@...1...> Message-ID: <200410272140.35893.ronstk@...124...> On Wednesday 27 October 2004 18:14, Benoit Minisini wrote: > On Wednesday 27 October 2004 07:42, ron wrote: > > On SuSE 8.2 there is no rpmbuild executable. > > Thanks for the bug report. > > Now the program is correctly checked, and if rpmbuild is not found, then rpm > is used if present. 'OK' and 'Cancel' were renamed as 'Make package' and > 'Close'. > > Regards, > Thanks Benoit. Only it did also not build the RPM, any idea if that is solved in you correction? + /usr/lib/rpm/brp-compress Processing files: gambas-gambas-0.99-110suse Requires: gambas-runtime >= 0.95 gambas-runtime <= 1.0 gambas-gb-debug >= 0.95 gambas-gb-debug <= 1.0 gambas-gb-qt >= 0.95 gambas-gb-qt <= 1.0 gambas-gb-qt-editor >= 0.95 gambas-gb-qt-editor <= 1.0 gambas-gb-qt-ext >= 0.95 gambas-gb-qt-ext <= 1.0 Wrote: /root/RPM/SRPMS/gambas-gambas-0.99-110suse.src.rpm Wrote: /root/RPM/RPMS/noarch/gambas-gambas-0.99-110suse.noarch.rpm Executing(%clean): /bin/sh -e /root/RPM/tmp/rpm-tmp.72692 I did not found both rpm as 'Wrote: bla bla' says :( brp-compress exist but no man or info. Ron From elentirmo at ...51... Thu Oct 28 15:40:57 2004 From: elentirmo at ...51... (Marco Bauer) Date: Thu, 28 Oct 2004 15:40:57 +0200 Subject: [Gambas-devel] German translation 0.99 RC1 Message-ID: <200410281540.57747.elentirmo@...51...> Here is the latest german translation. Regards Marco -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-de.po Type: application/x-gettext Size: 62210 bytes Desc: not available URL: From gambas at ...1... Thu Oct 28 18:23:42 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 28 Oct 2004 18:23:42 +0200 Subject: [Gambas-devel] Simplified Chinese translation 0.99RC1 In-Reply-To: <33c40a33b7b6.33b7b633c40a@...143...> References: <33c40a33b7b6.33b7b633c40a@...143...> Message-ID: <200410281823.42860.gambas@...1...> On Wednesday 27 October 2004 17:55, Yizhou He wrote: > sorry, because of new baby event, I didn't upload translation for Gambas > 0.99. Here is translation for Gambas 0.99RC1. and translated Tips for > today. no change in database manager was found. > > I can not translate the dialog window of make execute file. the button > and text remain English. > > Yizhou he > > Research Technician (Xiong Lab) > Lineberger Comprehensive Cancer Center > University of North Carolina at Chapel Hill > Chapel Hill, NC 27599-7295 > Tel: (919)-962-2143 > Thanks. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Oct 28 18:26:04 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 28 Oct 2004 18:26:04 +0200 Subject: [Gambas-devel] German translation 0.99 RC1 In-Reply-To: <200410281540.57747.elentirmo@...51...> References: <200410281540.57747.elentirmo@...51...> Message-ID: <200410281826.04773.gambas@...1...> On Thursday 28 October 2004 15:40, Marco Bauer wrote: > Here is the latest german translation. > > Regards > Marco Thanks! But did you use the IDE to translate itself ? If not, I suggest you do it, it is easier. Regards, -- Benoit Minisini mailto:gambas at ...1... From kungfoobar at ...176... Thu Oct 28 18:48:12 2004 From: kungfoobar at ...176... (Alberto Torres) Date: Thu, 28 Oct 2004 18:48:12 +0200 Subject: [Gambas-devel] Any started windows port ? In-Reply-To: <417FCE6E.2060904@...175...> References: <417E0DD2000004EB@...173...> <417F9C66.9080605@...175...> <200410271817.42246.gambas@...1...> <417FCE6E.2060904@...175...> Message-ID: use --with-x-libraries=/where/libs/are and --with-x-includes=/where/headers/are (see ./configure --help, coz i'm not sure) also for qt, either non-free windows version or gpl win32 port: --with-qt-includes, --with-qt-libraries and --with-qt-moc or something like that. I tried compiling it some time ago but I have a problem doing make install: $ make install [...] Creating the library info files... /opt/gambas/lib/gambas/lib.gb.so: not found make[2]: *** [install-exec-local] Error 1 [...] $ ls /opt/gambas/lib/gambas/ lib.gb.a lib.gb.debug.component lib.gb.qt.editor.component lib.gb.component lib.gb.debug.la lib.gb.qt.editor.la lib.gb.compress.a lib.gb.eval.a lib.gb.qt.ext.a lib.gb.compress.component lib.gb.eval.component lib.gb.qt.ext.component lib.gb.compress.la lib.gb.eval.la lib.gb.qt.ext.la lib.gb.db.a lib.gb.la lib.gb.qt.la lib.gb.db.component lib.gb.qt.a lib.gb.vb.a lib.gb.db.la lib.gb.qt.component lib.gb.vb.component lib.gb.debug.a lib.gb.qt.editor.a lib.gb.vb.la Any clue? Maybe it should be .dll? For native win32 compiled libs check out http://gnuwin32.sourceforge.net/ I think you will need to put the .lib and .dll in /lib, and .h in /usr/include (or use the --with-xxx-libs/headers options) Ah, i don't remember if I used xfree86 or xorg On Wed, 27 Oct 2004 18:35:58 +0200, Herv? Masson wrote: > > > Did you install X11 development packages ? > > well, I think so. I did install the following: > > xorg-x11-base-6.8.1.0-1.tar.bz2 > xorg-x11-devel-6.8.1.0-1.tar.bz2 > xorg-x11-libs-data-6.8.1.0-1.tar.bz2 > xorg-x11-bin-dlls-6.8.1.0-1.tar.bz2 > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > -- DiThi JID: dithi at ...177... From kungfoobar at ...176... Thu Oct 28 18:52:33 2004 From: kungfoobar at ...176... (Alberto Torres) Date: Thu, 28 Oct 2004 18:52:33 +0200 Subject: [Gambas-devel] Any started windows port ? In-Reply-To: References: <417E0DD2000004EB@...173...> <417F9C66.9080605@...175...> <200410271817.42246.gambas@...1...> <417FCE6E.2060904@...175...> Message-ID: Ah, here is the history: $ export PATH=/cygdrive/c/Qt/3.3.3Evaluation/bin:$PATH $ rm -f config.cache $./configure --with-qt-includes=/cygdrive/c/Qt/3.3.3Evaluation/include/ --with-qt-libraries=/cygdrive/c/Qt/3.3.3Evaluation/lib/ --with-moc=/cygdrive/c/Qt/3.3.3Evaluation/bin/ --disable-net $ make $ export LD_LIBRARY_PATH=/cygdrive/c/Qt/3.3.3Evaluation/lib $ export LD_RUN_PATH=/opt/gambas/lib/gambas $ make install result: the error I told before then I gave up. -- DiThi JID: dithi at ...177... From carsten at ...151... Thu Oct 28 21:59:27 2004 From: carsten at ...151... (Carsten Olsen) Date: Thu, 28 Oct 2004 21:59:27 +0200 Subject: [Gambas-devel] PrintSource Message-ID: <1098993566.3129.14.camel@...168...> Hello again I have added the required line to split procedure, sub and functions, and (of course) option for it in the option dialogs print tab. Kind regards Carsten Olsen -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: printsource-gambas.tar.bz2 Type: application/x-bzip-compressed-tar Size: 14439 bytes Desc: not available URL: From karl.reinl at ...16... Thu Oct 28 23:33:37 2004 From: karl.reinl at ...16... (Charlie) Date: Thu, 28 Oct 2004 23:33:37 +0200 Subject: [Gambas-devel] PrintSource References: <1098993566.3129.14.camel@...168...> Message-ID: <418165B1.3040009@...16...> Carsten Olsen schrieb: >Hello again > >I have added the required line to split procedure, sub and functions, >and (of course) option for it in the option dialogs print tab. > >Kind regards > >Carsten Olsen > > > Salut Carsten, I took 1 hour and I cleaned up my HP-OfficeJet 710. Now I can say under RC1 (the official) your Sourceprinter works well for me. With Monospace 10 and with Courier 10 at Pitch 10 the colors are the same. With and without Relief and without color too. The missing linenumber in the preview, I understand, perhaps Benoit can to something, because sometimes it is also usefull in the editor. The splitting line, thank you, so the option in PP is useless ( ;-) Ron). Amicalement Charlie From ronstk at ...124... Fri Oct 29 06:38:36 2004 From: ronstk at ...124... (ron) Date: Fri, 29 Oct 2004 06:38:36 +0200 Subject: [Gambas-devel] German translation 0.99 RC1 In-Reply-To: <200410281826.04773.gambas@...1...> References: <200410281540.57747.elentirmo@...51...> <200410281826.04773.gambas@...1...> Message-ID: <200410290638.36698.ronstk@...124...> On Thursday 28 October 2004 18:26, Benoit Minisini wrote: > On Thursday 28 October 2004 15:40, Marco Bauer wrote: > > Here is the latest german translation. > > > > Regards > > Marco > > Thanks! > > But did you use the IDE to translate itself ? If not, I suggest you do it, it > is easier. > > Regards, > I will do it again for Dutch but I don't agree it is easyer. Editing in the file is for me more clear. The translating is dependent in what context the word or phrase is used. The name of the form/class where it is used gives a hint for the translating. Sometimes the English word has different Dutch words for it Knowing in what context makes the choice which to use in Dutch. Also it can be handy to know it is a menu, button, or label it is on. I.e. in a file menu the 'Save...' and on a button 'Safe' can be a different translating in Dutch. The First is saving the _file_ th second is/can be a option setting. in Dutch it is 'Opslaan' and the second is 'Bewaren'. Mention the object where the translating is for can be helpfull or when it is code a few lines where it is in. I made a editor function in MSaccess at my work a few years back and that was to handle if the user had the right to use a button, menu entry or the form as user X or Y (Technican or Helpdesk). It was also the place for me to do the translating to the German, Dutch, Spanish and French language. It was written in English. It was a master piece to use, my supervisor told me. :) But most importand now is how do I change the language the IDE is working on the fly to see how it is in the translated version. May be stupid question but I use the English version but my girl friend wants the Dutch IDE. 2 Times installing gambas because it is determined during compile time.? But the linux box is English by law. I don't want to mess up, you remember the 'en', 'en_GB' and 'en_US' SuSE have. Any way, what do I have to do to get a Dutch version, setting temporary RC_LANG or other variable in a bash script to compile the stuff? I want to check the Dutch version before sending the .po file without messing up my English box. Grtz Ron From ronstk at ...124... Fri Oct 29 13:15:51 2004 From: ronstk at ...124... (ron) Date: Fri, 29 Oct 2004 13:15:51 +0200 Subject: [Gambas-devel] PrintSource In-Reply-To: <1098993566.3129.14.camel@...168...> References: <1098993566.3129.14.camel@...168...> Message-ID: <200410291315.51788.ronstk@...124...> On Thursday 28 October 2004 21:59, Carsten Olsen wrote: > Hello again > > I have added the required line to split procedure, sub and functions, > and (of course) option for it in the option dialogs print tab. > > Kind regards > > Carsten Olsen > Hi Carsten and Charlie I install your, Carsten, code in the 0.99RC1 version. It does the job, however I did not get the colors. Didn't look in the Options, shame to me. The chosen font is the default Monospace,10 after install of Gambas. The empty line I wish to have between the procedures in my paper listing is a real empty line. No line number too or simple said, a CR/LF only. Try to read on to the last part and you will see why. Nice to have the line numbers anyway. :) The choice for 'print' and 'print to file'. Do the properties of the printer not count even if it is a *.ps file? The print to file (*.ps) is only to temporary medium before the actual printing is done. The properties of that printer counts also how the (*.ps) file should be made. Think about the print to file because I do not have the printer at home. I put the file at floppy and go to my work and print it there. Isn't printing to a ps printer or ps file (for that printer) the same? The printer listing to choose a printer should always be available even if I print to file but I can't select if to file is chosen. Despite the many possible ways with Linux based system for printing I do use my laptop with win98 for the printing. It is the only way I get it how it is intent to be. Even from Linux-Acrobat I do not get it right. When I print to file with or without 'relief' I do not see a difference when the file is shown in KGostscript. For the 'relief' option I do not use it in the editor. It looks to me a bit blurry on my LCD monitor. I belive the option behind it is usefull but more when it is done with bold or normal font. Then I will use it. NOTE 1: The line is between 'End' and 'Procedure', height 1 pixel in the editor. The line is not a text line in real, it is a border line of the text container The editor is/was based on a gridview as told by Benoit a long time back. This gives the place for adding line numbers but the small line does/can not have a number. The line is not part of the text in any respect. Switch it off in the options and you see why I want that empty line to clear out the Procedure separation with it. The same reason why they are add on request for. NOTE 2: To get the line as in the editor it should be equivalent to make the line width 'End' as long as the paper is width and use the underline on it. Note for Charlie, I did connect PrettyPrint with the real printing as the name suggest but not with that it only makes a PrettyLayout, how I should name it. Some examples to clarify my point of view. Hope it will help. sepline is the line you get if in the gambas options the 'Split procedures' is checked. List part in editor: (sepline is 'Off') ~~~~~~~~~~~~~~~~~~~ PRINT "My way of is Printing bad if the line is to long" Print "Done. :)" END Procedure Sub bla() ~~~~~~~~~~~~~~~~~~~ Empty line add as separator (sepline is 'Off') for printing ~~~~~~~~~~~~~~~~~~~ PRINT "My way of is Printing bad if the line is to long" Print "Done. :)" END Procedure Sub bla() ~~~~~~~~~~~~~~~~~~~ List part in editor: (sepline is 'On') ~~~~~~~~~~~~~~~~~~~ PRINT "My way of is Printing bad if the line is to long" Print "Done. :)" END________________________________ Procedure Sub bla() ~~~~~~~~~~~~~~~~~~~ Empty line add as separator (sepline is 'On') for printing ~~~~~~~~~~~~~~~~~~~ PRINT "My way of is Printing bad if the line is to long" Print "Done. :)" END __________________________________ Procedure Sub bla() ~~~~~~~~~~~~~~~~~~~ List part but printed portrait (sepline is 'On') ~~~~~~~~~~~~~~~~~~~ PRINT "My way of is Printing bad if the line is to long" Print "Done. :)" END_______________________________ Procedure Sub bla() ~~~~~~~~~~~~~~~~~~~ Empty line add (sepline is 'On' but no real need) ~~~~~~~~~~~~~~~~~~~ PRINT "My way of is Printing bad if the line is to long" Print "Done. :)" END __________________________________ Procedure Sub bla() ~~~~~~~~~~~~~~~~~~~ List part but printed landscape (sepline is 'On') ~~~~~~~~~~~~~~~~~~~ PRINT "My way of is Printing bad if the line is to long" Print "Done. :)" END_______________________________ Procedure Sub bla() ~~~~~~~~~~~~~~~~~~~ Empty line add (sepline is 'On' but no real need) ~~~~~~~~~~~~~~~~~~~ PRINT "My way of is Printing bad if the line is to long" Print "Done. :)" END __________________________________ Procedure Sub bla() ~~~~~~~~~~~~~~~~~~~ Printing the 1 pixel line can be done by upperline the line it is visible above in the editor. This is consistent the editor works. The code Carsten wrote for this works OK for me. Underline the above line, added with spaces to width of paper, does also the job. For adding line numbers there are more problems. First the separators are no real text lines. Therefore they do not have a line number in the editor at all. ~~~~~~~~~~~~~~~~~~~ 0011 PRINT "My way of is Printing bad if the line is to long" 0012 Print "Done. :)" 0013 END 0014 ___________________________ 0015 Procedure Sub bla() ~~~~~~~~~~~~~~~~~~~ This will be the result if line numbers are 'On' and the current separation is implemented as a line in text form (underlined spaces) You wil not find line 15 with 'Procedure' on line 15 in the editor! Imagine the source is 8000 lines of code and contains 200 procedures. In the last procedure you can substract 200 of the given line, but if you do not know in wich of the 200 you are? Line 14 is now inserted for print with a false line number. ~~~~~~~~~~~~~~~~~~~ 0011 PRINT "My way of is Printing bad if the line is to long" 0012 Print "Done. :)" 0013 END 0014 Procedure Sub bla() ~~~~~~~~~~~~~~~~~~~ The wrap is solved in landscape printing ~~~~~~~~~~~~~~~~~~~ 0011 PRINT "My way of is Printing good if the line is to long" 0012 Print "Done. :)" 0013 END 0014 Procedure Sub bla() ~~~~~~~~~~~~~~~~~~~ Thats why I have a 14" instead the standard 11" width printer :) And in color not payable if they exist any way. With al respect to both my 2 eurocents Ron. From karl.reinl at ...16... Fri Oct 29 20:43:22 2004 From: karl.reinl at ...16... (Charlie) Date: Fri, 29 Oct 2004 20:43:22 +0200 Subject: [Gambas-devel] German translation 0.99 RC1 References: <200410281540.57747.elentirmo@...51...> <200410281826.04773.gambas@...1...> <200410290638.36698.ronstk@...124...> Message-ID: <41828F4A.8030404@...16...> ron schrieb: >On Thursday 28 October 2004 18:26, Benoit Minisini wrote: > > >>On Thursday 28 October 2004 15:40, Marco Bauer wrote: >> >> >>>Here is the latest german translation. >>> >>>Regards >>>Marco >>> >>> >>Thanks! >> >>But did you use the IDE to translate itself ? If not, I suggest you do it, it >>is easier. >> >>Regards, >> >> >> > >I will do it again for Dutch but I don't agree it is easyer. >Editing in the file is for me more clear. > >The translating is dependent in what context the word or phrase is used. >The name of the form/class where it is used gives a hint for the translating. > >Sometimes the English word has different Dutch words for it >Knowing in what context makes the choice which to use in Dutch. > >Also it can be handy to know it is a menu, button, or label it is on. >I.e. in a file menu the 'Save...' and on a button 'Safe' can be a >different translating in Dutch. >The First is saving the _file_ th second is/can be a option setting. >in Dutch it is 'Opslaan' and the second is 'Bewaren'. > >Mention the object where the translating is for can be helpfull or >when it is code a few lines where it is in. > >I made a editor function in MSaccess at my work a few years back >and that was to handle if the user had the right to use a button, >menu entry or the form as user X or Y (Technican or Helpdesk). >It was also the place for me to do the translating to the German, >Dutch, Spanish and French language. It was written in English. >It was a master piece to use, my supervisor told me. :) > >But most importand now is how do I change the language the IDE is >working on the fly to see how it is in the translated version. >May be stupid question but I use the English version but my girl >friend wants the Dutch IDE. >2 Times installing gambas because it is determined during compile time.? >But the linux box is English by law. >I don't want to mess up, you remember the 'en', 'en_GB' and 'en_US' SuSE have. > >Any way, what do I have to do to get a Dutch version, setting temporary >RC_LANG or other variable in a bash script to compile the stuff? >I want to check the Dutch version before sending the .po file without >messing up my English box. > >Grtz Ron > > > Salut Ron, (see Attachment) may be that still works , and with a little bit more you can change it while starting and / or save it in the settings. Amicalment Charlie -------------- next part -------------- An embedded message was scrubbed... From: Charlie Reinl Subject: [Gambas-user] why can't I change the lanuage of my gambas ? Date: Tue, 20 Jul 2004 23:31:34 +0000 Size: 3214 URL: From ronstk at ...124... Sat Oct 30 03:16:19 2004 From: ronstk at ...124... (Ron Onstenk) Date: Sat, 30 Oct 2004 03:16:19 +0200 Subject: [Gambas-devel] German translation 0.99 RC1 In-Reply-To: <41828F4A.8030404@...16...> References: <200410281540.57747.elentirmo@...51...> <200410290638.36698.ronstk@...124...> <41828F4A.8030404@...16...> Message-ID: <200410300316.19337.ronstk@...124...> On Friday 29 October 2004 20:43, Charlie wrote: > ron schrieb: > Thanks Charlie > > > > > Salut Ron, > > (see Attachment) > may be that still works , and with a little bit more you can change it > while starting > and / or save it in the settings. > > Amicalment > Charlie > No luck with that way. I'm afraid it is set during configure and/or compile time. May be something must be changed in the po to get the new file active. for the IDE. I give up till I get answer from Benoit. I don't send without an private preview, it sucks without it. Ron From ronstk at ...124... Sat Oct 30 03:53:13 2004 From: ronstk at ...124... (Ron Onstenk) Date: Sat, 30 Oct 2004 03:53:13 +0200 Subject: [Gambas-devel] Translating Dutch 0.99RC1? (rel 25-oct) Information Message-ID: <200410300353.13320.ronstk@...124...> I'm busy to translate but miss some points. Orginal English text: --------------------- 1 Translation language 2 Translation files 3 Translation 4 Translated string symbols do not match untranslated string ones. 5 Translate project 6 Translate Translate to Dutch in a direct way: --------------------------------- 1 Vertaling taal (sounds stupid in Dutch) 2 Vertaling bestanden (sounds stupid in Dutch) 3 Vertaling 4 Vertaalde string symbolen komen niet overeen met onvertaalde 1s 5 Vertalen project 6 Vertalen Translate to Dutch for common sense: ------------------------------------ 1 Vertalen naar Was happy to see in the translate form before combobox else the Dutch text was 'Vertalings taal' or 'Vertaal taal' and sounding stupid as commented. If on other place it should be translated to something different. 2 Vertaalde bestanden In English the second word means there are more then 1 file For dutch it is reversed and back to English it is 'Translations file' I belive it means 'Translated files' wich in Dutch is 'Vertaalde bestanden' Note here: 'Translation' can be single or multiple meaning in Dutch and have different Dutch words. 'Translation' -> 'Vertaling' 'Vertaald' in single context and 'Vertalingen' 'Vertaalden' in multiple context 3 Vertaling If it is in the translate form, the Dutch meaning of the box is 'Vertalen naar' -> 'translate to' or 'Vertaald' 'Vertaling'-'Translation' meaning is translated to. 4 ? Vertaalde tekst symbolen komen niet overeen met onvertaalde 1s ? ? Vertaalde tekst symbolen komen niet met onvertaalde overeen ? ? Vertaalde karakter symbolen komen niet met onvertaalde overeen ? ? Vertaalde en onvertaalde tekst symbolen komen niet overeen. ? I can't make any thing of it. String can mean a chain of characters or the phrase in whole. The chain as '14fred8-=gam?bas' The phrase as 'Gambas is nice to use' For both the word 'string' are different in Dutch translating. Also the meaning of 'symbols' is not clear in the phrase without knowing in what context it is used. I have chosen the last one as best (and fit for space). 5 Vertalen project This one was easy, found it on the caption of the form. An other choice was 'Project vertalen' and the right one should be 'Vertalen van project'. 6 Vertalen I hope this is right, as single word there are in Dutch more translations 'Vertalen' is doing the job of translating Personal I belive the Translate form itself should stay untranslated. Imagine the user is Dutch and has a German system and want to French :) The Dutch meaning of the words is sometimes different to the German words. The beautiful capacity of the English language makes that one word can mean many things but also there are many words meaning the same. For programming it is always easy to find a single word as caption for a button, require many times in Dutch a longer or 2 words to be clear. I had same style of problem, as non native German, with translate to German. Thats my biggest reason to stay in English. Programmers chose always words that are short for the button not realizing that it will be bigger in other local languages. Same for phrases it is possible to find/create a short one that fits. So at the end I hope it is correct and for this 6 I did look in the German translation to have a idea my choice was good enough. I realize it is/can be a hard job to do it RIGHT, it looks so simple. BTW. I found the object hint where the phrase is on the right side of the 'Untranslated string' box. Haven't seen before, older version. An other help can be to have a 3 language column as backup reference during translating. For me is German usefull but I must not forget to save first. :) Top to bottom? From carsten at ...151... Sat Oct 30 14:56:01 2004 From: carsten at ...151... (Carsten Olsen) Date: Sat, 30 Oct 2004 14:56:01 +0200 Subject: [Gambas-devel] PrintSource In-Reply-To: <200410291315.51788.ronstk@...124...> References: <1098993566.3129.14.camel@...168...> <200410291315.51788.ronstk@...124...> Message-ID: <1099140961.3144.10.camel@...168...> Hi Ron Here is a version with print blank line if none (by option) Regarding the print to file. I don't think that the properties of the printer counts. It's always in postscript format. It can by the way by changed to PDF by the command ps2pdf .ps Carsten On Fri, 2004-10-29 at 13:15, ron wrote: > On Thursday 28 October 2004 21:59, Carsten Olsen wrote: > > Hello again > > > > I have added the required line to split procedure, sub and functions, > > and (of course) option for it in the option dialogs print tab. > > > > Kind regards > > > > Carsten Olsen > > > > Hi Carsten and Charlie > > I install your, Carsten, code in the 0.99RC1 version. > > It does the job, however I did not get the colors. > Didn't look in the Options, shame to me. > The chosen font is the default Monospace,10 after install of Gambas. > > The empty line I wish to have between the procedures in my paper listing > is a real empty line. No line number too or simple said, a CR/LF only. > Try to read on to the last part and you will see why. > Nice to have the line numbers anyway. :) > > The choice for 'print' and 'print to file'. > > Do the properties of the printer not count even if it is a *.ps file? > The print to file (*.ps) is only to temporary medium before the actual printing is done. > The properties of that printer counts also how the (*.ps) file should be made. > Think about the print to file because I do not have the printer at home. > I put the file at floppy and go to my work and print it there. > Isn't printing to a ps printer or ps file (for that printer) the same? > > The printer listing to choose a printer should always be available > even if I print to file but I can't select if to file is chosen. > > Despite the many possible ways with Linux based system for printing I > do use my laptop with win98 for the printing. > It is the only way I get it how it is intent to be. > Even from Linux-Acrobat I do not get it right. > > When I print to file with or without 'relief' I do not see a > difference when the file is shown in KGostscript. > For the 'relief' option I do not use it in the editor. > It looks to me a bit blurry on my LCD monitor. > I belive the option behind it is usefull but more when it > is done with bold or normal font. Then I will use it. > > > NOTE 1: > The line is between 'End' and 'Procedure', height 1 pixel in the editor. > The line is not a text line in real, it is a border line of the text container > The editor is/was based on a gridview as told by Benoit a long time back. > This gives the place for adding line numbers but the small line does/can > not have a number. The line is not part of the text in any respect. > Switch it off in the options and you see why I want that empty line > to clear out the Procedure separation with it. > The same reason why they are add on request for. > > NOTE 2: > To get the line as in the editor it should be equivalent to make the > line width 'End' as long as the paper is width and use the underline > on it. > > Note for Charlie, > I did connect PrettyPrint with the real printing as the name suggest > but not with that it only makes a PrettyLayout, how I should name it. > > Some examples to clarify my point of view. Hope it will help. > sepline is the line you get if in the gambas options the 'Split procedures' is checked. > > > List part in editor: (sepline is 'Off') > ~~~~~~~~~~~~~~~~~~~ > PRINT "My way of is Printing bad if the line is to long" > Print "Done. :)" > END > Procedure Sub bla() > ~~~~~~~~~~~~~~~~~~~ > > > Empty line add as separator (sepline is 'Off') for printing > ~~~~~~~~~~~~~~~~~~~ > PRINT "My way of is Printing bad if the line is to long" > Print "Done. :)" > END > > Procedure Sub bla() > ~~~~~~~~~~~~~~~~~~~ > > > List part in editor: (sepline is 'On') > ~~~~~~~~~~~~~~~~~~~ > PRINT "My way of is Printing bad if the line is to long" > Print "Done. :)" > END________________________________ > Procedure Sub bla() > ~~~~~~~~~~~~~~~~~~~ > > > Empty line add as separator (sepline is 'On') for printing > ~~~~~~~~~~~~~~~~~~~ > PRINT "My way of is Printing bad if the line is to long" > Print "Done. :)" > END > __________________________________ > Procedure Sub bla() > ~~~~~~~~~~~~~~~~~~~ > > > List part but printed portrait (sepline is 'On') > ~~~~~~~~~~~~~~~~~~~ > PRINT "My way of is Printing bad > if the line is to long" > Print "Done. :)" > END_______________________________ > Procedure Sub bla() > ~~~~~~~~~~~~~~~~~~~ > > > Empty line add (sepline is 'On' but no real need) > ~~~~~~~~~~~~~~~~~~~ > PRINT "My way of is Printing bad > if the line is to long" > Print "Done. :)" > END > __________________________________ > Procedure Sub bla() > ~~~~~~~~~~~~~~~~~~~ > > > List part but printed landscape (sepline is 'On') > ~~~~~~~~~~~~~~~~~~~ > PRINT "My way of is Printing bad if the line is to long" > Print "Done. :)" > END_______________________________ > Procedure Sub bla() > ~~~~~~~~~~~~~~~~~~~ > > Empty line add (sepline is 'On' but no real need) > ~~~~~~~~~~~~~~~~~~~ > PRINT "My way of is Printing bad if the line is to long" > Print "Done. :)" > END > __________________________________ > Procedure Sub bla() > ~~~~~~~~~~~~~~~~~~~ > > Printing the 1 pixel line can be done by upperline the line it is > visible above in the editor. This is consistent the editor works. > The code Carsten wrote for this works OK for me. > Underline the above line, added with spaces to width of paper, does also > the job. > > For adding line numbers there are more problems. > First the separators are no real text lines. > Therefore they do not have a line number in the editor at all. > > > ~~~~~~~~~~~~~~~~~~~ > 0011 PRINT "My way of is Printing > bad if the line is to long" > 0012 Print "Done. :)" > 0013 END > 0014 ___________________________ > 0015 Procedure Sub bla() > ~~~~~~~~~~~~~~~~~~~ > This will be the result if line numbers are 'On' and the > current separation is implemented as a line in text form (underlined spaces) > You wil not find line 15 with 'Procedure' on line 15 in the editor! > Imagine the source is 8000 lines of code and contains 200 procedures. > In the last procedure you can substract 200 of the given line, but if you > do not know in wich of the 200 you are? > Line 14 is now inserted for print with a false line number. > > > ~~~~~~~~~~~~~~~~~~~ > 0011 PRINT "My way of is Printing > bad if the line is to long" > 0012 Print "Done. :)" > 0013 END > > 0014 Procedure Sub bla() > ~~~~~~~~~~~~~~~~~~~ > > The wrap is solved in landscape printing > ~~~~~~~~~~~~~~~~~~~ > 0011 PRINT "My way of is Printing good if the line is to long" > 0012 Print "Done. :)" > 0013 END > > 0014 Procedure Sub bla() > ~~~~~~~~~~~~~~~~~~~ > > Thats why I have a 14" instead the standard 11" width printer :) > And in color not payable if they exist any way. > > With al respect to both my 2 eurocents > > Ron. > > > > > > > > ------------------------------------------------------- > This Newsletter Sponsored by: Macrovision > For reliable Linux application installations, use the industry's leading > setup authoring tool, InstallShield X. Learn more and evaluate > today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/ > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: printsource-gambas.tar.bz2 Type: application/x-bzip-compressed-tar Size: 14657 bytes Desc: not available URL: From na2492 at ...16... Sat Oct 30 15:18:22 2004 From: na2492 at ...16... (Charlie Reinl) Date: Sat, 30 Oct 2004 15:18:22 00200 Subject: [Gambas-devel] German translation 0.99 RC1 Message-ID: <4183949e.63bb.0@...16...> >On Friday 29 October 2004 20:43, Charlie wrote: >> ron schrieb: >> > >Thanks Charlie > >> > >> > >> Salut Ron, >> >> (see Attachment) >> may be that still works , and with a little bit more you can change it >> while starting >> and / or save it in the settings. >> >> Amicalment >> Charlie >> > >No luck with that way. >I'm afraid it is set during configure and/or compile time. >May be something must be changed in the po to get the new file active. >for the IDE. > >I give up till I get answer from Benoit. >I don't send without an private preview, it sucks without it. > >Ron Salut Ron, I forgot to say that my Linux is en_EN , but the KDE is dd_DE May be for that it works for me, because after posting the mail, I was too curious and changed my RC1 source and ran the IDE in the IDE And I saw 'Neues Projekt' instead of 'New project' Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From gambas at ...1... Sat Oct 30 16:23:51 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 30 Oct 2004 16:23:51 +0200 Subject: [Gambas-devel] Any started windows port ? In-Reply-To: References: <417E0DD2000004EB@...173...> <417FCE6E.2060904@...175...> Message-ID: <200410301623.51765.gambas@...1...> On Thursday 28 October 2004 18:48, Alberto Torres wrote: > use --with-x-libraries=/where/libs/are and > --with-x-includes=/where/headers/are (see ./configure --help, coz i'm > not sure) > also for qt, either non-free windows version or gpl win32 port: > --with-qt-includes, --with-qt-libraries and --with-qt-moc or something > like that. > > I tried compiling it some time ago but I have a problem doing make install: > $ make install > [...] > Creating the library info files... > /opt/gambas/lib/gambas/lib.gb.so: not found > make[2]: *** [install-exec-local] Error 1 > [...] > $ ls /opt/gambas/lib/gambas/ > lib.gb.a lib.gb.debug.component > lib.gb.qt.editor.component lib.gb.component lib.gb.debug.la > lib.gb.qt.editor.la lib.gb.compress.a lib.gb.eval.a > lib.gb.qt.ext.a lib.gb.compress.component lib.gb.eval.component > lib.gb.qt.ext.component lib.gb.compress.la lib.gb.eval.la > lib.gb.qt.ext.la lib.gb.db.a lib.gb.la > lib.gb.qt.la > lib.gb.db.component lib.gb.qt.a lib.gb.vb.a > lib.gb.db.la lib.gb.qt.component lib.gb.vb.component > lib.gb.debug.a lib.gb.qt.editor.a lib.gb.vb.la > > Any clue? Maybe it should be .dll? > Yes. Why does it create static libraries and not dynamic ones ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Oct 30 16:27:07 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 30 Oct 2004 16:27:07 +0200 Subject: [Gambas-devel] German translation 0.99 RC1 In-Reply-To: <200410290638.36698.ronstk@...124...> References: <200410281540.57747.elentirmo@...51...> <200410281826.04773.gambas@...1...> <200410290638.36698.ronstk@...124...> Message-ID: <200410301627.07931.gambas@...1...> On Friday 29 October 2004 06:38, ron wrote: > > But most importand now is how do I change the language the IDE is > working on the fly to see how it is in the translated version. > May be stupid question but I use the English version but my girl > friend wants the Dutch IDE. > 2 Times installing gambas because it is determined during compile time.? > But the linux box is English by law. > I don't want to mess up, you remember the 'en', 'en_GB' and 'en_US' SuSE > have. > $ cd /app/gambas $ LANGUAGE=nl LANG=nl gbx LANGUAGE is not necessary on systems it is not defined (this is a list of preferred languages, and if it is defined, $LANG must exist in this list). Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Oct 30 16:31:23 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 30 Oct 2004 16:31:23 +0200 Subject: [Gambas-devel] Translating Dutch 0.99RC1? (rel 25-oct) Information In-Reply-To: <200410300353.13320.ronstk@...124...> References: <200410300353.13320.ronstk@...124...> Message-ID: <200410301631.23595.gambas@...1...> On Saturday 30 October 2004 03:53, Ron Onstenk wrote: > I'm busy to translate but miss some points. > > > Orginal English text: > --------------------- > 1 Translation language > 2 Translation files > 3 Translation > 4 Translated string symbols do not match untranslated string ones. > 5 Translate project > 6 Translate > > Translate to Dutch in a direct way: > --------------------------------- > 1 Vertaling taal (sounds stupid in Dutch) > 2 Vertaling bestanden (sounds stupid in Dutch) > 3 Vertaling > 4 Vertaalde string symbolen komen niet overeen met onvertaalde 1s > 5 Vertalen project > 6 Vertalen > > Translate to Dutch for common sense: > ------------------------------------ > 1 Vertalen naar > Was happy to see in the translate form before combobox > else the Dutch text was 'Vertalings taal' or 'Vertaal taal' and > sounding stupid as commented. > If on other place it should be translated to something different. > > 2 Vertaalde bestanden > In English the second word means there are more then 1 file > For dutch it is reversed and back to English it is > 'Translations file' > I belive it means 'Translated files' wich in Dutch is > 'Vertaalde bestanden' > > Note here: 'Translation' can be single or multiple meaning > in Dutch and have different Dutch words. > 'Translation' -> 'Vertaling' 'Vertaald' in single context > and 'Vertalingen' 'Vertaalden' in multiple context > > 3 Vertaling > If it is in the translate form, the Dutch meaning of the box > is 'Vertalen naar' -> 'translate to' or 'Vertaald' > 'Vertaling'-'Translation' meaning is translated to. > > 4 ? Vertaalde tekst symbolen komen niet overeen met onvertaalde 1s ? > ? Vertaalde tekst symbolen komen niet met onvertaalde overeen ? > ? Vertaalde karakter symbolen komen niet met onvertaalde overeen ? > ? Vertaalde en onvertaalde tekst symbolen komen niet overeen. ? > > I can't make any thing of it. > String can mean a chain of characters or the phrase in whole. > The chain as '14fred8-=gam?bas' > The phrase as 'Gambas is nice to use' > For both the word 'string' are different in Dutch translating. > Also the meaning of 'symbols' is not clear in the phrase without knowing > in what context it is used. > I have chosen the last one as best (and fit for space). > > 5 Vertalen project > This one was easy, found it on the caption of the form. > An other choice was 'Project vertalen' and the right one > should be 'Vertalen van project'. > > 6 Vertalen > I hope this is right, as single word there are in Dutch more > translations 'Vertalen' is doing the job of translating > > Personal I belive the Translate form itself should stay untranslated. > Imagine the user is Dutch and has a German system and want to French :) > The Dutch meaning of the words is sometimes different to the German words. > > The beautiful capacity of the English language makes that one word > can mean many things but also there are many words meaning the same. > For programming it is always easy to find a single word as caption > for a button, require many times in Dutch a longer or 2 words to be clear. > I had same style of problem, as non native German, with translate to > German. Thats my biggest reason to stay in English. > Programmers chose always words that are short for the button not realizing > that it will be bigger in other local languages. > Same for phrases it is possible to find/create a short one that fits. > > So at the end I hope it is correct and for this 6 I did look in the German > translation to have a idea my choice was good enough. > I realize it is/can be a hard job to do it RIGHT, it looks so simple. > > > BTW. I found the object hint where the phrase is on the right side of > the 'Untranslated string' box. Haven't seen before, older version. > An other help can be to have a 3 language column as backup reference > during translating. > For me is German usefull but I must not forget to save first. :) > > > > Top to bottom? > From foreground to background (deep) or Highest to lowest(height) > 'Voorgrond naar achtergrond' is what I belive is the meaning here(deepnes). > 'Voor- naar achter-grond' is the right shorten form for good Dutch or > 'Voor naar achtergrond' as relaxed but improper way > 'Naar achtergrond' is the one I chose, in English 'To background' > > The point is I do not know if it is a button, or menu entry and the space > it has. It is in the FForm.class file and I can't open it if the translate > form is open to look in what context it is used. See following interview. > > > from interview with Rinse de Vries (http://www.kde.nl/people/rinse.html) > [interview] > - What are the problems you encounter while translating? > > There are 3 issues I have to deal with: > > 1) Should the string be translated or not - The Dutch language is lending a > lot of foreign computer words. If we translate too much English terms, we > could scare away the advanced users, but if we translate too little > computer terms, the newbe would not understand them. > > > 2) In which context is the message used- some messages can be translated in > 5 ways, depending on its context. To deal with this, I try to determine the > context by reading the other messages around it, or by checking the German > translation. > > > 3) Conflicting accelerators. - this is the hardest one, it is not easy to > avoid conflicts between accelerators. Most of the time I can solve this by > reading surrounding messages, but sometimes the messages don't look related > in the po-file, while in the real world, they are used in the same > menu/dialog box... > > [/interview] > > He is exactly telling the problems I find during the translating job ATM. > He give a hint that grouping of the parts to translate that are in the same > file in this case will help for the translating and accelerators keys. > > I have written an email to Fabrice Mous who has done this job in the past > to get info if he still do this or give up and where to find appropriate > help. > > > > I give up to get it working. My last try was as follows: > > Start new shell and type > RC_LANG=nl_NL > made a clean directory with the 0.99RC1 unpacked > no changes from me , just plain as the file is. > made a script as follows > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~` > #!/bin/sh > > RC_ALL=nl_NL > RC_LANG=nl_NL > LC_LANG=nl_NL > LC_ALL=nl_NL > LC_MESSAGES=nl_NL > LC_CTYPE=nl_NL > > export RC_ALL > export RC_LANG > export LC_LANG > export LC_ALL > export LC_MESSAGES > export LC_CTYPE > > #make clean > #./reconf > ./configure > make > make install > /opt/gambas/gambas > > # end script > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > env | grep LANG tell me RC_LANG=nl_NL > > Did run the script. > gambas is called from the script to and should get nl_NL > > Gambas is telling me system.language=en_US > > I get also with verify in the translate form > 'Translated string symbols do not match untranslated string ones.' > > No idea what that means, no hint for the first one that does not match > to take care off. > > Please where and when is the IDE told to run in the language set and by > what variable!!!! > > If I have to send in the po file then I have to wait to the next > release to see it is done the right way. > I need simple direct preview to prevent that loss of time else > I'm afraid it will be gambas version 2.99a till is is correct :( > > > Ron > > The interpreter uses the following environment variables: - LANGUAGE if it exists (a list of preferred language) - The language specified in LANG. - Then, the libc function setlocale is used (man setlocale). Regards, -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...124... Sat Oct 30 18:26:35 2004 From: ronstk at ...124... (Ron Onstenk) Date: Sat, 30 Oct 2004 18:26:35 +0200 Subject: [Gambas-devel] German translation 0.99 RC1 In-Reply-To: <200410301627.07931.gambas@...1...> References: <200410281540.57747.elentirmo@...51...> <200410290638.36698.ronstk@...124...> <200410301627.07931.gambas@...1...> Message-ID: <200410301826.35982.ronstk@...124...> On Saturday 30 October 2004 16:27, Benoit Minisini wrote: > On Friday 29 October 2004 06:38, ron wrote: > > > > But most importand now is how do I change the language the IDE is > > working on the fly to see how it is in the translated version. > > May be stupid question but I use the English version but my girl > > friend wants the Dutch IDE. > > 2 Times installing gambas because it is determined during compile time.? > > But the linux box is English by law. > > I don't want to mess up, you remember the 'en', 'en_GB' and 'en_US' SuSE > > have. > > > > $ cd /app/gambas > $ LANGUAGE=nl LANG=nl gbx > > LANGUAGE is not necessary on systems it is not defined (this is a list of > preferred languages, and if it is defined, $LANG must exist in this list). > > Regards, > If you was a girl you get a big SMACK. Made my script for start in Dutch with comment #!/bin/sh # set language_country in LANG !!!! LANG=nl_NL # will be system.language LANGUAGE=nl # must be the same as leading LANG # expot is need here export LANG export LANGUAGE # most importand # The language setting is not for the IDE # it is for gbx !!! (stupid me) ./gambas Thanks Ron -------------- next part -------------- A non-text attachment was scrubbed... Name: worshippy.gif Type: image/gif Size: 1732 bytes Desc: not available URL: From ronstk at ...124... Sat Oct 30 18:32:41 2004 From: ronstk at ...124... (Ron Onstenk) Date: Sat, 30 Oct 2004 18:32:41 +0200 Subject: [Gambas-devel] Translating Dutch 0.99RC1? (rel 25-oct) Information In-Reply-To: <200410301631.23595.gambas@...1...> References: <200410300353.13320.ronstk@...124...> <200410301631.23595.gambas@...1...> Message-ID: <200410301832.41108.ronstk@...124...> On Saturday 30 October 2004 16:31, Benoit Minisini wrote: > > > > > The interpreter uses the following environment variables: > - LANGUAGE if it exists (a list of preferred language) > - The language specified in LANG. > - Then, the libc function setlocale is used (man setlocale). > > Regards, > Thanks I found the other post first. Nothing heard from Fabrice yet. Do you have contact with him? I continue to do the translating. Found already a few mistakes :( I send it ASAP. From ronstk at ...124... Sat Oct 30 18:47:18 2004 From: ronstk at ...124... (Ron Onstenk) Date: Sat, 30 Oct 2004 18:47:18 +0200 Subject: [Gambas-devel] German translation 0.99 RC1 In-Reply-To: <4183949e.63bb.0@...16...> References: <4183949e.63bb.0@...16...> Message-ID: <200410301847.18971.ronstk@...124...> On Saturday 30 October 2004 17:18, Charlie Reinl wrote: > >On Friday 29 October 2004 20:43, Charlie wrote: > >> ron schrieb: > >> > Salut Ron, > > I forgot to say that my Linux is en_EN , but the KDE is dd_DE > May be for that it works for me, because after posting the mail, > I was too curious and changed my RC1 source and ran the IDE in the IDE > And I saw 'Neues Projekt' instead of 'New project' > > Amicalment > Charlie dd_DE ??? :) (invalid setting results in en_EN ) Well I got the info from Benoit and that works. As I realize now not the IDE that handles it but gbx :) The only one that could be set by gambas.conf is the default selection in the translate form, the way I did. May be that it is a good point to do the default 'Translate language' with settings['/TranslateTo',system.language] and as option in the FOptions.{form|class} I can now hurry up :) Ron From karl.reinl at ...16... Sat Oct 30 19:13:03 2004 From: karl.reinl at ...16... (Charlie) Date: Sat, 30 Oct 2004 19:13:03 +0200 Subject: [Gambas-devel] German translation 0.99 RC1 References: <4183949e.63bb.0@...16...> <200410301847.18971.ronstk@...124...> Message-ID: <4183CB9F.6010701@...16...> Ron Onstenk schrieb: >dd_DE ??? :) (invalid setting results in en_EN ) > > > Oh, the world dit not know : dd_DE is a small part of germany. Exactly the one I'm living in. Size : 8 m? Hab.: 1 (me) Lang: dd_DE Sorry, It is set de_DE Amicalment Charlie