From ronstk at ...239... Fri Oct 1 01:40:31 2004 From: ronstk at ...239... (ron) Date: Fri, 1 Oct 2004 01:40:31 +0200 Subject: [Gambas-user] X11/Xlib.h error In-Reply-To: <415C2A72.8010703@...69...> References: <415C2A72.8010703@...69...> Message-ID: <200410010140.32202.ronstk@...239...> On Thursday 30 September 2004 17:46, Paolo Saudin wrote: > Hi all, > I'm trying to compile gambas 0.99 in Yoper 2.1, the ./configure command > seems to be ok, but when I type make, I get the following error: > ........................... > Making all in html > make[6]: Entering directory > `/home/paolo/stuff/gambas-0.99/src/lib/qt/kde/html' > /bin/sh ../../../../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. > -I. -I../../../.r/lib/qt-3.3/include/ -D_REENTRANT -g -O2 -pipe > -Wall -fno-exceptions -g -Os -fno- c++ -DHAVE_CONFIG_H -I. -I. > -I../../../../.. -I../../../../../src/share -I/usr/lib/qt- -Wall > -fno-exceptions -g -Os -fno-omit-frame-pointer -c main.cpp -fPIC -DPIC > -o main > main.cpp:41:22: X11/Xlib.h: No such file or directory > > This file is locate in "/usr/X11R6/include/X11/Xlib.h" > I tried the ./configure --x-includes=/usr/X11R6/include/ , ./configure > --x-includes=/usr/X11R6/include/X11/ without success. I keep getting > the error. Any Idea? Many thanks! > Paolo > > Maybe I'm wrong. But try './configure --x-includes=/usr/X11R6/' without the 'include' directory. As I understood the --x-includes should point to the place the 'include' directory is configure adds 'include' to it and the main.cpp is adding 'X11/Xlib.h' resulting the full path as '/usr/X11R6' / 'include' / 'X11/Xlib.h'. However it is strange, SuSE has the same path for Xlib.h and I do not set it myself. In my 'config.log': configure:12068: checking for X configure:12288: result: libraries /usr/X11R6/lib, headers /usr/X11R6/include configure:12441: gcc -o conftest -g -O2 conftest.c -L/usr/X11R6/lib -lX11 >&5 May be this helps if you compare. From ronstk at ...239... Fri Oct 1 02:34:32 2004 From: ronstk at ...239... (ron) Date: Fri, 1 Oct 2004 02:34:32 +0200 Subject: [Gambas-user] frm2form 0.06 In-Reply-To: <200409300825.52448.sourceforge-raindog2@...94...> References: <200409291631.38667.sourceforge-raindog2@...94...> <200409301032.46226.ronstk@...239...> <200409300825.52448.sourceforge-raindog2@...94...> Message-ID: <200410010234.33014.ronstk@...239...> On Thursday 30 September 2004 14:25, Rob wrote: > On Thursday 30 September 2004 04:32, ron wrote: > > When I understand it good then you(perl) say in gambas > > IF type = "FileListBox" THEN type = "ListBox" > > That's right.... and that's how it'll look when I port it to > gambas with the pcre component ;) > :) > > The DirListBox and DriveListBox are more close to th > > gb.qt.ComboBox There is code behind the VB one versions that > > adds the files, directories or drives where the property > > Path/Dir/Drive is pointing. And of course the drives do not > > exist in linux or it must point to the wine drive directory is > > available. > > No, I just ported a form to gambas yesterday that had a > dirlistbox and it's like a treeview on the VB side. Since the > drivelistbox has no purpose in linux, I'm converting it as a > treeview as well with the intent of making my own "dirlistbox" > class based on a treeview eventually. > Shame on me. :( Your right for the treeview look. :) > > The vb.ListBox is near the gb.qt.ListBox > > The vb.ComboBox is near the gb.qt.ComboBox > > Any control whose Gambas equivalent is named the same thing > doesn't need to be changed. That's why I have that array full > of legal Gambas controls at the top. Makes live simple :) > > > The vb.ImageListBox is near the gb.qt.ListView > > The vb.ImageComboBox is near the not existing gb.qt.ComboView > > The nearest equivalent is the gb.qt.ListBox with reduced > > height to 1 row The diff between vb.Image*Box and vb.*Box is > > the first one can have icons oposite the second one. > > Sorry, I've been implementing this solely using forms I had lying > around or that my clients needed converting to Gambas. If you > could post a .frm file with a bunch of standard VB controls that > I am incorrectly converting to PictureBoxes, I will add support > for them. You choice for PictureBox is good. MS is substitute it also for controls in forms not available any more, i.e. user-controls deleted. I can make a vb.form with all those VB controls if it helps. But the properties of the control are only available if I set them to none default values. This can result to wrong gb.property names. > > > For people porting from VB to GB may be a class module like > > the TableViewX made by Charlie to emulate The vb.ListView can > > help to switch between both and fill both controls with data. > > Yes, as I said on the download page, I intend to eventually > include code to do that sort of thing. Currently I'm just > generating .form output which has nowhere to put code. > A litle correction here. I say this to people doing porting to make a extend class, not say it you must do. That was unclear but the intention by me. For the code part, may be simple put it in a *.class file even when it is not really GB basic syntax. The touch command to create this file in empty condition is also prevent, and the porting person can edit right out of box :) > > The vb.TreeView is also the gb.qt.TreeView as most close > > substituut in name but it is a deriviate of the QT ColumnView > > so the gb.qt.ColumnView can be a better option. > > > > In fact the gb.qt.ColumnView is the replacement for the > > vb.TreeView and vb.ListView by QT. > > I'll take a look at these to see if I can figure out what you > mean. > Benoit uses the QT.Columnview to make the gb.TreeView, gb.ListView and the gb.ColumnView controls. > > For the frx files. > > The property values for the controls, if not standard are > > stored in these files. i.e. TextBox1.Text = "MyMessage" then > > "MyMessage" is in the *.frx file If it is left empty then > > nothing in the *.frx file. > > Also the icons used in the app are stored in this file. > > Thanks for the program you posted earlier... I'll check it out > and see if I can either incorporate it or use it to figure out > the .frx format myself. > BM (Brad Martinez) has/had some info/explanation about it on his site. > > I have already 50% ported to gambas. But has low priority for > > me. Last part are some none basic things as declare functions > > into *.dll I think the code is more complicated as the form in > > this case. 8) > > I am in no hurry to begin translating code ;) > I understand, I mean more complex to do, regarding the differences. Doing it for this program I realize some big pro for gambas. I need a way to read a file in binary way, setting a start position and read x bytes into a byte array. Still looking how. :( > Rob > Thanks god we have a nice perl programmer, named Rob. The look ATM to VB give me some good memories, I must be carefull not to go back. From rizky at ...568... Fri Oct 1 04:38:02 2004 From: rizky at ...568... (Rizky Tahara Shita) Date: Fri, 01 Oct 2004 09:38:02 +0700 Subject: [Gambas-user] Gambas DB basic update record example In-Reply-To: <200409301435.38041.gambas@...1...> References: <200409300413.i8U4Dd7Q030989@...564...> <415BA10A.8040209@...568...> <200409301435.38041.gambas@...1...> Message-ID: <415CC30A.4090200@...568...> Benoit Minisini wrote: > On Thursday 30 September 2004 08:00, Rizky Tahara Shita wrote: > >>so i never use the .addnew, .edit, .update and something like that again >>(not just in gambas, but in VB too). i always use query to do it... >>believe it, query is fun :) >> > > > The .Edit(), .Update(), .Find()... have a big advantage: they create the query > for you in a database-independent manner. This can be important if you want > to write a database-independent application. > > Regards, > yeah sure.. may be this is the problem that i have when i wrote the mysql-klik that i've post to you... humm.... From jredrejo at ...96... Fri Oct 1 08:41:08 2004 From: jredrejo at ...96... (=?ISO-8859-1?Q?Jos=E9?= L. Redrejo =?ISO-8859-1?Q?Rodr=EDguez?=) Date: Fri, 01 Oct 2004 08:41:08 +0200 Subject: [Gambas-user] Re: when wedding GAMBAS+Debian? In-Reply-To: <20041001003713.8E3681D2743@...640...> References: <20041001003713.8E3681D2743@...640...> Message-ID: <1096612868.6757.8.camel@...641...> El vie, 01-10-2004 a las 02:36, "Premoli, Roberto [ITPPG/1010]" escribi?: >Hi all! >Anyone knows if and when gambas will be added as official package of >Debian? >I will be happy when it will be, cos it is so nice to type >apt-get install gambas ... >Roberto Be patient, the proccess has already begun, but Debian procedures take time. Meanwhile you can add to your /etc/apt/sources.list the line: deb http://www.linex.org/sources/linex/debian/ cl gambas to use apt-get install gambas. This repository is isolated, only contains gambas packages and it won't install you any other package. To fulfill gambas packages dependencies you will need an official Debian sarge or sid line in sources.list as well. 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 sdnpaolo at ...69... Fri Oct 1 08:41:24 2004 From: sdnpaolo at ...69... (Paolo Saudin) Date: Fri, 01 Oct 2004 08:41:24 +0200 Subject: [Gambas-user] X11/Xlib.h error In-Reply-To: <200410010140.32202.ronstk@...239...> References: <415C2A72.8010703@...69...> <200410010140.32202.ronstk@...239...> Message-ID: <415CFC14.6060500@...69...> ron wrote: >On Thursday 30 September 2004 17:46, Paolo Saudin wrote: > > >>Hi all, >>I'm trying to compile gambas 0.99 in Yoper 2.1, the ./configure command >>seems to be ok, but when I type make, I get the following error: >>........................... >>Making all in html >>make[6]: Entering directory >>`/home/paolo/stuff/gambas-0.99/src/lib/qt/kde/html' >>/bin/sh ../../../../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. >>-I. -I../../../.r/lib/qt-3.3/include/ -D_REENTRANT -g -O2 -pipe >>-Wall -fno-exceptions -g -Os -fno- c++ -DHAVE_CONFIG_H -I. -I. >>-I../../../../.. -I../../../../../src/share -I/usr/lib/qt- -Wall >>-fno-exceptions -g -Os -fno-omit-frame-pointer -c main.cpp -fPIC -DPIC >>-o main >>main.cpp:41:22: X11/Xlib.h: No such file or directory >> >>This file is locate in "/usr/X11R6/include/X11/Xlib.h" >>I tried the ./configure --x-includes=/usr/X11R6/include/ , ./configure >>--x-includes=/usr/X11R6/include/X11/ without success. I keep getting >>the error. Any Idea? Many thanks! >>Paolo >> >> >> >> > >Maybe I'm wrong. > >But try './configure --x-includes=/usr/X11R6/' without the 'include' directory. > >As I understood the --x-includes should point to the place the 'include' directory is >configure adds 'include' to it and the main.cpp is adding 'X11/Xlib.h' resulting >the full path as '/usr/X11R6' / 'include' / 'X11/Xlib.h'. > >However it is strange, SuSE has the same path for Xlib.h and I do not set it myself. > >In my 'config.log': >configure:12068: checking for X >configure:12288: result: libraries /usr/X11R6/lib, headers /usr/X11R6/include >configure:12441: gcc -o conftest -g -O2 conftest.c -L/usr/X11R6/lib -lX11 >&5 > >May be this helps if you compare. > > Hi, thank for the hints, I tried, but no way here is my 'config.log': configure:7792: checking for QT component libraries configure:7932: checking for X configure:8246: checking for dnet_ntoa in -ldnet .............................. configure:8763: checking for XOpenDisplay in -lX11 configure:8782: gcc -o conftest -g -O2 conftest.c -lX11 -L/usr/X11R6/lib 1>&5 configure:8805: checking for XShmAttach in -lXext configure:8824: gcc -o conftest -g -O2 conftest.c -lXext -L/usr/X11R6/lib 1>&5 My Gcc version is 3.4.1 Many thanks again From ronstk at ...239... Fri Oct 1 09:41:24 2004 From: ronstk at ...239... (ron) Date: Fri, 1 Oct 2004 09:41:24 +0200 Subject: [Gambas-user] X11/Xlib.h error In-Reply-To: <415CFC14.6060500@...69...> References: <415C2A72.8010703@...69...> <200410010140.32202.ronstk@...239...> <415CFC14.6060500@...69...> Message-ID: <200410010941.25127.ronstk@...239...> On Friday 01 October 2004 08:41, Paolo Saudin wrote: >configure:12068: checking for X >configure:12288: result: libraries /usr/X11R6/lib, headers /usr/X11R6/include >configure:12441: gcc -o conftest -g -O2 conftest.c -L/usr/X11R6/lib -lX11 >&5 I give you 3 lines in sequence regarding the X > configure:7792: checking for QT component libraries > configure:7932: checking for X Did you not get the 'configure:*****: result: libraries line' here ???? Also missing the gcc line ??? > configure:8246: checking for dnet_ntoa in -ldnet > .............................. > configure:8763: checking for XOpenDisplay in -lX11 > configure:8782: gcc -o conftest -g -O2 conftest.c -lX11 -L/usr/X11R6/lib 1>&5 this one looks OK, only miss the result: line between > configure:8805: checking for XShmAttach in -lXext > configure:8824: gcc -o conftest -g -O2 conftest.c -lXext -L/usr/X11R6/lib 1>&5 this one same. Strange you do not have the result lines, they are made by configure here. in config.status: s, at QT_PATH@,/usr/lib/qt/lib//..,;t t s, at X_CFLAGS@, -I/usr/X11R6/include,;t t s, at X_PRE_LIBS@, -lSM -lICE,;t t s, at X_LIBS@, -L/usr/X11R6/lib,;t t s, at X_EXTRA_LIBS@,,;t t s, at MOC@,/usr/bin//moc,;t t It is guessing from me but may be it helps. Ron From sdnpaolo at ...69... Fri Oct 1 12:10:02 2004 From: sdnpaolo at ...69... (Paolo Saudin) Date: Fri, 01 Oct 2004 12:10:02 +0200 Subject: [Gambas-user] X11/Xlib.h error In-Reply-To: <200410010941.25127.ronstk@...239...> References: <415C2A72.8010703@...69...> <200410010140.32202.ronstk@...239...> <415CFC14.6060500@...69...> <200410010941.25127.ronstk@...239...> Message-ID: <415D2CFA.70605@...69...> ron wrote: >On Friday 01 October 2004 08:41, Paolo Saudin wrote: > > > >>configure:12068: checking for X >>configure:12288: result: libraries /usr/X11R6/lib, headers /usr/X11R6/include >>configure:12441: gcc -o conftest -g -O2 conftest.c -L/usr/X11R6/lib -lX11 >&5 >> >> > >I give you 3 lines in sequence regarding the X > > > > >>configure:7792: checking for QT component libraries >>configure:7932: checking for X >> >> > >Did you not get the 'configure:*****: result: libraries line' here ???? >Also missing the gcc line ??? > > Anything is missing between the two lines, both the result and gcc one > > >>configure:8246: checking for dnet_ntoa in -ldnet >>.............................. >>configure:8763: checking for XOpenDisplay in -lX11 >>configure:8782: gcc -o conftest -g -O2 conftest.c -lX11 -L/usr/X11R6/lib 1>&5 >> >> > >this one looks OK, only miss the result: line between > > > >>configure:8805: checking for XShmAttach in -lXext >>configure:8824: gcc -o conftest -g -O2 conftest.c -lXext -L/usr/X11R6/lib 1>&5 >> >> > >this one same. > >Strange you do not have the result lines, they are made by configure here. > > > >in config.status: > >s, at QT_PATH@,/usr/lib/qt/lib//..,;t t >s, at X_CFLAGS@, -I/usr/X11R6/include,;t t >s, at X_PRE_LIBS@, -lSM -lICE,;t t >s, at X_LIBS@, -L/usr/X11R6/lib,;t t >s, at X_EXTRA_LIBS@,,;t t >s, at MOC@,/usr/bin//moc,;t t > > > here my config.status, which seems to be ok, isn't it? s%@QT_PATH@%/usr/lib/qt-3.3/lib//..%g s%@X_CFLAGS@% -I/usr/X11R6/include%g s%@X_PRE_LIBS@% -lSM -lICE%g s%@X_LIBS@% -L/usr/X11R6/lib%g s%@X_EXTRA_LIBS@%%g s%@MOC@%/usr/lib/qt-3.3/bin//moc%g Thank very much, Paolo >It is guessing from me but may be it helps. > >Ron > > >------------------------------------------------------- >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-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From nferraz at ...184... Fri Oct 1 15:59:35 2004 From: nferraz at ...184... (Nelson Ferraz) Date: Fri, 01 Oct 2004 10:59:35 -0300 Subject: [Gambas-user] pcre component 0.0.3 - working In-Reply-To: <200409301644.50126.sourceforge-raindog2@...94...> References: <200409301644.50126.sourceforge-raindog2@...94...> Message-ID: <415D62C7.4050200@...184...> Rob wrote: > Here is gb.pcre 0.0.3. It seems to work fully now, though I > would appreciate suggestions on more methods/properties. > > The class is called Regex. You initialize it like this: > > dim re as Regex > re = new Regex("string to match", "regular expression") Rob, How difficult would it be to integrate the regexps into the language itself? Something like (given MyStr = "quick brown fox"): IF MyStr MATCH "fox" THEN ... Or even: IF MyStr LIKE "fox" THEN ... In this case, we'd be overriding a Gambas keyword. Benoit: it interesting to note that regexps offer a superset of what LIKE currently offers; you can match against a string, like "fox", but you also can match against more elaborate patterns, like "\w" (letters), "\d" (digits), "\s" (spaces), etc. From lordheavy at ...512... Fri Oct 1 16:33:08 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Fri, 1 Oct 2004 16:33:08 +0200 Subject: [Gambas-user] First step for a Gambas-sdl video component Message-ID: <200410011633.09003.lordheavy@...512...> 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 lamalfa at ...639... Fri Oct 1 15:35:42 2004 From: lamalfa at ...639... (Ivan La Malfa) Date: Fri, 01 Oct 2004 10:35:42 -0300 Subject: [Gambas-user] Re: when wedding GAMBAS+Debian? References: <20041001003713.8E3681D2743@...640...> <1096612868.6757.8.camel@...641...> Message-ID: <415D5D2E.10609@...639...> Jos? L. Redrejo Rodr?guez wrote: >El vie, 01-10-2004 a las 02:36, "Premoli, Roberto [ITPPG/1010]" > escribi?: > > > >>Hi all! >>Anyone knows if and when gambas will be added as official package of >>Debian? >>I will be happy when it will be, cos it is so nice to type >>apt-get install gambas ... >> >> > > > >>Roberto >> >> > >Be patient, the proccess has already begun, but Debian procedures take >time. >Meanwhile you can add to your /etc/apt/sources.list the line: >deb http://www.linex.org/sources/linex/debian/ cl gambas >to use apt-get install gambas. This repository is isolated, only >contains gambas packages and it won't install you any other package. To >fulfill gambas packages dependencies you will need an official Debian >sarge or sid line in sources.list as well. > >Regards > > Yes, thanks to YOU (because, you are the maintainer) I can use gambas under my woody OS :). -- Ivan (Vanchi) La Malfa email/ JID: lamalfa at ...639... From sourceforge-raindog2 at ...94... Fri Oct 1 18:00:42 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 1 Oct 2004 12:00:42 -0400 Subject: [Gambas-user] pcre component 0.0.3 - working In-Reply-To: <415D62C7.4050200@...184...> References: <200409301644.50126.sourceforge-raindog2@...94...> <415D62C7.4050200@...184...> Message-ID: <200410011200.42518.sourceforge-raindog2@...94...> On Friday 01 October 2004 09:59, Nelson Ferraz wrote: > How difficult would it be to integrate the regexps into the > language itself? Something like (given MyStr = "quick brown > fox"): > IF MyStr MATCH "fox" THEN ... > Or even: > IF MyStr LIKE "fox" THEN ... > In this case, we'd be overriding a Gambas keyword. I haven't the faintest idea, but (a) Benoit alluded to doing this eventually and (b) I think there may be hooks in the API for it.... My C is still a bit rusty but it's all coming back to me ;) It would replace 3 lines of code (DIM, then NEW, then checking the offset) with 1, but for most of my uses I need access to the submatches so I'd still have to explicitly create an object. I've decided it would also be cool to make available the offsets for each submatch (I don't even know how to get at those in perl!) so I'll probably add that, and of course all the properties need to be read-only, so there'll be at least one more version before I'm done with it. I'd also like to write a Replace method that would be sort of like the s/from/to/g in perl, except returning a value rather than operating on the buffer directly. (But I'm about to go away for the weekend, so I dunno if I'll do anything with it for a couple days.) Next up after this is a POSIX component just to keep my skills fresh ;) I haven't come up with too many other easily wrapped libs that I actually need yet, but I have wanted a few of the POSIX functions at times. I wonder if it would be possible to write something that would dlopen an arbitrary shared library and allow access to its functions using a mechanism like VB's "Declare" statement. Sadly, that's probably beyond my skill level right now and the SEGV'ing would be rampant. Rob From webmaster at ...642... Fri Oct 1 20:42:50 2004 From: webmaster at ...642... (Nelson Nieves) Date: Fri, 1 Oct 2004 14:42:50 -0400 Subject: [Gambas-user] Newbie Gridview question Message-ID: <001401c4a7e8$74dbf540$1400000a@...643...> I come from a Windows background programming in Delphi and PureBasic. So please, understand my newbie Gambas question. I am having a tough time trying to get a Gridview component to accept keyboard input. Also, how do I select each grid by mouse and keyboard? Any help is appreciated. Also, I have started a forum at http://www.linuxbasic.net/ for RAD Linux BASICs. So far I have Gambas and HBasic forums. From nferraz at ...184... Fri Oct 1 21:19:39 2004 From: nferraz at ...184... (Nelson Ferraz) Date: Fri, 01 Oct 2004 16:19:39 -0300 Subject: [Gambas-user] pcre component 0.0.3 - working In-Reply-To: <200410011200.42518.sourceforge-raindog2@...94...> References: <200409301644.50126.sourceforge-raindog2@...94...> <415D62C7.4050200@...184...> <200410011200.42518.sourceforge-raindog2@...94...> Message-ID: <415DADCB.7090300@...184...> Rob wrote: >> IF MyStr MATCH "fox" THEN ... >>Or even: >> IF MyStr LIKE "fox" THEN ... > > It would replace 3 lines of code (DIM, then NEW, then > checking the offset) with 1, but for most of my uses I need > access to the submatches so I'd still have to explicitly create > an object. The MATCH (or LIKE) operator could set a few properties in the background, so the code would be something like this: IF MyStr MATCH "(\w+)" THEN PRINT RegExp.SubMatch(0) END I don't know if this is an elegant solution but would be handy. :) > I'd also like to write a > Replace method that would be sort of like the s/from/to/g in > perl, except returning a value rather than operating on the > buffer directly. I think it should operate directly on the variable; that's what we usually want, isn't it? It could return the number of substitutions, so we could write: IF REPLACE(MyStr,"fox","dog") THEN ' 1 or more substitutions ... ELSE ' zero substitutions ... END From sourceforge-raindog2 at ...94... Fri Oct 1 21:53:36 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 1 Oct 2004 15:53:36 -0400 Subject: [Gambas-user] pcre component 0.0.3 - working In-Reply-To: <415DADCB.7090300@...184...> References: <200409301644.50126.sourceforge-raindog2@...94...> <200410011200.42518.sourceforge-raindog2@...94...> <415DADCB.7090300@...184...> Message-ID: <200410011553.36326.sourceforge-raindog2@...94...> On Friday 01 October 2004 15:19, Nelson Ferraz wrote: > IF MyStr MATCH "(\w+)" THEN > PRINT RegExp.SubMatch(0) > END > I don't know if this is an elegant solution but would be > handy. :) It would be more like perl, but I didn't implement the class as static and I'm not sure I'd want to. (I know I've run into situations in perl where I clobbered the results of a match with a subsequent one, unknowingly.) > I think it should operate directly on the variable; that's > what we usually want, isn't it? No ;) I always wondered why perl did it the way they did. Then again, in Gambas you can't do an assignment and compare the result of the assignment in a single statement as you can in perl (or C, etc.) so I can see why one would want to do that in Gambas. > It could return the number of substitutions, so we could > write: I'm not aware of any current Gambas methods that change one of their arguments, and I think that's contrary to Benoit's design intentions. But he can correct me on that ;) Have you tried it as it exists now, by the way? I realized after posting it that those who'll want to try it are gonna have to manually change a few automake macros (according to the instructions for building your own components in the gambas wiki) and some people might not realize that. Rob From nferraz at ...184... Fri Oct 1 22:39:57 2004 From: nferraz at ...184... (Nelson Ferraz) Date: Fri, 01 Oct 2004 17:39:57 -0300 Subject: [Gambas-user] pcre component 0.0.3 - working In-Reply-To: <200410011553.36326.sourceforge-raindog2@...94...> References: <200409301644.50126.sourceforge-raindog2@...94...> <200410011200.42518.sourceforge-raindog2@...94...> <415DADCB.7090300@...184...> <200410011553.36326.sourceforge-raindog2@...94...> Message-ID: <415DC09D.1090803@...184...> Rob wrote: > Have you tried it as it exists now, by the way? I realized after > posting it that those who'll want to try it are gonna have to > manually change a few automake macros (according to the > instructions for building your own components in the gambas > wiki) and some people might not realize that. No, I haven't tried it -- yet. Right now I'm working on a code generator in Perl -- it takes a XML file as input and generates a complete web-based database application (including code, templates, database scripts, etc.) My next goal is to generate some Gambas code... ;) From linus at ...38... Sat Oct 2 16:28:21 2004 From: linus at ...38... (Nigel Gerrard) Date: Sat, 02 Oct 2004 15:28:21 +0100 Subject: [Gambas-user] Lost & Found of a little game In-Reply-To: References: Message-ID: <1096727301.1966.1.camel@...541...> Maurizio, Don't know if you have had a response. This is what I have: Nigel On Thu, 2004-09-30 at 15:13, Maurizio Pozzobon wrote: > Some time ago I've created a little game named GLLS where you had to > complite as many squares as you could drawing one line per turn. After > some time I've worked on a little AI for the game and it worked fine. > I didn't relase it because I wanted to add a little function that I > did never add. The problem is that A few weeks ago I had a problem > with my HD and I've lost the source of the progam, so if someone of > you didn't delete that stupid game could you send it back to me so I > don't have to restart all from the begining and just add the AI > function. > > Thanks > Maurizio > > > ------------------------------------------------------- > 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-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -------------- next part -------------- A non-text attachment was scrubbed... Name: GLLS.tar.gz Type: application/x-compressed-tar Size: 26604 bytes Desc: not available URL: From mardus at ...298... Sun Oct 3 20:16:08 2004 From: mardus at ...298... (Marcelo Duschkin) Date: Sun, 3 Oct 2004 15:16:08 -0300 Subject: [Gambas-user] Re: Lost & Found of a little game In-Reply-To: References: Message-ID: <200410031516.09145.mardus@...298...> El Jue 30 Sep 2004 11:13, Maurizio Pozzobon escribi?: |> Some time ago I've created a little game named GLLS where you had to |> complite as many squares [...] |> The problem is that A few weeks ago I had a problem |> with my HD and I've lost the source of the progam, so if someone of |> you didn't delete that stupid game could you send it back to me so I |> don't have to restart all from the begining I've found this -- -- Para el cierre: --- El Maestro Pen Guin al azar citaba: Los que crean en la telekinesis que levanten mi mano. - - - Marcelo Duschkin - Buenos Aires - Argentina mardus at ...298... www.websdelsur.com.ar www.lahueya.com.ar -------------- next part -------------- A non-text attachment was scrubbed... Name: GLLS-0.5.5.tar.gz Type: application/x-tgz Size: 8708 bytes Desc: not available URL: From mauriziopz at ...626... Sun Oct 3 21:34:18 2004 From: mauriziopz at ...626... (Maurizio Pozzobon) Date: Sun, 3 Oct 2004 21:34:18 +0200 Subject: [Gambas-user] Re: Lost & Found of a little game In-Reply-To: <200410031516.09145.mardus@...298...> References: <200410031516.09145.mardus@...298...> Message-ID: thanks On Sun, 3 Oct 2004 15:16:08 -0300, Marcelo Duschkin wrote: > El Jue 30 Sep 2004 11:13, Maurizio Pozzobon escribi?: > |> Some time ago I've created a little game named GLLS where you had to > |> complite as many squares [...] > |> The problem is that A few weeks ago I had a problem > |> with my HD and I've lost the source of the progam, so if someone of > |> you didn't delete that stupid game could you send it back to me so I > |> don't have to restart all from the begining > > I've found this > > -- > -- Para el cierre: --- > El Maestro Pen Guin al azar citaba: > Los que crean en la telekinesis que levanten mi mano. > - - - > Marcelo Duschkin - Buenos Aires - Argentina > mardus at ...298... > www.websdelsur.com.ar > www.lahueya.com.ar > > > > From sourceforge-raindog2 at ...94... Mon Oct 4 15:58:10 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 4 Oct 2004 09:58:10 -0400 Subject: [Gambas-user] gb.pcre 0.0.4 Message-ID: <200410040958.10463.sourceforge-raindog2@...94...> 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 webmaster at ...642... Mon Oct 4 23:58:29 2004 From: webmaster at ...642... (Nelson Nieves) Date: Mon, 4 Oct 2004 17:58:29 -0400 Subject: [Gambas-user] gb.pcre 0.0.4 References: <200410040958.10463.sourceforge-raindog2@...94...> Message-ID: <002301c4aa5d$6dc51710$1400000a@...643...> Hi, This sounds like a component I can use for a project I am working on in Gambas which needs a regular expression component. I'm converting a Windows application to Linux. BTW, I added an Applications/Code Snippets section to the each BASIC forum at http://www.linuxbasic.net So, please post links to your components and code. Let's get the Gambas forum going! :) ----- Original Message ----- From: "Rob" To: Cc: Sent: Monday, October 04, 2004 9:58 AM Subject: [Gambas-user] gb.pcre 0.0.4 > 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 > > From webmaster at ...642... Tue Oct 5 00:01:49 2004 From: webmaster at ...642... (Nelson Nieves) Date: Mon, 4 Oct 2004 18:01:49 -0400 Subject: [Gambas-user] Does Gambas offer a Find Dialog box? Message-ID: <002901c4aa5d$c828bd10$1400000a@...643...> Does Gambas offer a Find Dialog box? I see Dialog.SaveFile, Dialog.OpenFile, Dialog.SelectDirectory, Dialog.SelectFont, and even Dialog.SelectColor. From sourceforge-raindog2 at ...94... Tue Oct 5 00:47:46 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 4 Oct 2004 18:47:46 -0400 Subject: [Gambas-user] Does Gambas offer a Find Dialog box? In-Reply-To: <002901c4aa5d$c828bd10$1400000a@...643...> References: <002901c4aa5d$c828bd10$1400000a@...643...> Message-ID: <200410041847.46312.sourceforge-raindog2@...94...> On Monday 04 October 2004 18:01, Nelson Nieves wrote: > Does Gambas offer a Find Dialog box? Not really, but you could grab the code out of the IDE to do that... > I see Dialog.SaveFile, Dialog.OpenFile, > Dialog.SelectDirectory, Dialog.SelectFont, and even > Dialog.SelectColor. Those are all standard Qt or KDE dialogs. A Find dialog in a Gambas app would pretty much have to be written in Gambas, as it needs access to (and understanding of) the text of the control in which you're doing the find! Rob From sourceforge-raindog2 at ...94... Tue Oct 5 00:44:32 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 4 Oct 2004 18:44:32 -0400 Subject: [Gambas-user] gb.pcre 0.0.4 In-Reply-To: <002301c4aa5d$6dc51710$1400000a@...643...> References: <200410040958.10463.sourceforge-raindog2@...94...> <002301c4aa5d$6dc51710$1400000a@...643...> Message-ID: <200410041844.32846.sourceforge-raindog2@...94...> On Monday 04 October 2004 17:58, Nelson Nieves wrote: > This sounds like a component I can use for a project I am > working on in Gambas which needs a regular expression > component. I'm converting a Windows application to Linux. It just so happens that's what I'm using it for right now.... adding a "Project|Import VB Form..." menu entry to the gambas IDE :) > BTW, I added an Applications/Code Snippets section to the each > BASIC forum at http://www.linuxbasic.net So, please post links > to your components and code. Let's get the Gambas forum going! > :) Cool, I am still working on some convenience functions in gambas (Match, ReplaceOnce, ReplaceAll, GetFirstMatch, GetFirstSubMatch) but when I get them stable i'll post them on the list and in the linuxbasic forum :) Rob From webmaster at ...642... Tue Oct 5 01:25:43 2004 From: webmaster at ...642... (Nelson Nieves) Date: Mon, 4 Oct 2004 19:25:43 -0400 Subject: [Gambas-user] Does Gambas offer a Find Dialog box? References: <002901c4aa5d$c828bd10$1400000a@...643...> <200410041847.46312.sourceforge-raindog2@...94...> Message-ID: <004a01c4aa69$81b669c0$1400000a@...643...> No, not really. I have the code. All I need is the Dialog box. Just like I have in Delphi. I pull the search string and parameters from the Dialog box. My code then searches the component and highlights the search term or whatever else I want the component to do with the data provided from the Dialog box. ----- Original Message ----- From: "Rob" To: Sent: Monday, October 04, 2004 6:47 PM Subject: Re: [Gambas-user] Does Gambas offer a Find Dialog box? > On Monday 04 October 2004 18:01, Nelson Nieves wrote: >> Does Gambas offer a Find Dialog box? > > Not really, but you could grab the code out of the IDE to do > that... > >> I see Dialog.SaveFile, Dialog.OpenFile, >> Dialog.SelectDirectory, Dialog.SelectFont, and even >> Dialog.SelectColor. > > Those are all standard Qt or KDE dialogs. A Find dialog in a > Gambas app would pretty much have to be written in Gambas, as it > needs access to (and understanding of) the text of the control > in which you're doing the find! > > Rob > > > > > ------------------------------------------------------- > 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-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sourceforge-raindog2 at ...94... Tue Oct 5 02:23:29 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 4 Oct 2004 20:23:29 -0400 Subject: [Gambas-user] Does Gambas offer a Find Dialog box? In-Reply-To: <004a01c4aa69$81b669c0$1400000a@...643...> References: <002901c4aa5d$c828bd10$1400000a@...643...> <200410041847.46312.sourceforge-raindog2@...94...> <004a01c4aa69$81b669c0$1400000a@...643...> Message-ID: <200410042023.29551.sourceforge-raindog2@...94...> On Monday 04 October 2004 19:25, Nelson Nieves wrote: > No, not really. I have the code. All I need is the Dialog box. > Just like I have in Delphi. I pull the search string and > parameters from the Dialog box. My code then searches the > component and highlights the search term or whatever else I > want the component to do with the data provided from the > Dialog box. Right, you have to actually perform the search in Gambas, which is what I was talking about. All the existing dialogs are simply wrapped versions of the standard Qt or KDE dialogs, whereas a Find dialog as you describe (which in most apps wouldn't even be modal) doesn't exist in standard form in Qt at least and therefore would have to be part of a new component. I really think it's best implemented in Gambas code... once we can write our own components using Gambas instead of C I think you'll find all this stuff will appear rapidly. But for now, you can steal the FFind.form and FFind.class out of the gambas IDE and adapt them to your liking. Rob From lamalfa at ...639... Wed Oct 6 00:19:53 2004 From: lamalfa at ...639... (Ivan La Malfa) Date: Tue, 05 Oct 2004 19:19:53 -0300 Subject: [Gambas-user] Cargar fotos Message-ID: <41631E09.3030001@...639...> Hola, Estoy haciendo un programa para ver y ubicar las fotos que tomo con mi c?mara. DIM Foto AS Picture Foto = NEW Picture foto.Load (txtDirectorio.Text & "/" & lbxArchivos.Current.Text ) pbxFoto.Picture = foto 'pbxFoto = PictureBox El problema es que las fotos pesan 700 kB y la m?quina tarda casi 2 segundos en mostrar cada foto, lo que es realmente molesto cuando hay que revisar m?s de 100 fotos (nota, el mismo programa -con los cambios correspondientes- en mi misma PC, pero en VB lo hace de modo inmediato) Me he dado cuenta que lo que "mata" a mi PC es la instrucci?n Foto.Load (....) Pregunto ?Hay alguna otra forma de ver las fotos un poco m?s r?pido? -- Ivan (Vanchi) La Malfa email/ JID: lamalfa at ...639... From sourceforge-raindog2 at ...94... Wed Oct 6 01:31:18 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 5 Oct 2004 19:31:18 -0400 Subject: [Gambas-user] Cargar fotos In-Reply-To: <41631E09.3030001@...639...> References: <41631E09.3030001@...639...> Message-ID: <200410051931.18896.sourceforge-raindog2@...94...> On Tuesday 05 October 2004 18:19, Ivan La Malfa wrote: > Me he dado cuenta que lo que "mata" a mi PC es la instrucci?n > Foto.Load (....) > ?Hay alguna otra forma de ver las fotos un poco m?s r?pido? Not yet, I'm afraid. The Picture.Load method just uses the Qt method of the same name, and Qt's image processing isn't exactly renowned for its speed. Maybe eventually we'll have an SDL canvas we can use as a control in a Gambas Qt window and that'll be faster, but right now that's about all there is. My method so far has been to preload a number of images in advance, because drawing them takes a lot less time than loading/converting them. Rob From eilert-sprachen at ...221... Wed Oct 6 08:36:59 2004 From: eilert-sprachen at ...221... (Eilert) Date: Wed, 06 Oct 2004 08:36:59 +0200 Subject: [Gambas-user] KDE doesn't reload Gambas-app Message-ID: <4163928B.5010301@...221...> Hi, Not that important, just a thing I was wondering about: I wrote a little Gambas app listing the names of the users currently in the system (called it KwhoList :-) ). All system monitoring tools I start on that page are reloaded when I log in on the server, but the Gambas app has to be started by hand every time. It does, however, appear in the correct screen with the others. Any idea why? Rolf From sourceforge-raindog2 at ...94... Wed Oct 6 14:27:50 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 6 Oct 2004 08:27:50 -0400 Subject: [Gambas-user] KDE doesn't reload Gambas-app In-Reply-To: <4163928B.5010301@...221...> References: <4163928B.5010301@...221...> Message-ID: <200410060827.50149.sourceforge-raindog2@...94...> On Wednesday 06 October 2004 02:36, Eilert wrote: > All system monitoring tools I start on that page are reloaded > when I log in on the server, but the Gambas app has to be > started by hand every time. It does, however, appear in the > correct screen with the others. I don't know anything about how KDE remembers what apps were running, but maybe it has something to do with the fact that gambas apps are (a) technically scripts and (b) scripts whose interpreter KDE doesn't know about. My suggestion would be to put a link to the gambas app in ~/.kde/Autostart. Rob From sdnpaolo at ...69... Wed Oct 6 18:02:11 2004 From: sdnpaolo at ...69... (Paolo Saudin) Date: Wed, 06 Oct 2004 18:02:11 +0200 Subject: [Gambas-user] KDE doesn't reload Gambas-app In-Reply-To: <200410060827.50149.sourceforge-raindog2@...94...> References: <4163928B.5010301@...221...> <200410060827.50149.sourceforge-raindog2@...94...> Message-ID: <41641703.1000606@...69...> Rob wrote: >On Wednesday 06 October 2004 02:36, Eilert wrote: > > >>All system monitoring tools I start on that page are reloaded >>when I log in on the server, but the Gambas app has to be >>started by hand every time. It does, however, appear in the >>correct screen with the others. >> >> > >I don't know anything about how KDE remembers what apps were >running, but maybe it has something to do with the fact that >gambas apps are (a) technically scripts and (b) scripts whose >interpreter KDE doesn't know about. > >My suggestion would be to put a link to the gambas app in >~/.kde/Autostart. > >Rob > > > > I need to start a Gambas application at start-up as well, I tried with a link but this only pops-up the 'Open with:' window selection. I then created a app.sh file with the following command "gbx -x /home/paolo/das-test/gbdas" and now the application starts smoothly! Thank you very much for the ~/.kde/Autostart suggestion :-) Paolo > >------------------------------------------------------- >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-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From lamalfa at ...639... Wed Oct 6 12:18:51 2004 From: lamalfa at ...639... (Ivan La Malfa) Date: Wed, 06 Oct 2004 07:18:51 -0300 Subject: [Gambas-user] Cargar fotos References: <41631E09.3030001@...639...> <200410051931.18896.sourceforge-raindog2@...94...> Message-ID: <4163C68B.30306@...639...> Rob wrote: >On Tuesday 05 October 2004 18:19, Ivan La Malfa wrote: > > >>Me he dado cuenta que lo que "mata" a mi PC es la instrucci?n >>Foto.Load (....) >>?Hay alguna otra forma de ver las fotos un poco m?s r?pido? >> >> > >Not yet, I'm afraid. The Picture.Load method just uses the Qt >method of the same name, and Qt's image processing isn't exactly >renowned for its speed. Maybe eventually we'll have an SDL >canvas we can use as a control in a Gambas Qt window and that'll >be faster, but right now that's about all there is. > >My method so far has been to preload a number of images in >advance, because drawing them takes a lot less time than >loading/converting them. > >Rob > > > Hi, Thanks Rob, and excuse me for the spanish e-mail, but I thought that I've send it to the spanish list. Sorry -- Ivan (Vanchi) La Malfa email/ JID: lamalfa at ...639... From cpackard at ...626... Thu Oct 7 04:07:42 2004 From: cpackard at ...626... (Craig Packard) Date: Wed, 6 Oct 2004 22:07:42 -0400 Subject: [Gambas-user] Stumped by .99 In-Reply-To: <9ddb9d08040921042434680012@...627...> References: <9ddb9d0804091818472bc689e9@...627...> <200409191619.02785.gambas@...1...> <9ddb9d0804092017255a94093a@...627...> <200409210707.04668.ronstk@...239...> <9ddb9d08040921042434680012@...627...> Message-ID: <9ddb9d080410061907340fec44@...627...> On Tue, 21 Sep 2004 07:24:10 -0400, Craig Packard wrote: > On Tue, 21 Sep 2004 07:07:03 +0200, ron wrote: > > > > Try rData.Update instead rData.Update() > > Yea, that is how I had it. I only changed it to Update() to see if > that was what I was doing wrong. I just didn't change it back. So > that isn't it. > Got it. Not only does MySQL need a primary key. But it has to be the FIRST row! Mine wasn't. It took me FOREVER to find that. I used the database administrator to make it the first row and bing. works great. - Craig From sourceforge-raindog2 at ...94... Thu Oct 7 06:18:14 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 7 Oct 2004 00:18:14 -0400 Subject: [Gambas-user] Stumped by .99 In-Reply-To: <9ddb9d080410061907340fec44@...627...> References: <9ddb9d0804091818472bc689e9@...627...> <9ddb9d08040921042434680012@...627...> <9ddb9d080410061907340fec44@...627...> Message-ID: <200410070018.14828.sourceforge-raindog2@...94...> On Wednesday 06 October 2004 22:07, Craig Packard wrote: > Got it. Not only does MySQL need a primary key. But it has > to be the FIRST row! Mine wasn't. It took me FOREVER to find > that. I used the database administrator to make it the first > row and bing. works great. You mean the first column/field? That's pretty annoying if so, but somehow I've never managed to run into it... must be I just have the habit of creating tables where the primary key is the first column. :) Rob From sniper at ...593... Thu Oct 7 10:22:21 2004 From: sniper at ...593... (Cryrulez) Date: Thu, 7 Oct 2004 10:22:21 +0200 Subject: [Gambas-user] OPEN and File.Load: Not the same set. Message-ID: <003001c4ac46$c49258b0$92631e0a@...638...> Exist a file /tmp/risultato that contain a string "Noip" I write in gambas project OPEN "/tmp/risultato" FOR READ AS #FileCPU INPUT #FileCPU, CPU CLOSE #FileCPU The CPU variable is set to "Noip" Rob wrote a new idea to make tha same problem (more better and professional, GG ROB): CPU = File.Load("/tmp/risultato") The problem is that the first solution set CPU with Noip and the second the same set but with the Rob solution I can't use the CPU variable in conditional expressions. Example: IF CPU="Noip" then ..... or CASE SELECT CPU CASE "Noip" ..... With the first solution the If or Case work fine, with the ROB solution the If and the Case don't work. Why? -------------- next part -------------- An HTML attachment was scrubbed... URL: From sniper at ...593... Thu Oct 7 10:23:29 2004 From: sniper at ...593... (Cryrulez) Date: Thu, 7 Oct 2004 10:23:29 +0200 Subject: [Gambas-user] Re: Set a Variable from file Message-ID: <003901c4ac46$ed4644b0$92631e0a@...638...> Professional and elegance solution. -------------- next part -------------- An HTML attachment was scrubbed... URL: From eilert-sprachen at ...221... Thu Oct 7 11:20:39 2004 From: eilert-sprachen at ...221... (Eilert) Date: Thu, 07 Oct 2004 11:20:39 +0200 Subject: [Gambas-user] Gambas app running wild Message-ID: <41650A67.3060503@...221...> Hi folks, this morning I found that on the server suddenly system load was going up for one CPU so I took a look what caused it. Much to my surprise I found that it was my own KwhoList app I wrote some days ago. It still went on fine, so I would never have seen any mistake without the load meters. After stopping and restarting, it's running fine again. If you wish to have a look into the code, you can find it in a tar under www.eilert-sprachen.de/kwholist. There is screen shot as well showing how the thing works for me. The load you see on the screenshot is from another user's app. When Gambas was running wild, it produced a constant system CPU load of 99 % on CPU 3 (i. e. almost everything yellow). Did I do anything wrong? Are there any things the program could stumble about? Thanks for all your comments. Rolf From phiber at ...618... Thu Oct 7 10:55:07 2004 From: phiber at ...618... (phiber) Date: Thu, 07 Oct 2004 10:55:07 +0200 Subject: [Gambas-user] OPEN and File.Load: Not the same set. In-Reply-To: <003001c4ac46$c49258b0$92631e0a@...638...> References: <003001c4ac46$c49258b0$92631e0a@...638...> Message-ID: <1097139307.23145.5.camel@...40...> Maybe it's because file.load also puts the linefeed in CPU? On Thu, 2004-10-07 at 10:22, Cryrulez wrote: > Exist a file /tmp/risultato that contain a string "Noip" > I write in gambas project > > OPEN "/tmp/risultato" FOR READ AS #FileCPU > INPUT #FileCPU, CPU > CLOSE #FileCPU > > The CPU variable is set to "Noip" > > Rob wrote a new idea to make tha same problem (more better and > professional, GG ROB): > > CPU = File.Load("/tmp/risultato") > > The problem is that the first solution set CPU with Noip and the > second the same set but with the Rob solution I can't use the CPU > variable in conditional expressions. Example: > > IF CPU="Noip" then > ..... > > or > > CASE SELECT CPU > CASE "Noip" > ..... > > With the first solution the If or Case work fine, with the ROB > solution the If and the Case don't work. Why? > > > > > From cpackard at ...626... Thu Oct 7 13:36:20 2004 From: cpackard at ...626... (Craig Packard) Date: Thu, 7 Oct 2004 07:36:20 -0400 Subject: [Gambas-user] Stumped by .99 In-Reply-To: <200410070018.14828.sourceforge-raindog2@...94...> References: <9ddb9d0804091818472bc689e9@...627...> <9ddb9d08040921042434680012@...627...> <9ddb9d080410061907340fec44@...627...> <200410070018.14828.sourceforge-raindog2@...94...> Message-ID: <9ddb9d08041007043647f1af6e@...627...> On Thu, 7 Oct 2004 00:18:14 -0400, Rob wrote: > On Wednesday 06 October 2004 22:07, Craig Packard wrote: > > Got it. Not only does MySQL need a primary key. But it has > > to be the FIRST row! Mine wasn't. It took me FOREVER to find > > that. I used the database administrator to make it the first > > row and bing. works great. > > You mean the first column/field? That's pretty annoying if so, > but somehow I've never managed to run into it... must be I just > have the habit of creating tables where the primary key is the > first column. :) > > Rob Yes, I mean first column. I realized I wrote the wrong thing after I hit send! I was looking at the design view in the database adaministrator when I wrote that so. . . I was right in that, in the database administrator it is the first row. . . But you are more correct! :) It needs to be the first column in the table. No if I could just get it so the watch window works!!! Does anyone have this working? Please let me know if you do so that I can keep trying to find out what I'm doing wrong. It could be something like with my .update. I just need to keep looking. But I hate to waste my time if it doesn't work for anyone, and it is a bug. . . ;) Thanks - Craig From eilert-sprachen at ...221... Fri Oct 8 08:28:20 2004 From: eilert-sprachen at ...221... (Eilert) Date: Fri, 08 Oct 2004 08:28:20 +0200 Subject: [Gambas-user] KDE doesn't reload Gambas-app In-Reply-To: <200410060827.50149.sourceforge-raindog2@...94...> References: <4163928B.5010301@...221...> <200410060827.50149.sourceforge-raindog2@...94...> Message-ID: <41663384.40201@...221...> Hi Rob, > My suggestion would be to put a link to the gambas app in > ~/.kde/Autostart. Yes I thought of that, too. But Paolo's idea isn't so bad either, is it. Maybe it's got to do with MIME or stuff, KDE just not realizing this is an app. Rolf From eilert-sprachen at ...221... Fri Oct 8 08:30:17 2004 From: eilert-sprachen at ...221... (Eilert) Date: Fri, 08 Oct 2004 08:30:17 +0200 Subject: [Gambas-user] KDE doesn't reload Gambas-app In-Reply-To: <41641703.1000606@...69...> References: <4163928B.5010301@...221...> <200410060827.50149.sourceforge-raindog2@...94...> <41641703.1000606@...69...> Message-ID: <416633F9.3040504@...221...> Hi Paolo, > the 'Open with:' window selection. I then created a app.sh file with the > following command > "gbx -x /home/paolo/das-test/gbdas" and now the application starts > smoothly! This is a good idea, and somehow I think KDE just doesn't know this is an app. As I wrote to Rob, maybe a MIME item or something like that. Rolf From sniper at ...593... Fri Oct 8 11:26:03 2004 From: sniper at ...593... (Cryrulez) Date: Fri, 8 Oct 2004 11:26:03 +0200 Subject: [Gambas-user] Not reload when I compile Message-ID: <000801c4ad18$d53e8080$92631e0a@...638...> If modify the script in my program (on button click), I save and recompile but gambas not load the modify of the script. Why? My version is 97a -------------- next part -------------- An HTML attachment was scrubbed... URL: From sniper at ...593... Fri Oct 8 11:30:44 2004 From: sniper at ...593... (Cryrulez) Date: Fri, 8 Oct 2004 11:30:44 +0200 Subject: [Gambas-user] OPEN and File.Load: Not the same set. Message-ID: <000801c4ad19$7c77a520$92631e0a@...638...> I don't undestand what do you tell me about linefeed. I'm a newbye (A basic question: How I can reply without make a new post?) >> Maybe it"s because file.load also puts the linefeed in CPU? On Thu, 2004-10-07 at 10:22, Cryrulez wrote: > Exist a file /tmp/risultato that contain a string "Noip" > I write in gambas project > > OPEN "/tmp/risultato" FOR READ AS #FileCPU > INPUT #FileCPU, CPU > CLOSE #FileCPU > > The CPU variable is set to "Noip" > > Rob wrote a new idea to make tha same problem (more better and > professional, GG ROB): > > CPU = File.Load("/tmp/risultato") > > The problem is that the first solution set CPU with Noip and the > second the same set but with the Rob solution I can"t use the CPU > variable in conditional expressions. Example: > > IF CPU="Noip" then > ..... > > or > > CASE SELECT CPU > CASE "Noip" > ..... > > With the first solution the If or Case work fine, with the ROB > solution the If and the Case don"t work. Why? > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From phiber at ...618... Fri Oct 8 14:19:06 2004 From: phiber at ...618... (phiber) Date: Fri, 08 Oct 2004 14:19:06 +0200 Subject: [Gambas-user] OPEN and File.Load: Not the same set. In-Reply-To: <000801c4ad19$7c77a520$92631e0a@...638...> References: <000801c4ad19$7c77a520$92631e0a@...638...> Message-ID: <1097237946.20741.8.camel@...40...> Try this little experiment: OPEN "/tmp/risultato" FOR READ AS #FileCPU INPUT #FileCPU, CPU CLOSE #FileCPU PRINT Len(CPU) CPU = File.Load("/tmp/risultato") PRINT Len(CPU) As you'll se the length is different. That's because INPUT stores a line without it's linefeed (\n) and file.load stores all the contents of the file (even the linefeeds). If you still want to use file.load try: CPU = replace(File.Load("/tmp/risultato"), "\n", "") On Fri, 2004-10-08 at 11:30, Cryrulez wrote: > I don't undestand what do you tell me about linefeed. I'm a newbye > (A basic question: How I can reply without make a new post?) From sniper at ...593... Fri Oct 8 18:31:59 2004 From: sniper at ...593... (Cryrulez) Date: Fri, 8 Oct 2004 18:31:59 +0200 Subject: [Gambas-user] Update have solved my problem Message-ID: <000801c4ad54$5592aaf0$92631e0a@...638...> The idea about a Replace the linefeed with the "replace" command is good and work fine. The others problems (the not reload and little error) are solved with the 0.99 upgrade. Thank's all. -------------- next part -------------- An HTML attachment was scrubbed... URL: From valerioguaglianone at ...152... Thu Oct 7 19:04:01 2004 From: valerioguaglianone at ...152... (Valerio Guaglianone) Date: Thu, 07 Oct 2004 19:04:01 +0200 Subject: [Gambas-user] Simple Log Viewer (Gambas Log Viewer) Message-ID: <41657701.5090303@...152...> Hi, I have created a very simple log viewer with gambas and I need a little help. My first question is: as I can improve it? One question still remains: how can I read another log file (e.g. error.log) ? Suggest me code, please :-( Thanks in advance, Vale -------------- next part -------------- A non-text attachment was scrubbed... Name: logo.png Type: image/png Size: 2437 bytes Desc: not available URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Fprincipale.class URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Fprincipale.form URL: From sdnpaolo at ...69... Sat Oct 9 11:11:15 2004 From: sdnpaolo at ...69... (Paolo Saudin) Date: Sat, 09 Oct 2004 11:11:15 +0200 Subject: [Gambas-user] Array question In-Reply-To: <000801c4ad54$5592aaf0$92631e0a@...638...> References: <000801c4ad54$5592aaf0$92631e0a@...638...> Message-ID: <4167AB33.9000103@...69...> Hi all, I need to use a multidimensional array ( x1[0][0] , x1[0][1] , x1[1][0] , x1[1][1] ... ) and at a certain time, I want to copy it in a bakup array in order to work with the new one without loose the original data. Here's my problem : when I copy ( x2=x1.copy() ) a single dimension array all it works as expected, but as soon as I use a multidimensional one, the original is treated as a "referenced" copy and get modified as well. Attached there is an example to demonstrate it clearer :-). Is there another way to deep copy two arrays? Many thanks, Paolo -------------- next part -------------- A non-text attachment was scrubbed... Name: test-array.tar.gz Type: application/x-tgz Size: 897 bytes Desc: not available URL: From lamalfa at ...639... Sat Oct 9 15:56:14 2004 From: lamalfa at ...639... (Ivan La Malfa) Date: Sat, 09 Oct 2004 10:56:14 -0300 Subject: [Gambas-user] Simple Log Viewer (Gambas Log Viewer) References: <41657701.5090303@...152...> Message-ID: <4167EDFE.8010609@...639...> Valerio Guaglianone wrote: > Hi, > I have created a very simple log viewer with gambas and I need a little > help. > My first question is: as I can improve it? Hi Valerio, As I didn't run your program, you *must* say _wath_ you want to improve. > > > One question still remains: how can I read another log file (e.g. > error.log) ? You can use a TabStrip control. PUBLIC SUB Button3_Click() LoadLog(txtPath.Text ) 'A new TextBox with the file to open END PRIVATE SUB LoadLog(strFile AS String) Dialog.Path=strFile IF NOT Exist(Dialog.Path) THEN Message.Info("Attention: path or file not valid!") ELSE TextArea1.Text=File.Load(Dialog.Path) END IF END > > > Suggest me code, please :-( > > Thanks in advance, > Vale > Remember that you can make easily a "source code pack" clicking in the "Make source package..." on the "Project" menu. This is because there are more files in the directory that those you can "view" (those who tells gambas that the directory is a gambas proyect) Bye. -- Ivan (Vanchi) La Malfa email/ JID: lamalfa at ...639... From ronstk at ...239... Sat Oct 9 18:19:32 2004 From: ronstk at ...239... (ron) Date: Sat, 9 Oct 2004 18:19:32 +0200 Subject: [Gambas-user] Array question In-Reply-To: <4167AB33.9000103@...69...> References: <000801c4ad54$5592aaf0$92631e0a@...638...> <4167AB33.9000103@...69...> Message-ID: <200410091819.32398.ronstk@...239...> On Saturday 09 October 2004 11:11, Paolo Saudin wrote: > Hi all, > I need to use a multidimensional array ( x1[0][0] , x1[0][1] , x1[1][0] > , x1[1][1] ... ) and at a certain time, > I want to copy it in a bakup array in order to work with the new one > without loose the original data. > Here's my problem : when I copy ( x2=x1.copy() ) a single dimension > array all it works as expected, > but as soon as I use a multidimensional one, the original is treated as > a "referenced" copy and get modified as well. > Attached there is an example to demonstrate it clearer :-). Is there > another way to deep copy two arrays? > > Many thanks, > Paolo > the array.copy is not an new array with a copy of the content. It is the same but with a different name. arrB = arrA.copy() arrB is the same as aarA only the name differs. The exact name should be .Clone() I think. or arrB.Alias( arrA ) or arrB.Link(arrA) A copy is an new instance of it with the content of the source. From valerioguaglianone at ...152... Sat Oct 9 20:02:09 2004 From: valerioguaglianone at ...152... (Valerio Guaglianone) Date: Sat, 9 Oct 2004 20:02:09 +0200 Subject: [Gambas-user] Simple Log Viewer (Gambas Log Viewer) In-Reply-To: <4167EDFE.8010609@...639...> References: <41657701.5090303@...152...> <4167EDFE.8010609@...639...> Message-ID: <200410092002.09859.valerioguaglianone@...152...> Alle 15:56, sabato 9 ottobre 2004, Ivan La Malfa ha scritto: > You can use a TabStrip control. > > > PUBLIC SUB Button3_Click() > LoadLog(txtPath.Text ) 'A new TextBox with the file to open > END > > > PRIVATE SUB LoadLog(strFile AS String) > Dialog.Path=strFile > IF NOT Exist(Dialog.Path) THEN > Message.Info("Attention: path or file not valid!") > ELSE > TextArea1.Text=File.Load(Dialog.Path) > END IF > END > > Remember that you can make easily a "source code pack" clicking in the > "Make source package..." on the "Project" menu. > > This is because there are more files in the directory that those you can > "view" (those who tells gambas that the directory is a gambas proyect) > > Bye. Ok thank Ivan ;-) -- Chi usa Microsoft Outlook ? pregato di non inserire il mio indirizzo e-mail nella propria rubrica: non voglio essere invaso da "virus-mail" ogni volta che viene scoperto uno dei suoi numerosissimi bug. Grazie. ----------------------------------------------------------------------------------------- Registered GNU/Linux user n?: 353242 * Uri: http://www.valerio.tk/ From na2492 at ...9... Sun Oct 10 11:46:39 2004 From: na2492 at ...9... (Charlie Reinl) Date: Sun, 10 Oct 2004 11:46:39 00200 Subject: [Gambas-user] Simple Log Viewer (Gambas Log Viewer) Message-ID: <416904ff.e75.0@...9...> > >Hi, >I have created a very simple log viewer with gambas and I need a little >help. >My first question is: as I can improve it? > >One question still remains: how can I read another log file (e.g. >error.log) ? > >Suggest me code, please :-( > >Thanks in advance, >Vale > Salut, try that, you forgot the 'IF Dialog.OpenFile() THEN RETURN' PUBLIC SUB Button3_Click() Dialog.Title = "Select a log file" Dialog.Path="/usr/local/apache2/logs/access_log" Dialog.Filter = ["*.log","*.*"] IF Dialog.OpenFile() THEN RETURN TextArea1.Text=File.Load(Dialog.Path) END Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From valerioguaglianone at ...152... Sun Oct 10 16:40:23 2004 From: valerioguaglianone at ...152... (Valerio Guaglianone) Date: Sun, 10 Oct 2004 16:40:23 +0200 Subject: [Gambas-user] Simple Log Viewer (Gambas Log Viewer) In-Reply-To: <416904ff.e75.0@...9...> References: <416904ff.e75.0@...9...> Message-ID: <200410101640.06083.valerioguaglianone@...152...> Alle 13:46, domenica 10 ottobre 2004, Charlie Reinl ha scritto: > Salut, > > try that, you forgot the 'IF Dialog.OpenFile() THEN RETURN' > > PUBLIC SUB Button3_Click() > Dialog.Title = "Select a log file" > Dialog.Path="/usr/local/apache2/logs/access_log" > Dialog.Filter = ["*.log","*.*"] > IF Dialog.OpenFile() THEN RETURN > TextArea1.Text=File.Load(Dialog.Path) > END > > Amicalement > Charlie > * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * Ok, I try this code Many thanks ;-) Vale -- Chi usa Microsoft Outlook ? pregato di non inserire il mio indirizzo e-mail nella propria rubrica: non voglio essere invaso da "virus-mail" ogni volta che viene scoperto uno dei suoi numerosissimi bug. Grazie. ----------------------------------------------------------------------------------------- Registered GNU/Linux user n?: 353242 * Uri: http://www.valerio.tk/ From gambas at ...1... Sun Oct 10 18:14:08 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 10 Oct 2004 18:14:08 +0200 Subject: [Gambas-user] Gambas app running wild In-Reply-To: <41650A67.3060503@...221...> References: <41650A67.3060503@...221...> Message-ID: <200410101814.08991.gambas@...1...> On Thursday 07 October 2004 11:20, Eilert wrote: > Hi folks, > > this morning I found that on the server suddenly system load was going > up for one CPU so I took a look what caused it. Much to my surprise I > found that it was my own KwhoList app I wrote some days ago. > > It still went on fine, so I would never have seen any mistake without > the load meters. After stopping and restarting, it's running fine again. > > If you wish to have a look into the code, you can find it in a tar under > www.eilert-sprachen.de/kwholist. > > There is screen shot as well showing how the thing works for me. The > load you see on the screenshot is from another user's app. When Gambas > was running wild, it produced a constant system CPU load of 99 % on CPU > 3 (i. e. almost everything yellow). > > Did I do anything wrong? Are there any things the program could stumble > about? > > Thanks for all your comments. > > Rolf > > This is very difficult to analyze without more information... Does the cpu load jumped suddenly ? When it happens, stop the gbx process, and attach it to gdb to see what it does. A better possibility is adding a log system in your program to know exactly which line it runs and when. This way, you will be able to give me clues to know what happened exactly. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Oct 10 19:31:20 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 10 Oct 2004 19:31:20 +0200 Subject: [Gambas-user] Re: BUG In-Reply-To: <41651256.3000100@...644...> References: <41651256.3000100@...644...> Message-ID: <200410101931.20424.gambas@...1...> On Thursday 07 October 2004 11:54, you wrote: > Hi, > > I think that I found a small bug in Format$() described below. > > I am using SuSE 9.1 with kernel 2.6.9-rc3. > > Best regards, > > Bernd Edler > > -------- > > A small test program: > > ' Gambas module file > > PUBLIC SUB Main() > > x AS Float > > x = 1.01 > WHILE x>0.99 > x = x / 1.001 > PRINT Format$(x,"0.##"),x > WEND > END > > gives the following output: > > 1.01 1.008991008991 > 1.01 1.007983025965 > 1.01 1.006976049915 > 1.01 1.005970079835 > 1 1.004965114721 > 1 1.003961153567 > 1 1.002958195372 > 1 1.001956239133 > 1 1.000955283849 > 0.1 0.99995532852 > 0.1 0.998956372148 > 0.1 0.997958413734 > 0.1 0.996961452282 > 0.1 0.995965486795 > 0.99 0.994970516279 > 0.99 0.993976539739 > 0.99 0.992983556183 > 0.99 0.991991564618 > 0.99 0.991000564054 > 0.99 0.990010553501 > 0.99 0.989021531969 Thanks for the report. I join an interpreter patch that seems to fix the bug. I send your mail to the mailing-list - other people might be interested. Regards, -- Benoit Minisini mailto:gambas at ...1... -------------- next part -------------- A non-text attachment was scrubbed... Name: gbx_local.c Type: text/x-csrc Size: 21568 bytes Desc: not available URL: From gambas at ...1... Sun Oct 10 19:56:26 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 10 Oct 2004 19:56:26 +0200 Subject: [Gambas-user] how to copy a project ? In-Reply-To: <54728e7404091912021e491cab@...627...> References: <54728e74040918233260cfe8f2@...627...> <200409191720.49904.ronstk@...239...> <54728e7404091912021e491cab@...627...> Message-ID: <200410101956.26114.gambas@...1...> On Sunday 19 September 2004 21:02, Primorec wrote: > On Sun, 19 Sep 2004 17:20:49 +0200, ron wrote: > > On Sunday 19 September 2004 08:32, Primorec wrote: > > > Hi gambas gurus > > [snip] [snip] > > > > After few clicks I am in > > > /opt/gambas/share/gambas/examples/Basic. There I highlight project > > > "Blights" and click "Next". All I get on the screen is the message > > > "Can not find this project". > > > > > > What am I doing wrong ? > > > > Despite your not the owner as root you can select it. > > That is what you do wrong, selecting not you property :) > > nope that was not the problem. In other words, I've found the root > cause for this strange behavior. So, here it goes: > > User should NOT select the project on the RIGHT side of the > file/project explorer/selector (or whatever you want to call the > selection window). User should select the project on the LEFT side of > that window and everything works flawlessly by traversing the > directory tree from "/" down to desired project and clicking on "+". > Once the user is on the right spot, he/she should highlight the > project and click on "Next". That's it. The world is bright and shiny > again. > > > Gambas can't however read it while the active user is you. > > It may not access the directory name, no right for. > > The message is strictly right but misleading in the context > > it occurs, you could select it without having th right. > > nope... see above > > > > P.S. Disclaimer: > > > > > > I am almost 100% sure I am doing something fundamentally wrong.... > > > unfortunately, I can not find out what I am doing wrong. > > > > You could change the whole gambas tree to group 'users' or > > give the whole tree read,write,execute access for everyone or > > the best one, > > make a gambas directory in you home directory and copy the > > example tree to a bambas directory in your home directory > > Re-assign the rights to user 'your_name' and group 'your_group'. > > doing this as root. to prevent conflicts. > > Nope it did not help. I've followed your advice to the letter. If I > select project on the RIGHT side of the window, IT DOES NOT work.... > but, if I select the project on the LEFT side ---> everything is OK. > In other words, DO NOT traverse the tree on the RIGHT side with double > click. > > For me, as a newbie, this is a little bit not logical and annoying. > Project selection should work on the LEFT and the RIGHT side in the > same way. Is this QT problem (aka QT widget behavior )? Could it be > fixed in gambas by calling QT widget (file selector) with different > parameters ? > I fixed the problem - Well I hope I didn't add extra bugs. You will be able to check it in the next version. Regards, -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Sun Oct 10 20:26:17 2004 From: ronstk at ...239... (ron) Date: Sun, 10 Oct 2004 20:26:17 +0200 Subject: [Gambas-user] how to copy a project ? In-Reply-To: <54728e7404091912021e491cab@...627...> References: <54728e74040918233260cfe8f2@...627...> <200409191720.49904.ronstk@...239...> <54728e7404091912021e491cab@...627...> Message-ID: <200410102026.18830.ronstk@...239...> Sorry for my late reaction. I did verify it and you was right. Forgotten to confirm the behavior, shame to me. :( Ron From igor.furlan at ...626... Sun Oct 10 22:21:39 2004 From: igor.furlan at ...626... (Primorec) Date: Sun, 10 Oct 2004 13:21:39 -0700 Subject: [Gambas-user] how to copy a project ? In-Reply-To: <200410101956.26114.gambas@...1...> References: <54728e74040918233260cfe8f2@...627...> <200409191720.49904.ronstk@...239...> <54728e7404091912021e491cab@...627...> <200410101956.26114.gambas@...1...> Message-ID: <54728e7404101013211037822@...627...> On Sun, 10 Oct 2004 19:56:26 +0200, Benoit Minisini wrote: > I fixed the problem - Well I hope I didn't add extra bugs. You will be able to > check it in the next version. > Benoit Minisini which will be out when ? Regards Igor From sdnpaolo at ...69... Mon Oct 11 14:15:17 2004 From: sdnpaolo at ...69... (Paolo Saudin) Date: Mon, 11 Oct 2004 14:15:17 +0200 Subject: [Gambas-user] Array question In-Reply-To: <200410091819.32398.ronstk@...239...> References: <000801c4ad54$5592aaf0$92631e0a@...638...> <4167AB33.9000103@...69...> <200410091819.32398.ronstk@...239...> Message-ID: <416A7955.2040001@...69...> ron wrote: >On Saturday 09 October 2004 11:11, Paolo Saudin wrote: > > >>Hi all, >>I need to use a multidimensional array ( x1[0][0] , x1[0][1] , x1[1][0] >>, x1[1][1] ... ) and at a certain time, >>I want to copy it in a bakup array in order to work with the new one >>without loose the original data. >>Here's my problem : when I copy ( x2=x1.copy() ) a single dimension >>array all it works as expected, >>but as soon as I use a multidimensional one, the original is treated as >>a "referenced" copy and get modified as well. >>Attached there is an example to demonstrate it clearer :-). Is there >>another way to deep copy two arrays? >> >>Many thanks, >>Paolo >> >> >> > >the array.copy is not an new array with a copy of the content. >It is the same but with a different name. > >arrB = arrA.copy() >arrB is the same as aarA only the name differs. > >The exact name should be .Clone() I think. >or arrB.Alias( arrA ) or arrB.Link(arrA) > >A copy is an new instance of it with the content of the source. > > > I tried but the only methods available for a Variant[] are _Add Clear Copy Insert Pop Push Remove Resize Reverse Sort _and so I couldn't manage to really get a copy of the array. In the Gambas-wiki, the copy() function is said to return a true copy of it, if I understand it correctly ?. FUNCTION Copy ( ) AS Variant[] Returns a deep copy of the array. Paolo __ >------------------------------------------------------- >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-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From ronstk at ...239... Mon Oct 11 16:22:10 2004 From: ronstk at ...239... (ron) Date: Mon, 11 Oct 2004 16:22:10 +0200 Subject: [Gambas-user] Array question In-Reply-To: <416A7955.2040001@...69...> References: <000801c4ad54$5592aaf0$92631e0a@...638...> <200410091819.32398.ronstk@...239...> <416A7955.2040001@...69...> Message-ID: <200410111622.11574.ronstk@...239...> On Monday 11 October 2004 14:15, Paolo Saudin wrote: > ron wrote: > > >On Saturday 09 October 2004 11:11, Paolo Saudin wrote: > > > > > >>Hi all, > >>I need to use a multidimensional array ( x1[0][0] , x1[0][1] , x1[1][0] > >>, x1[1][1] ... ) and at a certain time, > >>I want to copy it in a bakup array in order to work with the new one > >>without loose the original data. > >>Here's my problem : when I copy ( x2=x1.copy() ) a single dimension > >>array all it works as expected, > >>but as soon as I use a multidimensional one, the original is treated as > >>a "referenced" copy and get modified as well. > >>Attached there is an example to demonstrate it clearer :-). Is there > >>another way to deep copy two arrays? > >> > >>Many thanks, > >>Paolo > >> > >> > >> > > > >the array.copy is not an new array with a copy of the content. > >It is the same but with a different name. > > > >arrB = arrA.copy() > >arrB is the same as aarA only the name differs. > > > >The exact name should be .Clone() I think. > >or arrB.Alias( arrA ) or arrB.Link(arrA) > > > >A copy is an new instance of it with the content of the source. > > > > > > > I tried but the only methods available for a Variant[] are _Add Clear > Copy Insert Pop Push Remove Resize Reverse Sort > _and so I couldn't manage to really get a copy of the array. In the > Gambas-wiki, the copy() function is said to return a true copy of it, > if I understand it correctly ?. FUNCTION Copy ( ) AS Variant[] Returns a > deep copy of the array. > Paolo > arrB = arrA.copy() arrB is the same as arrA only the name differs. It has been already somewehre in the mail list to. Benoit had say that arrB _is_ the _same_ array as arrA. That is not a stand alone copy but have a alternate name for the same array. You want however a new array as arrB with a copy of the content of arrA. The possible way is next example: Function ArrClone(arrA as yourtype[]) as yourtype[] dim i as integer dim arrB as new yourtype[] for i=0 to arrA.count-1 arrB.add(arrA[i]) 'copy the first dimension elements 'The arrA[i] can be a array itself. next return arrB END You can use it by: arrB= ArrClone(arrA) arrA[0][3] = "arr03" arrB = ArrClone(arrA) print arrB[0][3] 'gives "arr03" arrB[0][3] = "brr30" print arrA[0][3] 'gives "arr03" print arrB[0][3] 'gives "brr30" "yourtype" should be the type you realy want. :) This is not tested code. Its an example how it could be!! From gambas at ...1... Tue Oct 12 13:41:17 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 12 Oct 2004 13:41:17 +0200 Subject: [Gambas-user] Array question In-Reply-To: <416A7955.2040001@...69...> References: <000801c4ad54$5592aaf0$92631e0a@...638...> <200410091819.32398.ronstk@...239...> <416A7955.2040001@...69...> Message-ID: <200410121341.17406.gambas@...1...> On Monday 11 October 2004 14:15, Paolo Saudin wrote: > ron wrote: > >On Saturday 09 October 2004 11:11, Paolo Saudin wrote: > >>Hi all, > >>I need to use a multidimensional array ( x1[0][0] , x1[0][1] , x1[1][0] > >>, x1[1][1] ... ) and at a certain time, > >>I want to copy it in a bakup array in order to work with the new one > >>without loose the original data. > >>Here's my problem : when I copy ( x2=x1.copy() ) a single dimension > >>array all it works as expected, > >>but as soon as I use a multidimensional one, the original is treated as > >>a "referenced" copy and get modified as well. > >>Attached there is an example to demonstrate it clearer :-). Is there > >>another way to deep copy two arrays? > >> > >>Many thanks, > >>Paolo > > > >the array.copy is not an new array with a copy of the content. > >It is the same but with a different name. > > > >arrB = arrA.copy() > >arrB is the same as aarA only the name differs. > > > >The exact name should be .Clone() I think. > >or arrB.Alias( arrA ) or arrB.Link(arrA) > > > >A copy is an new instance of it with the content of the source. > > I tried but the only methods available for a Variant[] are _Add Clear > Copy Insert Pop Push Remove Resize Reverse Sort > _and so I couldn't manage to really get a copy of the array. In the > Gambas-wiki, the copy() function is said to return a true copy of it, > if I understand it correctly ?. FUNCTION Copy ( ) AS Variant[] Returns a > deep copy of the array. > Paolo > You are right and Ron is wrong. Copy() returns a deep copy of the array. But be careful: if there is an object reference in the array, then only the reference is copied. The object is not cloned (there is no clone support in Gambas object model). Regards, -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Tue Oct 12 14:07:13 2004 From: ronstk at ...239... (ron) Date: Tue, 12 Oct 2004 14:07:13 +0200 Subject: [Gambas-user] Array question In-Reply-To: <200410121341.17406.gambas@...1...> References: <000801c4ad54$5592aaf0$92631e0a@...638...> <416A7955.2040001@...69...> <200410121341.17406.gambas@...1...> Message-ID: <200410121407.14822.ronstk@...239...> On Tuesday 12 October 2004 13:41, Benoit Minisini wrote: > On Monday 11 October 2004 14:15, Paolo Saudin wrote: > > ron wrote: > > >On Saturday 09 October 2004 11:11, Paolo Saudin wrote: > > >>Hi all, > > >>I need to use a multidimensional array ( x1[0][0] , x1[0][1] , x1[1][0] > > >>, x1[1][1] ... ) and at a certain time, > > >>I want to copy it in a bakup array in order to work with the new one > > >>without loose the original data. > > >>Here's my problem : when I copy ( x2=x1.copy() ) a single dimension > > >>array all it works as expected, > > >>but as soon as I use a multidimensional one, the original is treated as > > >>a "referenced" copy and get modified as well. > > >>Attached there is an example to demonstrate it clearer :-). Is there > > >>another way to deep copy two arrays? > > >> > > >>Many thanks, > > >>Paolo > > > > > >the array.copy is not an new array with a copy of the content. > > >It is the same but with a different name. > > > > > >arrB = arrA.copy() > > >arrB is the same as aarA only the name differs. > > > > > >The exact name should be .Clone() I think. > > >or arrB.Alias( arrA ) or arrB.Link(arrA) > > > > > >A copy is an new instance of it with the content of the source. > > > > I tried but the only methods available for a Variant[] are _Add Clear > > Copy Insert Pop Push Remove Resize Reverse Sort > > _and so I couldn't manage to really get a copy of the array. In the > > Gambas-wiki, the copy() function is said to return a true copy of it, > > if I understand it correctly ?. FUNCTION Copy ( ) AS Variant[] Returns a > > deep copy of the array. > > Paolo > > > > You are right and Ron is wrong. Copy() returns a deep copy of the array. > But be careful: if there is an object reference in the array, then only the > reference is copied. The object is not cloned (there is no clone support in > Gambas object model). > > Regards, > Sorry if I'm wrong but look to this mesage. Re: [Gambas-user] Methods Copy. From: Benoit Minisini To: gambas-user at lists.sourceforge.net Date: 2004-07-22 23:52 On Thursday 22 July 2004 23:07, Leo Barnhoorn wrote: > Hello Benoit, > > Can you tell me how the methode copy works of the Byte[] array. > > Thanks. > > Regards, > Leo. > DIM hOld AS Byte[] DIM hNew AS Byte[] hOld[0] = 1 hNew = hOld.Copy() hNew[0] = 2 PRINT hOld[0] This returns 2. If you don't make a copy, this will return 1. Regards, -- Benoit Minisini mailto:gambas at ...1... here is in hNew [0] set to 2 print is hOld [0] and returns 2 in this way hOld is changed by changing hNew So the cant be different. From gambas at ...1... Tue Oct 12 14:31:14 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 12 Oct 2004 14:31:14 +0200 Subject: [Gambas-user] Array question In-Reply-To: <200410121407.14822.ronstk@...239...> References: <000801c4ad54$5592aaf0$92631e0a@...638...> <200410121341.17406.gambas@...1...> <200410121407.14822.ronstk@...239...> Message-ID: <200410121431.14963.gambas@...1...> On Tuesday 12 October 2004 14:07, ron wrote: > Sorry if I'm wrong but look to this mesage. > > > > Re: [Gambas-user] Methods Copy. > > From: Benoit Minisini > To: gambas-user at lists.sourceforge.net > Date: 2004-07-22 23:52 > > On Thursday 22 July 2004 23:07, Leo Barnhoorn wrote: > > Hello Benoit, > > > > Can you tell me how the methode copy works of the Byte[] array. > > > > Thanks. > > > > Regards, > > Leo. > > DIM hOld AS Byte[] > DIM hNew AS Byte[] > > hOld[0] = 1 > hNew = hOld.Copy() > hNew[0] = 2 > PRINT hOld[0] > > This returns 2. If you don't make a copy, this will return 1. > > Regards, Sorry! I made a mistake in this message - I wanted to write "PRINT hNew[0]" and not "PRINT hOld[0]". But think logical: what could be the use of the Copy() method on an array object if it does not make a deep copy of the object ? Regards, -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Tue Oct 12 14:26:10 2004 From: ronstk at ...239... (ron) Date: Tue, 12 Oct 2004 14:26:10 +0200 Subject: [Gambas-user] Array question In-Reply-To: <200410121341.17406.gambas@...1...> References: <000801c4ad54$5592aaf0$92631e0a@...638...> <416A7955.2040001@...69...> <200410121341.17406.gambas@...1...> Message-ID: <200410121426.10320.ronstk@...239...> On Tuesday 12 October 2004 13:41, Benoit Minisini wrote: ----- I understand it correctly ?. FUNCTION Copy ( ) AS Variant[] Returns a > > deep copy of the array. > > Paolo > > > > You are right and Ron is wrong. Copy() returns a deep copy of the array. > But be careful: if there is an object reference in the array, then only the > reference is copied. The object is not cloned (there is no clone support in > Gambas object model). > > Regards, > Update:, While it didn't make sense to me I never used it I use the function way. I now made the code like next in a new prioject. PUBLIC SUB btnOK_Click() DIM hOld AS NEW Byte[] DIM hNew AS NEW Byte[] hold.Add(100) hold.Add(200) hold.Add(300) PRINT hOld[0] hOld[0] = 1 PRINT hOld[0] hNew = hOld.Copy() PRINT hOld[0], hNew[0] hNew[0] = 2 PRINT hOld[0], hNew[0] END and results are: 100 1 1 1 1 2 So this isn't what your previous message told to Leo. Sorry to the requestor, but I was set 'on false leg' as we say in dutch by the answer to Leo, I did refer to this messages in my first answer. From Karl.Reinl at ...9... Tue Oct 12 20:43:40 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Tue, 12 Oct 2004 20:43:40 +0200 Subject: [Gambas-user] gbXML from Karol Message-ID: <200410122043.40626.Karl.Reinl@...9...> Salut Karol, send you a project, who writes (handwriten) XMLs, In the XTableView/TV1/testXML28.xml you clsses make an misbuiled output - d:3 t:3 just before Value the ', that comes from the Text.Value who is "Row_?_1 " , but enclosed with ' Amicalement Charie -------------- next part -------------- A non-text attachment was scrubbed... Name: XTableView.tar.bz2 Type: application/x-tbz Size: 50939 bytes Desc: not available URL: From daniel.campos at ...338... Tue Oct 12 21:22:42 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Tue, 12 Oct 2004 21:22:42 +0200 Subject: [Gambas-user] gbXML from Karol In-Reply-To: <200410122043.40626.Karl.Reinl@...9...> References: <200410122043.40626.Karl.Reinl@...9...> Message-ID: <1097608962.4362.1.camel@...40...> Well this XML week at gambas! Here's the same code using XmlWriter from gb.xml.libxml: PUBLIC SUB SaveXML(sFileName AS String) DIM nI AS Integer DIM nJ AS Integer DIM iTyp AS Integer DIM sText AS String DIM FileHandler AS File DIM sSpace AS String DIM sExt AS String DIM Xml AS NEW XmlWriter sSpace = " " sExt= File.Ext(sFileName) IF sExt= "" THEN IF Right(sFileName,1)<> "." THEN sExt = ".xml" ELSE sExt = "xml" ENDIF ELSE sFileName = Replace(sFileName,File.Ext(sFileName),"") sFileName = Left(sFileName,Len(sFileName) - 1) sExt = "." & sExt ENDIF WITH ME Xml.Open (sFileName & sExt,TRUE,"UTF-8") Xml.StartElement ("xTableView",["Text",File.BaseName (sFileName)]) FOR nJ = 0 TO .Columns.Count - 1 Xml.StartElement ("Column",["ID",nJ,"Text",.Columns [nJ].Text]) nI = 0 DO WHILE nI <> .Rows.Count iTyp = .DataTypeOf(nI,nJ) Xml.StartElement ("Row", ["ID",nI,"Type",iTyp,"Text",.Rows[nI].Text]) IF iTyp <> gb.Object THEN Xml.Attribute ("Value",.Text(nI,nJ)) ELSE Xml.Attribute ("Value",SavePicture(.Picture(nI,nJ) , sFileName)) ENDIF Xml.EndElement() INC nI LOOP Xml.EndElement () NEXT Xml.EndDocument () END WITH END From lbaudio at ...172... Tue Oct 12 22:57:43 2004 From: lbaudio at ...172... (LB Audio) Date: Tue, 12 Oct 2004 17:57:43 -0300 (Hora oficial do Brasil) Subject: [Gambas-user] Please Total Time MP3 References: <200410122043.40626.Karl.Reinl@...9...> Message-ID: <416C4547.000001.00172@...645...> Hello to all. Somebody could help me with that. I need to know the total time of the audio. I am using the library gb.sdl. Thank you all. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: BackGrnd.jpg Type: image/jpeg Size: 1431 bytes Desc: not available URL: From na2492 at ...9... Tue Oct 12 23:13:25 2004 From: na2492 at ...9... (Charlie Reinl) Date: Tue, 12 Oct 2004 23:13:25 00200 Subject: [Gambas-user] gbXML from Karol Message-ID: <416c48f5.5eda.0@...9...> >Well this XML week at gambas! > >Here's the same code using XmlWriter from gb.xml.libxml: > Salut Daniel, that works fine. But have a look to the attachment, that was produced by loading to one of the TableViews the testXTV28.tvx and then saving it with your SaveXML using XmlWriter. The $ is not always changed to §. My Box is mostly english, but KDE is german. Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * -------------- next part -------------- A non-text attachment was scrubbed... Name: testXML28_1.xml Type: text/xml Size: 1382 bytes Desc: not available URL: From sniper at ...593... Wed Oct 13 15:56:14 2004 From: sniper at ...593... (Cryrulez) Date: Wed, 13 Oct 2004 15:56:14 +0200 Subject: [Gambas-user] Clean object before quit Message-ID: <004401c4b12c$67ab3f50$92631e0a@...638...> When I quit my program I receive an error about a " WARNING: XX allocation(s) non freed". I make NULL all the variables but my objects? I insert a botton in my form (for example) with the panel but I don't know how I can clean my object before quit my program so I receive not allocation feed. Some idea? -------------- next part -------------- An HTML attachment was scrubbed... URL: From daniel.campos at ...338... Wed Oct 13 22:03:09 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Wed, 13 Oct 2004 22:03:09 +0200 Subject: [Gambas-user] Clean object before quit In-Reply-To: <004401c4b12c$67ab3f50$92631e0a@...638...> References: <004401c4b12c$67ab3f50$92631e0a@...638...> Message-ID: <1097697789.3763.0.camel@...40...> >When I quit my program I receive an error about a " WARNING: XX allocation(s) non freed". I make NULL all the variables but my objects? >I insert a botton in my form (for example) with the panel but I don't know how I can clean my object before quit my program so I receive not >allocation feed. Some idea? > This is not a problem from the Gambas programmer, but from the components written in C that you're using. Could you report your example program? It is needed to debug the problem. Regards, Daniel Campos From kungfoobar at ...626... Wed Oct 13 23:08:40 2004 From: kungfoobar at ...626... (Alberto Torres) Date: Wed, 13 Oct 2004 23:08:40 +0200 Subject: [Gambas-user] Re: BUG In-Reply-To: <200410101931.20424.gambas@...1...> References: <41651256.3000100@...644...> <200410101931.20424.gambas@...1...> Message-ID: Where is the bug? I don't recognize it. Maybe it's because it should fix the number instead? -- DiThi JID: dithi at ...646... From petrok at ...18... Thu Oct 14 16:20:44 2004 From: petrok at ...18... (PeTRoK - Reinaldo =?ISO-8859-1?Q?Jos=E9?= Moreira) Date: Thu, 14 Oct 2004 11:20:44 -0300 Subject: [Gambas-user] Project with Gambas In-Reply-To: References: Message-ID: <1097763644.6417.15.camel@...562...> Hello EveryOne, My Name is Reinaldo J. (PeTRoK), And I'm a Gambas User and I really like to make a repository with all projects to share the codes and ideas and change experiences. For example, Now I'm developing a Partitioner with BashScript + Gambas and a Debian installer to do a joke with a friend... But this is a new Idea...And I really like to share Ideas with Gambas developer's... Good, have We a repository with that projects.? To share new Codes and Ideas.? Reinaldo J. From sourceforge-raindog2 at ...94... Thu Oct 14 17:25:16 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 14 Oct 2004 11:25:16 -0400 Subject: [Gambas-user] Project with Gambas In-Reply-To: <1097763644.6417.15.camel@...562...> References: <1097763644.6417.15.camel@...562...> Message-ID: <200410141125.17003.sourceforge-raindog2@...94...> On Thursday 14 October 2004 10:20, PeTRoK - Reinaldo Jos? Moreira wrote: > Good, have We a repository with that projects.? To share new > Codes and Ideas.? We really have two places for that sort of thing. The first is Gambasforge: http://gambas.magic-systems.net/ It has some weird javascript/stylesheet stuff so I don't think you could navigate it in a browser written in Gambas, though ;) The newer one, which is really just meant for discussion of code snippets and stuff, is linuxbasic: http://www.linuxbasic.net/ It is a more traditional forum type of site, but also covers hbasic and kbasic (though no one seems to be posting about those.) And mentioning your project seems to be on-topic for the gambas-user list too, just maybe not posting it if it's too big! Rob From petrok at ...18... Fri Oct 15 14:39:58 2004 From: petrok at ...18... (PeTRoK - Reinaldo =?ISO-8859-1?Q?Jos=E9?= Moreira) Date: Fri, 15 Oct 2004 09:39:58 -0300 Subject: [Gambas-user] Re: Gambas-user digest, Vol 1 #953 - 2 msgs In-Reply-To: References: Message-ID: <1097843998.2979.1.camel@...562...> Em Qui, 2004-10-14 ?s 20:29 -0700, gambas-user-request at lists.sourceforge.net escreveu: > Send Gambas-user mailing list submissions to > gambas-user at lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/gambas-user > or, via email, send a message with subject or body 'help' to > gambas-user-request at lists.sourceforge.net > > You can reach the person managing the list at > gambas-user-admin at lists.sourceforge.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Gambas-user digest..." > > > Today's Topics: > > 1. Project with Gambas (PeTRoK - Reinaldo =?ISO-8859-1?Q?Jos=E9?= Moreira) > 2. Re: Project with Gambas (Rob) > > --__--__-- > > Message: 1 > From: PeTRoK - Reinaldo =?ISO-8859-1?Q?Jos=E9?= Moreira > To: gambas-user at lists.sourceforge.net > Date: Thu, 14 Oct 2004 11:20:44 -0300 > Subject: [Gambas-user] Project with Gambas > Reply-To: gambas-user at lists.sourceforge.net > > Hello EveryOne, > > My Name is Reinaldo J. (PeTRoK), And I'm a Gambas User and I really like > to make a repository with all projects to share the codes and ideas and > change experiences. > For example, Now I'm developing a Partitioner with BashScript + Gambas > and a Debian installer to do a joke with a friend... > But this is a new Idea...And I really like to share Ideas with Gambas > developer's... > > Good, have We a repository with that projects.? To share new Codes and > Ideas.? > > > Reinaldo J. > > > > --__--__-- > > Message: 2 > From: Rob > To: gambas-user at lists.sourceforge.net > Subject: Re: [Gambas-user] Project with Gambas > Date: Thu, 14 Oct 2004 11:25:16 -0400 > Reply-To: gambas-user at lists.sourceforge.net > > On Thursday 14 October 2004 10:20, PeTRoK - Reinaldo Jos=E9 Moreira=20 > wrote: > > Good, have We a repository with that projects.? To share new > > Codes and Ideas.? > > We really have two places for that sort of thing. The first is=20 > Gambasforge: > > http://gambas.magic-systems.net/ > > It has some weird javascript/stylesheet stuff so I don't think=20 > you could navigate it in a browser written in Gambas, though ;) =20 > The newer one, which is really just meant for discussion of code=20 > snippets and stuff, is linuxbasic: > > http://www.linuxbasic.net/ > > It is a more traditional forum type of site, but also covers=20 > hbasic and kbasic (though no one seems to be posting about=20 > those.) > > And mentioning your project seems to be on-topic for the=20 > gambas-user list too, just maybe not posting it if it's too big! > > Rob > > Ok, Thank you, and sorry about my topic... From jscops at ...11... Fri Oct 15 18:48:50 2004 From: jscops at ...11... (Jack) Date: Fri, 15 Oct 2004 18:48:50 +0200 Subject: [Gambas-user] Primary key with autoincrement Message-ID: <200410151848.50838.jscops@...11...> Hello dears Gambers, when i want to create a mysql field with autoincrement attribut i use this syntax( " Ndx smallint NOT NULL auto_increment ,"& ) and mysql don't return an error. Yet, the autoincrement attribut don't work. If i write the same syntax in a console, it works correctly. any body have some idea ? Thank you very much ? ?~ Jack ~? From jscops at ...11... Fri Oct 15 19:14:06 2004 From: jscops at ...11... (Jack) Date: Fri, 15 Oct 2004 19:14:06 +0200 Subject: [Gambas-user] Primary key with autoincrement Message-ID: <200410151914.06680.jscops@...11...> Hello, I have find, The auto_increment must be write in capital letters. But it's strange. ?~ Jack ~? From gambasfr at ...11... Fri Oct 15 22:35:13 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Fri, 15 Oct 2004 22:35:13 +0200 Subject: [Gambas-user] Project with Gambas In-Reply-To: <1097763644.6417.15.camel@...562...> References: <1097763644.6417.15.camel@...562...> Message-ID: <200410152235.13394.gambasfr@...11...> Le jeudi 14 Octobre 2004 16:20, PeTRoK - Reinaldo Jos? Moreira a ?crit?: > Hello EveryOne, > > My Name is Reinaldo J. (PeTRoK), And I'm a Gambas User and I really like > to make a repository with all projects to share the codes and ideas and > change experiences. > For example, Now I'm developing a Partitioner with BashScript + Gambas > and a Debian installer to do a joke with a friend... > But this is a new Idea...And I really like to share Ideas with Gambas > developer's... > > Good, have We a repository with that projects.? To share new Codes and > Ideas.? > > > Reinaldo J. > > > > ------------------------------------------------------- > 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-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user http://gambas.magic-systems.net you can put your projects here... I'm going to add the update function in too week. Regards, Fabien Bodard From gambasfr at ...11... Fri Oct 15 22:38:11 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Fri, 15 Oct 2004 22:38:11 +0200 Subject: [Gambas-user] Project with Gambas In-Reply-To: <200410141125.17003.sourceforge-raindog2@...94...> References: <1097763644.6417.15.camel@...562...> <200410141125.17003.sourceforge-raindog2@...94...> Message-ID: <200410152238.11802.gambasfr@...11...> Le jeudi 14 Octobre 2004 17:25, Rob a ?crit?: > On Thursday 14 October 2004 10:20, PeTRoK - Reinaldo Jos? Moreira > > wrote: > > Good, have We a repository with that projects.? To share new > > Codes and Ideas.? > > We really have two places for that sort of thing. The first is > Gambasforge: > > http://gambas.magic-systems.net/ > > It has some weird javascript/stylesheet stuff so I don't think > you could navigate it in a browser the gb.browser is based on khtml... i work on it ! > written in Gambas, though ;) > The newer one, which is really just meant for discussion of code > snippets and stuff, is linuxbasic: > > http://www.linuxbasic.net/ > > It is a more traditional forum type of site, but also covers > hbasic and kbasic (though no one seems to be posting about > those.) > > And mentioning your project seems to be on-topic for the > gambas-user list too, just maybe not posting it if it's too big! > > Rob > > > > > ------------------------------------------------------- > 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-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From Karl.Reinl at ...9... Fri Oct 15 23:26:42 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 15 Oct 2004 23:26:42 +0200 Subject: [Gambas-user] project for XML from Karol Message-ID: <200410152326.43039.Karl.Reinl@...9...> Salut Karol, I tested your classes who worked fine , but not only for XML. you can also load other files, who are not respecte the XML-syntax and they are also splited into your ARRAY Clases try with the attached project with the attached file, your ARRAYs workes fine, but that is not XML. Or tell me who I am wrong !!?? Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: testxml-0.0.9.tar.gz Type: application/x-tgz Size: 13149 bytes Desc: not available URL: -------------- next part -------------- encoding='UTF-8' xTableView Text='testXTV28' Column ID='0' Text='Column_$_0' Row ID='0' Type='8' Text='Row_$_0' Value='xTV1 c=0/r=0' Row ID='1' Type='16' Text='Row_??_1i' Value='/TV1/testXTV28/Pic_1.png' Row ID='2' Type='8' Text='Row_$_1' Value='xTV1 c=0/r=1' Row ID='3' Type='8' Text='Row_$_2' Value='xTV1 c=0/r=2' Column Column ID='1' Text='Column_$_1i ' Row ID='0' Type='16' Text='Row_$_0' Value='/TV1/testXTV28/Pic_2.png' Row ID='1' Type='16' Text='Row_??_1i' Value='/TV1/testXTV28/Pic_3.png' Row ID='2' Type='16' Text='Row_$_1' Value='/TV1/testXTV28/Pic_4.png' Row ID='3' Type='16' Text='Row_$_2' Value='/TV1/testXTV28/Pic_5.png' Column Column ID='2' Text='Column_$_1' Row ID='0' Type='8' Text='Row_$_0' Value='xTV1 c=1/r=0' Row ID='1' Type='16' Text='Row_??_1i' Value='/TV1/testXTV28/Pic_6.png' Row ID='2' Type='8' Text='Row_$_1' Value='xTV1 c=1/r=1' Row ID='3' Type='8' Text='Row_$_2' Value='xTV1 c=1/r=2' Column Column ID='3' Text='Column_$_2' Row ID='0' Type='8' Text='Row_$_0' Value='xTV1 c=2/r=0' Row ID='1' Type='16' Text='Row_??_1i' Value='/TV1/testXTV28/Pic_7.png' Row ID='2' Type='8' Text='Row_$_1' Value='xTV1 c=2/r=1' Row ID='3' Type='8' Text='Row_$_2' Value='xTV1 c=2/r=2' Column xTableView From gambas at ...1... Sat Oct 16 17:10:36 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 16 Oct 2004 17:10:36 +0200 Subject: [Gambas-user] Please Total Time MP3 In-Reply-To: <416C4547.000001.00172@...645...> References: <200410122043.40626.Karl.Reinl@...9...> <416C4547.000001.00172@...645...> Message-ID: <200410161710.36320.gambas@...1...> On Tuesday 12 October 2004 22:57, LB Audio wrote: > Hello to all. > > Somebody could help me with that. > I need to know the total time of the audio. > I am using the library gb.sdl. > > Thank you all. I have the same request :-) It seems that SDL can't know the total length of an audio file. If somebody could help... -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Sat Oct 16 17:52:04 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 16 Oct 2004 11:52:04 -0400 Subject: [Gambas-user] Please Total Time MP3 In-Reply-To: <200410161710.36320.gambas@...1...> References: <200410122043.40626.Karl.Reinl@...9...> <416C4547.000001.00172@...645...> <200410161710.36320.gambas@...1...> Message-ID: <200410161152.04481.sourceforge-raindog2@...94...> On Saturday 16 October 2004 11:10, Benoit Minisini wrote: > It seems that SDL can't know the total length of an audio > file. If somebody could help... Unfortunately, accurately determining the length of an mp3 file is not so easy.... since every "frame" of the file can be a different length and a different bitrate (VBR), you have to scan the entire file to piece the track length together. This is why XMMS has wildly fluctuating track lengths when you play some songs, too. There's a Perl module to do it, so it's possible it could be implemented in pure Gambas, but I haven't tried it yet. Rob From pastrano at ...431... Sat Oct 16 18:50:01 2004 From: pastrano at ...431... (Gianni Piccini) Date: Sat, 16 Oct 2004 18:50:01 +0200 Subject: [Gambas-user] Getting text from webbrowser Message-ID: <1097945402.2153156.4171513a@...432...> Any way to get text from kde.html webbrowser? I would like to get selected text, but it could be useful for me else all text... or how I can copy selected text... From mauriziopz at ...626... Sun Oct 17 16:20:14 2004 From: mauriziopz at ...626... (Maurizio Pozzobon) Date: Sun, 17 Oct 2004 16:20:14 +0200 Subject: [Gambas-user] Problem with database examples Message-ID: hi all, I would like to start a program that use a database, since I don't know how to work with it I tried to play with the examples, but both when I tried to connect to a database gave me this error: Cannot open database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) What should I do? From sourceforge-raindog2 at ...94... Sun Oct 17 16:43:40 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 17 Oct 2004 10:43:40 -0400 Subject: [Gambas-user] Problem with database examples In-Reply-To: References: Message-ID: <200410171043.40760.sourceforge-raindog2@...94...> On Sunday 17 October 2004 10:20, Maurizio Pozzobon wrote: > Cannot open database: Can't connect to local MySQL server > through socket '/var/lib/mysql/mysql.sock' (2) > What should I do? You should verify (using the "mysql" command line program) that you can connect to the database in the first place. That way you'll be able to tell whether it's a problem with the gb.db component, or just a problem with how you have the database set up. Rob From mdumm at ...647... Sun Oct 17 18:02:45 2004 From: mdumm at ...647... (Maurice Dumais) Date: Sun, 17 Oct 2004 12:02:45 -0400 Subject: [Gambas-user] Re: Writing data in a gridview control Message-ID: <417297A5.3090907@...647...> Further to a post from Francesco in early september re the above subject I found a workaround to the last column and last row Settings. Suppose the gridview is named "gv", it could go as follows: gv.Columns.Count=6 gv.Rows.Count=10 'Grid cells settings gv.Columns.Width=50 gv.Rows.Height=30 The above leaves the last column and the last row unaffected. I then specifically set the last column and the last row like this: gv.Columns[5].Width=50 gv.Rows[9].Height=30 It works for me. Maurice From gambas at ...1... Sun Oct 17 19:44:42 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 17 Oct 2004 19:44:42 +0200 Subject: [Gambas-user] Re: Writing data in a gridview control In-Reply-To: <417297A5.3090907@...647...> References: <417297A5.3090907@...647...> Message-ID: <200410171944.42292.gambas@...1...> On Sunday 17 October 2004 18:02, Maurice Dumais wrote: > Further to a post from Francesco in early september re the above subject > I found a workaround to the last column and last row Settings. > Suppose the gridview is named "gv", it could go as follows: > > gv.Columns.Count=6 > gv.Rows.Count=10 > > 'Grid cells settings > gv.Columns.Width=50 > gv.Rows.Height=30 > > The above leaves the last column and the last row unaffected. > I then specifically set the last column and the last row like this: > > gv.Columns[5].Width=50 > gv.Rows[9].Height=30 > > It works for me. > > Maurice > > I don't have this behaviour on my system... Which version of gambas and which version of qt do you use ? -- Benoit Minisini mailto:gambas at ...1... From schumacher-k at ...20... Tue Oct 19 19:45:42 2004 From: schumacher-k at ...20... (Klaus Schumacher) Date: Tue, 19 Oct 2004 19:45:42 +0200 Subject: [Gambas-user] net component Message-ID: <417552C6.8050403@...20...> Hi, I wanted to go to gambas 0.99 but it doesn't compile with the net component (which I've never used before). I've added the error messages from the make (the configure runs without problems). Has anybody any idea ?? Klaus With the curl version from SuSe 8.2 (curl 7.10.2) ------------------------------------------------- > make[5]: Entering directory `/home/klaus/gambas-0.99/src/lib/net/curl' > /bin/sh ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/curl/ -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -c gbcurl.c > gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/curl/ -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -c gbcurl.c -fPIC -DPIC -o gbcurl.lo > gbcurl.c:44:2: warning: #warning ####################################################################### > gbcurl.c:45:2: warning: #warning COMPILING WITHOUT AUTHENTICATION SUPPORT - YOU MUST USE LIBCURL>=7.10.6 > gbcurl.c:46:2: warning: #warning ####################################################################### > /bin/sh ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/curl/ -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -c main.c > gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/curl/ -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -c main.c -fPIC -DPIC -o main.lo > /bin/sh ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/curl/ -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -c CCurl.c > gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/curl/ -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -c CCurl.c -fPIC -DPIC -o CCurl.lo > CCurl.c: In function `CCURL_stream_lof': > CCurl.c:86: error: `CURLINFO_PRIVATE' undeclared (first use in this function) > CCurl.c:86: error: (Each undeclared identifier is reported only once > CCurl.c:86: error: for each function it appears in.) > CCurl.c:86: warning: passing arg 1 of `curl_easy_getinfo' makes pointer from integer without a cast > CCurl.c: In function `CCURL_stream_eof': > CCurl.c:97: error: `CURLINFO_PRIVATE' undeclared (first use in this function) > CCurl.c:97: warning: passing arg 1 of `curl_easy_getinfo' makes pointer from integer without a cast > CCurl.c: In function `CCURL_stream_read': > CCurl.c:108: error: `CURLINFO_PRIVATE' undeclared (first use in this function) > CCurl.c:108: warning: passing arg 1 of `curl_easy_getinfo' makes pointer from integer without a cast > CCurl.c: In function `CCURL_Manage_ErrCode': > CCurl.c:170: warning: passing arg 1 of `fclose' from incompatible pointer type > CCurl.c: In function `CCURL_stop': > CCurl.c:195: warning: passing arg 1 of `fclose' from incompatible pointer type > CCurl.c: In function `CCURL_post_curl': > CCurl.c:239: error: `CURLINFO_PRIVATE' undeclared (first use in this function) > CCurl.c: In function `CCURL_new': > CCurl.c:381: warning: assignment from incompatible pointer type > CCurl.c: In function `CCURL_free': > CCurl.c:390: warning: passing arg 1 of `fclose' from incompatible pointer type > make[5]: *** [CCurl.lo] Fehler 1 > make[5]: Leaving directory `/home/klaus/gambas-0.99/src/lib/net/curl' > make[4]: *** [all-recursive] Fehler 1 > make[4]: Leaving directory `/home/klaus/gambas-0.99/src/lib/net' > make[3]: *** [all-recursive] Fehler 1 > make[3]: Leaving directory `/home/klaus/gambas-0.99/src/lib' > make[2]: *** [all-recursive] Fehler 1 > make[2]: Leaving directory `/home/klaus/gambas-0.99/src' > make[1]: *** [all-recursive] Fehler 1 > make[1]: Leaving directory `/home/klaus/gambas-0.99' > make: *** [all-recursive-am] Fehler 2 With a newer curl version I've downloaded (curl-7.11.2-2suse82.i686.rpm) ------------------------------------------------------------------------ > gcc -shared gbcurl.lo main.lo CCurl.lo CHttpClient.lo CFtpClient.lo CNet.lo CProxy.lo -lc -L/usr/lib /usr/lib/libcurl.so -lssl -lcrypto -ldl -lz -lcares -Wl,-soname -Wl,lib.gb.net.curl.so.0 -o .libs/lib.gb.net.curl.so.0.0.0 > /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../../i486-suse-linux/bin/ld: cannot find -lcares > collect2: ld returned 1 exit status > make[5]: *** [lib.gb.net.curl.la] Fehler 1 > make[5]: Leaving directory `/home/klaus/gambas-0.99/src/lib/net/curl' > make[4]: *** [all-recursive] Fehler 1 > make[4]: Leaving directory `/home/klaus/gambas-0.99/src/lib/net' > make[3]: *** [all-recursive] Fehler 1 > make[3]: Leaving directory `/home/klaus/gambas-0.99/src/lib' > make[2]: *** [all-recursive] Fehler 1 > make[2]: Leaving directory `/home/klaus/gambas-0.99/src' > make[1]: *** [all-recursive] Fehler 1 > make[1]: Leaving directory `/home/klaus/gambas-0.99' > make: *** [all-recursive-am] Fehler 2 From ronstk at ...239... Tue Oct 19 20:48:26 2004 From: ronstk at ...239... (ron) Date: Tue, 19 Oct 2004 20:48:26 +0200 Subject: [Gambas-user] net component In-Reply-To: <417552C6.8050403@...20...> References: <417552C6.8050403@...20...> Message-ID: <200410192048.28274.ronstk@...239...> On Tuesday 19 October 2004 19:45, Klaus Schumacher wrote: > Hi, > I wanted to go to gambas 0.99 but it doesn't compile with the net > component (which I've never used before). > I've added the error messages from the make (the configure runs without > problems). > > > Has anybody any idea ?? > > Klaus > > Well you have now the same problem as I had. I could fix it the following way. If you can compile gambas in your computer, it is sure you can also compile libcurl, download the source package from http:/curl.haxx.se, and build it as usual: I have now 7.11.0 unpack it and do: ./configure --prefix=/usr/local make make install I did it this way and was working with suse8.2 Don't forget the to use '--prefix=/usr/local' else Yast will give problems to reach the udate information.!!! It did not work after try the first time. New programs sing it wil use the new alternative in '/usr/local' instead then '/usr' path When you type 'curl-config --version' then you get the installed version curl-config gives automaticly the command's you can use. # curl-config --version 7.x.x # xslt-config --prefix /usr/local # curl-config --libs -L/usr/lib -lcurl (and more) # curl-config --cflags -I/usr/local/include/ (something like this) From danielcampos at ...282... Tue Oct 19 20:51:07 2004 From: danielcampos at ...282... (Daniel Campos) Date: Tue, 19 Oct 2004 20:51:07 +0200 Subject: [Gambas-user] net component In-Reply-To: <417552C6.8050403@...20...> References: <417552C6.8050403@...20...> Message-ID: <1098211867.5249.7.camel@...40...> Could you execute "curl-config --libs" and tell me the result? My configuration does not use libcares! (And I don't know what is libcares:-). However you could try to install libcares, or if you can not find it (I didn't), read the compilation document from libcurl, there must be an option to compile libcurl without that dependency. Hey! latest news: libcares seems to give some kind of Netware support to libcurl : http://curl.planetmirror.com/docs/install.html Finally, you can edit by hand current makefile placed at {gambas sources}/src/lib/net/curl, search for that flag (-lcares) and erase it, may be it can work. Regards, D. Campos From schumacher-k at ...20... Wed Oct 20 22:08:48 2004 From: schumacher-k at ...20... (Klaus Schumacher) Date: Wed, 20 Oct 2004 22:08:48 +0200 Subject: [Gambas-user] Re: net component Message-ID: <4176C5D0.4050006@...20...> Hi Ron, hi Daniel, thank you for your quick help. I followed Ron's advise. The bin-file I have loaded first (curl-7.11.2-2suse82.i686.rpm) needs the "-lcares" and so I have loaded now the source, compiled it and it works. Thanks again Klaus From ronstk at ...239... Wed Oct 20 22:43:50 2004 From: ronstk at ...239... (ron) Date: Wed, 20 Oct 2004 22:43:50 +0200 Subject: [Gambas-user] Re: net component In-Reply-To: <4176C5D0.4050006@...20...> References: <4176C5D0.4050006@...20...> Message-ID: <200410202243.51201.ronstk@...239...> On Wednesday 20 October 2004 22:08, Klaus Schumacher wrote: > Hi Ron, hi Daniel, > thank you for your quick help. I followed Ron's advise. The bin-file I > have loaded first (curl-7.11.2-2suse82.i686.rpm) needs the "-lcares" > and so I have loaded now the source, compiled it and it works. > > Thanks again > Klaus > > > > > > ------------------------------------------------------- > 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-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Nice I was able to help check to be sure '/usr/bin/curl-config --version' returns 7.10.2 As told in previous post I had problems Yast wasn't working wel with other version. It is hardcoded in the curl-config file. Ron From roberto.premoli at ...422... Thu Oct 21 10:56:52 2004 From: roberto.premoli at ...422... (Premoli, Roberto [ITPPG/1010]) Date: Thu, 21 Oct 2004 03:56:52 -0500 Subject: [Gambas-user] OT: anyone using debian on powermac 9660/200? I need help Message-ID: <1363E3EDDF9E9D44B9F2AD0F8EB20710012D14B6@...423...> From mgcesar at ...43... Thu Oct 21 12:49:56 2004 From: mgcesar at ...43... (Maria Graciela Cesar) Date: Thu, 21 Oct 2004 03:49:56 -0700 (PDT) Subject: [Gambas-user] how cut a line in editor? Message-ID: <20041021104956.37853.qmail@...648...> Hi everybody. I have been using gambas for a while and I steel can find the way to do the next: I wanna write a sentence in several lines. In visual basic you can use the conectors _ and &. So you write a long line in several lines. I dont know if you can do this in gambas (and if it's a stupid question) Thanks __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail From kungfoobar at ...626... Thu Oct 21 22:04:35 2004 From: kungfoobar at ...626... (Alberto Torres) Date: Thu, 21 Oct 2004 22:04:35 +0200 Subject: [Gambas-user] how cut a line in editor? In-Reply-To: <20041021104956.37853.qmail@...648...> References: <20041021104956.37853.qmail@...648...> Message-ID: As far as I know, you can do that if you finish the line with certain reserved words or commas... IF onething AND anotherthing THEN do_that(one, two, three, four) END IF -- DiThi JID: dithi at ...646... From michael at ...558... Fri Oct 22 05:11:56 2004 From: michael at ...558... (Michael Sullivan) Date: Thu, 21 Oct 2004 22:11:56 -0500 Subject: [Gambas-user] Question about obtaining Gambas Message-ID: <1098414716.4447.26.camel@...559...> I just recently upgraded to Fedora Core 2 and I wanted Gambas installed in rpm form so that maybe the rpms I generated from my Gambas projects would install correctly. The Gambas download page says that Gambas can be easily installed through the Synaptic package manager. I spent most of today installing everything possible listed in the Synaptic package manager, but Gambas was not one of the packages available for installation. Is there something more I have to do the get Gambas? Please help. I know I can install it from source, but I want the RPMs... From girardhenri at ...67... Fri Oct 22 08:21:04 2004 From: girardhenri at ...67... (Henri Girard) Date: Fri, 22 Oct 2004 08:21:04 +0200 Subject: [Gambas-user] Question about obtaining Gambas References: <1098414716.4447.26.camel@...559...> Message-ID: Hi :) If you want the rpm you will have a very old version (92 i think) and still if you get it with www.opencarpet (at the moment i have a problem with open carpet) because the server which porvides it actually is not a fedora server ! Up to now i only found that version... But the compiling is much better than the rpm version in my opinion...I always do it myself :) i use rpm only when i can't compile a programm... kind regards Henri ----- Original Message ----- From: "Michael Sullivan" To: Sent: Friday, October 22, 2004 5:11 AM Subject: [Gambas-user] Question about obtaining Gambas > I just recently upgraded to Fedora Core 2 and I wanted Gambas installed > in rpm form so that maybe the rpms I generated from my Gambas projects > would install correctly. The Gambas download page says that Gambas can > be easily installed through the Synaptic package manager. I spent most > of today installing everything possible listed in the Synaptic package > manager, but Gambas was not one of the packages available for > installation. Is there something more I have to do the get Gambas? > Please help. I know I can install it from source, but I want the > RPMs... > > > > ------------------------------------------------------- > 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-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From budi at ...415... Fri Oct 22 10:44:04 2004 From: budi at ...415... (BUDI ARIEF GUSANDI) Date: Fri, 22 Oct 2004 15:44:04 +0700 Subject: [Gambas-user] GAMBAS 1.0 In-Reply-To: References: <1098414716.4447.26.camel@...559...> Message-ID: <18557969.20041022154404@...415...> Hi Benoit, When will 1.0 released ? Are there lot of things to fix or waiting for some new features ? seems, the 0.9x was very fast in releaseing, but stuck before 1.0 now. Regards, Budi -------------- next part -------------- An HTML attachment was scrubbed... URL: From mj at ...621... Fri Oct 22 12:37:26 2004 From: mj at ...621... (MJ) Date: Fri, 22 Oct 2004 08:37:26 -0200 Subject: [Gambas-user] impression Message-ID: <002701c4b823$1f77d650$e80aa8c0@...649...> is it possible to order direct impression for printer as the vb? Open "Lpt1" For Output As #1 Print #1, "...Gambas..." Close #1 Obrigado, MJ. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sourceforge-raindog2 at ...94... Fri Oct 22 14:12:36 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 22 Oct 2004 08:12:36 -0400 Subject: [Gambas-user] impression In-Reply-To: <002701c4b823$1f77d650$e80aa8c0@...649...> References: <002701c4b823$1f77d650$e80aa8c0@...649...> Message-ID: <200410220812.36450.sourceforge-raindog2@...94...> On Friday 22 October 2004 06:37, MJ wrote: > is it possible to order direct impression for printer as the > vb? > Open "Lpt1" For Output As #1 Sure, but in Linux the printer port is /dev/lp0 and Gambas uses File objects, not numeric constants, for its file handles. Rob From daniel.campos at ...338... Fri Oct 22 14:56:34 2004 From: daniel.campos at ...338... (daniel.campos at ...338...) Date: Fri, 22 Oct 2004 14:56:34 +0200 Subject: [Gambas-user] how cut a line in editor? In-Reply-To: <20041021104956.37853.qmail@...648...> Message-ID: <41073AF300011F8D@...650...> No way to do it (by now). Regards, D. Campos >-- Mensaje Original -- >From: Maria Graciela Cesar >To: gambas-user at lists.sourceforge.net >Subject: [Gambas-user] how cut a line in editor? >Reply-To: gambas-user at lists.sourceforge.net >Date: Thu, 21 Oct 2004 03:49:56 -0700 (PDT) > > >Hi everybody. I have been using gambas for a while and I steel can find the way to do the next: I wanna write a sentence in several lines. In visual basic you can use the conectors _ and &. So you write a long line in several lines. I dont know if >ou can do this in gambas (and if it's a stupid question) Thanks __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail ------------------------ >------------------------------ 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 >ore http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user 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 karl.reinl at ...9... Fri Oct 22 18:59:00 2004 From: karl.reinl at ...9... (Charlie) Date: Fri, 22 Oct 2004 18:59:00 +0200 Subject: [Gambas-user] how cut a line in editor? References: <41073AF300011F8D@...650...> Message-ID: <41793C54.30801@...9...> daniel.campos at ...338... schrieb: >No way to do it (by now). > >Regards, > >D. Campos > >Salut Daniel, > > > >no you are wrong, and the attached code shows that Alberto is right. > > > >PUBLIC SUB btnOK_Click() >PRINT ">" & >TextLabel1.Text & >"<" >IF TextLabel1.Text <> >"I try it " THEN > TextLabel1.Text = > "I " & > "try " & > "it " >ELSE > TextLabel1.Text = > "It " & > "works " & > "fine " >ENDIF >END > >This code works, but if you place a breakpoint at '"works " & ' you never will reach it. >And it will be horrible to debug code like that, because the compiler has made >one line of that, but you don't see it. > >So I'm not shure if it is a bug or a feature ?? ( or where is what a bug / feature ) > >Amicalement >Charlie > > -------------- next part -------------- A non-text attachment was scrubbed... Name: ShowModalTest-0.0.1.tar.gz Type: application/x-tar Size: 866 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: eNew10.jpg Type: image/jpeg Size: 32467 bytes Desc: not available URL: From picander78 at ...325... Fri Oct 22 21:11:45 2004 From: picander78 at ...325... (Marco Gusy) Date: Fri, 22 Oct 2004 21:11:45 +0200 Subject: [Gambas-user] Examples Message-ID: <200410222111.45830.picander78@...325...> I think the better/faster way to learn a language is to read what others have done. I would like to see gambas in action with a large project, does anybody have something to show me? (do you remember the Northwind app shipped as example on msaccess?... something like that!) Thanks Marco Gusy From grahame at ...457... Fri Oct 22 22:12:16 2004 From: grahame at ...457... (Grahame White) Date: Fri, 22 Oct 2004 21:12:16 +0100 Subject: [Gambas-user] Examples In-Reply-To: <200410222111.45830.picander78@...325...> References: <200410222111.45830.picander78@...325...> Message-ID: <200410222112.16427.grahame@...457...> On Friday 22 October 2004 20:11, Marco Gusy wrote: > I think the better/faster way to learn a language is to read what others > have done. > I would like to see gambas in action with a large project, does anybody > have something to show me? > (do you remember the Northwind app shipped as example on msaccess?... > something like that!) Well there's always the gambas ide :) Grahame From karl.reinl at ...9... Fri Oct 22 22:20:41 2004 From: karl.reinl at ...9... (Charlie) Date: Fri, 22 Oct 2004 22:20:41 +0200 Subject: [Gambas-user] Examples References: <200410222111.45830.picander78@...325...> Message-ID: <41796B99.1080106@...9...> Marco Gusy schrieb: Salut, >I think the better/faster way to learn a language is to read what others have >done. > I think, you are wrong. I think it is easier to read and use code, others have written. But you have to understand, what and why it is done like this. >I would like to see gambas in action with a large project, does anybody have >something to show me? > The IDE comes with a lot of examples, if you search your gambas help directory ( or the wiki ) you can find them also. >(do you remember the Northwind app shipped as example on msaccess?... >something like that!) > On the list, you find them also. > >Thanks > >Marco Gusy > > Amicalement Charlie From picander78 at ...325... Sat Oct 23 02:09:53 2004 From: picander78 at ...325... (Marco Gusy) Date: Sat, 23 Oct 2004 02:09:53 +0200 Subject: [Gambas-user] Examples In-Reply-To: <41796B99.1080106@...9...> References: <200410222111.45830.picander78@...325...> <41796B99.1080106@...9...> Message-ID: <200410230209.53111.picander78@...325...> Alle 22:20, venerd? 22 ottobre 2004, Charlie ha scritto: > I think, you are wrong. > I think it is easier to read and use code, others have written. > But you have to understand, what and why it is done like this. Of course i'm not talking about simple copy & paste. A rapid look to code example helped me much (just to learn the spirit and the triks of the syntax). The docs are always fundamental for learners. > >I would like to see gambas in action with a large project, does anybody > > have something to show me? > > The IDE comes with a lot of examples, if you search your gambas help > directory ( or the wiki ) > you can find them also. > (...) > On the list, you find them also. Yes... but nothing with more than two forms (or maybe i'm missing something). A project with many forms (like managerial databases) have to be well structured and organized; im not talking only about code, but graphics. The Gambas ide is great for its purpose, but I think not all kinds of projects can be rendered with that ammount of windows. I often created projects with a mdiform, childrens and modal dialogs in Visual Basic. I know there is the WorkSpace object, but i read somewhere it's not much recommended. Thanks again! Marco! From grahame at ...457... Sat Oct 23 06:21:18 2004 From: grahame at ...457... (Grahame White) Date: Sat, 23 Oct 2004 05:21:18 +0100 Subject: [Gambas-user] Examples In-Reply-To: <200410230209.53111.picander78@...325...> References: <200410222111.45830.picander78@...325...> <41796B99.1080106@...9...> <200410230209.53111.picander78@...325...> Message-ID: <200410230521.18654.grahame@...457...> > Yes... but nothing with more than two forms (or maybe i'm missing > something). A project with many forms (like managerial databases) have > to be well structured and organized; im not talking only about code, but > graphics. The Gambas ide is great for its purpose, but I think not all > kinds of projects can be rendered with that ammount of windows. > I often created projects with a mdiform, childrens and modal dialogs in > Visual Basic. I know there is the WorkSpace object, but i read somewhere > it's not much recommended. > > Thanks again! > > Marco! As I said before take a look at the gambas ide. It is, I would guess, about the most complex and complete project about at the moment. Grahame From daniel.campos at ...338... Sat Oct 23 11:04:15 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Sat, 23 Oct 2004 11:04:15 +0200 Subject: [Gambas-user] how cut a line in editor? In-Reply-To: <41793C54.30801@...9...> References: <41073AF300011F8D@...650...> <41793C54.30801@...9...> Message-ID: <1098522255.3113.26.camel@...40...> OK, I give in:-)) However, Is it an undocumented feature? Or a "good bug" in the code parser? Or may be I didn't read any part of the documentation? Beno?t? Regards, D. Campos From kungfoobar at ...626... Sat Oct 23 23:49:02 2004 From: kungfoobar at ...626... (Alberto Torres) Date: Sat, 23 Oct 2004 23:49:02 +0200 Subject: [Gambas-user] impression In-Reply-To: <200410220812.36450.sourceforge-raindog2@...94...> References: <002701c4b823$1f77d650$e80aa8c0@...649...> <200410220812.36450.sourceforge-raindog2@...94...> Message-ID: Draw in the printer object On Fri, 22 Oct 2004 08:12:36 -0400, Rob wrote: > On Friday 22 October 2004 06:37, MJ wrote: > > is it possible to order direct impression for printer as the > > vb? > > Open "Lpt1" For Output As #1 > > Sure, but in Linux the printer port is /dev/lp0 and Gambas uses > File objects, not numeric constants, for its file handles. > > Rob > > ------------------------------------------------------- > 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-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- DiThi JID: dithi at ...646... From kungfoobar at ...626... Sat Oct 23 23:56:26 2004 From: kungfoobar at ...626... (Alberto Torres) Date: Sat, 23 Oct 2004 23:56:26 +0200 Subject: [Gambas-user] impression In-Reply-To: References: <002701c4b823$1f77d650$e80aa8c0@...649...> <200410220812.36450.sourceforge-raindog2@...94...> Message-ID: Also you can use the paralell port control (it is in gb.net component) if you want parallel port for other uses than printing. On Sat, 23 Oct 2004 23:49:02 +0200, Alberto Torres wrote: > Draw in the printer object > > On Fri, 22 Oct 2004 08:12:36 -0400, Rob wrote: > > On Friday 22 October 2004 06:37, MJ wrote: > > > is it possible to order direct impression for printer as the > > > vb? > > > Open "Lpt1" For Output As #1 > > > > Sure, but in Linux the printer port is /dev/lp0 and Gambas uses > > File objects, not numeric constants, for its file handles. > > > > Rob From sourceforge-raindog2 at ...94... Sun Oct 24 06:54:14 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 24 Oct 2004 00:54:14 -0400 Subject: [Gambas-user] impression In-Reply-To: References: <002701c4b823$1f77d650$e80aa8c0@...649...> <200410220812.36450.sourceforge-raindog2@...94...> Message-ID: <200410240054.14795.sourceforge-raindog2@...94...> On Saturday 23 October 2004 17:49, Alberto Torres wrote: > Draw in the printer object He asked for a way to write to the printer port directly; this is not possible via the Printer object. Rob From daniel.campos at ...338... Sun Oct 24 10:20:11 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Sun, 24 Oct 2004 10:20:11 +0200 Subject: [Gambas-user] impression In-Reply-To: References: <002701c4b823$1f77d650$e80aa8c0@...649...> <200410220812.36450.sourceforge-raindog2@...94...> Message-ID: <1098606011.3498.6.camel@...40...> Hi: No! the net component has a serial port class but not a parallel port class! However, to print directly to the printer, you can also use "lpr". The versions that comes with CUPS, and I think with Foomatic too, acceps the flag "-l" with means "raw print", that is, all is sent directly to the printer. Imagine you want to print a ticket, then order the printer to cut the paper and then open the cash drawer. You should create 3 jobs for the printer: the first is printed as usual using just "lpr file", the rest of jobs would be sent using "lpr -l file.command.cut" and "lpr -l file.command.opencashdrawer" (of course you have to know the protocol of the printer to do that... Regards, D. Campos From na2492 at ...9... Sun Oct 24 21:17:21 2004 From: na2492 at ...9... (Charlie Reinl) Date: Sun, 24 Oct 2004 21:17:21 00200 Subject: [Gambas-user] Examples Message-ID: <417bffc1.58c2.0@...9...> >Alle 22:20, venerd? 22 ottobre 2004, Charlie ha scritto: > >> I think, you are wrong. >> I think it is easier to read and use code, others have written. >> But you have to understand, what and why it is done like this. >Of course i'm not talking about simple copy & paste. >A rapid look to code example helped me much (just to learn the spirit and the >triks of the syntax). The docs are always fundamental for learners. > Salut, I said like you understand it , and I mean it like that, but there is nothing bad on it. But you have to understand the code you are coping, if not you will run into troubles if you want expanding the code And don't forget the gambas-IDE. Amicalent Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From budi at ...415... Mon Oct 25 06:20:44 2004 From: budi at ...415... (budi at ...415...) Date: Mon, 25 Oct 2004 11:20:44 +0700 Subject: [Gambas-user] how cut a line in editor? In-Reply-To: <41073AF300011F8D@...650...> References: <41073AF300011F8D@...650...> Message-ID: <1098678044.417c7f1c9ba13@...416...> Well i never try this before, just out of my mind... To cut a line try to get chr(13) or newline from the cursor position...and select it from the cursor pos until chr(13) and replace it with blank..may it help ? Regards, Budi Quoting daniel.campos at ...338...: > No way to do it (by now). > > Regards, > > D. Campos > > > >-- Mensaje Original -- > >From: Maria Graciela Cesar > >To: gambas-user at lists.sourceforge.net > >Subject: [Gambas-user] how cut a line in editor? > >Reply-To: gambas-user at lists.sourceforge.net > >Date: Thu, 21 Oct 2004 03:49:56 -0700 (PDT) > > > > > >Hi everybody. I have been using gambas for a while and I steel can > find the way to do the next: I wanna write a sentence in several > lines. In visual basic you can use the conectors _ and &. So you > write a long line in several lines. I dont know if > >ou can do this > in gambas (and if it's a stupid question) > Thanks > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail Address AutoComplete - You start. We finish. > http://promotions.yahoo.com/new_mail > > > ------------------------ > >------------------------------ > 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 > >ore > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > 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 > > > > > > ------------------------------------------------------- > 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-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From budi at ...415... Mon Oct 25 06:30:45 2004 From: budi at ...415... (budi at ...415...) Date: Mon, 25 Oct 2004 11:30:45 +0700 Subject: [Gambas-user] Re: HERE Examples In-Reply-To: <200410222112.16427.grahame@...457...> References: <200410222111.45830.picander78@...325...> <200410222112.16427.grahame@...457...> Message-ID: <1098678645.417c817579cf4@...416...> The biggest project sample are Gambas IDE and Gambas Database Manager ;) Budi Quoting Grahame White : > On Friday 22 October 2004 20:11, Marco Gusy wrote: > > I think the better/faster way to learn a language is to read what others > > have done. > > I would like to see gambas in action with a large project, does anybody > > have something to show me? > > (do you remember the Northwind app shipped as example on msaccess?... > > something like that!) > > Well there's always the gambas ide :) > > Grahame > > > ------------------------------------------------------- > 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-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Mon Oct 25 16:12:41 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 25 Oct 2004 16:12:41 +0200 Subject: [Gambas-user] test #1 Message-ID: <200410251612.41403.gambas@...1...> -- Benoit Minisini mailto:gambas at ...1... From benoit.minisini at ...2... Mon Oct 25 16:18:51 2004 From: benoit.minisini at ...2... (=?iso-8859-15?q?Beno=EEt_Minisini?=) Date: Mon, 25 Oct 2004 16:18:51 +0200 Subject: [Gambas-user] test #2 Message-ID: <200410251618.51631.benoit.minisini@...2...> -- Beno?t Minisini mailto:benoit.minisini at ...2... From gambas at ...1... Mon Oct 25 16:20:25 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 25 Oct 2004 16:20:25 +0200 Subject: [Gambas-user] test #3 Message-ID: <200410251620.25759.gambas@...1...> -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Oct 24 15:36:15 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 24 Oct 2004 15:36:15 +0200 Subject: [Gambas-user] how cut a line in editor? In-Reply-To: <1098522255.3113.26.camel@...40...> References: <41073AF300011F8D@...650...> <41793C54.30801@...9...> <1098522255.3113.26.camel@...40...> Message-ID: <200410241536.15491.gambas@...1...> On Saturday 23 October 2004 11:04, Daniel Campos wrote: > OK, I give in:-)) > > However, Is it an undocumented feature? Or a "good bug" in the code > parser? Or may be I didn't read any part of the documentation? Beno?t? > > > Regards, > > D. Campos > The compiler ignores new lines when looking for the second operand of an operator. Maybe a slash at the end of a line works too, I don't remember :-) I didn't really documented it, because, as Charlie noticed, this leads to some problems with the IDE. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Oct 24 16:15:42 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 24 Oct 2004 16:15:42 +0200 Subject: [Gambas-user] GAMBAS 1.0 In-Reply-To: <18557969.20041022154404@...415...> References: <1098414716.4447.26.camel@...559...> <18557969.20041022154404@...415...> Message-ID: <200410241615.42705.gambas@...1...> On Friday 22 October 2004 10:44, BUDI ARIEF GUSANDI wrote: > Hi Benoit, > > When will 1.0 released ? Are there lot of things to fix or waiting for some > new features ? seems, the 0.9x was very fast in releaseing, but stuck > before 1.0 now. > > Regards, > Budi The reason is my acting studies! I am on my computer one day a week. Sorry for this inconvenience, but maybe if I didn't like acting, I never developed gambas ;-) The 1.0RC1 will be out soon. Regards, -- Benoit Minisini mailto:gambas at ...1... From radoslav.dejanovic at ...116... Mon Oct 25 16:39:19 2004 From: radoslav.dejanovic at ...116... (Radoslav =?iso-8859-2?q?Dejanovi=E6?=) Date: Mon, 25 Oct 2004 16:39:19 +0200 Subject: [Gambas-user] GAMBAS 1.0 In-Reply-To: <200410241615.42705.gambas@...1...> References: <1098414716.4447.26.camel@...559...> <18557969.20041022154404@...415...> <200410241615.42705.gambas@...1...> Message-ID: <200410251639.19552.radoslav.dejanovic@...116...> On Sunday 24 October 2004 16:15, Benoit Minisini wrote: > The reason is my acting studies! I am on my computer one day a week. Heh, you gave me a twitch... when I saw your name right next to "Gambas 1.0" subject... and now you're telling us that we still have to wait... please, don't do that. :)) -- Radoslav Dejanovi? Operacijski sustavi d.o.o. http://www.opsus.hr From gambas at ...1... Mon Oct 25 18:56:12 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 25 Oct 2004 18:56:12 +0200 Subject: [Gambas-user] gambas 1.0 RC1 Message-ID: <200410251856.12779.gambas@...1...> Hi, After a long period of learning acting ;-) here is the first release candidate of gambas 1.0! http://gambas.sourceforge.net/gambas-0.99.RC1.tar.bz2 The package is named 0.99.RC1, because the 1.0 version number is always greater than any 0.99.* I included mainly bug fixes since 0.99, and the libxml component of Daniel Campos (in beta version). Try to test this version so that the final 1.0 version is as good as possible. Some bug fixes may create last minute problems - I hope I avoided as much as possible, but I remember all the X.YY.a versions :-) I will only fix bug for the 1.0, and every new feature will go into the 1.1 version. Note that I will follow the same naming scheme than the Linux kernel: odd numbers for unstable versions and even numbers for stable ones. I will create a 1.1 package soon, with all features not included yet: the Rob Kudla's Regular expressions component, or the Eduard Buller's KDE-like icons... and so on. There are translations that are not up to date. I'd like to know if the registered translators will finish their jobs or not. The documentation is not completely updated. Rob: can you launch my update program yourself, or send me the archive of the wiki as you did before ? I will try to include in the Mandrake contrib the correct Gambas packages, and not the ones made by their employee. I invite other users to check if they have correct packages in their own distributions - I recently sent a mail about that to SuSE. I got problems with my e-mail since a few days, since the mail server of our Internet provider was (stupidly) black-listed, but things seems to work correctly now. Waiting for your comments, -- Benoit Minisini mailto:gambas at ...1... From Karl.Reinl at ...9... Mon Oct 25 20:22:01 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 25 Oct 2004 20:22:01 +0200 Subject: [Gambas-user] Split Function (is it a BUG) Message-ID: <200410252022.01095.Karl.Reinl@...9...> Salut Benoit, if I split "myVar = Otto" like a = split("myVar = Otto", "=") then a[0] = "myVar " and a[1] = " Otto" Should the blanks be left ? Amicalment Charlie From gambasfr at ...11... Mon Oct 25 22:04:24 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Mon, 25 Oct 2004 22:04:24 +0200 Subject: [Gambas-user] Have a look Message-ID: <200410252204.24671.gambasfr@...11...> Hi to all After many days out of there... I'm here... How many change i've missed ? After, a quick read of my mail.. I've seen : - 2 xml component - A gambas xml class (project) - gambas icons in KDE styles ? - A module for print code wouaou ! and so on As i say on the top, i've finally finish my harvesting (grappes cutting). So now i'm going to work more time on gambas. I've 3 part that interesting me : My site http://gambas.magic-systems.net, The gambas icon redrawing. Begin to rework on the gambas mascot animation (3d?) Beging the translate of the gambas help in french If someone is interested by one of these, ... contact me.. please Fabien Bodard PS: Here is a first try for a gambas icon. -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas.png Type: image/png Size: 4393 bytes Desc: not available URL: From na2492 at ...9... Mon Oct 25 22:20:28 2004 From: na2492 at ...9... (Charlie Reinl) Date: Mon, 25 Oct 2004 22:20:28 00200 Subject: [Gambas-user] Have a look Message-ID: <417d600c.5958.0@...9...> > > >Hi to all > >After many days out of there... I'm here... > >How many change i've missed ? > >After, a quick read of my mail.. I've seen : > >- 2 xml component >- A gambas xml class (project) >- gambas icons in KDE styles ? >- A module for print code > >wouaou ! > >and so on > >As i say on the top, i've finally finish my harvesting (grappes cutting). So >now i'm going to work more time on gambas. >I've 3 part that interesting me : > >My site http://gambas.magic-systems.net, >The gambas icon redrawing. >Begin to rework on the gambas mascot animation (3d?) >Beging the translate of the gambas help in french > > >If someone is interested by one of these, ... contact me.. please > >Fabien Bodard > >PS: Here is a first try for a gambas icon. Salut Fabien, hope the 2004 grappes will be good ones. Hope also you little one is growing well. Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From gambasfr at ...11... Mon Oct 25 22:44:11 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Mon, 25 Oct 2004 22:44:11 +0200 Subject: [Gambas-user] a bug in install Message-ID: <200410252244.11136.gambasfr@...11...> make[3]: Rien ? faire pour ? install-exec-am ?. make[3]: Rien ? faire pour ? install-data-am ?. make[3]: Leaving directory `/home/gambas/gambas-0.99.RC1/src' make[2]: Leaving directory `/home/gambas/gambas-0.99.RC1/src' make[1]: Leaving directory `/home/gambas/gambas-0.99.RC1/src' make[1]: Entering directory `/home/gambas/gambas-0.99.RC1' make[2]: Entering directory `/home/gambas/gambas-0.99.RC1' Making symbolic links in /usr/bin... Creating the library info files... /opt/gambas/lib/gambas/lib.gb.libxml.so: not found make[2]: *** [install-exec-local] Erreur 1 make[2]: Leaving directory `/home/gambas/gambas-0.99.RC1' make[1]: *** [install-am] Erreur 2 make[1]: Leaving directory `/home/gambas/gambas-0.99.RC1' make: *** [install-recursive] Erreur 1 From gambasfr at ...11... Mon Oct 25 22:53:08 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Mon, 25 Oct 2004 22:53:08 +0200 Subject: [Gambas-user] finnally no bugs Message-ID: <200410252253.08756.gambasfr@...11...> sorry... i've forgot to uninstall the prev version... Fabien From gambasfr at ...11... Mon Oct 25 22:55:24 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Mon, 25 Oct 2004 22:55:24 +0200 Subject: [Gambas-user] Split Function (is it a BUG) In-Reply-To: <200410252022.01095.Karl.Reinl@...9...> References: <200410252022.01095.Karl.Reinl@...9...> Message-ID: <200410252255.24490.gambasfr@...11...> Le lundi 25 Octobre 2004 20:22, Charlie Reinl a ?crit?: > Salut Benoit, > > if I split "myVar = Otto" like a = split("myVar = Otto", "=") > then a[0] = "myVar " and a[1] = " Otto" > > Should the blanks be left ? yes .. by use: a = split("myVar = Otto", " = ") Fabien > > Amicalment > 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-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambasfr at ...11... Mon Oct 25 23:01:38 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Mon, 25 Oct 2004 23:01:38 +0200 Subject: [Gambas-user] Split Function (is it a BUG) In-Reply-To: <200410252022.01095.Karl.Reinl@...9...> References: <200410252022.01095.Karl.Reinl@...9...> Message-ID: <200410252301.38064.gambasfr@...11...> Le lundi 25 Octobre 2004 20:22, Charlie Reinl a ?crit?: > Salut Benoit, > > if I split "myVar = Otto" like a = split("myVar = Otto", "=") > then a[0] = "myVar " and a[1] = " Otto" > > Should the blanks be left ? > > Amicalment > Charlie Sorry for my bad answer : in fact the separator seem to be a sole characters, and gambas return the string that are each side of the separator characters, "your string need be : myvar=otto you can do : a = split(Trim("myVar = Otto"), "=") Fabien From sourceforge-raindog2 at ...94... Tue Oct 26 02:23:13 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 25 Oct 2004 20:23:13 -0400 Subject: [Gambas-user] Split Function (is it a BUG) In-Reply-To: <200410252255.24490.gambasfr@...11...> References: <200410252022.01095.Karl.Reinl@...9...> <200410252255.24490.gambasfr@...11...> Message-ID: <200410252023.14179.sourceforge-raindog2@...94...> On Monday 25 October 2004 16:55, Bodard Fabien wrote: > yes .. by use: > a = split("myVar = Otto", " = ") You sure about that? I think split just uses the first character of the second string as the separator. Rob From igor.furlan at ...626... Tue Oct 26 08:31:52 2004 From: igor.furlan at ...626... (Primorec) Date: Mon, 25 Oct 2004 23:31:52 -0700 Subject: [Gambas-user] 00.99RC1 missing header file xmlreader.h and xmlwriter.h Message-ID: <54728e74041025233152614526@...627...> Hi, I've DL gambas 0.99RC1 to my RH8 box. "configure" went through fine with no errors. "make" started fine...unfortunately, after while I got on the screen: CXmlRpc.c:30:30: libxml/xmlreader.h: No such file or directory CXmlRpc.c:31:30: libxml/xmlwriter.h: No such file or directory What shell/should I do to continue with compilation ? Where can I DL missing files. Igor P.S. slightly more of the log file follows: creating lib.gb.xml.libxml.xslt.la (cd .libs && rm -f lib.gb.xml.libxml.xslt.la && ln -s ../lib.gb.xml.libxml.xslt.la lib.gb.xml.libxml.xslt.la) make[6]: Leaving directory `/proj/proj_igor/downloads/source/gambas-0.99.RC1/src/lib/xml/libxml/xslt' Making all in rpc make[6]: Entering directory `/proj/proj_igor/downloads/source/gambas-0.99.RC1/src/lib/xml/libxml/rpc' /bin/sh ../../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I../../../../../src/share -I/usr/include/libxml2/ -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -c main.c gcc -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I../../../../../src/share -I/usr/include/libxml2/ -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -c main.c -fPIC -DPIC -o main.lo /bin/sh ../../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I../../../../../src/share -I/usr/include/libxml2/ -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -c CXmlRpc.c gcc -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I../../../../../src/share -I/usr/include/libxml2/ -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -c CXmlRpc.c -fPIC -DPIC -o CXmlRpc.lo CXmlRpc.c:30:30: libxml/xmlreader.h: No such file or directory CXmlRpc.c:31:30: libxml/xmlwriter.h: No such file or directory CXmlRpc.c: In function `CXMLRPC_Call': CXmlRpc.c:119: `xmlTextWriterPtr' undeclared (first use in this function) CXmlRpc.c:119: (Each undeclared identifier is reported only once CXmlRpc.c:119: for each function it appears in.) CXmlRpc.c:119: parse error before "writer" CXmlRpc.c:120: `xmlBufferPtr' undeclared (first use in this function) CXmlRpc.c:153: `buffer' undeclared (first use in this function) CXmlRpc.c:153: warning: implicit declaration of function `xmlBufferCreate' CXmlRpc.c:154: `writer' undeclared (first use in this function) CXmlRpc.c:154: warning: implicit declaration of function `xmlNewTextWriterMemory' CXmlRpc.c:155: warning: implicit declaration of function `xmlTextWriterSetIndent' CXmlRpc.c:156: warning: implicit declaration of function `xmlTextWriterStartDocument' CXmlRpc.c:158: warning: implicit declaration of function `xmlTextWriterStartElement' CXmlRpc.c:159: warning: implicit declaration of function `xmlTextWriterWriteElement' CXmlRpc.c:202: warning: implicit declaration of function `xmlTextWriterEndElement' CXmlRpc.c:206: warning: implicit declaration of function `xmlTextWriterEndDocument' CXmlRpc.c:207: warning: implicit declaration of function `xmlFreeTextWriter' CXmlRpc.c:216: warning: implicit declaration of function `xmlBufferFree' CXmlRpc.c:113: warning: unused variable `cname' make[6]: *** [CXmlRpc.lo] Error 1 make[6]: Leaving directory `/proj/proj_igor/downloads/source/gambas-0.99.RC1/src/lib/xml/libxml/rpc' make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory `/proj/proj_igor/downloads/source/gambas-0.99.RC1/src/lib/xml/libxml' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/proj/proj_igor/downloads/source/gambas-0.99.RC1/src/lib/xml' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/proj/proj_igor/downloads/source/gambas-0.99.RC1/src/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/proj/proj_igor/downloads/source/gambas-0.99.RC1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/proj/proj_igor/downloads/source/gambas-0.99.RC1' make: *** [all-recursive-am] Error 2 From scatman_ at ...17... Tue Oct 26 08:56:54 2004 From: scatman_ at ...17... (scatman) Date: Tue, 26 Oct 2004 08:56:54 +0200 Subject: [Gambas-user] 00.99RC1 missing header file xmlreader.h and xmlwriter.h In-Reply-To: <54728e74041025233152614526@...627...> References: <54728e74041025233152614526@...627...> Message-ID: <200410260856.55071.scatman_@...17...> Am Dienstag, 26. Oktober 2004 08:31 schrieb Primorec: Hi, > CXmlRpc.c:30:30: libxml/xmlreader.h: No such file or directory > CXmlRpc.c:31:30: libxml/xmlwriter.h: No such file or directory > > What shell/should I do to continue with compilation ? > > Where can I DL missing files. Looking here. http://www.xmlsoft.org/downloads.html -- scatman From radoslav.dejanovic at ...116... Tue Oct 26 09:26:04 2004 From: radoslav.dejanovic at ...116... (Radoslav =?iso-8859-2?q?Dejanovi=E6?=) Date: Tue, 26 Oct 2004 09:26:04 +0200 Subject: [Gambas-user] gambas 1.0 RC1 In-Reply-To: <200410251856.12779.gambas@...1...> References: <200410251856.12779.gambas@...1...> Message-ID: <200410260926.04772.radoslav.dejanovic@...116...> On Monday 25 October 2004 18:56, Benoit Minisini wrote: > Hi, > > After a long period of learning acting ;-) here is the first release > candidate of gambas 1.0! AAAAARGH! My heart!! Congratulations, Benoit!! You did it!! We are going to code in 1.0 before the end of the year!! Kudos to all developers! :) Let's rejoice and drink some juice! :) -- Radoslav Dejanovi? Operacijski sustavi d.o.o. http://www.opsus.hr From dimitribellini at ...69... Tue Oct 26 10:12:18 2004 From: dimitribellini at ...69... (Dimitri Bellini) Date: Tue, 26 Oct 2004 10:12:18 +0200 Subject: [Gambas-user] gambas 1.0 RC1 In-Reply-To: <200410251856.12779.gambas@...1...> References: <200410251856.12779.gambas@...1...> Message-ID: <200410261012.18673.dimitribellini@...69...> Dear Benoit im very glad to hear this news!! So i look for Italian translation and see few unfinishe and i fix it :-) Thanks you very much for your great Application, everytime i write to you i say the same word :-) but it the true... Dimitri On Monday 25 October 2004 18:56, Benoit Minisini wrote: > Hi, > > After a long period of learning acting ;-) here is the first release > candidate of gambas 1.0! > > http://gambas.sourceforge.net/gambas-0.99.RC1.tar.bz2 > > The package is named 0.99.RC1, because the 1.0 version number is always > greater than any 0.99.* > > I included mainly bug fixes since 0.99, and the libxml component of Daniel > Campos (in beta version). > > Try to test this version so that the final 1.0 version is as good as > possible. Some bug fixes may create last minute problems - I hope I avoided > as much as possible, but I remember all the X.YY.a versions :-) > > I will only fix bug for the 1.0, and every new feature will go into the 1.1 > version. > > Note that I will follow the same naming scheme than the Linux kernel: odd > numbers for unstable versions and even numbers for stable ones. > > I will create a 1.1 package soon, with all features not included yet: the > Rob Kudla's Regular expressions component, or the Eduard Buller's KDE-like > icons... and so on. > > There are translations that are not up to date. I'd like to know if the > registered translators will finish their jobs or not. > > The documentation is not completely updated. Rob: can you launch my update > program yourself, or send me the archive of the wiki as you did before ? > > I will try to include in the Mandrake contrib the correct Gambas packages, > and not the ones made by their employee. I invite other users to check if > they have correct packages in their own distributions - I recently sent a > mail about that to SuSE. > > I got problems with my e-mail since a few days, since the mail server of > our Internet provider was (stupidly) black-listed, but things seems to work > correctly now. > > Waiting for your comments, -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-it.po Type: application/x-gettext Size: 60651 bytes Desc: not available URL: From oxleyd at ...364... Tue Oct 26 10:17:41 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Tue, 26 Oct 2004 10:17:41 +0200 Subject: [Gambas-user] gambas 1.0 RC1 In-Reply-To: <200410260926.04772.radoslav.dejanovic@...116...> Message-ID: <200410260818.i9Q8I9Us003364@...364...> Or beer.....? -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Radoslav Dejanovic Sent: 26 October 2004 09:26 To: gambas-user at lists.sourceforge.net Subject: Re: [Gambas-user] gambas 1.0 RC1 On Monday 25 October 2004 18:56, Benoit Minisini wrote: > Hi, > > After a long period of learning acting ;-) here is the first release > candidate of gambas 1.0! AAAAARGH! My heart!! Congratulations, Benoit!! You did it!! We are going to code in 1.0 before the end of the year!! Kudos to all developers! :) Let's rejoice and drink some juice! :) -- Radoslav Dejanovi? Operacijski sustavi d.o.o. http://www.opsus.hr ------------------------------------------------------- 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-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From budi at ...415... Tue Oct 26 10:58:18 2004 From: budi at ...415... (BUDI ARIEF GUSANDI) Date: Tue, 26 Oct 2004 15:58:18 +0700 Subject: [Gambas-user] What is RC In-Reply-To: <200410260818.i9Q8I9Us003364@...364...> References: <200410260926.04772.radoslav.dejanovic@...116...> <200410260818.i9Q8I9Us003364@...364...> Message-ID: <1886106007.20041026155818@...415...> Hi.. What is the meaning of RC, is that something before Beta Version of 1.0 ? Finally what we expect gambas to be the first release..;) Regards, Budi -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...1... Tue Oct 26 11:27:30 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 26 Oct 2004 11:27:30 +0200 Subject: [Gambas-user] What is RC In-Reply-To: <1886106007.20041026155818@...415...> References: <200410260926.04772.radoslav.dejanovic@...116...> <200410260818.i9Q8I9Us003364@...364...> <1886106007.20041026155818@...415...> Message-ID: <200410261127.30255.gambas@...1...> On Tuesday 26 October 2004 10:58, BUDI ARIEF GUSANDI wrote: > Hi.. > > What is the meaning of RC, is that something before Beta Version of 1.0 ? > Finally what we expect gambas to be the first release..;) > > Regards, > > Budi RC means "Release Candidate". -- Benoit Minisini mailto:gambas at ...1... From oxleyd at ...364... Tue Oct 26 11:23:27 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Tue, 26 Oct 2004 11:23:27 +0200 Subject: [Gambas-user] What is RC In-Reply-To: <1886106007.20041026155818@...415...> Message-ID: <200410260924.i9Q9NxUs005750@...364...> RC means "Release Candidate". i.e. It is a possible candidate for the final release. Daniel _____ From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of BUDI ARIEF GUSANDI Sent: 26 October 2004 10:58 To: Daniel Oxley Subject: [Gambas-user] What is RC Hi.. What is the meaning of RC, is that something before Beta Version of 1.0 ? Finally what we expect gambas to be the first release..;) Regards, Budi -------------- next part -------------- An HTML attachment was scrubbed... URL: From henrigirard at ...11... Tue Oct 26 12:54:01 2004 From: henrigirard at ...11... (Henri Girard) Date: Tue, 26 Oct 2004 12:54:01 +0200 Subject: [Gambas-user] gambas 1.0 RC1 References: <200410260818.i9Q8I9Us003364@...364...> Message-ID: <004801c4bb4a$1a751030$0100a8c0@...651...> on mandrake 10.1 after compiling ok (make ) make install is gbc error can't open file gb.sdl.list ? something to do with music player ? i guess the m10 rpms would work but i prefer compile... Henri From gambas at ...1... Tue Oct 26 13:04:14 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 26 Oct 2004 13:04:14 +0200 Subject: [Gambas-user] gambas 1.0 RC1 In-Reply-To: <004801c4bb4a$1a751030$0100a8c0@...651...> References: <200410260818.i9Q8I9Us003364@...364...> <004801c4bb4a$1a751030$0100a8c0@...651...> Message-ID: <200410261304.14958.gambas@...1...> On Tuesday 26 October 2004 12:54, Henri Girard wrote: > on mandrake 10.1 after compiling ok (make ) make install is gbc error can't > open file gb.sdl.list ? > something to do with music player ? > i guess the m10 rpms would work but i prefer compile... > Henri > If you didn't compile the sdl component, then you get this message when compiling the music player example. But the installation process should continue. -- Benoit Minisini mailto:gambas at ...1... From girardhenri at ...67... Tue Oct 26 12:59:05 2004 From: girardhenri at ...67... (Henri Girard) Date: Tue, 26 Oct 2004 12:59:05 +0200 Subject: [Gambas-user] gambers Message-ID: is someone working on a soft in math or geometry like orge (for linux orgel) lol or sinequanon ? http://www.ac-poitiers.fr/math/prof/logic/cha4/ http://www.ac-poitiers.fr/math/prof/logic/cha4/index.htm They are in delphi windows and i wonder if they could be made in gambas ? I run them with wine and they work ok... but a true linux one would be wonderfull ? kylix doesn't run on the new distri... and the work to convert them is very important kind regards Henri -------------- next part -------------- An HTML attachment was scrubbed... URL: From ihernandez at ...478... Tue Oct 26 12:41:42 2004 From: ihernandez at ...478... (ihernandez at ...478...) Date: Tue, 26 Oct 2004 10:41:42 +0000 Subject: [Gambas-user] Getting a web page with curl Message-ID: <20041026104142.GA31341@...478...> Hello. i'm trying to get a web page into a textbox. i did this but it fails: Dim x as New HttpClient x.Url = "http://www.google.com" x.Get TextBox1.Text = x.Peek() What can i do? Thanks! Ivan From daniel.campos at ...338... Tue Oct 26 16:03:06 2004 From: daniel.campos at ...338... (daniel.campos at ...338...) Date: Tue, 26 Oct 2004 16:03:06 +0200 Subject: [Gambas-user] Getting a web page with curl In-Reply-To: <20041026104142.GA31341@...478...> Message-ID: <417E0DD200000226@...650...> Hi: HttpClient works asynchronously, so... Dim x as New HttpClient x.Url = "http://www.google.com" x.Get ... After "Get" you've to wait until the page is received .... TextBox1.Text = x.Peek() Look at the HttpGet example from Gambas, there you can find how a web page is received, using the events provided by HttpClient class to know when there's data to read, and when all the page has been received. Regards, D. Campos >-- Mensaje Original -- >To: gambas-user at lists.sourceforge.net >From: ihernandez at ...478... >Subject: [Gambas-user] Getting a web page with curl >Reply-To: gambas-user at lists.sourceforge.net >Date: Tue, 26 Oct 2004 10:41:42 +0000 > > >Hello. i'm trying to get a web page into a textbox. i did this but it fails: Dim x as New HttpClient x.Url = "http://www.google.com" x.Get TextBox1.Text = x.Peek() What can i do? Thanks! Ivan ----------------------------------------- >------------- 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://prod >ctguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user 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 eilert-sprachen at ...221... Tue Oct 26 16:45:16 2004 From: eilert-sprachen at ...221... (Eilert) Date: Tue, 26 Oct 2004 16:45:16 +0200 Subject: [Gambas-user] RC1 running, but screen geometry probs Message-ID: <417E62FC.8050003@...221...> Hi, I downloaded RC1 and it compiled and installed without problems. However, when I start Gambas, the windows of the GUI show in randomly order and at random places and sizes somewhere on the screen. When I start one of my apps I did before from the IDE, the first window sometimes has the same geometry as the tool collection window of the IDE, sometimes just appears somewhere, sometimes even on another screen. I have two apps which were "compiled" and run on the same machine from 0.99 before, these still run as expected. For instance, the Me.Width and Me.Center run as they should on these programs, windows appear at the right places, but not if I open the projects and let them run under the IDE of RC1. Any hints? Rolf From sourceforge-raindog2 at ...94... Tue Oct 26 18:11:08 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 26 Oct 2004 12:11:08 -0400 Subject: [Gambas-user] slashdotted :) Message-ID: <200410261211.08389.sourceforge-raindog2@...94...> http://developers.slashdot.org/article.pl?sid=04/10/26/142212 Comments seem mostly positive apart from "What about kylix?" Rob From picander78 at ...325... Wed Oct 27 00:23:41 2004 From: picander78 at ...325... (Marco Gusy) Date: Wed, 27 Oct 2004 00:23:41 +0200 Subject: [Gambas-user] slashdotted :) In-Reply-To: <200410261211.08389.sourceforge-raindog2@...94...> References: <200410261211.08389.sourceforge-raindog2@...94...> Message-ID: <200410270023.41599.picander78@...325...> Alle 18:11, marted? 26 ottobre 2004, Rob ha scritto: > http://developers.slashdot.org/article.pl?sid=04/10/26/142212 > > Comments seem mostly positive apart from "What about kylix?" My preferred comment is "Gambas has become the first Visual Basic-style environment for Linux to enter release candidate status" It's true! Keep on guys, the interest to this program is growing every day! Marco From Karl.Reinl at ...9... Wed Oct 27 00:23:22 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Wed, 27 Oct 2004 00:23:22 +0200 Subject: [Gambas-user] PrettyPrinter-0.3.2 for use in IDE Message-ID: <200410270023.22526.Karl.Reinl@...9...> Salut Carsten, I send you the PrettyPrinter, who does the same as your CFormatSource.class. May be we can merge the two. For your SourcePrinter, I forgot, Ron asked me to inser a empty line between to Procs, can you add a choice to simulate the editors separator between two Procs. Aamicalement Charlie ---------------- the old mail ----------------------------- 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 nferraz at ...184... Wed Oct 27 00:08:44 2004 From: nferraz at ...184... (Nelson Ferraz) Date: Tue, 26 Oct 2004 20:08:44 -0200 Subject: [Gambas-user] slashdotted :) In-Reply-To: <200410261211.08389.sourceforge-raindog2@...94...> References: <200410261211.08389.sourceforge-raindog2@...94...> Message-ID: <417ECAEC.8020108@...184...> Rob wrote: > http://developers.slashdot.org/article.pl?sid=04/10/26/142212 > > Comments seem mostly positive apart from "What about kylix?" Cool! Congratulations, Benoit, Rob, developers and users of Gambas! Nelson From nferraz at ...184... Wed Oct 27 00:10:24 2004 From: nferraz at ...184... (Nelson Ferraz) Date: Tue, 26 Oct 2004 20:10:24 -0200 Subject: [Gambas-user] What is RC In-Reply-To: <1886106007.20041026155818@...415...> References: <200410260926.04772.radoslav.dejanovic@...116...> <200410260818.i9Q8I9Us003364@...364...> <1886106007.20041026155818@...415...> Message-ID: <417ECB50.3050800@...184...> BUDI ARIEF GUSANDI wrote: > What is the meaning of RC, is that something before Beta Version of 1.0 ? > > Finally what we expect gambas to be the first release..;) Why the rush? It will be available when it's ready. :) From binoyjones at ...67... Wed Oct 27 07:31:20 2004 From: binoyjones at ...67... (binoy jones) Date: Wed, 27 Oct 2004 11:01:20 +0530 Subject: [Gambas-user] What is RC Message-ID: Hi , RC means release candidate. >From: Nelson Ferraz >Reply-To: gambas-user at lists.sourceforge.net >To: gambas-user at lists.sourceforge.net >Subject: Re: [Gambas-user] What is RC >Date: Tue, 26 Oct 2004 20:10:24 -0200 > >BUDI ARIEF GUSANDI wrote: >>What is the meaning of RC, is that something before Beta Version of 1.0 ? >> >>Finally what we expect gambas to be the first release..;) > >Why the rush? It will be available when it's ready. :) > > >------------------------------------------------------- >This SF.Net email is sponsored by: >Sybase ASE Linux Express Edition - download now for FREE >LinuxWorld Reader's Choice Award Winner for best database on Linux. >http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user _________________________________________________________________ Screensavers unlimited! Funny, serious, religious. http://www.msn.co.in/Cinema/screensaver/ Take your pick! From radoslav.dejanovic at ...116... Wed Oct 27 08:45:36 2004 From: radoslav.dejanovic at ...116... (Radoslav =?iso-8859-2?q?Dejanovi=E6?=) Date: Wed, 27 Oct 2004 08:45:36 +0200 Subject: [Gambas-user] slashdotted :) In-Reply-To: <200410261211.08389.sourceforge-raindog2@...94...> References: <200410261211.08389.sourceforge-raindog2@...94...> Message-ID: <200410270845.36449.radoslav.dejanovic@...116...> On Tuesday 26 October 2004 18:11, Rob wrote: > http://developers.slashdot.org/article.pl?sid=04/10/26/142212 > > Comments seem mostly positive apart from "What about kylix?" > > Rob Don't vorry about that. Geeks dislike VB, and belive this is the same sh*t. I know many people who told me things like "why would anyone program in BASIC when they can have so nice GNU C compiler?" There's a common belief that if you want to code for good, you have to code in C or C++. That's crap. As long as you find any programming language giving you right tools to finish your task, it's good. I think Gambas is great. And it *is* a tool that can help you make software. At least, when we squish all those bugs out. ;) Just don't take this "it's not C/Kylix/OtherHolyLanguage" crap seriously. -- Radoslav Dejanovi? Operacijski sustavi d.o.o. http://www.opsus.hr From eilert-sprachen at ...221... Wed Oct 27 08:48:17 2004 From: eilert-sprachen at ...221... (Eilert) Date: Wed, 27 Oct 2004 08:48:17 +0200 Subject: [Gambas-user] Still problems with IDE windows Message-ID: <417F44B1.3070506@...221...> Hi all, I just tried again what I described yesterday, and the problems are still there, now a little bit more clear: It is the last window that closes when you leave Gambas that will give its X and Y and width and height values to the first window that will open next time you start Gambas again. Yesterday, I first changed the position of the window with the components. On the next start, the greeting window of Gambas took its position and form. Today, I changed the position of the properties window. Now the greeting window appeared at its position when Gambas started again. In the application I made, there is a small window that appears first to type in your name. This windows should be centered with Me.Center, but it doesn't appear in the center anymore. Instead after this test run, every first window that opens either of the IDE or of any app that is started now will appear with the size and position of this tiny window. The properties window, however, always appears with the size and position of the main window of the once started app... I've made screenshots, but I don't wont to bother the mailing list with it, so send me a mail and I'll send them by pm. Rolf From daniel.campos at ...338... Wed Oct 27 08:56:24 2004 From: daniel.campos at ...338... (daniel.campos at ...338...) Date: Wed, 27 Oct 2004 08:56:24 +0200 Subject: [Gambas-user] slashdotted :) In-Reply-To: <200410270845.36449.radoslav.dejanovic@...116...> Message-ID: <417E0DD2000004E4@...650...> Lots of fake 'experts' in Linux think that Basic just born with the name "Visual Basic", so it is just a Microsoft product, so it is evil. They should just read a little, and learn... http://www.levenez.com/lang/history.html#06 http://en.wikipedia.org/wiki/BASIC_programming_language#History Regards, D. Campos >-- Mensaje Original -- >From: Radoslav Dejanovi? >To: gambas-user at lists.sourceforge.net >Subject: Re: [Gambas-user] slashdotted :) >Reply-To: gambas-user at lists.sourceforge.net >Date: Wed, 27 Oct 2004 08:45:36 +0200 > > >On Tuesday 26 October 2004 18:11, Rob wrote: > http://developers.slashdot.org/article.pl?sid=04/10/26/142212 > > Comments seem mostly positive apart from "What about kylix?" > > Rob Don't vorry about that. Geeks dislike VB, and belive this is t >e same sh*t. I know many people who told me things like "why would anyone program in BASIC when they can have so nice GNU C compiler?" There's a common belief that if you want to code for good, you have to code in C or C++. That's crap. As long >as you find any programming language giving you right tools to finish your task, it's good. I think Gambas is great. And it *is* a tool that can help you make software. At least, when we squish all those bugs out. ;) Just don't take this "it's >not C/Kylix/OtherHolyLanguage" crap seriously. -- Radoslav Dejanovi? Operacijski sustavi d.o.o. http://www.opsus.hr ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Editi >n - 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-user mailing list Gambas-user at ...652... >.net https://lists.sourceforge.net/lists/listinfo/gambas-user 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 budi at ...415... Wed Oct 27 09:00:43 2004 From: budi at ...415... (BUDI ARIEF GUSANDI) Date: Wed, 27 Oct 2004 14:00:43 +0700 Subject: [Gambas-user] slashdotted :) In-Reply-To: <200410270845.36449.radoslav.dejanovic@...116...> References: <200410261211.08389.sourceforge-raindog2@...94...> <200410270845.36449.radoslav.dejanovic@...116...> Message-ID: <1922004415.20041027140043@...415...> Yes, i agree with you.... I think this is not the time when we are too idealist that everything should be C and C anylonger... As you said "As long as you find any programming language > giving you right tools to finish your task, it's good". Budi Wednesday, October 27, 2004, 1:45:36 PM, you wrote: > On Tuesday 26 October 2004 18:11, Rob wrote: >> http://developers.slashdot.org/article.pl?sid=04/10/26/142212 >> Comments seem mostly positive apart from "What about kylix?" >> Rob > Don't vorry about that. Geeks dislike VB, and belive this is the same sh*t. > I know many people who told me things like "why would anyone program in > BASIC when they can have so nice GNU C compiler?" > There's a common belief that if you want to code for good, you have to code > in C or C++. That's crap. As long as you find any programming language > giving you right tools to finish your task, it's good. I think Gambas is > great. And it *is* a tool that can help you make software. At least, when > we squish all those bugs out. ;) > Just don't take this "it's not C/Kylix/OtherHolyLanguage" crap seriously. -- Best regards, BUDI mailto:budi at ...415... -------------- next part -------------- An HTML attachment was scrubbed... URL: From dimitribellini at ...69... Wed Oct 27 09:56:33 2004 From: dimitribellini at ...69... (Dimitri Bellini) Date: Wed, 27 Oct 2004 09:56:33 +0200 Subject: [Gambas-user] PrettyPrinter-0.3.2 for use in IDE In-Reply-To: <200410270023.22526.Karl.Reinl@...9...> References: <200410270023.22526.Karl.Reinl@...9...> Message-ID: <200410270956.33929.dimitribellini@...69...> Dear Charlie are you try to start a Printer Manager in Gambas? If yes how can i test it? :-) Thanks in advance Dimitri On Wednesday 27 October 2004 00:23, Charlie Reinl wrote: > Salut Carsten, > > I send you the PrettyPrinter, who does the same as your > CFormatSource.class. May be we can merge the two. > > For your SourcePrinter, I forgot, Ron asked me to inser a empty line > between to Procs, can you add a choice to simulate the editors separator > between two Procs. > > Aamicalement > Charlie > ---------------- the old mail ----------------------------- > 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 From gambas at ...1... Wed Oct 27 10:46:29 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 27 Oct 2004 10:46:29 +0200 Subject: [Gambas-user] RC1 running, but screen geometry probs In-Reply-To: <417E62FC.8050003@...221...> References: <417E62FC.8050003@...221...> Message-ID: <200410271046.29997.gambas@...1...> On Tuesday 26 October 2004 16:45, Eilert wrote: > Hi, > > I downloaded RC1 and it compiled and installed without problems. > > However, when I start Gambas, the windows of the GUI show in randomly > order and at random places and sizes somewhere on the screen. When I > start one of my apps I did before from the IDE, the first window > sometimes has the same geometry as the tool collection window of the > IDE, sometimes just appears somewhere, sometimes even on another screen. > > I have two apps which were "compiled" and run on the same machine from > 0.99 before, these still run as expected. For instance, the Me.Width and > Me.Center run as they should on these programs, windows appear at the > right places, but not if I open the projects and let them run under the > IDE of RC1. > > Any hints? > > Rolf > > Which window manager do you use ? Most window managers don't let the application freely choose the position and or size of its windows. On KDE, I set the the following option in the control center: Window behaviour -> Moving -> Placement = Random. I will investigate this problem further. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Oct 27 11:55:27 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 27 Oct 2004 11:55:27 +0200 Subject: [Gambas-user] slashdotted :) In-Reply-To: <200410261211.08389.sourceforge-raindog2@...94...> References: <200410261211.08389.sourceforge-raindog2@...94...> Message-ID: <200410271155.27925.gambas@...1...> On Tuesday 26 October 2004 18:11, Rob wrote: > http://developers.slashdot.org/article.pl?sid=04/10/26/142212 > > Comments seem mostly positive apart from "What about kylix?" > > Rob > > Well... This is slashdot :-) The big problem is the Mac Donald's consumer mentality of many people that talk about free software. I mainly make free software because it's fun, not because I have a "embarace everything" strategy or whatever you call it (follow my eye...) I don't care about .NET, Java, Parrot, Perl, Python, and so on, because I can make my own interpreter, the way I wanted (mostly), and I'm happy with that... :-) The Gambas interpreter includes no modern technology (JIT compiler, ...), and is surely slower than others. I don't see any problem with that, because I can use C or C++ if I need speed :-) The people that like the way it was done will follow and help me, the other will use other tools. I don't see any problem with that. There is place for everyone and everything in the free software world. I wanted to paint a tree. Of course the tree painted by great artists will be better. But it is my tree :-) Fall out! -- Benoit Minisini mailto:gambas at ...1... From girardhenri at ...67... Wed Oct 27 13:34:56 2004 From: girardhenri at ...67... (Henri Girard) Date: Wed, 27 Oct 2004 13:34:56 +0200 Subject: [Gambas-user] slashdotted :) References: <200410261211.08389.sourceforge-raindog2@...94...> <200410271155.27925.gambas@...1...> Message-ID: True... And arriving to an older age... i try to do the same : explaining people to open "individualy" and make all possible... I play guitar for more than 40 years... and i was desesparating to be able to play and sing a single song... And suddenly after practizing a new way (forgetting about the technical aspect) i developped my own "picking.." I am not an expert in programming... In nothing... But with work and practice I discovered i am not bad in many domains... Why ? Just because time changing ... Appreciation of "beauty" is no more the same... What i called beauty 40 y ago is bullshit to nowaday's and what they call beauty is bullshit to my eyes... Then i respect everybody opinion and culture ... This is what i call "love".... Sorry for my opinion : But my only reason of life is love... Godlove :) and gambas is really a wonder... (gnuplot too ! lol) If i can make them both working ... wow !!!!!!!!!!!!!!!!!!!!!!! cheerse Henri ----- Original Message ----- From: "Benoit Minisini" To: Sent: Wednesday, October 27, 2004 11:55 AM Subject: Re: [Gambas-user] slashdotted :) > On Tuesday 26 October 2004 18:11, Rob wrote: > > http://developers.slashdot.org/article.pl?sid=04/10/26/142212 > > > > Comments seem mostly positive apart from "What about kylix?" > > > > Rob > > > > > > Well... This is slashdot :-) > > The big problem is the Mac Donald's consumer mentality of many people that > talk about free software. > > I mainly make free software because it's fun, not because I have a "embarace > everything" strategy or whatever you call it (follow my eye...) > > I don't care about .NET, Java, Parrot, Perl, Python, and so on, because I can > make my own interpreter, the way I wanted (mostly), and I'm happy with > that... :-) > > The Gambas interpreter includes no modern technology (JIT compiler, ...), and > is surely slower than others. I don't see any problem with that, because I > can use C or C++ if I need speed :-) > > The people that like the way it was done will follow and help me, the other > will use other tools. I don't see any problem with that. There is place for > everyone and everything in the free software world. > > I wanted to paint a tree. Of course the tree painted by great artists will be > better. But it is my tree :-) > > Fall out! > > -- > Benoit Minisini > mailto:gambas at ...1... > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From radoslav.dejanovic at ...116... Wed Oct 27 13:44:32 2004 From: radoslav.dejanovic at ...116... (Radoslav =?iso-8859-2?q?Dejanovi=E6?=) Date: Wed, 27 Oct 2004 13:44:32 +0200 Subject: [Gambas-user] slashdotted :) In-Reply-To: <200410271155.27925.gambas@...1...> References: <200410261211.08389.sourceforge-raindog2@...94...> <200410271155.27925.gambas@...1...> Message-ID: <200410271344.33012.radoslav.dejanovic@...116...> On Wednesday 27 October 2004 11:55, Benoit Minisini wrote: > I wanted to paint a tree. Of course the tree painted by great artists > will be better. But it is my tree :-) In my country, people paint their trees themselves, to protect them from ants and other bugs (and to deter rabbits from eating the bark in the winter). There's no need to ask for any great artist to do the painting for them, and they don't care what shade of white color is used... ;)))) -- Radoslav Dejanovi? Operacijski sustavi d.o.o. http://www.opsus.hr From sourceforge-raindog2 at ...94... Wed Oct 27 14:25:21 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 27 Oct 2004 08:25:21 -0400 Subject: [Gambas-user] slashdotted :) In-Reply-To: <200410271155.27925.gambas@...1...> References: <200410261211.08389.sourceforge-raindog2@...94...> <200410271155.27925.gambas@...1...> Message-ID: <200410270825.21442.sourceforge-raindog2@...94...> On Wednesday 27 October 2004 05:55, Benoit Minisini wrote: > The people that like the way it was done will follow and help > me, the other will use other tools. I don't see any problem > with that. There is place for everyone and everything in the > free software world. Sure, if this caused the Mono people to release their VB clone and write their own VB-like IDE, I wouldn't be sad either. I'd still be using gambas, but the more good tools we have available to us, the better... > I wanted to paint a tree. Of course the tree painted by great > artists will be better. But it is my tree :-) This is pretty much the same strategy I follow when I code... Rob From henrigirard at ...11... Wed Oct 27 14:41:54 2004 From: henrigirard at ...11... (Henri Girard) Date: Wed, 27 Oct 2004 14:41:54 +0200 Subject: [Gambas-user] cygwin gambas ? References: <200410261211.08389.sourceforge-raindog2@...94...> <200410271155.27925.gambas@...1...> Message-ID: <003001c4bc22$56cf4270$0400a8c0@...653...> any news about cygwin gambas ? Henri ----- Original Message ----- From: "Benoit Minisini" To: Sent: Wednesday, October 27, 2004 11:55 AM Subject: Re: [Gambas-user] slashdotted :) > On Tuesday 26 October 2004 18:11, Rob wrote: > > http://developers.slashdot.org/article.pl?sid=04/10/26/142212 > > > > Comments seem mostly positive apart from "What about kylix?" > > > > Rob > > > > > > Well... This is slashdot :-) > > The big problem is the Mac Donald's consumer mentality of many people that > talk about free software. > > I mainly make free software because it's fun, not because I have a "embarace > everything" strategy or whatever you call it (follow my eye...) > > I don't care about .NET, Java, Parrot, Perl, Python, and so on, because I can > make my own interpreter, the way I wanted (mostly), and I'm happy with > that... :-) > > The Gambas interpreter includes no modern technology (JIT compiler, ...), and > is surely slower than others. I don't see any problem with that, because I > can use C or C++ if I need speed :-) > > The people that like the way it was done will follow and help me, the other > will use other tools. I don't see any problem with that. There is place for > everyone and everything in the free software world. > > I wanted to paint a tree. Of course the tree painted by great artists will be > better. But it is my tree :-) > > Fall out! > > -- > Benoit Minisini > mailto:gambas at ...1... > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sourceforge-raindog2 at ...94... Wed Oct 27 14:47:03 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 27 Oct 2004 08:47:03 -0400 Subject: [Gambas-user] gambas 1.0 RC1 In-Reply-To: <200410251856.12779.gambas@...1...> References: <200410251856.12779.gambas@...1...> Message-ID: <200410270847.03163.sourceforge-raindog2@...94...> On Monday 25 October 2004 12:56, Benoit Minisini wrote: > The documentation is not completely updated. Rob: can you > launch my update program yourself, or send me the archive of > the wiki as you did before ? Sure, I'll try the program first to save time. Is UpdateWiki-0.0.1 that you sent me back in June still current? Rob From gambas at ...1... Wed Oct 27 15:07:10 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 27 Oct 2004 15:07:10 +0200 Subject: [Gambas-user] gambas 1.0 RC1 In-Reply-To: <200410270847.03163.sourceforge-raindog2@...94...> References: <200410251856.12779.gambas@...1...> <200410270847.03163.sourceforge-raindog2@...94...> Message-ID: <200410271507.10642.gambas@...1...> On Wednesday 27 October 2004 14:47, Rob wrote: > On Monday 25 October 2004 12:56, Benoit Minisini wrote: > > The documentation is not completely updated. Rob: can you > > launch my update program yourself, or send me the archive of > > the wiki as you did before ? > > Sure, I'll try the program first to save time. Is > UpdateWiki-0.0.1 that you sent me back in June still current? > > Rob > > I don't remember... Here is what I have on my box (I incremented the version number). -- Benoit Minisini mailto:gambas at ...1... -------------- next part -------------- A non-text attachment was scrubbed... Name: UpdateWiki-0.0.2.tar.gz Type: application/x-tgz Size: 10300 bytes Desc: not available URL: From eilert-sprachen at ...221... Wed Oct 27 17:24:19 2004 From: eilert-sprachen at ...221... (Eilert) Date: Wed, 27 Oct 2004 17:24:19 +0200 Subject: [Gambas-user] RC1 running, but screen geometry probs In-Reply-To: <200410271046.29997.gambas@...1...> References: <417E62FC.8050003@...221...> <200410271046.29997.gambas@...1...> Message-ID: <417FBDA3.1030603@...221...> Hi Benoit, > Which window manager do you use ? KDE > Most window managers don't let the application freely choose the position and > or size of its windows. On KDE, I set the the following option in the control > center: Window behaviour -> Moving -> Placement = Random. Here it was set to economical, but when I chang it to Random, nothing really is better. > I will investigate this problem further. Meanwhile, is it possible to get back to the previous version? Can I just "make install" from the older directory so I am sure I can work with the previous version, or would you dis...err what's the word (I've got a terrible headache this afternoon) you know what I mean... I'll send you the screenshots by pm. Rolf From gambas at ...1... Wed Oct 27 17:46:31 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 27 Oct 2004 17:46:31 +0200 Subject: [Gambas-user] RC1 running, but screen geometry probs In-Reply-To: <417FBDA3.1030603@...221...> References: <417E62FC.8050003@...221...> <200410271046.29997.gambas@...1...> <417FBDA3.1030603@...221...> Message-ID: <200410271746.31630.gambas@...1...> On Wednesday 27 October 2004 17:24, Eilert wrote: > Hi Benoit, > > > Which window manager do you use ? > > KDE > > > Most window managers don't let the application freely choose the position > > and or size of its windows. On KDE, I set the the following option in the > > control center: Window behaviour -> Moving -> Placement = Random. > > Here it was set to economical, but when I chang it to Random, nothing > really is better. > > > I will investigate this problem further. > > Meanwhile, is it possible to get back to the previous version? Can I > just "make install" from the older directory so I am sure I can work > with the previous version, or would you dis...err what's the word (I've > got a terrible headache this afternoon) you know what I mean... > > I'll send you the screenshots by pm. > > Rolf > Mmm... There is no change in window management between 0.99 and 1.0RC1. You should have exactly the same problems with the two versions... -- Benoit Minisini mailto:gambas at ...1... From karl.reinl at ...9... Wed Oct 27 20:11:54 2004 From: karl.reinl at ...9... (Charlie) Date: Wed, 27 Oct 2004 20:11:54 +0200 Subject: [Gambas-user] PrettyPrinter-0.3.2 for use in IDE References: <200410270023.22526.Karl.Reinl@...9...> <200410270956.33929.dimitribellini@...69...> Message-ID: <417FE4EA.2050801@...9...> Dimitri Bellini schrieb: >Dear Charlie > are you try to start a Printer Manager in Gambas? If yes how can i test >it? :-) >Thanks in advance >Dimitri > > Salut Dimitri, Carsten Olsen , had posted his Source printer to the devel list, that I talk about. carsten at ...500... Amicalement Charlie From carsten at ...498... Wed Oct 27 20:32:01 2004 From: carsten at ...498... (Carsten Olsen) Date: Wed, 27 Oct 2004 20:32:01 +0200 Subject: [Gambas-user] PrettyPrinter-0.3.2 for use in IDE In-Reply-To: <200410270023.22526.Karl.Reinl@...9...> References: <200410270023.22526.Karl.Reinl@...9...> Message-ID: <1098901921.3121.30.camel@...654...> Hi Charlie I don't think there are must to merge PrettyPrinter do it all. There are a small problem with it - it add at line each time you run it. I will try alter my CPrintSource sow it can print a line at procs. (with an option in the print tab) like the editor. regards Carsten On Wed, 2004-10-27 at 00:23, Charlie Reinl wrote: > Salut Carsten, > > I send you the PrettyPrinter, who does the same as your CFormatSource.class. > May be we can merge the two. > > For your SourcePrinter, I forgot, Ron asked me to inser a empty line between > to Procs, can you add a choice to simulate the editors separator between two > Procs. > > Aamicalement > Charlie > ---------------- the old mail ----------------------------- > 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 -------------- An HTML attachment was scrubbed... URL: From na2492 at ...9... Wed Oct 27 22:55:27 2004 From: na2492 at ...9... (Charlie Reinl) Date: Wed, 27 Oct 2004 22:55:27 00200 Subject: [Gambas-user] PrettyPrinter-0.3.2 for use in IDE Message-ID: <41800b3f.2735.0@...9...> > >Hi Charlie > >I don't think there are must to merge PrettyPrinter do it all. There are >a small problem with it - it add at line each time you run it. If you talk about the last line, I added because so it is easier to paste something. It was also Ron's idea. If it is realy each time its a bug, normaly it shouldn'T if last line is empty. >I will try alter my CPrintSource sow it can print a line at procs. >(with an option in the print tab) like the editor. > >regards >Carsten > > * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From sourceforge-raindog2 at ...94... Thu Oct 28 01:05:25 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 27 Oct 2004 19:05:25 -0400 Subject: [Gambas-user] gambas 1.0 RC1 mandrake packages Message-ID: <200410271905.25657.sourceforge-raindog2@...94...> Here you go.... for 10.0 only this time I'm afraid. I will run that documentation generator late tonight, I hope. http://www.kudla.org/index.php?wl_mode=more&wl_eid=62 Rob From ronstk at ...239... Thu Oct 28 02:09:54 2004 From: ronstk at ...239... (ron) Date: Thu, 28 Oct 2004 02:09:54 +0200 Subject: [Gambas-user] PrettyPrinter-0.3.2 for use in IDE In-Reply-To: <41800b3f.2735.0@...9...> References: <41800b3f.2735.0@...9...> Message-ID: <200410280209.54833.ronstk@...239...> On Thursday 28 October 2004 00:55, Charlie Reinl wrote: > > > >Hi Charlie > > > >I don't think there are must to merge PrettyPrinter do it all. There are > >a small problem with it - it add at line each time you run it. > > If you talk about the last line, I added because so it is easier to paste > something. It was also Ron's idea. :=) > If it is realy each time its a bug, normaly it shouldn'T if last line is empty. > > >I will try alter my CPrintSource sow it can print a line at procs. > >(with an option in the print tab) like the editor. > > > >regards > >Carsten > > > > > Charlie Hi Charlie, I have install this 0.3.2 version and oh oh what nice. The extra line is added if the option for the empty line between procedures is OFF ? A second cosmethic failure. If option 'tab' instead 'space' is chosen the tab char. is a space when indent DIM is on? I was giving XML a try but my health is still a problem to. Just had a attack by updating KDE to my mind :+) I have got doctor permission to go to Tenerife on Canarian Islands again, the 6x time. Yummy 6 weeks are planned from December. To Carsten, I can't print any way, my printer is to old (20 years) ;) Black/white and matrix, A3 size and can use tractor paper, good for listings. The extra space line was indeed a request from me. It gives a better separation in the listing, also on paper, for procedures. On screen we have a nice blue line but this way you must have a color printer. That is not my case and I belive it should also print in B/W a nice way. Still not every one has a color printing device :( Note: It will be else the same stupid thing to have the gnoki libraries to be able to install KDEpim. I have a Samsung and no Nokia. Or to have a scanner library for a graphics program, and not having a scanner at all, and it don't need it, to be able to use the program to view the photo's on disk. The developer(s) should look if they exist, if not disable the nokia or scanner features and not make dependend on it to have them installed. This is a mistake for many Linux based applications in my view. I.e. Irfanview on windows can work with AV media and scanners, if the drivers/libraries are installed, if not then they are disabled. Simple and user friendly, and the program works (also in wine:=) ). Greets Ron. From usinggambas at ...43... Thu Oct 28 04:16:29 2004 From: usinggambas at ...43... (Rob Gambas) Date: Wed, 27 Oct 2004 21:16:29 -0500 (CDT) Subject: [Gambas-user] Using Gambas Message-ID: <20041028021629.52264.qmail@...655...> I have installed and tested Gambas and I am really impressed. I wrote VB years ago, started with v4 and went through v6. Never touched .NET but 2 of the 3 guys at work rave about it like it's the best thing since Peanut Butter. The third one thinks the other two are idiots. :) Anyways, I love this tool! RAD on Linux! Sweet! So I contacted Benoit about what I suspect to be a bug. Waiting to hear about it. I was wondering if there was a list of features to be implemented. I had an issue where I wanted to brutally trash (honest self evaluation of programming skill) one of the Examples... Being able to "Save Project As..." would have been perfect so I didn't have to go find it and copy it by hand. Anyhow, Will be jumping in with both feet and am looking forward to it! Congrats to the team! Regards from Denver, CO. Rob __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail From budi at ...415... Thu Oct 28 05:15:42 2004 From: budi at ...415... (BUDI ARIEF GUSANDI) Date: Thu, 28 Oct 2004 10:15:42 +0700 Subject: [Gambas-user] Using Gambas In-Reply-To: <20041028021629.52264.qmail@...655...> References: <20041028021629.52264.qmail@...655...> Message-ID: <1921846414.20041028101542@...415...> Hello Rob, is this rob kudla of mandrake ? budi Thursday, October 28, 2004, 9:16:29 AM, you wrote: > I have installed and tested Gambas and I am really > impressed. I wrote VB years ago, started with v4 and > went through v6. Never touched .NET but 2 of the 3 > guys at work rave about it like it's the best thing > since Peanut Butter. > The third one thinks the other two are idiots. :) > Anyways, I love this tool! RAD on Linux! Sweet! > So I contacted Benoit about what I suspect to be a > bug. Waiting to hear about it. I was wondering if > there was a list of features to be implemented. > I had an issue where I wanted to brutally trash > (honest self evaluation of programming skill) one of > the Examples... Being able to "Save Project As..." > would have been perfect so I didn't have to go find it > and copy it by hand. > Anyhow, Will be jumping in with both feet and am > looking forward to it! Congrats to the team! > Regards from Denver, CO. > Rob > __________________________________ > Do you Yahoo!? > Yahoo! Mail Address AutoComplete - You start. We finish. > http://promotions.yahoo.com/new_mail > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > __________ NOD32 1.900 (20041020) Information __________ > This message was checked by NOD32 antivirus system. > http://www.nod32.com -- Best regards, BUDI mailto:budi at ...415... -------------- next part -------------- An HTML attachment was scrubbed... URL: From usinggambas at ...43... Thu Oct 28 05:48:34 2004 From: usinggambas at ...43... (Rob Gambas) Date: Wed, 27 Oct 2004 22:48:34 -0500 (CDT) Subject: [Gambas-user] Using Gambas In-Reply-To: <1921846414.20041028101542@...415...> Message-ID: <20041028034834.32788.qmail@...656...> Nope. --- BUDI ARIEF GUSANDI wrote: > Hello Rob, > > is this rob kudla of mandrake ? > > budi > > Thursday, October 28, 2004, 9:16:29 AM, you wrote: > > > I have installed and tested Gambas and I am really > > impressed. I wrote VB years ago, started with v4 > and > > went through v6. Never touched .NET but 2 of the > 3 > > guys at work rave about it like it's the best > thing > > since Peanut Butter. > > > The third one thinks the other two are idiots. :) > > > Anyways, I love this tool! RAD on Linux! Sweet! > > > So I contacted Benoit about what I suspect to be a > > bug. Waiting to hear about it. I was wondering > if > > there was a list of features to be implemented. > > > I had an issue where I wanted to brutally trash > > (honest self evaluation of programming skill) one > of > > the Examples... Being able to "Save Project > As..." > > would have been perfect so I didn't have to go > find it > > and copy it by hand. > > > Anyhow, Will be jumping in with both feet and am > > looking forward to it! Congrats to the team! > > > Regards from Denver, CO. > > Rob > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Mail Address AutoComplete - You start. We > finish. > > http://promotions.yahoo.com/new_mail > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Sybase ASE Linux Express Edition - download now > for FREE > > LinuxWorld Reader's Choice Award Winner for best > database on Linux. > > > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > __________ NOD32 1.900 (20041020) Information > __________ > > > This message was checked by NOD32 antivirus > system. > > http://www.nod32.com > > > > > -- > Best regards, > BUDI mailto:budi at ...415... __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail From ronstk at ...239... Thu Oct 28 07:11:24 2004 From: ronstk at ...239... (ron) Date: Thu, 28 Oct 2004 07:11:24 +0200 Subject: [Gambas-user] bug: Project not loading if component missing Message-ID: <200410280711.24829.ronstk@...239...> If a project of person AAA has a component used for something and person BBB does not have it the project can't be loaded to switch of the component and person BBB can't steal code of it :+) This can only corrected by edit the .project file by commenting the missing library component. I wasn't able to open a project with Rob's pcre component, it was not in the recent 0.99RC1 included yet. The warning is OK but disable compile and run can be set so I can load at least to switch of the missing component and remove the offending code? I.e. change the db driver component. Greet Ron From sourceforge-raindog2 at ...94... Thu Oct 28 07:18:34 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 28 Oct 2004 01:18:34 -0400 Subject: [Gambas-user] Using Gambas In-Reply-To: <1921846414.20041028101542@...415...> References: <20041028021629.52264.qmail@...655...> <1921846414.20041028101542@...415...> Message-ID: <200410280118.34032.sourceforge-raindog2@...94...> On Wednesday 27 October 2004 23:15, BUDI ARIEF GUSANDI wrote: > is this rob kudla of mandrake ? "Rob Gambas" isn't me, but I also don't work for mandrake, just enjoy making packages for it! Rob From oxleyd at ...364... Thu Oct 28 09:21:36 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Thu, 28 Oct 2004 09:21:36 +0200 Subject: [Gambas-user] Using Gambas In-Reply-To: <200410280118.34032.sourceforge-raindog2@...94...> Message-ID: <200410280721.i9S7LsUs008464@...364...> Rob, Is that you on the picture on your site...? Daniel -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Rob Sent: 28 October 2004 07:19 To: gambas-user at lists.sourceforge.net Subject: Re: [Gambas-user] Using Gambas On Wednesday 27 October 2004 23:15, BUDI ARIEF GUSANDI wrote: > is this rob kudla of mandrake ? "Rob Gambas" isn't me, but I also don't work for mandrake, just enjoy making packages for it! Rob ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Thu Oct 28 10:27:03 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 28 Oct 2004 10:27:03 +0200 Subject: [Gambas-user] Using Gambas In-Reply-To: <20041028021629.52264.qmail@...655...> References: <20041028021629.52264.qmail@...655...> Message-ID: <200410281027.03517.gambas@...1...> On Thursday 28 October 2004 04:16, Rob Gambas wrote: > I have installed and tested Gambas and I am really > impressed. I wrote VB years ago, started with v4 and > went through v6. Never touched .NET but 2 of the 3 > guys at work rave about it like it's the best thing > since Peanut Butter. > > The third one thinks the other two are idiots. :) > > Anyways, I love this tool! RAD on Linux! Sweet! > > So I contacted Benoit about what I suspect to be a > bug. Waiting to hear about it. I confirm this is a bug, but I don't know why the resize request is ignored. I must investigate further... > I was wondering if > there was a list of features to be implemented. Read the TODO file in the source package. > > I had an issue where I wanted to brutally trash > (honest self evaluation of programming skill) one of > the Examples... Being able to "Save Project As..." > would have been perfect so I didn't have to go find it > and copy it by hand. You can copy a project in the project creation dialog. > > Anyhow, Will be jumping in with both feet and am > looking forward to it! Congrats to the team! > > Regards from Denver, CO. > Rob > You should use your true name to avoid confusion with Rob Kudla and other Robert there :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Oct 28 10:29:52 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 28 Oct 2004 10:29:52 +0200 Subject: [Gambas-user] Still problems with IDE windows In-Reply-To: <417F44B1.3070506@...221...> References: <417F44B1.3070506@...221...> Message-ID: <200410281029.52175.gambas@...1...> On Wednesday 27 October 2004 08:48, Eilert wrote: > Hi all, > > I just tried again what I described yesterday, and the problems are > still there, now a little bit more clear: It is the last window that > closes when you leave Gambas that will give its X and Y and width and > height values to the first window that will open next time you start > Gambas again. > > Yesterday, I first changed the position of the window with the > components. On the next start, the greeting window of Gambas took its > position and form. Today, I changed the position of the properties > window. Now the greeting window appeared at its position when Gambas > started again. > > In the application I made, there is a small window that appears first to > type in your name. This windows should be centered with Me.Center, but > it doesn't appear in the center anymore. Instead after this test run, > every first window that opens either of the IDE or of any app that is > started now will appear with the size and position of this tiny window. > The properties window, however, always appears with the size and > position of the main window of the once started app... > > I've made screenshots, but I don't wont to bother the mailing list with > it, so send me a mail and I'll send them by pm. > > Rolf > Send me your screenshots, describe the settings of your window manager, and tell me if you compiled gambas from sources, which distribution you use, and which version of qt is installed on your system. Regards, -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Thu Oct 28 14:17:47 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 28 Oct 2004 08:17:47 -0400 Subject: [Gambas-user] Using Gambas In-Reply-To: <200410280721.i9S7LsUs008464@...364...> References: <200410280721.i9S7LsUs008464@...364...> Message-ID: <200410280817.47483.sourceforge-raindog2@...94...> On Thursday 28 October 2004 03:21, Daniel Oxley wrote: > Is that you on the picture on your site...? $ find /documents/web | wc -l 28583 I'm afraid you'll need to be a little more specific. :) Rob From nmarzoni at ...596... Thu Oct 28 16:20:26 2004 From: nmarzoni at ...596... (nmarzoni at ...596...) Date: Thu, 28 Oct 2004 11:20:26 -0300 (ART) Subject: [Gambas-user] FtpClient ERROR#11 Message-ID: <33092.10.0.1.2.1098973226.squirrel@...657...> Hi... I am having problems with the FTPClient. When a try to stop de conection (FTPClient.Stop) the program Crash and show me the signal #11. what am I trying to is change de URL (FTLClient.URL); so as a see, the conection have to be stopped. There exist another way to do it without the FTLClient.Stop? If could somebody helpme to avoid that problem I really thank you... Nicolas Marzoni - Mar del Plata - Argentina From gambas at ...1... Thu Oct 28 18:20:03 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 28 Oct 2004 18:20:03 +0200 Subject: [Gambas-user] Result of Gambas slashdotting Message-ID: <200410281820.03578.gambas@...1...> According to sourceforge.net, the Gambas web site has got more than 20000 hits during October 26th. Almost as many hits in one day than in the best month (June 2004)! Funny :-) -- Benoit Minisini mailto:gambas at ...1... From usinggambas at ...43... Thu Oct 28 18:53:35 2004 From: usinggambas at ...43... (Rob Gambas) Date: Thu, 28 Oct 2004 09:53:35 -0700 (PDT) Subject: [Gambas-user] Result of Gambas slashdotting In-Reply-To: <200410281820.03578.gambas@...1...> Message-ID: <20041028165335.97939.qmail@...658...> --- Benoit Minisini wrote: > According to sourceforge.net, the Gambas web site > has got more than 20000 hits > during October 26th. > > Almost as many hits in one day than in the best > month (June 2004)! > > Funny :-) > > -- > Benoit Minisini > mailto:gambas at ...1... Slashdot's the reason I picked up on the project. You can commence cursing slashdot now... ;) Rob Petty __________________________________ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail From csd at ...659... Thu Oct 28 19:51:58 2004 From: csd at ...659... (Clayton Santos Delfino) Date: Thu, 28 Oct 2004 14:51:58 -0300 Subject: [Gambas-user] subscription Message-ID: <766EE08B7C8A0544A8CA21F452816B4C42FBB8@...660...> From gambasfr at ...11... Thu Oct 28 21:04:14 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Thu, 28 Oct 2004 21:04:14 +0200 Subject: [Gambas-user] slashdotted :) In-Reply-To: <200410271155.27925.gambas@...1...> References: <200410261211.08389.sourceforge-raindog2@...94...> <200410271155.27925.gambas@...1...> Message-ID: <200410282104.14912.gambasfr@...11...> Le mercredi 27 Octobre 2004 11:55, Benoit Minisini a ?crit?: > On Tuesday 26 October 2004 18:11, Rob wrote: > > http://developers.slashdot.org/article.pl?sid=04/10/26/142212 > > > > Comments seem mostly positive apart from "What about kylix?" > > > > Rob > > Well... This is slashdot :-) > > The big problem is the Mac Donald's consumer mentality of many people that > talk about free software. > > I mainly make free software because it's fun, not because I have a > "embarace everything" strategy or whatever you call it (follow my eye...) > > I don't care about .NET, Java, Parrot, Perl, Python, and so on, because I > can make my own interpreter, the way I wanted (mostly), and I'm happy with > that... :-) > > The Gambas interpreter includes no modern technology (JIT compiler, ...), > and is surely slower than others. I don't see any problem with that, > because I can use C or C++ if I need speed :-) > > The people that like the way it was done will follow and help me, the other > will use other tools. I don't see any problem with that. There is place for > everyone and everything in the free software world. > > I wanted to paint a tree. Of course the tree painted by great artists will > be better. But it is my tree :-) > > Fall out! I've read the Linus Torvald book.. Linux is LINUs uniX, Its His unix, not the better at the beginning But he have the joy to do it himself ! Like you Benoit, and you now what ! He do what he want on his system, if someone want other thing he say... DO IT YOURSELF ! Fabien BODARD From karl.reinl at ...9... Thu Oct 28 21:11:19 2004 From: karl.reinl at ...9... (Charlie) Date: Thu, 28 Oct 2004 21:11:19 +0200 Subject: [Gambas-user] PrettyPrinter-0.3.2 for use in IDE References: <41800b3f.2735.0@...9...> <200410280209.54833.ronstk@...239...> Message-ID: <41814457.2030902@...9...> ron schrieb: >On Thursday 28 October 2004 00:55, Charlie Reinl wrote: > > >>>Hi Charlie >>> >>>I don't think there are must to merge PrettyPrinter do it all. There are >>>a small problem with it - it add at line each time you run it. >>> >>> >>If you talk about the last line, I added because so it is easier to paste >>something. It was also Ron's idea. >> >> > >:=) > > > >>If it is realy each time its a bug, normaly it shouldn'T if last line is empty. >> >> >> >>>I will try alter my CPrintSource sow it can print a line at procs. >>>(with an option in the print tab) like the editor. >>> >>>regards >>>Carsten >>> >>> >>> >>> >> Charlie >> >> > >Hi Charlie, > >I have install this 0.3.2 version and oh oh what nice. >The extra line is added if the option for the empty >line between procedures is OFF ? > Tell me all your settings ? And if you can send me the source you use , would be helpfull. >A second cosmethic failure. If option 'tab' instead 'space' is >chosen the tab char. is a space when indent DIM is on? > Proportional or non proportional font ? Sorry can't find it out ? Have to look if there are a differents between my Testing Project and the included in the IDE ! And that PP-0.3.2 was for gambas-0.99 , have to have look what does the IDE-RC1. The Testing Project ran well on RC1. > > >I was giving XML a try but my health is still a problem to. >Just had a attack by updating KDE to my mind :+) >I have got doctor permission to go to Tenerife on Canarian >Islands again, the 6x time. Yummy 6 weeks are planned from December. > >---------------snip --------------- > Happy you, and greets to your doc ;-) Amicalement Charlie From sourceforge-raindog2 at ...94... Thu Oct 28 22:28:53 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 28 Oct 2004 16:28:53 -0400 Subject: [Gambas-user] gambas 1.0 RC1 In-Reply-To: <200410271507.10642.gambas@...1...> References: <200410251856.12779.gambas@...1...> <200410270847.03163.sourceforge-raindog2@...94...> <200410271507.10642.gambas@...1...> Message-ID: <200410281628.53440.sourceforge-raindog2@...94...> On Wednesday 27 October 2004 09:07, Benoit Minisini wrote: > I don't remember... Here is what I have on my box (I > incremented the version number). OK, the wiki is updated! Rob From daniel.campos at ...338... Thu Oct 28 23:13:54 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Thu, 28 Oct 2004 23:13:54 +0200 Subject: [Gambas-user] FtpClient ERROR#11 In-Reply-To: <33092.10.0.1.2.1098973226.squirrel@...657...> References: <33092.10.0.1.2.1098973226.squirrel@...657...> Message-ID: <1098998034.3062.0.camel@...40...> Can you send me your project to test it and find the bug? Regards, Daniel Campos From ronstk at ...239... Fri Oct 29 08:00:37 2004 From: ronstk at ...239... (ron) Date: Fri, 29 Oct 2004 08:00:37 +0200 Subject: [Gambas-user] PrettyPrinter-0.3.2 for use in IDE In-Reply-To: <41814457.2030902@...9...> References: <41800b3f.2735.0@...9...> <200410280209.54833.ronstk@...239...> <41814457.2030902@...9...> Message-ID: <200410290800.37795.ronstk@...239...> On Thursday 28 October 2004 21:11, Charlie wrote: -- snip -- > > > >I have install this 0.3.2 version and oh oh what nice. > >The extra line is added if the option for the empty > >line between procedures is OFF ? > > > Tell me all your settings ? And if you can send me the source you use , > would be helpfull. > The empty line occurs at the end only if the option for 'empty line between procedures' is OFF. It does it with the demo and any other file. > >A second cosmethic failure. If option 'tab' instead 'space' is > >chosen the tab char. is a space when indent DIM is on? > > > Proportional or non proportional font ? My setting was 'non proportional' font. The Monospace. I see a box for the 'tab' characters but a 'space' for 'Dim'. and the 'Dim' should have a indent. The other lines have a box for the 'tab' character. > > Sorry can't find it out ? > Have to look if there are a differents between my Testing Project and > the included in the IDE ! > > And that PP-0.3.2 was for gambas-0.99 , have to have look what does the > IDE-RC1. > The Testing Project ran well on RC1. ??? I installed it on the last 0.99RC1 from the website. > Amicalement > Charlie For the rest as told at begin :) > >I have install this 0.3.2 version and oh oh what nice. Ron P.s.: The empty line was for the paper print. Copy/past in kedit and print. I connected PrettyPrint in context with the real Printer, and has come out it is not printing but the view in IDE. That real printing will be solved by the Print(er) addition of Carsten. From eilert-sprachen at ...221... Fri Oct 29 08:28:36 2004 From: eilert-sprachen at ...221... (Eilert) Date: Fri, 29 Oct 2004 08:28:36 +0200 Subject: [Gambas-user] Still problems with IDE windows In-Reply-To: <200410281029.52175.gambas@...1...> References: <417F44B1.3070506@...221...> <200410281029.52175.gambas@...1...> Message-ID: <4181E314.8010304@...221...> Hi Benoit, thanks for your help. > Send me your screenshots, describe the settings of your window manager, and > tell me if you compiled gambas from sources, which distribution you use, and > which version of qt is installed on your system. - The screenshots were sent 2 days ago - aren't they there yet? - Difficult to say what the settings are: there are dozens of settings, you know, control center, KDE... One of them we already discussed had no effect. - Compiled gambas from sources - Distribution is Suse 9.1 - qt is 3.3.1 BUT THE MOST IMPORTANT QUESTION for me is: is it possible to step back by just doing a "make install" from the former version's directory? Or would that destroy something? Rolf From ronstk at ...239... Fri Oct 29 08:39:47 2004 From: ronstk at ...239... (ron) Date: Fri, 29 Oct 2004 08:39:47 +0200 Subject: [Gambas-user] Result of Gambas slashdotting In-Reply-To: <200410281820.03578.gambas@...1...> References: <200410281820.03578.gambas@...1...> Message-ID: <200410290839.47715.ronstk@...239...> On Thursday 28 October 2004 18:20, Benoit Minisini wrote: > According to sourceforge.net, the Gambas web site has got more than 20000 hits > during October 26th. > > Almost as many hits in one day than in the best month (June 2004)! > > Funny :-) > I think there is much interest for it as VB replacement on linux. Also many gniffing people will take a look for currioussity. :) May be KBasic is more look alike the VB one but I belive as VB 'lover' Gambas has his own charm and have for sure a place in the world. One of the most important things is it is usable as a command replacement for the bash scripts too without all the X and QT stuff. In that way it is a equivalent to the Windows Shell Host with 'visual basic scripting' as language. This fact is for new people in the linux world not understanding the cryptic bash scripts a simpler way to do jobs. A less seen fact. Even if it is not the best solution in view of others, not try to use it is also a wrong solution to make a statement it is wrong or bad. And that is for everyone there personal feeling. I like Gambas, still a inactive side view to KBasic as 2'nd option, for the complete different way it is designed and works. Ron From picander78 at ...325... Fri Oct 29 12:33:26 2004 From: picander78 at ...325... (Marco Gusy) Date: Fri, 29 Oct 2004 12:33:26 +0200 Subject: [Gambas-user] Result of Gambas slashdotting In-Reply-To: <200410281820.03578.gambas@...1...> References: <200410281820.03578.gambas@...1...> Message-ID: <200410291233.26509.picander78@...325...> try this: go to http://www.sf.net/projects/gambas Go to "view project activity statistics" Select "Last 30 days" in the combobox Cool! From lbaudio at ...172... Fri Oct 29 11:47:17 2004 From: lbaudio at ...172... (LB Audio) Date: Fri, 29 Oct 2004 07:47:17 -0200 (Hora oficial do Brasil) Subject: [Gambas-user] Read in EXEC..... References: <20041028021629.52264.qmail@...655...> Message-ID: <418211A5.000001.00216@...661...> How to read the time of the file used in the command EXEC [MPG321 ", SONG.MP3 "] FOR READ WRITE AS $HPROCESS?????? Thanks.... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: BackGrnd.jpg Type: image/jpeg Size: 1431 bytes Desc: not available URL: From ronstk at ...239... Fri Oct 29 13:08:29 2004 From: ronstk at ...239... (ron) Date: Fri, 29 Oct 2004 13:08:29 +0200 Subject: [Gambas-user] Result of Gambas slashdotting In-Reply-To: <200410291233.26509.picander78@...325...> References: <200410281820.03578.gambas@...1...> <200410291233.26509.picander78@...325...> Message-ID: <200410291308.29967.ronstk@...239...> On Friday 29 October 2004 12:33, Marco Gusy wrote: > try this: > go to http://www.sf.net/projects/gambas > Go to "view project activity statistics" > Select "Last 30 days" in the combobox > > Cool! > Yeah nice to see much viewers. The blue line for downloads isn't visible or it must be at level 0 Now a increase in real users can start, thats what really count. Benoit can be happy it starts to get heavy attention, risk of many requests to do this or that will come. Ron -------------- next part -------------- A non-text attachment was scrubbed... Name: feest013.gif Type: image/gif Size: 1390 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: trink6.gif Type: image/gif Size: 4984 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: worshippy.gif Type: image/gif Size: 1732 bytes Desc: not available URL: From ronstk at ...239... Fri Oct 29 13:23:24 2004 From: ronstk at ...239... (ron) Date: Fri, 29 Oct 2004 13:23:24 +0200 Subject: [Gambas-user] Read in EXEC..... In-Reply-To: <418211A5.000001.00216@...661...> References: <20041028021629.52264.qmail@...655...> <418211A5.000001.00216@...661...> Message-ID: <200410291323.24987.ronstk@...239...> On Friday 29 October 2004 11:47, LB Audio wrote: > How to read the time of the file used in the command > EXEC [MPG321 ", SONG.MP3 "] FOR READ WRITE AS $HPROCESS?????? > > Thanks.... I think you can't do it this way. The shell is doing the play. You are using the wrong program I'm afraid. Only if MPG321 sends to console the time you can read it from $hProcess and as far I know it does not. With mplayer you can read the process to get information about more then only time and is can work in the background as mp321 also does. From ronstk at ...239... Fri Oct 29 13:26:10 2004 From: ronstk at ...239... (ron) Date: Fri, 29 Oct 2004 13:26:10 +0200 Subject: [Gambas-user] Read in EXEC..... In-Reply-To: <418211A5.000001.00216@...661...> References: <20041028021629.52264.qmail@...655...> <418211A5.000001.00216@...661...> Message-ID: <200410291326.10404.ronstk@...239...> On Friday 29 October 2004 11:47, LB Audio wrote: > How to read the time of the file used in the command > EXEC [MPG321 ", SONG.MP3 "] FOR READ WRITE AS $HPROCESS?????? > > Thanks.... BTW. this is a mail list. HTML is already a disaster to have, backgrounds make it more worse :+) From picander78 at ...325... Fri Oct 29 14:23:56 2004 From: picander78 at ...325... (Marco Gusy) Date: Fri, 29 Oct 2004 14:23:56 +0200 Subject: [Gambas-user] Result of Gambas slashdotting In-Reply-To: <200410291308.29967.ronstk@...239...> References: <200410281820.03578.gambas@...1...> <200410291233.26509.picander78@...325...> <200410291308.29967.ronstk@...239...> Message-ID: <200410291423.56526.picander78@...325...> Alle 13:08, venerd? 29 ottobre 2004, ron ha scritto: > The blue line for downloads isn't visible or it must be at level 0 The download are 0 because the Gambas site points to tar.bz2's in the webspace, instead of using the "files" section in project page. By the way... why? From sourceforge-raindog2 at ...94... Fri Oct 29 16:11:10 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 29 Oct 2004 10:11:10 -0400 Subject: [Gambas-user] Read in EXEC..... In-Reply-To: <200410291323.24987.ronstk@...239...> References: <20041028021629.52264.qmail@...655...> <418211A5.000001.00216@...661...> <200410291323.24987.ronstk@...239...> Message-ID: <200410291011.10884.sourceforge-raindog2@...94...> On Friday 29 October 2004 07:23, ron wrote: > On Friday 29 October 2004 11:47, LB Audio wrote: > > How to read the time of the file used in the command > > EXEC [MPG321 ", SONG.MP3 "] FOR READ WRITE AS > > $HPROCESS?????? > Only if MPG321 sends to console the time you can read it from > $hProcess and as far I know it does not. It does if you use -v. I couldn't get it to work with exec though. Also, mpg321 writes its time information to stderr, not stdout. SHELL "mpg321 -v \"song.mp3\" 2>&1" FOR READ WRITE AS $hprocess ... PUBLIC SUB Process_Read() dim l as string dim t as string if LAST.Id = $hprocess.Id then LINE INPUT #$hprocess, l if instr(l, "Time: ") then t = mid(l, instr(l, "Time: ") + 6, 8) ' do something with t now... endif endif END From sourceforge-raindog2 at ...94... Fri Oct 29 14:19:12 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 29 Oct 2004 08:19:12 -0400 Subject: [Gambas-user] Result of Gambas slashdotting In-Reply-To: <200410291308.29967.ronstk@...239...> References: <200410281820.03578.gambas@...1...> <200410291233.26509.picander78@...325...> <200410291308.29967.ronstk@...239...> Message-ID: <200410290819.12773.sourceforge-raindog2@...94...> On Friday 29 October 2004 07:08, ron wrote: > The blue line for downloads isn't visible or it must be at > level 0 The download count is only for the files in the sf.net project page's files section, and Benoit has always linked directly to the tarballs from the gambas homepage... I suppose when 1.0 comes out he should probably put it in the project's files section in addition to linking directly. Rob From sourceforge-raindog2 at ...94... Fri Oct 29 16:13:11 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 29 Oct 2004 10:13:11 -0400 Subject: [Gambas-user] Result of Gambas slashdotting In-Reply-To: <200410291423.56526.picander78@...325...> References: <200410281820.03578.gambas@...1...> <200410291308.29967.ronstk@...239...> <200410291423.56526.picander78@...325...> Message-ID: <200410291013.11791.sourceforge-raindog2@...94...> On Friday 29 October 2004 08:23, Marco Gusy wrote: > The download are 0 because the Gambas site points to tar.bz2's > in the webspace, instead of using the "files" section in > project page. > By the way... why? Speaking as someone who downloads every release of Gambas, sometimes multiple times, I really appreciate the availability of a direct link to the tarball. Sourceforge's "click here to download, then pick a mirror, then get another interstitial page which finally redirects you to the download" doesn't work well with wget. Rob From lbaudio at ...172... Fri Oct 29 16:08:26 2004 From: lbaudio at ...172... (LB Audio) Date: Fri, 29 Oct 2004 12:08:26 -0200 (Hora oficial do Brasil) Subject: [Gambas-user] Help Functions Gambas References: <200410291011.10884.sourceforge-raindog2@...94...> Message-ID: <41824EDA.000001.01208@...661...> Where finds a help of all the functions of GAMBAS ??? -------------- next part -------------- An HTML attachment was scrubbed... URL: From scatman_ at ...17... Fri Oct 29 17:30:57 2004 From: scatman_ at ...17... (scatman) Date: Fri, 29 Oct 2004 17:30:57 +0200 Subject: [Gambas-user] Help Functions Gambas In-Reply-To: <41824EDA.000001.01208@...661...> References: <200410291011.10884.sourceforge-raindog2@...94...> <41824EDA.000001.01208@...661...> Message-ID: <200410291730.57759.scatman_@...17...> Am Freitag, 29. Oktober 2004 16:08 schrieb LB Audio: > Where finds a help of all the functions of GAMBAS ??? Press F1 ? -- scatman From lbaudio at ...172... Fri Oct 29 17:43:36 2004 From: lbaudio at ...172... (LB Audio) Date: Fri, 29 Oct 2004 13:43:36 -0200 (Hora oficial do Brasil) Subject: [Gambas-user] Read in EXEC..... to Rob References: <200410291011.10884.sourceforge-raindog2@...94...> Message-ID: <41826528.000001.03288@...661...> Hello Rob ERROR Message error in Gambas: Error -> End OF File PUBLIC SUB Process_Read() DIM sData AS String DIM l AS String DIM t AS String READ #LAST, sData, -255 IF LAST.Id = $hprocess.Id THEN LINE INPUT #$hprocess, l ->>>>>>>>>>>>>>>>>>>>>>> Error IF Instr(l, "Time: ") THEN t = Mid(l, Instr(l, "Time: ") + 6, 8) ' do something with t now... label1.Caption = t ENDIF ENDIF END -------------- next part -------------- An HTML attachment was scrubbed... URL: From scatman_ at ...17... Fri Oct 29 19:24:00 2004 From: scatman_ at ...17... (scatman) Date: Fri, 29 Oct 2004 19:24:00 +0200 Subject: [Gambas-user] Read in EXEC..... to Rob In-Reply-To: <41826528.000001.03288@...661...> References: <200410291011.10884.sourceforge-raindog2@...94...> <41826528.000001.03288@...661...> Message-ID: <200410291924.00672.scatman_@...17...> Am Freitag, 29. Oktober 2004 17:43 schrieb LB Audio: > PUBLIC SUB Process_Read() > DIM sData AS String > DIM l AS String > DIM t AS String > > READ #LAST, sData, -255 > > IF LAST.Id = $hprocess.Id THEN > LINE INPUT #$hprocess, l ->>>>>>>>>>>>>>>>>>>>>>> Error > IF Instr(l, "Time: ") THEN > t = Mid(l, Instr(l, "Time: ") + 6, 8) > ' do something with t now... > label1.Caption = t > ENDIF > ENDIF > > END WHILE NOT Eof(LAST) LINE INPUT #LAST, sData WEND -- scatman From ronstk at ...239... Fri Oct 29 20:36:38 2004 From: ronstk at ...239... (Ron Onstenk) Date: Fri, 29 Oct 2004 20:36:38 +0200 Subject: [Gambas-user] Read in EXEC..... to Rob In-Reply-To: <41826528.000001.03288@...661...> References: <200410291011.10884.sourceforge-raindog2@...94...> <41826528.000001.03288@...661...> Message-ID: <200410292036.38743.ronstk@...239...> On Friday 29 October 2004 17:43, LB Audio wrote: > Hello Rob > > ERROR > > Message error in Gambas: Error -> End OF File > > PUBLIC SUB Process_Read() > DIM sData AS String > DIM l AS String > DIM t AS String > > READ #LAST, sData, -255 > > IF LAST.Id = $hprocess.Id THEN > LINE INPUT #$hprocess, l ->>>>>>>>>>>>>>>>>>>>>>> Error > IF Instr(l, "Time: ") THEN > t = Mid(l, Instr(l, "Time: ") + 6, 8) > ' do something with t now... > label1.Caption = t > ENDIF > ENDIF > > END What are you try to do with > READ #LAST, sData, -255 If it works the possibility is that it read the whole $hprocess data and nothing available for the LINE INPUT. And as the message tells 'End OF File' it does just that. The object LAST is the one that invokes the event. The event is Process_Read and does for all declared process handles. In this way Process_Read is a common event entry for 1 till n of them and you must use the Last.ID to determine what the actions are for it. If you have more declared Process handles it should be done the same way as de $hprocess.id logic for the mpg321 PUBLIC SUB Process_Read() IF LAST.Id = $hprocess.Id THEN bla bla mpg321 ENDIF IF LAST.Id = $hprocessother.Id THEN READ #LAST, sData, -255 ENDIF END Suc6 From sourceforge-raindog2 at ...94... Fri Oct 29 21:41:12 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 29 Oct 2004 15:41:12 -0400 Subject: [Gambas-user] Read in EXEC..... to Rob In-Reply-To: <41826528.000001.03288@...661...> References: <200410291011.10884.sourceforge-raindog2@...94...> <41826528.000001.03288@...661...> Message-ID: <200410291541.12942.sourceforge-raindog2@...94...> On Friday 29 October 2004 11:43, LB Audio wrote: > Message error in Gambas: Error -> End OF File Not too surprising, see below... > PUBLIC SUB Process_Read() ... > READ #LAST, sData, -255 OK, so you've read up to 255 characters from the process. > LINE INPUT #$hprocess, l ->>>>>>>>>>>>>>>>>>>>>>> Error Now you're trying to read from the process again! Unless it returned more than 255 characters you are going to get an error. I suggest you remove that READ line, or put it in the ELSE block of the IF LAST.Id... statement. Rob From karl.reinl at ...9... Fri Oct 29 22:16:28 2004 From: karl.reinl at ...9... (Charlie) Date: Fri, 29 Oct 2004 22:16:28 +0200 Subject: [Gambas-user] About Source Printing and PrettyPrinting Message-ID: <4182A51C.2050108@...9...> Salut, Why PrettyPrinter is called like this: My first contact with PrettyPrinting was some years ago, and if you belive or not I ditn't understand what it means. History: PrettyPrinting it the terme used by SAP to well format the Sourcecode. For me well formated Sourcecode, is very important, because if I scroll over the code to find something I to it very quick (the scrolling) and by the way the code looks I find the place I look for. So I allway try to write well formated code. Therefor I'm interested in tools who helps me, to well format the code. Till that day I formated my code by hand, now I could write quicke and easier and push the button, .. I had at the end well formated code. That why at first time I ditn't see the difference. A last to printing: It must be around 1983, the slogan was given 'paperless Office' .... a dream for us.... (the naturel enemy of a programers, is the printer) And with WYSIWYG, it became worster. But now about 21 years later i can say , they where wrong. The 'paperless Office' exists only in the minds of tax-officers. There are allways the problem of too long lines, not enought place on the page, not taking care off the hardware problems etc. etc Not SAP or IBM or one of the other, have solved this problem. And for that I have to say gambas can print the sources in a good way So I had to clean up my HP OfficeJet 710 with 96? alcohol and ear-stics during 1h to test Carstens Sourceprinter, because with a bad paper tracking the colors change, or the printer returns an error. I DON'T LIKE PRINTERS.... Amicalement Charlie From lbaudio at ...172... Fri Oct 29 21:38:34 2004 From: lbaudio at ...172... (LB Audio) Date: Fri, 29 Oct 2004 17:38:34 -0200 (Hora oficial do Brasil) Subject: [Gambas-user] Read in EXEC..... to Rob References: <200410291541.12942.sourceforge-raindog2@...94...> Message-ID: <41829C3A.000004.01392@...661...> OK...OK... 'Simple Code Problem ' Gambas class file PUBLIC SUB Process_Read() DIM sLine AS String LINE INPUT #LAST, sLine txt01.Text = sLine END PUBLIC SUB Button1_Click() EXEC [ "ls", "-la" ] FOR READ 'Yes - Return String in Process 'EXEC [ "mplayer","file.mp3" ] FOR READ 'Yes - Return String in Process 'EXEC [ "mpg321","-v","file.mp3" ] FOR READ 'No - Return String in Process 'EXEC [ "mpg123","-v","file.mp3" ] FOR READ 'No - Return String in Process 'Please I use mpg123 command END -------Original Message------- From: gambas-user at lists.sourceforge.net Date: 29/10/2004 17:51:47 To: gambas-user at lists.sourceforge.net Subject: Re: [Gambas-user] Read in EXEC..... to Rob On Friday 29 October 2004 11:43, LB Audio wrote: > Message error in Gambas: Error -> End OF File Not too surprising, see below... > PUBLIC SUB Process_Read() .... > READ #LAST, sData, -255 OK, so you've read up to 255 characters from the process. > LINE INPUT #$hprocess, l ->>>>>>>>>>>>>>>>>>>>>>> Error Now you're trying to read from the process again! Unless it returned more than 255 characters you are going to get an error. I suggest you remove that READ line, or put it in the ELSE block of the IF LAST.Id... statement. Rob ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: BackGrnd.jpg Type: image/jpeg Size: 1431 bytes Desc: not available URL: From lbaudio at ...172... Fri Oct 29 21:34:02 2004 From: lbaudio at ...172... (LB Audio) Date: Fri, 29 Oct 2004 17:34:02 -0200 (Hora oficial do Brasil) Subject: [Gambas-user] Persist problem in EXEC..... References: <200410291924.00672.scatman_@...17...> Message-ID: <41829B2A.000001.01392@...661...> 'Simple Code Problem ' Gambas class file PUBLIC SUB Process_Read() DIM sLine AS String LINE INPUT #LAST, sLine txt01.Text = sLine END PUBLIC SUB Button1_Click() EXEC [ "ls", "-la" ] FOR READ 'Yes - Return String in Process 'EXEC [ "mplayer","file.mp3" ] FOR READ 'Yes - Return String in Process 'EXEC [ "mpg321","-v","file.mp3" ] FOR READ 'No - Return String in Process 'EXEC [ "mpg123","-v","file.mp3" ] FOR READ 'No - Return String in Process 'Please I use mpg123 command END -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: BackGrnd.jpg Type: image/jpeg Size: 1431 bytes Desc: not available URL: From lbaudio at ...172... Fri Oct 29 21:43:05 2004 From: lbaudio at ...172... (LB Audio) Date: Fri, 29 Oct 2004 17:43:05 -0200 (Hora oficial do Brasil) Subject: [Gambas-user] Read in EXEC..... to Rob References: <200410292036.38743.ronstk@...239...> Message-ID: <41829D49.000007.01392@...661...> Process_Read doesn't work in mpg321 or mpg123 ? ....???? -------Original Message------- From: gambas-user at lists.sourceforge.net Date: 29/10/2004 16:44:25 To: gambas-user at lists.sourceforge.net Subject: Re: [Gambas-user] Read in EXEC..... to Rob On Friday 29 October 2004 17:43, LB Audio wrote: > Hello Rob > > ERROR > > Message error in Gambas: Error -> End OF File > > PUBLIC SUB Process_Read() > DIM sData AS String > DIM l AS String > DIM t AS String > > READ #LAST, sData, -255 > > IF LAST.Id = $hprocess.Id THEN > LINE INPUT #$hprocess, l ->>>>>>>>>>>>>>>>>>>>>>> Error > IF Instr(l, "Time: ") THEN > t = Mid(l, Instr(l, "Time: ") + 6, 8) > ' do something with t now... > label1.Caption = t > ENDIF > ENDIF > > END What are you try to do with > READ #LAST, sData, -255 If it works the possibility is that it read the whole $hprocess data and nothing available for the LINE INPUT. And as the message tells 'End OF File' it does just that. The object LAST is the one that invokes the event. The event is Process_Read and does for all declared process handles. In this way Process_Read is a common event entry for 1 till n of them and you must use the Last.ID to determine what the actions are for it. If you have more declared Process handles it should be done the same way as de $hprocess.id logic for the mpg321 PUBLIC SUB Process_Read() IF LAST.Id = $hprocess.Id THEN bla bla mpg321 ENDIF IF LAST.Id = $hprocessother.Id THEN READ #LAST, sData, -255 ENDIF END Suc6 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronstk at ...239... Fri Oct 29 23:37:32 2004 From: ronstk at ...239... (Ron Onstenk) Date: Fri, 29 Oct 2004 23:37:32 +0200 Subject: [Gambas-user] About Source Printing and PrettyPrinting In-Reply-To: <4182A51C.2050108@...9...> References: <4182A51C.2050108@...9...> Message-ID: <200410292337.33119.ronstk@...239...> On Friday 29 October 2004 22:16, Charlie wrote: > Salut, --snip--- > So I allway try to write well formated code. > Therefor I'm interested in tools who helps me, to well format the code. Thats the reason I like you PrettyPrint > A last to printing: > > It must be around 1983, the slogan was given 'paperless Office' .... > a dream for us.... (the naturel enemy of a programers, is the printer) > And with WYSIWYG, it became worster. > But now about 21 years later i can say , they where wrong. > The 'paperless Office' exists only in the minds of tax-officers. > There are allways the problem of too long lines, not enought place > on the page, > not taking care off the hardware problems etc. etc This time it look to me the opposite, more paper instead less. Special in offices where Fenster 98,ME and XP is used, as security backup when there is a little hick in the system. > > Not SAP or IBM or one of the other, have solved this problem. > > And for that I have to say gambas can print the sources in a good way > > So I had to clean up my HP OfficeJet 710 with 96? alcohol and > ear-stics during 1h > to test Carstens Sourceprinter, because with a bad paper tracking > the colors change, or the printer returns an error. The reason I also don't use the printer so much and color is to expensive. The ink is dry out before the second print is made :) The way I did test was using print to file *.ps and Kgostview to see. > > I DON'T LIKE PRINTERS.... I understand with 4000 pages tractor feed 10 years old and -1 sheet A4 > > Amicalement > Charlie > Thanks for you story :+) :+) Ron From Wsouzap at ...87... Sat Oct 30 00:28:27 2004 From: Wsouzap at ...87... (Wsouzap at ...87...) Date: Fri, 29 Oct 2004 18:28:27 -0400 Subject: [Gambas-user] columnview with editable cell Message-ID: <68575EC5.7D323502.001B903D@...87...> Hi! Howto make one columnview or other control with gridcell with the editable cell??? Reguards, Wellington From picander78 at ...325... Sat Oct 30 00:49:32 2004 From: picander78 at ...325... (Marco Gusy) Date: Sat, 30 Oct 2004 00:49:32 +0200 Subject: [Gambas-user] columnview with editable cell In-Reply-To: <68575EC5.7D323502.001B903D@...87...> References: <68575EC5.7D323502.001B903D@...87...> Message-ID: <200410300049.32881.picander78@...325...> Alle 00:28, sabato 30 ottobre 2004, Wsouzap at ...87... ha scritto: > Howto make one columnview or other control with gridcell with the editable > cell??? Like you (maybe), I think an editable gridview/columnview would increase a lot Gambas possibilities. At this point the only way is to use a little hack (moving a textbox over the grid/column control). Try to open the gambas IDE project... and study how the properties window works. Marco From sourceforge-raindog2 at ...94... Sat Oct 30 00:50:45 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 29 Oct 2004 18:50:45 -0400 Subject: [Gambas-user] Persist problem in EXEC..... In-Reply-To: <41829B2A.000001.01392@...661...> References: <200410291924.00672.scatman_@...17...> <41829B2A.000001.01392@...661...> Message-ID: <200410291850.45424.sourceforge-raindog2@...94...> On Friday 29 October 2004 15:34, LB Audio wrote: >'EXEC [ "mpg321","-v","file.mp3" ] FOR READ > 'No - Return String in Process >'EXEC [ "mpg123","-v","file.mp3" ] FOR READ > 'No - Return String in Process As I mentioned previously, you need "2>&1" at the end of the command line to redirect mpg321's standard error stream (where it writes its output!) to standard output so it will trigger Process_Read. If you do not want to do that, I forgot that there is a Process_Error event that you can use instead! http://www.binara.com/gambas-wiki/static/Gambas/GbProcessEError.html Rob From sourceforge-raindog2 at ...94... Sat Oct 30 00:47:34 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 29 Oct 2004 18:47:34 -0400 Subject: [Gambas-user] Read in EXEC..... to Rob In-Reply-To: <41829D49.000007.01392@...661...> References: <200410292036.38743.ronstk@...239...> <41829D49.000007.01392@...661...> Message-ID: <200410291847.34949.sourceforge-raindog2@...94...> On Friday 29 October 2004 15:43, LB Audio wrote: > Process_Read > doesn't work in mpg321 or mpg123 ? > ....???? It should, if you specify mpg321's "-v" option and redirect stderr to stdout (2>&1) as I described in an earlier post. It's possible you should be using the gb.sdl component to do this, depending on what you're trying to accomplish... Rob From sourceforge-raindog2 at ...94... Sat Oct 30 00:54:49 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 29 Oct 2004 18:54:49 -0400 Subject: [Gambas-user] columnview with editable cell In-Reply-To: <68575EC5.7D323502.001B903D@...87...> References: <68575EC5.7D323502.001B903D@...87...> Message-ID: <200410291854.49214.sourceforge-raindog2@...94...> On Friday 29 October 2004 18:28, Wsouzap at ...87... wrote: > Howto make one columnview or other control with gridcell with > the editable cell??? Did you search the help for "editable"? http://www.binara.com/gambas-wiki/bin/view/Gambas/GbQtColumnViewPEditable You can also set the items editable individually, but if I remember correctly, in a columnview only the first column is editable... someone can correct me if I'm wrong. Rob From ronstk at ...239... Sat Oct 30 01:37:38 2004 From: ronstk at ...239... (Ron Onstenk) Date: Sat, 30 Oct 2004 01:37:38 +0200 Subject: [Gambas-user] Req: Help update Message-ID: <200410300137.38362.ronstk@...239...> Hi Rob, As result of you last post I was at the wiki site. When I'm right the url http://www.binara.com/gambas-wiki/bin/view/GbXmlLibxmlXmlNodeCAttributeDecl is the file need in the local help. As far I can see is in http://www.binara.com/gambas-wiki/bin/view/Gambas the help files that is used in the help from local directory file:/opt/gambas/share/gambas/help. My request is if that is true if it is possible to provide the files as a gz download, special after new components are add ATM the xml is not in the help local but existing in the wiki. I'm thinking of 2 archives. 1 the most recent version in total and 2 an incremental with last week updated or if the system load it allows a daily set of 7 days. It's just a idea because in the last version the xml and pcre not exist in the help, i know pcre is not in the components yet but I hate the Page not found for the other existing in wiki :) I can always try it with Kget on several pages to collect the urls but the system load is more havy then 1 archive file. I want to have it on the laptop because in 4 weeks I'm possible 6 weeks of line and I can't miss gambas, it taste to good. Ron From lbaudio at ...172... Sat Oct 30 01:54:12 2004 From: lbaudio at ...172... (LB Audio) Date: Fri, 29 Oct 2004 21:54:12 -0200 (Hora oficial do Brasil) Subject: [Gambas-user] Read in EXEC..... to Rob References: <200410291847.34949.sourceforge-raindog2@...94...> Message-ID: <4182D824.000001.02396@...661...> Rob... I wanted to use gb.sdl, but doesn't have the total time of the audio mp3. I am writing a program in skunks to play mp3 playlis. I am DJ and programmer in VB the more than 5 years. I have a program that I wrote using bass.dll. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronstk at ...239... Sat Oct 30 03:46:00 2004 From: ronstk at ...239... (Ron Onstenk) Date: Sat, 30 Oct 2004 03:46:00 +0200 Subject: [Gambas-user] Read in EXEC..... to Rob In-Reply-To: <4182D824.000001.02396@...661...> References: <200410291847.34949.sourceforge-raindog2@...94...> <4182D824.000001.02396@...661...> Message-ID: <200410300346.00140.ronstk@...239...> On Saturday 30 October 2004 01:54, LB Audio wrote: > Rob... > > I wanted to use gb.sdl, but doesn't have the total time of the audio mp3. > I am writing a program in skunks to play mp3 playlis. > I am DJ and programmer in VB the more than 5 years. > I have a program that I wrote using bass.dll. take a look at http://www.ibiblio.org/mp3info/mp3info.html search for -p "FORMAT_STRING" Conversion Specifiers %f Filename without the path [string] %F Filename with the path [string] %i File size in bytes [integer] %k File size in kilobytes [integer] %a Artist [string] %c Comment [string] %g Musical genre [string] %G Musical genre number [integer] %l Album name [string] %n Track [integer] %t Track Title [string] %y Year [string] %C Copyright flag [string] %e Emphasis [string] %E CRC Error protection [string] %L MPEG Layer [string] %O Original material flag [string] %o Stereo/mono mode [string] %p Padding [string] %v MPEG Version [float] %u Number of good audio frames [integer] %b Number of corrupt audio frames [integer] %Q Sampling frequency in Hz [integer] %q Sampling frequency in KHz [integer] %r Bit Rate in KB/s (type and meaning affected by -r option) %m Playing time: minutes only [integer] %s Playing time: seconds only [integer] (usually used in conjunction with %m) %S Total playing time in seconds [integer] the %m and %s is what you request now. In the future you maybe want more :) Hope this can help you. Ron From sourceforge-raindog2 at ...94... Sat Oct 30 06:36:05 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 30 Oct 2004 00:36:05 -0400 Subject: [Gambas-user] Req: Help update In-Reply-To: <200410300137.38362.ronstk@...239...> References: <200410300137.38362.ronstk@...239...> Message-ID: <200410300036.05953.sourceforge-raindog2@...94...> On Friday 29 October 2004 19:37, Ron Onstenk wrote: > My request is if that is true if it is possible to provide > the files as a gz download, special after new components are > add ATM the xml is not in the help local but existing in the > wiki. Well, there's been a .zip version produced every day for about the last year or so ;) See the wiki's home page: http://www.binara.com/gambas-wiki/bin/view/Gambas/WebHome The second link reads like so: - An offline HTML version of this wiki may be downloaded [here]. Note: This is the same set of files that make up the Gambas help system! Only download it if you need the help files for a more current version of Gambas than you have installed. (Obviously this time around that's not true...) I'm pretty sure that they're arranged such that if you unzip them into your /usr/share/gambas/help directory, overwriting what's there, the Gambas help system should be updated. Rob From sourceforge-raindog2 at ...94... Sat Oct 30 06:44:25 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 30 Oct 2004 00:44:25 -0400 Subject: [Gambas-user] Read in EXEC..... to Rob In-Reply-To: <4182D824.000001.02396@...661...> References: <200410291847.34949.sourceforge-raindog2@...94...> <4182D824.000001.02396@...661...> Message-ID: <200410300044.25129.sourceforge-raindog2@...94...> On Friday 29 October 2004 19:54, LB Audio wrote: > I wanted to use gb.sdl, but doesn't have the total time of the > audio mp3. I am writing a program in skunks to play mp3 > playlis. I am DJ and programmer in VB the more than 5 years. > I have a program that I wrote using bass.dll. Yeah, as I said last week, you won't get a reliable total time of the mp3 using most common mp3 utilities. mpg321 will give you running time and an approximation of total time, but it will change constantly if your mp3 file is variable bitrate. The sample code I provided will give you running time... total time is in square brackets following it in mpg321's output, like so: Playing MPEG stream from 01 - Yes - Close To The Edge.mp3 ... MPEG 1.0, Layer: III, Freq: 44100, mode: Joint-Stereo, modext: 2, BPF : 2560 Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0. Bitrate: 128 Kbits/s, Extension value: 2 Audio: 1:1 conversion, rate: 44100, encoding: signed 16 bit, channels: 2 Frame# 119 [42859], Time: 00:03.10 [18:39.58], [0:03] Decoding of 01 - Yes - Close To The Edge.mp3 finished. You can use every line there (mpg321 also outputs some lines I didn't include, like the no-warranty notice.) Line 1 tells you it's successfully playing the file, and the filename. Line 2 tells whether it's MPEG-1 or MPEG-2, Layer II or III (mp3's should always be III), its original sample rate, what kind of stereo encoding it has if any, and the bits per frame. Line 3 tells how many channels are in the file, and the mp3 flags no one ever uses for copy protection and error correction. Line 4 tells you the bitrate of the first frame... not so useful, really. Line 5 tells you the output audio format, and finally, line 6 tells you the frame number, total number of frames, the time elapsed and the estimate of total time. You can look for line 7 to determine when mpg321 has exited safely. Rob From spaun at ...662... Sat Oct 30 10:13:27 2004 From: spaun at ...662... (Paun) Date: Sat, 30 Oct 2004 10:13:27 +0200 Subject: [Gambas-user] Installation problem References: <200410291847.34949.sourceforge-raindog2@...94...> <4182D824.000001.02396@...661...> <200410300044.25129.sourceforge-raindog2@...94...> Message-ID: <001d01c4be58$568eb8d0$6501010a@...663...> I try to migrate from win to linux, and Gambas is one of the reasons for that. But i have beginger problems with instalation. After installation of MDK linux 9.2 I try to install packages for Gambas 0.99 and I have message Unable to install package due to unsatisfied libsqlite.so.0. I find and install package sqllite, but this was not the solve problem. After instalation of MDK 10.00 I have much more these error messages about dependencies. What is solution? Why is not possible to install Gambas 0.99 or RC1 on clean MDK 9.2 or 10.00, and what I need to install first? I have now MDK 10.00 Community installation. --- AVG je proverio postu i potvrdio da nema prikacenih virusa. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.778 / Virus Database: 525 - Release Date: 10/15/2004 From jscops at ...11... Sat Oct 30 11:03:22 2004 From: jscops at ...11... (Jack) Date: Sat, 30 Oct 2004 11:03:22 +0200 Subject: [Gambas-user] Compile In-Reply-To: <004801c4bb4a$1a751030$0100a8c0@...651...> References: <200410260818.i9Q8I9Us003364@...364...> <004801c4bb4a$1a751030$0100a8c0@...651...> Message-ID: <200410301103.22436.jscops@...11...> Bonjour, Please, if somebody can tell me what make compile(F7) and compile all (Alt + F7) in Gambas menu ? Thank you very much. ~? Jack ?~ From gambas at ...1... Sat Oct 30 16:32:15 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 30 Oct 2004 16:32:15 +0200 Subject: [Gambas-user] Compile In-Reply-To: <200410301103.22436.jscops@...11...> References: <200410260818.i9Q8I9Us003364@...364...> <004801c4bb4a$1a751030$0100a8c0@...651...> <200410301103.22436.jscops@...11...> Message-ID: <200410301632.15554.gambas@...1...> On Saturday 30 October 2004 11:03, Jack wrote: > Bonjour, > > Please, if somebody can tell me what make compile(F7) and compile all (Alt > + F7) in Gambas menu ? > > Thank you very much. > > ~? Jack ?~ > > Welcome curious :-) "Compile" just compiles the modified files. "Compile all" recompiles every file, modified or not. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Oct 30 16:34:33 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 30 Oct 2004 16:34:33 +0200 Subject: [Gambas-user] Still problems with IDE windows In-Reply-To: <4181E314.8010304@...221...> References: <417F44B1.3070506@...221...> <200410281029.52175.gambas@...1...> <4181E314.8010304@...221...> Message-ID: <200410301634.33769.gambas@...1...> On Friday 29 October 2004 08:28, Eilert wrote: > Hi Benoit, > > thanks for your help. > > > Send me your screenshots, describe the settings of your window manager, > > and tell me if you compiled gambas from sources, which distribution you > > use, and which version of qt is installed on your system. > > - The screenshots were sent 2 days ago - aren't they there yet? > > - Difficult to say what the settings are: there are dozens of settings, > you know, control center, KDE... One of them we already discussed had no > effect. > > - Compiled gambas from sources > > - Distribution is Suse 9.1 > > - qt is 3.3.1 > > BUT THE MOST IMPORTANT QUESTION for me is: is it possible to step back > by just doing a "make install" from the former version's directory? Or > would that destroy something? > > Rolf > Everything is installed in the gambas installation directory, except the symbolic links in /usr/bin: /usr/bin/gb? and /usr/bin/gambas So you can use "make uninstall" to uninstall from the source directory you used to compile gambas, or you can remove the symbolic links by hand, remove the gambas installation directory, and then recompile any source package from scratch. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Oct 30 16:48:07 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 30 Oct 2004 16:48:07 +0200 Subject: [Gambas-user] Result of Gambas slashdotting In-Reply-To: <200410291013.11791.sourceforge-raindog2@...94...> References: <200410281820.03578.gambas@...1...> <200410291423.56526.picander78@...325...> <200410291013.11791.sourceforge-raindog2@...94...> Message-ID: <200410301648.07050.gambas@...1...> On Friday 29 October 2004 16:13, Rob wrote: > On Friday 29 October 2004 08:23, Marco Gusy wrote: > > The download are 0 because the Gambas site points to tar.bz2's > > in the webspace, instead of using the "files" section in > > project page. > > By the way... why? > > Speaking as someone who downloads every release of Gambas, > sometimes multiple times, I really appreciate the availability > of a direct link to the tarball. Sourceforge's "click here to > download, then pick a mirror, then get another interstitial page > which finally redirects you to the download" doesn't work well > with wget. > > Rob > Yes. All the sourceforge stuff to download a software afraid me when I started yo use it years ago, and so I decided to put the sources directly in the web site directory - which is simple for me to manage. I don't like doing web site management, I prefer coding... :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Sat Oct 30 17:45:26 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 30 Oct 2004 11:45:26 -0400 Subject: [Gambas-user] Installation problem In-Reply-To: <001d01c4be58$568eb8d0$6501010a@...663...> References: <200410291847.34949.sourceforge-raindog2@...94...> <200410300044.25129.sourceforge-raindog2@...94...> <001d01c4be58$568eb8d0$6501010a@...663...> Message-ID: <200410301145.26229.sourceforge-raindog2@...94...> On Saturday 30 October 2004 04:13, Paun wrote: > What is solution? Why is not possible to install Gambas 0.99 > or RC1 on clean MDK 9.2 or 10.00, and what I need to install > first? Are you by any chance trying to use rpm to install these packages? You should use urpmi, which handles dependencies for you and which is the official Mandrake way to install packages (well, that and their graphical Software Manager.) Rob From gambas at ...1... Sat Oct 30 18:24:33 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 30 Oct 2004 18:24:33 +0200 Subject: [Gambas-user] bug: Project not loading if component missing In-Reply-To: <200410280711.24829.ronstk@...239...> References: <200410280711.24829.ronstk@...239...> Message-ID: <200410301824.33098.gambas@...1...> On Thursday 28 October 2004 07:11, ron wrote: > If a project of person AAA has a component used for something and > person BBB does not have it the project can't be loaded to switch > of the component and person BBB can't steal code of it :+) > > This can only corrected by edit the .project file by commenting > the missing library component. > > I wasn't able to open a project with Rob's pcre component, it > was not in the recent 0.99RC1 included yet. > > The warning is OK but disable compile and run can be set so I can > load at least to switch of the missing component and remove the > offending code? > > I.e. change the db driver component. > > Greet Ron > I fixed this problem this way: if some components are missing, then a message displayed, and you can choose to abort or to continue loading the project. Regards, -- Benoit Minisini mailto:gambas at ...1... From jscops at ...11... Sat Oct 30 18:26:37 2004 From: jscops at ...11... (Jack) Date: Sat, 30 Oct 2004 18:26:37 +0200 Subject: [Gambas-user] Compile In-Reply-To: <200410301632.15554.gambas@...1...> References: <200410260818.i9Q8I9Us003364@...364...> <200410301103.22436.jscops@...11...> <200410301632.15554.gambas@...1...> Message-ID: <200410301826.38105.jscops@...11...> Le Samedi 30 Octobre 2004 16:32, Benoit Minisini a ?crit : > On Saturday 30 October 2004 11:03, Jack wrote: > > Bonjour, > > > > Please, if somebody can tell me what make compile(F7) and compile all > > (Alt + F7) in Gambas menu ? > > > > Thank you very much. > > > > ~? Jack ?~ > > Welcome curious :-) > > "Compile" just compiles the modified files. > > "Compile all" recompiles every file, modified or not. > > Regards, But where is result ? Amities ~? Jack ?~ From jscops at ...11... Sat Oct 30 18:29:59 2004 From: jscops at ...11... (Jack) Date: Sat, 30 Oct 2004 18:29:59 +0200 Subject: [Gambas-user] Result of Gambas slashdotting In-Reply-To: <200410301648.07050.gambas@...1...> References: <200410281820.03578.gambas@...1...> <200410291013.11791.sourceforge-raindog2@...94...> <200410301648.07050.gambas@...1...> Message-ID: <200410301829.59427.jscops@...11...> Le Samedi 30 Octobre 2004 16:48, Benoit Minisini a ?crit : > > I don't like doing web site management, I prefer coding... :-) > It's very good for us ~? Jack ?~ From gambas at ...1... Sat Oct 30 18:40:23 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 30 Oct 2004 18:40:23 +0200 Subject: [Gambas-user] gambas 1.0 RC1 In-Reply-To: <200410281628.53440.sourceforge-raindog2@...94...> References: <200410251856.12779.gambas@...1...> <200410271507.10642.gambas@...1...> <200410281628.53440.sourceforge-raindog2@...94...> Message-ID: <200410301840.23245.gambas@...1...> On Thursday 28 October 2004 22:28, Rob wrote: > On Wednesday 27 October 2004 09:07, Benoit Minisini wrote: > > I don't remember... Here is what I have on my box (I > > incremented the version number). > > OK, the wiki is updated! > > Rob > Cool. -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Sat Oct 30 18:53:40 2004 From: ronstk at ...239... (Ron Onstenk) Date: Sat, 30 Oct 2004 18:53:40 +0200 Subject: [Gambas-user] bug: Project not loading if component missing In-Reply-To: <200410301824.33098.gambas@...1...> References: <200410280711.24829.ronstk@...239...> <200410301824.33098.gambas@...1...> Message-ID: <200410301853.40707.ronstk@...239...> On Saturday 30 October 2004 18:24, Benoit Minisini wrote: > On Thursday 28 October 2004 07:11, ron wrote: >> > > I fixed this problem this way: if some components are missing, then a message > displayed, and you can choose to abort or to continue loading the project. > > Regards, > Thanks From ronstk at ...239... Sat Oct 30 19:00:09 2004 From: ronstk at ...239... (Ron Onstenk) Date: Sat, 30 Oct 2004 19:00:09 +0200 Subject: [Gambas-user] Req: Help update In-Reply-To: <200410300036.05953.sourceforge-raindog2@...94...> References: <200410300137.38362.ronstk@...239...> <200410300036.05953.sourceforge-raindog2@...94...> Message-ID: <200410301900.09765.ronstk@...239...> On Saturday 30 October 2004 06:36, Rob wrote: > On Friday 29 October 2004 19:37, Ron Onstenk wrote: > > My request is if that is true if it is possible to provide > > the files as a gz download, special after new components are > > add ATM the xml is not in the help local but existing in the > > wiki. > > Well, there's been a .zip version produced every day for about > the last year or so ;) > > See the wiki's home page: > > http://www.binara.com/gambas-wiki/bin/view/Gambas/WebHome > > The second link reads like so: > > - An offline HTML version of this wiki may be downloaded [here]. > Note: This is the same set of files that make up the Gambas help > system! > Only download it if you need the help files for a more current > version of Gambas than you have installed. > > (Obviously this time around that's not true...) > > I'm pretty sure that they're arranged such that if you unzip them > into your /usr/share/gambas/help directory, overwriting what's > there, the Gambas help system should be updated. > > Rob > Thanks. Shame to me. I overlook that line every time. You may slap me if you can from the States :) Ron From gambas at ...1... Sat Oct 30 19:28:49 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 30 Oct 2004 19:28:49 +0200 Subject: [Gambas-user] Financial support of Gambas Message-ID: <200410301928.49695.gambas@...1...> Hi, all. As you may know, I spend all my money in living in Paris (expensive) and studying acting (very expensive). And there is no money left for Gambas. And the winter may be very cold... More seriously, I opened a PayPal account for Gambas so that people that can't help by writing programs, examples, docs, ... can support the project by giving a little bit of money. Here is a link that should allow you to give what you want: https://www.paypal.com/xclick/business=gambas%40users.sourceforge.net&no_note=1&tax=0¤cy_code=EUR Don't try to give one million euros, I think PayPal won't allow you. Well, if you try, tell me the result... I will tell you what will be done with this money (buying RAM, hard disk, VMWare, going to the theatr^H^H^H hem... no.). And you will tell me if you want your name to be shown in the Gambas about dialog box, with the "financial support" mention, like I did with my only giver - at the moment :-) - Radoslav Dejanovi?. Tell me if you have problems, because I am totally new with PayPal. Regards, -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Sat Oct 30 20:07:45 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 30 Oct 2004 14:07:45 -0400 Subject: [Gambas-user] Financial support of Gambas In-Reply-To: <200410301928.49695.gambas@...1...> References: <200410301928.49695.gambas@...1...> Message-ID: <200410301407.45023.sourceforge-raindog2@...94...> On Saturday 30 October 2004 13:28, Benoit Minisini wrote: > More seriously, I opened a PayPal account for Gambas so that > people that can't help by writing programs, examples, docs, > ... can support the project by giving a little bit of money. Once you know it works, you should make sure to put a "Donate" link in the left frame of the Gambas homepage... I bet 10 times as many people visit the homepage than use these lists. Rob From sourceforge-raindog2 at ...94... Sat Oct 30 20:04:24 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 30 Oct 2004 14:04:24 -0400 Subject: [Gambas-user] Compile In-Reply-To: <200410301826.38105.jscops@...11...> References: <200410260818.i9Q8I9Us003364@...364...> <200410301632.15554.gambas@...1...> <200410301826.38105.jscops@...11...> Message-ID: <200410301404.24262.sourceforge-raindog2@...94...> On Saturday 30 October 2004 12:26, Jack wrote: > > "Compile" just compiles the modified files. > > "Compile all" recompiles every file, modified or not. > But where is result ? "Compilation" in Gambas means compiling each form and class into object form, and it goes into the .gambas subdirectory of the project directory. The Gambas interpreter (/usr/bin/gbx) then looks for those object files when it's run in the project directory. You're probably looking for "make executable", which is under the Project menu. Rob From leo.barnhoorn at ...246... Sat Oct 30 21:23:04 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Sat, 30 Oct 2004 21:23:04 +0200 Subject: [Gambas-user] Financial support of Gambas In-Reply-To: <200410301928.49695.gambas@...1...> References: <200410301928.49695.gambas@...1...> Message-ID: <200410302123.04206.leo.barnhoorn@...246...> Hello Benoit, Do you have also a PayPal page in english. Regards, Leo. On Saturday 30 October 2004 19:28, Benoit Minisini wrote: > Hi, all. > > > As you may know, I spend all my money in living in Paris (expensive) and > studying acting (very expensive). And there is no money left for Gambas. > And the winter may be very cold... > > > More seriously, I opened a PayPal account for Gambas so that people that > can't help by writing programs, examples, docs, ... can support the project > by giving a little bit of money. > > Here is a link that should allow you to give what you want: > > https://www.paypal.com/xclick/business=gambas%40users.sourceforge.net&no_no >te=1&tax=0¤cy_code=EUR > > Don't try to give one million euros, I think PayPal won't allow you. Well, > if you try, tell me the result... > > I will tell you what will be done with this money (buying RAM, hard disk, > VMWare, going to the theatr^H^H^H hem... no.). And you will tell me if you > want your name to be shown in the Gambas about dialog box, with the > "financial support" mention, like I did with my only giver - at the > moment :-) - Radoslav Dejanovi?. > > Tell me if you have problems, because I am totally new with PayPal. > > Regards, From karl.reinl at ...9... Sat Oct 30 21:31:35 2004 From: karl.reinl at ...9... (Charlie) Date: Sat, 30 Oct 2004 21:31:35 +0200 Subject: [Gambas-user] Financial support of Gambas References: <200410301928.49695.gambas@...1...> <200410302123.04206.leo.barnhoorn@...246...> Message-ID: <4183EC17.2030608@...9...> Leo Barnhoorn schrieb: >Hello Benoit, > >Do you have also a PayPal page in english. > >Regards, >Leo. > > > Salut, I could change it, to german by choosing the country. Amicalment Charlie From karl.reinl at ...9... Sat Oct 30 21:40:11 2004 From: karl.reinl at ...9... (Charlie) Date: Sat, 30 Oct 2004 21:40:11 +0200 Subject: [Gambas-user] Financial support of Gambas References: <200410301928.49695.gambas@...1...> <200410301407.45023.sourceforge-raindog2@...94...> Message-ID: <4183EE1B.8030500@...9...> Rob schrieb: >On Saturday 30 October 2004 13:28, Benoit Minisini wrote: > > >>More seriously, I opened a PayPal account for Gambas so that >>people that can't help by writing programs, examples, docs, >>... can support the project by giving a little bit of money. >> >> > >Once you know it works, you should make sure to put a "Donate" >link in the left frame of the Gambas homepage... I bet 10 times >as many people visit the homepage than use these lists. > >Rob > > > Salut, and a 'Donate' in the IDE , don't know where, under Help ;-) a 'Help us'. No serious, I think thats not bad, for all who install it with the distro. Amicalment Charlie From sourceforge-raindog2 at ...94... Sat Oct 30 22:03:48 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 30 Oct 2004 16:03:48 -0400 Subject: [Gambas-user] Financial support of Gambas In-Reply-To: <4183EE1B.8030500@...9...> References: <200410301928.49695.gambas@...1...> <200410301407.45023.sourceforge-raindog2@...94...> <4183EE1B.8030500@...9...> Message-ID: <200410301603.48733.sourceforge-raindog2@...94...> On Saturday 30 October 2004 15:40, Charlie wrote: > and a 'Donate' in the IDE , don't know where, under Help ;-) a > 'Help us'. No serious, I think thats not bad, for all who > install it with the distro. I love the "Help/Help Us" idea. As long as we knew the path to the browser... Rob From ronstk at ...239... Sat Oct 30 23:10:46 2004 From: ronstk at ...239... (Ron Onstenk) Date: Sat, 30 Oct 2004 23:10:46 +0200 Subject: [Gambas-user] Financial support of Gambas In-Reply-To: <200410301928.49695.gambas@...1...> References: <200410301928.49695.gambas@...1...> Message-ID: <200410302310.46745.ronstk@...239...> On Saturday 30 October 2004 19:28, Benoit Minisini wrote: > Hi, all. > > > As you may know, I spend all my money in living in Paris (expensive) and > studying acting (very expensive). And there is no money left for Gambas. And > the winter may be very cold... > > > More seriously, I opened a PayPal account for Gambas so that people that can't > help by writing programs, examples, docs, ... can support the project by > giving a little bit of money. > > Here is a link that should allow you to give what you want: > > https://www.paypal.com/xclick/business=gambas%40users.sourceforge.net&no_note=1&tax=0¤cy_code=EUR > > Don't try to give one million euros, I think PayPal won't allow you. Well, if > you try, tell me the result... > > I will tell you what will be done with this money (buying RAM, hard disk, > VMWare, going to the theatr^H^H^H hem... no.). And you will tell me if you > want your name to be shown in the Gambas about dialog box, with the > "financial support" mention, like I did with my only giver - at the > moment :-) - Radoslav Dejanovi?. > > Tell me if you have problems, because I am totally new with PayPal. > > Regards, > You persuade me to start a PayPal account to. Next week I put the money on it and will donate. Or can I go to Paris and hand over, like to meet you ? Ron p.s. I like more you go to the teather then using VMWare to run mickysoft :) From karl.reinl at ...9... Sun Oct 31 00:23:22 2004 From: karl.reinl at ...9... (Charlie) Date: Sun, 31 Oct 2004 00:23:22 +0200 Subject: [Gambas-user] Financial support of Gambas References: <200410301928.49695.gambas@...1...> <200410302310.46745.ronstk@...239...> Message-ID: <4184145A.9080304@...9...> Ron Onstenk schrieb: >p.s. >I like more you go to the teather then using VMWare to run mickysoft :) > > > First they start to run Windows on Linux, but that was in 1998/99 ( but even at this time you could run Linux on Linux) Now VMWare became the possibillty of quick testeing (you start a virtual maschine , you make you installation , if thats failes , you shout down that VM and you restart it new (the same) and you remake your instalation. Have you ever testet/simulated a Network on one computer, yes with VM's thats possible. I'v tested also gambas on different diros while running them on my old Suse 7.2 in a VMWare from RH8 to gentoo or on HD installed Knoppix. Don't think thats a MS tool for Linux. But that works also. Amicalment Charlie From leo.barnhoorn at ...246... Sun Oct 31 02:41:01 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Sun, 31 Oct 2004 03:41:01 +0200 Subject: [Gambas-user] Pass array to a Function or Sub. Message-ID: <200410310241.01919.leo.barnhoorn@...246...> Hello Benoit, I like to pass a array to a function or sub but it is not working any more. Below a example : The ByteArray is empty when i pass it to this function, except the first element of the array. PRIVATE FUNCTION ByteToBit(ByteArray AS Byte[]) AS String Array is empty. except first element. END This is the way i make the ByteArray. PRIVATE FUNCTION ReadHeader(sFileName AS String) AS Boolean DIM ByteArray AS NEW Byte[] ByteArray.Resize(4) Filling the array. SEEK #hFile, HeadStart FOR z = 0 TO 3 READ #hFile, Bytes ByteArray[z] = Bytes NEXT At this point the array is filled. Insite the function the array is empty except the first element of the array. sBin = ByteToBit(ByteArray) END Regards, Leo. From leo.barnhoorn at ...246... Sun Oct 31 03:10:57 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Sun, 31 Oct 2004 04:10:57 +0200 Subject: [Gambas-user] Pass array to a Function or Sub. In-Reply-To: <200410310241.01919.leo.barnhoorn@...246...> References: <200410310241.01919.leo.barnhoorn@...246...> Message-ID: <200410310310.57302.leo.barnhoorn@...246...> Hello Benoit, I have already found the problem. Thanks anyway. Regards, Leo. On Sunday 31 October 2004 02:41, Leo Barnhoorn wrote: > Hello Benoit, > > I like to pass a array to a function or sub but it is not working any more. > > Below a example : > > The ByteArray is empty when i pass it to this function, except the first > element of the array. > > PRIVATE FUNCTION ByteToBit(ByteArray AS Byte[]) AS String > Array is empty. except first element. > END > > This is the way i make the ByteArray. > > PRIVATE FUNCTION ReadHeader(sFileName AS String) AS Boolean > DIM ByteArray AS NEW Byte[] > > ByteArray.Resize(4) > > > Filling the array. > > SEEK #hFile, HeadStart > FOR z = 0 TO 3 > READ #hFile, Bytes > ByteArray[z] = Bytes > NEXT > > At this point the array is filled. Insite the function the array is empty > except the first element of the array. > > sBin = ByteToBit(ByteArray) > END > > Regards, > Leo. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From leo.barnhoorn at ...246... Sun Oct 31 06:32:32 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Sun, 31 Oct 2004 07:32:32 +0200 Subject: [Gambas-user] Read header of MP3 file. Message-ID: <200410310632.32991.leo.barnhoorn@...246...> Hello All, Example Class read header of mp3 file. Returns: Album Artist BitRate Comment Duration Minutes If more songs then you can calc the total duration of all the Seconds songs. Frequency Genre Mode MpegLayer MpegVersion Songname Year Track VBR Regards, Leo. -------------- next part -------------- A non-text attachment was scrubbed... Name: Mp3-0.0.1.tar.gz Type: application/x-tgz Size: 5951 bytes Desc: not available URL: From jscops at ...11... Sun Oct 31 09:50:40 2004 From: jscops at ...11... (Jack) Date: Sun, 31 Oct 2004 09:50:40 +0100 Subject: [Gambas-user] Compile In-Reply-To: <200410301404.24262.sourceforge-raindog2@...94...> References: <200410260818.i9Q8I9Us003364@...364...> <200410301826.38105.jscops@...11...> <200410301404.24262.sourceforge-raindog2@...94...> Message-ID: <200410310950.40855.jscops@...11...> Le Samedi 30 Octobre 2004 20:04, Rob a ?crit : > On Saturday 30 October 2004 12:26, Jack wrote: > > > "Compile" just compiles the modified files. > > > "Compile all" recompiles every file, modified or not. > > > > But where is result ? > > "Compilation" in Gambas means compiling each form and class into > object form, and it goes into the .gambas subdirectory of the > project directory. The Gambas interpreter (/usr/bin/gbx) then > looks for those object files when it's run in the project > directory. > > You're probably looking for "make executable", which is under the > Project menu. > > Rob It's the explanation that i want. I'm very satisfied with your answer. I hadn't seen that Gambas have somes hides directory. Thank you Rob. ~? Jack ?~ From gambasfr at ...11... Sun Oct 31 12:34:03 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Sun, 31 Oct 2004 12:34:03 +0100 Subject: [Gambas-user] Read header of MP3 file. In-Reply-To: <200410310632.32991.leo.barnhoorn@...246...> References: <200410310632.32991.leo.barnhoorn@...246...> Message-ID: <200410311234.03600.gambasfr@...11...> Le dimanche 31 Octobre 2004 06:32, Leo Barnhoorn a ?crit?: > Hello All, > > Example Class read header of mp3 file. > > Returns: > > Album > Artist > BitRate > Comment > Duration > > Minutes If more songs then you can calc the total duration of all the > Seconds songs. > > Frequency > Genre > Mode > MpegLayer > MpegVersion > Songname > Year > Track > VBR > > Regards, > Leo. Hi leo PRIVATE FUNCTION GetGenreFromID(iListGenre AS Integer) AS String Dim arGenre as new String[] arGenre = array["genre1", "genre2", etc...] if iListGenre > 125 then iListGenre = 125 return arGenre[iListGenre] END More simple no ? You can fill the array in the constructor... By this way... i think it's more speedy. Add this to my site... i will add the update page today... it work... but i've not updated the site. I've made a parser too to colorize the code. Fabien Bodard From lbaudio at ...172... Sun Oct 31 14:54:39 2004 From: lbaudio at ...172... (LB Audio) Date: Sun, 31 Oct 2004 11:54:39 -0200 (Hora oficial do Brasil) Subject: [Gambas-user] Read header of MP3 file. References: <200410310632.32991.leo.barnhoorn@...246...> Message-ID: <4184EE9F.000001.02980@...661...> Thanks Leo. Because I am not getting to read some MP3s? Lindomar. -------Original Message------- From: gambas-user at lists.sourceforge.net Date: 31/10/2004 03:34:16 To: gambas-user at lists.sourceforge.net Subject: [Gambas-user] Read header of MP3 file. Hello All, Example Class read header of mp3 file. Returns: Album Artist BitRate Comment Duration Minutes If more songs then you can calc the total duration of all the Seconds songs. Frequency Genre Mode MpegLayer MpegVersion Songname Year Track VBR Regards, Leo. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: BackGrnd.jpg Type: image/jpeg Size: 1431 bytes Desc: not available URL: From leo.barnhoorn at ...246... Sun Oct 31 16:19:01 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Sun, 31 Oct 2004 17:19:01 +0200 Subject: [Gambas-user] Read header of MP3 file. In-Reply-To: <200410311234.03600.gambasfr@...11...> References: <200410310632.32991.leo.barnhoorn@...246...> <200410311234.03600.gambasfr@...11...> Message-ID: <200410311619.01350.leo.barnhoorn@...246...> Hello Fabien, Yes that's a good way to make it faster, i will make the change to the program, and upload it to your site Fabien. Thanks for the idea. Regards, Leo. On Sunday 31 October 2004 12:34, Bodard Fabien wrote: > Hi leo > > PRIVATE FUNCTION GetGenreFromID(iListGenre AS Integer) AS String > > Dim arGenre as new String[] > > arGenre = array["genre1", "genre2", etc...] > if iListGenre > 125 then iListGenre = 125 > return arGenre[iListGenre] > END > > More simple no ? > > You can fill the array in the constructor... By this way... i think it's > more speedy. > > Add this to my site... i will add the update page today... it work... but > i've not updated the site. I've made a parser too to colorize the code. > > Fabien Bodard > > > ------------------------------------------------------- > 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?k > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sun Oct 31 16:47:22 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 31 Oct 2004 16:47:22 +0100 Subject: [Gambas-user] Financial support of Gambas In-Reply-To: <4183EE1B.8030500@...9...> References: <200410301928.49695.gambas@...1...> <200410301407.45023.sourceforge-raindog2@...94...> <4183EE1B.8030500@...9...> Message-ID: <200410311647.22527.gambas@...1...> On Saturday 30 October 2004 21:40, Charlie wrote: > Rob schrieb: > >On Saturday 30 October 2004 13:28, Benoit Minisini wrote: > >>More seriously, I opened a PayPal account for Gambas so that > >>people that can't help by writing programs, examples, docs, > >>... can support the project by giving a little bit of money. > > > >Once you know it works, you should make sure to put a "Donate" > >link in the left frame of the Gambas homepage... I bet 10 times > >as many people visit the homepage than use these lists. > > > >Rob > > Salut, > > and a 'Donate' in the IDE , don't know where, under Help ;-) a 'Help us'. > No serious, I think thats not bad, for all who install it with the distro. > > Amicalment > Charlie > Good idea, I do it. -- Benoit Minisini mailto:gambas at ...1... From mardus at ...298... Sun Oct 31 18:14:35 2004 From: mardus at ...298... (Marcelo Duschkin) Date: Sun, 31 Oct 2004 14:14:35 -0300 Subject: [Gambas-user] Re: Financial support of Gambas In-Reply-To: <4184145A.9080304@...9...> References: <200410301928.49695.gambas@...1...> <200410302310.46745.ronstk@...239...> <4184145A.9080304@...9...> Message-ID: <200410311414.35032.mardus@...298...> El S?b 30 Oct 2004 19:23, Charlie escribi?: |> Now VMWare became the possibillty of quick testeing (you start a virtual |> maschine , you make you installation , |> if thats failes , you shout down that VM and you restart it new (the |> same) and you remake your instalation. Have you tried QEMU ? It's GNU !!! -- -- Para el cierre: --- El Maestro Pen Guin al azar citaba: Una vez terminado el juego, el rey y el pe?n vuelven a la misma caja. - - - Marcelo Duschkin - Buenos Aires - Argentina mardus at ...298... www.websdelsur.com.ar www.lahueya.com.ar From gambasfr at ...11... Sun Oct 31 21:37:36 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Sun, 31 Oct 2004 21:37:36 +0100 Subject: [Gambas-user] BUG in 0.99 RC1 Message-ID: <200410312137.36652.gambasfr@...11...> The configure don't detect if the db mysql or sqllite is not installed Fabien Wall -fno-exceptions -g -Os -fno-omit-frame-pointer -c main.cpp -fPIC -DPIC -o main.lo In file included from dataset.h:38, from sqlitedataset.h:33, from main.cpp:40: qry_dat.h:38:20: sqlite.h: No such file or directory In file included from dataset.h:38, from sqlitedataset.h:33, from main.cpp:40: qry_dat.h:234: error: ISO C++ forbids declaration of `sqlite' with no type qry_dat.h:234: error: expected `;' before '*' token In file included from sqlitedataset.h:33, from main.cpp:40: dataset.h:72: warning: `class Database' has virtual functions but non-virtual destructor dataset.h:158: warning: `class Dataset' has virtual functions but non-virtual destructor In file included from main.cpp:40: sqlitedataset.h:71: error: ISO C++ forbids declaration of `sqlite' with no type sqlitedataset.h:71: error: expected `;' before '*' token sqlitedataset.h:84: error: ISO C++ forbids declaration of `sqlite' with no type sqlitedataset.h:84: error: expected `;' before '*' token sqlitedataset.h:86: error: expected `;' before "virtual" sqlitedataset.h:68: warning: `class SqliteDatabase' has virtual functions but non-virtual destructor sqlitedataset.h:129: error: ISO C++ forbids declaration of `sqlite' with no type sqlitedataset.h:129: error: expected `;' before '*' token sqlitedataset.h:121: warning: `class SqliteDataset' has virtual functions but non-virtual destructor main.cpp: In function `long int db_version()': main.cpp:546: error: `sqlite_version' undeclared (first use this function) main.cpp:546: error: (Each undeclared identifier is reported only once for each function it appears in.) main.cpp: In function `void* open_database(DB_DESC*, char**)': main.cpp:628: error: `sqlite_encoding' undeclared (first use this function) make[5]: *** [main.lo] Erreur 1 make[5]: Leaving directory `/home/gambas/gambas-0.99.RC1/src/lib/db/sqlite' make[4]: *** [all-recursive] Erreur 1 make[4]: Leaving directory `/home/gambas/gambas-0.99.RC1/src/lib/db' make[3]: *** [all-recursive] Erreur 1 make[3]: Leaving directory `/home/gambas/gambas-0.99.RC1/src/lib' make[2]: *** [all-recursive] Erreur 1 make[2]: Leaving directory `/home/gambas/gambas-0.99.RC1/src' make[1]: *** [all-recursive] Erreur 1 make[1]: Leaving directory `/home/gambas/gambas-0.99.RC1' make: *** [all-recursive-am] Erreur 2 [root at ...40... gambas-0.99.RC1]# From gambasfr at ...11... Sun Oct 31 22:45:01 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Sun, 31 Oct 2004 22:45:01 +0100 Subject: [Gambas-user] BUG in 0.99 RC1 In-Reply-To: <200410312137.36652.gambasfr@...11...> References: <200410312137.36652.gambasfr@...11...> Message-ID: <200410312245.01404.gambasfr@...11...> i need to sleep... sorry, i forgot to do a ./reconf From ronstk at ...239... Sun Oct 31 22:43:49 2004 From: ronstk at ...239... (Ron Onstenk) Date: Sun, 31 Oct 2004 22:43:49 +0100 Subject: [Gambas-user] BUG in 0.99 RC1 In-Reply-To: <200410312137.36652.gambasfr@...11...> References: <200410312137.36652.gambasfr@...11...> Message-ID: <200410312243.49888.ronstk@...239...> GB_COMPONENT( mysql, MYSQL, [MySQL driver], [GB_FIND(mysql.h my_config.h, /usr/lib /usr/local /opt /usr, include mysql*/include)], [GB_FIND(libmysqlclient.$SHLIBEXT, /usr/local /opt /usr, lib mysql*/lib)], [$C_LIB -lmysqlclient -lz]) GB_COMPONENT( sqlite, SQLITE, [SQLite driver], [GB_FIND(sqlite.h, /usr/lib /usr/local /opt /usr, include sqlite*/include)], [GB_FIND(libsqlite.$SHLIBEXT, /usr/local /opt /usr, lib sqlite*/lib)], [$C_LIB -lsqlite -lc -lstdc++]) dnl ---- SDL component needs: libvorbisfile.la libsmpeg.la libogg.la GB_COMPONENT( sdl, SDL, [SDL component], [GB_FIND(SDL.h SDL_mixer.h, /usr/local /usr, include SDL*/include include/SDL*)], [GB_FIND(libSDL.$SHLIBEXT libSDL_mixer.$SHLIBEXT, /usr/local /usr, lib SDL*/lib lib/SDL*)], [$C_LIB $THREAD_LIB -lSDL -lSDL_mixer -lm], [$THREAD_INC]) As you can see in the SDL component the /usr/local is the first and then /usr This is also the case for the CONV, INTL and I did for CURL and XML libraries for previous relase. Thanks to this behaviour my SuSE box is using for the precompiled rpm's the version SuSE has used for system build from /usr/lib. Yast depends on it for CURL using the distributed libraries. I did install my own updated CURL version for the NET component with --prefix=/usr/local Now my correct versions for new projects are using the new one. Old SuSE rpms using the the old in /usr , same for XML. Conflicts in the past where I did not use the --prefix=/usr/local had broken parts of my system. When I'm right it should do this also for MYSQL and SQLLITE ???? I mean checking for overide by new versions in /usr/local before using /usr. I think the lines must be changed from [GB_FIND(mysql.h my_config.h, /usr/lib /usr/local /opt /usr, include mysql*/include)], to [GB_FIND(mysql.h my_config.h, /usr/local/lib /usr/lib /opt /usr, include mysql*/include)], and [GB_FIND(sqlite.h, /usr/lib /usr/local /opt /usr, include sqlite*/include)], to [GB_FIND(sqlite.h, /usr/local/lib /usr/lib /opt /usr, include sqlite*/include)], For both also is it need the /lib for the first two, the others don't have it. I assume the order for the locations to look is first fit. Correct me if I'm wrong. For the line [GB_FIND(mysql.h my_config.h, /usr/local/lib Is it correct to assume in this line 'mysql.h' AND 'my_config.h' must be found or should be one of them be found as 'mysql.h' OR 'my_config.h' ? @Fabian: I checked sqlite is on my box. I do not have it but also not seen a error about it. My compile was './configure ; make ; make install' and nothing else, I love it :) (has been a disaster in the past with curl, you remember?) Ron