From comtux at ...176... Mon Aug 1 15:09:12 2005 From: comtux at ...176... (Steve Starr) Date: Mon, 1 Aug 2005 15:09:12 +0200 Subject: [Gambas-devel] Gambas Developers Message-ID: <200508011509.12241.comtux@...176...> Hello my name is Steve Starr and i am currently in the process of building a new linux distro http://www.comtuxaps.com and i am looking to pay gambas developers to write tutorials code examples and help on gambas projects if you are interested please e-mail me back at comtux at ...176... Thanks Steve Starr ComtuxAPS From lordheavy at ...141... Tue Aug 2 00:21:32 2005 From: lordheavy at ...141... (Laurent Carlier) Date: Tue, 02 Aug 2005 00:21:32 +0200 Subject: [Gambas-devel] Gambasdoc is down ... Message-ID: <42EEA06C.7010504@...141...> http://new.gambasdoc.org -> down :( -- Laurent Carlier jabber : LordHeavy at ...298... From sourceforge-raindog2 at ...19... Tue Aug 2 03:09:34 2005 From: sourceforge-raindog2 at ...19... (Rob) Date: Mon, 1 Aug 2005 21:09:34 -0400 Subject: [Gambas-devel] Gambasdoc is down ... In-Reply-To: <42EEA06C.7010504@...141...> References: <42EEA06C.7010504@...141...> Message-ID: <200508012109.34988.sourceforge-raindog2@...19...> On Monday 01 August 2005 18:21, Laurent Carlier wrote: > http://new.gambasdoc.org -> down :( Yes, I updated Gambas2 on the web server, forgetting that the bytecode had changed again. I couldn't find a copy of the source for the new help system on the web server, so it'll be down till Benoit uploads a new executable.... Sorry.... Rob From gambasfr at ...4... Tue Aug 2 12:47:38 2005 From: gambasfr at ...4... (Fabien Bodard) Date: Tue, 02 Aug 2005 12:47:38 +0200 Subject: [Gambas-devel] Gambasdoc is down ... In-Reply-To: <200508012109.34988.sourceforge-raindog2@...19...> References: <42EEA06C.7010504@...141...> <200508012109.34988.sourceforge-raindog2@...19...> Message-ID: <1122979659.9619.0.camel@...326...> Le lundi 01 ao?t 2005 ? 21:09 -0400, Rob a ?crit : > On Monday 01 August 2005 18:21, Laurent Carlier wrote: > > http://new.gambasdoc.org -> down :( > > Yes, I updated Gambas2 on the web server, forgetting that the bytecode > had changed again. I couldn't find a copy of the source for the new > help system on the web server, so it'll be down till Benoit uploads a > new executable.... > > Sorry.... > Rob but the sources are in the gambas2 sources, no ? From nigel at ...2... Tue Aug 2 13:25:21 2005 From: nigel at ...2... (nigel at ...2...) Date: Tue, 2 Aug 2005 13:25:21 +0200 (CEST) Subject: [Gambas-devel] Gambas Developers Message-ID: <13088186.1122981921280.JavaMail.www@...222...> Steve, I don't know what sort of interest you have generated, but I could be interested. I wrote the sqlite and mysql components for Gambas, so would probably most comfortable creating something around this area. My biggest problem of course is lack of time...I have a full time job that has recently taken up all my hours :-) Regards Nigel > Message Received: Aug 01 2005, 02:03 PM > From: "Steve Starr" > To: gambas-devel at lists.sourceforge.net, gambas-user at lists.sourceforge.net > Cc: > Subject: [Gambas-devel] Gambas Developers > > Hello my name is Steve Starr and i am currently in the process of > building a new linux distro http://www.comtuxaps.com and i am looking > to pay gambas developers to write tutorials code examples and help on > gambas projects if you are interested please e-mail me back at > comtux at ...176... > > Thanks Steve Starr ComtuxAPS > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...1... Tue Aug 2 21:27:22 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 2 Aug 2005 21:27:22 +0200 Subject: [Gambas-devel] Gambasdoc is down ... In-Reply-To: <1122979659.9619.0.camel@...326...> References: <42EEA06C.7010504@...141...> <200508012109.34988.sourceforge-raindog2@...19...> <1122979659.9619.0.camel@...326...> Message-ID: <200508022127.23096.gambas@...1...> On Tuesday 02 August 2005 12:47, Fabien Bodard wrote: > Le lundi 01 ao?t 2005 ? 21:09 -0400, Rob a ?crit : > > On Monday 01 August 2005 18:21, Laurent Carlier wrote: > > > http://new.gambasdoc.org -> down :( > > > > Yes, I updated Gambas2 on the web server, forgetting that the bytecode > > had changed again. I couldn't find a copy of the source for the new > > help system on the web server, so it'll be down till Benoit uploads a > > new executable.... > > > > Sorry.... > > Rob > > but the sources are in the gambas2 > sources, no ? > Yes. But I don't see the gba2 program on Rob's machine, the program that make gambas executables, and I need it! -- Benoit Minisini mailto:gambas at ...1... From danielcampos at ...45... Wed Aug 3 00:30:53 2005 From: danielcampos at ...45... (Daniel Campos) Date: Wed, 03 Aug 2005 00:30:53 +0200 Subject: [Gambas-devel] Multiline labels? Message-ID: <42EFF41D.2060709@...45...> Hi Benoit: I remember you told me that only TextLabel supports multiline text. However try this with gambas1-.9.14 and gb.qt: Label1.Text="line 1\nline 2" There are two lines! May be I didn't understood it right? From gambas at ...1... Wed Aug 3 17:19:18 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 3 Aug 2005 17:19:18 +0200 Subject: [Gambas-devel] Multiline labels? In-Reply-To: <42EFF41D.2060709@...45...> References: <42EFF41D.2060709@...45...> Message-ID: <200508031719.18207.gambas@...1...> On Wednesday 03 August 2005 00:30, Daniel Campos wrote: > Hi Benoit: > > I remember you told me that only TextLabel supports multiline text. > However try this with gambas1-.9.14 and gb.qt: > > Label1.Text="line 1\nline 2" > > There are two lines! > > May be I didn't understood it right? > I didn't use the good english words :-) The Label doesn't automatically wrap lines. But of course if you put '\n', it displays a new line. But it could not. The rule is: for a single line, Label, and for displaying multi line rich text, TextLabel. Is there a problem with GTK+ about that ? -- Benoit Minisini mailto:gambas at ...1... From danielcampos at ...45... Wed Aug 3 23:18:14 2005 From: danielcampos at ...45... (Daniel Campos) Date: Wed, 03 Aug 2005 23:18:14 +0200 Subject: [Gambas-devel] Multiline labels? In-Reply-To: <200508031719.18207.gambas@...1...> References: <42EFF41D.2060709@...45...> <200508031719.18207.gambas@...1...> Message-ID: <42F13496.3010100@...45...> >I didn't use the good english words :-) > >The Label doesn't automatically wrap lines. But of course if you put '\n', it >displays a new line. But it could not. > >The rule is: for a single line, Label, and for displaying multi line rich >text, TextLabel. > >Is there a problem with GTK+ about that ? > > Ah! OK, no, there's not problem. It is much more clear now :-) From danielcampos at ...45... Thu Aug 4 07:44:37 2005 From: danielcampos at ...45... (Daniel Campos) Date: Thu, 04 Aug 2005 07:44:37 +0200 Subject: [Gambas-devel] gb.gtk / bug gb.qt Message-ID: <42F1AB45.7010201@...45...> Hi: New release of the gb.gtk component: http://gambas.gnulinex.org/gtk This version adds the HSplit and VSplit containers, so it could be removed from gb.qt.ext and placed at gb.qt. The gb.qt implementation has a bug: the "Children.Count" returns a wrong number, I suppose it is counting also the internal children of the widget. Regards, D. Campos From gambas at ...1... Thu Aug 4 17:34:16 2005 From: gambas at ...1... (Benoit Minisini) Date: Thu, 4 Aug 2005 17:34:16 +0200 Subject: [Gambas-devel] gb.gtk / bug gb.qt In-Reply-To: <42F1AB45.7010201@...45...> References: <42F1AB45.7010201@...45...> Message-ID: <200508041734.16463.gambas@...1...> On Thursday 04 August 2005 07:44, Daniel Campos wrote: > Hi: > > New release of the gb.gtk component: > > http://gambas.gnulinex.org/gtk > > This version adds the HSplit and VSplit containers, so it could be > removed from > gb.qt.ext and placed at gb.qt. Ha ha! Already done - I think I can read your mind :-) > > The gb.qt implementation has a bug: the "Children.Count" returns a wrong > number, > I suppose it is counting also the internal children of the widget. Really ? Damn... -- Benoit Minisini mailto:gambas at ...1... From lordheavy at ...141... Fri Aug 5 17:40:12 2005 From: lordheavy at ...141... (Laurent Carlier) Date: Fri, 05 Aug 2005 17:40:12 +0200 Subject: [Gambas-devel] gambasdoc broken again ? Message-ID: <42F3885C.60503@...141...> Cannot connect to gambasdoc .... ++ -- Laurent Carlier jabber : LordHeavy at ...298... From gambas at ...1... Fri Aug 5 19:32:34 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 5 Aug 2005 19:32:34 +0200 Subject: [Gambas-devel] About package distribution Message-ID: <200508051932.34184.gambas@...1...> A little note about paclkage distribution: If you want to distribute a component source package that do not depend on the main gambas source tree, just type 'make dist' from your component source directory. If there is no bug :-), all symbolic links will be replaced by the real files in the package, and so it will be able to be compiled stand-alone. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Aug 5 19:48:35 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 5 Aug 2005 19:48:35 +0200 Subject: [Gambas-devel] About package distribution In-Reply-To: <200508051932.34184.gambas@...1...> References: <200508051932.34184.gambas@...1...> Message-ID: <200508051948.35616.gambas@...1...> On Friday 05 August 2005 19:32, Benoit Minisini wrote: > A little note about paclkage distribution: > > If you want to distribute a component source package that do not depend on > the main gambas source tree, just type 'make dist' from your component > source directory. If there is no bug :-), all symbolic links will be > replaced by the real files in the package, and so it will be able to be > compiled stand-alone. > > Regards, A little note about package distribution: If you want to distribute a component source package that does not depend on the main gambas source tree, just type 'make dist' from your component source directory. If there is no bug :-), all symbolic links will be replaced by the real files in the package, and so your package will be able to be compiled stand-alone. --- Better without the mistakes -- Benoit Minisini mailto:gambas at ...1... From danielcampos at ...45... Sat Aug 6 04:16:16 2005 From: danielcampos at ...45... (Daniel Campos) Date: Sat, 06 Aug 2005 04:16:16 +0200 Subject: [Gambas-devel] RTL languages Message-ID: <42F41D70.60901@...45...> Hi, Benoit: I've tested a Gambas program with both gb.qt and gb.gtk with LANG=ar (a "right to left" language), and after fixing some things in gb.gtk (not yet released), I've found some bugs in gb.qt: 1) The HBOX widget should change its direction. 2) Buttons should show the images in the right side. You can compare the right screenshot (gb.gtk) and the wrong screenshot (gb.qt). All the rest is right with both gb.qt and gb.gtk (look at the menus) I have a doubt with HPanel and VPanel... I suppose I should also change the direction... -------------- next part -------------- A non-text attachment was scrubbed... Name: inter-gtk.png Type: image/png Size: 12711 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: inter-qt.png Type: image/png Size: 11736 bytes Desc: not available URL: From danielcampos at ...45... Sat Aug 6 16:47:46 2005 From: danielcampos at ...45... (Daniel Campos) Date: Sat, 06 Aug 2005 16:47:46 +0200 Subject: [Gambas-devel] More bout RTL text Message-ID: <42F4CD92.60803@...45...> Hi: Two new fixes for gb.qt: 1) All alignments for labels which contains the "normal" word should position the text in the right way for RTL languages. 2) Messages should revert the button order. Two screenshots: gtk (right), and qt (wrong) Regards, D. Campos -------------- next part -------------- A non-text attachment was scrubbed... Name: inter-gtk-2.png Type: image/png Size: 17872 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: inter-qt-2.png Type: image/png Size: 17307 bytes Desc: not available URL: From danielcampos at ...45... Sat Aug 6 17:32:39 2005 From: danielcampos at ...45... (Daniel Campos) Date: Sat, 06 Aug 2005 17:32:39 +0200 Subject: [Gambas-devel] gb.gtk 05806 / qt bug Message-ID: <42F4D817.2090406@...45...> Hi: New version of the gb.gtk component: http://gambas.gnulinex.org/gtk 050806 - Alpha * FIXED: Window.Mask and Window.Picture works in not top-level windows. * FIXED: "Label" code rewritten to avoid extrange problems everywhere. * NEW: "ListBox" Activate event implemented. * FIXED: Position of HBox children for RTL languages. * FIXED: Window.Raise now works if the window has a parent. * FIXED: "PictureBox" mouse events are working now. * FIXED: "Label" mouse events are working now. * NEW: "TextBox" Activate event implemented. * NEW: Enter and Leave events implemented fro all controls. * FIXED: Frame,Panel,HBox,VBox,Hpanel and VPanel now receive MouseMove and MouseUp events. * NEW: "drag" part of DND, "Drag.Icon" and "Drag.Source" implemented. Beno?t, it seems there's a problem with the "Picture" and "Mask" properties in the gb.qt component. Please try the example I send with this new gb.gtk version and then change to the gb.qt component, something is wrong... Regards, D. Campos -------------- next part -------------- A non-text attachment was scrubbed... Name: MiTest.tar.gz Type: application/x-gzip Size: 49549 bytes Desc: not available URL: From gambas at ...1... Sun Aug 7 19:36:27 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 7 Aug 2005 19:36:27 +0200 Subject: [Gambas-devel] Don't download gambas 1.9.15 now! Message-ID: <200508071936.27874.gambas@...1...> Hi, I have just uploaded gambas 1.9.15, but don't download it, as I just found why gb.qt is not compiled... The reason is that the gambas part of gb.qt needs the native part for being compiled, and it cannot work :-( So wait a little, until I found a workaround for that... Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Aug 7 19:36:35 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 7 Aug 2005 19:36:35 +0200 Subject: [Gambas-devel] gb.gtk 05806 / qt bug In-Reply-To: <42F4D817.2090406@...45...> References: <42F4D817.2090406@...45...> Message-ID: <200508071936.35902.gambas@...1...> On Saturday 06 August 2005 17:32, Daniel Campos wrote: > Hi: > > New version of the gb.gtk component: > > http://gambas.gnulinex.org/gtk > > 050806 - Alpha > > * FIXED: Window.Mask and Window.Picture works in not top-level windows. > * FIXED: "Label" code rewritten to avoid extrange problems everywhere. > * NEW: "ListBox" Activate event implemented. > * FIXED: Position of HBox children for RTL languages. > * FIXED: Window.Raise now works if the window has a parent. > * FIXED: "PictureBox" mouse events are working now. > * FIXED: "Label" mouse events are working now. > * NEW: "TextBox" Activate event implemented. > * NEW: Enter and Leave events implemented fro all controls. > * FIXED: Frame,Panel,HBox,VBox,Hpanel and VPanel now receive MouseMove > and MouseUp events. > * NEW: "drag" part of DND, "Drag.Icon" and "Drag.Source" implemented. > > > Beno?t, it seems there's a problem with the "Picture" and "Mask" > properties in the gb.qt component. > Please try the example I send with this new gb.gtk version and then > change to the gb.qt component, > something is wrong... > > Regards, > > D. Campos Hi, Daniel. I will look at this problem later, as I'm releasing a version now... As for rtl problems, it is impossible to put the button icon on the right in qt, because the style classes that draw buttons don't take rtl in account! The labels should follow rtl layout, this is the reason why there is an Align.Normal property: Normal means Left for ltr languages and Right for trl languages. But it seems that it does not work! In the version I will release, I made a Stock class in the gambas part of the gb.qt component, AND the same Stock class in a new gambas part in the gb.gtk component. This Stock class returns stock icons, like the class you did before. But I put in the gb.gtk component only GTK+/Gnome icons, and in the gb.qt component only KDE icons, all with the same name. The only problem is that I didn't find on my computer all GTK+ stock icons displayed by the gtk-demo program. And that I just put 16x16 icons and a few 32x32 ones. This is experimental, but I think this is the better way for having the same code while having a toolkit-based look. We should add to these components all icons that we find useful, provided that a icon in gb.gtk has a brother in gb.qt, and vice versa. Another problem: while testing this component with a PictureBox, I noticed that png images are badly displayed with gb.gtk yet - This is more evident with a little zoom. Regards, -- Benoit Minisini mailto:gambas at ...1... From danielcampos at ...45... Sun Aug 7 20:12:10 2005 From: danielcampos at ...45... (Daniel Campos) Date: Sun, 07 Aug 2005 20:12:10 +0200 Subject: [Gambas-devel] gb.gtk 05806 / qt bug In-Reply-To: <200508071936.35902.gambas@...1...> References: <42F4D817.2090406@...45...> <200508071936.35902.gambas@...1...> Message-ID: <42F64EFA.9080301@...45...> Hi Benoit: > >In the version I will release, I made a Stock class in the gambas part of the >gb.qt component, AND the same Stock class in a new gambas part in the gb.gtk >component. This Stock class returns stock icons, like the class you did >before. But I put in the gb.gtk component only GTK+/Gnome icons, and in the >gb.qt component only KDE icons, all with the same name. > > Bad idea for GTK+: 1) GTK+ has these icons included in the same library, so you're wasting memory having it twice in memory (and hard disk). 2) Icons can change with the theme. What to do then? They will not look at the rest of applications. I'll write the Stock class directly in the C++ part of the gb.gtk component for the next release. >Another problem: while testing this component with a PictureBox, I noticed >that png images are badly displayed with gb.gtk yet - This is more evident >with a little zoom. > > > > OK, I'll tyr to fix it Regards, D. Campos From gambas at ...1... Sun Aug 7 20:28:02 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 7 Aug 2005 20:28:02 +0200 Subject: [Gambas-devel] gb.gtk 05806 / qt bug In-Reply-To: <42F64EFA.9080301@...45...> References: <42F4D817.2090406@...45...> <200508071936.35902.gambas@...1...> <42F64EFA.9080301@...45...> Message-ID: <200508072028.02962.gambas@...1...> On Sunday 07 August 2005 20:12, Daniel Campos wrote: > Hi Benoit: > >In the version I will release, I made a Stock class in the gambas part of > > the gb.qt component, AND the same Stock class in a new gambas part in the > > gb.gtk component. This Stock class returns stock icons, like the class > > you did before. But I put in the gb.gtk component only GTK+/Gnome icons, > > and in the gb.qt component only KDE icons, all with the same name. > > Bad idea for GTK+: > > 1) GTK+ has these icons included in the same library, so you're wasting > memory > having it twice in memory (and hard disk). So this is the reason I didn't find them! I waste hard disk, but not memory as the picture files are memory mapped. > > 2) Icons can change with the theme. What to do then? They will not look > at the rest > of applications. Do the stock icons included in the library change with the theme ? Are icon themes a GTK+ feature or a Gnome feature ? > > I'll write the Stock class directly in the C++ part of the gb.gtk > component for the next release. > OK. But please can you use the following syntax? Stock["XX/a/b/c"] where XX is the size of the icon: 16, 32, ... and 'a/b/c' the path to the icon - without any extension at the end. And can you simplify a bit the way GTK+ name its icons, by using subdirectories: Stock["16/text/bold"] for example, or Stock["16/device/harddisk"]. If path is not found, Stock must find a icon of a different size, scale it, and return it. This way, I will be able to make a gb.qt gambas part that will use the same syntax, and equivalent icons. As for gb.qt.kde, I will override the Stock class so that it uses the KDE icon themes. Regards, -- Benoit Minisini mailto:gambas at ...1... From danielcampos at ...45... Sun Aug 7 20:38:05 2005 From: danielcampos at ...45... (Daniel Campos) Date: Sun, 07 Aug 2005 20:38:05 +0200 Subject: [Gambas-devel] gb.gtk 05806 / qt bug In-Reply-To: <200508072028.02962.gambas@...1...> References: <42F4D817.2090406@...45...> <200508071936.35902.gambas@...1...> <42F64EFA.9080301@...45...> <200508072028.02962.gambas@...1...> Message-ID: <42F6550D.2070708@...45...> Hi; >>Bad idea for GTK+: >> >>1) GTK+ has these icons included in the same library, so you're wasting >>memory >>having it twice in memory (and hard disk). >> >> > >So this is the reason I didn't find them! I waste hard disk, but not memory as >the picture files are memory mapped. > > True :-) > > >>2) Icons can change with the theme. What to do then? They will not look >>at the rest >>of applications. >> >> > >Do the stock icons included in the library change with the theme ? Are icon >themes a GTK+ feature or a Gnome feature ? > > They change as GTK+ looks in some paths (I suppose defined in the theme) to replace the original icons for the theme icons. However not all themes use that feature. It is a GTK+ feature: All themes for GTK+ are pure GTK+, not GNOME. In fact the GNOME project is moving all the graphic features to GTK+ (Almost all GNOME widgets are deprecated). It is the modular conceptof GNOME: graphics: GTK+ , xml: libxml, process communication: dbus, and so on... > > > > >OK. But please can you use the following syntax? Stock["XX/a/b/c"] where XX is >the size of the icon: 16, 32, ... and 'a/b/c' the path to the icon - without >any extension at the end. And can you simplify a bit the way GTK+ name its >icons, by using subdirectories: Stock["16/text/bold"] for example, or >Stock["16/device/harddisk"]. > >If path is not found, Stock must find a icon of a different size, scale it, >and return it. > >This way, I will be able to make a gb.qt gambas part that will use the same >syntax, and equivalent icons. As for gb.qt.kde, I will override the Stock >class so that it uses the KDE icon themes. > > > OK! Regards, D. Campos From gambas at ...1... Sun Aug 7 22:20:25 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 7 Aug 2005 22:20:25 +0200 Subject: [Gambas-devel] Release of gambas 1.9.15 Message-ID: <200508072220.25593.gambas@...1...> At least, it should be good :-p What is new in this version ? The work on components written in Gambas has continued. Now you can make true containers. Otherwise: * ColumnView (and other view controls) got a Compare event that is called for comparing columns. A new not yet finished FileChooser control was made to show that. * The controls programmed in Gambas were moved to a new component, gb.form. When the GTK+ component will be finished :-) this component will be able to be used with gb.qt or gb.gtk indifferently. This is the better way for making new controls without having to program it in both toolkit. For example, I think about a Calendar control, TextBox for editing dates, times... Buttons for choosing colors, fonts... And so on... * Right-to-left languages are now took in account by container arrangement routines. * There is a new experimental Editor control in the QT extension component. It aims at replacing the GambasEditor control. It can share its text with other editors, display number lines. It may support custom highlighting routines in the future. There is an experimental 'gambas2-with-editor' project for those who want to see it in action. If you are interested in having a support for custom highlighting, tell me. * The problem of gb.qt not being compiled should be solved - If not, you know where lodging a complaint :-) Note that the last gb.gtk version was not included in this version. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Aug 7 22:54:25 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 7 Aug 2005 22:54:25 +0200 Subject: [Gambas-devel] gb.gtk 05806 / qt bug In-Reply-To: <42F6550D.2070708@...45...> References: <42F4D817.2090406@...45...> <200508072028.02962.gambas@...1...> <42F6550D.2070708@...45...> Message-ID: <200508072254.25401.gambas@...1...> On Sunday 07 August 2005 20:38, Daniel Campos wrote: > Hi; > > >>Bad idea for GTK+: > >> > >>1) GTK+ has these icons included in the same library, so you're wasting > >>memory > >>having it twice in memory (and hard disk). > > > >So this is the reason I didn't find them! I waste hard disk, but not > > memory as the picture files are memory mapped. > > True :-) > > >>2) Icons can change with the theme. What to do then? They will not look > >>at the rest > >>of applications. > > > >Do the stock icons included in the library change with the theme ? Are > > icon themes a GTK+ feature or a Gnome feature ? > > They change as GTK+ looks in some paths (I suppose defined in the theme) > to replace > the original icons for the theme icons. However not all themes use that > feature. > > It is a GTK+ feature: All themes for GTK+ are pure GTK+, not GNOME. In fact > the GNOME project is moving all the graphic features to GTK+ (Almost all > GNOME > widgets are deprecated). It is the modular conceptof GNOME: graphics: > GTK+ , xml: libxml, > process communication: dbus, and so on... > > >OK. But please can you use the following syntax? Stock["XX/a/b/c"] where > > XX is the size of the icon: 16, 32, ... and 'a/b/c' the path to the icon > > - without any extension at the end. And can you simplify a bit the way > > GTK+ name its icons, by using subdirectories: Stock["16/text/bold"] for > > example, or Stock["16/device/harddisk"]. > > > >If path is not found, Stock must find a icon of a different size, scale > > it, and return it. > > > >This way, I will be able to make a gb.qt gambas part that will use the > > same syntax, and equivalent icons. As for gb.qt.kde, I will override the > > Stock class so that it uses the KDE icon themes. > > OK! > > Regards, > > D. Campos > Nothing related to what is above... When you start to work on TreeView & all his family controls, tell me. Because, in QT 4, TrollTech did like the GTK+ guys. I mean now the view of TreeView widget is distinct from the data, like in GTK+. Even if this is powerful, I finally find that complex for the average Gambas user. So I think that we must not make this distinction visible, i.e.: - We must keep only one control for the view. - This view will create its own data structure internally. - The view control will have a r/w property (named View ?) that will returns itself if the control has its own data, and that will be able to be set to another control of the same type so that it displays the same data. I did all that in my new Editor control. It has a Document property, and if you do Editor1.Document = Editor2.Document, then Editor1 will display and edit the same text as Editor2. What do you think about that ? -- Benoit Minisini mailto:gambas at ...1... From lordheavy at ...141... Mon Aug 8 00:10:10 2005 From: lordheavy at ...141... (Laurent Carlier) Date: Mon, 08 Aug 2005 00:10:10 +0200 Subject: [Gambas-devel] Release of gambas 1.9.15 In-Reply-To: <200508072220.25593.gambas@...1...> References: <200508072220.25593.gambas@...1...> Message-ID: <42F686C2.6050100@...141...> Doesn't built for me :) ------ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/qt3/ -D_REENTRANT -pipe -Wall -fno-exceptions -Wno-unused-value -g -Os -fno-omit-frame-pointer -MT CEditor.lo -MD -MP -MF .deps/CEditor.Tpo -c CEditor.cpp -fPIC -DPIC -o .libs/CEditor.o CEditor.cpp:37: error: `int y1' redeclared as different kind of symbol /usr/include/bits/mathcalls.h:242: error: previous declaration of `double y1(double)' make[5]: *** [CEditor.lo] Erreur 1 make[5]: Leaving directory `/home/lordh/gambas2-1.9.15/gb.qt/src/ext' make[4]: *** [all-recursive] Erreur 1 make[4]: Leaving directory `/home/lordh/gambas2-1.9.15/gb.qt/src' make[3]: *** [all-recursive] Erreur 1 make[3]: Leaving directory `/home/lordh/gambas2-1.9.15/gb.qt' make[2]: *** [all] Erreur 2 make[2]: Leaving directory `/home/lordh/gambas2-1.9.15/gb.qt' make[1]: *** [all-recursive] Erreur 1 make[1]: Leaving directory `/home/lordh/gambas2-1.9.15' make: *** [all] Erreur 2 ------ Regards, -- Laurent Carlier jabber : LordHeavy at ...298... From lordheavy at ...141... Mon Aug 8 00:23:10 2005 From: lordheavy at ...141... (Laurent Carlier) Date: Mon, 08 Aug 2005 00:23:10 +0200 Subject: [Gambas-devel] Release of gambas 1.9.15 In-Reply-To: <42F686C2.6050100@...141...> References: <200508072220.25593.gambas@...1...> <42F686C2.6050100@...141...> Message-ID: <42F689CE.5010408@...141...> Laurent Carlier a ?crit : > Doesn't built for me :) > > ------ > > g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/qt3/ -D_REENTRANT > -pipe -Wall -fno-exceptions -Wno-unused-value -g -Os > -fno-omit-frame-pointer -MT CEditor.lo -MD -MP -MF .deps/CEditor.Tpo -c > CEditor.cpp -fPIC -DPIC -o .libs/CEditor.o > CEditor.cpp:37: error: `int y1' redeclared as different kind of symbol > /usr/include/bits/mathcalls.h:242: error: previous declaration of `double > y1(double)' > make[5]: *** [CEditor.lo] Erreur 1 > make[5]: Leaving directory `/home/lordh/gambas2-1.9.15/gb.qt/src/ext' > make[4]: *** [all-recursive] Erreur 1 > make[4]: Leaving directory `/home/lordh/gambas2-1.9.15/gb.qt/src' > make[3]: *** [all-recursive] Erreur 1 > make[3]: Leaving directory `/home/lordh/gambas2-1.9.15/gb.qt' > make[2]: *** [all] Erreur 2 > make[2]: Leaving directory `/home/lordh/gambas2-1.9.15/gb.qt' > make[1]: *** [all-recursive] Erreur 1 > make[1]: Leaving directory `/home/lordh/gambas2-1.9.15' > make: *** [all] Erreur 2 > > ------ > > Regards, > I've replaced all refs of y1 to y and now it compile fine. -- Laurent Carlier jabber : LordHeavy at ...298... From danielcampos at ...45... Mon Aug 8 11:02:18 2005 From: danielcampos at ...45... (Daniel Campos) Date: Mon, 08 Aug 2005 11:02:18 +0200 Subject: [Gambas-devel] Stock items Message-ID: <42F71F9A.1030509@...45...> Hi Benoit: While writting the "Stock" class for gb.gtk, I've added some icons I already had in the previous implementation. These are the names, and the GTK equivalent, so you can find them at http://developer.gnome.org/doc/API/2.0/gtk/gtk-Stock-Items.html and have an idea of the possible qt equivalence: "device/network" GTK_STOCK_NETWORK "dnd/simple" GTK_STOCK_DND "dnd/multiple" GTK_STOCK_DND_MULTIPLE "sort/ascending" GTK_STOCK_SORT_ASCENDING "sort/descending" GTK_STOCK_SORT_DESCENDING "text/indent" GTK_STOCK_INDENT "text/unindent" GTK_STOCK_UNINDENT "add" GTK_STOCK_ADD "clear" GTK_STOCK_CLEAR "convert" GTK_STOCK_CONVERT "execute" GTK_STOCK_EXECUTE "findandreplace" GTK_STOCK_FIND_AND_REPLACE "index" GTK_STOCK_INDEX "jumpto" GTK_STOCK_JUMP_TO "missingimage" GTK_STOCK_MISSING_IMAGE "no" GTK_STOCK_NO "printpreview" GTK_STOCK_PRINT_PREVIEW "remove" GTK_STOCK_REMOVE "revert" GTK_STOCK_REVERT_TO_SAVED "undelete" GTK_STOCK_UNDELETE "yes" GTK_STOCK_YES Regards, D. Campos From danielcampos at ...45... Mon Aug 8 13:57:43 2005 From: danielcampos at ...45... (Daniel Campos) Date: Mon, 08 Aug 2005 13:57:43 +0200 Subject: [Gambas-devel] Does autorresize work? Message-ID: <42F748B7.6060708@...45...> Hi Benoit: The new Label.Autorresize property seems to not work at all... May be I'm wrong, could you put any example? Regards, D. Campos From danielcampos at ...45... Mon Aug 8 14:35:35 2005 From: danielcampos at ...45... (Daniel Campos) Date: Mon, 08 Aug 2005 14:35:35 +0200 Subject: [Gambas-devel] gb.gtk 080805 Message-ID: <42F75197.5070002@...45...> Hi: Here is a new version of gb.gtk: http://gambas.gnulinex.org/gtk Just for gambas-1.9.15, in order to test the UserContainer and Stock classes: * NEW: "UserContainer" class implemented. * FIXED: Some problems in menu representation. * NEW: "Stock" class implemented. * NEW: Stubs for Label.Autoresize and "Compare" properties and events. If you already downloaded and installed gambas2-1.9.15, remove the gb.gtk.gambas file placed in the components directory ( usually /usr/lib/gambas2 ), prior to compile and install this new version. Regards, D. Campos From danielcampos at ...45... Mon Aug 8 15:11:00 2005 From: danielcampos at ...45... (Daniel Campos) Date: Mon, 08 Aug 2005 15:11:00 +0200 Subject: [Gambas-devel] gb.gtk 05806 / qt bug In-Reply-To: <200508072254.25401.gambas@...1...> References: <42F4D817.2090406@...45...> <200508072028.02962.gambas@...1...> <42F6550D.2070708@...45...> <200508072254.25401.gambas@...1...> Message-ID: <42F759E4.5010701@...45...> Hi: In fact I'm using GtkTreeView for ListBox, ListView and ColumnView. One of the things I was thinking is to write only the more complex control in C++, and then use the gambas-control feature to implement ListBox, ListView, TreeView GridView and ColumnView, may be in the gb.gtk.gambas part, or even in the gb.form component if you did the same. I agree with you: this model is very complex for Basic programmers, but may be there could be only a Widget written in C++, exposing all the complex of a TreeView model, for those who want to use it (primarily us to implement the rest of widgets :-), and then cover it with Gambas code so we had a simple ListBox, ListView... and may be the TableView control that, I don't know why, is placed in the gb.qt.ext component. All these controls would take the look & feel from QT or GTK+ depending on what component is in use, and we (specially me :-) could save a lot of time and code. I'd want to start that work as soon as possible, as I know there are some bugs in the current ListBox and ListView implementations, and I would like to rewrite that code... Regards, D. Campos > >Nothing related to what is above... > >When you start to work on TreeView & all his family controls, tell me. > >Because, in QT 4, TrollTech did like the GTK+ guys. I mean now the view of >TreeView widget is distinct from the data, like in GTK+. > >Even if this is powerful, I finally find that complex for the average Gambas >user. So I think that we must not make this distinction visible, i.e.: >- We must keep only one control for the view. >- This view will create its own data structure internally. >- The view control will have a r/w property (named View ?) that will returns >itself if the control has its own data, and that will be able to be set to >another control of the same type so that it displays the same data. > >I did all that in my new Editor control. It has a Document property, and if >you do Editor1.Document = Editor2.Document, then Editor1 will display and >edit the same text as Editor2. > >What do you think about that ? > > > From gambas at ...1... Mon Aug 8 16:35:06 2005 From: gambas at ...1... (Benoit Minisini) Date: Mon, 8 Aug 2005 16:35:06 +0200 Subject: [Gambas-devel] gb.gtk 05806 / qt bug In-Reply-To: <42F759E4.5010701@...45...> References: <42F4D817.2090406@...45...> <200508072254.25401.gambas@...1...> <42F759E4.5010701@...45...> Message-ID: <200508081635.06859.gambas@...1...> On Monday 08 August 2005 15:11, Daniel Campos wrote: > Hi: > > In fact I'm using GtkTreeView for ListBox, ListView and ColumnView. One of > the things I was thinking is to write only the more complex control in > C++, and > then use the gambas-control feature to implement ListBox, ListView, > TreeView GridView and ColumnView, may be in the gb.gtk.gambas part, or even > in the gb.form component > if you did the same. The problem is that you cannot make virtual classes directly in Gambas, and *View controls use that to represent items. I prefer not to create one Gambas object for each *View item, it would be too slow... > > > I agree with you: this model is very complex for Basic programmers, but > may be there could be > only a Widget written in C++, exposing all the complex of a TreeView > model, for those who > want to use it (primarily us to implement the rest of widgets :-), and > then cover it with > Gambas code so we had a simple ListBox, ListView... and may be the > TableView control that, I don't > know why, is placed in the gb.qt.ext component. It is there because: - I didn't know if it can be done in GTK+ - It is a hack of the QTable QT widget, where I replaced real items by calls to the Data event handler. > All these controls would > take the look & feel from > QT or GTK+ depending on what component is in use, and we (specially me > > :-) could save a lot > > of time and code. > > I'd want to start that work as soon as possible, as I know there are > some bugs in the current > ListBox and ListView implementations, and I would like to rewrite that > code... Even if these widgets are frightening in GTK+ :-), I'm not sure it is a good idea for TreeView, ListView, ColumnView, IconView, and TableView. I mean, by exposing all the complexity of the internals to Gambas and making a simple interface in Gambas, I don't think you will save a lot of time and code. What is more complicated in GTK+ than in QT3 is that you just have to create models, iterators, ..., before creating the final view widget, but once this is done, I think the rest is as simple/complicated as in QT. Creating a complex interface for Gambas in C/C++ is sometimes longer that doing everything in C/C++ and only making a simple Gambas interface. But I can't really tell you while I didn't see some code... :-) Another remark: in QT, TreeView, ListView and ColumnView are the same widget, but not IconView nor TableView. I don't know in GTK+. Anyway, as I think of the future where another toolkit could be used, I prefer keeping all these controls separated in Gambas. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Mon Aug 8 16:37:44 2005 From: gambas at ...1... (Benoit Minisini) Date: Mon, 8 Aug 2005 16:37:44 +0200 Subject: [Gambas-devel] Release of gambas 1.9.15 In-Reply-To: <42F689CE.5010408@...141...> References: <200508072220.25593.gambas@...1...> <42F686C2.6050100@...141...> <42F689CE.5010408@...141...> Message-ID: <200508081637.44306.gambas@...1...> On Monday 08 August 2005 00:23, Laurent Carlier wrote: > Laurent Carlier a ?crit : > > Doesn't built for me :) > > > > ------ > > > > g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/qt3/ -D_REENTRANT > > -pipe -Wall -fno-exceptions -Wno-unused-value -g -Os > > -fno-omit-frame-pointer -MT CEditor.lo -MD -MP -MF .deps/CEditor.Tpo -c > > CEditor.cpp -fPIC -DPIC -o .libs/CEditor.o > > CEditor.cpp:37: error: `int y1' redeclared as different kind of symbol > > /usr/include/bits/mathcalls.h:242: error: previous declaration of `double > > y1(double)' > > make[5]: *** [CEditor.lo] Erreur 1 > > make[5]: Leaving directory `/home/lordh/gambas2-1.9.15/gb.qt/src/ext' > > make[4]: *** [all-recursive] Erreur 1 > > make[4]: Leaving directory `/home/lordh/gambas2-1.9.15/gb.qt/src' > > make[3]: *** [all-recursive] Erreur 1 > > make[3]: Leaving directory `/home/lordh/gambas2-1.9.15/gb.qt' > > make[2]: *** [all] Erreur 2 > > make[2]: Leaving directory `/home/lordh/gambas2-1.9.15/gb.qt' > > make[1]: *** [all-recursive] Erreur 1 > > make[1]: Leaving directory `/home/lordh/gambas2-1.9.15' > > make: *** [all] Erreur 2 > > > > ------ > > > > Regards, > > I've replaced all refs of y1 to y and now it compile fine. Which compiler do yo use ??? I don't know who includes mathcalls.h, as it isn't needed... Everything works correctly with gcc 4... Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Mon Aug 8 16:41:27 2005 From: gambas at ...1... (Benoit Minisini) Date: Mon, 8 Aug 2005 16:41:27 +0200 Subject: [Gambas-devel] Does autorresize work? In-Reply-To: <42F748B7.6060708@...45...> References: <42F748B7.6060708@...45...> Message-ID: <200508081641.27566.gambas@...1...> On Monday 08 August 2005 13:57, Daniel Campos wrote: > Hi Benoit: > > The new Label.Autorresize property seems to not work at all... > The last time I tried, it worked... > May be I'm wrong, could you put any example? If AutoResize = TRUE, then the Label height will always be the height of its font plus 2 pixels. I can't say more... The ComboBox has a constraint like that: its height can be less than the height of its font... Regards, -- Benoit Minisini mailto:gambas at ...1... From oreip at ...1... Mon Aug 8 17:00:10 2005 From: oreip at ...1... (PV) Date: Mon, 08 Aug 2005 17:00:10 +0200 Subject: [Gambas-devel] Release of gambas 1.9.15 In-Reply-To: <200508081637.44306.gambas@...1...> References: <200508072220.25593.gambas@...1...> <42F686C2.6050100@...141...> <42F689CE.5010408@...141...> <200508081637.44306.gambas@...1...> Message-ID: <42F7737A.2010207@...1...> On 08/08/2005 16:37, Benoit Minisini wrote: >>I've replaced all refs of y1 to y and now it compile fine. > > > Which compiler do yo use ??? > > I don't know who includes mathcalls.h, as it isn't needed... Everything works > correctly with gcc 4... I had the same problem too. I'm using gcc 3.3.4. Ciao, Piero From gambas at ...1... Mon Aug 8 17:10:40 2005 From: gambas at ...1... (Benoit Minisini) Date: Mon, 8 Aug 2005 17:10:40 +0200 Subject: [Gambas-devel] Release of gambas 1.9.15 In-Reply-To: <42F7737A.2010207@...1...> References: <200508072220.25593.gambas@...1...> <200508081637.44306.gambas@...1...> <42F7737A.2010207@...1...> Message-ID: <200508081710.40473.gambas@...1...> On Monday 08 August 2005 17:00, PV wrote: > On 08/08/2005 16:37, Benoit Minisini wrote: > >>I've replaced all refs of y1 to y and now it compile fine. > > > > Which compiler do yo use ??? > > > > I don't know who includes mathcalls.h, as it isn't needed... Everything > > works correctly with gcc 4... > > I had the same problem too. > I'm using gcc 3.3.4. > > > Ciao, > Piero > Do what Laurent did. I will use other symbols in the next release! Regards, -- Benoit Minisini mailto:gambas at ...1... From danielcampos at ...45... Mon Aug 8 18:20:21 2005 From: danielcampos at ...45... (Daniel Campos) Date: Mon, 08 Aug 2005 18:20:21 +0200 Subject: [Gambas-devel] Does autorresize work? In-Reply-To: <200508081641.27566.gambas@...1...> References: <42F748B7.6060708@...45...> <200508081641.27566.gambas@...1...> Message-ID: <42F78645.8080808@...45...> > >If AutoResize = TRUE, then the Label height will always be the height of its >font plus 2 pixels. I can't say more... The ComboBox has a constraint like >that: its height can be less than the height of its font... > > Ah, then it works. Strange property... Regards, D. Campos From lordheavy at ...141... Mon Aug 8 18:34:50 2005 From: lordheavy at ...141... (Laurent Carlier) Date: Mon, 08 Aug 2005 18:34:50 +0200 Subject: [Gambas-devel] Release of gambas 1.9.15 In-Reply-To: <200508081637.44306.gambas@...1...> References: <200508072220.25593.gambas@...1...> <42F686C2.6050100@...141...> <42F689CE.5010408@...141...> <200508081637.44306.gambas@...1...> Message-ID: <42F789AA.3030905@...141...> Benoit Minisini a ?crit : > On Monday 08 August 2005 00:23, Laurent Carlier wrote: > >>Laurent Carlier a ?crit : >> >>>Doesn't built for me :) >>> >>>------ >>> >>>g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/qt3/ -D_REENTRANT >>>-pipe -Wall -fno-exceptions -Wno-unused-value -g -Os >>>-fno-omit-frame-pointer -MT CEditor.lo -MD -MP -MF .deps/CEditor.Tpo -c >>>CEditor.cpp -fPIC -DPIC -o .libs/CEditor.o >>>CEditor.cpp:37: error: `int y1' redeclared as different kind of symbol >>>/usr/include/bits/mathcalls.h:242: error: previous declaration of `double >>> y1(double)' >>>make[5]: *** [CEditor.lo] Erreur 1 >>>make[5]: Leaving directory `/home/lordh/gambas2-1.9.15/gb.qt/src/ext' >>>make[4]: *** [all-recursive] Erreur 1 >>>make[4]: Leaving directory `/home/lordh/gambas2-1.9.15/gb.qt/src' >>>make[3]: *** [all-recursive] Erreur 1 >>>make[3]: Leaving directory `/home/lordh/gambas2-1.9.15/gb.qt' >>>make[2]: *** [all] Erreur 2 >>>make[2]: Leaving directory `/home/lordh/gambas2-1.9.15/gb.qt' >>>make[1]: *** [all-recursive] Erreur 1 >>>make[1]: Leaving directory `/home/lordh/gambas2-1.9.15' >>>make: *** [all] Erreur 2 >>> >>>------ >>> >>>Regards, >> >>I've replaced all refs of y1 to y and now it compile fine. > > > Which compiler do yo use ??? > > I don't know who includes mathcalls.h, as it isn't needed... Everything works > correctly with gcc 4... > > Regards, > gcc 3.3.5 .... Strange bug :) Regards, -- Laurent Carlier jabber : LordHeavy at ...298... From gambas at ...1... Mon Aug 8 19:25:57 2005 From: gambas at ...1... (Benoit Minisini) Date: Mon, 8 Aug 2005 19:25:57 +0200 Subject: [Gambas-devel] Does autorresize work? In-Reply-To: <42F78645.8080808@...45...> References: <42F748B7.6060708@...45...> <200508081641.27566.gambas@...1...> <42F78645.8080808@...45...> Message-ID: <200508081925.57301.gambas@...1...> On Monday 08 August 2005 18:20, Daniel Campos wrote: > >If AutoResize = TRUE, then the Label height will always be the height of > > its font plus 2 pixels. I can't say more... The ComboBox has a constraint > > like that: its height can be less than the height of its font... > > Ah, then it works. Strange property... > > Regards, > > D. Campos > > I made it when I made my first TestContainer Gambas container. This container is a panel with a title and a button with a cross, and I wanted that when I change the font of the container in the IDE, the title follows. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Aug 9 22:50:20 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 9 Aug 2005 22:50:20 +0200 Subject: [Gambas-devel] gb.gtk 080805 In-Reply-To: <42F75197.5070002@...45...> References: <42F75197.5070002@...45...> Message-ID: <200508092250.21097.gambas@...1...> On Monday 08 August 2005 14:35, Daniel Campos wrote: > Hi: > > Here is a new version of gb.gtk: > > http://gambas.gnulinex.org/gtk > > Just for gambas-1.9.15, in order to test the UserContainer and Stock > classes: > > * NEW: "UserContainer" class implemented. > * FIXED: Some problems in menu representation. > * NEW: "Stock" class implemented. > * NEW: Stubs for Label.Autoresize and "Compare" properties and events. > > If you already downloaded and installed gambas2-1.9.15, remove the > gb.gtk.gambas file > placed in the components directory ( usually /usr/lib/gambas2 ), prior > to compile and > install this new version. > > Regards, > > D. Campos > > Hi, Daniel. I send you the 'gb.qt.arrangement.h' file where I put the arrangement algorithm. How to use it is explained inside - You have to define a bunch of macros and include the file in your code. I will put a symbolic link to this file in ./gb.gtk/src Tell me if you have any problem with it. Now some remarks about Container, UserControl and UserContainer... - UserContainer is exactly like UserControl, except that UserContainer exports the arrangement properties (Arrangement, Paddign, Spacing, AutoResize) and that it applies these properties to the underlying gambas container specified by the Container property. Moreover, when the container property is set, you must call the arrangement function again because the arrangement function is only applied to the current container. - From the next version (1/9/16), every container must have the arrangement flag structure, even if they do not use it. This way, a user can set a non-arranger container to a Container UserContainer property (is this sentence clear ?). - Forms are containers like others - It seems that resizing a form with gb.gtk does not update the arrangement. A last point: when you distribute gb.gtk source package, you can make it independant from the gambas source tree if you wish by running 'make dist' inside the ./gb.gtk directory. Regards, -- Benoit Minisini mailto:gambas at ...1... From lordheavy at ...141... Wed Aug 10 22:19:29 2005 From: lordheavy at ...141... (Laurent Carlier) Date: Wed, 10 Aug 2005 22:19:29 +0200 Subject: [Gambas-devel] Virtual class in gambas Message-ID: <42FA6151.4000200@...141...> Currently i've start adding a sprite management in sdl.image component (in gambas :) ). I would like to know if it is possible to make virtual class with gambas native language (return self property). ex : sprite[0].blit(x,y) Regards, -- Laurent Carlier jabber : LordHeavy at ...298... From gambas at ...1... Thu Aug 11 14:47:37 2005 From: gambas at ...1... (Benoit Minisini) Date: Thu, 11 Aug 2005 14:47:37 +0200 Subject: [Gambas-devel] Virtual class in gambas In-Reply-To: <42FA6151.4000200@...141...> References: <42FA6151.4000200@...141...> Message-ID: <200508111447.37812.gambas@...1...> On Wednesday 10 August 2005 22:19, Laurent Carlier wrote: > Currently i've start adding a sprite management in sdl.image component > (in gambas :) ). > > I would like to know if it is possible to make virtual class with gambas > native language (return self property). > > ex : sprite[0].blit(x,y) > > > Regards, No... This is an internal "hack" made for speeding up C/C++ components. Sprites in Gambas ? And speed ? :-) And I hate this 'blit' name everywhere - I prefer 'Draw' ;-) Regards, -- Benoit Minisini mailto:gambas at ...1... From lordheavy at ...141... Thu Aug 11 15:08:59 2005 From: lordheavy at ...141... (Laurent Carlier) Date: Thu, 11 Aug 2005 15:08:59 +0200 Subject: [Gambas-devel] Virtual class in gambas In-Reply-To: <200508111447.37812.gambas@...1...> References: <42FA6151.4000200@...141...> <200508111447.37812.gambas@...1...> Message-ID: <42FB4DEB.5010701@...141...> Benoit Minisini a ?crit : > > No... This is an internal "hack" made for speeding up C/C++ components. > > Sprites in Gambas ? And speed ? :-) And I hate this 'blit' name everywhere - I > prefer 'Draw' ;-) > > Regards, > Sprites are all "precalculated" in an internal surface, so i need only an index to "draw" the good sprite (index * spriteWidth) :) --------- DIM mySprite as new Sprite mySprite.Load("thesprite", width, height, first, count) ' or mySprite.FromSurface(Surface, width, height, first, count) mySprite.Animation = Sprite.PlayLoop mySprite.Delay = 0.5 ' 500 ms between two sprites startRefreshLoop ..... mySprite.Play(x,y) ..... endRefreshLoop surface = mySprite[0] ' returns the sprite 0 as a surface -------- etc..... Yes, draws seem to be better :) (blit remember me my old amiga computer) -- Laurent Carlier jabber : LordHeavy at ...298... From gambas at ...1... Thu Aug 11 17:07:09 2005 From: gambas at ...1... (Benoit Minisini) Date: Thu, 11 Aug 2005 17:07:09 +0200 Subject: [Gambas-devel] Release of gambas 1.9.16 Message-ID: <200508111707.09197.gambas@...1...> Hi, This release should fix the compilation problems of 1.9.14 and 1.9.15. Otherwise, I will make a 1.9.17... :o) Containers written with Gambas support is good now, and now you have two new containers in the gb.form component: ToolPanel, that implements toolbars with panels like the Gambas tool-box, and Wizard, that helps you making wizards. Try them and tell me what you think about that. If you are more curious, the sources of these two new containers are in './comp/gb.form'. Enjoy it, -- Benoit Minisini mailto:gambas at ...1... From danielcampos at ...45... Sat Aug 13 03:05:05 2005 From: danielcampos at ...45... (Daniel Campos) Date: Sat, 13 Aug 2005 03:05:05 +0200 Subject: [Gambas-devel] Virtual class in gambas In-Reply-To: <200508111447.37812.gambas@...1...> References: <42FA6151.4000200@...141...> <200508111447.37812.gambas@...1...> Message-ID: <42FD4741.2070207@...45...> > >No... This is an internal "hack" made for speeding up C/C++ components. > > > > However it would be nice to implement that feature: Key word (at the beggining of a class): VIRTUAL FROM ClassName And then, they should share the internal object... Regards, D. Campos From danielcampos at ...45... Sat Aug 13 16:35:46 2005 From: danielcampos at ...45... (Daniel Campos) Date: Sat, 13 Aug 2005 16:35:46 +0200 Subject: [Gambas-devel] new documentation problem Message-ID: <42FE0542.2090903@...45...> Hi Benoit: After a brief test, I found a bug for the Spanish documentation system at new.gambasdoc: the spanish symbols " ? " and " ? " are not shown. You can look at: http://64.128.110.55/help/?es It is impossible to write exclamative or interrogative phrases without these symbols in spanish... Regards, D. Campos From danielcampos at ...45... Sat Aug 13 23:52:54 2005 From: danielcampos at ...45... (Daniel Campos) Date: Sat, 13 Aug 2005 23:52:54 +0200 Subject: [Gambas-devel] More new.gambasdoc problems Message-ID: <42FE6BB6.7080609@...45...> hi Benoit: The "*" symbol is not shown: http://64.128.110.55/help/lang/pi?en I tried ☆ but it does not work. Regards, D. Campos From lordheavy at ...141... Sun Aug 14 00:23:29 2005 From: lordheavy at ...141... (Laurent Carlier) Date: Sun, 14 Aug 2005 00:23:29 +0200 Subject: [Gambas-devel] More new.gambasdoc problems In-Reply-To: <42FE6BB6.7080609@...45...> References: <42FE6BB6.7080609@...45...> Message-ID: <42FE72E1.8000402@...141...> Daniel Campos a ?crit : > hi Benoit: > > The "*" symbol is not shown: http://64.128.110.55/help/lang/pi?en > > I tried ☆ but it does not work. > > Regards, > > D. Campos > you should use \* Regards, -- Laurent Carlier jabber : LordHeavy at ...298... From danielcampos at ...45... Sun Aug 14 00:30:50 2005 From: danielcampos at ...45... (Daniel Campos) Date: Sun, 14 Aug 2005 00:30:50 +0200 Subject: [Gambas-devel] More new.gambasdoc problems In-Reply-To: <42FE72E1.8000402@...141...> References: <42FE6BB6.7080609@...45...> <42FE72E1.8000402@...141...> Message-ID: <42FE749A.2040800@...45...> Laurent Carlier escribi?: >Daniel Campos a ?crit : > > >>hi Benoit: >> >>The "*" symbol is not shown: http://64.128.110.55/help/lang/pi?en >> >>I tried ☆ but it does not work. >> >>Regards, >> >>D. Campos >> >> >> > >you should use \* > >Regards, > > > Thanks! From danielcampos at ...45... Sun Aug 14 01:25:34 2005 From: danielcampos at ...45... (Daniel Campos) Date: Sun, 14 Aug 2005 01:25:34 +0200 Subject: [Gambas-devel] Spanish translation / doc.cgi Message-ID: <42FE816E.1040605@...45...> Hi Beno?t: Here's the spanish translation for the doc.cgi program. Regards, D. Campos -------------- next part -------------- A non-text attachment was scrubbed... Name: doc.cgi-es.po Type: text/x-gettext-translation Size: 7680 bytes Desc: not available URL: From gambas at ...1... Sun Aug 14 18:47:29 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 14 Aug 2005 18:47:29 +0200 Subject: [Gambas-devel] new documentation problem In-Reply-To: <42FE0542.2090903@...45...> References: <42FE0542.2090903@...45...> Message-ID: <200508141847.29653.gambas@...1...> On Saturday 13 August 2005 16:35, Daniel Campos wrote: > Hi Benoit: > > After a brief test, I found a bug for the Spanish documentation system > at new.gambasdoc: the spanish symbols " ? " and " ? " are not shown. > You can look at: > > http://64.128.110.55/help/?es > > It is impossible to write exclamative or interrogative phrases without > these symbols in spanish... > > Regards, > > D. Campos > > Mmm... I see them in Konqueror (at least "?"). Which browser do you use ? Which font do you use ? -- Benoit Minisini mailto:gambas at ...1... -------------- next part -------------- A non-text attachment was scrubbed... Name: capture1.png Type: image/png Size: 91103 bytes Desc: not available URL: From lordheavy at ...141... Sun Aug 14 19:08:42 2005 From: lordheavy at ...141... (Laurent Carlier) Date: Sun, 14 Aug 2005 19:08:42 +0200 Subject: [Gambas-devel] new documentation problem In-Reply-To: <200508141847.29653.gambas@...1...> References: <42FE0542.2090903@...45...> <200508141847.29653.gambas@...1...> Message-ID: <42FF7A9A.3040802@...141...> Benoit Minisini a ?crit : > On Saturday 13 August 2005 16:35, Daniel Campos wrote: > >>Hi Benoit: >> >>After a brief test, I found a bug for the Spanish documentation system >>at new.gambasdoc: the spanish symbols " ? " and " ? " are not shown. >>You can look at: >> >>http://64.128.110.55/help/?es >> >>It is impossible to write exclamative or interrogative phrases without >>these symbols in spanish... >> >>Regards, >> >>D. Campos >> >> > > > Mmm... I see them in Konqueror (at least "?"). Which browser do you use ? > Which font do you use ? > > > > ------------------------------------------------------------------------ > It seems i've give the answer in a next question ... (with *, the \ op?rator) Regards, -- Laurent Carlier jabber : LordHeavy at ...298... From gambas at ...1... Sun Aug 14 19:33:53 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 14 Aug 2005 19:33:53 +0200 Subject: [Gambas-devel] new documentation problem In-Reply-To: <42FF7A9A.3040802@...141...> References: <42FE0542.2090903@...45...> <200508141847.29653.gambas@...1...> <42FF7A9A.3040802@...141...> Message-ID: <200508141933.53502.gambas@...1...> On Sunday 14 August 2005 19:08, Laurent Carlier wrote: > Benoit Minisini a ?crit : > > On Saturday 13 August 2005 16:35, Daniel Campos wrote: > >>Hi Benoit: > >> > >>After a brief test, I found a bug for the Spanish documentation system > >>at new.gambasdoc: the spanish symbols " ? " and " ? " are not shown. > >>You can look at: > >> > >>http://64.128.110.55/help/?es > >> > >>It is impossible to write exclamative or interrogative phrases without > >>these symbols in spanish... > >> > >>Regards, > >> > >>D. Campos > > > > Mmm... I see them in Konqueror (at least "?"). Which browser do you use ? > > Which font do you use ? > > > > > > > > ------------------------------------------------------------------------ > > It seems i've give the answer in a next question ... (with *, the \ > op?rator) > > Regards, '*' is a reserved wiki character, but not the spanish punctuation marks! Regards, -- Benoit Minisini mailto:gambas at ...1... From mauriziopz at ...176... Sun Aug 14 19:40:40 2005 From: mauriziopz at ...176... (Maurizio Pozzobon) Date: Sun, 14 Aug 2005 19:40:40 +0200 Subject: [Gambas-devel] new documentation problem In-Reply-To: <200508141933.53502.gambas@...1...> References: <42FE0542.2090903@...45...> <200508141847.29653.gambas@...1...> <42FF7A9A.3040802@...141...> <200508141933.53502.gambas@...1...> Message-ID: it works also in firefox -- Maurizio -------------- next part -------------- An HTML attachment was scrubbed... URL: From danielcampos at ...45... Wed Aug 17 09:42:56 2005 From: danielcampos at ...45... (Daniel Campos) Date: Wed, 17 Aug 2005 09:42:56 +0200 Subject: [Gambas-devel] new documentation problem In-Reply-To: <200508141847.29653.gambas@...1...> References: <42FE0542.2090903@...45...> <200508141847.29653.gambas@...1...> Message-ID: <4302EA80.7010708@...45...> >> >> >> >> > >Mmm... I see them in Konqueror (at least "?"). Which browser do you use ? >Which font do you use ? > > No, it is working because I used the "\?" syntax! You can edit the page to check it. I mean It didn't worked just writting "?" , but after Laurent told me the "\*" I used "\?" to show the exclamative sign. Regards, D. Campos From gambas at ...1... Wed Aug 17 15:58:56 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 17 Aug 2005 15:58:56 +0200 Subject: [Gambas-devel] new documentation problem In-Reply-To: <4302EA80.7010708@...45...> References: <42FE0542.2090903@...45...> <200508141847.29653.gambas@...1...> <4302EA80.7010708@...45...> Message-ID: <200508171558.57064.gambas@...1...> On Wednesday 17 August 2005 09:42, Daniel Campos wrote: > >Mmm... I see them in Konqueror (at least "?"). Which browser do you use ? > >Which font do you use ? > > No, it is working because I used the "\?" syntax! You can edit the page > to check it. > I mean It didn't worked just writting "?" , but after Laurent told me > the "\*" I used > "\?" to show the exclamative sign. > > Regards, > > D. Campos > OK! This is a bug in the 1.9.14 Trim() function that was fixed since then. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Aug 19 17:42:44 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 19 Aug 2005 17:42:44 +0200 Subject: [Gambas-devel] Release of gambas 1.9.17 Message-ID: <200508191742.44694.gambas@...1...> Hi everyone, Here is the ChangeLog for this release: --8<--------------------------------------------------------------------------- CONFIGURATION * BUG: The detection of QT libraries should work now on Arch Linux. COMPILER * BUG: Now component information are generated only when doing a complete compilation. INTERPRETER * NEW: A new API, GB.MatchString(), to do pattern matching like the LIKE instruction. * BUG: Some fixes in archive management. * NEW: The classes of the executed project marked with EXPORT are now really exported, after the exported classes of all loaded components. This way, you can override them easily. I used it for redefining TextBox so that its background color is animated :-) * BUG: Some fixes in the debugger. Now error messages occurring before the Main function start are catched by the IDE. * NEW: Error.Propagate(), that raises the current catched error again. * BUG: Converting a variant void string to date now gives a null date and not an error anymore. * BUG: A component Gambas project can use itself as component. Then it will not be loaded twice by the interpreter. * BUG: Now strings are implicitely converted to floats with arithmetic operators, and not to booleans anymore. * BUG: Trim$(), LTrim$() and RTrim$() do not remove non-ASCII characters in some cases anymore. QT COMPONENT * BUG: Modifying a control font now always call the Font property setter, so that it is possible to reimplement the Font property in inherited class. * BUG: Automatic drag & drop was disabled in IconView. * NEW: IconView got a MoveBack() method, like the other view controls. * NEW: Application.ActiveControl returns the control having the focus. * NEW: Desktop.Find returns an array of identifiers of windows matching a given title, role or class. * WARNING: TextBox and TextArea selection methods have changed. The Select symbol is now a method only, and you must use the new method SelectAll() to select all the text. The All and implicite methods in the Selection property were removed. * NEW: TreeView, ListView, and ColumnView got a SelectAll() method. * WARNING: Now ColumnView columns are AutoResize by default if ColumnView global AutoResize property is false. * NEW: If an event handler named Application_KeyPress is defined in themselves startup class, then he will get all key events received by the application before any other control. FORM COMPONENT * NEW: DateBox and TimeBox controls, for editing dates and times. * NEW: DirChooser has more properties. * NEW: FileChooser, a control for choosing a file. * NEW: ColorChooser were redesigned. NETWORKING COMPONENTS * BUG: The *.component files were fixed, so that you can insert the controls in form without error as before. * NEW: Controls icons were redesigned. INFORMATION COMPONENT * NEW: This component aims at providing all needed information about installed components: classes, symbols, events, controls, properties, and so on. --8<--------------------------------------------------------------------------- I hope the problem with networking components controls is fixed, and the interpreter changes is the internal component management won't break too many things :-) Be careful with the syntax changes in selection mode in TextBox and TextArea, they might break your code :-( Sorry for that... Last, thank to Terry Blunt, the last people who sent me a financial support! I'm currently thinking giving more visibility to the people who support gambas by making code, translation, help, and making money. Do you think that putting a little photo of each people on the web site would be a good idea ? With then name, the country, and one or two lines of information... Tell me! Regards, -- Benoit Minisini mailto:gambas at ...1... From na2492 at ...16... Fri Aug 19 22:51:19 2005 From: na2492 at ...16... (Charlie Reinl) Date: Fri, 19 Aug 2005 22:51:19 00200 Subject: [Gambas-devel] Release of gambas 1.9.17 Message-ID: <43064647.4e9c.0@...16...> >I'm currently thinking giving more visibility to the people who support gambas >by making code, translation, help, and making money. > >Do you think that putting a little photo of each people on the web site would >be a good idea ? With then name, the country, and one or two lines of >information... Tell me! > Salut, I think for your idea, thats OK ( for several reasons ). Ask these people for a photo, explaining them why. If you get one, you can put it on the side. Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From gambasfr at ...4... Sun Aug 21 17:12:02 2005 From: gambasfr at ...4... (Fabien Bodard) Date: Sun, 21 Aug 2005 17:12:02 +0200 Subject: [Gambas-devel] About thread in gambas Message-ID: <200508211712.02105.gambasfr@...4...> Hi to all, I've just one query ... Why not implement the Thread now in gambas... in the pre V2 version ? And is that possible ? I talk about that because with qt or gtk we have some workaround with the timer ... but for console tools ? At less is there possible to make a component that do that ? (like the lib 'thread' in python) I've not the capability to try that myself (C language is not really my friend), i think there is mabe only two person here at this time who can so ... Best regards, Fabien Bodard From jredrejo at ...101... Sat Aug 20 17:37:31 2005 From: jredrejo at ...101... (=?ISO-8859-1?Q?Jos=E9?= L. Redrejo =?ISO-8859-1?Q?Rodr=EDguez?=) Date: Sat, 20 Aug 2005 17:37:31 +0200 Subject: [Gambas-devel] About thread in gambas In-Reply-To: <200508211712.02105.gambasfr@...4...> References: <200508211712.02105.gambasfr@...4...> Message-ID: <1124552251.6445.64.camel@...102...> It would be great to get that feature. I have needed a timer in a console application and had to do a very ugly workaround class using SHELL and calls to the unix sleepenh command. So I add my voice to Fabien's :-) (C is not my best friend either) El dom, 21-08-2005 a las 17:12 +0200, Fabien Bodard escribi?: > Hi to all, > > I've just one query ... Why not implement the Thread now in gambas... in the > pre V2 version ? > > And is that possible ? I talk about that because with qt or gtk we have some > workaround with the timer ... but for console tools ? At less is there > possible to make a component that do that ? (like the lib 'thread' in python) > > I've not the capability to try that myself (C language is not really my > friend), i think there is mabe only two person here at this time who can > so ... > > Best regards, > Fabien Bodard > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel From lordheavy at ...141... Sun Aug 21 01:53:32 2005 From: lordheavy at ...141... (Laurent Carlier) Date: Sun, 21 Aug 2005 01:53:32 +0200 Subject: [Gambas-devel] new released of sdl component ... Message-ID: <4307C27C.3080504@...141...> http://gamebas.tuxfamily.org/download/ --- the changelog : xx/xx/xx - Laurent Carlier Image component * Now a default font is available (sfont) if none defined (draw.c defaultfont.h) 20/08/05 - Laurent Carlier Sound Component * Now music can be part of the binary (thanks benoit !) (sound.c) Image component * Now mouse position (not relative) works outside of mouse event (mouse.c) * Early joystick detection (joystick.c joystick.h) * First steps for sprite animation (gambas component part) * Surface.Blit is now called Surface.Draw (surface.c) * Now fonts can be part of the binary (thanks benoit !) (font.c) * New event for Screen : Screen_resize (screen.c screen.h event.c event.h) * New property for Screen : border can be fixed or resizable (screen.c screen.h)) * Driver.BestPixelDepth is now Driver.DefaultDepth (driver.c) * DriverInfo is now called Driver (driver.c) * Fix a bug with convertion of alpha/non-alpha surfaces, now twices correctly managed (surface.c) --- And a small piece of code to test sprite. Sprite.Load() is currently broken, Sprite.FromSurface must be use. Test it and send comments :) Have fun ! -- Laurent Carlier jabber : LordHeavy at ...298... -------------- next part -------------- A non-text attachment was scrubbed... Name: essai-0.0.4.tar.gz Type: application/x-gzip Size: 8639 bytes Desc: not available URL: From gambas at ...1... Sun Aug 21 17:24:01 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 21 Aug 2005 17:24:01 +0200 Subject: [Gambas-devel] About thread in gambas In-Reply-To: <1124552251.6445.64.camel@...102...> References: <200508211712.02105.gambasfr@...4...> <1124552251.6445.64.camel@...102...> Message-ID: <200508211724.01542.gambas@...1...> On Saturday 20 August 2005 17:37, Jos? L. Redrejo Rodr?guez wrote: > It would be great to get that feature. I have needed a timer in a > console application and had to do a very ugly workaround class using > SHELL and calls to the unix sleepenh command. > So I add my voice to Fabien's :-) (C is not my best friend either) > > El dom, 21-08-2005 a las 17:12 +0200, Fabien Bodard escribi?: > > Hi to all, > > > > I've just one query ... Why not implement the Thread now in gambas... in > > the pre V2 version ? > > > > And is that possible ? I talk about that because with qt or gtk we have > > some workaround with the timer ... but for console tools ? At less is > > there possible to make a component that do that ? (like the lib 'thread' > > in python) > > > > I've not the capability to try that myself (C language is not really my > > friend), i think there is mabe only two person here at this time who can > > so ... > > > > Best regards, > > Fabien Bodard > > > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > > Practices Agile & Plan-Driven Development * Managing Projects & Teams * > > Testing & QA Security * Process Improvement & Measurement * > > http://www.sqe.com/bsce5sf > > _______________________________________________ > > Gambas-devel mailing list > > Gambas-devel at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-devel > It's not Thread, but Timer. I know I have to add it to the interpreter, but it was going out of my mind, as I forgot to write it in the TODO file :-) I will add it asap! Regards, -- Benoit Minisini mailto:gambas at ...1... From dcamposf at ...176... Sun Aug 21 18:41:31 2005 From: dcamposf at ...176... (Daniel Campos) Date: Sun, 21 Aug 2005 18:41:31 +0200 Subject: [Fwd: Re: [Gambas-devel] About thread in gambas] Message-ID: <4308AEBB.9030706@...45...> -------------- next part -------------- An embedded message was scrubbed... From: Daniel Campos Subject: Re: [Gambas-devel] About thread in gambas Date: Sat, 20 Aug 2005 21:41:57 +0200 Size: 1616 URL: From lordheavy at ...141... Sun Aug 21 20:21:44 2005 From: lordheavy at ...141... (Laurent Carlier) Date: Sun, 21 Aug 2005 20:21:44 +0200 Subject: [Gambas-devel] shadow of the anim Message-ID: <4308C638.8040909@...141...> a nice anim based on shadow of the beast here : http://gamebas.tuxfamily.org/download/ Regards, -- Laurent Carlier jabber : LordHeavy at ...298... -------------- next part -------------- A non-text attachment was scrubbed... Name: shadow.jpg Type: image/jpeg Size: 73714 bytes Desc: not available URL: From gambasfr at ...4... Mon Aug 22 17:59:03 2005 From: gambasfr at ...4... (Fabien) Date: Mon, 22 Aug 2005 17:59:03 +0200 (CEST) Subject: [Gambas-devel] About thread in gambas Message-ID: <31148186.1124726343565.JavaMail.www@...329...> > It's not Thread, but Timer. Yes it can help, Nevertheless ... what about threads under gambas ? > I know I have to add it to the interpreter, but it was going out of my mind, > as I forgot to write it in the TODO file :-) > > I will add it asap! > > Regards, > > > -- > Benoit Minisini > mailto:gambas at ...1... > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > > From gambasfr at ...4... Tue Aug 23 21:03:38 2005 From: gambasfr at ...4... (Fabien Bodard) Date: Tue, 23 Aug 2005 21:03:38 +0200 Subject: [Gambas-devel] bug in gtk/qt components Message-ID: <200508232103.38261.gambasfr@...4...> hi Daniel, Benoit, I've found somethink that not work well.. try the arrangement system in tabstrip ! It not work nor in qt neither under gtk ... AT the same time, another query, Is it possible to add a feature to change the listview item color and font ?... and mabe item background (i don't know if it's a kdelib only feature) Fabien From gambasfr at ...4... Tue Aug 23 21:09:24 2005 From: gambasfr at ...4... (Fabien Bodard) Date: Tue, 23 Aug 2005 21:09:24 +0200 Subject: [Gambas-devel] bug in gtk/qt components In-Reply-To: <200508232103.38261.gambasfr@...4...> References: <200508232103.38261.gambasfr@...4...> Message-ID: <200508232109.25010.gambasfr@...4...> Le Mardi 23 Ao?t 2005 21:03, Fabien Bodard a ?crit?: > hi Daniel, Benoit, > > I've found somethink that not work well.. > > try the arrangement system in tabstrip ! It not work nor in qt neither > under gtk ... oups ... it's only on gtk ... > > > AT the same time, another query, Is it possible to add a feature to change > the listview item color and font ?... and mabe item background (i don't > know if it's a kdelib only feature) > > > > > > Fabien > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel From dcamposf at ...176... Wed Aug 24 16:16:05 2005 From: dcamposf at ...176... (Daniel Campos) Date: Wed, 24 Aug 2005 16:16:05 +0200 Subject: [Gambas-devel] bug in gtk/qt components In-Reply-To: <200508232103.38261.gambasfr@...4...> References: <200508232103.38261.gambasfr@...4...> Message-ID: <430C8125.3070805@...45...> > > >AT the same time, another query, Is it possible to add a feature to change the >listview item color and font ?... and mabe item background (i don't know if >it's a kdelib only feature) > > In the new ListView implementation I'm currently working, it is possible to select at least the ForeColor and BackColor for each item. If Beno?t wants to add that feature, I can "emulate" it with GTK+. I say "emulate" because sometimes I have the idea that I'm writting a "wine" like tool, trying to emulate QT with my poor GTK+ libs... some features are not so "agnostic" as it seems to be :-))) Regards, D. Campos From dcamposf at ...176... Wed Aug 24 16:17:41 2005 From: dcamposf at ...176... (Daniel Campos) Date: Wed, 24 Aug 2005 16:17:41 +0200 Subject: [Gambas-devel] bug in gtk/qt components In-Reply-To: <200508232109.25010.gambasfr@...4...> References: <200508232103.38261.gambasfr@...4...> <200508232109.25010.gambasfr@...4...> Message-ID: <430C8185.2060107@...45...> Fabien Bodard wrote: >Le Mardi 23 Ao?t 2005 21:03, Fabien Bodard a ?crit : > > >>hi Daniel, Benoit, >> >>I've found somethink that not work well.. >> >>try the arrangement system in tabstrip ! It not work nor in qt neither >>under gtk ... >> >> > >oups ... it's only on gtk ... > > > In the next gb.gtk release (currently only in my PC) the same arrange routine will be used for both GTK+ and QT, so it sould solve the problem From gambas at ...1... Wed Aug 24 19:02:16 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 24 Aug 2005 19:02:16 +0200 Subject: [Gambas-devel] Release of gambas 1.9.18 Message-ID: <200508241902.16538.gambas@...1...> Hello world :-) This release has two main changes: 1) The Editor control now supports custom syntax highlighting, and there is an example that shows that - I hope Steve Starr will be happy :-) 2) The Timer class is now implemented in the interpreter, and will be removed from any other component. You can create timers without the need of a GUI component now. Here is the changelog: --8<-------------------------------------------------------------------------- DEVELOPMENT ENVIRONMENT * BUG: Fix the use of TextBox and TextArea selection methods. * BUG: Swedish language is 'sv', not 'se'! * BUG: Font selector always use relative font sizes by default. DATABASE MANAGER * BUG: Fix the use of TextBox and TextArea selection methods. EXAMPLES * NEW: A new example for showing the new Editor control, with custom syntax highlighting. * NEW: Another little timer example made by Maxim Lapis was added to the Timer example. COMPILER * NEW: Support for the new 'EXPORT OPTIONAL' feature. See below... INTERPRETER * NEW: The Timer class is now part of the interpreter, and must be removed from any component that implements it. * NEW: A new hook to handle timers in components managing the event loop. * NEW: A new API, GB.RaiseTimer(), to raise timer events from components managing the event loop. * NEW: Classes can now be optionally exported. They are not exported from a component, if a class with the same name has been already exported from another component. * BUG: Some fixes in error management. Now error information is kept until the end of a function. * NEW: Application.Return is a new property for storing the value that will be returned by the program when it terminates. QT COMPONENT * NEW: Timer was removed. * BUG: Drawing on void Pictures is not allowed anymore. * BUG: Windows with a fix border work again. QT EXTENSION COMPONENT * NEW: The Editor control now supports custom highlighting routine, by raising the 'Highlight' event. * NEW: Editor colors were replaced by styles, which are a combination of color, italic, bold and underline. FORM COMPONENT * NEW: A ColorButton control. SDL COMPONENT * Updated. --8<-------------------------------------------------------------------------- About the Timer changes: As Timer is implemented directly in the interpreter, the components developpers that had implemented them in their components must: 1) Remove the Timer class/control from their components 2) Calls GB.Hook() with GB_HOOK_TIMER, and implements a timer hook. This timer hook is called by the interpreter to create or remove timers. 3) Calls GB.RaiseTimer() each time a timer must raise its event. Everything about that is explained on http://new.gambasdoc.org. Start to search at the http://new.gambasdoc.org/help/api/cat/timer page. And the gb.qt component source is the reference... Good luck to Daniel & Laurent! :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From gambasfr at ...4... Wed Aug 24 20:05:27 2005 From: gambasfr at ...4... (Fabien Bodard) Date: Wed, 24 Aug 2005 20:05:27 +0200 Subject: [Gambas-devel] Release of gambas 1.9.18 In-Reply-To: <200508241902.16538.gambas@...1...> References: <200508241902.16538.gambas@...1...> Message-ID: <200508242005.27438.gambasfr@...4...> Le Mercredi 24 Ao?t 2005 19:02, Benoit Minisini a ?crit?: > Hello world :-) > > This release has two main changes: > > 1) The Editor control now supports custom syntax highlighting, and there is > an example that shows that - I hope Steve Starr will be happy :-) > > 2) The Timer class is now implemented in the interpreter, and will be > removed from any other component. You can create timers without the need of > a GUI component now. > > Here is the changelog: > > --8<----------------------------------------------------------------------- >--- > > DEVELOPMENT ENVIRONMENT > > * BUG: Fix the use of TextBox and TextArea selection methods. > * BUG: Swedish language is 'sv', not 'se'! > * BUG: Font selector always use relative font sizes by default. > > DATABASE MANAGER > > * BUG: Fix the use of TextBox and TextArea selection methods. > > EXAMPLES > > * NEW: A new example for showing the new Editor control, with custom syntax > highlighting. > * NEW: Another little timer example made by Maxim Lapis was added to the > Timer example. > > COMPILER > > * NEW: Support for the new 'EXPORT OPTIONAL' feature. See below... > > INTERPRETER > > * NEW: The Timer class is now part of the interpreter, and must be removed > from any component that implements it. > * NEW: A new hook to handle timers in components managing the event loop. > * NEW: A new API, GB.RaiseTimer(), to raise timer events from components > managing the event loop. > * NEW: Classes can now be optionally exported. They are not exported from > a component, if a class with the same name has been already exported > from another component. > * BUG: Some fixes in error management. Now error information is kept until > the end of a function. > * NEW: Application.Return is a new property for storing the value that > will be returned by the program when it terminates. > > QT COMPONENT > > * NEW: Timer was removed. > * BUG: Drawing on void Pictures is not allowed anymore. > * BUG: Windows with a fix border work again. > > QT EXTENSION COMPONENT > > * NEW: The Editor control now supports custom highlighting routine, by > raising the 'Highlight' event. > * NEW: Editor colors were replaced by styles, which are a combination of > color, italic, bold and underline. > > FORM COMPONENT > > * NEW: A ColorButton control. > > SDL COMPONENT > > * Updated. > > --8<----------------------------------------------------------------------- >--- > > About the Timer changes: > > As Timer is implemented directly in the interpreter, the components > developpers that had implemented them in their components must: > > 1) Remove the Timer class/control from their components > > 2) Calls GB.Hook() with GB_HOOK_TIMER, and implements a timer hook. This > timer hook is called by the interpreter to create or remove timers. > > 3) Calls GB.RaiseTimer() each time a timer must raise its event. > > Everything about that is explained on http://new.gambasdoc.org. Start to > search at the http://new.gambasdoc.org/help/api/cat/timer page. And the > gb.qt component source is the reference... yes but this page not exist > > Good luck to Daniel & Laurent! :-) > > Regards, Maby the best was to not say anything... From gambas at ...1... Wed Aug 24 20:20:02 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 24 Aug 2005 20:20:02 +0200 Subject: [Gambas-devel] Release of gambas 1.9.18 In-Reply-To: <200508242005.27438.gambasfr@...4...> References: <200508241902.16538.gambas@...1...> <200508242005.27438.gambasfr@...4...> Message-ID: <200508242020.02707.gambas@...1...> On Wednesday 24 August 2005 20:05, Fabien Bodard wrote: > > Everything about that is explained on http://new.gambasdoc.org. Start to > > search at the http://new.gambasdoc.org/help/api/cat/timer page. And the > > gb.qt component source is the reference... > > yes but this page not exist > http://new.gambasdoc.org/api/cat/timer -- Benoit Minisini mailto:gambas at ...1... From lordheavy at ...141... Thu Aug 25 18:55:54 2005 From: lordheavy at ...141... (Laurent Carlier) Date: Thu, 25 Aug 2005 18:55:54 +0200 Subject: [Gambas-devel] Release of gambas 1.9.18 In-Reply-To: <200508241902.16538.gambas@...1...> References: <200508241902.16538.gambas@...1...> Message-ID: <430DF81A.6030105@...141...> Benoit Minisini a ?crit : > Hello world :-) > Hello lonely boy :) > This release has two main changes: > > 1) The Editor control now supports custom syntax highlighting, and there is an > example that shows that - I hope Steve Starr will be happy :-) > Test it and it's really great and full of hope ! > 2) The Timer class is now implemented in the interpreter, and will be removed > from any other component. You can create timers without the need of a GUI > component now. > Done ! > * NEW: Application.Return is a new property for storing the value that > will be returned by the program when it terminates. > It's missing in GB api :-/ > > Good luck to Daniel & Laurent! :-) > Thanks ! > Regards, > ++ -- Laurent Carlier jabber : LordHeavy at ...298... From lordheavy at ...141... Thu Aug 25 19:19:22 2005 From: lordheavy at ...141... (Laurent Carlier) Date: Thu, 25 Aug 2005 19:19:22 +0200 Subject: [Gambas-devel] Release of gambas 1.9.18 In-Reply-To: <430DF81A.6030105@...141...> References: <200508241902.16538.gambas@...1...> <430DF81A.6030105@...141...> Message-ID: <430DFD9A.3070001@...141...> Laurent Carlier a ?crit : > > Test it and it's really great and full of hope ! > I'm really bad with cut & paste :-p "it's really great and full of hope" > > It's missing in GB api :-/ > Perhaps gambas API version should be set to 2 ? Regards, -- Laurent Carlier jabber : LordHeavy at ...298... From lordheavy at ...141... Thu Aug 25 23:00:26 2005 From: lordheavy at ...141... (Laurent Carlier) Date: Thu, 25 Aug 2005 23:00:26 +0200 Subject: [Gambas-devel] Release of gambas 1.9.18 In-Reply-To: <430DF81A.6030105@...141...> References: <200508241902.16538.gambas@...1...> <430DF81A.6030105@...141...> Message-ID: <430E316A.6000709@...141...> Laurent Carlier a ?crit : >>* NEW: Application.Return is a new property for storing the value that >> will be returned by the program when it terminates. >> > > > It's missing in GB api :-/ > Return value from closing methods of componant have no senses now. Window.Close([(value)i]), value isn't more needed as it's replace with Application.Return I've removed it from sdl component. Regards, -- Laurent Carlier jabber : LordHeavy at ...298... From gambas at ...1... Sat Aug 27 16:41:47 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 27 Aug 2005 16:41:47 +0200 Subject: [Gambas-devel] Release of gambas 1.9.18 In-Reply-To: <430E316A.6000709@...141...> References: <200508241902.16538.gambas@...1...> <430DF81A.6030105@...141...> <430E316A.6000709@...141...> Message-ID: <200508271641.47583.gambas@...1...> On Thursday 25 August 2005 23:00, Laurent Carlier wrote: > Laurent Carlier a ?crit : > >>* NEW: Application.Return is a new property for storing the value that > >> will be returned by the program when it terminates. > > > > It's missing in GB api :-/ > > Return value from closing methods of componant have no senses now. > > Window.Close([(value)i]), value isn't more needed as it's replace with > Application.Return > > I've removed it from sdl component. > > Regards, Before Application.Return, the interpreter always returned zero, so I think your Window.Close() value thing was silently discarded :-) Regards, -- Benoit Minisini mailto:gambas at ...1...