From gambas at ...2524... Tue Feb 1 00:44:03 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 31 Jan 2011 23:44:03 +0000 Subject: [Gambas-user] Issue 23 in gambas: Resizing a form in IDE through the height or width property does not work properly Message-ID: <0-6813199134517018827-6999584546661461069-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 23 by zachsmit... at ...626...: Resizing a form in IDE through the height or width property does not work properly http://code.google.com/p/gambas/issues/detail?id=23 Simply change the height or width of a form from the properties tab of the IDE to see that the form is redrawn improperly. It is more obvious if there is a background color set or if the grid is toggled on. Version: TRUNK r3525 Operating system: Linux Distribution: ArchLinux Architecture: x86_64 Desktop used: Xfce From gambas at ...2524... Tue Feb 1 04:06:40 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 01 Feb 2011 03:06:40 +0000 Subject: [Gambas-user] Issue 24 in gambas: Desktop.SendKeys("[RETURN]") doesn't work Message-ID: <0-6813199134517018827-15429362418293401508-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 24 by zachsmit... at ...626...: Desktop.SendKeys("[RETURN]") doesn't work http://code.google.com/p/gambas/issues/detail?id=24 Desktop.SendKeys("[RETURN]") results in a run time error - Unknown Key: 'RETURN' Taken from: http://gambasdoc.org/help/comp/gb.desktop/desktop/sendkeys?v3 I also tried some key names from /usr/include/X11/keysymdef.h without success. Desktop.SendKeys("[XK_Control_L]") Version: TRUNK Operating system: Linux Distribution: ArchLinux Architecture: x86_64 GUI component: QT3 / QT4 / GTK+ Desktop used: Gnome / KDE ... From oceanosoftlapalma at ...626... Tue Feb 1 07:51:10 2011 From: oceanosoftlapalma at ...626... (=?ISO-8859-1?Q?Ricardo_D=EDaz_Mart=EDn?=) Date: Tue, 1 Feb 2011 07:51:10 +0100 Subject: [Gambas-user] Add Control.Focusable = False to the gambas3 wish list... In-Reply-To: <201101311514.28991.gambas@...1...> References: <201101311514.28991.gambas@...1...> Message-ID: Hi Benoit, More of times, I use gambas3 as mysql frontend. You got some textboxes to show the user calculate or no editable fields in forms (for example in a invoice total field is a calculate by code). Users have learned push tab key to jump the next editable control after write some data in a textbox. It's not a good idea to set no editable textboxes to enabled=false, because with some themes disabled controls are not so clear to read the text inside. Because of this, I set to readonly=true and background=systembackground these calculate or not editable textboxes. But they are focusables when users push tab key to jump the next control. I attach an example pic. You can see some textboxes with background set to systems background that I want no get focus never. Regards, Ricardo D?az 2011/1/31 Beno?t Minisini > > Hi to all, > > > > I'd like you can choose which controls will be focusable and which ones > no. > > Too much difficult to develop? > > > > Regards, > > Ricardo D?az > > You can only decide that for DrawingArea and ScrollArea. Other controls > decide > that on their own. Unless you use the Enabled property of course. > > Why do you need that? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > 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: Pantallazo-Presupuesto 101.png Type: image/png Size: 72215 bytes Desc: not available URL: From oceanosoftlapalma at ...626... Tue Feb 1 13:29:18 2011 From: oceanosoftlapalma at ...626... (=?ISO-8859-1?Q?Ricardo_D=EDaz_Mart=EDn?=) Date: Tue, 1 Feb 2011 13:29:18 +0100 Subject: [Gambas-user] Add Control.Focusable = False to the gambas3 wish list... In-Reply-To: References: <201101311514.28991.gambas@...1...> Message-ID: I addition to the previous email, I don't want the users can move focus to some textboxes by clicking. I only wish some property like AutoFocus = False. It means the control isn't in form's focus cycle. Hope you understand better now. Regards, Ricardo D?az 2011/2/1 Ricardo D?az Mart?n > Hi Benoit, > > More of times, I use gambas3 as mysql frontend. You got some textboxes to > show the user calculate or no editable fields in forms (for example in a > invoice total field is a calculate by code). > > Users have learned push tab key to jump the next editable control after > write some data in a textbox. It's not a good idea to set no editable > textboxes to enabled=false, because with some themes disabled controls are > not so clear to read the text inside. > > Because of this, I set to readonly=true and background=systembackground > these calculate or not editable textboxes. But they are focusables when > users push tab key to jump the next control. > > I attach an example pic. You can see some textboxes with background set to > systems background that I want no get focus never. > > Regards, > Ricardo D?az > > 2011/1/31 Beno?t Minisini > > > Hi to all, >> > >> > I'd like you can choose which controls will be focusable and which ones >> no. >> > Too much difficult to develop? >> > >> > Regards, >> > Ricardo D?az >> >> You can only decide that for DrawingArea and ScrollArea. Other controls >> decide >> that on their own. Unless you use the Enabled property of course. >> >> Why do you need that? >> >> -- >> Beno?t Minisini >> >> >> ------------------------------------------------------------------------------ >> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >> Finally, a world-class log management solution at an even better >> price-free! >> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >> February 28th, so secure your free ArcSight Logger TODAY! >> http://p.sf.net/sfu/arcsight-sfd2d >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From gambas at ...2524... Tue Feb 1 13:42:20 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 01 Feb 2011 12:42:20 +0000 Subject: [Gambas-user] Issue 25 in gambas: Gtk+ Menu Item and underscore (shortcut) Message-ID: <0-6813199134517018827-18305608098798441036-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 25 by sot... at ...626...: Gtk+ Menu Item and underscore (shortcut) http://code.google.com/p/gambas/issues/detail?id=25 1) Describe the problem. With GKT+ on the menu bar, items having a keyboard shortcut doesn't have underline character to highlight the key to press to call the action associated. Attached png better show the problem. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): TRUNK 3527 Linux Ubuntu x86_64 GTK+ Gnome Attachments: Menu_GTK.png 16.7 KB Menu_QT.png 13.8 KB From oceanosoftlapalma at ...626... Tue Feb 1 14:49:03 2011 From: oceanosoftlapalma at ...626... (=?ISO-8859-1?Q?Ricardo_D=EDaz_Mart=EDn?=) Date: Tue, 1 Feb 2011 14:49:03 +0100 Subject: [Gambas-user] Foreground property in CheckBox doesn't work (gambas3) Message-ID: Hi to all, I'm using gambas3 rev 3521 in ubuntu 10.10 x64 with qt libraries. Test is simple. Create new form. Insert a ChekBox control and change foreground property. Nothing happend. Regards, Ricardo D?az From Gambas at ...1950... Tue Feb 1 15:34:24 2011 From: Gambas at ...1950... (Caveat) Date: Tue, 01 Feb 2011 15:34:24 +0100 Subject: [Gambas-user] Foreground property in CheckBox doesn't work (gambas3) In-Reply-To: References: Message-ID: <1296570864.22381.121.camel@...2479...> [workarounds] 1) Ty changing the RGB value in the box under the R G B H S V spinboxes from 000000 to some other value like FE5522. Now if you click in the colour selection area (upper left-hand 'panel'), it should update the RGB value. 2) Try first selecting a pre-defined colour from the lower left-hand panel then choosing the colour you want from the upper left-hand panel. [bug analysis] It looks to me like it's not updating the RGB value when you use the colour-picker (upper left-hand panel) if the value in the RGB box (it's actually an unlabeled field I'm calling the RGB box, hope you understand which I mean) is all zeroes. [oops] I just realised I'm testing this on Gambas 2.19, but you never know, it could be the same bug... Regards, Caveat On Tue, 2011-02-01 at 14:49 +0100, Ricardo D?az Mart?n wrote: > Hi to all, > > I'm using gambas3 rev 3521 in ubuntu 10.10 x64 with qt libraries. > > Test is simple. Create new form. Insert a ChekBox control and change > foreground property. Nothing happend. > > Regards, > Ricardo D?az > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From anthony at ...2542... Tue Feb 1 17:03:59 2011 From: anthony at ...2542... (Anthony Tekatch) Date: Tue, 1 Feb 2011 11:03:59 -0500 Subject: [Gambas-user] select columnview row Message-ID: <20110201110359.783ae480@...2543...> Is there a way to have the application set the current row of a ColumnView just like it was clicked by a user? When the ColumnView starts up, the default is unselected, I want my code to select the first row, but I cannot write to .Current.Key Thanks, Anthony From demosthenesk at ...626... Tue Feb 1 17:38:01 2011 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Tue, 01 Feb 2011 18:38:01 +0200 Subject: [Gambas-user] Colorize crash Message-ID: <1296578281.4010.3.camel@...2493...> Hello, gambas3-svn3480 ubuntu 10.04 AMD64 i have the next code for apply colorize on an Image object ========================================= ---------- FMain ---------- Public iColor As Integer Public Sub btnColorize_Click() FColorChooser.ShowModal hImage.Colorize(iColor) ShowImage() End Public Sub ShowImage() PictureBox1.Picture = hImage.Picture End ------------- FColorChooser ------------- Public Sub ColorChooser1_Change() FMain.iColor = ColorChooser1.SelectedColor End ========================================= when i first choose a color and apply colorize is ok if i choose again a color and apply Colorize on an Image object i get (Project79:3529): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:3529): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:3529): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:3529): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:3529): Gdk-WARNING **: Using Cairo rendering requires the drawable argument to have a specified colormap. All windows have a colormap, however, pixmaps only have colormap by default if they were created with a non-NULL window argument. Otherwise a colormap must be set on them with gdk_drawable_set_colormap http://www.mediafire.com/?dq05bd3q617scj6 -- Regards, Demosthenes Koptsis. From oceanosoftlapalma at ...626... Tue Feb 1 18:26:10 2011 From: oceanosoftlapalma at ...626... (=?ISO-8859-1?Q?Ricardo_D=EDaz_Mart=EDn?=) Date: Tue, 1 Feb 2011 18:26:10 +0100 Subject: [Gambas-user] select columnview row In-Reply-To: <20110201110359.783ae480@...2543...> References: <20110201110359.783ae480@...2543...> Message-ID: I haven't used columnview control but with gridview is really easy: MyGridView.Row = 0 (gridview with at least 1 row) 2011/2/1 Anthony Tekatch > Is there a way to have the application set the current row of a > ColumnView just like it was clicked by a user? > > When the ColumnView starts up, the default is unselected, I want my code > to select the first row, but I cannot write to .Current.Key > > Thanks, > Anthony > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jscops at ...11... Tue Feb 1 19:28:02 2011 From: jscops at ...11... (Jack) Date: Tue, 01 Feb 2011 19:28:02 +0100 Subject: [Gambas-user] select columnview row In-Reply-To: References: <20110201110359.783ae480@...2543...> Message-ID: <4D4850B2.7090306@...11...> > 2011/2/1 Anthony Tekatch > > Is there a way to have the application set the current row of a > ColumnView just like it was clicked by a user? > > When the ColumnView starts up, the default is unselected, I want my code > to select the first row, but I cannot write to .Current.Key Yes, if i understand your question, you can do it. ColumnView.movefirst() ColumnView.Item.Selected = TRUE From math.eber at ...221... Tue Feb 1 19:49:19 2011 From: math.eber at ...221... (Matti) Date: Tue, 01 Feb 2011 19:49:19 +0100 Subject: [Gambas-user] Foreground property in CheckBox doesn't work (gambas3) In-Reply-To: References: Message-ID: <4D4855AF.5030506@...221...> Works as expected here. gb3 rev 3496, OpenSUSE 11.2, KDE, qt Am 01.02.2011 14:49, schrieb Ricardo D?az Mart?n: > Hi to all, > > I'm using gambas3 rev 3521 in ubuntu 10.10 x64 with qt libraries. > > Test is simple. Create new form. Insert a ChekBox control and change > foreground property. Nothing happend. > > Regards, > Ricardo D?az > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From anthony at ...2542... Tue Feb 1 19:55:16 2011 From: anthony at ...2542... (Anthony Tekatch) Date: Tue, 1 Feb 2011 13:55:16 -0500 Subject: [Gambas-user] select columnview row In-Reply-To: <4D4850B2.7090306@...11...> References: <20110201110359.783ae480@...2543...> <4D4850B2.7090306@...11...> Message-ID: <20110201135516.5dfbe357@...2543...> On Tue, 01 Feb 2011 19:28:02 +0100, Jack wrote: > > > 2011/2/1 Anthony Tekatch > > > > Is there a way to have the application set the current row of a > > ColumnView just like it was clicked by a user? > > > > When the ColumnView starts up, the default is unselected, I want my > > code to select the first row, but I cannot write to .Current.Key > > Yes, if i understand your question, you can do it. > > ColumnView.movefirst() > ColumnView.Item.Selected = TRUE Thank you!! that did the trick. From gambas at ...2524... Wed Feb 2 01:05:43 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 02 Feb 2011 00:05:43 +0000 Subject: [Gambas-user] Issue 26 in gambas: panel width does not match property setting Message-ID: <0-6813199134517018827-16535638016952757230-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 26 by zachsmit... at ...626...: panel width does not match property setting http://code.google.com/p/gambas/issues/detail?id=26 1) panel1.width=1023 when property setting is set to 1024 Version: TRUNK Operating system: Linux / FreeBSD Distribution: ArchLinux / Gentoo ... Architecture: x86_64 Attachments: panel_width-0.0.1.tar.gz 4.4 KB From daniel at ...2544... Wed Feb 2 13:03:29 2011 From: daniel at ...2544... (Daniel Fuchs) Date: Wed, 2 Feb 2011 13:03:29 +0100 (MET) Subject: [Gambas-user] Circular references Message-ID: <201102021203.p12C3T4Z013511@...525...> Hello everybody, is there a way to turn off the messages on circular references Gambas issues on terminating a program? They are very disturbing when you write a command-line application whose output must be read by other programs. Regards, Daniel From gambas at ...1... Wed Feb 2 13:33:16 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Wed, 2 Feb 2011 13:33:16 +0100 Subject: [Gambas-user] Circular references In-Reply-To: <201102021203.p12C3T4Z013511@...525...> References: <201102021203.p12C3T4Z013511@...525...> Message-ID: <201102021333.16116.gambas@...1...> > Hello everybody, > is there a way to turn off the messages on circular references Gambas > issues on terminating a program? They are very disturbing when you > write a command-line application whose output must be read by other > programs. Regards, > Daniel This message means that there is a problem in your application. Maybe you should try to fix it first? -- Beno?t Minisini From kevinfishburne at ...1887... Wed Feb 2 20:11:02 2011 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Wed, 02 Feb 2011 14:11:02 -0500 Subject: [Gambas-user] gb3: Draw method with same source and destination image Message-ID: <4D49AC46.4010207@...1887...> I have an image, blandscape, that is 1408 x 1408 pixels. This code works: blandscape.Draw(blandscape, 0, -128) This code produces odd results (attached): blandscape.Draw(blandscape, 0, 128) I'm trying to shift the image in any of eight directions (up, down, left, right, up-left, up-right, down-left, down-right) by 128 pixels, which is the size of the "tiles" used in the game. I'm basically copying the image onto itself but offset by 128 pixels. Any idea what's going on here? I tried using all the available parameters for the Draw method and it still didn't work. FYI, this mailing list rejects email of a size greater than 256 KiB, so this is the third time I'm sending the post. It said, "Awaiting moderator approval," and was later rejected by moderator with "No reason given". So, I apologize for the poor quality of the attached image. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot-Sanctimonia Client and Server.jpg Type: image/jpeg Size: 146775 bytes Desc: not available URL: From gambas at ...1... Wed Feb 2 22:26:30 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Wed, 2 Feb 2011 22:26:30 +0100 Subject: [Gambas-user] Colorize crash In-Reply-To: <1296578281.4010.3.camel@...2493...> References: <1296578281.4010.3.camel@...2493...> Message-ID: <201102022226.30127.gambas@...1...> > Hello, > > gambas3-svn3480 > ubuntu 10.04 > AMD64 > > i have the next code for apply colorize on an Image object > > ========================================= > ---------- > FMain > ---------- > > Public iColor As Integer > > Public Sub btnColorize_Click() > > FColorChooser.ShowModal > hImage.Colorize(iColor) > ShowImage() > > End > > Public Sub ShowImage() > > PictureBox1.Picture = hImage.Picture > > End > > > ------------- > FColorChooser > ------------- > > Public Sub ColorChooser1_Change() > > FMain.iColor = ColorChooser1.SelectedColor > > End > > ========================================= > > > when i first choose a color and apply colorize is ok > if i choose again a color and apply Colorize on an Image object i get > > > (Project79:3529): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion > `GDK_IS_COLORMAP (colormap)' failed > > (Project79:3529): GLib-GObject-CRITICAL **: g_object_unref: assertion > `G_IS_OBJECT (object)' failed > > (Project79:3529): GLib-GObject-CRITICAL **: g_object_unref: assertion > `G_IS_OBJECT (object)' failed > > (Project79:3529): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion > `GDK_IS_COLORMAP (colormap)' failed > > (Project79:3529): Gdk-WARNING **: Using Cairo rendering requires the > drawable argument to > have a specified colormap. All windows have a colormap, > however, pixmaps only have colormap by default if they > were created with a non-NULL window argument. Otherwise > a colormap must be set on them with gdk_drawable_set_colormap > > http://www.mediafire.com/?dq05bd3q617scj6 I cannot reproduce that. Strange, as there is no colormap involved in the colorize process. You must give details about your X11 configuration. Please send me the output of xdpyinfo. Regards, -- Beno?t Minisini From kevinfishburne at ...1887... Thu Feb 3 00:45:07 2011 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Wed, 02 Feb 2011 18:45:07 -0500 Subject: [Gambas-user] gb3: Draw method with same source and destination image In-Reply-To: <4D49AC46.4010207@...1887...> References: <4D49AC46.4010207@...1887...> Message-ID: <4D49EC83.90401@...1887...> On 02/02/2011 02:11 PM, Kevin Fishburne wrote: > I have an image, blandscape, that is 1408 x 1408 pixels. This code works: > > blandscape.Draw(blandscape, 0, -128) > > This code produces odd results (attached): > > blandscape.Draw(blandscape, 0, 128) > > I'm trying to shift the image in any of eight directions (up, down, > left, right, up-left, up-right, down-left, down-right) by 128 pixels, > which is the size of the "tiles" used in the game. I'm basically > copying the image onto itself but offset by 128 pixels. Any idea > what's going on here? I tried using all the available parameters for > the Draw method and it still didn't work. I think I figured it out. It looks like the Draw method doesn't create a "temporary" image to do the copying, meaning it's literally writing over itself in memory. I worked around the issue by using a temporary image, though it is slower. I don't think the Draw method should be changed, as it is more efficient this way. Having it automatically create a temporary image when the source and target are the same would really slow things down if it wasn't needed. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From gambas at ...1... Thu Feb 3 01:00:07 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Thu, 3 Feb 2011 01:00:07 +0100 Subject: [Gambas-user] gb3: Draw method with same source and destination image In-Reply-To: <4D49EC83.90401@...1887...> References: <4D49AC46.4010207@...1887...> <4D49EC83.90401@...1887...> Message-ID: <201102030100.07039.gambas@...1...> > On 02/02/2011 02:11 PM, Kevin Fishburne wrote: > > I have an image, blandscape, that is 1408 x 1408 pixels. This code works: > > > > blandscape.Draw(blandscape, 0, -128) > > > > This code produces odd results (attached): > > > > blandscape.Draw(blandscape, 0, 128) > > > > I'm trying to shift the image in any of eight directions (up, down, > > left, right, up-left, up-right, down-left, down-right) by 128 pixels, > > which is the size of the "tiles" used in the game. I'm basically > > copying the image onto itself but offset by 128 pixels. Any idea > > what's going on here? I tried using all the available parameters for > > the Draw method and it still didn't work. > > I think I figured it out. It looks like the Draw method doesn't create a > "temporary" image to do the copying, meaning it's literally writing over > itself in memory. I worked around the issue by using a temporary image, > though it is slower. I don't think the Draw method should be changed, as > it is more efficient this way. Having it automatically create a > temporary image when the source and target are the same would really > slow things down if it wasn't needed. Actually you want some sort of scrolling? -- Beno?t Minisini From jussi.lahtinen at ...626... Thu Feb 3 01:06:06 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 3 Feb 2011 02:06:06 +0200 Subject: [Gambas-user] Key code problem and svn error Message-ID: Hi! Very possible that I have missed something (I'm tired), but how do I catch PageDown etc? ? Key["PageDown"] Gives 0. And so it does with PageUp and Shift. I know there is Key.Shift property, but problem with it is, I can't distinguish "Shift" from "Shift + Something" with it. Ie. I want to reject event if only shift is pressed without anything else. Gambas 3 rev 3532 @ Ubuntu 10.10 64bit Also problems with svn update! Subversion command-line client, version 1.6.12. Error validating server certificate for ' https://gambas.svn.sourceforge.net:443': - The certificate is not issued by a trusted authority. Use the fingerprint to validate the certificate manually! Certificate information: - Hostname: *.svn.sourceforge.net - Valid: from Tue, 01 Feb 2011 03:25:10 GMT until Mon, 05 Mar 2012 04:22:59 GMT - Issuer: GeoTrust, Inc., US - Fingerprint: 94:74:b3:a9:54:ce:dc:e5:0d:d6:cf:86:b1:40:5a:48:b9:ea:15:de Jussi From gambas at ...1... Thu Feb 3 01:21:52 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Thu, 3 Feb 2011 01:21:52 +0100 Subject: [Gambas-user] Key code problem and svn error In-Reply-To: References: Message-ID: <201102030121.52070.gambas@...1...> > Hi! > Very possible that I have missed something (I'm tired), but how do I catch > PageDown etc? > > ? Key["PageDown"] > Gives 0. > > And so it does with PageUp and Shift. > > I know there is Key.Shift property, but problem with it is, I can't > distinguish "Shift" from "Shift + Something" with it. > Ie. I want to reject event if only shift is pressed without anything else. > > Gambas 3 rev 3532 @ Ubuntu 10.10 64bit If Key.Code = Key.PageDown and if Key.Shift Then ... Endif > > > Also problems with svn update! > Subversion command-line client, version 1.6.12. > > Error validating server certificate for ' > https://gambas.svn.sourceforge.net:443': > - The certificate is not issued by a trusted authority. Use the > fingerprint to validate the certificate manually! > Certificate information: > - Hostname: *.svn.sourceforge.net > - Valid: from Tue, 01 Feb 2011 03:25:10 GMT until Mon, 05 Mar 2012 > 04:22:59 GMT > - Issuer: GeoTrust, Inc., US > - Fingerprint: 94:74:b3:a9:54:ce:dc:e5:0d:d6:cf:86:b1:40:5a:48:b9:ea:15:de > > > Jussi As I said in a previous mail, sourceforge servers were attacked. So now they decided to change the certificate of all their servers. Just accept the new certificate. If you are paranoid, you can check that you are really getting the right certificate by comparing its fingerprint to the one given on the sourceforge web site. For more information, go to the sourceforge blog. Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Thu Feb 3 01:55:23 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 3 Feb 2011 02:55:23 +0200 Subject: [Gambas-user] Key code problem and svn error In-Reply-To: <201102030121.52070.gambas@...1...> References: <201102030121.52070.gambas@...1...> Message-ID: > Very possible that I have missed something (I'm tired), but how do I catch > > PageDown etc? > > > > ? Key["PageDown"] > > Gives 0. > > > > And so it does with PageUp and Shift. > > > > I know there is Key.Shift property, but problem with it is, I can't > > distinguish "Shift" from "Shift + Something" with it. > > Ie. I want to reject event if only shift is pressed without anything > else. > > > > Gambas 3 rev 3532 @ Ubuntu 10.10 64bit > > If Key.Code = Key.PageDown and if Key.Shift Then > ... > Endif > Yes, thanks, I'm too tired, I thought tried that already! As I said in a previous mail, sourceforge servers were attacked. So now they > decided to change the certificate of all their servers. > > Just accept the new certificate. > > If you are paranoid, you can check that you are really getting the right > certificate by comparing its fingerprint to the one given on the > sourceforge > web site. For more information, go to the sourceforge blog. > OK, I thought it was only about passwords, and I would expect that happen sooner after attack... Yes unfortunately I tend to be paranoid... so I checked and this is correct as expected: 94:74:b3:a9:54:ce:dc:e5:0d:d6:cf:86:b1:40:5a:48:b9:ea:15:de Thanks! Jussi From kevinfishburne at ...1887... Thu Feb 3 01:57:02 2011 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Wed, 02 Feb 2011 19:57:02 -0500 Subject: [Gambas-user] gb3: Draw method with same source and destination image In-Reply-To: <201102030100.07039.gambas@...1...> References: <4D49AC46.4010207@...1887...> <4D49EC83.90401@...1887...> <201102030100.07039.gambas@...1...> Message-ID: <4D49FD5E.6040303@...1887...> On 02/02/2011 07:00 PM, Beno?t Minisini wrote: > Actually you want some sort of scrolling? Yes, although the image "shifting" I spoke of isn't what creates the scrolling directly. Here's a brief breakdown of what happens in the game. The server has a map 65536x65536 tiles, with each tile representing one square foot. This map is organized into "cells", which are 32x32 tiles each. When a client connects, the server sends the client a "cell grid" of 3x3 cells, with the center cell being the cell the player is located in. When the player moves outside the center cell, all the cells are shifted accordingly and the server sends the player the data for the new cells. The client uses a DrawingArea of 1280x720 pixels to represent the final, visible rendering of the world, but a "tile grid" image buffer is used to composite the scene invisibly. While the cell grid is just landscape data in arrays, the tile grid is a graphical representation of a subset of the cell grid data. The tile grid is a square grid of tiles designed to be a few tiles larger than the DrawingArea. Each tile is 128x128 pixels. If the DrawingArea is 1280x720 then the tile grid is 1408x1408 (11x11 tiles, with the player being in the center tile). The tile grid is treated like an old-school RPG; when the player moves out of the center tile the image is shifted one tile and a new row of tiles is drawn. The player doesn't see this, however, as the DrawingArea is updated from the tile grid by a camera that smoothly follows the player. I would use SDL but it isn't currently robust enough to support the effects I need (discussed in a previous email; no one has the time currently to expand it). OpenGL, while nice, is complex enough that it would prevent me from finishing the game. I'm doing all the design, coding and artwork by myself (a friend is doing the music). So that leaves me with pushing gb.image and gb.image.effect to their limits. I'm almost to the point where I can record a video of the game in action, so soon I'll be able to show you what I'm doing. Until then, just struggling with frame rates. ;) -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From support at ...2529... Thu Feb 3 01:59:10 2011 From: support at ...2529... (John Spikowski) Date: Wed, 02 Feb 2011 16:59:10 -0800 Subject: [Gambas-user] make install issue Message-ID: <1296694750.1953.10.camel@...2530...> Compiling Database/Database/... OK Compiling Database/DataReportExample/... gbc: error: Component not found: gb.qt I just finish building 3 from scratch (make uninstall, make clean, reconf-all, ...) This could well be the reports component is still too early in development to mention issues. From jussi.lahtinen at ...626... Thu Feb 3 02:06:49 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 3 Feb 2011 03:06:49 +0200 Subject: [Gambas-user] Key code problem and svn error In-Reply-To: References: <201102030121.52070.gambas@...1...> Message-ID: Hmmm... problem is not quite solved.... I still cannot distinguish pressing shift from pressing shift and something else. I need to stop event if only shift is pressed. This is problematic as I would need to check against every key that gives key.text = "". Jussi On Thu, Feb 3, 2011 at 02:55, Jussi Lahtinen wrote: > > > > Very possible that I have missed something (I'm tired), but how do I >> catch >> > PageDown etc? >> > >> > ? Key["PageDown"] >> > Gives 0. >> > >> > And so it does with PageUp and Shift. >> > >> > I know there is Key.Shift property, but problem with it is, I can't >> > distinguish "Shift" from "Shift + Something" with it. >> > Ie. I want to reject event if only shift is pressed without anything >> else. >> > >> > Gambas 3 rev 3532 @ Ubuntu 10.10 64bit >> >> If Key.Code = Key.PageDown and if Key.Shift Then >> ... >> Endif >> > > Yes, thanks, I'm too tired, I thought tried that already! > > > As I said in a previous mail, sourceforge servers were attacked. So now >> they >> decided to change the certificate of all their servers. >> >> Just accept the new certificate. >> >> If you are paranoid, you can check that you are really getting the right >> certificate by comparing its fingerprint to the one given on the >> sourceforge >> web site. For more information, go to the sourceforge blog. >> > > OK, I thought it was only about passwords, and I would expect that happen > sooner after attack... > Yes unfortunately I tend to be paranoid... so I checked and this is correct > as expected: > > 94:74:b3:a9:54:ce:dc:e5:0d:d6:cf:86:b1:40:5a:48:b9:ea:15:de > > > Thanks! > Jussi > From jussi.lahtinen at ...626... Thu Feb 3 02:08:30 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 3 Feb 2011 03:08:30 +0200 Subject: [Gambas-user] make install issue In-Reply-To: <1296694750.1953.10.camel@...2530...> References: <1296694750.1953.10.camel@...2530...> Message-ID: rev 3533? Jussi On Thu, Feb 3, 2011 at 02:59, John Spikowski wrote: > Compiling Database/Database/... > OK > Compiling Database/DataReportExample/... > gbc: error: Component not found: gb.qt > > > I just finish building 3 from scratch (make uninstall, make clean, > reconf-all, ...) > > This could well be the reports component is still too early in > development to mention issues. > > > > > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From support at ...2529... Thu Feb 3 02:10:52 2011 From: support at ...2529... (John Spikowski) Date: Wed, 02 Feb 2011 17:10:52 -0800 Subject: [Gambas-user] make install issue In-Reply-To: References: <1296694750.1953.10.camel@...2530...> Message-ID: <1296695452.1953.11.camel@...2530...> On Thu, 2011-02-03 at 03:08 +0200, Jussi Lahtinen wrote: > rev 3533? > > Jussi jrs at ...2530...:~/gambas-dev/trunk$ svn info Path: . URL: https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/trunk Repository Root: https://gambas.svn.sourceforge.net/svnroot/gambas Repository UUID: 96304659-1d19-0410-acd0-aead272a8bd5 Revision: 3533 Node Kind: directory Schedule: normal Last Changed Author: gambas Last Changed Rev: 3533 Last Changed Date: 2011-02-02 13:54:03 -0800 (Wed, 02 Feb 2011) jrs at ...2530...:~/gambas-dev/trunk$ From gambas at ...1... Thu Feb 3 02:14:18 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Thu, 3 Feb 2011 02:14:18 +0100 Subject: [Gambas-user] gb3: Draw method with same source and destination image In-Reply-To: <4D49FD5E.6040303@...1887...> References: <4D49AC46.4010207@...1887...> <201102030100.07039.gambas@...1...> <4D49FD5E.6040303@...1887...> Message-ID: <201102030214.18830.gambas@...1...> > On 02/02/2011 07:00 PM, Beno?t Minisini wrote: > > Actually you want some sort of scrolling? > > Yes, although the image "shifting" I spoke of isn't what creates the > scrolling directly. Here's a brief breakdown of what happens in the game. > > The server has a map 65536x65536 tiles, with each tile representing one > square foot. This map is organized into "cells", which are 32x32 tiles > each. When a client connects, the server sends the client a "cell grid" > of 3x3 cells, with the center cell being the cell the player is located > in. When the player moves outside the center cell, all the cells are > shifted accordingly and the server sends the player the data for the new > cells. > > The client uses a DrawingArea of 1280x720 pixels to represent the final, > visible rendering of the world, but a "tile grid" image buffer is used > to composite the scene invisibly. While the cell grid is just landscape > data in arrays, the tile grid is a graphical representation of a subset > of the cell grid data. The tile grid is a square grid of tiles designed > to be a few tiles larger than the DrawingArea. Each tile is 128x128 > pixels. If the DrawingArea is 1280x720 then the tile grid is 1408x1408 > (11x11 tiles, with the player being in the center tile). The tile grid > is treated like an old-school RPG; when the player moves out of the > center tile the image is shifted one tile and a new row of tiles is > drawn. The player doesn't see this, however, as the DrawingArea is > updated from the tile grid by a camera that smoothly follows the player. > > I would use SDL but it isn't currently robust enough to support the > effects I need (discussed in a previous email; no one has the time > currently to expand it). OpenGL, while nice, is complex enough that it > would prevent me from finishing the game. I'm doing all the design, > coding and artwork by myself (a friend is doing the music). So that > leaves me with pushing gb.image and gb.image.effect to their limits. > > I'm almost to the point where I can record a video of the game in > action, so soon I'll be able to show you what I'm doing. Until then, > just struggling with frame rates. ;) Maybe you can speed up things a little by intelligently using the X11 design. In Gambas 3, if you use a DrawingArea with the Cached property set, the DrawingArea maintains a pixmap on the X11 server that is used as the background pixmap of the X11 window. That means that the DrawingArea is automatically refreshed by the X11 server. Then, if you put a big DrawingArea inside a smaller Panel (or another DrawingArea, because you can ensure that it will not drawing anything), you can create the scrolling of the center cell just by moving it with the Move() method. The X11 server will do all the display, without any processing in your application. Of course, when you reach one extremity of the inner DrawingArea, you must then do a real scrolling and update its contents. I don't know if you do that already. But if you didn't, it may speed things up. Regards, -- Beno?t Minisini From demosthenesk at ...626... Thu Feb 3 09:10:23 2011 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Thu, 03 Feb 2011 10:10:23 +0200 Subject: [Gambas-user] Colorize crash In-Reply-To: <201102022226.30127.gambas@...1...> References: <1296578281.4010.3.camel@...2493...> <201102022226.30127.gambas@...1...> Message-ID: <1296720623.16231.10.camel@...2493...> Ok here is the finished project, http://www.mediafire.com/?m0np7r75is7ket3 this project demonstrate the Image class. (There are more questions about some issues for Image class later) The signal #11 is raised by Colorchooser in the next steps. 1) Click on label lblColor and choose a color from colorchooser. Close the form 2) Click again lblColor and choose a different color close the form signal #11 and messages on attached text Also attached the xdpyinfo.txt On Wed, 2011-02-02 at 22:26 +0100, Beno?t Minisini wrote: > > Hello, > > > > gambas3-svn3480 > > ubuntu 10.04 > > AMD64 > > > > i have the next code for apply colorize on an Image object > > > > ========================================= > > ---------- > > FMain > > ---------- > > > > Public iColor As Integer > > > > Public Sub btnColorize_Click() > > > > FColorChooser.ShowModal > > hImage.Colorize(iColor) > > ShowImage() > > > > End > > > > Public Sub ShowImage() > > > > PictureBox1.Picture = hImage.Picture > > > > End > > > > > > ------------- > > FColorChooser > > ------------- > > > > Public Sub ColorChooser1_Change() > > > > FMain.iColor = ColorChooser1.SelectedColor > > > > End > > > > ========================================= > > > > > > when i first choose a color and apply colorize is ok > > if i choose again a color and apply Colorize on an Image object i get > > > > > > (Project79:3529): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion > > `GDK_IS_COLORMAP (colormap)' failed > > > > (Project79:3529): GLib-GObject-CRITICAL **: g_object_unref: assertion > > `G_IS_OBJECT (object)' failed > > > > (Project79:3529): GLib-GObject-CRITICAL **: g_object_unref: assertion > > `G_IS_OBJECT (object)' failed > > > > (Project79:3529): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion > > `GDK_IS_COLORMAP (colormap)' failed > > > > (Project79:3529): Gdk-WARNING **: Using Cairo rendering requires the > > drawable argument to > > have a specified colormap. All windows have a colormap, > > however, pixmaps only have colormap by default if they > > were created with a non-NULL window argument. Otherwise > > a colormap must be set on them with gdk_drawable_set_colormap > > > > http://www.mediafire.com/?dq05bd3q617scj6 > > I cannot reproduce that. Strange, as there is no colormap involved in the > colorize process. > > You must give details about your X11 configuration. Please send me the output > of xdpyinfo. > > Regards, > -- Regards, Demosthenes Koptsis. -------------- next part -------------- (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_alloc_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:16885): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:16885): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed (Project79:16885): Gdk-CRITICAL **: gdk_colormap_get_visual: assertion `GDK_IS_COLORMAP (colormap)' failed -------------- next part -------------- name of display: :0.0 version number: 11.0 vendor string: The X.Org Foundation vendor release number: 10706000 X.Org version: 1.7.6 maximum request size: 16777212 bytes motion buffer size: 256 bitmap unit, bit order, padding: 32, LSBFirst, 32 image byte order: LSBFirst number of supported pixmap formats: 7 supported pixmap formats: depth 1, bits_per_pixel 1, scanline_pad 32 depth 4, bits_per_pixel 8, scanline_pad 32 depth 8, bits_per_pixel 8, scanline_pad 32 depth 15, bits_per_pixel 16, scanline_pad 32 depth 16, bits_per_pixel 16, scanline_pad 32 depth 24, bits_per_pixel 32, scanline_pad 32 depth 32, bits_per_pixel 32, scanline_pad 32 keycode range: minimum 8, maximum 255 focus: window 0x5000004, revert to Parent number of extensions: 29 BIG-REQUESTS Composite DAMAGE DOUBLE-BUFFER DPMS DRI2 GLX Generic Event Extension MIT-SCREEN-SAVER MIT-SHM NV-CONTROL NV-GLX RANDR RECORD RENDER SECURITY SHAPE SYNC X-Resource XC-MISC XFIXES XFree86-DGA XFree86-VidModeExtension XINERAMA XInputExtension XKEYBOARD XTEST XVideo XVideo-MotionCompensation default screen number: 0 number of screens: 1 screen #0: dimensions: 1280x1024 pixels (433x347 millimeters) resolution: 75x75 dots per inch depths (7): 24, 1, 4, 8, 15, 16, 32 root window id: 0x1ad depth of root window: 24 planes number of colormaps: minimum 1, maximum 1 default colormap: 0x20 default number of colormap cells: 256 preallocated pixels: black 0, white 16777215 options: backing-store NO, save-unders NO largest cursor: 64x64 current input event mask: 0xfac033 KeyPressMask KeyReleaseMask EnterWindowMask LeaveWindowMask KeymapStateMask ExposureMask StructureNotifyMask SubstructureNotifyMask SubstructureRedirectMask FocusChangeMask PropertyChangeMask ColormapChangeMask number of visuals: 120 default visual id: 0x21 visual: visual id: 0x21 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x22 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x24 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x25 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x26 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x27 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x28 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x29 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x2a class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x2b class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x2c class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x2d class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x2e class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x2f class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x30 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x31 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x32 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x33 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x34 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x35 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x36 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x37 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x38 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x39 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x3a class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x3b class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x3c class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x3d class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x3e class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x3f class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x40 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x41 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x42 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x43 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x44 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x45 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x46 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x47 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x48 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x49 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x4a class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x4b class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x4c class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x4d class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x4e class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x4f class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x50 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x51 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x52 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x53 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x54 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x55 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x56 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x57 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x58 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x59 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x5a class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x5b class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x5c class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x5d class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x5e class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x5f class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x60 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x61 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x62 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x63 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x64 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x65 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x66 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x67 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x68 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x69 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x6a class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x6b class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x6c class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x6d class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x6e class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x6f class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x70 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x71 class: DirectColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x23 class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x72 class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x73 class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x74 class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x75 class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x76 class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x77 class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x78 class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x79 class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x7a class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x7b class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x7c class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x7d class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x7e class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x7f class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x80 class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x81 class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x82 class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x83 class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x84 class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x85 class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x86 class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x87 class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x88 class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x89 class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x8a class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x8b class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x8c class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x8d class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x8e class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x8f class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x90 class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x91 class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x92 class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x93 class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x94 class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x95 class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x96 class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x97 class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits visual: visual id: 0x98 class: TrueColor depth: 32 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits From rterry at ...1946... Fri Feb 4 04:38:45 2011 From: rterry at ...1946... (richard terry) Date: Fri, 4 Feb 2011 14:38:45 +1100 Subject: [Gambas-user] Saving source > dialog won't create new folder Message-ID: <201102041438.45543.rterry@...1946...> 3533 version Saving source the dialog tries to create the folder as I can see it flicking on and off but no folder is created. Kubuntu 9.0 REgards richard From support at ...2529... Fri Feb 4 05:20:16 2011 From: support at ...2529... (John Spikowski) Date: Thu, 03 Feb 2011 20:20:16 -0800 Subject: [Gambas-user] Saving source > dialog won't create new folder In-Reply-To: <201102041438.45543.rterry@...1946...> References: <201102041438.45543.rterry@...1946...> Message-ID: <1296793216.1877.7.camel@...2530...> On Fri, 2011-02-04 at 14:38 +1100, richard terry wrote: > 3533 version > > Saving source the dialog tries to create the folder as I can see it flicking on > and off but no folder is created. > > Kubuntu 9.0 Hi Richard, I made a copy of the examples directory out of my home directory and did a recursive chmod to allow write permissions. I opened the text edit example, modified the comment and saved the project. (no problems) I then created a new project in a project directory I have used in the past for testing and again, no problems. Could this be a create/write permission problem on your end? Path: . URL: https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/trunk Repository Root: https://gambas.svn.sourceforge.net/svnroot/gambas Repository UUID: 96304659-1d19-0410-acd0-aead272a8bd5 Revision: 3533 Node Kind: directory Schedule: normal Last Changed Author: gambas Last Changed Rev: 3533 Last Changed Date: 2011-02-02 13:54:03 -0800 (Wed, 02 Feb 2011) From gambas at ...1... Fri Feb 4 11:06:09 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 4 Feb 2011 11:06:09 +0100 Subject: [Gambas-user] Saving source > dialog won't create new folder In-Reply-To: <201102041438.45543.rterry@...1946...> References: <201102041438.45543.rterry@...1946...> Message-ID: <201102041106.09258.gambas@...1...> > 3533 version > > Saving source the dialog tries to create the folder as I can see it > flicking on and off but no folder is created. > > Kubuntu 9.0 > > REgards > > richard > The bug should be fixed in revision #3538. Regards, -- Beno?t Minisini From gambas at ...1... Fri Feb 4 11:14:56 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 4 Feb 2011 11:14:56 +0100 Subject: [Gambas-user] Fwd: FileView_MouseDrag doesn't work In-Reply-To: References: Message-ID: <201102041114.56759.gambas@...1...> > Hello all, > > I am trying use MouseDrag event of FileView. I implemented MouseDrag > feature of ListBox and I can Drag & Drop items from GridView,Listview to a > ListView. But when I want to drag an item of FileView, Gambas does > nothing, just nothing. > > My code is below; > > > PUBLIC SUB copying_list_Drop() > > copying_list.Add(Drag.Data) > > END > > > PUBLIC SUB src_files_MouseDrag() > > src_files.Drag(src_files.Current) > > END > > where; copying_list is a ListBox, and src_files is a FileView. > > Any reply will be appreciated. I normally fixed that in revision #3539 for Gambas 3, by using the new Control.Proxy property. Now, if you use a FileView (or a DirView), you will catch all native events, and so MouseDrag. Regards, -- Beno?t Minisini From hyetik89 at ...626... Fri Feb 4 11:53:58 2011 From: hyetik89 at ...626... (Hasan Yetik) Date: Fri, 4 Feb 2011 12:53:58 +0200 Subject: [Gambas-user] Fwd: FileView_MouseDrag doesn't work In-Reply-To: <201102041114.56759.gambas@...1...> References: <201102041114.56759.gambas@...1...> Message-ID: Thanks for information, I am using gambas 2.21. I willl try it with Gambas 3. 2011/2/4 Beno?t Minisini > > Hello all, > > > > I am trying use MouseDrag event of FileView. I implemented MouseDrag > > feature of ListBox and I can Drag & Drop items from GridView,Listview to > a > > ListView. But when I want to drag an item of FileView, Gambas does > > nothing, just nothing. > > > > My code is below; > > > > > > PUBLIC SUB copying_list_Drop() > > > > copying_list.Add(Drag.Data) > > > > END > > > > > > PUBLIC SUB src_files_MouseDrag() > > > > src_files.Drag(src_files.Current) > > > > END > > > > where; copying_list is a ListBox, and src_files is a FileView. > > > > Any reply will be appreciated. > > I normally fixed that in revision #3539 for Gambas 3, by using the new > Control.Proxy property. Now, if you use a FileView (or a DirView), you will > catch all native events, and so MouseDrag. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > The modern datacenter depends on network connectivity to access resources > and provide services. The best practices for maximizing a physical server's > connectivity to a physical network are well understood - see how these > rules translate into the virtual world? > http://p.sf.net/sfu/oracle-sfdevnlfb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- --------------------------------------------------------------- Hasan Yetik Lisans ??rencisi - Undergraduate Student Elektrik Elektronik M?hendisli?i - Department of Electrical and Electronics Engineering TOBB Ekonomi ve Teknoloji ?niversitesi - TOBB University of Economics and Technology Tel: (+90) 3122483049 (+90) 5072733445 E-mail: hasanyetik at ...370... st07120276 at ...2545... Web: http://hyetik.wordpress.com --------------------------------------------------------------- From daniel at ...2544... Fri Feb 4 13:46:57 2011 From: daniel at ...2544... (Daniel Fuchs) Date: Fri, 4 Feb 2011 13:46:57 +0100 (MET) Subject: [Gambas-user] Circular references Message-ID: <201102041246.p14Ckv5b023091@...525...> Hello, the problem is that I cannot find any circular (object) references. Have a look at the project attached. The Gambas runtime issues a warning when you run the program, but the class mentioned (ParamDef) does not contain any references to other classes, so I can't figure out why that message appears. It' s the same with other projects I have tried. Maybe you can throw a light on it? Regards, Daniel ----- original Nachricht -------- Betreff: Re: [Gambas-user] Circular references Gesendet: Mi, 02. Feb 2011 Von: Beno?t Minisini > > Hello everybody, > > is there a way to turn off the messages on circular references Gambas > > issues on terminating a program? They are very disturbing when you > > write a command-line application whose output must be read by other > > programs. Regards, > > Daniel > > This message means that there is a problem in your application. Maybe you > should try to fix it first? > > -- > Beno?t Minisini > > ---------------------------------------------------------------------------- > -- > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > --- original Nachricht Ende ---- -------------- next part -------------- A non-text attachment was scrubbed... Name: read-write-0.0.1.tar.gz Type: application/x-gzip Size: 15976 bytes Desc: not available URL: From jussi.lahtinen at ...626... Fri Feb 4 14:56:59 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 4 Feb 2011 15:56:59 +0200 Subject: [Gambas-user] Circular references In-Reply-To: <201102041246.p14Ckv5b023091@...525...> References: <201102041246.p14Ckv5b023091@...525...> Message-ID: I cannot open your project, tar ball seems to be corrupted. Jussi On Fri, Feb 4, 2011 at 14:46, Daniel Fuchs wrote: > Hello, > > the problem is that I cannot find any circular (object) references. Have a > look at the project attached. The Gambas runtime issues a warning when you > run the program, but the class mentioned (ParamDef) does not contain any > references to other classes, so I can't figure out why that message appears. > It' s the same with other projects I have tried. Maybe you can throw a light > on it? > > Regards, > > Daniel > > ----- original Nachricht -------- > > Betreff: Re: [Gambas-user] Circular references > Gesendet: Mi, 02. Feb 2011 > Von: Beno?t Minisini > > > > Hello everybody, > > > is there a way to turn off the messages on circular references > Gambas > > > issues on terminating a program? They are very disturbing when you > > > write a command-line application whose output must be read by other > > > programs. Regards, > > > Daniel > > > > This message means that there is a problem in your application. Maybe you > > should try to fix it first? > > > > -- > > Beno?t Minisini > > > > > ---------------------------------------------------------------------------- > > -- > > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > > Finally, a world-class log management solution at an even better > price-free! > > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > > February 28th, so secure your free ArcSight Logger TODAY! > > http://p.sf.net/sfu/arcsight-sfd2d > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > --- original Nachricht Ende ---- > > > > ------------------------------------------------------------------------------ > The modern datacenter depends on network connectivity to access resources > and provide services. The best practices for maximizing a physical server's > connectivity to a physical network are well understood - see how these > rules translate into the virtual world? > http://p.sf.net/sfu/oracle-sfdevnlfb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From kevinfishburne at ...1887... Fri Feb 4 15:18:37 2011 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Fri, 04 Feb 2011 09:18:37 -0500 Subject: [Gambas-user] Circular references In-Reply-To: References: <201102041246.p14Ckv5b023091@...525...> Message-ID: <4D4C0ABD.9090601@...1887...> On 02/04/2011 08:56 AM, Jussi Lahtinen wrote: > I cannot open your project, tar ball seems to be corrupted. The attachment extracted for me under Ubuntu 10.10. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From jussi.lahtinen at ...626... Fri Feb 4 15:29:01 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 4 Feb 2011 16:29:01 +0200 Subject: [Gambas-user] Circular references In-Reply-To: <4D4C0ABD.9090601@...1887...> References: <201102041246.p14Ckv5b023091@...525...> <4D4C0ABD.9090601@...1887...> Message-ID: Strange... I have same system, so I tried again, now it works. Jussi On Fri, Feb 4, 2011 at 16:18, Kevin Fishburne < kevinfishburne at ...1887...> wrote: > On 02/04/2011 08:56 AM, Jussi Lahtinen wrote: > > I cannot open your project, tar ball seems to be corrupted. > > The attachment extracted for me under Ubuntu 10.10. > > -- > Kevin Fishburne > Eight Virtues > www: http://sales.eightvirtues.com > e-mail: sales at ...1887... > phone: (770) 853-6271 > > > > ------------------------------------------------------------------------------ > The modern datacenter depends on network connectivity to access resources > and provide services. The best practices for maximizing a physical server's > connectivity to a physical network are well understood - see how these > rules translate into the virtual world? > http://p.sf.net/sfu/oracle-sfdevnlfb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Fri Feb 4 15:58:08 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 4 Feb 2011 16:58:08 +0200 Subject: [Gambas-user] Circular references In-Reply-To: <201102041246.p14Ckv5b023091@...525...> References: <201102041246.p14Ckv5b023091@...525...> Message-ID: Can you give me "celesta.ae0" file for test? Jussi On Fri, Feb 4, 2011 at 14:46, Daniel Fuchs wrote: > Hello, > > the problem is that I cannot find any circular (object) references. Have a > look at the project attached. The Gambas runtime issues a warning when you > run the program, but the class mentioned (ParamDef) does not contain any > references to other classes, so I can't figure out why that message appears. > It' s the same with other projects I have tried. Maybe you can throw a light > on it? > > Regards, > > Daniel > > ----- original Nachricht -------- > > Betreff: Re: [Gambas-user] Circular references > Gesendet: Mi, 02. Feb 2011 > Von: Beno?t Minisini > > > > Hello everybody, > > > is there a way to turn off the messages on circular references > Gambas > > > issues on terminating a program? They are very disturbing when you > > > write a command-line application whose output must be read by other > > > programs. Regards, > > > Daniel > > > > This message means that there is a problem in your application. Maybe you > > should try to fix it first? > > > > -- > > Beno?t Minisini > > > > > ---------------------------------------------------------------------------- > > -- > > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > > Finally, a world-class log management solution at an even better > price-free! > > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > > February 28th, so secure your free ArcSight Logger TODAY! > > http://p.sf.net/sfu/arcsight-sfd2d > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > --- original Nachricht Ende ---- > > > > ------------------------------------------------------------------------------ > The modern datacenter depends on network connectivity to access resources > and provide services. The best practices for maximizing a physical server's > connectivity to a physical network are well understood - see how these > rules translate into the virtual world? > http://p.sf.net/sfu/oracle-sfdevnlfb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From kevinfishburne at ...1887... Fri Feb 4 19:26:42 2011 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Fri, 04 Feb 2011 13:26:42 -0500 Subject: [Gambas-user] gb3: Draw method with same source and destination image In-Reply-To: <201102030214.18830.gambas@...1...> References: <4D49AC46.4010207@...1887...> <201102030100.07039.gambas@...1...> <4D49FD5E.6040303@...1887...> <201102030214.18830.gambas@...1...> Message-ID: <4D4C44E2.1050103@...1887...> On 02/02/2011 08:14 PM, Beno?t Minisini wrote: > Maybe you can speed up things a little by intelligently using the X11 design. > > In Gambas 3, if you use a DrawingArea with the Cached property set, the > DrawingArea maintains a pixmap on the X11 server that is used as the > background pixmap of the X11 window. That means that the DrawingArea is > automatically refreshed by the X11 server. > > Then, if you put a big DrawingArea inside a smaller Panel (or another > DrawingArea, because you can ensure that it will not drawing anything), you > can create the scrolling of the center cell just by moving it with the Move() > method. The X11 server will do all the display, without any processing in your > application. > > Of course, when you reach one extremity of the inner DrawingArea, you must > then do a real scrolling and update its contents. > > I don't know if you do that already. But if you didn't, it may speed things > up. That's a good idea, but unfortunately for me I'm compositing several layers with alpha such as water, atmospheric effects, the player, other players, vegetation, etc. I may also implement full-screen rotation as well, though this may require porting the code to OpenGL. It would be difficult to implement multiple DrawingAreas in my case since they'd be treated as separate images. What I discovered yesterday however is that the new gb.image.imlib library is incredibly fast compared to gb.image. You might want to compare code and steal a little from it. I wrote a test app which shows frame rates copying one image to another for ten seconds. Public Sub Form_Open() Dim image1 As Image Dim image2 As Image Dim t As Float Dim frames As Integer Dim width As Integer Dim height As Integer width = 512 height = 512 image1 = New Image(width, height, Color.RGB(127, 127, 127, 127)) image2 = New Image(width, height, Color.RGB(127, 127, 127, 127)) t = Timer Do image1.Draw(image2, 0, 0) Inc frames Loop Until Timer - t >= 10 Print Fix(frames / 10) & " frames per second." Print Fix(frames * width * height / 10 / 1000) & " pixels per millisecond." End Running that code with gb.image results in: 51 frames per second. 13474 pixels per millisecond. Running the same code with the gb.image.imlib component I get: 432 frames per second. 113455 pixels per millisecond. imlib is 8.5 times faster, which is amazing. What's not amazing is that even though my test program works, my game repeatedly gives me the error, "The source image and the destination image must have the same format." Just crazy... Sadly when I check their properties they are the same format, Standard (not Multiplicative). I'm currently trying to understand why it's saying that, as I want my 8.5x framerate boost. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From rterry at ...1946... Sat Feb 5 00:43:51 2011 From: rterry at ...1946... (richard terry) Date: Sat, 5 Feb 2011 10:43:51 +1100 Subject: [Gambas-user] SelectAll property problem Message-ID: <201102051043.51077.rterry@...1946...> Last couple of updates of the svn this syntax is no longer working: listview1.SelectAll(False) or Columnview1.SelectAll(FAlse) My program just stops on these lines with no error messages ?? Anyone else noticed this Regards richard From gambas at ...1... Sat Feb 5 00:50:04 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sat, 5 Feb 2011 00:50:04 +0100 Subject: [Gambas-user] SelectAll property problem In-Reply-To: <201102051043.51077.rterry@...1946...> References: <201102051043.51077.rterry@...1946...> Message-ID: <201102050050.05019.gambas@...1...> > Last couple of updates of the svn this syntax is no longer working: > > listview1.SelectAll(False) > or > Columnview1.SelectAll(FAlse) > > My program just stops on these lines with no error messages > > > ?? > > Anyone else noticed this > > Regards > > richard > Yes, the syntax has changed. You must do SelectAll() and UnselectAll() without any argument now. Regards, -- Beno?t Minisini From rterry at ...1946... Sat Feb 5 00:58:28 2011 From: rterry at ...1946... (richard terry) Date: Sat, 5 Feb 2011 10:58:28 +1100 Subject: [Gambas-user] SelectAll property problem In-Reply-To: <201102050050.05019.gambas@...1...> References: <201102051043.51077.rterry@...1946...> <201102050050.05019.gambas@...1...> Message-ID: <201102051058.29002.rterry@...1946...> On Saturday 05 February 2011 10:50:04 Beno?t Minisini wrote: > > Last couple of updates of the svn this syntax is no longer working: > > > > listview1.SelectAll(False) > > or > > Columnview1.SelectAll(FAlse) > > > > My program just stops on these lines with no error messages > > > > > > ?? > > > > Anyone else noticed this > > > > Regards > > > > richard > > Yes, the syntax has changed. You must do SelectAll() and UnselectAll() > without any argument now. > > Regards, > Ok, then the documentation needs updating. Thanks Richard From rterry at ...1946... Sun Feb 6 01:06:58 2011 From: rterry at ...1946... (richard terry) Date: Sun, 6 Feb 2011 11:06:58 +1100 Subject: [Gambas-user] Saving executable dialog still has problems Message-ID: <201102061106.58818.rterry@...1946...> Hi benoit Does create now, however the pane to the right of the file tree dosn't clear - it shows the contents of the previous directory. Regards Richard From gambas at ...1... Sun Feb 6 01:52:39 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 6 Feb 2011 01:52:39 +0100 Subject: [Gambas-user] Saving executable dialog still has problems In-Reply-To: <201102061106.58818.rterry@...1946...> References: <201102061106.58818.rterry@...1946...> Message-ID: <201102060152.39187.gambas@...1...> > Hi benoit > > Does create now, however the pane to the right of the file tree dosn't > clear - it shows the contents of the previous directory. > > Regards > > Richard > Fixed in revision #3543. Regards, -- Beno?t Minisini From gambas at ...2524... Sun Feb 6 01:54:23 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 06 Feb 2011 00:54:23 +0000 Subject: [Gambas-user] Issue 23 in gambas: Resizing a form in IDE through the height or width property does not work properly In-Reply-To: <0-6813199134517018827-6999584546661461069-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-6999584546661461069-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-6999584546661461069-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 23 by benoit.m... at ...626...: Resizing a form in IDE through the height or width property does not work properly http://code.google.com/p/gambas/issues/detail?id=23 (No comment was entered for this change.) From gambas at ...2524... Sun Feb 6 01:59:33 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 06 Feb 2011 00:59:33 +0000 Subject: [Gambas-user] Issue 26 in gambas: panel width does not match property setting In-Reply-To: <0-6813199134517018827-16535638016952757230-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-16535638016952757230-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-16535638016952757230-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 26 by benoit.m... at ...626...: panel width does not match property setting http://code.google.com/p/gambas/issues/detail?id=26 (No comment was entered for this change.) From gambas at ...2524... Sun Feb 6 02:26:40 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 06 Feb 2011 01:26:40 +0000 Subject: [Gambas-user] Issue 14 in gambas: Draw.Drawing does not work -- Signal #11 error In-Reply-To: <2-6813199134517018827-13140061639659794138-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-13140061639659794138-gambas=googlecode.com@...2524...> <0-6813199134517018827-13140061639659794138-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-13140061639659794138-gambas=googlecode.com@...2524...> Updates: Labels: -GUI-Any GUI-QT3 Comment #3 on issue 14 by benoit.m... at ...626...: Draw.Drawing does not work -- Signal #11 error http://code.google.com/p/gambas/issues/detail?id=14 (No comment was entered for this change.) From gambas at ...2524... Sun Feb 6 02:38:44 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 06 Feb 2011 01:38:44 +0000 Subject: [Gambas-user] Issue 23 in gambas: Resizing a form in IDE through the height or width property does not work properly In-Reply-To: <1-6813199134517018827-6999584546661461069-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-6999584546661461069-gambas=googlecode.com@...2524...> <0-6813199134517018827-6999584546661461069-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-6999584546661461069-gambas=googlecode.com@...2524...> Updates: Status: Fixed Labels: -Version-TRUNK Version-Any Comment #2 on issue 23 by benoit.m... at ...626...: Resizing a form in IDE through the height or width property does not work properly http://code.google.com/p/gambas/issues/detail?id=23 Fixed in revision #3544 for Gambas 3. Fixed in revision #3545 for Gambas 2. From gambas at ...2524... Sun Feb 6 02:42:45 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 06 Feb 2011 01:42:45 +0000 Subject: [Gambas-user] Issue 23 in gambas: Resizing a form in IDE through the height or width property does not work properly In-Reply-To: <2-6813199134517018827-6999584546661461069-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-6999584546661461069-gambas=googlecode.com@...2524...> <0-6813199134517018827-6999584546661461069-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-6999584546661461069-gambas=googlecode.com@...2524...> Updates: Status: Accepted Comment #3 on issue 23 by benoit.m... at ...626...: Resizing a form in IDE through the height or width property does not work properly http://code.google.com/p/gambas/issues/detail?id=23 Oops, the fix is not for that bug... From gambas at ...2524... Sun Feb 6 02:46:46 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 06 Feb 2011 01:46:46 +0000 Subject: [Gambas-user] Issue 26 in gambas: panel width does not match property setting In-Reply-To: <1-6813199134517018827-16535638016952757230-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-16535638016952757230-gambas=googlecode.com@...2524...> <0-6813199134517018827-16535638016952757230-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-16535638016952757230-gambas=googlecode.com@...2524...> Updates: Status: Fixed Labels: -Version-TRUNK Version-Any Comment #2 on issue 26 by benoit.m... at ...626...: panel width does not match property setting http://code.google.com/p/gambas/issues/detail?id=26 Fix in revision #3544 for Gambas 3 and #3545 for Gambas 2. From kevinfishburne at ...1887... Sun Feb 6 03:42:41 2011 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sat, 05 Feb 2011 21:42:41 -0500 Subject: [Gambas-user] gb3: bug using Draw and DrawAlpha with imlib component Message-ID: <4D4E0AA1.7040507@...1887...> This code (project attached): Dim image1 As Image = New Image(128, 128, 0, 0) Dim image2 As Image = New Image(128, 128, 0, 0) Dim image3 As Image = New Image(128, 128, 0, 0) image1.Draw(image2, 0, 0) image1.DrawAlpha(image3, 0, 0) produces the following runtime error: "The source image and the destination image must have the same format" The error does not occur when the order of the two draw statements is reversed. The problem still occurs when the images are loaded from file rather than explicitly created. Checking the properties of the two images shows identical results as far as I can tell. Here's where things get really strange. If I open the property window for image1 (double-click the variable name) and step-execute (F8) the line "image1.Draw(image2, 0, 0)" it raises signal 11. If I step-execute up to the last line, open the property window for image1, then step-execute the last line the DrawAlpha statement actually works...no error message at all. It's almost like just bringing up the property window modifies image1 such that DrawAlpha under imlib is made happy and doesn't throw the error. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 -------------- next part -------------- A non-text attachment was scrubbed... Name: gb3_test.tar.bz2 Type: application/x-bzip Size: 5749 bytes Desc: not available URL: From zachsmith022 at ...626... Sun Feb 6 05:12:15 2011 From: zachsmith022 at ...626... (Zach Smith) Date: Sat, 5 Feb 2011 22:12:15 -0600 Subject: [Gambas-user] How do you hide the mouse cursor in GTK? Message-ID: This works in Qt but not GTK: FMain.mouse = 10 I've played around with an invisible cursor theme and it worked, but that won't allow me to easily switch between visible and invisible. From oceanosoftlapalma at ...626... Sun Feb 6 13:58:17 2011 From: oceanosoftlapalma at ...626... (=?ISO-8859-1?Q?Ricardo_D=EDaz_Mart=EDn?=) Date: Sun, 6 Feb 2011 12:58:17 +0000 Subject: [Gambas-user] Crash gambas3 ide when you select a View from a mysql database connection in Message-ID: Hi to all, When you got in the IDE a connection to MySQL database, if you click over a view (not over a table), IDE crash. Views have been declared in mysql as "create view SomeName as select * from SomeTable" and runs ok from mysql command line. I was looking for in gambas3 sources about the crash and the problem occurs when Table.Type is read from connection. Regards, Ricardo D?az From sbungay at ...981... Sun Feb 6 16:52:52 2011 From: sbungay at ...981... (Stephen Bungay) Date: Sun, 06 Feb 2011 10:52:52 -0500 Subject: [Gambas-user] A little perplexed... Message-ID: <4D4EC3D4.3050902@...981...> Trying to get the dev environment up and running on CentOS 5.5, no QT installed. "./configure" reports that qt is disabled and successfully completes. "make install" also successfully completes, gambas2 isinstalled but, when invoked it reports that it is unable to locate the gb.qt library. Now given that the qt component is disabled, why is this error coming up? From jussi.lahtinen at ...626... Sun Feb 6 18:34:20 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 6 Feb 2011 19:34:20 +0200 Subject: [Gambas-user] Can't drag and drop/copy&paste folder to an other. Message-ID: Hi! Drag and drop or copy&paste doesn't work in IDE project treeview. Copied/moved folder just disappears from treeview. Files aren't removed, restart IDE and they are back as before. Gambas 3 rev 3545 @ Ubuntu 10.10 64bit Jussi From jussi.lahtinen at ...626... Sun Feb 6 18:41:15 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 6 Feb 2011 19:41:15 +0200 Subject: [Gambas-user] Inconsistency with Border property. Message-ID: In IDE Border property has boolean options, however documentation and functionality suggest otherwise. PROPERTY Border AS Boolean Returns or sets the border type of the window. Use one of the following constants: * Window.None for a borderless window. * Window.Fixed for a window with a fixed size. * Window.Resizable for a resizable window. Gambas 3 rev 3545 @ Ubuntu 10.10 64bit Jussi From gambas at ...1... Sun Feb 6 21:43:10 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 6 Feb 2011 21:43:10 +0100 Subject: [Gambas-user] Crash gambas3 ide when you select a View from a mysql database connection in In-Reply-To: References: Message-ID: <201102062143.10933.gambas@...1...> > Hi to all, > > When you got in the IDE a connection to MySQL database, if you click over a > view (not over a table), IDE crash. > > Views have been declared in mysql as "create view SomeName as select * from > SomeTable" and runs ok from mysql command line. > > I was looking for in gambas3 sources about the crash and the problem occurs > when Table.Type is read from connection. > > Regards, > Ricardo D?az Can you send me a database sql dump with views? I don't need a big one! Regards, -- Beno?t Minisini From gambas at ...2524... Sun Feb 6 21:55:32 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 06 Feb 2011 20:55:32 +0000 Subject: [Gambas-user] Issue 27 in gambas: gridview column width inconsistency Message-ID: <0-6813199134517018827-14449542985247243903-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 27 by zachsmit... at ...626...: gridview column width inconsistency http://code.google.com/p/gambas/issues/detail?id=27 1) Gridview control doesn't set column width consistently. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK r3530 Operating system: Linux Distribution: Arch Architecture: x86_64 GUI component: QT4 / GTK+ Press button in program twice to demonstrate. Attachments: gridview_test2-0.0.2.tar.gz 5.7 KB From oceanosoftlapalma at ...626... Sun Feb 6 22:18:09 2011 From: oceanosoftlapalma at ...626... (=?ISO-8859-1?Q?Ricardo_D=EDaz_Mart=EDn?=) Date: Sun, 6 Feb 2011 21:18:09 +0000 Subject: [Gambas-user] Crash gambas3 ide when you select a View from a mysql database connection in In-Reply-To: <201102062143.10933.gambas@...1...> References: <201102062143.10933.gambas@...1...> Message-ID: Hi Benoit, Please, exec this sentences as a script in mysql server. It creates a table an a view. If you make a new connection to this database from the gambas3 IDE. If you select the view from the list, IDE crash (with no 11 signal) I'm using ubuntu 10.10 x64 with gambas3 rev 3537 Regards, 2011/2/6 Beno?t Minisini > > Hi to all, > > > > When you got in the IDE a connection to MySQL database, if you click over > a > > view (not over a table), IDE crash. > > > > Views have been declared in mysql as "create view SomeName as select * > from > > SomeTable" and runs ok from mysql command line. > > > > I was looking for in gambas3 sources about the crash and the problem > occurs > > when Table.Type is read from connection. > > > > Regards, > > Ricardo D?az > > Can you send me a database sql dump with views? I don't need a big one! > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > The modern datacenter depends on network connectivity to access resources > and provide services. The best practices for maximizing a physical server's > connectivity to a physical network are well understood - see how these > rules translate into the virtual world? > http://p.sf.net/sfu/oracle-sfdevnlfb > _______________________________________________ > 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: Example.sql Type: text/x-sql Size: 1310 bytes Desc: not available URL: From gambas at ...2524... Sun Feb 6 23:41:58 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 06 Feb 2011 22:41:58 +0000 Subject: [Gambas-user] Issue 28 in gambas: Gambas debugger show a 'syntax error' when displaying an array Message-ID: <0-6813199134517018827-2909860699509145214-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 28 by Lordhea... at ...626...: Gambas debugger show a 'syntax error' when displaying an array http://code.google.com/p/gambas/issues/detail?id=28 Gambas debugger show a 'syntax error' when displaying an array, the problem isn't present when displaying a collection See attached screenshot Version: 2.22.0 Operating system: Linux Distribution: ArchLinux Architecture: x86_64 GUI component: QT3 Desktop used: KDE Attachments: capture4.png 135 KB From gambas at ...1... Mon Feb 7 00:16:22 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 7 Feb 2011 00:16:22 +0100 Subject: [Gambas-user] Colorize crash In-Reply-To: <1296720623.16231.10.camel@...2493...> References: <1296578281.4010.3.camel@...2493...> <201102022226.30127.gambas@...1...> <1296720623.16231.10.camel@...2493...> Message-ID: <201102070016.22926.gambas@...1...> > Ok here is the finished project, > http://www.mediafire.com/?m0np7r75is7ket3 > > this project demonstrate the Image class. > (There are more questions about some issues for Image class later) > > The signal #11 is raised by Colorchooser in the next steps. > > 1) Click on label lblColor and choose a color from colorchooser. > Close the form > > 2) Click again lblColor and choose a different color > close the form > > signal #11 and messages on attached text > > Also attached the xdpyinfo.txt > Is it better with the latest revision? -- Beno?t Minisini From support at ...2529... Mon Feb 7 01:13:43 2011 From: support at ...2529... (John Spikowski) Date: Sun, 06 Feb 2011 16:13:43 -0800 Subject: [Gambas-user] Nightly Builds Message-ID: <1297037623.1800.16.camel@...2530...> Beno?t, Do you think there is enough interest in the Gambas 3 effort by users to offer a nightly build. It takes me about ~30 min. or so to build a fresh install from the trunk on my old laptop. I'm sure it would be much faster on the hosting server. I would be willing to host this on www.VBonX.com if other list members would assist in creating the scripts for it. John From gambas at ...1... Mon Feb 7 01:16:12 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 7 Feb 2011 01:16:12 +0100 Subject: [Gambas-user] Nightly Builds In-Reply-To: <1297037623.1800.16.camel@...2530...> References: <1297037623.1800.16.camel@...2530...> Message-ID: <201102070116.12992.gambas@...1...> > Beno?t, > > Do you think there is enough interest in the Gambas 3 effort by users to > offer a nightly build. It takes me about ~30 min. or so to build a fresh > install from the trunk on my old laptop. I'm sure it would be much > faster on the hosting server. > > I would be willing to host this on www.VBonX.com if other list members > would assist in creating the scripts for it. > > John > And what will be the result of that nightly build? -- Beno?t Minisini From support at ...2529... Mon Feb 7 01:30:38 2011 From: support at ...2529... (John Spikowski) Date: Sun, 06 Feb 2011 16:30:38 -0800 Subject: [Gambas-user] Nightly Builds In-Reply-To: <201102070116.12992.gambas@...1...> References: <1297037623.1800.16.camel@...2530...> <201102070116.12992.gambas@...1...> Message-ID: <1297038638.1800.21.camel@...2530...> On Mon, 2011-02-07 at 01:16 +0100, Beno?t Minisini wrote: > > Beno?t, > > > > And what will be the result of that nightly build? > The goal would be a nightly build of a Gambas 3 .deb for Ubuntu 10.10 32 bit. That is what I understand you are using and one of the most popular Linux distributions. This might get more Gambas users to test 3 and give you feedback. If you feel that the current contributors would rather build their own, I'll just write it off as a bad idea. John From gambas at ...1... Mon Feb 7 01:38:26 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 7 Feb 2011 01:38:26 +0100 Subject: [Gambas-user] Nightly Builds In-Reply-To: <1297038638.1800.21.camel@...2530...> References: <1297037623.1800.16.camel@...2530...> <201102070116.12992.gambas@...1...> <1297038638.1800.21.camel@...2530...> Message-ID: <201102070138.26807.gambas@...1...> > On Mon, 2011-02-07 at 01:16 +0100, Beno?t Minisini wrote: > > > Beno?t, > > > > And what will be the result of that nightly build? > > The goal would be a nightly build of a Gambas 3 .deb for Ubuntu 10.10 32 > bit. > > That is what I understand you are using and one of the most popular > Linux distributions. > > This might get more Gambas users to test 3 and give you feedback. If you > feel that the current contributors would rather build their own, I'll > just write it off as a bad idea. > > John > Beware that the package generation from the source was never tested in Gambas 3. I wanted to do the release candidate first. Regards, -- Beno?t Minisini From support at ...2529... Mon Feb 7 01:58:01 2011 From: support at ...2529... (John Spikowski) Date: Sun, 06 Feb 2011 16:58:01 -0800 Subject: [Gambas-user] Nightly Builds In-Reply-To: <201102070138.26807.gambas@...1...> References: <1297037623.1800.16.camel@...2530...> <201102070116.12992.gambas@...1...> <1297038638.1800.21.camel@...2530...> <201102070138.26807.gambas@...1...> Message-ID: <1297040281.1800.27.camel@...2530...> On Mon, 2011-02-07 at 01:38 +0100, Beno?t Minisini wrote: > Beware that the package generation from the source was never tested in Gambas > 3. I wanted to do the release candidate first. That's why I asked first. I'm happy with the development environment we have and was just trying to get a few more involved. The CrossOver (Wine commercial effort) has a nightly build page / forum for their registered advocates. It's a nice resource to have. From gambas at ...1... Mon Feb 7 02:02:34 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 7 Feb 2011 02:02:34 +0100 Subject: [Gambas-user] Nightly Builds In-Reply-To: <1297040281.1800.27.camel@...2530...> References: <1297037623.1800.16.camel@...2530...> <201102070138.26807.gambas@...1...> <1297040281.1800.27.camel@...2530...> Message-ID: <201102070202.34248.gambas@...1...> > On Mon, 2011-02-07 at 01:38 +0100, Beno?t Minisini wrote: > > Beware that the package generation from the source was never tested in > > Gambas 3. I wanted to do the release candidate first. > > That's why I asked first. > > I'm happy with the development environment we have and was just trying > to get a few more involved. > No problem! I just wanted to warn that you will be a beta tester of the debian package generation. Regards, -- Beno?t Minisini From support at ...2529... Mon Feb 7 02:26:47 2011 From: support at ...2529... (John Spikowski) Date: Sun, 06 Feb 2011 17:26:47 -0800 Subject: [Gambas-user] Nightly Builds In-Reply-To: <201102070202.34248.gambas@...1...> References: <1297037623.1800.16.camel@...2530...> <201102070138.26807.gambas@...1...> <1297040281.1800.27.camel@...2530...> <201102070202.34248.gambas@...1...> Message-ID: <1297042007.1800.30.camel@...2530...> On Mon, 2011-02-07 at 02:02 +0100, Beno?t Minisini wrote: > No problem! I just wanted to warn that you will be a beta tester of the debian > package generation. > I think I'll stick to the program you have in place for the release of Gambas 3. I've been a 'lab rat' too many times in the past with little reward for the effort to go looking for something to else to struggle with. From gambas at ...1... Mon Feb 7 02:59:08 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 7 Feb 2011 02:59:08 +0100 Subject: [Gambas-user] Disappeared error messages In-Reply-To: References: Message-ID: <201102070259.08139.gambas@...1...> > Hi! > What has happen to error messages? > Now Gambas IDE just stops executing when running into error! > But some error messages still seems to be visible... > > Gambas 3 rev 3493 @ Ubuntu 10.10 64bit > > Jussi Invisible error messages should have been fixed in revision #3546. Regards, -- Beno?t Minisini From support at ...2529... Mon Feb 7 03:15:15 2011 From: support at ...2529... (John Spikowski) Date: Sun, 06 Feb 2011 18:15:15 -0800 Subject: [Gambas-user] Nightly Builds In-Reply-To: <201102070202.34248.gambas@...1...> References: <1297037623.1800.16.camel@...2530...> <201102070138.26807.gambas@...1...> <1297040281.1800.27.camel@...2530...> <201102070202.34248.gambas@...1...> Message-ID: <1297044915.1800.39.camel@...2530...> On Mon, 2011-02-07 at 02:02 +0100, Beno?t Minisini wrote: > > Beware that the package generation from the source was never tested > in > > > Gambas 3. I wanted to do the release candidate first. Is there a way to 'package' a Gambas 3 runtime to share with others on the All Basic forum? I would need a script to build a tar.z file. I would want to include everything that is needed to run Gambas 3 once the tar is extracted in the same directory structure it was built from. Gambas requires a fair amount of dependencies and making the user go hunting for them and maybe installing stuff they don't need could be a turn off before they even get started using the language. From ihaywood at ...1979... Mon Feb 7 10:57:17 2011 From: ihaywood at ...1979... (Ian Haywood) Date: Mon, 7 Feb 2011 20:57:17 +1100 Subject: [Gambas-user] Nightly Builds In-Reply-To: <1297044915.1800.39.camel@...2530...> References: <1297037623.1800.16.camel@...2530...> <201102070138.26807.gambas@...1...> <1297040281.1800.27.camel@...2530...> <201102070202.34248.gambas@...1...> <1297044915.1800.39.camel@...2530...> Message-ID: On Mon, Feb 7, 2011 at 1:15 PM, John Spikowski wrote: > Is there a way to 'package' a Gambas 3 runtime to share with others on > the All Basic forum? I would need a script to build a tar.z file. I > would want to include everything that is needed to run Gambas 3 once the > tar is extracted in the same directory structure it was built from. > > Gambas requires a fair amount of dependencies and making the user go > hunting for them and maybe installing stuff they don't need could be a > turn off before they even get started using the language. we've had this discussion before. Including all the dependencies would be very big, it would also be quite hard to set up as the gambas executable would need to load the shared libraries from the same directory as the .tar.gz instead of the standard linux location (/usr/lib/) All the modern linux distros include a system for automatically resolving and loading complex dependencies, so the only real solution is a packaging for the various distros. https://launchpad.net/~ihaywood3/+archive/gambas3 contains ubuntu packages which work on debian testing and probably most other .deb based distros (Linux Mint, Mepis, etc) I update about once a fortnight or so from svn, but if someone wants to take over and extend to use some nightly autobuild system that would be good. Ian From support at ...2529... Mon Feb 7 11:30:51 2011 From: support at ...2529... (John Spikowski) Date: Mon, 07 Feb 2011 02:30:51 -0800 Subject: [Gambas-user] Nightly Builds In-Reply-To: References: <1297037623.1800.16.camel@...2530...> <201102070138.26807.gambas@...1...> <1297040281.1800.27.camel@...2530...> <201102070202.34248.gambas@...1...> <1297044915.1800.39.camel@...2530...> Message-ID: <1297074651.1800.62.camel@...2530...> On Mon, 2011-02-07 at 20:57 +1100, Ian Haywood wrote: > we've had this discussion before. Including all the dependencies would > be very big, it would also be quite hard to set up as the gambas > executable would need to load the shared libraries from the same > directory as the .tar.gz instead of the standard linux location > (/usr/lib/) > All the modern linux distros include a system for automatically > resolving and loading complex dependencies, so the only real solution > is a packaging for the various distros. > > https://launchpad.net/~ihaywood3/+archive/gambas3 > contains ubuntu packages which work on debian testing and probably > most other .deb based distros (Linux Mint, Mepis, etc) > I update about once a fortnight or so from svn, but if someone wants > to take over and extend to use some nightly autobuild system that > would be good. Ian, I didn't know you were already doing this. How much of your time does it take to build a release with this setup? I guess if your going to beta testing a new release, you should probably build it on your own system to for validity and review of the changes. Thanks for the heads up and your efforts. John From daniel at ...2544... Mon Feb 7 11:40:57 2011 From: daniel at ...2544... (Daniel Fuchs) Date: Mon, 7 Feb 2011 11:40:57 +0100 (MET) Subject: [Gambas-user] Circular references Message-ID: <201102071040.p17AevxJ026233@...525...> Hello everybody, Sorry, I've added the wrong version. Here's the correct one. (The name has changed, but never mind.) It is a command-line tool that is part of a larger project, namely an editor for data related to additive sound synthesis with the Aeolus organ emulator (see www.kokkinizita.net/linuxaudio/aeolus), but this is not important now. The program, when launched without command-line parameters, just prints a help text and quits. But I get the message: WARNING: circular references detected ParamDef (19) There are no references to objects of other classes in the ParamDef class. The ParamDef object is a pure data structure made up of primitive datatypes only. The static part of the class uses the object and refers to the static Options class, but there is no reference back to ParamDef in the code of the Options class. So I don't understand why I get this message. I use Gambas 2.8, and I have this problem with nearly all of my projects. I'm not quite sure whether circular references between static classes are a problem and would justify a warning, but in this case there are not even such static circular references. In any case, the messages should be suppressed outside the IDE. My suggestion would be to suppress them by default and add a command-line option to the Gambas runtime that makes it show them. The IDE could then launch gbx2 with this option, and you would have the messages all right for debugging but not when running an executable already installed on your filesystem; they aren't of any use in this case either, for you can't do anything about it once the executable is installed. Regards, Daniel ----- original Nachricht -------- Betreff: Re: [Gambas-user] Circular references Gesendet: Fr, 04. Feb 2011 Von: Jussi Lahtinen > Can you give me "celesta.ae0" file for test? > > Jussi > > > On Fri, Feb 4, 2011 at 14:46, Daniel Fuchs wrote: > > > Hello, > > > > the problem is that I cannot find any circular (object) references. Have > a > > look at the project attached. The Gambas runtime issues a warning when > you > > run the program, but the class mentioned (ParamDef) does not contain any > > references to other classes, so I can't figure out why that message > appears. > > It' s the same with other projects I have tried. Maybe you can throw a > light > > on it? > > > > Regards, > > > > Daniel > > > > ----- original Nachricht -------- > > > > Betreff: Re: [Gambas-user] Circular references > > Gesendet: Mi, 02. Feb 2011 > > Von: Beno?t Minisini > > > > > > Hello everybody, > > > > is there a way to turn off the messages on circular references > > Gambas > > > > issues on terminating a program? They are very disturbing when you > > > > write a command-line application whose output must be read by other > > > > programs. Regards, > > > > Daniel > > > > > > This message means that there is a problem in your application. Maybe > you > > > should try to fix it first? > > > > > > -- > > > Beno?t Minisini > > > > > > > > > ---------------------------------------------------------------------------- > > > > -- > > > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > > > Finally, a world-class log management solution at an even better > > price-free! > > > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > > > February 28th, so secure your free ArcSight Logger TODAY! > > > http://p.sf.net/sfu/arcsight-sfd2d > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > --- original Nachricht Ende ---- > > > > > > > > > ---------------------------------------------------------------------------- > -- > > The modern datacenter depends on network connectivity to access resources > > and provide services. The best practices for maximizing a physical > server's > > connectivity to a physical network are well understood - see how these > > rules translate into the virtual world? > > http://p.sf.net/sfu/oracle-sfdevnlfb > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ---------------------------------------------------------------------------- > -- > The modern datacenter depends on network connectivity to access resources > and provide services. The best practices for maximizing a physical server's > connectivity to a physical network are well understood - see how these > rules translate into the virtual world? > http://p.sf.net/sfu/oracle-sfdevnlfb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > --- original Nachricht Ende ---- -------------- next part -------------- A non-text attachment was scrubbed... Name: stan-ae0-0.1.26.tar.gz Type: application/x-gzip Size: 39775 bytes Desc: not available URL: From ihaywood at ...1979... Mon Feb 7 11:54:17 2011 From: ihaywood at ...1979... (Ian Haywood) Date: Mon, 7 Feb 2011 21:54:17 +1100 Subject: [Gambas-user] Nightly Builds In-Reply-To: <1297074651.1800.62.camel@...2530...> References: <1297037623.1800.16.camel@...2530...> <201102070138.26807.gambas@...1...> <1297040281.1800.27.camel@...2530...> <201102070202.34248.gambas@...1...> <1297044915.1800.39.camel@...2530...> <1297074651.1800.62.camel@...2530...> Message-ID: On Mon, Feb 7, 2011 at 9:30 PM, John Spikowski wrote: > I didn't know you were already doing this. How much of your time does it > take to build a release with this setup? I have a script which runs in a couple of minutes including the upload. It is then compiled on the Ubuntu launchpad system and I get an e-mail if the compile fails. That process takes around an hour as it has to wait in a queue for a free server. This is a good system as I can test on systems and architectures I don't have. > I guess if your going to beta testing a new release, you should probably > build it on your own system to for validity and review of the changes. They are draft builds of the current svn and are totally unstable, I don't do any testing other than as a regular gambas user, the .debs are there purely for convenience to allow people to run the bleeding-edge code without getting bogged down in svn and dependencies, and also so gambas3 is ready for submission to Debian soon after it is officially released, Unfortunately I can't release gambas3 before Benoit does :-( Ian From demosthenesk at ...626... Mon Feb 7 13:57:37 2011 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Mon, 07 Feb 2011 14:57:37 +0200 Subject: [Gambas-user] Colorize crash In-Reply-To: <201102070016.22926.gambas@...1...> References: <1296578281.4010.3.camel@...2493...> <201102022226.30127.gambas@...1...> <1296720623.16231.10.camel@...2493...> <201102070016.22926.gambas@...1...> Message-ID: <1297083457.20725.2.camel@...2493...> hm... no with three continuous color selection i get the next error. Is this Gambas bug or Gdk one? ------- (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_alloc_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion `GDK_IS_COLORMAP (colormap)' failed (Project79:29617): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (Project79:29617): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed (Project79:29617): Gdk-CRITICAL **: gdk_colormap_get_visual: assertion `GDK_IS_COLORMAP (colormap)' failed ----------- On Mon, 2011-02-07 at 00:16 +0100, Beno?t Minisini wrote: > > Ok here is the finished project, > > http://www.mediafire.com/?m0np7r75is7ket3 > > > > this project demonstrate the Image class. > > (There are more questions about some issues for Image class later) > > > > The signal #11 is raised by Colorchooser in the next steps. > > > > 1) Click on label lblColor and choose a color from colorchooser. > > Close the form > > > > 2) Click again lblColor and choose a different color > > close the form > > > > signal #11 and messages on attached text > > > > Also attached the xdpyinfo.txt > > > > Is it better with the latest revision? > -- Regards, Demosthenes Koptsis. From demosthenesk at ...626... Mon Feb 7 14:01:03 2011 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Mon, 07 Feb 2011 15:01:03 +0200 Subject: [Gambas-user] Colorchooser crash In-Reply-To: <201102070016.22926.gambas@...1...> References: <1296578281.4010.3.camel@...2493...> <201102022226.30127.gambas@...1...> <1296720623.16231.10.camel@...2493...> <201102070016.22926.gambas@...1...> Message-ID: <1297083663.29781.1.camel@...2493...> note, this error comes up when i click many times on color area of colorchooser. so it is not colorize crash as subject said, so i changed the subject. On Mon, 2011-02-07 at 00:16 +0100, Beno?t Minisini wrote: > > Ok here is the finished project, > > http://www.mediafire.com/?m0np7r75is7ket3 > > > > this project demonstrate the Image class. > > (There are more questions about some issues for Image class later) > > > > The signal #11 is raised by Colorchooser in the next steps. > > > > 1) Click on label lblColor and choose a color from colorchooser. > > Close the form > > > > 2) Click again lblColor and choose a different color > > close the form > > > > signal #11 and messages on attached text > > > > Also attached the xdpyinfo.txt > > > > Is it better with the latest revision? > -- Regards, Demosthenes Koptsis. From gambas at ...1... Mon Feb 7 17:50:56 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 7 Feb 2011 17:50:56 +0100 Subject: [Gambas-user] Circular references In-Reply-To: <201102071040.p17AevxJ026233@...525...> References: <201102071040.p17AevxJ026233@...525...> Message-ID: <201102071750.56584.gambas@...1...> > Hello everybody, > > Sorry, I've added the wrong version. Here's the correct one. (The name has > changed, but never mind.) It is a command-line tool that is part of a > larger project, namely an editor for data related to additive sound > synthesis with the Aeolus organ emulator (see > www.kokkinizita.net/linuxaudio/aeolus), but this is not important now. The > program, when launched without command-line parameters, just prints a help > text and quits. But I get the message: > > WARNING: circular references detected > ParamDef (19) > > There are no references to objects of other classes in the ParamDef class. > The ParamDef object is a pure data structure made up of primitive > datatypes only. The static part of the class uses the object and refers to > the static Options class, but there is no reference back to ParamDef in > the code of the Options class. So I don't understand why I get this > message. > > I use Gambas 2.8, and I have this problem with nearly all of my projects. > I'm not quite sure whether circular references between static classes are > a problem and would justify a warning, but in this case there are not even > such static circular references. > > In any case, the messages should be suppressed outside the IDE. My > suggestion would be to suppress them by default and add a command-line > option to the Gambas runtime that makes it show them. The IDE could then > launch gbx2 with this option, and you would have the messages all right > for debugging but not when running an executable already installed on your > filesystem; they aren't of any use in this case either, for you can't do > anything about it once the executable is installed. > > Regards, Daniel > I won't suppress these messages, because they mean that there is a bug in the program, or a bug in Gambas. They just don't prevent the program from running. I just need to be able to reproduce the bug to fix it. So can I run the project you send without needing extra files? -- Beno?t Minisini From gambas at ...1... Mon Feb 7 17:53:25 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 7 Feb 2011 17:53:25 +0100 Subject: [Gambas-user] Colorchooser crash In-Reply-To: <1297083663.29781.1.camel@...2493...> References: <1296578281.4010.3.camel@...2493...> <201102070016.22926.gambas@...1...> <1297083663.29781.1.camel@...2493...> Message-ID: <201102071753.25776.gambas@...1...> > note, this error comes up when i click many times on color area of > colorchooser. so it is not colorize crash as subject said, so i changed > the subject. > Sorry, but if you are not more accurate, I can't help. You told to click on label lblColor, and I didn't found any label named lblColor in the project. Can you explain again what should be done precisely to reproduce these messages? -- Beno?t Minisini From steven at ...1652... Mon Feb 7 18:01:20 2011 From: steven at ...1652... (Steven revimmo) Date: Mon, 07 Feb 2011 18:01:20 +0100 Subject: [Gambas-user] exception 11 Message-ID: <1297098080.6133.128.camel@...40...> Hi, I'm doing this : PUBLIC SUB Close_Click() ' save the images and close DIM PicE AS Picture DIM PicM AS Picture DIM StrPicE, StrPicM AS String DIM resP AS Result PicE = DrawingArea1.Grab() PicE.Save("Z-energy.jpg") PicM = DrawingArea2.Grab() PicM.Save("Z-emission.jpg") ' and into the database resP = db.Edit("dpe", "id = &1", current_dpe) <- HERE resP["energy"] = File.Load("Z-energy.jpg") resP["emission"] = File.Load("Z-emission.jpg") resP.Update() ME.Close CATCH Message.Error("Update database record error
Error:
" & DConv(Error.Text)) END I'm using Gambas 2.22 (just downloaded, because i thought my old 2.8 was the cause). It gives me a 11 exception on the line marked. current_dpe = 51 (correct), the record exists. Any ideas ? Steven From gambas at ...1... Mon Feb 7 20:14:31 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 7 Feb 2011 20:14:31 +0100 Subject: [Gambas-user] Can't drag and drop/copy&paste folder to an other. In-Reply-To: References: Message-ID: <201102072014.31151.gambas@...1...> > Hi! > Drag and drop or copy&paste doesn't work in IDE project treeview. > Copied/moved folder just disappears from treeview. > Files aren't removed, restart IDE and they are back as before. > > Gambas 3 rev 3545 @ Ubuntu 10.10 64bit > > Jussi Please describe what you are doing exactly. It may not be a bug, bus a misunderstood if you are using a project that is under subversion control. Regards, -- Beno?t Minisini From gambas at ...1... Mon Feb 7 20:15:31 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 7 Feb 2011 20:15:31 +0100 Subject: [Gambas-user] A little perplexed... In-Reply-To: <4D4EC3D4.3050902@...981...> References: <4D4EC3D4.3050902@...981...> Message-ID: <201102072015.31747.gambas@...1...> > Trying to get the dev environment up and running on CentOS 5.5, no QT > installed. "./configure" reports that qt is disabled and successfully > completes. "make install" also successfully completes, gambas2 > isinstalled but, when invoked it reports that it is unable to locate the > gb.qt library. Now given that the qt component is disabled, why is this > error coming up? > The gambas2 IDE needs the gb.qt component. But not necessarily all other gambas program. So you can compile gambas without gb.qt, but then you can't run the IDE. Regards, -- Beno?t Minisini From gambas at ...1... Mon Feb 7 20:17:58 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 7 Feb 2011 20:17:58 +0100 Subject: [Gambas-user] exception 11 In-Reply-To: <1297098080.6133.128.camel@...40...> References: <1297098080.6133.128.camel@...40...> Message-ID: <201102072017.58362.gambas@...1...> > Hi, > > I'm doing this : > > PUBLIC SUB Close_Click() > ' save the images and close > DIM PicE AS Picture > DIM PicM AS Picture > DIM StrPicE, StrPicM AS String > DIM resP AS Result > > > PicE = DrawingArea1.Grab() > PicE.Save("Z-energy.jpg") > PicM = DrawingArea2.Grab() > PicM.Save("Z-emission.jpg") > ' and into the database > > resP = db.Edit("dpe", "id = &1", current_dpe) <- HERE > resP["energy"] = File.Load("Z-energy.jpg") > resP["emission"] = File.Load("Z-emission.jpg") > resP.Update() > > ME.Close > CATCH > Message.Error("Update database record error
Error:
" & > DConv(Error.Text)) > END > > > I'm using Gambas 2.22 (just downloaded, because i thought my old 2.8 was > the cause). > It gives me a 11 exception on the line marked. > current_dpe = 51 (correct), the record exists. > > > Any ideas ? > Steven > Please provide the project (and its database), and explain how to reproduce it exactly. Otherwise I can't fix it! Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Tue Feb 8 00:10:13 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 8 Feb 2011 01:10:13 +0200 Subject: [Gambas-user] Can't drag and drop/copy&paste folder to an other. In-Reply-To: <201102072014.31151.gambas@...1...> References: <201102072014.31151.gambas@...1...> Message-ID: Steps to reproduce the problem: 1. Open IDE. 2. Create new project. 3. Create new folder to Sources folder (default folder, the one created by IDE). Name created folder as "folder1". 4. Create another folder to Sources folder. Name it to "folder2". 5. Cut "folder1" and paste it to "folder2". Folder1 disappears! Expected; Folder1 is moved to folder2. No subversion involved. Jussi 2011/2/7 Beno?t Minisini > > Hi! > > Drag and drop or copy&paste doesn't work in IDE project treeview. > > Copied/moved folder just disappears from treeview. > > Files aren't removed, restart IDE and they are back as before. > > > > Gambas 3 rev 3545 @ Ubuntu 10.10 64bit > > > > Jussi > > Please describe what you are doing exactly. It may not be a bug, bus a > misunderstood if you are using a project that is under subversion control. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > The modern datacenter depends on network connectivity to access resources > and provide services. The best practices for maximizing a physical server's > connectivity to a physical network are well understood - see how these > rules translate into the virtual world? > http://p.sf.net/sfu/oracle-sfdevnlfb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Tue Feb 8 02:49:58 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Tue, 8 Feb 2011 02:49:58 +0100 Subject: [Gambas-user] How do you hide the mouse cursor in GTK? In-Reply-To: References: Message-ID: <201102080249.58485.gambas@...1...> > This works in Qt but not GTK: FMain.mouse = 10 > > I've played around with an invisible cursor theme and it worked, but > that won't allow me to easily switch between visible and invisible. > The bug has been fixed in revision #3548. ** BUT ** Beware that you must use the constants of the Mouse class, not numbers, to define a widget cursor. Because these values are not the same in Qt and in GTK+. Regards, -- Beno?t Minisini From gambas at ...1... Tue Feb 8 02:52:47 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Tue, 8 Feb 2011 02:52:47 +0100 Subject: [Gambas-user] Inconsistency with Border property. In-Reply-To: References: Message-ID: <201102080252.47697.gambas@...1...> > In IDE Border property has boolean options, however documentation and > functionality suggest otherwise. > > > PROPERTY Border AS Boolean > > Returns or sets the border type of the window. > > Use one of the following constants: > > * Window.None for a borderless window. > * Window.Fixed for a window with a fixed size. > * Window.Resizable for a resizable window. > > > Gambas 3 rev 3545 @ Ubuntu 10.10 64bit > > Jussi Fixed. -- Beno?t Minisini From steven at ...1652... Tue Feb 8 08:19:05 2011 From: steven at ...1652... (Steven revimmo) Date: Tue, 08 Feb 2011 08:19:05 +0100 Subject: [Gambas-user] exception 11 In-Reply-To: <201102072017.58362.gambas@...1...> References: <1297098080.6133.128.camel@...40...> <201102072017.58362.gambas@...1...> Message-ID: <1297149545.3373.13.camel@...40...> Le lundi 07 f?vrier 2011 ? 20:17 +0100, Beno?t Minisini a ?crit : > > Hi, > > > > I'm doing this : > > > > PUBLIC SUB Close_Click() > > ' save the images and close > > DIM PicE AS Picture > > DIM PicM AS Picture > > DIM StrPicE, StrPicM AS String > > DIM resP AS Result > > > > > > PicE = DrawingArea1.Grab() > > PicE.Save("Z-energy.jpg") > > PicM = DrawingArea2.Grab() > > PicM.Save("Z-emission.jpg") > > ' and into the database > > > > resP = db.Edit("dpe", "id = &1", current_dpe) <- HERE > > resP["energy"] = File.Load("Z-energy.jpg") > > resP["emission"] = File.Load("Z-emission.jpg") > > resP.Update() > > > > ME.Close > > CATCH > > Message.Error("Update database record error
Error:
" & > > DConv(Error.Text)) > > END > > > > > > I'm using Gambas 2.22 (just downloaded, because i thought my old 2.8 was > > the cause). > > It gives me a 11 exception on the line marked. > > current_dpe = 51 (correct), the record exists. > > > > > > Any ideas ? > > Steven > > > > Please provide the project (and its database), and explain how to reproduce it > exactly. Otherwise I can't fix it! > > Regards, Hi Beno?t, I do not know how to send you all that data. The whole project is about 20 000 lines of code and the database is 2 gig's. So, i try and give you the elements I can: 1. The database, here is the structure : -- phpMyAdmin SQL Dump -- version 2.11.8.1deb5+lenny7 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Feb 08, 2011 at 08:10 AM -- Server version: 5.0.51 -- PHP Version: 5.2.6-1+lenny9 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; -- -- Database: 'revimmo' -- -- -------------------------------------------------------- -- -- Table structure for table 'Accounts_p' -- CREATE TABLE Accounts_p ( `No` int(11) NOT NULL auto_increment, Name_ref int(11) NOT NULL default '0', Amount_TTC decimal(16,2) NOT NULL default '0.00', Date_F date default NULL, Due date NOT NULL default '0000-00-00', BookedInv tinyint(4) default NULL, ref_supplier varchar(50) default NULL, Description varchar(200) default NULL, PRIMARY KEY (`No`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table 'Accounts_pay' -- CREATE TABLE Accounts_pay ( Id int(11) NOT NULL auto_increment, Invoice int(11) NOT NULL default '0', Due date default NULL, Done date default NULL, Amount decimal(50,2) NOT NULL default '0.00', No_Ch int(11) default NULL, `Type` varchar(50) default NULL, Bookedpay tinyint(4) default NULL, Observation varchar(50) default NULL, PRIMARY KEY (Id), UNIQUE KEY Id (Id) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table 'Accounts_places' -- CREATE TABLE Accounts_places ( Id int(11) NOT NULL auto_increment, Agency int(11) NOT NULL default '0', Invoice int(11) NOT NULL default '0', Pcent decimal(5,2) NOT NULL default '0.00', PRIMARY KEY (Id) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table 'Accounts_supp' -- CREATE TABLE Accounts_supp ( `No` int(11) NOT NULL auto_increment, `Name` varchar(200) NOT NULL default '', Bank varchar(200) default NULL, Account varchar(50) default NULL, Adress_1 varchar(50) default NULL, Adress_2 varchar(50) default NULL, Adress_3 varchar(50) default NULL, Postcode varchar(50) NOT NULL default '', City varchar(50) NOT NULL default '', Country varchar(50) NOT NULL default '', Ref_client varchar(50) NOT NULL default '', Tel varchar(50) default NULL, Fax varchar(50) default NULL, Port varchar(50) default NULL, Histoire blob, Contact varchar(100) default NULL, PRIMARY KEY (`No`), UNIQUE KEY `No` (`No`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table 'Actes' -- CREATE TABLE Actes ( `No` int(11) NOT NULL auto_increment, Titre varchar(50) NOT NULL default '', Vente int(11) default NULL, Notaire int(11) default NULL, Honoraires decimal(7,2) NOT NULL default '0.00', Observation blob, `Date` date default NULL, Whom varchar(100) default NULL, DateCre date default NULL, PRIMARY KEY (`No`), UNIQUE KEY `No` (`No`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table 'agences' -- CREATE TABLE agences ( `no` int(11) NOT NULL auto_increment, nom varchar(50) default NULL, rue varchar(200) default NULL, plz varchar(6) default NULL, ville varchar(50) default NULL, directeur int(11) NOT NULL default '0', chef_secteur int(11) default NULL, tel varchar(20) default NULL, fax varchar(20) default NULL, tcpip varchar(20) default NULL, villes text, photo longblob, repertoire varchar(20) default NULL, site_marie varchar(100) default NULL, actif char(1) default NULL, photo_ville longblob, textecom text, Seid varchar(12) default NULL, Semdp varchar(12) default NULL, Senum int(11) default NULL, `group` int(11) default NULL, filiale int(11) default '0', PRIMARY KEY (`no`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table 'agents' -- CREATE TABLE agents ( id int(11) NOT NULL auto_increment, chef int(11) default NULL, actif tinyint(1) default NULL, agent varchar(30) default NULL COMMENT 'Nom', agentpass varchar(10) default NULL, filiale int(11) default NULL, `group` int(11) default NULL, agenturl varchar(70) default NULL COMMENT 'Famillie', agentemail varchar(70) default NULL COMMENT 'E-Mail', notes text, agentphone varchar(30) default NULL COMMENT 'Telephone', agentcell varchar(30) default NULL COMMENT 'Potable', agentfax varchar(30) default NULL, agentstreet varchar(150) default NULL, agentpcode varchar(8) default NULL, agenttown varchar(50) default NULL, `last` datetime default NULL, comman double NOT NULL default '0', comven double NOT NULL default '0', comca double default NULL, comcs double default NULL, comgen double default NULL, datede datetime default NULL, datea datetime default NULL, daten datetime default NULL, photo longblob, inclure int(11) default NULL, formation text, othernom varchar(100) default NULL, NSLeft int(10) unsigned default '0', NSRight int(10) unsigned default '0', NSLevel int(10) unsigned default '0', NSOrder int(10) unsigned default '1', NSDiffer tinytext, NSIgnore int(10) unsigned default '0', PRIMARY KEY (id) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table 'agent_tbl_Files' -- CREATE TABLE agent_tbl_Files ( id_files int(11) NOT NULL auto_increment, bin_data longblob NOT NULL, description tinytext, filename varchar(50) default NULL, filesize varchar(50) default NULL, filetype varchar(50) default NULL, agentnum int(11) default NULL, owner int(11) default NULL, PRIMARY KEY (id_files) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table 'annoncepages' -- CREATE TABLE annoncepages ( id int(11) NOT NULL auto_increment, agence int(11) NOT NULL, nom varchar(50) NOT NULL, mandats blob NOT NULL, `type` varchar(20) NOT NULL, fois int(11) default '1', pages int(11) default '1', PRIMARY KEY (id) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Table structure for table 'Annonces' -- CREATE TABLE Annonces ( Id int(11) NOT NULL auto_increment, Id_journal int(11) NOT NULL default '0', Done tinyint(4) NOT NULL default '0', Mandat varchar(6) default NULL, Id_home int(11) default NULL, `Type` varchar(10) NOT NULL default '', Ville varchar(100) default NULL, `Text` blob NOT NULL, PhotoID_G int(11) default NULL, PhotoID_P int(11) default NULL, Prix decimal(20,2) default NULL, PRIMARY KEY (Id), UNIQUE KEY Id (Id) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table 'annonces_sites' -- CREATE TABLE annonces_sites ( id int(11) NOT NULL auto_increment, mandat varchar(5) NOT NULL, site varchar(20) NOT NULL, date_start date NOT NULL, date_end date default NULL, nego_start int(11) NOT NULL, nego_end int(11) default NULL, vues tinyint(4) default '0', contacts tinyint(4) NOT NULL default '0', res varchar(10) NOT NULL, PRIMARY KEY (id), KEY mandat (mandat) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Table structure for table 'ann_pre_age' -- CREATE TABLE ann_pre_age ( `No` int(11) NOT NULL auto_increment, Presse int(11) NOT NULL default '0', Agence int(11) NOT NULL default '0', PA int(11) default NULL, Petit int(11) default NULL, Grande int(11) default NULL, Loyer int(11) default NULL, Special int(11) default NULL, PRIMARY KEY (`No`), KEY Presse (Presse), KEY Agence (Agence) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table 'Apparition' -- CREATE TABLE Apparition ( Id int(11) NOT NULL auto_increment, Presse int(11) NOT NULL default '0', Seq_No int(11) NOT NULL default '0', Datum date NOT NULL default '0000-00-00', PRIMARY KEY (Id), UNIQUE KEY Id (Id) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table 'Bail' -- CREATE TABLE Bail ( `No` int(11) NOT NULL auto_increment, Bailleur int(11) NOT NULL default '0', Locataire int(11) NOT NULL default '0', Destination tinyint(4) default NULL, Profession varchar(50) default NULL, Duree int(11) NOT NULL default '0', Debut date NOT NULL default '0000-00-00', Fin date default NULL, Derog varchar(50) default NULL, Agent int(11) default NULL, Caution int(11) default NULL, Loyer decimal(50,2) NOT NULL default '0.00', Payable tinyint(4) default NULL, Payqua tinyint(4) default NULL, Revision varchar(10) default NULL, DernierC int(11) default NULL, DernierValeur decimal(20,10) default NULL, Charges decimal(50,2) default NULL, Garantie decimal(50,2) default NULL, GarantieOu tinyint(4) default NULL, ZoneBruit varchar(10) default NULL, Condit blob, Signee date default NULL, Unite int(11) NOT NULL default '0', Honoraires decimal(50,2) default NULL, Caution_M decimal(50,2) default NULL, Preavis date default NULL, Preavisfin date default NULL, Statut varchar(20) default 'En cours', Mandat varchar(6) default NULL, `Type` varchar(12) NOT NULL default '3-6-9', Histoire blob, PRIMARY KEY (`No`), UNIQUE KEY `No` (`No`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table 'cadastre' -- CREATE TABLE cadastre ( id int(11) NOT NULL auto_increment, Mandat varchar(6) NOT NULL, Section varchar(2) NOT NULL, Prefixe varchar(3) NOT NULL default '000', Feuille varchar(6) NOT NULL, Image mediumblob NOT NULL, `Type` varchar(3) NOT NULL default 'PDF', PRIMARY KEY (id) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table 'Clients' -- CREATE TABLE Clients ( `No` int(11) NOT NULL auto_increment, Nom varchar(50) NOT NULL, Prenom varchar(30) default NULL, Adresse varchar(100) NOT NULL default '', Code_Postal varchar(10) NOT NULL default '', Ville varchar(50) NOT NULL, Pays varchar(50) default NULL, Telephone varchar(20) default NULL, Fax varchar(20) default NULL, Portable varchar(20) default NULL, Travail varchar(20) default NULL, Email varchar(50) default NULL, Observations blob, `Type` varchar(12) default NULL, Dernier_contact datetime default NULL, Statut varchar(15) default NULL, `Action` varchar(200) default NULL, Ne date default NULL, NeOu varchar(100) default NULL, Metier varchar(50) default NULL, TypeLiaison varchar(50) default NULL, Spouse int(11) default NULL, Mariage date default NULL, MariageOU varchar(50) default NULL, Conditions varchar(20) default NULL, Noce tinyint(4) default NULL, Liaison varchar(50) default NULL, Quote smallint(6) default NULL, Conddesc varchar(100) default NULL, nego int(11) NOT NULL default '0', PRIMARY KEY (`No`), KEY Nom (Nom) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table 'Clients_Pot' -- CREATE TABLE Clients_Pot ( `No` int(11) NOT NULL auto_increment, Nom varchar(40) character set latin1 NOT NULL, Prenom varchar(30) character set latin1 default NULL, Adresse varchar(100) character set latin1 default NULL, Code_Postal varchar(10) character set latin1 default NULL, Ville varchar(30) character set latin1 default NULL, Pays varchar(50) character set latin1 default NULL, Telephone varchar(20) default NULL, Fax varchar(20) character set latin1 default NULL, Portable varchar(20) character set latin1 default NULL, Travail varchar(20) character set latin1 default NULL, Email varchar(50) character set latin1 default NULL, Observations blob, Type_Cherche varchar(30) character set latin1 default NULL COMMENT 'Cherche ?', Prix_max varchar(15) character set latin1 default NULL COMMENT 'Prix max.', Prix_min varchar(15) character set latin1 default NULL, Financement decimal(50,2) default NULL, sim char(3) character set latin1 default NULL, tio varchar(50) character set latin1 default NULL, Villes blob, Avancement mediumblob, Detail_terrain blob, Dernier_contact date default NULL, Statut varchar(15) character set latin1 default NULL, `Action` varchar(20) character set latin1 default NULL, Loc_Ach char(3) character set latin1 default NULL, surf_maison int(11) default NULL, surf_tarrain int(11) default NULL, nego int(11) default NULL, nego_dat date default NULL, etat varchar(15) character set latin1 default NULL, EtatO tinyint(4) default NULL, crit tinyint(4) NOT NULL default '0', Aspect varchar(15) character set latin1 default NULL, chambres smallint(6) default NULL, A1 tinyint(4) default NULL, A2 tinyint(4) default NULL, A3 tinyint(4) default NULL, A4 tinyint(4) default NULL, PasLot tinyint(4) default NULL, PasCol tinyint(4) default NULL, PasPre tinyint(4) default NULL, PasHor tinyint(4) default NULL, G1 tinyint(4) default NULL, G2 tinyint(4) default NULL, G3 tinyint(4) default NULL, G4 tinyint(4) default NULL, G5 tinyint(4) default NULL, Rauto varchar(20) character set latin1 default NULL, Rinfo tinyint(4) default NULL, DContact date default NULL, DText varchar(20) character set latin1 default NULL, Ville_S varchar(50) character set latin1 default NULL, mysqlwhere blob, PRIMARY KEY (`No`), KEY Nom (Nom) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Table structure for table 'Clients_Pot_log' -- CREATE TABLE Clients_Pot_log ( Id int(11) NOT NULL auto_increment, `Client` int(11) NOT NULL default '0', Dat date NOT NULL default '0000-00-00', `Type` char(15) default NULL, Mandat char(6) default NULL, res char(50) default NULL, PRIMARY KEY (Id) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table 'Departements' -- CREATE TABLE Departements ( `No` int(11) NOT NULL auto_increment, Nom varchar(50) NOT NULL, Nom_No varchar(60) NOT NULL, Num varchar(4) NOT NULL, Logo blob, coords varchar(200) default NULL COMMENT 'carte 1400x1000', pointx float default NULL, pointy float default NULL, PRIMARY KEY (`No`), KEY Nom (Nom) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Table structure for table 'Departements_old' -- CREATE TABLE Departements_old ( `No` int(11) NOT NULL auto_increment, Nom varchar(50) NOT NULL default '', Nom_No varchar(60) NOT NULL default '', Num varchar(4) NOT NULL default '', Logo blob, PRIMARY KEY (`No`), UNIQUE KEY `No` (`No`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table 'Documents' -- CREATE TABLE Documents ( id int(11) NOT NULL auto_increment, `subject` varchar(30) NOT NULL default 'terrain', `type` varchar(30) NOT NULL, document varchar(50) default NULL, self longblob, reserve varchar(200) default NULL, PRIMARY KEY (id) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='controle des documents'; -- -------------------------------------------------------- -- -- Table structure for table 'dpe' -- CREATE TABLE dpe ( id int(11) NOT NULL auto_increment, id_homes int(11) NOT NULL, `Date` date NOT NULL, fin_ch int(11) NOT NULL, fin_ea int(11) NOT NULL, fin_re int(11) NOT NULL, pri_ch int(11) NOT NULL, pri_ea int(11) NOT NULL, pri_re int(11) NOT NULL, fra_ch int(11) NOT NULL, fra_ea int(11) NOT NULL, fra_re int(11) NOT NULL, con_m2 int(11) NOT NULL, emm_m2 int(11) NOT NULL, sur_ch varchar(20) NOT NULL, sur_sol_ch varchar(20) NOT NULL, sur_pla_ch varchar(20) NOT NULL, sur_mur varchar(20) NOT NULL, sur_fen varchar(20) NOT NULL, nom_ni varchar(20) NOT NULL, typ_plan varchar(20) NOT NULL, typ_plaf varchar(20) NOT NULL, typ_mur varchar(20) NOT NULL, typ_fen varchar(20) NOT NULL, indep varchar(20) NOT NULL, is_plan varchar(20) NOT NULL, is_plaf varchar(20) NOT NULL, is_mur varchar(20) NOT NULL, doubl_v varchar(20) NOT NULL, observations longtext NOT NULL, energy mediumblob NOT NULL COMMENT 'image of energy consumption', emission mediumblob NOT NULL COMMENT 'image of co2 emission', PRIMARY KEY (id) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='les dpe das maisons'; -- -------------------------------------------------------- -- -- Table structure for table 'ecoles_etc' -- CREATE TABLE ecoles_etc ( id int(11) NOT NULL auto_increment, `type` varchar(20) collate latin1_general_cs default NULL, ville int(11) default NULL, `client` int(11) default NULL, adresse varchar(200) collate latin1_general_cs default NULL, tel varchar(15) collate latin1_general_cs default NULL, fax varchar(15) collate latin1_general_cs default NULL, nom varchar(200) collate latin1_general_cs default NULL, observations blob, email varchar(50) collate latin1_general_cs default NULL, PRIMARY KEY (id) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_cs PACK_KEYS=1; -- -------------------------------------------------------- -- -- Table structure for table 'Facture' -- CREATE TABLE Facture ( `No` int(11) NOT NULL auto_increment, `Date` date NOT NULL default '0000-00-00', Acte int(11) NOT NULL default '0', De int(11) NOT NULL default '0', Sequestre int(11) NOT NULL default '0', Envoi varchar(50) NOT NULL default '', Date_e date NOT NULL default '0000-00-00', PRIMARY KEY (`No`), UNIQUE KEY `No` (`No`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table 'fm' -- CREATE TABLE fm ( fm longblob ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table 'General' -- CREATE TABLE General ( Id int(11) NOT NULL auto_increment, nom varchar(20) default NULL, Menu_text varchar(150) default NULL, photo longblob, nomof varchar(200) default NULL, caisse varchar(200) default NULL, rue varchar(200) default NULL, plz varchar(10) default NULL, ville varchar(100) default NULL, numgar varchar(20) default NULL, mongar float(15,2) default NULL, Bnom varchar(100) default NULL, Bcoma varchar(20) default NULL, Bcoms varchar(20) default NULL, iban varchar(100) default NULL, Cnom varchar(200) default NULL, Cnum varchar(20) default NULL, Cinsee varchar(20) default NULL, Pnom varchar(100) default NULL, Pnum varchar(20) default NULL, Pdate varchar(10) default NULL, annon_logic tinyint(4) default NULL, `Int2` tinyint(4) default NULL, `Int3` tinyint(4) default NULL, slogan varchar(250) character set utf8 default NULL, Pre_Mandats varchar(10) character set utf8 NOT NULL, Territoire varchar(100) character set utf8 default NULL, No_intern int(11) default NULL, Groupe varchar(100) character set utf8 default NULL, www varchar(250) character set utf8 default NULL, PRIMARY KEY (Id) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table 'Gestion_Client' -- CREATE TABLE Gestion_Client ( `No` int(11) NOT NULL auto_increment, Nom varchar(100) NOT NULL default '', Prenom varchar(150) default NULL, Adresse varchar(100) NOT NULL default '', Code_Postal varchar(10) NOT NULL default '', Ville varchar(100) NOT NULL default '', Pays varchar(50) default NULL, Telephone varchar(50) default NULL, Fax varchar(50) default NULL, Portable varchar(50) default NULL, Travail varchar(50) default NULL, Email varchar(50) default NULL, Observations blob, `Type` varchar(10) NOT NULL default '', Dernier_contact datetime default NULL, Statut varchar(15) default NULL, `Action` varchar(200) default NULL, Ne date default NULL, NeOu varchar(100) default NULL, Metier varchar(50) default NULL, TypeLiaison varchar(50) default NULL, Spouse int(11) default NULL, Mariage date default NULL, MariageOU varchar(50) default NULL, Conditions varchar(20) default NULL, Noce tinyint(4) default NULL, Liaison varchar(50) default NULL, Quote smallint(6) default NULL, Conddesc varchar(100) default NULL, PRIMARY KEY (`No`), UNIQUE KEY `No` (`No`), KEY Nom (Nom) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table 'Gestion_IRL' -- CREATE TABLE Gestion_IRL ( Annee char(4) NOT NULL default '', Trimestre tinyint(4) NOT NULL default '0', Indice float(50,4) NOT NULL default '0.0000', Parution date NOT NULL default '0000-00-00', `No` int(11) NOT NULL auto_increment, PRIMARY KEY (`No`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table 'Gestion_Mandat' -- CREATE TABLE Gestion_Mandat ( `No` int(11) NOT NULL auto_increment, NoMandat int(11) NOT NULL default '0', Bailleur int(11) NOT NULL default '0', Unite int(11) NOT NULL default '0', Honoraire float(5,2) NOT NULL default '0.00', Assurence float(5,2) default NULL, Diverse decimal(50,2) default NULL, DiRaison char(50) default NULL, AssuPer smallint(6) default NULL, Debut date default NULL, Statut char(20) NOT NULL default '', PRIMARY KEY (`No`), UNIQUE KEY `No` (`No`), UNIQUE KEY NoMandat (NoMandat), KEY NoMandat_2 (NoMandat) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table 'Gestion_Unite' -- CREATE TABLE Gestion_Unite ( `No` int(11) NOT NULL auto_increment, Bailleur int(11) NOT NULL default '0', Bail int(11) default NULL, Bien varchar(6) default NULL, Lot_no int(11) default NULL, tantiemes int(11) default NULL, Co_chauf tinyint(4) default NULL, Co_fioul tinyint(4) default NULL, Co_gaz tinyint(4) default NULL, Co_elec tinyint(4) default NULL, Co_aire tinyint(4) default NULL, Co_cir tinyint(4) default NULL, Co_jeux tinyint(4) default NULL, Co_verts tinyint(4) default NULL, Co_asc tinyint(4) default NULL, Co_inter tinyint(4) default NULL, Co_ant tinyint(4) default NULL, Co_porte tinyint(4) default NULL, Garage int(11) default NULL, Cave int(11) default NULL, Grenier int(11) default NULL, Destination varchar(20) NOT NULL default '', Batiment varchar(10) default NULL, Etage smallint(6) default NULL, Porte smallint(6) default NULL, Designation blob, `Type` varchar(10) NOT NULL default '', Surface int(11) default NULL, Loyer decimal(10,2) NOT NULL default '0.00', Charges decimal(10,2) NOT NULL default '0.00', Caution decimal(10,2) NOT NULL default '0.00', Statut varchar(10) NOT NULL default '', PRIMARY KEY (`No`), UNIQUE KEY `No` (`No`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table 'groupe' -- CREATE TABLE groupe ( id int(11) NOT NULL auto_increment, Nom varchar(100) NOT NULL, Logo mediumblob NOT NULL, LogoNom varchar(20) NOT NULL, Motto varchar(200) NOT NULL, PRIMARY KEY (id), UNIQUE KEY LogoNom (LogoNom) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Table structure for table 'homes' -- CREATE TABLE homes ( id int(11) NOT NULL auto_increment, title varchar(20) default NULL COMMENT 'Mandat', address varchar(250) default NULL COMMENT 'Adresse', city varchar(100) default NULL COMMENT 'Ville', state varchar(20) default NULL COMMENT 'Dist. ville', zip varchar(20) default NULL COMMENT 'P. Code', price decimal(11,2) default NULL COMMENT 'Tax hab.', previewdesc blob COMMENT 'Description', fulldesc blob COMMENT 'Details', `type` varchar(25) default NULL COMMENT 'Type', imageloc varchar(50) default NULL COMMENT 'Orentation', beds int(11) default NULL COMMENT 'Chambres', baths smallint(6) default NULL COMMENT 'Salles de B.', `status` varchar(10) default NULL COMMENT 'Taille piscine', featured char(1) default NULL, mls varchar(20) default NULL COMMENT 'Standing', dateposted date default NULL, neighborhood varchar(50) default NULL COMMENT 'Etat gen.', agent varchar(30) default NULL COMMENT 'Nego', agenturl varchar(30) default NULL COMMENT 'Type Terrain', air char(1) default NULL COMMENT 'Solair', alrm char(1) default NULL COMMENT 'Tout a l''egout', bcny char(1) default NULL COMMENT 'Balcon', cbl char(1) default NULL COMMENT 'Fosse septique', crp char(1) default NULL COMMENT 'Piscine', dw char(1) default NULL COMMENT 'Ch. central', dsp char(1) default NULL COMMENT 'Cuisine eq.', fire char(1) default NULL COMMENT 'Cheminee', gas char(1) default NULL COMMENT 'Carrelage', gas2 char(1) default NULL COMMENT 'Gas/Fioul', hdwd char(1) default NULL COMMENT 'Garage', mw char(1) default NULL COMMENT 'Veranda', onw char(1) default NULL COMMENT 'Cave', pto char(1) default NULL COMMENT 'Terrasse', wadr char(1) default NULL COMMENT 'Dispo', wc char(1) default NULL COMMENT 'Alarme', fee char(1) default NULL COMMENT 'Ext. ok', bp char(1) default NULL COMMENT 'En campagne', boat char(1) default NULL COMMENT 'Agglomeration', clb char(1) default NULL COMMENT 'Ext. a renover', gtd char(1) default NULL COMMENT 'Ext. possible', crt char(1) default NULL COMMENT 'E.D.F.', fit char(1) default NULL COMMENT 'Cloture', ong char(1) default NULL COMMENT 'Abri voiture', pw char(1) default NULL COMMENT 'Periferie Vil.', pool char(1) default NULL, pt char(1) default NULL COMMENT 'Vieille batisse', spa char(1) default NULL COMMENT 'Lotissement', spo char(1) default NULL COMMENT 'Eau de ville', tns char(1) default NULL COMMENT 'Forage', notes blob COMMENT 'Annonce', agentemail varchar(30) default NULL COMMENT 'Regime fiscal', owner int(11) default NULL COMMENT 'Proprietaire', numfloors varchar(30) default NULL COMMENT 'Niveaux', yearbuilt int(11) default NULL COMMENT 'Annee cons.', sqfeet int(11) default NULL COMMENT 'Surf. Habit.', lotsize varchar(30) default NULL COMMENT 'Surf. Terrain', garagesize varchar(30) default NULL COMMENT 'Surf. Salon', proptax decimal(11,2) default NULL COMMENT 'Tax fonciere', country varchar(30) default NULL COMMENT 'Aspect Ext.', interne blob COMMENT 'Interne', tmp tinyint(4) default '0', tel1 tinyint(4) default '0', tel2 tinyint(4) default '0' COMMENT 'WC''s', tel3 tinyint(4) default '0' COMMENT 'Telephone', tel4 tinyint(4) default '0' COMMENT 'ADSL', tel5 tinyint(4) default '0' COMMENT 'Portable ok', plu varchar(10) default NULL COMMENT 'POS/PLU', shon int(11) default NULL COMMENT 'Shon dispo', shob int(11) default NULL COMMENT 'Shob dispo', cos float(5,3) default NULL COMMENT 'Cos facteur', cadastre varchar(200) default NULL COMMENT 'No''s Cadastre', vega varchar(30) default NULL COMMENT 'Vegetation', Lat double default '0', Lon double default '0', last_update_h timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, PRIMARY KEY (id), KEY title (title) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table 'Jobs' -- CREATE TABLE Jobs ( Id int(11) NOT NULL auto_increment, Nego int(11) NOT NULL default '0', `Start` date NOT NULL default '0000-00-00', `End` date default NULL, Titre char(50) NOT NULL default '', comman decimal(5,2) default NULL, comven decimal(5,2) default NULL, comca decimal(5,2) default NULL, comcs decimal(5,2) NOT NULL default '0.00', comgen decimal(5,2) default NULL, rules int(11) default NULL, TimePour tinyint(4) default NULL, Filiale int(11) default NULL, comcas float NOT NULL default '1' COMMENT 'Comm si splitt between M et V ca', PRIMARY KEY (Id) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table 'Locations' -- CREATE TABLE Locations ( `No` int(11) NOT NULL auto_increment, Code_Mandat varchar(6) NOT NULL default '', `Type` varchar(20) NOT NULL default '', Bail date NOT NULL default '0000-00-00', Debut date NOT NULL default '0000-00-00', Locataire int(11) NOT NULL default '0', Prix_loyee decimal(50,2) NOT NULL default '0.00', Comm_Agence decimal(50,2) NOT NULL default '0.00', Raison varchar(200) default NULL, Betaald date default NULL, Etat date default NULL, Commercial int(11) NOT NULL default '0', Statut varchar(30) default NULL, Interne blob, PRIMARY KEY (`No`), UNIQUE KEY `No` (`No`), KEY Code_Mandat (Code_Mandat) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table 'Mandats' -- CREATE TABLE Mandats ( `No` int(11) NOT NULL auto_increment, `Code` varchar(6) NOT NULL COMMENT 'Mandat', NoMls varchar(50) default NULL, `Type` varchar(12) NOT NULL COMMENT 'Type', `Date` date NOT NULL default '0000-00-00' COMMENT 'Depart', Fin date default NULL COMMENT 'Fin', Arreter date default NULL COMMENT 'Date mandat arret?', Periode smallint(6) default NULL COMMENT 'Periode', Prix_net decimal(50,2) NOT NULL default '0.00' COMMENT 'Prix net', Comm_TTC decimal(50,2) default NULL COMMENT 'Honoraires', Prix_vendue decimal(50,2) default NULL COMMENT 'Prix net vendue', Comm_Vendue decimal(50,2) default NULL COMMENT 'Honoraires vendue', Raison varchar(250) default NULL COMMENT 'Visite ?', Agence varchar(50) default NULL, Notaire int(11) default NULL COMMENT 'Notaire (Clients.No-Clients.Nom)', Proprio int(11) NOT NULL default '0' COMMENT 'Proprietaire (Clients.No-Clients.Nom)', Commercial int(11) NOT NULL default '0' COMMENT 'Nego (agents.id-agents.agent)', Statut varchar(12) NOT NULL COMMENT 'Etat', Prix_estimee decimal(33,0) default NULL COMMENT 'Prix estimee', Visite blob COMMENT 'Observations', ComFacteur decimal(5,2) NOT NULL default '0.00', Dis_compromis blob, Auqui_compromis blob, Servitudes blob COMMENT 'Servitudes', Doc_AA tinyint(1) default NULL COMMENT 'A.A. en dossier', Doc_Plans tinyint(1) default NULL COMMENT 'Plans au dossier', Doc_Copro tinyint(1) default NULL COMMENT 'Copro en dossier', Doc_Ident tinyint(1) default NULL COMMENT 'P. d''id en dossier', Doc_Arch date default NULL COMMENT 'Date d''acrch?vement des traveaux', Doc_PDate date default NULL COMMENT 'Date permis', Doc_CConf date default NULL COMMENT 'Date conformation', Doc_Apart tinyint(1) default NULL COMMENT 'Arpatage en dossier', Doc_Taxh tinyint(1) default NULL COMMENT 'Tax habit. en dossier', Doc_Thab tinyint(1) default NULL COMMENT 'Tax fonc. en dossier', Doc_Cadastre tinyint(1) default NULL COMMENT 'Cadastre en dossier', Doc_Amiante date default NULL COMMENT 'Amiante en dossier', Doc_Plomb date default NULL COMMENT 'Plomb en dossier', Doc_Termites date default NULL COMMENT 'Termites en dossier', Doc_Gaz date default NULL COMMENT 'Gaz en dossier', Doc_Analyse tinyint(1) default NULL COMMENT 'Electricit? en dossier', Doc_Dpe tinyint(1) default NULL, Dpe_resultat smallint(2) default NULL, Doc_Carez tinyint(1) default NULL COMMENT 'Loi Carez en dossier', Doc_Bail tinyint(1) default NULL COMMENT 'Bail de location dans l''agence', Ia_Amiante tinyint(1) default NULL COMMENT 'il y a d''amiante', Ia_Plomb tinyint(1) default NULL COMMENT 'il y a du plomb', Ia_Termites tinyint(1) default NULL COMMENT 'il y a des termites', Ia_Gaz tinyint(1) default NULL COMMENT 'Gaz pas bon', Ia_Analyse tinyint(1) default NULL COMMENT 'Electricit? pas bon', Date_Ave date default NULL COMMENT 'Date avenant', Text_Ave varchar(100) default NULL COMMENT 'Text avenant', last_update_m timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, PRIMARY KEY (`No`), UNIQUE KEY `Code` (`Code`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table 'Mandats_history' -- CREATE TABLE Mandats_history ( id int(11) NOT NULL auto_increment, Code_Mandat varchar(6) NOT NULL, quand date NOT NULL, descriptif varchar(200) NOT NULL, qui varchar(200) default NULL, result varchar(200) default NULL, afaire varchar(200) default NULL, `source` varchar(20) NOT NULL, res1 int(11) default NULL, res2 varchar(20) default NULL, PRIMARY KEY (id), KEY Code_Mandat (Code_Mandat) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='histoire des actions pour mandats'; -- -------------------------------------------------------- -- -- Table structure for table 'MTranslate' -- CREATE TABLE MTranslate ( id int(11) NOT NULL auto_increment, FieldName varchar(20) default NULL, FieldVal varchar(300) default NULL, Replacement varchar(300) default NULL, PRIMARY KEY (id), KEY FieldName (FieldName,FieldVal) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Auto translate system for forms text'; -- -------------------------------------------------------- -- -- Table structure for table 'M_avenants' -- CREATE TABLE M_avenants ( id int(11) NOT NULL, `Date` date NOT NULL COMMENT 'Date avenant', `Code` varchar(10) NOT NULL COMMENT 'Code mandat', Description varchar(200) NOT NULL COMMENT 'Descriptif', Prix decimal(10,2) default NULL COMMENT 'Nouveau prix', PRIMARY KEY (id) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Tous les avenants de tous les mandats'; -- -------------------------------------------------------- -- -- Table structure for table 'Photos' -- CREATE TABLE Photos ( id int(11) NOT NULL auto_increment, id_files int(11) default NULL, prop_num int(11) NOT NULL default '0', description varchar(50) default NULL, thumb longblob, www longblob, sequence int(11) NOT NULL default '0', file_name varchar(100) default NULL, sel_g int(11) NOT NULL default '0', sel_p int(11) NOT NULL default '0', PRIMARY KEY (id), KEY prop_num (prop_num) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table 'presse' -- CREATE TABLE presse ( Id int(11) NOT NULL auto_increment, Nom varchar(50) NOT NULL default '', Groupe varchar(50) NOT NULL default '', Resp varchar(100) NOT NULL default '', Phone varchar(50) NOT NULL default '', Email varchar(100) NOT NULL default '', Prix decimal(8,0) NOT NULL default '0', SeqNo smallint(6) default NULL, Nom_G smallint(6) NOT NULL default '0', Nom_P smallint(6) NOT NULL default '0', Nom_PA smallint(6) NOT NULL default '0', PRIMARY KEY (Id), UNIQUE KEY Id (Id) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table 'Recu' -- CREATE TABLE Recu ( `No` int(11) NOT NULL auto_increment, `Date` date NOT NULL default '0000-00-00', Acte int(11) NOT NULL default '0', De int(11) NOT NULL default '0', Sequestre int(11) NOT NULL default '0', Envoi varchar(50) NOT NULL default '', Date_e date NOT NULL default '0000-00-00', PRIMARY KEY (`No`), UNIQUE KEY `No` (`No`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table 'Relation' -- CREATE TABLE Relation ( id int(11) NOT NULL auto_increment, pourcent tinyint(4) default NULL, `type` char(1) character set latin1 NOT NULL default 'v', `code` varchar(6) character set latin1 NOT NULL COMMENT 'Code mandat ou vente', typer varchar(20) character set latin1 NOT NULL, depuis date default NULL, notaire int(11) default NULL, noce tinyint(4) default NULL, reserve1 varchar(20) character set latin1 NOT NULL, reserve2 varchar(60) character set latin1 NOT NULL, PRIMARY KEY (id) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='defines relations between people and sci''s'; -- -------------------------------------------------------- -- -- Table structure for table 'searches' -- CREATE TABLE searches ( id int(11) NOT NULL auto_increment, Nom varchar(200) collate utf8_unicode_ci default ' ', Agent int(11) default NULL, SQLst varchar(1000) collate utf8_unicode_ci default ' ', Knom varchar(20) collate utf8_unicode_ci default ' ', Form varchar(100) collate utf8_unicode_ci default ' ', Selectors varchar(500) collate utf8_unicode_ci default ' ', Hstr varchar(500) collate utf8_unicode_ci default ' ', Filter varchar(500) collate utf8_unicode_ci default ' ', FFilter varchar(500) collate utf8_unicode_ci default ' ', KFilter varchar(500) collate utf8_unicode_ci default ' ', LFilter varchar(500) collate utf8_unicode_ci default ' ', MFilter varchar(500) collate utf8_unicode_ci default ' ', BFilter varchar(500) collate utf8_unicode_ci default ' ', SFilter varchar(500) collate utf8_unicode_ci default ' ', AFilter varchar(500) collate utf8_unicode_ci default ' ', Oby varchar(20) collate utf8_unicode_ci default ' ', Way varchar(5) collate utf8_unicode_ci default ' ', fldcount int(11) default NULL, ColTable0 varchar(500) collate utf8_unicode_ci default NULL, ColTable1 varchar(500) collate utf8_unicode_ci default NULL, ColTable2 varchar(500) collate utf8_unicode_ci default NULL, ColTable3 varchar(500) collate utf8_unicode_ci default NULL, ColTable4 varchar(500) collate utf8_unicode_ci default NULL, ColTable5 varchar(500) collate utf8_unicode_ci default NULL, ColTable6 varchar(500) collate utf8_unicode_ci default NULL, ColTable7 varchar(500) collate utf8_unicode_ci default NULL, ColTable8 varchar(500) collate utf8_unicode_ci default NULL, ColTable9 varchar(500) collate utf8_unicode_ci default NULL, ColTable10 varchar(500) collate utf8_unicode_ci default NULL, ColTable11 varchar(500) collate utf8_unicode_ci default NULL, ColTable12 varchar(500) collate utf8_unicode_ci default NULL, ColTable13 varchar(500) collate utf8_unicode_ci default NULL, ColTable14 varchar(500) collate utf8_unicode_ci default NULL, ColTable15 varchar(500) collate utf8_unicode_ci default NULL, ColTable16 varchar(500) collate utf8_unicode_ci default NULL, ColTable17 varchar(500) collate utf8_unicode_ci default NULL, ColTable18 varchar(500) collate utf8_unicode_ci default NULL, ColTable19 varchar(500) collate utf8_unicode_ci default NULL, PRIMARY KEY (id), KEY Agent (Agent), KEY Form (Form) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Search params for the forms per user'; -- -------------------------------------------------------- -- -- Table structure for table 'securety' -- CREATE TABLE securety ( `No` int(11) NOT NULL auto_increment, TName char(20) default NULL, FName char(20) default NULL, Job char(20) default NULL, Allowed char(5) default NULL, Area char(12) default NULL, PRIMARY KEY (`No`), KEY TableName (TName), KEY FormName (FName) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Acc?s rules for request'; -- -------------------------------------------------------- -- -- Table structure for table 'sequestre' -- CREATE TABLE sequestre ( Sequence int(11) NOT NULL auto_increment, Montant decimal(10,2) NOT NULL default '0.00', D_C char(1) NOT NULL default '', Date_recu date NOT NULL default '0000-00-00', Date_compte date default NULL, Date_quitance date default NULL, Nom_paye int(11) default NULL, Code_paye int(11) default NULL, Moyenne varchar(20) default NULL, Banque varchar(50) default NULL, Lettre varchar(10) default NULL, Comptabilise char(1) default NULL, `Text` blob, Acte int(11) NOT NULL default '0', Motif varchar(50) default NULL, NoCheque varchar(20) default NULL, PRIMARY KEY (Sequence), UNIQUE KEY Sequence (Sequence), KEY Date_compte (Date_compte), KEY Lettre (Lettre) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table 'sequestre_mois' -- CREATE TABLE sequestre_mois ( Annee int(11) NOT NULL default '2006', Mois int(11) NOT NULL default '1', PRIMARY KEY (Annee,Mois) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Help table pour mois etc. sequestre'; -- -------------------------------------------------------- -- -- Stand-in structure for view 'Steven' -- CREATE TABLE `Steven` ( `agent` varchar(30) ,`agentpass` varchar(10) ); -- -------------------------------------------------------- -- -- Table structure for table 'tblCelkoTransTable' -- CREATE TABLE tblCelkoTransTable ( IDTransaction int(10) unsigned NOT NULL auto_increment, TableName tinytext, Differ tinytext, InTransaction bit(1) default NULL, TStamp timestamp NULL default NULL, PRIMARY KEY (IDTransaction) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Table structure for table 'vendeurs_pot' -- CREATE TABLE vendeurs_pot ( `No` int(11) NOT NULL auto_increment, Nom varchar(40) character set ucs2 NOT NULL, Prenom varchar(30) character set latin1 default NULL, Adresse varchar(100) character set latin1 NOT NULL, Code_Postal varchar(10) character set latin1 NOT NULL, Ville varchar(30) character set latin1 NOT NULL, Pays varchar(50) character set latin1 default NULL, Telephone varchar(20) character set latin1 default NULL, Fax varchar(20) character set latin1 default NULL, Portable varchar(20) character set latin1 default NULL, Travail varchar(20) character set latin1 default NULL, Email varchar(50) character set latin1 default NULL, Observations blob, `Type` varchar(24) character set latin1 default NULL, Dernier_contact datetime default NULL, Statut varchar(15) character set latin1 default NULL, `Action` varchar(200) character set latin1 default NULL, Conddesc varchar(100) character set latin1 default NULL, Adresse_B varchar(200) default NULL, Code_Postal_B varchar(10) default NULL, Ville_B varchar(30) default NULL COMMENT 'Ville Bien', Cadastre varchar(100) default NULL, Prix_net decimal(10,0) NOT NULL COMMENT 'Prix net', Nego mediumblob, negoNo int(11) default NULL, Discriptif_B mediumblob, PRIMARY KEY (`No`), KEY Nom (Nom) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Table structure for table 'Ventes' -- CREATE TABLE Ventes ( `No` int(11) NOT NULL auto_increment, `Code` int(11) NOT NULL default '0', Code_Mandat varchar(6) NOT NULL default '', Code_Mandat_R varchar(6) default NULL, `Type` varchar(20) NOT NULL default '', `Date` date NOT NULL default '0000-00-00', AA date NOT NULL default '0000-00-00', AA_Vrai date default NULL, Acheteur int(11) NOT NULL default '0', Notaire_A varchar(50) default NULL, Prix_vendue decimal(50,2) NOT NULL default '0.00', Comm_Vendue decimal(50,2) NOT NULL default '0.00', Raison varchar(200) default NULL, Pret decimal(50,2) default NULL, Notaire_P varchar(50) default NULL, Commercial int(11) NOT NULL default '0', Statut varchar(10) NOT NULL default '', Paye char(3) default NULL, Interne blob, Acompte decimal(50,2) default NULL, ADate date default NULL, Ded_1 decimal(50,2) default NULL, Ded_1_D varchar(50) default NULL, Ded_2 decimal(50,2) default NULL, Ded_2_D varchar(50) default NULL, Ded_3 decimal(50,2) default NULL, Ded_3_D varchar(50) default NULL, negos blob, A_pret_condition char(3) default NULL, A_pret_sim char(3) default NULL, A_pret_depot date default NULL, A_pret_result_d char(3) default NULL, A_pret_offre date default NULL, A_pret_11jours date default NULL, A_pret_accept date default NULL, A_pret_dispo date default NULL, A_pret_denon date default NULL, A_pret_ok char(3) default NULL, A_preom_Com char(3) default NULL, A_preom_Safer char(3) default NULL, A_preom_Cdep date default NULL, A_preom_Sdep date default NULL, A_preom_CRep date default NULL, A_preom_SRep date default NULL, A_preom_Cdes char(3) default NULL, A_preom_Sdes char(3) default NULL, A_preom_leve char(3) default NULL, A_urba_recu date default NULL, A_urba_ok char(3) default NULL, A_pc_depot date default NULL, A_pc_rep date default NULL, A_pc_condition char(3) default NULL, A_pc_des char(3) default NULL, A_pc_rec3 date default NULL, A_pc_recPref date default NULL, A_pc_ok char(3) default NULL, A_autre blob, A_autre_ok char(3) default NULL, PRIMARY KEY (`No`), UNIQUE KEY `Code` (`Code`), KEY Code_Mandat (Code_Mandat) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table 'Villes' -- CREATE TABLE Villes ( Nom varchar(100) NOT NULL default '', MAJ varchar(100) NOT NULL default '', CodeP varchar(5) default NULL, CodeI varchar(6) default NULL, Lat decimal(12,7) NOT NULL default '0.0000000', Lon decimal(12,7) NOT NULL default '0.0000000', Eloine varchar(9) default NULL, Filiale int(11) default NULL, Ours smallint(6) default NULL, Habitants int(11) default NULL, Sequence int(11) NOT NULL auto_increment, Departement tinyint(3) unsigned NOT NULL default '0', PRIMARY KEY (Sequence), UNIQUE KEY Sequence (Sequence), KEY Nom (Nom), FULLTEXT KEY Nom_2 (Nom), FULLTEXT KEY MAJ (MAJ) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table 'visites' -- CREATE TABLE visites ( id int(11) NOT NULL auto_increment, acquireur int(11) NOT NULL, bien int(11) NOT NULL, nego int(11) NOT NULL, datum date NOT NULL, heure time default NULL, result varchar(1000) default NULL, res0 varchar(200) default NULL, bon int(11) default NULL, res2 date default NULL, PRIMARY KEY (id), KEY acquireur (acquireur,nego), KEY bon (bon) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table '__RekallObjects' -- CREATE TABLE __RekallObjects ( Id int(11) NOT NULL auto_increment, `Name` varchar(80) default NULL, `Type` varchar(12) default NULL, Definition blob, Description blob, SaveDate varchar(16) default NULL, Extension varchar(16) default NULL, PRIMARY KEY (Id) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Structure for view 'Steven' -- DROP TABLE IF EXISTS `Steven`; CREATE ALGORITHM=UNDEFINED DEFINER=root at ...40... SQL SECURITY DEFINER VIEW revimmo.Steven AS select revimmo.agents.agent AS agent,revimmo.agents.agentpass AS agentpass from (revimmo.agents join revimmo.Jobs) where ((revimmo.agents.id = revimmo.Jobs.Nego) and isnull(revimmo.Jobs.`End`)); So, you have the complete structure now, the table concerned is called 'dpe'. For the code, let me give you some parts : 1. Where I connect and open the database : PUBLIC db AS NEW Connection PUBLIC rs AS Result bla bla bla PUBLIC FUNCTION conn(host AS String, lgn AS String, pass AS String) AS Boolean db.close db.Type = "mysql" Connected = FALSE db.Host = Host db.Login = lgn db.Password = pass db.Open Connected = TRUE RETURN TRUE CATCH Message.error(error.text) RETURN FALSE END Then i use db everywhere in the program, I exec, insert, update, select and whatever, no problems. Except here (as I wrote before), here is the complete module / form : 1. The class file : ' Gambas class file Ima1 AS Image Ima2 AS Image energie AS Integer emission AS Integer PaTag AS String[] current_dpe AS Integer rsC AS result PUBLIC SUB Form_Open() DIM posy AS Integer DIM llen AS Integer ' we first get the raw images in. Ima1 = Image.Load("~/request/Images/energie.png") Ima2 = Image.Load("~/request/Images/emission.png") 'now we get the values we need in IF ME.Tag THEN PaTag = Split(ME.Tag, "|") energie = PaTag[0] emission = PaTag[1] current_dpe = PaTag[2] ELSE energie = "O" END IF ' start in height = 19, end is 229 for 450 max, then 247 is value for over 450 ' thus the y postion is : 19 + (229 -19) * (450 / value) if value > 451 else position is 247 ' the x position is 258 IF energie <> 0 THEN ' we fix the lenght of the line (go's to x = 270) IF energie > 450 THEN llen = 245 posy = 247 ELSE IF energie > 330 THEN llen = 216 posy = 194 + ((energie - 330) / (450 - 330)) * 35 ELSE IF energie > 230 THEN llen = 187 posy = 159 + ((energie - 230) / (330 - 230)) * 35 ELSE IF energie > 150 THEN llen = 157 posy = 124 + ((energie - 150) / (230 - 150)) * 35 ELSE IF energie > 90 THEN llen = 129 posy = 90 + ((energie - 90) / (150 - 90)) * 35 ELSE IF energie > 50 THEN llen = 101 posy = 55 + ((energie - 50) / (90 - 50)) * 35 ELSE IF energie > 0 THEN llen = 73 posy = 19 + (energie / 50) * 35 END IF 'and now we draw something beautifull Draw.Begin(DrawingArea1) Draw.Image(Ima1, 0, 0, 333, 285) 'we write the pointer in Draw.Line(llen, posy, 270, posy) Draw.FillColor = Color.black Draw.FillStyle = 1 Draw.ForeColor = Color.black ' der Rand wird auch wei? Draw.Polygon([255, posy, 280, posy + 18, 325, posy + 18, 325, posy - 18, 280, posy - 18, 255, posy]) Draw.ForeColor = Color.White Draw.Font = Font["Arial, 10, bold"] Draw.Text(energie, 284, posy - 8) Draw.ForeColor = Color.black Draw.Font = Font["Arial, 8"] Draw.Text("kWhEP/m?.an", 260, posy + 22) Draw.End END IF IF emission <> 0 THEN ' we fix the lenght of the line (go's to x = 270) IF emission > 80 THEN llen = 250 posy = 247 ELSE IF emission > 55 THEN llen = 221 posy = 194 + ((emission - 55) / (80 - 55)) * 35 ELSE IF emission > 35 THEN llen = 192 posy = 159 + ((emission - 35) / (55 - 35)) * 35 ELSE IF emission > 20 THEN llen = 162 posy = 124 + ((emission - 20) / (35 - 20)) * 35 ELSE IF emission > 10 THEN llen = 134 posy = 90 + ((emission - 10) / (20 - 10)) * 35 ELSE IF emission > 5 THEN llen = 106 posy = 55 + ((emission - 5) / (10 - 5)) * 35 ELSE IF emission > 0 THEN llen = 78 posy = 19 + (emission / 5) * 35 END IF END IF 'and now we draw something beautifull Draw.Begin(DrawingArea2) Draw.Image(Ima2, 0, 0, 333, 285) 'we write the pointer in Draw.Line(llen, posy, 270, posy) Draw.FillColor = Color.black Draw.FillStyle = 1 Draw.ForeColor = Color.black ' der Rand wird auch wei? Draw.Polygon([255, posy, 280, posy + 18, 325, posy + 18, 325, posy - 18, 280, posy - 18, 255, posy]) Draw.ForeColor = Color.White Draw.Font = Font["Arial, 10, bold"] Draw.Text(emission, 284, posy - 8) Draw.ForeColor = Color.black Draw.Font = Font["Arial, 8"] Draw.Text("kg ?qco2/m?.an.", 260, posy + 22) Draw.End END PUBLIC SUB Close_Click() ' save the images and close DIM PicE AS Picture DIM PicM AS Picture DIM StrPicE, StrPicM AS String DIM resP AS Result PicE = DrawingArea1.Grab() PicE.Save("Z-energy.jpg") PicM = DrawingArea2.Grab() PicM.Save("Z-emission.jpg") ' and into the database resP = db.Edit("dpe", "id = &1", current_dpe) resP["energy"] = File.Load("Z-energy.jpg") resP["emission"] = File.Load("Z-emission.jpg") resP.Update() ME.Close CATCH Message.Error("Update database record error
Error:
" & DConv(Error.Text)) END and 2. the Form file : # Gambas Form File 2.0 { Form Form MoveScaled(0,0,87,52) Text = ("") { DrawingArea1 DrawingArea MoveScaled(1,11,41.625,35.625) Cached = True Border = Border.Etched } { DrawingArea2 DrawingArea MoveScaled(44,11,41.625,35.625) Cached = True Border = Border.Etched } { TextLabel1 TextLabel MoveScaled(1,1,42,9) Text = ("Consommations \xC3\xA9nerg\xC3\xA9tiques (en \xC3\xA9nergie primaire)\npour le chauffage, la production d\xE2\x80\x99eau chaude sanitaire et le refroidissement\nConsommation conventionnelle\xC2\xA0:") } { TextLabel2 TextLabel MoveScaled(44,1,41,9) Text = ("Emission de gaz \xC3\xA0 effet de serre (GES) pour le chauffage, la production d\xE2\x80\x99eau chaude sanitaire et le refroidissement\nEstimation des \xC3\xA9missions") } { Close Button MoveScaled(75,48,10,2) Background = &H008000& Foreground = &HFFFFBF& ToolTip = ("Appuyer pour \nfermer cette\nfen\xC3\xAAtre (et sauver tous les\nchangements)") Text = ("Fermer") } } I really do hope this helps in tracking the problem. If not, please indicate the way I can send you the whole shiskebab. For the database, that will not be possible since there is a lot of confidential data in it. But I could give you, personally, access to it if you want to. Regards, Steven From demosthenesk at ...626... Tue Feb 8 08:33:08 2011 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Tue, 08 Feb 2011 09:33:08 +0200 Subject: [Gambas-user] Colorchooser crash In-Reply-To: <201102071753.25776.gambas@...1...> References: <1296578281.4010.3.camel@...2493...> <201102070016.22926.gambas@...1...> <1297083663.29781.1.camel@...2493...> <201102071753.25776.gambas@...1...> Message-ID: <1297150388.11165.5.camel@...2493...> Benoit sorry i made a mistake. Here is the link http://www.mediafire.com/?w73g6ots4ejahjg How to reproduce the bug. 1) click lblColor 2) A form with color chooser is showed. 3) Click the color pick up tool. 4) Click many times in color area until the messages comes up and a signal 11. 5) sometimes you need to close FColorChooser form and reopen it and continue the clicks in colorchooser area. 6) The signal 11 will be raised on clicks the color area or after closing the form. On Mon, 2011-02-07 at 17:53 +0100, Beno?t Minisini wrote: > > note, this error comes up when i click many times on color area of > > colorchooser. so it is not colorize crash as subject said, so i changed > > the subject. > > > > Sorry, but if you are not more accurate, I can't help. You told to click on > label lblColor, and I didn't found any label named lblColor in the project. > > Can you explain again what should be done precisely to reproduce these > messages? > -- Regards, Demosthenes Koptsis. From gambas at ...1... Tue Feb 8 10:53:24 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Tue, 8 Feb 2011 10:53:24 +0100 Subject: [Gambas-user] exception 11 In-Reply-To: <1297149545.3373.13.camel@...40...> References: <1297098080.6133.128.camel@...40...> <201102072017.58362.gambas@...1...> <1297149545.3373.13.camel@...40...> Message-ID: <201102081053.24950.gambas@...1...> > > I really do hope this helps in tracking the problem. > If not, please indicate the way I can send you the whole shiskebab. > For the database, that will not be possible since there is a lot of > confidential data in it. > But I could give you, personally, access to it if you want to. > If you explain me how to reproduce the bug from the application, it may be the fastest solution, provided that you compile gambas2 from sources. But first, can you do that? 1) Get a core dump of the crash, and load it into gdb to get a backtrace. Send me that backtrace: $ ulimit -c 100000 $ cd /path/to/my/gambas/project $ gbx2 -p ... Segmentation fault (core dumped) $ gdb /usr/bin/gbx2 core ... (gdb) bt ... 2) Run your application into valgrind (if it is not too slow) to know where exactly the illegal memory access is done. Send me the valgrind output. $ cd /path/to/my/gambas/project $ valgrind --tool=memcheck --num-callers=50 gbx2 -p ... You will actually get useful information only if you compile gambas2 from sources, so maybe you should do that before. Thanks in advance, -- Beno?t Minisini From steven at ...1652... Tue Feb 8 12:09:03 2011 From: steven at ...1652... (Steven revimmo) Date: Tue, 08 Feb 2011 12:09:03 +0100 Subject: [Gambas-user] exception 11 In-Reply-To: <201102081053.24950.gambas@...1...> References: <1297098080.6133.128.camel@...40...> <201102072017.58362.gambas@...1...> <1297149545.3373.13.camel@...40...> <201102081053.24950.gambas@...1...> Message-ID: <1297163343.3373.62.camel@...40...> I did compile it from scratch. (No errors, all ok first time !) However, as i try to do what you asked it got really ugly. Parts of my app (panels in windows with buttons and labels and ..)are not showing, some windows displayed as very small rectangles (not sizable) , so I cannot even test the part since it's impossible to get there. How is it possible that when i run it in the development interface all is working perfect, but wenn I run it directly nothing works anymore???????? Steven Le mardi 08 f?vrier 2011 ? 10:53 +0100, Beno?t Minisini a ?crit : > > > > I really do hope this helps in tracking the problem. > > If not, please indicate the way I can send you the whole shiskebab. > > For the database, that will not be possible since there is a lot of > > confidential data in it. > > But I could give you, personally, access to it if you want to. > > > > If you explain me how to reproduce the bug from the application, it may be the > fastest solution, provided that you compile gambas2 from sources. > > But first, can you do that? > > 1) Get a core dump of the crash, and load it into gdb to get a backtrace. Send > me that backtrace: > > $ ulimit -c 100000 > $ cd /path/to/my/gambas/project > $ gbx2 -p > ... > Segmentation fault (core dumped) > $ gdb /usr/bin/gbx2 core > ... > (gdb) bt > ... > > 2) Run your application into valgrind (if it is not too slow) to know where > exactly the illegal memory access is done. Send me the valgrind output. > > $ cd /path/to/my/gambas/project > $ valgrind --tool=memcheck --num-callers=50 gbx2 -p > ... > > You will actually get useful information only if you compile gambas2 from > sources, so maybe you should do that before. > > Thanks in advance, > From daniel at ...2544... Tue Feb 8 13:29:01 2011 From: daniel at ...2544... (Daniel Fuchs) Date: Tue, 8 Feb 2011 13:29:01 +0100 (MET) Subject: [Gambas-user] Circular references Message-ID: <201102081229.p18CT16Q013087@...525...> Hello, > I won't suppress these messages, because they mean that there is a bug in > the > program, or a bug in Gambas. They just don't prevent the program from > running. > > I just need to be able to reproduce the bug to fix it. So can I run the > project you send without needing extra files? > > -- > Beno?t Minisini > Yes you can, if you launch it without any command-line arguments. Regards, Daniel From steven at ...1652... Tue Feb 8 16:41:58 2011 From: steven at ...1652... (Steven revimmo) Date: Tue, 08 Feb 2011 16:41:58 +0100 Subject: [Gambas-user] exception 11 In-Reply-To: <201102081053.24950.gambas@...1...> References: <1297098080.6133.128.camel@...40...> <201102072017.58362.gambas@...1...> <1297149545.3373.13.camel@...40...> <201102081053.24950.gambas@...1...> Message-ID: <1297179718.3373.101.camel@...40...> After some testing, i found out I had to set the scaled parm to false for all the windows. So, now I succeeded the first part. The output is : steven at ...40...:~/request_dev> gbx2 -p kbuildsycoca running... QObject::disconnect: Unexpected null parameter steven at ...40...:~/request_dev> gbx2 -p kbuildsycoca running... Erreur de segmentation (core dumped) steven at ...40...:~/request_dev> DCOP Cleaning up dead connections. steven at ...40...:~/request_dev> gdb /usr/bin/gbx2 core GNU gdb (GDB) SUSE (6.8.91.20090930-2.4) Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i586-suse-linux". For bug reporting instructions, please see: ... Reading symbols from /usr/bin/gbx2...(no debugging symbols found)...done. Missing separate debuginfo for /lib/ld-linux.so.2 Try: zypper install -C "debuginfo(build-id)=43b505ea5e193fa5d7c742793989c5aaa0874e0c" Core was generated by `gbx2 -p'. Program terminated with signal 11, Segmentation fault. #0 0xb48f12d7 in ?? () (gdb) bt #0 0xb48f12d7 in ?? () #1 0xb48f13fb in ?? () #2 0xb78a9a6f in ?? () #3 0xb78a6f8f in ?? () #4 0x0804e4e0 in getgid () #5 0x081b0250 in ?? () #6 0x0804ede4 in getgid () #7 0xb78a6f01 in ?? () #8 0x0806aeb0 in getgid () #9 0x08088d08 in ?? () #10 0x0804f0e5 in getgid () #11 0xffffffff in ?? () #12 0x0804f3bb in getgid () #13 0xbff34afc in ?? () #14 0x0805cf10 in getgid () #15 0x08610f58 in ?? () #16 0x0805d40e in getgid () #17 0x00000000 in ?? () (gdb) quit steven at ...40...:~/request_dev> I dont know if this helps, do i do that (installing debug info) ? Steven Le mardi 08 f?vrier 2011 ? 10:53 +0100, Beno?t Minisini a ?crit : > > > > I really do hope this helps in tracking the problem. > > If not, please indicate the way I can send you the whole shiskebab. > > For the database, that will not be possible since there is a lot of > > confidential data in it. > > But I could give you, personally, access to it if you want to. > > > > If you explain me how to reproduce the bug from the application, it may be the > fastest solution, provided that you compile gambas2 from sources. > > But first, can you do that? > > 1) Get a core dump of the crash, and load it into gdb to get a backtrace. Send > me that backtrace: > > $ ulimit -c 100000 > $ cd /path/to/my/gambas/project > $ gbx2 -p > ... > Segmentation fault (core dumped) > $ gdb /usr/bin/gbx2 core > ... > (gdb) bt > ... > > 2) Run your application into valgrind (if it is not too slow) to know where > exactly the illegal memory access is done. Send me the valgrind output. > > $ cd /path/to/my/gambas/project > $ valgrind --tool=memcheck --num-callers=50 gbx2 -p > ... > > You will actually get useful information only if you compile gambas2 from > sources, so maybe you should do that before. > > Thanks in advance, > From steven at ...1652... Tue Feb 8 18:25:07 2011 From: steven at ...1652... (Steven revimmo) Date: Tue, 08 Feb 2011 18:25:07 +0100 Subject: [Gambas-user] exception 11 In-Reply-To: <201102081053.24950.gambas@...1...> References: <1297098080.6133.128.camel@...40...> <201102072017.58362.gambas@...1...> <1297149545.3373.13.camel@...40...> <201102081053.24950.gambas@...1...> Message-ID: <1297185907.3373.161.camel@...40...> Hi again, And here is the valgrind output. (The last and relevant part of it ) Le mardi 08 f?vrier 2011 ? 10:53 +0100, Beno?t Minisini a ?crit : > valgrind --tool=memcheck --num-callers=50 gbx2 -p =28574== by 0x4676355: ??? (in /usr/lib/gambas2/gb.qt.so.0.0.0) ==28574== by 0x4BE8C8C: QScrollView::drawContentsOffset(QPainter*, int, int, int, int, int, int) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4BE9537: QScrollView::viewportPaintEvent(QPaintEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4BE9E77: QScrollView::eventFilter(QObject*, QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4CFFDC4: QTable::eventFilter(QObject*, QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4AC8139: QObject::activate_filters(QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4AC81AC: QObject::event(QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4B03861: QWidget::event(QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4A60AD4: QApplication::internalNotify(QObject*, QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4A61A32: QApplication::notify(QObject*, QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x586774E: ??? (in /usr/lib/gambas2/gb.qt.kde.so.0.0.0) ==28574== by 0x49EB189: QETWidget::translatePaintEvent(_XEvent const*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x49F4E52: QApplication::x11ProcessEvent(_XEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4A09AB3: QEventLoop::processEvents(unsigned int) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4659C0C: ??? (in /usr/lib/gambas2/gb.qt.so.0.0.0) ==28574== by 0x4A7A57F: QEventLoop::enterLoop() (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4A7A3F3: QEventLoop::exec() (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4A6113B: QApplication::exec() (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4659837: ??? (in /usr/lib/gambas2/gb.qt.so.0.0.0) ==28574== by 0x8061433: main (gbx.c:352) ==28574== ==28574== Use of uninitialised value of size 4 ==28574== at 0x40FF5FA: ??? (in /lib/libc-2.10.1.so) ==28574== by 0x4103064: vfprintf (in /lib/libc-2.10.1.so) ==28574== by 0x4122193: vsprintf (in /lib/libc-2.10.1.so) ==28574== by 0x410A6CA: sprintf (in /lib/libc-2.10.1.so) ==28574== by 0x804E030: VALUE_to_string (gbx_value.c:1002) ==28574== by 0x8058A1E: SUBR_str (gbx_subr_conv.c:153) ==28574== by 0x806A3C2: EXEC_loop (gbx_exec_loop.c:476) ==28574== by 0x804F0E4: EXEC_function_loop (gbx_exec.c:703) ==28574== by 0x804F3BA: EXEC_function_real (gbx_exec.c:690) ==28574== by 0x805CF0F: raise_event (gbx_api.c:490) ==28574== by 0x805D40D: GB_Raise (gbx_api.c:594) ==28574== by 0x467743C: ??? (in /usr/lib/gambas2/gb.qt.so.0.0.0) ==28574== by 0x4677F4E: ??? (in /usr/lib/gambas2/gb.qt.so.0.0.0) ==28574== by 0x4CF7A83: QTable::paintCell(QPainter*, int, int, QRect const&, bool, QColorGroup const&) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4CF7E2E: QTable::paintCell(QPainter*, int, int, QRect const&, bool) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4CF81A5: QTable::drawContents(QPainter*, int, int, int, int) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4676355: ??? (in /usr/lib/gambas2/gb.qt.so.0.0.0) ==28574== by 0x4BE8C8C: QScrollView::drawContentsOffset(QPainter*, int, int, int, int, int, int) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4BE9537: QScrollView::viewportPaintEvent(QPaintEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4BE9E77: QScrollView::eventFilter(QObject*, QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4CFFDC4: QTable::eventFilter(QObject*, QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4AC8139: QObject::activate_filters(QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4AC81AC: QObject::event(QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4B03861: QWidget::event(QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4A60AD4: QApplication::internalNotify(QObject*, QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4A61A32: QApplication::notify(QObject*, QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x586774E: ??? (in /usr/lib/gambas2/gb.qt.kde.so.0.0.0) ==28574== by 0x49EB189: QETWidget::translatePaintEvent(_XEvent const*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x49F4E52: QApplication::x11ProcessEvent(_XEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4A09AB3: QEventLoop::processEvents(unsigned int) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4659C0C: ??? (in /usr/lib/gambas2/gb.qt.so.0.0.0) ==28574== by 0x4A7A57F: QEventLoop::enterLoop() (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4A7A3F3: QEventLoop::exec() (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4A6113B: QApplication::exec() (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4659837: ??? (in /usr/lib/gambas2/gb.qt.so.0.0.0) ==28574== by 0x8061433: main (gbx.c:352) ==28574== ==28574== Conditional jump or move depends on uninitialised value(s) ==28574== at 0x40FF602: ??? (in /lib/libc-2.10.1.so) ==28574== by 0x4103064: vfprintf (in /lib/libc-2.10.1.so) ==28574== by 0x4122193: vsprintf (in /lib/libc-2.10.1.so) ==28574== by 0x410A6CA: sprintf (in /lib/libc-2.10.1.so) ==28574== by 0x804E030: VALUE_to_string (gbx_value.c:1002) ==28574== by 0x8058A1E: SUBR_str (gbx_subr_conv.c:153) ==28574== by 0x806A3C2: EXEC_loop (gbx_exec_loop.c:476) ==28574== by 0x804F0E4: EXEC_function_loop (gbx_exec.c:703) ==28574== by 0x804F3BA: EXEC_function_real (gbx_exec.c:690) ==28574== by 0x805CF0F: raise_event (gbx_api.c:490) ==28574== by 0x805D40D: GB_Raise (gbx_api.c:594) ==28574== by 0x467743C: ??? (in /usr/lib/gambas2/gb.qt.so.0.0.0) ==28574== by 0x4677F4E: ??? (in /usr/lib/gambas2/gb.qt.so.0.0.0) ==28574== by 0x4CF7A83: QTable::paintCell(QPainter*, int, int, QRect const&, bool, QColorGroup const&) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4CF7E2E: QTable::paintCell(QPainter*, int, int, QRect const&, bool) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4CF81A5: QTable::drawContents(QPainter*, int, int, int, int) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4676355: ??? (in /usr/lib/gambas2/gb.qt.so.0.0.0) ==28574== by 0x4BE8C8C: QScrollView::drawContentsOffset(QPainter*, int, int, int, int, int, int) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4BE9537: QScrollView::viewportPaintEvent(QPaintEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4BE9E77: QScrollView::eventFilter(QObject*, QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4CFFDC4: QTable::eventFilter(QObject*, QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4AC8139: QObject::activate_filters(QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4AC81AC: QObject::event(QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4B03861: QWidget::event(QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4A60AD4: QApplication::internalNotify(QObject*, QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4A61A32: QApplication::notify(QObject*, QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x586774E: ??? (in /usr/lib/gambas2/gb.qt.kde.so.0.0.0) ==28574== by 0x49EB189: QETWidget::translatePaintEvent(_XEvent const*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x49F4E52: QApplication::x11ProcessEvent(_XEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4A09AB3: QEventLoop::processEvents(unsigned int) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4659C0C: ??? (in /usr/lib/gambas2/gb.qt.so.0.0.0) ==28574== by 0x4A7A57F: QEventLoop::enterLoop() (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4A7A3F3: QEventLoop::exec() (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4A6113B: QApplication::exec() (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4659837: ??? (in /usr/lib/gambas2/gb.qt.so.0.0.0) ==28574== by 0x8061433: main (gbx.c:352) ==28574== ==28574== Invalid read of size 1 ==28574== at 0x7C3F2D7: ??? (in /usr/lib/gambas2/gb.db.mysql.so.0.0.0) ==28574== by 0x7C3F3FA: ??? (in /usr/lib/gambas2/gb.db.mysql.so.0.0.0) ==28574== by 0x403CA6E: ??? (in /usr/lib/gambas2/gb.db.so.0.0.0) ==28574== by 0x4039F8E: ??? (in /usr/lib/gambas2/gb.db.so.0.0.0) ==28574== by 0x804E4DF: EXEC_call_native (gbx_exec.c:844) ==28574== by 0x804EDE3: EXEC_native (gbx_exec.c:962) ==28574== by 0x806AEAF: EXEC_loop (gbx_exec_loop.c:1042) ==28574== by 0x804F0E4: EXEC_function_loop (gbx_exec.c:703) ==28574== by 0x804F3BA: EXEC_function_real (gbx_exec.c:690) ==28574== by 0x805CF0F: raise_event (gbx_api.c:490) ==28574== by 0x805D40D: GB_Raise (gbx_api.c:594) ==28574== by 0x4664BCC: ??? (in /usr/lib/gambas2/gb.qt.so.0.0.0) ==28574== by 0x46644C0: ??? (in /usr/lib/gambas2/gb.qt.so.0.0.0) ==28574== by 0x4AC809D: QObject::activate_signal(QConnectionList*, QUObject*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4ACA1DA: QObject::activate_signal(int) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4E40439: QButton::clicked() (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4B6547F: QButton::mouseReleaseEvent(QMouseEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4B03986: QWidget::event(QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4A60AD4: QApplication::internalNotify(QObject*, QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4A61BFF: QApplication::notify(QObject*, QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x586774E: ??? (in /usr/lib/gambas2/gb.qt.kde.so.0.0.0) ==28574== by 0x49F915C: QApplication::sendSpontaneousEvent(QObject*, QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x49F606C: QETWidget::translateMouseEvent(_XEvent const*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x49F4F66: QApplication::x11ProcessEvent(_XEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4A09AB3: QEventLoop::processEvents(unsigned int) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4659C0C: ??? (in /usr/lib/gambas2/gb.qt.so.0.0.0) ==28574== by 0x4A7A57F: QEventLoop::enterLoop() (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4663922: ??? (in /usr/lib/gambas2/gb.qt.so.0.0.0) ==28574== by 0x46639A0: ??? (in /usr/lib/gambas2/gb.qt.so.0.0.0) ==28574== by 0x804E4DF: EXEC_call_native (gbx_exec.c:844) ==28574== by 0x804EDE3: EXEC_native (gbx_exec.c:962) ==28574== by 0x806AEAF: EXEC_loop (gbx_exec_loop.c:1042) ==28574== by 0x804F0E4: EXEC_function_loop (gbx_exec.c:703) ==28574== by 0x804F3BA: EXEC_function_real (gbx_exec.c:690) ==28574== by 0x805CF0F: raise_event (gbx_api.c:490) ==28574== by 0x805D40D: GB_Raise (gbx_api.c:594) ==28574== by 0x4664BCC: ??? (in /usr/lib/gambas2/gb.qt.so.0.0.0) ==28574== by 0x46644C0: ??? (in /usr/lib/gambas2/gb.qt.so.0.0.0) ==28574== by 0x4AC809D: QObject::activate_signal(QConnectionList*, QUObject*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4ACA1DA: QObject::activate_signal(int) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4E40439: QButton::clicked() (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4B6547F: QButton::mouseReleaseEvent(QMouseEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4B03986: QWidget::event(QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4A60AD4: QApplication::internalNotify(QObject*, QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4A61BFF: QApplication::notify(QObject*, QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x586774E: ??? (in /usr/lib/gambas2/gb.qt.kde.so.0.0.0) ==28574== by 0x49F915C: QApplication::sendSpontaneousEvent(QObject*, QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x49F606C: QETWidget::translateMouseEvent(_XEvent const*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x49F4F66: QApplication::x11ProcessEvent(_XEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4A09AB3: QEventLoop::processEvents(unsigned int) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==28574== ==28574== ==28574== Process terminating with default action of signal 11 (SIGSEGV): dumping core ==28574== Access not within mapped region at address 0x0 ==28574== at 0x7C3F2D7: ??? (in /usr/lib/gambas2/gb.db.mysql.so.0.0.0) ==28574== by 0x7C3F3FA: ??? (in /usr/lib/gambas2/gb.db.mysql.so.0.0.0) ==28574== by 0x403CA6E: ??? (in /usr/lib/gambas2/gb.db.so.0.0.0) ==28574== by 0x4039F8E: ??? (in /usr/lib/gambas2/gb.db.so.0.0.0) ==28574== by 0x804E4DF: EXEC_call_native (gbx_exec.c:844) ==28574== by 0x804EDE3: EXEC_native (gbx_exec.c:962) ==28574== by 0x806AEAF: EXEC_loop (gbx_exec_loop.c:1042) ==28574== by 0x804F0E4: EXEC_function_loop (gbx_exec.c:703) ==28574== by 0x804F3BA: EXEC_function_real (gbx_exec.c:690) ==28574== by 0x805CF0F: raise_event (gbx_api.c:490) ==28574== by 0x805D40D: GB_Raise (gbx_api.c:594) ==28574== by 0x4664BCC: ??? (in /usr/lib/gambas2/gb.qt.so.0.0.0) ==28574== by 0x46644C0: ??? (in /usr/lib/gambas2/gb.qt.so.0.0.0) ==28574== by 0x4AC809D: QObject::activate_signal(QConnectionList*, QUObject*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4ACA1DA: QObject::activate_signal(int) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4E40439: QButton::clicked() (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4B6547F: QButton::mouseReleaseEvent(QMouseEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4B03986: QWidget::event(QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4A60AD4: QApplication::internalNotify(QObject*, QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4A61BFF: QApplication::notify(QObject*, QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x586774E: ??? (in /usr/lib/gambas2/gb.qt.kde.so.0.0.0) ==28574== by 0x49F915C: QApplication::sendSpontaneousEvent(QObject*, QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x49F606C: QETWidget::translateMouseEvent(_XEvent const*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x49F4F66: QApplication::x11ProcessEvent(_XEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4A09AB3: QEventLoop::processEvents(unsigned int) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4659C0C: ??? (in /usr/lib/gambas2/gb.qt.so.0.0.0) ==28574== by 0x4A7A57F: QEventLoop::enterLoop() (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4663922: ??? (in /usr/lib/gambas2/gb.qt.so.0.0.0) ==28574== by 0x46639A0: ??? (in /usr/lib/gambas2/gb.qt.so.0.0.0) ==28574== by 0x804E4DF: EXEC_call_native (gbx_exec.c:844) ==28574== by 0x804EDE3: EXEC_native (gbx_exec.c:962) ==28574== by 0x806AEAF: EXEC_loop (gbx_exec_loop.c:1042) ==28574== by 0x804F0E4: EXEC_function_loop (gbx_exec.c:703) ==28574== by 0x804F3BA: EXEC_function_real (gbx_exec.c:690) ==28574== by 0x805CF0F: raise_event (gbx_api.c:490) ==28574== by 0x805D40D: GB_Raise (gbx_api.c:594) ==28574== by 0x4664BCC: ??? (in /usr/lib/gambas2/gb.qt.so.0.0.0) ==28574== by 0x46644C0: ??? (in /usr/lib/gambas2/gb.qt.so.0.0.0) ==28574== by 0x4AC809D: QObject::activate_signal(QConnectionList*, QUObject*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4ACA1DA: QObject::activate_signal(int) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4E40439: QButton::clicked() (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4B6547F: QButton::mouseReleaseEvent(QMouseEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4B03986: QWidget::event(QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4A60AD4: QApplication::internalNotify(QObject*, QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4A61BFF: QApplication::notify(QObject*, QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x586774E: ??? (in /usr/lib/gambas2/gb.qt.kde.so.0.0.0) ==28574== by 0x49F915C: QApplication::sendSpontaneousEvent(QObject*, QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x49F606C: QETWidget::translateMouseEvent(_XEvent const*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x49F4F66: QApplication::x11ProcessEvent(_XEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== by 0x4A09AB3: QEventLoop::processEvents(unsigned int) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8) ==28574== If you believe this happened as a result of a stack ==28574== overflow in your program's main thread (unlikely but ==28574== possible), you can try to increase the size of the ==28574== main thread stack using the --main-stacksize= flag. ==28574== The main thread stack size used in this run was 8388608. ==28574== ==28574== HEAP SUMMARY: ==28574== in use at exit: 8,475,681 bytes in 106,393 blocks ==28574== total heap usage: 737,838 allocs, 631,445 frees, 434,889,043 bytes allocated ==28574== ==28574== LEAK SUMMARY: ==28574== definitely lost: 21,040 bytes in 557 blocks ==28574== indirectly lost: 24,120 bytes in 1,180 blocks ==28574== possibly lost: 4,323,056 bytes in 42,072 blocks ==28574== still reachable: 4,107,465 bytes in 62,584 blocks ==28574== suppressed: 0 bytes in 0 blocks ==28574== Rerun with --leak-check=full to see details of leaked memory ==28574== ==28574== For counts of detected and suppressed errors, rerun with: -v ==28574== Use --track-origins=yes to see where uninitialised values come from ==28574== ERROR SUMMARY: 363 errors from 89 contexts (suppressed: 175 from 40) Erreur de segmentation From gambas at ...1... Tue Feb 8 18:25:24 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Tue, 8 Feb 2011 18:25:24 +0100 Subject: [Gambas-user] exception 11 In-Reply-To: <1297179718.3373.101.camel@...40...> References: <1297098080.6133.128.camel@...40...> <201102081053.24950.gambas@...1...> <1297179718.3373.101.camel@...40...> Message-ID: <201102081825.24052.gambas@...1...> > After some testing, i found out I had to set the scaled parm to false > for all the windows. > So, now I succeeded the first part. The output is : > > steven at ...40...:~/request_dev> gbx2 -p > kbuildsycoca running... > QObject::disconnect: Unexpected null parameter > steven at ...40...:~/request_dev> gbx2 -p > kbuildsycoca running... > Erreur de segmentation (core dumped) > steven at ...40...:~/request_dev> DCOP Cleaning up dead connections. > > steven at ...40...:~/request_dev> gdb /usr/bin/gbx2 core > GNU gdb (GDB) SUSE (6.8.91.20090930-2.4) > Copyright (C) 2009 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > > This is free software: you are free to change and redistribute > it. > There is NO WARRANTY, to the extent permitted by law. Type "show > copying" > and "show warranty" for > details. > This GDB was configured as > "i586-suse-linux". > For bug reporting instructions, please see: > ... > Reading symbols from /usr/bin/gbx2...(no debugging symbols > found)...done. > Missing separate debuginfo for /lib/ld-linux.so.2 > Try: zypper install -C > "debuginfo(build-id)=43b505ea5e193fa5d7c742793989c5aaa0874e0c" > Core was generated by `gbx2 -p'. > Program terminated with signal 11, Segmentation fault. > #0 0xb48f12d7 in ?? () > (gdb) bt > #0 0xb48f12d7 in ?? () > #1 0xb48f13fb in ?? () > #2 0xb78a9a6f in ?? () > #3 0xb78a6f8f in ?? () > #4 0x0804e4e0 in getgid () > #5 0x081b0250 in ?? () > #6 0x0804ede4 in getgid () > #7 0xb78a6f01 in ?? () > #8 0x0806aeb0 in getgid () > #9 0x08088d08 in ?? () > #10 0x0804f0e5 in getgid () > #11 0xffffffff in ?? () > #12 0x0804f3bb in getgid () > #13 0xbff34afc in ?? () > #14 0x0805cf10 in getgid () > #15 0x08610f58 in ?? () > #16 0x0805d40e in getgid () > #17 0x00000000 in ?? () > (gdb) quit > steven at ...40...:~/request_dev> > > I dont know if this helps, do i do that (installing debug info) ? > > Steven > I should have been more precise: - You must first uninstall the old gambas2 binary packages. - Then you can compile and install gambas2 from the trunk. - When you compile gambas2, dont' do just "make", but the following: $ make "CFLAGS=-O0 -g" "CXXFLAGS=-O0 -g" - Once everything is correctly installed, you can start valgrind again and get more useful details for me. P.S. I got your valgrind output post, but it was too big to be sent to the entire mailing-list (a post cannot be heavier than 256 Kb). Regards, -- Beno?t Minisini From daniel at ...2544... Tue Feb 8 18:47:13 2011 From: daniel at ...2544... (Daniel Fuchs) Date: Tue, 08 Feb 2011 18:47:13 +0100 Subject: [Gambas-user] Circular references In-Reply-To: References: <201102041246.p14Ckv5b023091@...525...> <4D4C0ABD.9090601@...1887...> Message-ID: <4D5181A1.7000407@...2544...> Hello, >ParamDef --> Options --> StopFile --> ParamDef > >Starts from here: > >STATIC PUBLIC SUB Init() > ParamDef.Load(Options.Standard) <--- Comment out and you wont get error message. >END > >Jussi Ok, I've overlooked this. So there is a circular reference between the static parts of classes, but no circular object reference. My question now is: what does this mean for memory allocation, and does it justify an error message? Regards, Daniel From steven at ...1652... Tue Feb 8 19:33:42 2011 From: steven at ...1652... (Steven revimmo) Date: Tue, 08 Feb 2011 19:33:42 +0100 Subject: [Gambas-user] exception 11 In-Reply-To: <201102081825.24052.gambas@...1...> References: <1297098080.6133.128.camel@...40...> <201102081053.24950.gambas@...1...> <1297179718.3373.101.camel@...40...> <201102081825.24052.gambas@...1...> Message-ID: <1297190022.1223.3.camel@...40...> Hi, I did as you told me. Now, the strangest thing happened : The error vanished ! Valgrind gives me just a few lines. Saying that, apart from some memory lost, nothing is wrong. I tried to run the program as normally is done, no problem. All is fine. Only, I have the impression it's a bit slower .. possible ? So, is it ok now, or do you want me to do other test ? Thanks, and regards, Steven Le mardi 08 f?vrier 2011 ? 18:25 +0100, Beno?t Minisini a ?crit : > > After some testing, i found out I had to set the scaled parm to false > > for all the windows. > > So, now I succeeded the first part. The output is : > > > > steven at ...40...:~/request_dev> gbx2 -p > > kbuildsycoca running... > > QObject::disconnect: Unexpected null parameter > > steven at ...40...:~/request_dev> gbx2 -p > > kbuildsycoca running... > > Erreur de segmentation (core dumped) > > steven at ...40...:~/request_dev> DCOP Cleaning up dead connections. > > > > steven at ...40...:~/request_dev> gdb /usr/bin/gbx2 core > > GNU gdb (GDB) SUSE (6.8.91.20090930-2.4) > > Copyright (C) 2009 Free Software Foundation, Inc. > > License GPLv3+: GNU GPL version 3 or later > > > > This is free software: you are free to change and redistribute > > it. > > There is NO WARRANTY, to the extent permitted by law. Type "show > > copying" > > and "show warranty" for > > details. > > This GDB was configured as > > "i586-suse-linux". > > For bug reporting instructions, please see: > > ... > > Reading symbols from /usr/bin/gbx2...(no debugging symbols > > found)...done. > > Missing separate debuginfo for /lib/ld-linux.so.2 > > Try: zypper install -C > > "debuginfo(build-id)=43b505ea5e193fa5d7c742793989c5aaa0874e0c" > > Core was generated by `gbx2 -p'. > > Program terminated with signal 11, Segmentation fault. > > #0 0xb48f12d7 in ?? () > > (gdb) bt > > #0 0xb48f12d7 in ?? () > > #1 0xb48f13fb in ?? () > > #2 0xb78a9a6f in ?? () > > #3 0xb78a6f8f in ?? () > > #4 0x0804e4e0 in getgid () > > #5 0x081b0250 in ?? () > > #6 0x0804ede4 in getgid () > > #7 0xb78a6f01 in ?? () > > #8 0x0806aeb0 in getgid () > > #9 0x08088d08 in ?? () > > #10 0x0804f0e5 in getgid () > > #11 0xffffffff in ?? () > > #12 0x0804f3bb in getgid () > > #13 0xbff34afc in ?? () > > #14 0x0805cf10 in getgid () > > #15 0x08610f58 in ?? () > > #16 0x0805d40e in getgid () > > #17 0x00000000 in ?? () > > (gdb) quit > > steven at ...40...:~/request_dev> > > > > I dont know if this helps, do i do that (installing debug info) ? > > > > Steven > > > > I should have been more precise: > > - You must first uninstall the old gambas2 binary packages. > - Then you can compile and install gambas2 from the trunk. > - When you compile gambas2, dont' do just "make", but the following: > > $ make "CFLAGS=-O0 -g" "CXXFLAGS=-O0 -g" > > - Once everything is correctly installed, you can start valgrind again and get > more useful details for me. > > P.S. I got your valgrind output post, but it was too big to be sent to the > entire mailing-list (a post cannot be heavier than 256 Kb). > > Regards, > From steven at ...1652... Tue Feb 8 19:34:52 2011 From: steven at ...1652... (Steven revimmo) Date: Tue, 08 Feb 2011 19:34:52 +0100 Subject: [Gambas-user] exception 11 In-Reply-To: <201102081825.24052.gambas@...1...> References: <1297098080.6133.128.camel@...40...> <201102081053.24950.gambas@...1...> <1297179718.3373.101.camel@...40...> <201102081825.24052.gambas@...1...> Message-ID: <1297190092.1223.4.camel@...40...> And by the way : all application looks 'normal' now if i run it directly from the command line ??? Nice ! Le mardi 08 f?vrier 2011 ? 18:25 +0100, Beno?t Minisini a ?crit : > > After some testing, i found out I had to set the scaled parm to false > > for all the windows. > > So, now I succeeded the first part. The output is : > > > > steven at ...40...:~/request_dev> gbx2 -p > > kbuildsycoca running... > > QObject::disconnect: Unexpected null parameter > > steven at ...40...:~/request_dev> gbx2 -p > > kbuildsycoca running... > > Erreur de segmentation (core dumped) > > steven at ...40...:~/request_dev> DCOP Cleaning up dead connections. > > > > steven at ...40...:~/request_dev> gdb /usr/bin/gbx2 core > > GNU gdb (GDB) SUSE (6.8.91.20090930-2.4) > > Copyright (C) 2009 Free Software Foundation, Inc. > > License GPLv3+: GNU GPL version 3 or later > > > > This is free software: you are free to change and redistribute > > it. > > There is NO WARRANTY, to the extent permitted by law. Type "show > > copying" > > and "show warranty" for > > details. > > This GDB was configured as > > "i586-suse-linux". > > For bug reporting instructions, please see: > > ... > > Reading symbols from /usr/bin/gbx2...(no debugging symbols > > found)...done. > > Missing separate debuginfo for /lib/ld-linux.so.2 > > Try: zypper install -C > > "debuginfo(build-id)=43b505ea5e193fa5d7c742793989c5aaa0874e0c" > > Core was generated by `gbx2 -p'. > > Program terminated with signal 11, Segmentation fault. > > #0 0xb48f12d7 in ?? () > > (gdb) bt > > #0 0xb48f12d7 in ?? () > > #1 0xb48f13fb in ?? () > > #2 0xb78a9a6f in ?? () > > #3 0xb78a6f8f in ?? () > > #4 0x0804e4e0 in getgid () > > #5 0x081b0250 in ?? () > > #6 0x0804ede4 in getgid () > > #7 0xb78a6f01 in ?? () > > #8 0x0806aeb0 in getgid () > > #9 0x08088d08 in ?? () > > #10 0x0804f0e5 in getgid () > > #11 0xffffffff in ?? () > > #12 0x0804f3bb in getgid () > > #13 0xbff34afc in ?? () > > #14 0x0805cf10 in getgid () > > #15 0x08610f58 in ?? () > > #16 0x0805d40e in getgid () > > #17 0x00000000 in ?? () > > (gdb) quit > > steven at ...40...:~/request_dev> > > > > I dont know if this helps, do i do that (installing debug info) ? > > > > Steven > > > > I should have been more precise: > > - You must first uninstall the old gambas2 binary packages. > - Then you can compile and install gambas2 from the trunk. > - When you compile gambas2, dont' do just "make", but the following: > > $ make "CFLAGS=-O0 -g" "CXXFLAGS=-O0 -g" > > - Once everything is correctly installed, you can start valgrind again and get > more useful details for me. > > P.S. I got your valgrind output post, but it was too big to be sent to the > entire mailing-list (a post cannot be heavier than 256 Kb). > > Regards, > From gambas at ...1... Tue Feb 8 19:46:52 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Tue, 8 Feb 2011 19:46:52 +0100 Subject: [Gambas-user] exception 11 In-Reply-To: <1297190022.1223.3.camel@...40...> References: <1297098080.6133.128.camel@...40...> <201102081825.24052.gambas@...1...> <1297190022.1223.3.camel@...40...> Message-ID: <201102081946.52318.gambas@...1...> > Hi, > > I did as you told me. > Now, the strangest thing happened : > The error vanished ! > > Valgrind gives me just a few lines. > Saying that, apart from some memory lost, nothing is wrong. > > I tried to run the program as normally is done, no problem. > All is fine. > Only, I have the impression it's a bit slower .. possible ? > > So, is it ok now, or do you want me to do other test ? > > Thanks, and regards, > Steven > Strange... The difference between Gambas 2.22 and the svn branch is mainly some bug fixes in gb.gtk. Nothing related to database or speed... Did you get the crash all the time before? -- Beno?t Minisini From steven at ...1652... Wed Feb 9 08:39:32 2011 From: steven at ...1652... (Steven revimmo) Date: Wed, 09 Feb 2011 08:39:32 +0100 Subject: [Gambas-user] exception 11 In-Reply-To: <201102081825.24052.gambas@...1...> References: <1297098080.6133.128.camel@...40...> <201102081053.24950.gambas@...1...> <1297179718.3373.101.camel@...40...> <201102081825.24052.gambas@...1...> Message-ID: <1297237172.6177.7.camel@...40...> Hi beno?t, I investigated a bit more on what happened. For a week, i was still using the version 2.8. Then the problem occurred. So, I thought, the first thing to do was install the latest version (2.22) I downloaded this version (not the trunk) and did ./configure make su make install Now, when you told me to remove the binaries from /usr/bin I've put them in a temp directory (just to be prudent) Here is the listing from that directory : drwxr-xr-x 2 root root 288 f?vr. 8 18:41 . drwxr-xr-x 3 root root 111584 f?vr. 8 18:41 .. -rwxr-xr-x 1 root root 19612 juil. 10 2008 gba2 -rwxr-xr-x 1 root root 84396 juil. 10 2008 gbc2 -rwxr-xr-x 1 root root 78112 janv. 21 2010 gbf-am-parse -rwxr-xr-x 1 root root 47018 janv. 21 2010 gbf-mkfile-parse -rwxr-xr-x 1 root root 23412 juil. 10 2008 gbi2 lrwxrwxrwx 1 root root 4 juil. 11 2008 gbr2 -> gbx2 lrwxrwxrwx 1 root root 11 juil. 11 2008 gbs2 -> gbs2.gambas -rwxr-xr-x 1 root root 13156 juil. 10 2008 gbs2.gambas -rwxr-xr-x 1 root root 193872 juil. 10 2008 gbx2 As you can see, not one file was recent. But, as I launched the programming interface, it told me it was version 2.22 So, I presume that, if you install like that, the binaries are NOT replaced, and actually you still work with an old version. If this is correct, i suppose it's a bug. The binaries should have been replaced by the new ones. Whatever, you be the judge of that. Only hope this info helps in some way. Thanks again, and kindest regards, Steven Le mardi 08 f?vrier 2011 ? 18:25 +0100, Beno?t Minisini a ?crit : > > After some testing, i found out I had to set the scaled parm to false > > for all the windows. > > So, now I succeeded the first part. The output is : > > > > steven at ...40...:~/request_dev> gbx2 -p > > kbuildsycoca running... > > QObject::disconnect: Unexpected null parameter > > steven at ...40...:~/request_dev> gbx2 -p > > kbuildsycoca running... > > Erreur de segmentation (core dumped) > > steven at ...40...:~/request_dev> DCOP Cleaning up dead connections. > > > > steven at ...40...:~/request_dev> gdb /usr/bin/gbx2 core > > GNU gdb (GDB) SUSE (6.8.91.20090930-2.4) > > Copyright (C) 2009 Free Software Foundation, Inc. > > License GPLv3+: GNU GPL version 3 or later > > > > This is free software: you are free to change and redistribute > > it. > > There is NO WARRANTY, to the extent permitted by law. Type "show > > copying" > > and "show warranty" for > > details. > > This GDB was configured as > > "i586-suse-linux". > > For bug reporting instructions, please see: > > ... > > Reading symbols from /usr/bin/gbx2...(no debugging symbols > > found)...done. > > Missing separate debuginfo for /lib/ld-linux.so.2 > > Try: zypper install -C > > "debuginfo(build-id)=43b505ea5e193fa5d7c742793989c5aaa0874e0c" > > Core was generated by `gbx2 -p'. > > Program terminated with signal 11, Segmentation fault. > > #0 0xb48f12d7 in ?? () > > (gdb) bt > > #0 0xb48f12d7 in ?? () > > #1 0xb48f13fb in ?? () > > #2 0xb78a9a6f in ?? () > > #3 0xb78a6f8f in ?? () > > #4 0x0804e4e0 in getgid () > > #5 0x081b0250 in ?? () > > #6 0x0804ede4 in getgid () > > #7 0xb78a6f01 in ?? () > > #8 0x0806aeb0 in getgid () > > #9 0x08088d08 in ?? () > > #10 0x0804f0e5 in getgid () > > #11 0xffffffff in ?? () > > #12 0x0804f3bb in getgid () > > #13 0xbff34afc in ?? () > > #14 0x0805cf10 in getgid () > > #15 0x08610f58 in ?? () > > #16 0x0805d40e in getgid () > > #17 0x00000000 in ?? () > > (gdb) quit > > steven at ...40...:~/request_dev> > > > > I dont know if this helps, do i do that (installing debug info) ? > > > > Steven > > > > I should have been more precise: > > - You must first uninstall the old gambas2 binary packages. > - Then you can compile and install gambas2 from the trunk. > - When you compile gambas2, dont' do just "make", but the following: > > $ make "CFLAGS=-O0 -g" "CXXFLAGS=-O0 -g" > > - Once everything is correctly installed, you can start valgrind again and get > more useful details for me. > > P.S. I got your valgrind output post, but it was too big to be sent to the > entire mailing-list (a post cannot be heavier than 256 Kb). > > Regards, > From steven at ...1652... Wed Feb 9 08:41:08 2011 From: steven at ...1652... (Steven revimmo) Date: Wed, 09 Feb 2011 08:41:08 +0100 Subject: [Gambas-user] exception 11 In-Reply-To: <201102081946.52318.gambas@...1...> References: <1297098080.6133.128.camel@...40...> <201102081825.24052.gambas@...1...> <1297190022.1223.3.camel@...40...> <201102081946.52318.gambas@...1...> Message-ID: <1297237268.6177.9.camel@...40...> No, it was only now since before I never used db.Edit, I always used to work with db.exec. I chose to use it, just to change a bit (for fun). All db.exec code has and is correctly working. Steven Le mardi 08 f?vrier 2011 ? 19:46 +0100, Beno?t Minisini a ?crit : > > Hi, > > > > I did as you told me. > > Now, the strangest thing happened : > > The error vanished ! > > > > Valgrind gives me just a few lines. > > Saying that, apart from some memory lost, nothing is wrong. > > > > I tried to run the program as normally is done, no problem. > > All is fine. > > Only, I have the impression it's a bit slower .. possible ? > > > > So, is it ok now, or do you want me to do other test ? > > > > Thanks, and regards, > > Steven > > > > Strange... The difference between Gambas 2.22 and the svn branch is mainly > some bug fixes in gb.gtk. > > Nothing related to database or speed... > > Did you get the crash all the time before? > From linuxos at ...1896... Wed Feb 9 13:16:02 2011 From: linuxos at ...1896... (Olivier Cruilles) Date: Wed, 9 Feb 2011 13:16:02 +0100 Subject: [Gambas-user] exception 11 In-Reply-To: <1297237268.6177.9.camel@...40...> References: <1297098080.6133.128.camel@...40...> <201102081825.24052.gambas@...1...> <1297190022.1223.3.camel@...40...> <201102081946.52318.gambas@...1...> <1297237268.6177.9.camel@...40...> Message-ID: Hi Steven, When you install a software from sources by compiling it, the only one solution to clean all the previous installation you need to keep the directory where you put the sources and use the following command to uninstall your previous version: 1- go in sources directory of previous gambas version 2- make uninstall 3- go in directory of new version of gambas 4- ./reconf-all 5- ./configure 6- make 7- make install Olivier CRUILLES Le 9 f?vr. 2011 ? 08:41, Steven revimmo a ?crit : > No, it was only now since before I never used db.Edit, I always used to > work with db.exec. > I chose to use it, just to change a bit (for fun). > > All db.exec code has and is correctly working. > > Steven > > > Le mardi 08 f?vrier 2011 ? 19:46 +0100, Beno?t Minisini a ?crit : > >>> Hi, >>> >>> I did as you told me. >>> Now, the strangest thing happened : >>> The error vanished ! >>> >>> Valgrind gives me just a few lines. >>> Saying that, apart from some memory lost, nothing is wrong. >>> >>> I tried to run the program as normally is done, no problem. >>> All is fine. >>> Only, I have the impression it's a bit slower .. possible ? >>> >>> So, is it ok now, or do you want me to do other test ? >>> >>> Thanks, and regards, >>> Steven >>> >> >> Strange... The difference between Gambas 2.22 and the svn branch is mainly >> some bug fixes in gb.gtk. >> >> Nothing related to database or speed... >> >> Did you get the crash all the time before? >> > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From math.eber at ...221... Wed Feb 9 20:13:07 2011 From: math.eber at ...221... (Matti) Date: Wed, 09 Feb 2011 20:13:07 +0100 Subject: [Gambas-user] TextEdit (gb3) Message-ID: <4D52E743.6080008@...221...> Setting TextEdit.ReadOnly = True prevents the text itself being modified by the user, ok. But all the text attributes of TextEdit1.Format.xxx can be modified. You can test this in the TextEdit example. I wonder if this is a bug or feature? I tend to bug, since the HTML source is changed. Regards Matti From gambas at ...2524... Thu Feb 10 02:22:57 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 10 Feb 2011 01:22:57 +0000 Subject: [Gambas-user] Issue 24 in gambas: Desktop.SendKeys("[RETURN]") doesn't work In-Reply-To: <0-6813199134517018827-15429362418293401508-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-15429362418293401508-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-15429362418293401508-gambas=googlecode.com@...2524...> Updates: Status: Invalid Labels: -Version Version-TRUNK Comment #1 on issue 24 by benoit.m... at ...626...: Desktop.SendKeys("[RETURN]") doesn't work http://code.google.com/p/gambas/issues/detail?id=24 The X11 documentation says that you get the key name by removing the 'XK_' prefix. Apparently, that key name is case sensitive. Maybe it was not the case when the example was written. So, now, you must write: Desktop.SendKeys("[Return]") Desktop.SendKeys("[space]") Desktop.SendKeys("[Control_L]") ... I will fix the documentation example anyway. From rterry at ...1946... Thu Feb 10 04:33:57 2011 From: rterry at ...1946... (richard terry) Date: Thu, 10 Feb 2011 14:33:57 +1100 Subject: [Gambas-user] Message Dialog Question Message-ID: <201102101433.57112.rterry@...1946...> With Mesage.Optional a couple of questions 1) What is the key parameter for/how used. 2) Only one button name can be included, ?any reason Regards richard From sbungay at ...981... Thu Feb 10 05:51:49 2011 From: sbungay at ...981... (Stephen Bungay) Date: Wed, 09 Feb 2011 23:51:49 -0500 Subject: [Gambas-user] Movieplayer example Gambas 3.0 Message-ID: <4D536EE5.7090509@...981...> Line # 39 $hProcess = Exec ["mplayer", "-wid", lblMoviePlayer.Handle, Conv$($sPath, Desktop.Charset, System.Charset)] For Read Write results in this error Type mismatch: Wanted String[] got Variant[] instead the problem is with lblMoviePlayer.Handle... has something fundamentaly changed with Exec? The movieplayer example does not work under 2.99 and it only produces a black output window under 2.22 (although no type mismatch error in 2.22), neither one works though. Steve. [OperatingSystem] OperatingSystem=Linux KernelRelease=2.6.34.7-61.fc13.i686 DistributionVendor=redhat DistributionRelease=Fedora release 13 (Goddard) [System] CPUArchitecture=i686 TotalRam=2044968 kB [Gambas] Gambas1=Not Installed Gambas2=2.22.0 Gambas2Path=/usr/bin/gbx2 Gambas3=2.99.0 Gambas3Path=/usr/local/bin/gbx3 From jussi.lahtinen at ...626... Thu Feb 10 14:18:31 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 10 Feb 2011 15:18:31 +0200 Subject: [Gambas-user] Movieplayer example Gambas 3.0 In-Reply-To: <4D536EE5.7090509@...981...> References: <4D536EE5.7090509@...981...> Message-ID: Try latest revision of Gambas 3. This is fixed to Cstr(lblMoviePlayer.Handle) . Jussi On Thu, Feb 10, 2011 at 06:51, Stephen Bungay wrote: > Line # 39 > > $hProcess = Exec ["mplayer", "-wid", lblMoviePlayer.Handle, > Conv$($sPath, Desktop.Charset, System.Charset)] For Read Write > > > results in this error > > Type mismatch: Wanted String[] got Variant[] instead > > > the problem is with lblMoviePlayer.Handle... has something fundamentaly > changed with Exec? The movieplayer example does not work under 2.99 and > it only produces a black output window under 2.22 (although no type > mismatch error in 2.22), neither one works though. > > > Steve. > > [OperatingSystem] > > OperatingSystem=Linux > > KernelRelease=2.6.34.7-61.fc13.i686 > > DistributionVendor=redhat > > DistributionRelease=Fedora release 13 (Goddard) > > [System] > > CPUArchitecture=i686 > > TotalRam=2044968 kB > > [Gambas] > > Gambas1=Not Installed > > Gambas2=2.22.0 > > Gambas2Path=/usr/bin/gbx2 > > Gambas3=2.99.0 > > Gambas3Path=/usr/local/bin/gbx3 > > > > > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sbungay at ...981... Thu Feb 10 14:33:23 2011 From: sbungay at ...981... (Stephen Bungay) Date: Thu, 10 Feb 2011 08:33:23 -0500 Subject: [Gambas-user] Movieplayer example Gambas 3.0 In-Reply-To: References: <4D536EE5.7090509@...981...> Message-ID: <4D53E923.9010203@...981...> On 02/10/2011 08:18 AM, Jussi Lahtinen wrote: > Try latest revision of Gambas 3. > This is fixed to Cstr(lblMoviePlayer.Handle) . > > Jussi > > > > On Thu, Feb 10, 2011 at 06:51, Stephen Bungay wrote: > >> Line # 39 >> >> $hProcess = Exec ["mplayer", "-wid", lblMoviePlayer.Handle, >> Conv$($sPath, Desktop.Charset, System.Charset)] For Read Write >> >> >> results in this error >> >> Type mismatch: Wanted String[] got Variant[] instead >> >> >> the problem is with lblMoviePlayer.Handle... has something fundamentaly >> changed with Exec? The movieplayer example does not work under 2.99 and >> it only produces a black output window under 2.22 (although no type >> mismatch error in 2.22), neither one works though. >> >> >> Steve. >> >> [OperatingSystem] >> >> OperatingSystem=Linux >> >> KernelRelease=2.6.34.7-61.fc13.i686 >> >> DistributionVendor=redhat >> >> DistributionRelease=Fedora release 13 (Goddard) >> >> [System] >> >> CPUArchitecture=i686 >> >> TotalRam=2044968 kB >> >> [Gambas] >> >> Gambas1=Not Installed >> >> Gambas2=2.22.0 >> >> Gambas2Path=/usr/bin/gbx2 >> >> Gambas3=2.99.0 >> >> Gambas3Path=/usr/local/bin/gbx3 >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: >> Pinpoint memory and threading errors before they happen. >> Find and fix more than 250 security defects in the development cycle. >> Locate bottlenecks in serial and parallel code that limit performance. >> http://p.sf.net/sfu/intel-dev2devfeb >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > I could have sworn I tried that last night (early this morning) before asking the list. Of course it works perfectly, egads I hate it when I do that. From sbungay at ...981... Thu Feb 10 14:23:35 2011 From: sbungay at ...981... (Stephen Bungay) Date: Thu, 10 Feb 2011 08:23:35 -0500 Subject: [Gambas-user] A little perplexed... In-Reply-To: <201102072015.31747.gambas@...1...> References: <4D4EC3D4.3050902@...981...> <201102072015.31747.gambas@...1...> Message-ID: <4D53E6D7.5070902@...981...> Thank you for the reply Benoit. On 02/07/2011 02:15 PM, Beno?t Minisini wrote: >> Trying to get the dev environment up and running on CentOS 5.5, no QT >> installed. "./configure" reports that qt is disabled and successfully >> completes. "make install" also successfully completes, gambas2 >> isinstalled but, when invoked it reports that it is unable to locate the >> gb.qt library. Now given that the qt component is disabled, why is this >> error coming up? >> > The gambas2 IDE needs the gb.qt component. But not necessarily all other > gambas program. So you can compile gambas without gb.qt, but then you can't > run the IDE. > > Regards, > From jussi.lahtinen at ...626... Thu Feb 10 18:10:54 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 10 Feb 2011 19:10:54 +0200 Subject: [Gambas-user] Ideas? Message-ID: Hi! Any ideas how to implement following? I need to make open forms to refresh when they get signal from main module. User need to be freely open or close forms as like. So I don't know are they valid objects or not. So, form should have some kind of event handler, and event should be able to rise from module. Now I have timer to check if signal is given, but I'm sure there are better way to do this. Jussi From doriano.blengino at ...1909... Thu Feb 10 18:32:17 2011 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Thu, 10 Feb 2011 18:32:17 +0100 Subject: [Gambas-user] Ideas? In-Reply-To: References: Message-ID: <4D542121.5070404@...1909...> Jussi Lahtinen ha scritto: > Hi! > Any ideas how to implement following? > > I need to make open forms to refresh when they get signal from main module. > User need to be freely open or close forms as like. So I don't know are they > valid objects or not. > > So, form should have some kind of event handler, and event should be able to > rise from module. > > Now I have timer to check if signal is given, but I'm sure there are better > way to do this. > Every time you open a form (i.e., in its form_open event handler) you could use something like: ' in every "slave" form DIM hObserver AS Observer hObserver = NEW Observer(hT, FALSE) AS "mysignal" At this point, from the main form you can raise signals that will be catched by your opened forms: ' in every "slave" form public sub mysignal_refresh(...) ...do what to do when a refresh signal is received In your main form, when you want to refresh the other slave forms, you issue: raise refresh You can even use formal parameters, to pass data from main to slaves. Or you can define several types of events. This should work... let me know :-) Regards, Doriano From jussi.lahtinen at ...626... Thu Feb 10 20:02:39 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 10 Feb 2011 21:02:39 +0200 Subject: [Gambas-user] Ideas? In-Reply-To: <4D542121.5070404@...1909...> References: <4D542121.5070404@...1909...> Message-ID: Thanks! Works perfectly! Jussi On Thu, Feb 10, 2011 at 19:32, Doriano Blengino < doriano.blengino at ...1909...> wrote: > Jussi Lahtinen ha scritto: > > Hi! > > Any ideas how to implement following? > > > > I need to make open forms to refresh when they get signal from main > module. > > User need to be freely open or close forms as like. So I don't know are > they > > valid objects or not. > > > > So, form should have some kind of event handler, and event should be able > to > > rise from module. > > > > Now I have timer to check if signal is given, but I'm sure there are > better > > way to do this. > > > Every time you open a form (i.e., in its form_open event handler) you > could use something like: > > ' in every "slave" form > DIM hObserver AS Observer > hObserver = NEW Observer(hT, FALSE) AS "mysignal" > > At this point, from the main form you can raise signals that will be > catched by your opened forms: > > ' in every "slave" form > public sub mysignal_refresh(...) > ...do what to do when a refresh signal is received > > In your main form, when you want to refresh the other slave forms, you > issue: > > raise refresh > > You can even use formal parameters, to pass data from main to slaves. > Or you can define several types of events. > > This should work... let me know :-) > > Regards, > Doriano > > > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From math.eber at ...221... Thu Feb 10 20:59:15 2011 From: math.eber at ...221... (Matti) Date: Thu, 10 Feb 2011 20:59:15 +0100 Subject: [Gambas-user] Message Dialog Question In-Reply-To: <201102101433.57112.rterry@...1946...> References: <201102101433.57112.rterry@...1946...> Message-ID: <4D544393.8050906@...221...> 1. Key parameter: Looking at the source code, I found: key is just a string for a settings entry, you can choose it as you like. You could for example do Message.Optional("This is my message", "OK", "ShowAgain") The message is displayed. If you click on "Don't show this message again", an entry in the settings file is generated: [HiddenMessage] ShowAgain=True. You find this file in ~.config/gambas3/ProjectName.conf As long as the entry is "True", the message will not be displayed anymore. Edit the file and set the entry to "False", and the message will show up again. 2. Only one button This is just an information message. Nothing to decide, no more buttons needed. @ Beno?t: Message.Title doesn't work with Message.Optional. Regards Matti Am 10.02.2011 04:33, schrieb richard terry: > With Mesage.Optional a couple of questions > 1) What is the key parameter for/how used. > > 2) Only one button name can be included, ?any reason > > Regards > > richard > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From rterry at ...1946... Thu Feb 10 22:40:09 2011 From: rterry at ...1946... (richard terry) Date: Fri, 11 Feb 2011 08:40:09 +1100 Subject: [Gambas-user] Message Dialog Question In-Reply-To: <4D544393.8050906@...221...> References: <201102101433.57112.rterry@...1946...> <4D544393.8050906@...221...> Message-ID: <201102110840.09336.rterry@...1946...> On Friday 11 February 2011 06:59:15 Matti wrote: Thanks, Matti, I'll digest this tonight when I get home. Richard > 1. Key parameter: > Looking at the source code, I found: key is just a string for a settings > entry, you can choose it as you like. > You could for example do > Message.Optional("This is my message", "OK", "ShowAgain") > The message is displayed. > If you click on "Don't show this message again", an entry in the settings > file is generated: [HiddenMessage] ShowAgain=True. > You find this file in ~.config/gambas3/ProjectName.conf > As long as the entry is "True", the message will not be displayed anymore. > Edit the file and set the entry to "False", and the message will show up > again. > > 2. Only one button > This is just an information message. Nothing to decide, no more buttons > needed. > > @ Beno?t: > Message.Title doesn't work with Message.Optional. > > Regards > Matti > > Am 10.02.2011 04:33, schrieb richard terry: > > With Mesage.Optional a couple of questions > > 1) What is the key parameter for/how used. > > > > 2) Only one button name can be included, ?any reason > > > > Regards > > > > richard > > > > ------------------------------------------------------------------------- > >----- The ultimate all-in-one performance toolkit: Intel(R) Parallel > > Studio XE: Pinpoint memory and threading errors before they happen. > > Find and fix more than 250 security defects in the development cycle. > > Locate bottlenecks in serial and parallel code that limit performance. > > http://p.sf.net/sfu/intel-dev2devfeb > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > --------------------------------------------------------------------------- > --- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio > XE: Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From math.eber at ...221... Thu Feb 10 22:53:17 2011 From: math.eber at ...221... (Matti) Date: Thu, 10 Feb 2011 22:53:17 +0100 Subject: [Gambas-user] Message Dialog Question In-Reply-To: <201102110840.09336.rterry@...1946...> References: <201102101433.57112.rterry@...1946...> <4D544393.8050906@...221...> <201102110840.09336.rterry@...1946...> Message-ID: <4D545E4D.2090707@...221...> A better understandable key in my example would be of course "DontShowAgain"... ;-) Am 10.02.2011 22:40, schrieb richard terry: > On Friday 11 February 2011 06:59:15 Matti wrote: > > Thanks, Matti, I'll digest this tonight when I get home. > > Richard > >> 1. Key parameter: >> Looking at the source code, I found: key is just a string for a settings >> entry, you can choose it as you like. >> You could for example do >> Message.Optional("This is my message", "OK", "ShowAgain") >> The message is displayed. >> If you click on "Don't show this message again", an entry in the settings >> file is generated: [HiddenMessage] ShowAgain=True. >> You find this file in ~.config/gambas3/ProjectName.conf >> As long as the entry is "True", the message will not be displayed anymore. >> Edit the file and set the entry to "False", and the message will show up >> again. >> >> 2. Only one button >> This is just an information message. Nothing to decide, no more buttons >> needed. >> >> @ Beno?t: >> Message.Title doesn't work with Message.Optional. >> >> Regards >> Matti >> >> Am 10.02.2011 04:33, schrieb richard terry: >>> With Mesage.Optional a couple of questions >>> 1) What is the key parameter for/how used. >>> >>> 2) Only one button name can be included, ?any reason >>> >>> Regards >>> >>> richard >>> >>> ------------------------------------------------------------------------- >>> ----- The ultimate all-in-one performance toolkit: Intel(R) Parallel >>> Studio XE: Pinpoint memory and threading errors before they happen. >>> Find and fix more than 250 security defects in the development cycle. >>> Locate bottlenecks in serial and parallel code that limit performance. >>> http://p.sf.net/sfu/intel-dev2devfeb >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> --------------------------------------------------------------------------- >> --- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio >> XE: Pinpoint memory and threading errors before they happen. >> Find and fix more than 250 security defects in the development cycle. >> Locate bottlenecks in serial and parallel code that limit performance. >> http://p.sf.net/sfu/intel-dev2devfeb >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sbungay at ...981... Fri Feb 11 17:00:49 2011 From: sbungay at ...981... (Stephen Bungay) Date: Fri, 11 Feb 2011 11:00:49 -0500 Subject: [Gambas-user] Arrays of controls.. Message-ID: <4D555D31.2050107@...981...> Given the following code (Gambas 2.22) PUBLIC SUB Form_Open() DIM X AS Integer DIM ButtonArray[10] AS Object FOR X = 0 TO 9 ButtonArray[X] = NEW Button(ME) WITH ButtonArray[X] .X = 90 + (20 * x) .Y = 100 .Width = 20 .height = 20 END WITH NEXT END How then would one trap the events being raised by a click on one of the buttons in ButtonArray[]? I'm assuming (a bad thing... I know) that the array 'ButtonArray' persists after Form_Open completes and until the form is closed. From math.eber at ...221... Fri Feb 11 17:35:44 2011 From: math.eber at ...221... (Matti) Date: Fri, 11 Feb 2011 17:35:44 +0100 Subject: [Gambas-user] Arrays of controls.. In-Reply-To: <4D555D31.2050107@...981...> References: <4D555D31.2050107@...981...> Message-ID: <4D556560.6000208@...221...> First, put the buttons in a group that can catch events: ButtonArray[X] = NEW Button(ME) as "Buttons" Then, give every button an individual Tag: .height = 20 .Tag = X And the event to see which one is clicked: Public Sub Buttons_Click() ' reacts to all the buttons Dim i As Integer i = Last.Tag 'reads the Tag, so you see which one it was Print i Select Case ..... End Select End Am 11.02.2011 17:00, schrieb Stephen Bungay: > Given the following code (Gambas 2.22) > > PUBLIC SUB Form_Open() > DIM X AS Integer > DIM ButtonArray[10] AS Object > > FOR X = 0 TO 9 > ButtonArray[X] = NEW Button(ME) > WITH ButtonArray[X] > .X = 90 + (20 * x) > .Y = 100 > .Width = 20 > .height = 20 > END WITH > NEXT > > END > > > How then would one trap the events being raised by a click on one of > the buttons in ButtonArray[]? > > I'm assuming (a bad thing... I know) that the array 'ButtonArray' > persists after Form_Open completes and until the form is closed. > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sbungay at ...981... Fri Feb 11 21:18:22 2011 From: sbungay at ...981... (Stephen Bungay) Date: Fri, 11 Feb 2011 15:18:22 -0500 Subject: [Gambas-user] Arrays of controls.. In-Reply-To: <4D556560.6000208@...221...> References: <4D555D31.2050107@...981...> <4D556560.6000208@...221...> Message-ID: <4D55998E.7050505@...981...> Hi Matti! Thanks for the reply. OK, that also works when everything is all on in the one form class. Let me clarify. We have two forms, FMain and FormButtons. FMain has on it a TabStrip container (TabStrip1) and nothing else. FormButtons has on it one (1) Toggle Button called ToggleButton1 which serves as a test-case control (we know that its event will trap). FMain.class contains this logic (and only this logic) ' Gambas class file PRIVATE ButtonForm AS FormButtons PUBLIC SUB Form_Open() TabStrip1.Index = 0 ButtonForm = NEW FormButtons(TabStrip1) AS "ButtonForm" END FormButtons contains this logic... ' Gambas class file PUBLIC SUB Form_Open() DIM X AS Integer DIM ButtonArray[10] AS Object DIM myToggleButton AS ToggleButton FOR X = 0 TO 9 ButtonArray[X] = NEW ToggleButton(ME) AS "ToggleButtons" WITH ButtonArray[X] .X = 90 + (20 * x) .Y = 100 .Width = 20 .height = 20 .tag = x END WITH NEXT END ' This one does not trap PRIVATE SUB ToggleButtons_click() STOP END ' This one does trap PUBLIC SUB ToggleButton1_Click() STOP END So what I expect to happen is that FormButtons has the ToggleButtons dynamically created and placed on itself (this does happen), then it in-turn gets placed on FMain inside TabStrip1 (this also happens), and when one of the dynamically created toggle buttons is clicked the click event "ToggleButtons_click" fires (this does NOT happen). However, if one clicks on the button that is not dynamically created (ToggleButton1) its event does fire and code execution encounters the STOP statement. Try it out. On 02/11/2011 11:35 AM, Matti wrote: > First, put the buttons in a group that can catch events: > ButtonArray[X] = NEW Button(ME) as "Buttons" > > Then, give every button an individual Tag: > .height = 20 > .Tag = X > > And the event to see which one is clicked: > Public Sub Buttons_Click() ' reacts to all the buttons > Dim i As Integer > > i = Last.Tag 'reads the Tag, so you see which one it was > Print i > > Select Case > ..... > End Select > End > > > > Am 11.02.2011 17:00, schrieb Stephen Bungay: >> Given the following code (Gambas 2.22) >> >> PUBLIC SUB Form_Open() >> DIM X AS Integer >> DIM ButtonArray[10] AS Object >> >> FOR X = 0 TO 9 >> ButtonArray[X] = NEW Button(ME) >> WITH ButtonArray[X] >> .X = 90 + (20 * x) >> .Y = 100 >> .Width = 20 >> .height = 20 >> END WITH >> NEXT >> >> END >> >> >> How then would one trap the events being raised by a click on one of >> the buttons in ButtonArray[]? >> >> I'm assuming (a bad thing... I know) that the array 'ButtonArray' >> persists after Form_Open completes and until the form is closed. >> >> ------------------------------------------------------------------------------ >> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: >> Pinpoint memory and threading errors before they happen. >> Find and fix more than 250 security defects in the development cycle. >> Locate bottlenecks in serial and parallel code that limit performance. >> http://p.sf.net/sfu/intel-dev2devfeb >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From ea7dfh at ...2382... Fri Feb 11 22:00:28 2011 From: ea7dfh at ...2382... (EA7DFH) Date: Fri, 11 Feb 2011 22:00:28 +0100 Subject: [Gambas-user] Arrays of controls.. In-Reply-To: <4D55998E.7050505@...981...> References: <4D555D31.2050107@...981...> <4D556560.6000208@...221...> <4D55998E.7050505@...981...> Message-ID: <4D55A36C.8020304@...2382...> El 11/02/11 21:18, Stephen Bungay escribi?: > ' This one does not trap > PRIVATE SUB ToggleButtons_click() > STOP > END > > the click > event "ToggleButtons_click" fires (this does NOT happen). Well, I think you *must* declare as PUBLIC this method to work. PUBLIC SUB ToggleButtons_click() PRINT LAST.tag END Tell us if it worked Regards -- Jesus, EA7DFH From gambas at ...2524... Sat Feb 12 00:36:18 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 11 Feb 2011 23:36:18 +0000 Subject: [Gambas-user] Issue 29 in gambas: Draw then DrawAlpha with imlib component produces error Message-ID: <0-6813199134517018827-8430516319316447791-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 29 by kevinfis... at ...1887...: Draw then DrawAlpha with imlib component produces error http://code.google.com/p/gambas/issues/detail?id=29 This code (project attached): Dim image1 As Image = New Image(128, 128, 0, 0) Dim image2 As Image = New Image(128, 128, 0, 0) Dim image3 As Image = New Image(128, 128, 0, 0) image1.Draw(image2, 0, 0) image1.DrawAlpha(image3, 0, 0) produces the following runtime error: "The source image and the destination image must have the same format" The error does not occur when the order of the two draw statements is reversed. The problem still occurs when the images are loaded from file rather than explicitly created. Checking the properties of the two images shows identical results as far as I can tell. Here's where things get really strange. If I open the property window for image1 (double-click the variable name) and step-execute (F8) the line "image1.Draw(image2, 0, 0)" it raises signal 11. If I step-execute up to the last line, open the property window for image1, then step-execute the last line the DrawAlpha statement actually works...no error message at all. It's almost like just bringing up the property window modifies image1 such that DrawAlpha under imlib is made happy and doesn't throw the error. Version: gb3/TRUNK Operating system: Ubuntu 10.10 ia64 GUI component: GTK+ Desktop used: Gnome Attachments: gb3_test.tar.bz2 5.6 KB From gambas at ...2524... Sat Feb 12 02:04:03 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 12 Feb 2011 01:04:03 +0000 Subject: [Gambas-user] Issue 30 in gambas: someimage.Draw in imlib component raises signal 11 upon second execution Message-ID: <0-6813199134517018827-5989043626391224390-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 30 by kevinfis... at ...1887...: someimage.Draw in imlib component raises signal 11 upon second execution http://code.google.com/p/gambas/issues/detail?id=30 The capitalized line in the following code causes a signal 11 the second time it is executed (project attached): Public Sub Form_Open() Dim workspace As Image = New Image(512, 512, Color.RGB(0, 0, 0, 0), 0) Dim image1 As Image = Image.Load("test1.png") Dim image2 As Image = Image.Load("test2.png") Dim t As Float = Timer Dim frames As Long Dim width As Long Dim height As Long Do Draw.Begin(DrawingArea) WORKSPACE.DRAW(IMAGE1, 0, 0) workspace.Draw(image2, 0, 0) Draw.Image(workspace, 0, 0) frames = frames + 1 Draw.End Wait Loop Until Timer - t >= 15 Print Fix(frames / 15) & " frames per second." End Version: gb3/TRUNK Operating system: Ubuntu 10.10 ia64 GUI component: GTK+ Desktop used: Gnome Attachments: gb3_fps_calculator.tar.bz2 579 KB From gambas at ...2524... Sat Feb 12 02:11:06 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 12 Feb 2011 01:11:06 +0000 Subject: [Gambas-user] Issue 30 in gambas: someimage.Draw in imlib component raises signal 11 upon second execution In-Reply-To: <0-6813199134517018827-5989043626391224390-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-5989043626391224390-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-5989043626391224390-gambas=googlecode.com@...2524...> Comment #1 on issue 30 by kevinfis... at ...1887...: someimage.Draw in imlib component raises signal 11 upon second execution http://code.google.com/p/gambas/issues/detail?id=30 Things that make the code NOT crash include: 1) Commenting out "Draw.Image(workspace, 0, 0)". 2) Commenting out both "workspace.Draw(image1, 0, 0)" and "workspace.Draw(image2, 0, 0)". 3) Moving both "workspace.Draw(image1, 0, 0)" and "workspace.Draw(image2, 0, 0)" outside the Do...Loop. 4) Disabling the imlib component and just using gb.image. From gambas at ...2524... Sat Feb 12 03:10:27 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 12 Feb 2011 02:10:27 +0000 Subject: [Gambas-user] Issue 29 in gambas: Draw then DrawAlpha with imlib component produces error In-Reply-To: <0-6813199134517018827-8430516319316447791-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-8430516319316447791-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-8430516319316447791-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version -GUI-Any Version-TRUNK GUI-GTK Comment #1 on issue 29 by benoit.m... at ...626...: Draw then DrawAlpha with imlib component produces error http://code.google.com/p/gambas/issues/detail?id=29 (No comment was entered for this change.) From sbungay at ...981... Sat Feb 12 05:34:25 2011 From: sbungay at ...981... (Stephen Bungay) Date: Fri, 11 Feb 2011 23:34:25 -0500 Subject: [Gambas-user] Arrays of controls.. In-Reply-To: <4D55A36C.8020304@...2382...> References: <4D555D31.2050107@...981...> <4D556560.6000208@...221...> <4D55998E.7050505@...981...> <4D55A36C.8020304@...2382...> Message-ID: <4D560DD1.5020906@...981...> Yes it worked. I'm just so used to typing PRIVATE SUB ... that I gapped it and then couldn't see the forest for the darn trees in the way. On 02/11/2011 04:00 PM, EA7DFH wrote: > El 11/02/11 21:18, Stephen Bungay escribi?: > > > >> ' This one does not trap >> PRIVATE SUB ToggleButtons_click() >> STOP >> END >> >> the click >> event "ToggleButtons_click" fires (this does NOT happen). > Well, I think you *must* declare as PUBLIC this method to work. > > PUBLIC SUB ToggleButtons_click() > PRINT LAST.tag > END > > > Tell us if it worked > > Regards From ian.roper at ...1974... Sat Feb 12 08:29:40 2011 From: ian.roper at ...1974... (Ian Roper) Date: Sat, 12 Feb 2011 15:29:40 +0800 Subject: [Gambas-user] Error writing Binary data - Gambas 2.99.0 In-Reply-To: <4D560DD1.5020906@...981...> References: <4D555D31.2050107@...981...> <4D556560.6000208@...221...> <4D55998E.7050505@...981...> <4D55A36C.8020304@...2382...> <4D560DD1.5020906@...981...> Message-ID: <1297495780.3640.25.camel@...2506...> Greetings all, I am trying to write some simple binary data to a file being ~ Integers 1 - 5000 I keep getting this error [Error: Type missmatch : wanted string , got integer instead.] So I copied the example from as below. This code comes up with the same error ? DIM binaryFile AS File DIM i AS Integer = 10 DIM b AS Byte = 4 DIM s AS Short = 23 DIM s1 AS String = "This is string 1" DIM s2 AS String = "Another string" ' Open as create so we get a new file binaryFile = OPEN FilePath FOR CREATE WRITE #binaryFile, i '<<----------<<<<<< Error occurs here. WRITE #binaryFile, b WRITE #binaryFile, s WRITE #binaryFile, s1 WRITE #binaryFile, s2 CLOSE #binaryFile Confirmed I have write access : changed WRITE to use a string variable and it works fine. Changed to Gambas 2.22 and same code worked as it should, - able to write & read. Can someone else please test. Thanks in advance. Regards, Ian Roper Perth Western Australia. From gambas at ...2524... Sat Feb 12 18:12:52 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 12 Feb 2011 17:12:52 +0000 Subject: [Gambas-user] Issue 29 in gambas: Draw then DrawAlpha with imlib component produces error In-Reply-To: <1-6813199134517018827-8430516319316447791-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-8430516319316447791-gambas=googlecode.com@...2524...> <0-6813199134517018827-8430516319316447791-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-8430516319316447791-gambas=googlecode.com@...2524...> Comment #2 on issue 29 by benoit.m... at ...626...: Draw then DrawAlpha with imlib component produces error http://code.google.com/p/gambas/issues/detail?id=29 The error message is only raised with gb.gtk. Each GUI component defines a default image internal format. "RGBA" for gb.gtk, "BGRA" for gb.qt4, that is used when you create an image. Moreover, each component processing images (gb.image.effect, gb.image.imlib...) uses its own internal format. gb.image.imlib uses "BGRA". So, when you use gb.gtk, you create an "RGBA" image. The Draw method is the gb.image.imlib one, that internally returns a "BGRA" image. Then you call DrawAlpha with a RGBA image, and gets the format mismatch error. Why are you using gb.gtk? As for the crash, you must create another issue for it. From gambas at ...2524... Sat Feb 12 18:21:55 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 12 Feb 2011 17:21:55 +0000 Subject: [Gambas-user] Issue 30 in gambas: someimage.Draw in imlib component raises signal 11 upon second execution In-Reply-To: <1-6813199134517018827-5989043626391224390-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-5989043626391224390-gambas=googlecode.com@...2524...> <0-6813199134517018827-5989043626391224390-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-5989043626391224390-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version -GUI-Any Version-TRUNK GUI-GTK Comment #2 on issue 30 by benoit.m... at ...626...: someimage.Draw in imlib component raises signal 11 upon second execution http://code.google.com/p/gambas/issues/detail?id=30 (No comment was entered for this change.) From gambas at ...2524... Sat Feb 12 19:27:27 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 12 Feb 2011 18:27:27 +0000 Subject: [Gambas-user] Issue 30 in gambas: someimage.Draw in imlib component raises signal 11 upon second execution In-Reply-To: <2-6813199134517018827-5989043626391224390-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-5989043626391224390-gambas=googlecode.com@...2524...> <0-6813199134517018827-5989043626391224390-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-5989043626391224390-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #3 on issue 30 by benoit.m... at ...626...: someimage.Draw in imlib component raises signal 11 upon second execution http://code.google.com/p/gambas/issues/detail?id=30 Fixed in revision #3559. From gambas at ...2524... Sat Feb 12 20:00:48 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 12 Feb 2011 19:00:48 +0000 Subject: [Gambas-user] Issue 29 in gambas: Draw then DrawAlpha with imlib component produces error In-Reply-To: <2-6813199134517018827-8430516319316447791-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-8430516319316447791-gambas=googlecode.com@...2524...> <0-6813199134517018827-8430516319316447791-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-8430516319316447791-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #3 on issue 29 by benoit.m... at ...626...: Draw then DrawAlpha with imlib component produces error http://code.google.com/p/gambas/issues/detail?id=29 Fixed in revision #3562. DrawAlpha() now can deal with images having different formats. Please create a distinct issue for the crash. From gambas at ...1... Sat Feb 12 22:16:40 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sat, 12 Feb 2011 22:16:40 +0100 Subject: [Gambas-user] Message Dialog Question In-Reply-To: <4D544393.8050906@...221...> References: <201102101433.57112.rterry@...1946...> <4D544393.8050906@...221...> Message-ID: <201102122216.40420.gambas@...1...> > @ Beno?t: > Message.Title doesn't work with Message.Optional. > > Regards > Matti > Fixed in revision #3561. Regards, -- Beno?t Minisini From gambas at ...1... Sat Feb 12 22:18:54 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sat, 12 Feb 2011 22:18:54 +0100 Subject: [Gambas-user] TextEdit (gb3) In-Reply-To: <4D52E743.6080008@...221...> References: <4D52E743.6080008@...221...> Message-ID: <201102122218.55028.gambas@...1...> > Setting TextEdit.ReadOnly = True prevents the text itself being modified by > the user, ok. > But all the text attributes of TextEdit1.Format.xxx can be modified. > You can test this in the TextEdit example. > I wonder if this is a bug or feature? > I tend to bug, since the HTML source is changed. > > Regards > Matti > ReadOnly = True actually means that the user cannot change the text, not the programmer. So it does not shoke me if the Format.xxxx methods and properties have still an effect. Regards, -- Beno?t Minisini From gambas at ...2524... Sat Feb 12 22:44:34 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 12 Feb 2011 21:44:34 +0000 Subject: [Gambas-user] Issue 29 in gambas: Draw then DrawAlpha with imlib component produces error In-Reply-To: <3-6813199134517018827-8430516319316447791-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-8430516319316447791-gambas=googlecode.com@...2524...> <0-6813199134517018827-8430516319316447791-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-8430516319316447791-gambas=googlecode.com@...2524...> Comment #4 on issue 29 by benoit.m... at ...626...: Draw then DrawAlpha with imlib component produces error http://code.google.com/p/gambas/issues/detail?id=29 Note that I can't reproduce the crash since issue 29 and issue 30 have been fixed. From gambas at ...2524... Sat Feb 12 22:57:36 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 12 Feb 2011 21:57:36 +0000 Subject: [Gambas-user] Issue 25 in gambas: Gtk+ Menu Item and underscore (shortcut) In-Reply-To: <0-6813199134517018827-18305608098798441036-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-18305608098798441036-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-18305608098798441036-gambas=googlecode.com@...2524...> Updates: Status: WontFix Labels: -Version Version-Any Comment #1 on issue 25 by benoit.m... at ...626...: Gtk+ Menu Item and underscore (shortcut) http://code.google.com/p/gambas/issues/detail?id=25 It depends on the GTK+ theme you choose. Apparently the default Ubuntu GTK+ theme does not underline shortcut characters in the menu bar, but the default Ubuntu Qt4 theme does. From gambas at ...2524... Sat Feb 12 23:02:37 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 12 Feb 2011 22:02:37 +0000 Subject: [Gambas-user] Issue 25 in gambas: Gtk+ Menu Item and underscore (shortcut) In-Reply-To: <1-6813199134517018827-18305608098798441036-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-18305608098798441036-gambas=googlecode.com@...2524...> <0-6813199134517018827-18305608098798441036-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-18305608098798441036-gambas=googlecode.com@...2524...> Updates: Status: Invalid Comment #2 on issue 25 by benoit.m... at ...626...: Gtk+ Menu Item and underscore (shortcut) http://code.google.com/p/gambas/issues/detail?id=25 (No comment was entered for this change.) From gambas at ...2524... Sat Feb 12 23:06:38 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 12 Feb 2011 22:06:38 +0000 Subject: [Gambas-user] Issue 27 in gambas: gridview column width inconsistency In-Reply-To: <0-6813199134517018827-14449542985247243903-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-14449542985247243903-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-14449542985247243903-gambas=googlecode.com@...2524...> Updates: Status: Invalid Labels: -Version Version-Any Comment #1 on issue 27 by benoit.m... at ...626...: gridview column width inconsistency http://code.google.com/p/gambas/issues/detail?id=27 Columns.Width sets the width of all current columns. So, the first time you press the buttons, there is no columns, so nothing is set. In other words, you must set Columns.Count before setting Columns.Width. From gambas at ...2524... Sat Feb 12 23:10:40 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 12 Feb 2011 22:10:40 +0000 Subject: [Gambas-user] Issue 23 in gambas: Resizing a form in IDE through the height or width property does not work properly In-Reply-To: <3-6813199134517018827-6999584546661461069-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-6999584546661461069-gambas=googlecode.com@...2524...> <0-6813199134517018827-6999584546661461069-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-6999584546661461069-gambas=googlecode.com@...2524...> Updates: Labels: -Version-Any Version-TRUNK Comment #4 on issue 23 by benoit.m... at ...626...: Resizing a form in IDE through the height or width property does not work properly http://code.google.com/p/gambas/issues/detail?id=23 (No comment was entered for this change.) From zz84.kh at ...626... Sat Feb 12 23:21:20 2011 From: zz84.kh at ...626... (Eugeny Gazzaev) Date: Sun, 13 Feb 2011 00:21:20 +0200 Subject: [Gambas-user] EXEC Gambas code from Gambas project In-Reply-To: References: Message-ID: <1297549280.13695.10.camel@...2546...> Greetings! How can exec Gambas code from project? For example Im have TextArea control on form, that contain Gambas code, and want exec this code? I want make something like hooks in project functions, where user can add own code (bookkeeper warehouse program) Thank! Sorry for my english -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: ??? ????? ????????? ????????? ???????? ???????? URL: From gambas at ...2524... Sun Feb 13 00:38:58 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 12 Feb 2011 23:38:58 +0000 Subject: [Gambas-user] Issue 23 in gambas: Resizing a form in IDE through the height or width property does not work properly In-Reply-To: <4-6813199134517018827-6999584546661461069-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-6999584546661461069-gambas=googlecode.com@...2524...> <0-6813199134517018827-6999584546661461069-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-6999584546661461069-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #5 on issue 23 by benoit.m... at ...626...: Resizing a form in IDE through the height or width property does not work properly http://code.google.com/p/gambas/issues/detail?id=23 Fixed in revision #3564. From gambas at ...2524... Sun Feb 13 00:42:59 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 12 Feb 2011 23:42:59 +0000 Subject: [Gambas-user] Issue 28 in gambas: Gambas debugger show a 'syntax error' when displaying an array In-Reply-To: <0-6813199134517018827-2909860699509145214-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-2909860699509145214-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-2909860699509145214-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Labels: -Version Version-2.22.0 Comment #1 on issue 28 by benoit.m... at ...626...: Gambas debugger show a 'syntax error' when displaying an array http://code.google.com/p/gambas/issues/detail?id=28 I cannot reproduce that with the code displayed on the screenshot. I need a full project! From gambas at ...2524... Sun Feb 13 00:46:59 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 12 Feb 2011 23:46:59 +0000 Subject: [Gambas-user] Issue 31 in gambas: process.kill raises signal 11 Message-ID: <0-6813199134517018827-3656213393325111993-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 31 by kevinfis... at ...1887...: process.kill raises signal 11 http://code.google.com/p/gambas/issues/detail?id=31 Attached project: Public pad_device As Process Public Sub Form_Open() pad_device = Exec ["cat", "/dev/input/js0"] For Read As "Gamepad" pad_device.Kill End Version: TRUNK / 3 Operating system: Ubuntu 10.10 ia64 GUI component: GTK+ Desktop used: Gnome Attachments: gb3_test.tar.bz2 5.7 KB From gambas at ...2524... Sun Feb 13 00:51:02 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 12 Feb 2011 23:51:02 +0000 Subject: [Gambas-user] Issue 32 in gambas: closing form raises signal 11 Message-ID: <0-6813199134517018827-11077518654295071856-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 32 by kevinfis... at ...1887...: closing form raises signal 11 http://code.google.com/p/gambas/issues/detail?id=32 Using Qt component and an empty form, closing it with Alt-F4 or the X button raises signal 11. Nearly empty project attached. Version: TRUNK / 3 Operating system: Ubuntu 10.10 ia64 GUI component: QT4 Desktop used: Gnome Attachments: gb3_test.tar.bz2 5.5 KB From gambas at ...2524... Sun Feb 13 01:06:16 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 13 Feb 2011 00:06:16 +0000 Subject: [Gambas-user] Issue 33 in gambas: Wait does not allow Form_Close event to trigger in Qt Message-ID: <0-6813199134517018827-11522155247901952430-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 33 by kevinfis... at ...1887...: Wait does not allow Form_Close event to trigger in Qt http://code.google.com/p/gambas/issues/detail?id=33 Using "Wait 0.001" works, but signal 11 is raised when the form is closed (probably a different issue). Just "Wait" causes window to go gray and Alt-F4/X do not trigger Form_Close event. Project attached. Version: TRUNK / 3 Operating system: Ubuntu 10.10 ia64 GUI component: QT4 Desktop used: Gnome Attachments: gb3_test.tar.bz2 6.0 KB From gambas at ...2524... Sun Feb 13 01:15:17 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 13 Feb 2011 00:15:17 +0000 Subject: [Gambas-user] Issue 28 in gambas: Gambas debugger show a 'syntax error' when displaying an array In-Reply-To: <1-6813199134517018827-2909860699509145214-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-2909860699509145214-gambas=googlecode.com@...2524...> <0-6813199134517018827-2909860699509145214-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-2909860699509145214-gambas=googlecode.com@...2524...> Comment #2 on issue 28 by Lordhea... at ...626...: Gambas debugger show a 'syntax error' when displaying an array http://code.google.com/p/gambas/issues/detail?id=28 Project attached, run it, when paused double-click on 'txt' to display the array Attachments: tst-0.0.11.tar.gz 8.1 KB From gambas at ...2524... Sun Feb 13 01:23:19 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 13 Feb 2011 00:23:19 +0000 Subject: [Gambas-user] Issue 31 in gambas: process.kill raises signal 11 In-Reply-To: <0-6813199134517018827-3656213393325111993-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-3656213393325111993-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-3656213393325111993-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Comment #1 on issue 31 by benoit.m... at ...626...: process.kill raises signal 11 http://code.google.com/p/gambas/issues/detail?id=31 Please check that you testes with the latest revision. From gambas at ...2524... Sun Feb 13 01:27:20 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 13 Feb 2011 00:27:20 +0000 Subject: [Gambas-user] Issue 31 in gambas: process.kill raises signal 11 In-Reply-To: <1-6813199134517018827-3656213393325111993-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-3656213393325111993-gambas=googlecode.com@...2524...> <0-6813199134517018827-3656213393325111993-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-3656213393325111993-gambas=googlecode.com@...2524...> Comment #2 on issue 31 by benoit.m... at ...626...: process.kill raises signal 11 http://code.google.com/p/gambas/issues/detail?id=31 Please check that you tested with the latest revision. From gambas at ...2524... Sun Feb 13 01:31:21 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 13 Feb 2011 00:31:21 +0000 Subject: [Gambas-user] Issue 32 in gambas: closing form raises signal 11 In-Reply-To: <0-6813199134517018827-11077518654295071856-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-11077518654295071856-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-11077518654295071856-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Labels: -Version Version-TRUNK Comment #1 on issue 32 by benoit.m... at ...626...: closing form raises signal 11 http://code.google.com/p/gambas/issues/detail?id=32 I can't reproduce that. Please check with the latest revision and tell which revision you use each time you report a bug. From gambas at ...2524... Sun Feb 13 01:35:22 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 13 Feb 2011 00:35:22 +0000 Subject: [Gambas-user] Issue 31 in gambas: process.kill raises signal 11 In-Reply-To: <2-6813199134517018827-3656213393325111993-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-3656213393325111993-gambas=googlecode.com@...2524...> <0-6813199134517018827-3656213393325111993-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-3656213393325111993-gambas=googlecode.com@...2524...> Updates: Labels: -Version Version-TRUNK Comment #3 on issue 31 by benoit.m... at ...626...: process.kill raises signal 11 http://code.google.com/p/gambas/issues/detail?id=31 (No comment was entered for this change.) From gambas at ...2524... Sun Feb 13 01:39:22 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 13 Feb 2011 00:39:22 +0000 Subject: [Gambas-user] Issue 33 in gambas: Wait does not allow Form_Close event to trigger in Qt In-Reply-To: <0-6813199134517018827-11522155247901952430-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-11522155247901952430-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-11522155247901952430-gambas=googlecode.com@...2524...> Updates: Status: Invalid Labels: -Version Version-TRUNK Comment #1 on issue 33 by benoit.m... at ...626...: Wait does not allow Form_Close event to trigger in Qt http://code.google.com/p/gambas/issues/detail?id=33 Again you are creating one issues for two problems. Please stop that. Create one issue for each problem. Anyway, I can't reproduce the crash. Please tell which revision you are using, and check that you are using the latest one. As for why the event is not raised: read the documentation. WAIT with no argument blocks all keyboard and mouse events. It allows only redraw events. Then you want to use QUIT inside the Form_Close event handler. QUIT aborts the application, use it only inside a console application. From gambas at ...2524... Sun Feb 13 01:52:25 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 13 Feb 2011 00:52:25 +0000 Subject: [Gambas-user] Issue 32 in gambas: closing form raises signal 11 In-Reply-To: <1-6813199134517018827-11077518654295071856-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-11077518654295071856-gambas=googlecode.com@...2524...> <0-6813199134517018827-11077518654295071856-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-11077518654295071856-gambas=googlecode.com@...2524...> Comment #2 on issue 32 by kevinfis... at ...1887...: closing form raises signal 11 http://code.google.com/p/gambas/issues/detail?id=32 How do you check which revision is being used? I just compiled it earlier today but am doing it again now. From kevinfishburne at ...1887... Sun Feb 13 02:19:16 2011 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sat, 12 Feb 2011 20:19:16 -0500 Subject: [Gambas-user] Issue 33 in gambas: Wait does not allow Form_Close event to trigger in Qt In-Reply-To: <1-6813199134517018827-11522155247901952430-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-11522155247901952430-gambas=googlecode.com@...2524...> <1-6813199134517018827-11522155247901952430-gambas=googlecode.com@...2524...> Message-ID: <4D573194.3000509@...1887...> On 02/12/2011 07:39 PM, gambas at ...2524... wrote: > Again you are creating one issues for two problems. Please stop that. > Create one issue for each problem. I apologize. In my defense I thought the subject defined the bug and the body could contain peripheral information. My mistake and I won't make it again. > As for why the event is not raised: read the documentation. WAIT with no > argument blocks all keyboard and mouse events. It allows only redraw events. Guess the bug should have read, "Wait allows mouse and keyboard events to trigger in GTK+". Part of the confusion is that when switching from GTK+ to Qt and back, things often behave quite differently. One could easily misconstrue any of these differences as bugs in one or the other. I was used to using GTK+ so I thought this was normal behavior for Wait, when in fact it was an abnormality. > Then you want to use QUIT inside the Form_Close event handler. QUIT aborts > the application, use it only inside a console application I just re-read it and saw the footnote about not using it for GUI apps. So the only way to exit/end/quit/terminate a GUI app is to "close all open windows and terminate all child processes." I'll give it a try, thanks. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From zachsmith022 at ...626... Sun Feb 13 02:49:21 2011 From: zachsmith022 at ...626... (Zach Smith) Date: Sat, 12 Feb 2011 19:49:21 -0600 Subject: [Gambas-user] format of the valuebox text property when using the IPAddress type Message-ID: When calling the text property of a valuebox using the ipaddress type, you get "10. 1. 2. 3" instead of "10.1.2.3". Is that the desired behavior? From gambas at ...2524... Sun Feb 13 03:05:41 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 13 Feb 2011 02:05:41 +0000 Subject: [Gambas-user] Issue 31 in gambas: process.kill raises signal 11 In-Reply-To: <3-6813199134517018827-3656213393325111993-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-3656213393325111993-gambas=googlecode.com@...2524...> <0-6813199134517018827-3656213393325111993-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-3656213393325111993-gambas=googlecode.com@...2524...> Comment #4 on issue 31 by kevinfis... at ...1887...: process.kill raises signal 11 http://code.google.com/p/gambas/issues/detail?id=31 Revision 3564 no longer has the problem. Please close as fixed, thanks! From gambas at ...2524... Sun Feb 13 03:09:42 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 13 Feb 2011 02:09:42 +0000 Subject: [Gambas-user] Issue 32 in gambas: closing form raises signal 11 In-Reply-To: <2-6813199134517018827-11077518654295071856-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-11077518654295071856-gambas=googlecode.com@...2524...> <0-6813199134517018827-11077518654295071856-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-11077518654295071856-gambas=googlecode.com@...2524...> Comment #3 on issue 32 by kevinfis... at ...1887...: closing form raises signal 11 http://code.google.com/p/gambas/issues/detail?id=32 Just redownloaded/compiled/installed and checked the revision, which is 3564. Downloaded, extracted and ran the attached project and it gave signal 11 upon closing the form. On intuition I decided to see if any of the unnecessary components that were checked could be causing the problem, and it looks like it only happens when using gb.qt4 and gb.image.effect, even though gb.image.effect isn't being used. When using gb.gtk and gb.image.effect the problem does not occur. From hemanttannu at ...626... Sun Feb 13 09:08:08 2011 From: hemanttannu at ...626... (Hemant Mahajan) Date: Sun, 13 Feb 2011 03:08:08 -0500 Subject: [Gambas-user] Web Camera Application Message-ID: I want to make one application of Web Camera in Gambas I had checked the examples application provided by 3D Web Camera but it is not working Can anyone provide me the source of Web camera application Please help Regards (Hemant Mahajan) From gambas at ...2524... Sun Feb 13 10:25:03 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 13 Feb 2011 09:25:03 +0000 Subject: [Gambas-user] Issue 31 in gambas: process.kill raises signal 11 In-Reply-To: <4-6813199134517018827-3656213393325111993-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-3656213393325111993-gambas=googlecode.com@...2524...> <0-6813199134517018827-3656213393325111993-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-3656213393325111993-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #5 on issue 31 by benoit.m... at ...626...: process.kill raises signal 11 http://code.google.com/p/gambas/issues/detail?id=31 (No comment was entered for this change.) From gambas at ...2524... Sun Feb 13 10:29:04 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 13 Feb 2011 09:29:04 +0000 Subject: [Gambas-user] Issue 32 in gambas: closing form raises signal 11 In-Reply-To: <3-6813199134517018827-11077518654295071856-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-11077518654295071856-gambas=googlecode.com@...2524...> <0-6813199134517018827-11077518654295071856-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-11077518654295071856-gambas=googlecode.com@...2524...> Comment #4 on issue 32 by benoit.m... at ...626...: closing form raises signal 11 http://code.google.com/p/gambas/issues/detail?id=32 Sorry, but I still cannot reproduce that. Can you get a backtrace and/or a valgrind log of the crash? From gambas at ...1... Sun Feb 13 11:24:41 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 13 Feb 2011 11:24:41 +0100 Subject: [Gambas-user] format of the valuebox text property when using the IPAddress type In-Reply-To: References: Message-ID: <201102131124.41665.gambas@...1...> > When calling the text property of a valuebox using the ipaddress type, > you get "10. 1. 2. 3" instead of "10.1.2.3". Is that the desired > behavior? > Yes. The Text property returns what you see. If you want the real value, use the Value property. Regards, -- Beno?t Minisini From gambas at ...1... Sun Feb 13 11:25:19 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 13 Feb 2011 11:25:19 +0100 Subject: [Gambas-user] Error writing Binary data - Gambas 2.99.0 In-Reply-To: <1297495780.3640.25.camel@...2506...> References: <4D555D31.2050107@...981...> <4D560DD1.5020906@...981...> <1297495780.3640.25.camel@...2506...> Message-ID: <201102131125.19582.gambas@...1...> > Greetings all, > > I am trying to write some simple binary data to a file being ~ Integers > 1 - 5000 > > I keep getting this error [Error: Type missmatch : wanted string , > got integer instead.] > > So I copied the example from as > below. > > This code comes up with the same error ? > > > DIM binaryFile AS File > DIM i AS Integer = 10 > DIM b AS Byte = 4 > DIM s AS Short = 23 > DIM s1 AS String = "This is string 1" > DIM s2 AS String = "Another string" > ' Open as create so we get a new file > binaryFile = OPEN FilePath FOR CREATE > WRITE #binaryFile, i '<<----------<<<<<< Error occurs here. > WRITE #binaryFile, b > WRITE #binaryFile, s > WRITE #binaryFile, s1 > WRITE #binaryFile, s2 > CLOSE #binaryFile > > Confirmed I have write access : changed WRITE to use a string variable > and it works fine. > > Changed to Gambas 2.22 and same code worked as it should, - able to > write & read. > > Can someone else please test. > > Thanks in advance. > > Regards, > Ian Roper > Perth Western Australia. > Which version of Gambas do you use? -- Beno?t Minisini From gambas at ...1... Sun Feb 13 11:29:09 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 13 Feb 2011 11:29:09 +0100 Subject: [Gambas-user] Can't drag and drop/copy&paste folder to an other. In-Reply-To: References: <201102072014.31151.gambas@...1...> Message-ID: <201102131129.09433.gambas@...1...> > Steps to reproduce the problem: > 1. Open IDE. > 2. Create new project. > 3. Create new folder to Sources folder (default folder, the one created by > IDE). Name created folder as "folder1". > 4. Create another folder to Sources folder. Name it to "folder2". > 5. Cut "folder1" and paste it to "folder2". > > Folder1 disappears! > > Expected; Folder1 is moved to folder2. > > No subversion involved. > > Jussi > It disappears, but it is not deleted. I guess this is a "paste case" that was not implemented. I will look and tell you more... -- Beno?t Minisini From gambas at ...1... Sun Feb 13 11:36:29 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 13 Feb 2011 11:36:29 +0100 Subject: [Gambas-user] Can't drag and drop/copy&paste folder to an other. In-Reply-To: <201102131129.09433.gambas@...1...> References: <201102131129.09433.gambas@...1...> Message-ID: <201102131136.29723.gambas@...1...> > > Steps to reproduce the problem: > > 1. Open IDE. > > 2. Create new project. > > 3. Create new folder to Sources folder (default folder, the one created > > by IDE). Name created folder as "folder1". > > 4. Create another folder to Sources folder. Name it to "folder2". > > 5. Cut "folder1" and paste it to "folder2". > > > > Folder1 disappears! > > > > Expected; Folder1 is moved to folder2. > > > > No subversion involved. > > > > Jussi > > It disappears, but it is not deleted. I guess this is a "paste case" that > was not implemented. I will look and tell you more... OK, that was fixed in revison #3565. Regards, -- Beno?t Minisini From gambas at ...1... Sun Feb 13 17:37:19 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 13 Feb 2011 17:37:19 +0100 Subject: [Gambas-user] Colorchooser crash In-Reply-To: <1297150388.11165.5.camel@...2493...> References: <1296578281.4010.3.camel@...2493...> <201102071753.25776.gambas@...1...> <1297150388.11165.5.camel@...2493...> Message-ID: <201102131737.19685.gambas@...1...> > Benoit sorry i made a mistake. > > Here is the link > > http://www.mediafire.com/?w73g6ots4ejahjg > > How to reproduce the bug. > > 1) click lblColor > 2) A form with color chooser is showed. > 3) Click the color pick up tool. > 4) Click many times in color area until the messages comes up and a > signal 11. > 5) sometimes you need to close FColorChooser form and reopen it and > continue the clicks in colorchooser area. > > 6) The signal 11 will be raised on clicks the color area or after > closing the form. > That bug has been fixed in revision #3566. Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Sun Feb 13 17:58:31 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 13 Feb 2011 18:58:31 +0200 Subject: [Gambas-user] Disappeared error messages In-Reply-To: <201102070259.08139.gambas@...1...> References: <201102070259.08139.gambas@...1...> Message-ID: Unfortunately I still got missing error messages. Mostly related to null or invalid object. Sometimes I see them sometimes they are missing... I don't know reason. Gambas 3 rev 3565 @ Ubuntu 10.10 64 bit Jussi 2011/2/7 Beno?t Minisini : >> Hi! >> What has happen to error messages? >> Now Gambas IDE just stops executing when running into error! >> But some error messages still seems to be visible... >> >> Gambas 3 rev 3493 @ Ubuntu 10.10 64bit >> >> Jussi > > Invisible error messages should have been fixed in revision #3546. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > The modern datacenter depends on network connectivity to access resources > and provide services. The best practices for maximizing a physical server's > connectivity to a physical network are well understood - see how these > rules translate into the virtual world? > http://p.sf.net/sfu/oracle-sfdevnlfb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Sun Feb 13 18:27:51 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 13 Feb 2011 19:27:51 +0200 Subject: [Gambas-user] Showmodal causes invalid object! Message-ID: Combination of showmodal and use of module as startup, invalidates forms declared in the module. See attached project. Gambas 3 rev 3565 @ Ubuntu 10.10 64bit Jussi -------------- next part -------------- A non-text attachment was scrubbed... Name: Testing-0.0.1.tar.gz Type: application/x-gzip Size: 4768 bytes Desc: not available URL: From jussi.lahtinen at ...626... Sun Feb 13 23:12:24 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 14 Feb 2011 00:12:24 +0200 Subject: [Gambas-user] Settings component Message-ID: Hi! I think I have missed something... documentation says about Settings: "If you use this class statically, then the default project configuration file will be used." And path property is read only. So, how can you determine what path and file to use to store settings? Jussi From gambas at ...2524... Sun Feb 13 23:29:09 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 13 Feb 2011 22:29:09 +0000 Subject: [Gambas-user] Issue 20 in gambas: Network socket read string[] fails - seg11 crash In-Reply-To: <3-6813199134517018827-16995953517062707402-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-16995953517062707402-gambas=googlecode.com@...2524...> <0-6813199134517018827-16995953517062707402-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-16995953517062707402-gambas=googlecode.com@...2524...> Comment #4 on issue 20 by imperiou... at ...2360...: Network socket read string[] fails - seg11 crash http://code.google.com/p/gambas/issues/detail?id=20 After a complete rebuild - I can't re-create it either... .... Can we kill this bug please. Sorry :( From rterry at ...1946... Sun Feb 13 23:41:28 2011 From: rterry at ...1946... (richard terry) Date: Mon, 14 Feb 2011 09:41:28 +1100 Subject: [Gambas-user] Settings component In-Reply-To: References: Message-ID: <201102140941.28251.rterry@...1946...> On Monday 14 February 2011 09:12:24 Jussi Lahtinen wrote: > Hi! > I think I have missed something... documentation says about Settings: > "If you use this class statically, then the default project > configuration file will be used." > > And path property is read only. > > So, how can you determine what path and file to use to store settings? > > Jussi if your project is called my-project, then your settings file will be in /home/your_name/.config/gambas3/my-project.conf YOu don't have to worry about path, just do this in your project For example to save a split: in Form_close or whereever Public sub Settings_Save() Settings["Whatever_section_you_want_to_call_it/Hsplit1.layout"]= Hsplit1.layout end in Form_open or whereever: Public sub Settings_Load() hsplit1.layout = Settings["Whatever_section_you_want_to_call_it/Hsplit1.layout"] Regards richard > > --------------------------------------------------------------------------- > --- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio > XE: Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gregor at ...2441... Mon Feb 14 10:15:10 2011 From: gregor at ...2441... (Gregor Burck) Date: Mon, 14 Feb 2011 10:15:10 +0100 Subject: [Gambas-user] Changing hierarchy later Message-ID: Hi, is it possible in gambas2 to change the hierarchy to a later time? There is the hierarchy treeview, but I guess I can't move items to an other branch? Thank you Gregor -- From demosthenesk at ...626... Mon Feb 14 11:02:46 2011 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Mon, 14 Feb 2011 12:02:46 +0200 Subject: [Gambas-user] Colorchooser crash In-Reply-To: <201102131737.19685.gambas@...1...> References: <1296578281.4010.3.camel@...2493...> <201102071753.25776.gambas@...1...> <1297150388.11165.5.camel@...2493...> <201102131737.19685.gambas@...1...> Message-ID: <1297677766.15287.2.camel@...2494...> Thanks! On Sun, 2011-02-13 at 17:37 +0100, Beno?t Minisini wrote: > > Benoit sorry i made a mistake. > > > > Here is the link > > > > http://www.mediafire.com/?w73g6ots4ejahjg > > > > How to reproduce the bug. > > > > 1) click lblColor > > 2) A form with color chooser is showed. > > 3) Click the color pick up tool. > > 4) Click many times in color area until the messages comes up and a > > signal 11. > > 5) sometimes you need to close FColorChooser form and reopen it and > > continue the clicks in colorchooser area. > > > > 6) The signal 11 will be raised on clicks the color area or after > > closing the form. > > > > That bug has been fixed in revision #3566. > > Regards, > -- Regards, Demosthenes From austinium at ...43... Mon Feb 14 13:01:09 2011 From: austinium at ...43... (vikram) Date: Mon, 14 Feb 2011 04:01:09 -0800 (PST) Subject: [Gambas-user] Copying to GNOME's clipboard Message-ID: <862.88489.qm@...2467...> Hi, I am using Gambas 2.21(gb.gtk) on Debian Squeeze(GNOME). I am trying to copy text from my application onto GNOME's clipboard. I did try using Clipboard.Copy to copy onto the Clipboard the text copied only remains on the clipboard for as long as the gambas application is running. The moment the gambas application is closed the clipboard is cleared. How can i make the text in the clipboard persist even after the gambas application is closed? Thanks in advance, Best Regards, Vikram Nair ____________________________________________________________________________________ Finding fabulous fares is fun. Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains. http://farechase.yahoo.com/promo-generic-14795097 From gambas at ...1... Mon Feb 14 13:13:32 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 14 Feb 2011 13:13:32 +0100 Subject: [Gambas-user] Copying to GNOME's clipboard In-Reply-To: <862.88489.qm@...2467...> References: <862.88489.qm@...2467...> Message-ID: <201102141313.32507.gambas@...1...> > Hi, > > I am using Gambas 2.21(gb.gtk) on Debian Squeeze(GNOME). I am trying to > copy text from my application onto GNOME's clipboard. > > I did try using Clipboard.Copy to copy onto the Clipboard the text copied > only remains on the clipboard for as long as the gambas application is > running. The moment the gambas application is closed the clipboard is > cleared. > > How can i make the text in the clipboard persist even after the gambas > application is closed? > > Thanks in advance, > Best Regards, > Vikram Nair > You need to run a clipboard manager. Apparently, on Gnome, it is an applet named "Glipper". On KDE, it is "Klipper". Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Mon Feb 14 16:48:13 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 14 Feb 2011 17:48:13 +0200 Subject: [Gambas-user] Settings component In-Reply-To: <201102140941.28251.rterry@...1946...> References: <201102140941.28251.rterry@...1946...> Message-ID: OK, I solved this. I looked these and I didn't get it... http://gambasdoc.org/help/comp/gb.settings/settings/path?v3 http://gambasdoc.org/help/comp/gb.settings/settings?v3 I tried this: Dim hS As New Settings hS.Path = .... Then I looked at source code. And the answer is this: Dim hS As New Settings("/my/path/to/configs/myconf.conf") Maybe this was quite obvious, but I think it would be nice to have mentioned in at least one those documentation pages... Jussi On Mon, Feb 14, 2011 at 00:41, richard terry wrote: > On Monday 14 February 2011 09:12:24 Jussi Lahtinen wrote: >> Hi! >> I think I have missed something... documentation says about Settings: >> "If you use this class statically, then the default project >> configuration file will be used." >> >> And path property is read only. >> >> So, how can you determine what path and file to use to store settings? >> >> Jussi > > if your project is called my-project, then your settings file will be in > /home/your_name/.config/gambas3/my-project.conf > > YOu don't have to worry about path, just do this in your project > > For example to save a split: > > in Form_close or whereever > > Public sub Settings_Save() > ? ? Settings["Whatever_section_you_want_to_call_it/Hsplit1.layout"]= > Hsplit1.layout > end > > in Form_open or whereever: > > Public sub Settings_Load() > ? ?hsplit1.layout = > Settings["Whatever_section_you_want_to_call_it/Hsplit1.layout"] > > Regards > > richard > >> >> --------------------------------------------------------------------------- >> --- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio >> ?XE: Pinpoint memory and threading errors before they happen. >> Find and fix more than 250 security defects in the development cycle. >> Locate bottlenecks in serial and parallel code that limit performance. >> http://p.sf.net/sfu/intel-dev2devfeb >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From zelimir_ikovic at ...43... Mon Feb 14 18:52:21 2011 From: zelimir_ikovic at ...43... (Zelimir Ikovic) Date: Mon, 14 Feb 2011 09:52:21 -0800 (PST) Subject: [Gambas-user] Is there a simple example of component written i C or C++ In-Reply-To: <201102131737.19685.gambas@...1...> Message-ID: <19411.52403.qm@...2547...> Something simple like a component with 2 Properties like BACKGROUNDCOLOR, FOREGROUNDCOLOR 2 Methods like DRAWACIRCLEINTHEMIDLE, DRAWASQUAREINTHEMIDLE 2 Events like ClickedonLeftHalfofComponent and ClickedonRightHalfofComponent and then Gambas project that demonstrate using of component Regards From gambas at ...1... Mon Feb 14 18:55:52 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 14 Feb 2011 18:55:52 +0100 Subject: [Gambas-user] Is there a simple example of component written i C or C++ In-Reply-To: <19411.52403.qm@...2547...> References: <19411.52403.qm@...2547...> Message-ID: <201102141855.52420.gambas@...1...> > Something simple like a component with > > 2 Properties like BACKGROUNDCOLOR, FOREGROUNDCOLOR > 2 Methods like DRAWACIRCLEINTHEMIDLE, DRAWASQUAREINTHEMIDLE > 2 Events like ClickedonLeftHalfofComponent and > ClickedonRightHalfofComponent > > and then > > Gambas project that demonstrate using of component > > Regards > Why doing that in C/C++? It it far simpler to do that in Gambas. -- Beno?t Minisini From zelimir_ikovic at ...43... Mon Feb 14 19:07:08 2011 From: zelimir_ikovic at ...43... (Zelimir Ikovic) Date: Mon, 14 Feb 2011 10:07:08 -0800 (PST) Subject: [Gambas-user] Is there a simple example of component written i C or C++ In-Reply-To: <201102141855.52420.gambas@...1...> Message-ID: <347873.53193.qm@...2548...> I have a polyline (oil pipeline) with 100000 line segments, and about 200000 points (Latitude longitude) and I have to calculate distance to to polyline for each point, and most of the problem I am dealing with is something like that. Another problem is to calculate point in poligons for huge number of points, and polygons And Gambas would be a good choice if I can link it to external procedures writen i C, or C++ when speed is critical to calculate --- On Mon, 2/14/11, Beno?t Minisini wrote: > From: Beno?t Minisini > Subject: Re: [Gambas-user] Is there a simple example of component written i C or C++ > To: "mailing list for gambas users" > Received: Monday, February 14, 2011, 9:55 AM > > Something simple like a > component with > > > > 2 Properties like BACKGROUNDCOLOR, FOREGROUNDCOLOR > > 2 Methods like DRAWACIRCLEINTHEMIDLE, > DRAWASQUAREINTHEMIDLE > > 2 Events like ClickedonLeftHalfofComponent and > > ClickedonRightHalfofComponent > > > > and then > > > > Gambas project that demonstrate using of component > > > > Regards > > > > Why doing that in C/C++? It it far simpler to do that in > Gambas. > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) > Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the > development cycle. > Locate bottlenecks in serial and parallel code that limit > performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Mon Feb 14 20:16:12 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 14 Feb 2011 19:16:12 +0000 Subject: [Gambas-user] Issue 34 in gambas: Qt layouts and spaces Message-ID: <0-6813199134517018827-1687376740727608512-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 34 by gillianh... at ...626...: Qt layouts and spaces http://code.google.com/p/gambas/issues/detail?id=34 1) Describe the problem. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK or BRANCHES/2.0 or 2.22.0 Revision: r1234 (if you use a development version) Operating system: Linux / FreeBSD Distribution: Ubuntu / Fedora / ArchLinux / Gentoo ... Architecture: x86 / x86_64 / ARM GUI component: QT3 / QT4 / GTK+ Desktop used: Gnome / KDE ... 3) Provide a little project that reproduces the bug or the crash. 4) If your project needs a database, try to provide it, or part of it. 5) Explain clearly how to reproduce the bug or the crash. 6) By doing that carefully, you have done 50% of the bug fix job! IMPORTANT NOTE: if you encounter several different problems or bugs, (for example, a bug in your project, and an interpreter crash while debugging it), please create distinct issues! From gambas at ...2524... Mon Feb 14 20:20:15 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 14 Feb 2011 19:20:15 +0000 Subject: [Gambas-user] Issue 35 in gambas: Enhancement: Qt layouts and spacers Message-ID: <0-6813199134517018827-14490666708796693872-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 35 by gillianh... at ...626...: Enhancement: Qt layouts and spacers http://code.google.com/p/gambas/issues/detail?id=35 It would be useful if the form designer provided the facility to insert layouts and spacers (a bit like the Qt form designer). From gambas at ...2524... Mon Feb 14 20:24:19 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 14 Feb 2011 19:24:19 +0000 Subject: [Gambas-user] Issue 34 in gambas: Qt layouts and spaces In-Reply-To: <0-6813199134517018827-1687376740727608512-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-1687376740727608512-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-1687376740727608512-gambas=googlecode.com@...2524...> Comment #1 on issue 34 by gillianh... at ...626...: Qt layouts and spaces http://code.google.com/p/gambas/issues/detail?id=34 Close this bug. Microsoft Windows automatically submitted this report before I had finished typing it. From gambas at ...2524... Mon Feb 14 20:28:24 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 14 Feb 2011 19:28:24 +0000 Subject: [Gambas-user] Issue 34 in gambas: Qt layouts and spaces In-Reply-To: <1-6813199134517018827-1687376740727608512-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-1687376740727608512-gambas=googlecode.com@...2524...> <0-6813199134517018827-1687376740727608512-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-1687376740727608512-gambas=googlecode.com@...2524...> Updates: Status: Invalid Comment #2 on issue 34 by benoit.m... at ...626...: Qt layouts and spaces http://code.google.com/p/gambas/issues/detail?id=34 (No comment was entered for this change.) From gambas at ...2524... Mon Feb 14 20:32:28 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 14 Feb 2011 19:32:28 +0000 Subject: [Gambas-user] Issue 35 in gambas: Enhancement: Qt layouts and spacers In-Reply-To: <0-6813199134517018827-14490666708796693872-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-14490666708796693872-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-14490666708796693872-gambas=googlecode.com@...2524...> Updates: Status: WontFix Labels: -Version -Type-Bug Version-TRUNK Type-Enhancement Comment #1 on issue 35 by benoit.m... at ...626...: Enhancement: Qt layouts and spacers http://code.google.com/p/gambas/issues/detail?id=35 The Gambas layout system does not use the Qt layout system at all. It is based on the Arrangement property of containers (or on containers like HBox and VBox that have a default arrangement). Spaces are based on the Spacing, Margin and Padding properties. From sfatimah99 at ...43... Tue Feb 15 12:53:59 2011 From: sfatimah99 at ...43... (Siti Fatimah) Date: Tue, 15 Feb 2011 19:53:59 +0800 (SGT) Subject: [Gambas-user] [SPAM] Message-ID: <164800.1186.qm@...2549...> From gambas.fr at ...626... Tue Feb 15 21:32:00 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 15 Feb 2011 21:32:00 +0100 Subject: [Gambas-user] Web Camera Application In-Reply-To: References: Message-ID: 2011/2/13 Hemant Mahajan : > I want to ?make one application of Web Camera in Gambas I had checked the > examples application provided by 3D Web Camera but it is not working Can > anyone provide me the source of Web camera application Please help > > Regards > (Hemant Mahajan) ?? all the sources are in the gambas sources on the official site > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From gambas.fr at ...626... Tue Feb 15 21:38:50 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 15 Feb 2011 21:38:50 +0100 Subject: [Gambas-user] Gambas API options In-Reply-To: <1295498593.1932.13.camel@...2530...> References: <1295145067.1923.18.camel@...2530...> <201101200230.28424.gambas@...1...> <1295498593.1932.13.camel@...2530...> Message-ID: 2011/1/20 John Spikowski : > On Thu, 2011-01-20 at 02:30 +0100, Beno?t Minisini wrote: >> > Hi List, >> > >> > Does Gambas provide a API other languages can access? (shared object) I >> > would like to create the framework for an application in Gambas and >> > interface with it with ScriptBasic. The .so libraries I did peek at >> > didn't seem to have anything useful exported. >> > >> > >> > The following link will show a few examples of scripting libraries and >> > embedding. >> > >> > http://www.scriptbasic.org/forum/index.php/topic,211.0.html >> > >> > John >> > >> >> What do you want to do ? >> >> Call a ScriptBasic program from a Gambas program? >> >> Or call a Gambas program from a ScriptBasic program? >> > > Actually both. > > By default, ScriptBasic is an embeddable scripting engine API based on > traditional Basic. Even though written to ANSI C standards, it has an > object API interface. The link I posted show an example of ScriptBasic > embedding into itself. The distribution comes with a command line > interpreter and multi-threaded web server as examples of using the > ScriptBasic API. > > My hope is that Gambas has an open interface to it's components that > other (scripting) languages can access and share. I was encouraged when > the term "extensions to the interpreter" was mentioned. > > I looked at a few of the shared objects (components) Gambas uses and it > didn't seem that any useful functions were exported. > > BTW: The scripter is a nice feature and like using ScriptBasic's console > mode interpreter. > > > > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > have you tested gbs3 ? the gambas scripter... and i don't understand what you want ... did you want a way to acceed to the current program varables and functions from a user level script ? -- Fabien Bodard From support at ...2529... Tue Feb 15 21:45:26 2011 From: support at ...2529... (John Spikowski) Date: Tue, 15 Feb 2011 12:45:26 -0800 Subject: [Gambas-user] Gambas API options In-Reply-To: References: <1295145067.1923.18.camel@...2530...> <201101200230.28424.gambas@...1...> <1295498593.1932.13.camel@...2530...> Message-ID: <1297802726.1977.58.camel@...2530...> On Tue, 2011-02-15 at 21:38 +0100, Fabien Bodard wrote: > have you tested gbs3 ? Yes. I have both 2 & 3 of Gambas installed on my Ubuntu 10.10 32 bit OS. > > the gambas scripter... > Yes. It works very much like ScriptBasic in this mode. > and i don't understand what you want ... did you want a way to acceed > to the current program varables and functions from a user level script > ? I'm looking for help on what it would take to create a gb.script module and embed ScriptBasic in Gambas at runtime. From ea7dfh at ...2382... Tue Feb 15 23:03:43 2011 From: ea7dfh at ...2382... (EA7DFH) Date: Tue, 15 Feb 2011 23:03:43 +0100 Subject: [Gambas-user] Download JPG with HttpClient to memory Message-ID: <4D5AF83F.3050609@...2382...> Hi list I am unable to download a JPG image from an IP Webcam and feed a PictureBox, without creating a file-like object. I'm using HttpClient to fetch the images asyncronously, but the buffer at last is only a string representation of its binary data. How do I convert this data into an actual image object for viewing in a PictureBox or DrawingArea? This is my code so far: ' Gambas class file PUBLIC $http AS HttpClient PRIVATE $pic AS String PUBLIC SUB Form_Open() $http = NEW HttpClient AS "MyStream" $http.Async = TRUE $http.Timeout = 3 $http.URL = "http://192.168.1.10:4500/axis-cgi/jpg" & "/image.cgi?resolution=320x240" END PUBLIC SUB Timer1_Timer() $http.Get END PUBLIC SUB MyStream_Read() DIM buffer AS String READ #LAST, buffer, Lof(LAST) $pic &= buffer END PUBLIC SUB MyStream_Finished() ' Here I want to feed the picturebox with the buffered JPG ' but $pic only contains a string repr of the binary image PictureBox1.Refresh END PUBLIC SUB btnStart_Click() Timer1.Start END PUBLIC SUB btnStop_Click() Timer1.Stop END PUBLIC SUB btnExit_Click() Timer1.Stop ME.Close END I'd like to avoid using a file, is it possible to do from RAM? Gambas 2.22 Linux Mint 10 (based on Ubuntu 10.10) Gnome desktop. Regards -- Jesus, EA7DFH From gambas at ...1... Wed Feb 16 02:40:45 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Wed, 16 Feb 2011 02:40:45 +0100 Subject: [Gambas-user] Undo & redo in GTK+ TextArea widgets Message-ID: <201102160240.45623.gambas@...1...> Hi, I have implemented in the revision #3575 something that does not even exist in GTK+ 3.0 (AFAIK)... Undo and redo in the multine text edit control! I added the standard shortcuts too (CTRL+C, CTRL+V, CTRL+X, CTRL+A, CTRL+Z and CTRL+Y). But the popup menu was left unchanged. Enjoy it! -- Beno?t Minisini From support at ...2529... Wed Feb 16 02:46:09 2011 From: support at ...2529... (John Spikowski) Date: Tue, 15 Feb 2011 17:46:09 -0800 Subject: [Gambas-user] Undo & redo in GTK+ TextArea widgets In-Reply-To: <201102160240.45623.gambas@...1...> References: <201102160240.45623.gambas@...1...> Message-ID: <1297820769.1964.25.camel@...2530...> On Wed, 2011-02-16 at 02:40 +0100, Beno?t Minisini wrote: > Hi, > > I have implemented in the revision #3575 something that does not even exist in > GTK+ 3.0 (AFAIK)... Undo and redo in the multine text edit control! > > I added the standard shortcuts too (CTRL+C, CTRL+V, CTRL+X, CTRL+A, CTRL+Z and > CTRL+Y). But the popup menu was left unchanged. > > Enjoy it! > Thank You ! That is a nice feature I'm sure to use. From arosa at ...2015... Tue Feb 15 23:12:09 2011 From: arosa at ...2015... (Toni Rosa) Date: Tue, 15 Feb 2011 23:12:09 +0100 Subject: [Gambas-user] Gambas API options Message-ID: John Spikowski wrote: >On Tue, 2011-02-15 at 21:38 +0100, Fabien Bodard wrote: >> have you tested gbs3 ? > >Yes. I have both 2 & 3 of Gambas installed on my Ubuntu 10.10 32 bit OS. > >> >> the gambas scripter... >> > >Yes. It works very much like ScriptBasic in this mode. > > >> and i don't understand what you want ... did you want a way to acceed >> to the current program varables and functions from a user level script >> ? > >I'm looking for help on what it would take to create a gb.script module >and embed ScriptBasic in Gambas at runtime. > > > >------------------------------------------------------------------------------ >The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: >Pinpoint memory and threading errors before they happen. >Find and fix more than 250 security defects in the development cycle. >Locate bottlenecks in serial and parallel code that limit performance. >http://p.sf.net/sfu/intel-dev2devfeb >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user From tobiasboe1 at ...20... Wed Feb 16 21:43:49 2011 From: tobiasboe1 at ...20... (tobias) Date: Wed, 16 Feb 2011 21:43:49 +0100 Subject: [Gambas-user] gb.db.form driver missing In-Reply-To: <201102160240.45623.gambas@...1...> References: <201102160240.45623.gambas@...1...> Message-ID: <4D5C3705.2030204@...20...> good evening, i'm testing gb.db.form for some time now and got some confusing (in fact it is not that confusing, i can imagine the situation): i have a simple form form->datasource->databrowser and my code is as follows: PUBLIC hConn AS NEW Connection PUBLIC SUB Form_Open() hConn.Type = ... hConn.Name = ... hConn.Host = ... hConn.Open() END and this results in an error "driver missing" even before Form_Open() is raised, right? if i change the code to initialize the connection in Form_Open() everything works... i don't know if it is much trouble to change this behavior and i don't think it is neccessary but i haven't found anything about this. i think to make a notice or something in the Database example would save people some time of figuring this out? regards, tobi From mdavies5 at ...169... Thu Feb 17 01:46:41 2011 From: mdavies5 at ...169... (Michael) Date: Thu, 17 Feb 2011 11:46:41 +1100 Subject: [Gambas-user] gb.db.form driver missing In-Reply-To: <4D5C3705.2030204@...20...> References: <201102160240.45623.gambas@...1...> <4D5C3705.2030204@...20...> Message-ID: <4D5C6FF1.6070703@...169...> Tobias, I am presuming this form is your startup class, in which case you are trying to utilise the Db Connector before your resources are fully loaded. It might not happen if you use this code in a form lower in the hierarchy. Personally I keep all Db access in a separate class called "data" which handles all communication with the database. I then start my apps with a "Main" module not a form. The Main module will load resources (such as Db Connector), test the Db connection, check password etc, and only then load the first form in the hierarchy. Hope this helps. Again, a personal preference, but my top level form is always just to hold a menu and a status bar. Any actions are being handled by creating sub-forms for each menu. This pretty well ensures that the main form is loaded before any errors are generated and it gives you a template to create a main menu form for any future projects. Regards Michael On 17/02/11 07:43, tobias wrote: > good evening, > i'm testing gb.db.form for some time now and got some confusing (in fact > it is not that confusing, i can imagine the situation): i have a simple > form form->datasource->databrowser > and my code is as follows: > > PUBLIC hConn AS NEW Connection > > PUBLIC SUB Form_Open() > > hConn.Type = ... > hConn.Name = ... > hConn.Host = ... > hConn.Open() > > END > > and this results in an error "driver missing" even before Form_Open() is > raised, right? if i change the code to initialize the connection in > Form_Open() everything works... i don't know if it is much trouble to > change this behavior and i don't think it is neccessary but i haven't > found anything about this. i think to make a notice or something in the > Database example would save people some time of figuring this out? > > regards, > tobi > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From jussi.lahtinen at ...626... Thu Feb 17 18:23:01 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 17 Feb 2011 19:23:01 +0200 Subject: [Gambas-user] Showmodal causes invalid object! In-Reply-To: References: Message-ID: I don't want to pressure, but have I understand this correctly, this is bug? Or did I miss something? Jussi On Sun, Feb 13, 2011 at 19:27, Jussi Lahtinen wrote: > Combination of showmodal and use of module as startup, invalidates > forms declared in the module. > See attached project. > > Gambas 3 rev 3565 @ Ubuntu 10.10 64bit > > Jussi > From math.eber at ...221... Thu Feb 17 20:59:23 2011 From: math.eber at ...221... (Matti) Date: Thu, 17 Feb 2011 20:59:23 +0100 Subject: [Gambas-user] Bug in gb3: Message buttons are not translated Message-ID: <4D5D7E1B.8030806@...221...> With the exception of Message.Optional, all other messages display the buttons in the original language. Test it in any form with any message: Public Sub Form_Menu() If Message.Question(("Do you really want to?"), ("Yes"), ("No")) = 1 Then Me.Close Endif End The strings "Yes" and "No" will show in the translation form, but if you translate them, at runtime it will always be "Yes" and "No". Regards Matti From gambas at ...1... Fri Feb 18 00:39:39 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 18 Feb 2011 00:39:39 +0100 Subject: [Gambas-user] Showmodal causes invalid object! In-Reply-To: References: Message-ID: <201102180039.39966.gambas@...1...> > I don't want to pressure, but have I understand this correctly, this is > bug? Or did I miss something? > > Jussi > This is a side effect of a feature I should remove maybe: The first instanciated Window (or Form) automatically becomes the "main" window. When that window is closed, all other instanciated forms are automatically closed and made invalid. So when you try to show the second form, that has been created before the first form is shonw, you get the message. I think I will remove that feature, and make the "main" window concept explicit with an "Application.MainWindow" property, or something like that. What do people think? -- Beno?t Minisini From support at ...2529... Fri Feb 18 01:25:49 2011 From: support at ...2529... (John Spikowski) Date: Thu, 17 Feb 2011 16:25:49 -0800 Subject: [Gambas-user] Showmodal causes invalid object! In-Reply-To: <201102180039.39966.gambas@...1...> References: <201102180039.39966.gambas@...1...> Message-ID: <1297988749.1793.38.camel@...2530...> On Fri, 2011-02-18 at 00:39 +0100, Beno?t Minisini wrote: > What do people think? I think the parent / child relationship must be maintained. If you terminate the parent, all child controls, memory and processes are terminated as well. If a orphan window/dialog uses another windows message handler, then it's Beno?t call what is the sane thing to do is. I use GTK-Server with ScriptBasic and I can have multiple windows using a common event loop. All required events must be defined. There are a few standard events like closing the window from the title bar button but in general only expected events trigger an event otherwise processing continues within Gtk internals. GTK-Server is a high level interface to Gtk but it works well for interpreters and scripting environments. (Interfaces: DLL/SO, TCP, FIFO and named pipes) Event processing has always been an area I leave to those more knowledgeable then me. From sotema at ...626... Fri Feb 18 12:41:46 2011 From: sotema at ...626... (Emanuele Sottocorno) Date: Fri, 18 Feb 2011 12:41:46 +0100 Subject: [Gambas-user] =?utf-8?b?bWFrZSBlcnJvciDigJhHREtfS0VZX1rigJkgd2Fz?= =?utf-8?q?_not_declared_in_this_scope_rev_3578?= Message-ID: <1298029306.16170.3.camel@...2516...> Ubuntu 10.04 x86_64 GBS3 rev 3578 configure ends with no error make: textarea.cpp: In function ?gboolean cb_keypress(GtkWidget*, GdkEvent*, gTextArea*)?: gtextarea.cpp:267: error: ?GDK_KEY_Z? was not declared in this scope gtextarea.cpp:267: error: ?GDK_KEY_z? was not declared in this scope gtextarea.cpp:272: error: ?GDK_KEY_Y? was not declared in this scope gtextarea.cpp:272: error: ?GDK_KEY_y? was not declared in this scope gtextarea.cpp:277: error: ?GDK_KEY_A? was not declared in this scope gtextarea.cpp:277: error: ?GDK_KEY_a? was not declared in this scope gtextarea.cpp:282: error: ?GDK_KEY_C? was not declared in this scope gtextarea.cpp:282: error: ?GDK_KEY_c? was not declared in this scope gtextarea.cpp:287: error: ?GDK_KEY_X? was not declared in this scope gtextarea.cpp:287: error: ?GDK_KEY_x? was not declared in this scope gtextarea.cpp:292: error: ?GDK_KEY_V? was not declared in this scope gtextarea.cpp:292: error: ?GDK_KEY_v? was not declared in this scope make[5]: *** [gtextarea.lo] Errore 1 Emanuele From gambas at ...1... Fri Feb 18 14:19:48 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 18 Feb 2011 14:19:48 +0100 Subject: [Gambas-user] =?utf-8?b?bWFrZSBlcnJvciDigJhHREtfS0VZX1rigJkgd2Fz?= =?utf-8?q?_not_declared_in_this_scope_rev_3578?= In-Reply-To: <1298029306.16170.3.camel@...2516...> References: <1298029306.16170.3.camel@...2516...> Message-ID: <201102181419.48135.gambas@...1...> > Ubuntu 10.04 x86_64 > GBS3 rev 3578 > configure ends with no error > > make: > textarea.cpp: In function ?gboolean cb_keypress(GtkWidget*, GdkEvent*, > gTextArea*)?: > gtextarea.cpp:267: error: ?GDK_KEY_Z? was not declared in this scope > gtextarea.cpp:267: error: ?GDK_KEY_z? was not declared in this scope > gtextarea.cpp:272: error: ?GDK_KEY_Y? was not declared in this scope > gtextarea.cpp:272: error: ?GDK_KEY_y? was not declared in this scope > gtextarea.cpp:277: error: ?GDK_KEY_A? was not declared in this scope > gtextarea.cpp:277: error: ?GDK_KEY_a? was not declared in this scope > gtextarea.cpp:282: error: ?GDK_KEY_C? was not declared in this scope > gtextarea.cpp:282: error: ?GDK_KEY_c? was not declared in this scope > gtextarea.cpp:287: error: ?GDK_KEY_X? was not declared in this scope > gtextarea.cpp:287: error: ?GDK_KEY_x? was not declared in this scope > gtextarea.cpp:292: error: ?GDK_KEY_V? was not declared in this scope > gtextarea.cpp:292: error: ?GDK_KEY_v? was not declared in this scope > make[5]: *** [gtextarea.lo] Errore 1 > > Emanuele > > It should be fixed now -- Beno?t Minisini From gambas at ...1... Fri Feb 18 14:22:07 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 18 Feb 2011 14:22:07 +0100 Subject: [Gambas-user] Bug in gb3: Message buttons are not translated In-Reply-To: <4D5D7E1B.8030806@...221...> References: <4D5D7E1B.8030806@...221...> Message-ID: <201102181422.07122.gambas@...1...> > With the exception of Message.Optional, all other messages display the > buttons in the original language. > > Test it in any form with any message: > Public Sub Form_Menu() > If Message.Question(("Do you really want to?"), ("Yes"), ("No")) = 1 Then > Me.Close > Endif > End > > The strings "Yes" and "No" will show in the translation form, but if you > translate them, at runtime it will always be "Yes" and "No". > > Regards > Matti > It's actually a bit weird : buttons with common labels (Yes, No, Retry, Cancel...) are detected by Qt4, and then their translation is handled by Qt4, not by Gambas. Alas, qt4 translation files are sparse, and are often not installed. So you only get the english text! Regards, -- Beno?t Minisini From gambas at ...1... Fri Feb 18 14:24:29 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 18 Feb 2011 14:24:29 +0100 Subject: [Gambas-user] Download JPG with HttpClient to memory In-Reply-To: <4D5AF83F.3050609@...2382...> References: <4D5AF83F.3050609@...2382...> Message-ID: <201102181424.29122.gambas@...1...> > Hi list > > I am unable to download a JPG image from an IP Webcam and feed a > PictureBox, without creating a file-like object. > > I'm using HttpClient to fetch the images asyncronously, but the buffer > at last is only a string representation of its binary data. > > How do I convert this data into an actual image object for viewing in a > PictureBox or DrawingArea? > > This is my code so far: > > > ' Gambas class file > > PUBLIC $http AS HttpClient > PRIVATE $pic AS String > > PUBLIC SUB Form_Open() > $http = NEW HttpClient AS "MyStream" > $http.Async = TRUE > $http.Timeout = 3 > $http.URL = "http://192.168.1.10:4500/axis-cgi/jpg" & > "/image.cgi?resolution=320x240" > END > > PUBLIC SUB Timer1_Timer() > $http.Get > END > > PUBLIC SUB MyStream_Read() > DIM buffer AS String > READ #LAST, buffer, Lof(LAST) > $pic &= buffer > END > > PUBLIC SUB MyStream_Finished() > ' Here I want to feed the picturebox with the buffered JPG > ' but $pic only contains a string repr of the binary image > PictureBox1.Refresh > END > > PUBLIC SUB btnStart_Click() > Timer1.Start > END > > PUBLIC SUB btnStop_Click() > Timer1.Stop > END > > PUBLIC SUB btnExit_Click() > Timer1.Stop > ME.Close > END > > I'd like to avoid using a file, is it possible to do from RAM? > At the moment, no. But if you get the HTTP answer, save it to /tmp, reload it as a picture, and delete the file, there is a good chance that the file does not hit the disk at all. And if you have a /tmp that is mounted on a RAM file system, it is almost sure! Regards, -- Beno?t Minisini From gambas at ...1... Fri Feb 18 14:25:09 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 18 Feb 2011 14:25:09 +0100 Subject: [Gambas-user] Changing hierarchy later In-Reply-To: References: Message-ID: <201102181425.09266.gambas@...1...> > Hi, > > is it possible in gambas2 to change the hierarchy to a later time? > > There is the hierarchy treeview, but I guess I can't move items to an other > branch? > > Thank you > > Gregor Sorry, I don't understand what you are talking about. Regards, -- Beno?t Minisini From gregor at ...2441... Fri Feb 18 14:34:13 2011 From: gregor at ...2441... (Gregor Burck) Date: Fri, 18 Feb 2011 14:34:13 +0100 Subject: [Gambas-user] Changing hierarchy later In-Reply-To: <201102181425.09266.gambas@...1...> Message-ID: <81a3cb60b92fbc309c5c69883ce6d6bd@...2442...> Hi Beno?t, textbox1 frame1 to frame1 | ->textbox1 I hope it is understandable,... Gregor -- From gregor at ...2441... Fri Feb 18 14:39:41 2011 From: gregor at ...2441... (Gregor Burck) Date: Fri, 18 Feb 2011 14:39:41 +0100 Subject: [Gambas-user] Changing hierarchy later In-Reply-To: <81a3cb60b92fbc309c5c69883ce6d6bd@...2442...> Message-ID: <22cde257f534370d5c9c09986f196eb2@...2442...> or in words: After I create a Form I want to group some elements in a frame or Tab. I think the only way is to cut the elements and place them into the new container. I guess to take the hierarchy tree, but I only can move elements in the same hierarchy. By Gregor -- From sotema at ...626... Fri Feb 18 18:01:52 2011 From: sotema at ...626... (Emanuele Sottocorno) Date: Fri, 18 Feb 2011 18:01:52 +0100 Subject: [Gambas-user] =?utf-8?b?bWFrZSBlcnJvciDigJhHREtfS0VZX1rigJkgd2Fz?= =?utf-8?q?_not_declared_in_this_scope_rev_3578?= In-Reply-To: <201102181419.48135.gambas@...1...> References: <1298029306.16170.3.camel@...2516...> <201102181419.48135.gambas@...1...> Message-ID: <1298048512.1728.0.camel@...2516...> Il giorno ven, 18/02/2011 alle 14.19 +0100, Beno?t Minisini ha scritto: > > Ubuntu 10.04 x86_64 > > GBS3 rev 3578 > > configure ends with no error > > > > make: > > textarea.cpp: In function ?gboolean cb_keypress(GtkWidget*, GdkEvent*, > > gTextArea*)?: > > gtextarea.cpp:267: error: ?GDK_KEY_Z? was not declared in this scope > > gtextarea.cpp:267: error: ?GDK_KEY_z? was not declared in this scope > > gtextarea.cpp:272: error: ?GDK_KEY_Y? was not declared in this scope > > gtextarea.cpp:272: error: ?GDK_KEY_y? was not declared in this scope > > gtextarea.cpp:277: error: ?GDK_KEY_A? was not declared in this scope > > gtextarea.cpp:277: error: ?GDK_KEY_a? was not declared in this scope > > gtextarea.cpp:282: error: ?GDK_KEY_C? was not declared in this scope > > gtextarea.cpp:282: error: ?GDK_KEY_c? was not declared in this scope > > gtextarea.cpp:287: error: ?GDK_KEY_X? was not declared in this scope > > gtextarea.cpp:287: error: ?GDK_KEY_x? was not declared in this scope > > gtextarea.cpp:292: error: ?GDK_KEY_V? was not declared in this scope > > gtextarea.cpp:292: error: ?GDK_KEY_v? was not declared in this scope > > make[5]: *** [gtextarea.lo] Errore 1 > > > > Emanuele > > > > > > It should be fixed now > Yes it is, tanks From math.eber at ...221... Fri Feb 18 20:29:56 2011 From: math.eber at ...221... (Matti) Date: Fri, 18 Feb 2011 20:29:56 +0100 Subject: [Gambas-user] Bug in gb3: Message buttons are not translated In-Reply-To: <201102181422.07122.gambas@...1...> References: <4D5D7E1B.8030806@...221...> <201102181422.07122.gambas@...1...> Message-ID: <4D5EC8B4.8040001@...221...> This is really weird. But: - In my Qt4 stringtable, "Yes" was translated, and I added "No". - I encounter english button texts in no other app. - In gb3, the button of Message.Optional is translated. - In gb2, all Message buttons are translated. So this looks clearly like a gb3 problem to me. Give it a low priority, and maybe look at it again sometimes... Regards Am 18.02.2011 14:22, schrieb Beno?t Minisini: > > It's actually a bit weird : buttons with common labels (Yes, No, Retry, > Cancel...) are detected by Qt4, and then their translation is handled by Qt4, > not by Gambas. Alas, qt4 translation files are sparse, and are often not > installed. So you only get the english text! > > Regards, > From math.eber at ...221... Fri Feb 18 20:50:58 2011 From: math.eber at ...221... (Matti) Date: Fri, 18 Feb 2011 20:50:58 +0100 Subject: [Gambas-user] Changing hierarchy later In-Reply-To: <22cde257f534370d5c9c09986f196eb2@...2442...> References: <22cde257f534370d5c9c09986f196eb2@...2442...> Message-ID: <4D5ECDA2.5030506@...221...> I understand your question very well, because I had it too sometimes. I place some controls on the form. Afterwards I realize that it would be better or necessary to put them into a container. I can move them on the form into the container, but they do not get children of it (of course not). Now, I first look at the hierarchy if there is a left/right button to define a control as a child of another control. It is done fine in the Menu Editor, you can make entries, move them and define parent/children with the left/right buttons. Would be a nice feature. Regards Matti Am 18.02.2011 14:39, schrieb Gregor Burck: > or in words: > > After I create a Form I want to group some elements in a frame or Tab. > > I think the only way is to cut the elements and place them into the new container. > > I guess to take the hierarchy tree, but I only can move elements in the same hierarchy. > > By > > Gregor From zz84.kh at ...626... Fri Feb 18 23:15:23 2011 From: zz84.kh at ...626... (Eugeny Gazzaev) Date: Sat, 19 Feb 2011 00:15:23 +0200 Subject: [Gambas-user] Write to process in Gambas In-Reply-To: References: Message-ID: <1298067324.8773.267.camel@...2546...> Hello! How I can write to console process some input data? I try to process this code, but it not working. It run console program htpasswd, that generate password file for Apache. If run htpasswd in console, it two time ask the password: --------------------------------------------------- zz84 at ...40...:~$ htpasswd -c ~/mypassword.txt zz84 New password: Re-type new password: Adding password for user zz84 --------------------------------------------------- Code beelow, and Im attach project file. ' Gambas module file PUBLIC hProcess AS Process PUBLIC password AS String = "mypassword" PUBLIC SUB Main() DIM path AS String = User.Home &/ "htpasswd.txt" IF Exist(path) THEN hProcess = SHELL Subst$("htpasswd &1 myUser", path) FOR READ WRITE AS "MyProcess" ELSE hProcess = SHELL Subst$("htpasswd -c &1 myUser", path) FOR READ WRITE AS "MyProcess" END IF END PUBLIC SUB MyProcess_Read() DIM sLine AS String READ #hProcess, sLine, -256 PRINT sLine IF (String.InStr(sLine, "New password:") > 0) OR (String.InStr(sLine, "Re-type new password:") > 0) THEN PRINT #hProcess, password END IF END -------------- next part -------------- A non-text attachment was scrubbed... Name: write-to-process.tar.bz2 Type: application/x-bzip-compressed-tar Size: 8854 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: ??? ????? ????????? ????????? ???????? ???????? URL: From gambas at ...1... Sat Feb 19 03:23:46 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sat, 19 Feb 2011 03:23:46 +0100 Subject: [Gambas-user] Showmodal causes invalid object! In-Reply-To: <201102180039.39966.gambas@...1...> References: <201102180039.39966.gambas@...1...> Message-ID: <201102190323.46256.gambas@...1...> > > I don't want to pressure, but have I understand this correctly, this is > > bug? Or did I miss something? > > > > Jussi > > This is a side effect of a feature I should remove maybe: > > The first instanciated Window (or Form) automatically becomes the "main" > window. When that window is closed, all other instanciated forms are > automatically closed and made invalid. So when you try to show the second > form, that has been created before the first form is shonw, you get the > message. > > I think I will remove that feature, and make the "main" window concept > explicit with an "Application.MainWindow" property, or something like that. > > What do people think? Done in revision #3581: - Application.MainWindow is not defined automatically anymore. - Application.MainWindow is writable now. - The application exits now when the last visible window is closed. Regards, -- Beno?t Minisini From gregor at ...2441... Sat Feb 19 11:57:45 2011 From: gregor at ...2441... (gregor at ...2441...) Date: Sat, 19 Feb 2011 11:57:45 +0100 Subject: [Gambas-user] Changing hierarchy later In-Reply-To: <4D5ECDA2.5030506@...221...> References: <22cde257f534370d5c9c09986f196eb2@...2442...> <4D5ECDA2.5030506@...221...> Message-ID: <201102191157.45779.gregor@...2441...> I found a solution, but it is not useful. edit the form with a texteditor like kate, you can cut the item and paste it to an other,... Gregor From mike.crean at ...1940... Sat Feb 19 12:38:53 2011 From: mike.crean at ...1940... (Mike) Date: Sat, 19 Feb 2011 19:38:53 +0800 Subject: [Gambas-user] Video Capture Message-ID: <1298115533.1766.3.camel@...2519...> Hi All, I have an application that uses the MyWebCam example how do I capture the video stream as an avi file for viewing with Movie Player etc. Regards Mike From gambas at ...2524... Sat Feb 19 15:46:42 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 19 Feb 2011 14:46:42 +0000 Subject: [Gambas-user] Issue 36 in gambas: Problem between Process and DrawingArea Message-ID: <0-6813199134517018827-627884833907446356-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 36 by Soleil... at ...626...: Problem between Process and DrawingArea http://code.google.com/p/gambas/issues/detail?id=36 1) Hi, I can not reach the Process_Kill() when DrawingArear1.Clear() is called inside DrawingArea_Draw(). I attach here a demo project. Steps to make issue: - Launch program, click "Run a process" button. It works fine. Clear Console for next step. - Now click "Open image" to open an image. - Click "Run a process" again. Nothing happens. - Click "Clear image", the log of Process_Kill() now is printed on Console. - Stop program, comment DrawingArea1.Clear() in DrawingArea1_Draw(). Repeat above steps, it works fine (but disabling DrawingArea1.Clear() makes the image selection very bad) 2) Version: TRUNK (Gambas 3) Revision: lastest (I just checkout today, 19/02/2011) Operating system: Linux Distribution: Fedora 14 Architecture: x86 (i586 by Fedora) GUI component: gtk2 Desktop used: Gnome Attachments: myDemoImage-0.0.1.tar.gz 6.5 KB From gambas at ...1... Sat Feb 19 16:04:43 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sat, 19 Feb 2011 16:04:43 +0100 Subject: [Gambas-user] Bug in gb3: Message buttons are not translated In-Reply-To: <4D5EC8B4.8040001@...221...> References: <4D5D7E1B.8030806@...221...> <201102181422.07122.gambas@...1...> <4D5EC8B4.8040001@...221...> Message-ID: <201102191604.43607.gambas@...1...> > This is really weird. > But: > - In my Qt4 stringtable, "Yes" was translated, and I added "No". > - I encounter english button texts in no other app. > - In gb3, the button of Message.Optional is translated. > - In gb2, all Message buttons are translated. > So this looks clearly like a gb3 problem to me. > > Give it a low priority, and maybe look at it again sometimes... > > Regards > I removed the use of standard Qt4 buttons in revision #3582. So text should be always translated now, if the translation is provided of course. Regards, -- Beno?t Minisini From gambas at ...2524... Sat Feb 19 16:12:47 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 19 Feb 2011 15:12:47 +0000 Subject: [Gambas-user] Issue 36 in gambas: Problem between Process and DrawingArea In-Reply-To: <0-6813199134517018827-627884833907446356-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-627884833907446356-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-627884833907446356-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version -GUI-Any Version-TRUNK GUI-GTK Comment #1 on issue 36 by benoit.m... at ...626...: Problem between Process and DrawingArea http://code.google.com/p/gambas/issues/detail?id=36 Only gb.gtk has the problem. Really weird ! From gambas at ...2524... Sat Feb 19 16:16:49 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 19 Feb 2011 15:16:49 +0000 Subject: [Gambas-user] Issue 36 in gambas: Problem between Process and DrawingArea In-Reply-To: <1-6813199134517018827-627884833907446356-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-627884833907446356-gambas=googlecode.com@...2524...> <0-6813199134517018827-627884833907446356-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-627884833907446356-gambas=googlecode.com@...2524...> Comment #2 on issue 36 by benoit.m... at ...626...: Problem between Process and DrawingArea http://code.google.com/p/gambas/issues/detail?id=36 Note that it is useless to call DrawingArea.Clear() inside the Draw event handler. It just does a Refresh(), and so may call the Draw event handler again and again... From gambas at ...2524... Sat Feb 19 16:21:51 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 19 Feb 2011 15:21:51 +0000 Subject: [Gambas-user] Issue 36 in gambas: Problem between Process and DrawingArea In-Reply-To: <2-6813199134517018827-627884833907446356-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-627884833907446356-gambas=googlecode.com@...2524...> <0-6813199134517018827-627884833907446356-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-627884833907446356-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #3 on issue 36 by benoit.m... at ...626...: Problem between Process and DrawingArea http://code.google.com/p/gambas/issues/detail?id=36 That's it! By using DrawingArea.Clear() inside the Draw event handler, you are actually calling it again and again. In gb.gtk+, the event loop only raises these events, and does not have the time to call the other events, especially Process_Read and Process_Kill. Don't call DrawingArea.Clear() inside the Draw event handler, it does not do what you want. Use Draw.Clear() instead. I will check why gb.gtk+ event loop cannot raise other events in that case. DrawingArea.Clear() will not call Refresh() anymore. That method is only useful when the DrawingArea is cached. From soleilpqd at ...626... Sat Feb 19 16:48:14 2011 From: soleilpqd at ...626... (=?UTF-8?B?UGjhuqFtIFF1YW5nIETGsMahbmc=?=) Date: Sat, 19 Feb 2011 22:48:14 +0700 Subject: [Gambas-user] Issue 36 in gambas: Problem between Process and DrawingArea In-Reply-To: <3-6813199134517018827-627884833907446356-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-627884833907446356-gambas=googlecode.com@...2524...> <2-6813199134517018827-627884833907446356-gambas=googlecode.com@...2524...> <3-6813199134517018827-627884833907446356-gambas=googlecode.com@...2524...> Message-ID: So fast ^_^ I see. Thank you! From jussi.lahtinen at ...626... Sat Feb 19 19:13:55 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 19 Feb 2011 20:13:55 +0200 Subject: [Gambas-user] Showmodal causes invalid object! In-Reply-To: <201102190323.46256.gambas@...1...> References: <201102180039.39966.gambas@...1...> <201102190323.46256.gambas@...1...> Message-ID: I'm not sure I understand correctly. > - Application.MainWindow is not defined automatically anymore. Is it mandatory to define what is MainWindow? Why this is needed exactly? > - Application.MainWindow is writable now. How? "Application.MainWindow = SomeForm.Window" failed with error message; '"Application.MainWindow' is read only." (rev 3581 @ Ubuntu 10.10 64bit) > - The application exits now when the last visible window is closed. I haven't notice any change, maybe because my projects either uses one main window, or main module code will keep executing alive. Sounds very logical that when there is no code left to execute and last visible window is closed, executing of program is ended. So, I think this is right, but how it was then? Jussi From math.eber at ...221... Sat Feb 19 20:45:52 2011 From: math.eber at ...221... (Matti) Date: Sat, 19 Feb 2011 20:45:52 +0100 Subject: [Gambas-user] gb3 Menu Editor Shortcuts Message-ID: <4D601DF0.5030706@...221...> Maybe I'm blind again. But I really didn't see it. I wanted to use the menu shortcuts CTRL+ and CTRL-, like in all of those picture viewer programs. But the ListBox in the menu editor window doesn't have this option. Why make a list box for that, anyway? Why not let the user decide about the shortcut he wants, and then check if this choice would be in conflict with system shortcuts? (Of course, I don't know nothing about that. For me, it would be sufficient to have + and - in the ListBox) Regards Matti From gambas at ...1... Sun Feb 20 01:23:39 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 20 Feb 2011 01:23:39 +0100 Subject: [Gambas-user] gb3 Menu Editor Shortcuts In-Reply-To: <4D601DF0.5030706@...221...> References: <4D601DF0.5030706@...221...> Message-ID: <201102200123.40022.gambas@...1...> > Maybe I'm blind again. But I really didn't see it. > I wanted to use the menu shortcuts CTRL+ and CTRL-, like in all of those > picture viewer programs. But the ListBox in the menu editor window doesn't > have this option. > > Why make a list box for that, anyway? Why not let the user decide about the > shortcut he wants, and then check if this choice would be in conflict with > system shortcuts? > > (Of course, I don't know nothing about that. For me, it would be sufficient > to have + and - in the ListBox) > > Regards > Matti > I wanted the shortcut list to have only keys that do not differ between different keyboards. Of course I forgot the numeric pad, that have '+', '-', '*' and '/' as non-ambiguous keys. I added them in the last release. Regards, -- Beno?t Minisini From math.eber at ...221... Sun Feb 20 06:34:15 2011 From: math.eber at ...221... (Matti) Date: Sun, 20 Feb 2011 06:34:15 +0100 Subject: [Gambas-user] gb3 Menu Editor Shortcuts In-Reply-To: <201102200123.40022.gambas@...1...> References: <4D601DF0.5030706@...221...> <201102200123.40022.gambas@...1...> Message-ID: <4D60A7D7.7000307@...221...> I would never have considered different keyboards. Of course... Fine now. Am 20.02.2011 01:23, schrieb Beno?t Minisini: > I wanted the shortcut list to have only keys that do not differ between > different keyboards. Of course I forgot the numeric pad, that have '+', '-', > '*' and '/' as non-ambiguous keys. > > I added them in the last release. > > Regards, > From mike.crean at ...1940... Sun Feb 20 08:03:12 2011 From: mike.crean at ...1940... (Mike) Date: Sun, 20 Feb 2011 15:03:12 +0800 Subject: [Gambas-user] Video Capture Message-ID: <1298185392.1830.3.camel@...2519...> Hi Benoit, Have I missed something in the MyWebCam example as I do not see any code to capture a video stream to file (AVI). is there any example code to do this. Best Regards Mike From mike.crean at ...1940... Sun Feb 20 09:10:26 2011 From: mike.crean at ...1940... (Mike) Date: Sun, 20 Feb 2011 16:10:26 +0800 Subject: [Gambas-user] Video Capture Message-ID: <1298189426.2281.4.camel@...2519...> Hi, I think i got it. Install dvgrab shell to it from Gambas with desired options. See this for more info. http://manpages.ubuntu.com/manpages/hardy/man1/dvgrab.1.html Regards Mike From gambas at ...1... Sun Feb 20 14:00:13 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 20 Feb 2011 14:00:13 +0100 Subject: [Gambas-user] Video Capture In-Reply-To: <1298189426.2281.4.camel@...2519...> References: <1298189426.2281.4.camel@...2519...> Message-ID: <201102201400.14109.gambas@...1...> > Hi, > > I think i got it. Install dvgrab shell to it from Gambas with desired > options. > > See this for more info. > http://manpages.ubuntu.com/manpages/hardy/man1/dvgrab.1.html > > Regards > Mike > Apparently, the gb.v4l component can extract each image generated by the WebCam, but cannot generate an AVI from it. Hopefully, there are command-line tools that can do that for you. I think mplayer can take a bunch of images and generate a video from them too. Regards, -- Beno?t Minisini From math.eber at ...221... Sun Feb 20 18:42:02 2011 From: math.eber at ...221... (Matti) Date: Sun, 20 Feb 2011 18:42:02 +0100 Subject: [Gambas-user] Wiki: ScrollArea (gb3) Message-ID: <4D61526A.8060507@...221...> I fought with this for a while: The wiki says, you have to draw the image inside the Draw event handler of ScrollArea. So I did: Draw.Image(hImg, 0, 0, Width, Height), where 0,0 is X and Y. But when using the ScrollBars, the Drawing event is raised again, and so the image is redrawn in the original state. No scrolling ever possible. I found a workaround defining X/Y with the scroll positions: Draw.Image(hImg, - ScrollArea1.ScrollX, - ScrollArea1.ScrollY, W, H) This works, but scrolling is quite slow. Did I miss something, or understand it completely wrong? In any case, a hint in the wiki would be helpful. Regards Matti From gambas at ...1... Sun Feb 20 18:58:07 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 20 Feb 2011 18:58:07 +0100 Subject: [Gambas-user] Wiki: ScrollArea (gb3) In-Reply-To: <4D61526A.8060507@...221...> References: <4D61526A.8060507@...221...> Message-ID: <201102201858.07710.gambas@...1...> > I fought with this for a while: The wiki says, you have to draw the image > inside the Draw event handler of ScrollArea. So I did: > Draw.Image(hImg, 0, 0, Width, Height), where 0,0 is X and Y. > > But when using the ScrollBars, the Drawing event is raised again, and so > the image is redrawn in the original state. No scrolling ever possible. > > I found a workaround defining X/Y with the scroll positions: > Draw.Image(hImg, - ScrollArea1.ScrollX, - ScrollArea1.ScrollY, W, H) > It's not a workaround, it's the way it should work. > This works, but scrolling is quite slow. An Image is stored in the process memory. So calling Draw.Image needs it to be transfered to the X11 server first, which is slow. Use Draw.Picture() instead. gb.gtk does the following optimization : Image and Picture are actually the same internal object. Then it tries to put the image data in memory, or in the X11 server according to the method used on the Image or Picture. So, there, Draw.Image() will be the first time only. The next time, the image data are actually on the X11 server. So, anyway, use Draw.Picture() to be sure. -- Beno?t Minisini From math.eber at ...221... Sun Feb 20 19:47:21 2011 From: math.eber at ...221... (Matti) Date: Sun, 20 Feb 2011 19:47:21 +0100 Subject: [Gambas-user] Wiki: ScrollArea (gb3) In-Reply-To: <201102201858.07710.gambas@...1...> References: <4D61526A.8060507@...221...> <201102201858.07710.gambas@...1...> Message-ID: <4D6161B9.6090807@...221...> Am 20.02.2011 18:58, schrieb Beno?t Minisini: > > It's not a workaround, it's the way it should work. ok, thanks! But this should be explained in the wiki! > So, anyway, use Draw.Picture() to be sure. > Yes, this is faster. But, with mid-size photographs, ScrollArea is still 10x slower than a PictureBox inside a ScrollView. I prefer that way. From sbbicer at ...626... Mon Feb 21 09:26:48 2011 From: sbbicer at ...626... (Baris Bicer) Date: Mon, 21 Feb 2011 10:26:48 +0200 Subject: [Gambas-user] 2 Forms on one form! Message-ID: Hi, i am new to gambas. I have a form consisting 4 buttons for each form.When clicking one button the form will be shown on the same form using panels etc.Is it possible? I am waiting for your help.Thank you. From charles at ...1784... Mon Feb 21 11:47:56 2011 From: charles at ...1784... (charlesg) Date: Mon, 21 Feb 2011 02:47:56 -0800 (PST) Subject: [Gambas-user] 2 Forms on one form! In-Reply-To: References: Message-ID: <30976099.post@...1379...> Baris Bicer wrote: > > When clicking one button the form will be shown on the same form using > panels etc.Is it possible? > Most objects have a visible property. You can, for example, layer panels on a form (one on top of the other) and control the visible property from a button. Here's an example where a gridview is made visible when a textbox gets focus. > PUBLIC SUB txtSupplier_GotFocus() > gvSupp.Visible = TRUE > showSupplier > END > -- View this message in context: http://old.nabble.com/2-Forms-on-one-form%21-tp30975224p30976099.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...2524... Mon Feb 21 16:42:01 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 21 Feb 2011 15:42:01 +0000 Subject: [Gambas-user] Issue 37 in gambas: GTK+ Application does not exit if balloon was displayed Message-ID: <0-6813199134517018827-10609542494933413052-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 37 by sot... at ...626...: GTK+ Application does not exit if balloon was displayed http://code.google.com/p/gambas/issues/detail?id=37 1) Describe the problem. If you use a balloon to display a message then the application does not ends after closing all visible forms 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r3587 Operating system: Linux Distribution: Ubuntu Architecture: x86_64 GUI component: GTK+ Desktop used: Gnome 3) Provide a little project that reproduces the bug or the crash. test.tar.gz attached Attachments: test.tar.gz 5.7 KB From gambas at ...2524... Mon Feb 21 16:46:03 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 21 Feb 2011 15:46:03 +0000 Subject: [Gambas-user] Issue 38 in gambas: GTK+ Application.MainWindow is read only Message-ID: <0-6813199134517018827-17233207127568762428-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 38 by sot... at ...626...: GTK+ Application.MainWindow is read only http://code.google.com/p/gambas/issues/detail?id=38 1) Describe the problem. Application.MainWindow is read only under GTK+ see the attcahed image 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r3587 Operating system: Linux Distribution: Ubuntu 10.04 Architecture: x86_64 GUI component: GTK+ Desktop used: Gnome Attachments: MainWindow.png 217 KB From gambas at ...2524... Mon Feb 21 16:55:07 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 21 Feb 2011 15:55:07 +0000 Subject: [Gambas-user] Issue 38 in gambas: GTK+ Application.MainWindow is read only In-Reply-To: <0-6813199134517018827-17233207127568762428-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-17233207127568762428-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-17233207127568762428-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version -GUI-Any Version-TRUNK GUI-GTK Comment #1 on issue 38 by benoit.m... at ...626...: GTK+ Application.MainWindow is read only http://code.google.com/p/gambas/issues/detail?id=38 (No comment was entered for this change.) From gambas at ...2524... Mon Feb 21 16:59:09 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 21 Feb 2011 15:59:09 +0000 Subject: [Gambas-user] Issue 38 in gambas: GTK+ Application.MainWindow is read only In-Reply-To: <1-6813199134517018827-17233207127568762428-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-17233207127568762428-gambas=googlecode.com@...2524...> <0-6813199134517018827-17233207127568762428-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-17233207127568762428-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 38 by benoit.m... at ...626...: GTK+ Application.MainWindow is read only http://code.google.com/p/gambas/issues/detail?id=38 Fixed in revision #3588 From gambas at ...2524... Mon Feb 21 17:08:17 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 21 Feb 2011 16:08:17 +0000 Subject: [Gambas-user] Issue 37 in gambas: GTK+ Application does not exit if balloon was displayed In-Reply-To: <0-6813199134517018827-10609542494933413052-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-10609542494933413052-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-10609542494933413052-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 37 by benoit.m... at ...626...: GTK+ Application does not exit if balloon was displayed http://code.google.com/p/gambas/issues/detail?id=37 (No comment was entered for this change.) From gambas at ...2524... Mon Feb 21 17:12:24 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 21 Feb 2011 16:12:24 +0000 Subject: [Gambas-user] Issue 20 in gambas: Network socket read string[] fails - seg11 crash In-Reply-To: <4-6813199134517018827-16995953517062707402-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-16995953517062707402-gambas=googlecode.com@...2524...> <0-6813199134517018827-16995953517062707402-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-16995953517062707402-gambas=googlecode.com@...2524...> Updates: Status: Invalid Comment #5 on issue 20 by benoit.m... at ...626...: Network socket read string[] fails - seg11 crash http://code.google.com/p/gambas/issues/detail?id=20 OK. If you get it again, create another issue. From gambas at ...2524... Mon Feb 21 17:16:30 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 21 Feb 2011 16:16:30 +0000 Subject: [Gambas-user] Issue 6 in gambas: signal #11 with Gtk+ In-Reply-To: <12-6813199134517018827-10360728768707012438-gambas=googlecode.com@...2524...> References: <12-6813199134517018827-10360728768707012438-gambas=googlecode.com@...2524...> <0-6813199134517018827-10360728768707012438-gambas=googlecode.com@...2524...> Message-ID: <13-6813199134517018827-10360728768707012438-gambas=googlecode.com@...2524...> Updates: Labels: -Type-Bug Type-Crash Comment #13 on issue 6 by benoit.m... at ...626...: signal #11 with Gtk+ http://code.google.com/p/gambas/issues/detail?id=6 (No comment was entered for this change.) From gambas at ...2524... Mon Feb 21 17:20:31 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 21 Feb 2011 16:20:31 +0000 Subject: [Gambas-user] Issue 37 in gambas: GTK+ Application does not exit if balloon was displayed In-Reply-To: <1-6813199134517018827-10609542494933413052-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-10609542494933413052-gambas=googlecode.com@...2524...> <0-6813199134517018827-10609542494933413052-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-10609542494933413052-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 37 by benoit.m... at ...626...: GTK+ Application does not exit if balloon was displayed http://code.google.com/p/gambas/issues/detail?id=37 Fixed in revision #3589. From gambas at ...2524... Tue Feb 22 12:04:50 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 22 Feb 2011 11:04:50 +0000 Subject: [Gambas-user] Issue 39 in gambas: GTK+ TextArea.ensure visibile does not scroll the text Message-ID: <0-6813199134517018827-7987746704552683205-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 39 by sot... at ...626...: GTK+ TextArea.ensure visibile does not scroll the text http://code.google.com/p/gambas/issues/detail?id=39 1) Describe the problem. Calling the sub .EnsureVisible after a cursor position change cause the text scrolling only once. the second call text into TextArea does not scrolls. Next calls do the scroll but the cursor isn't visible. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r3589 Operating system: Linux Distribution: Ubuntu 10.04 Architecture: x86_64 GUI component: GTK+ Desktop used: Gnome 3) Provide a little project that reproduces the bug or the crash. .tar.gz attached 4) If your project needs a database, try to provide it, or part of it. no needs 5) Explain clearly how to reproduce the bug or the crash. Run the attached project; in the ButtonBox type "error" then click the search button. The first time you can see the text scrolling and the pattern found highlighted. Then click again the button and no scroll occurs, click once again the button and yes, the text scrolls but to get the highlighted pattern you must manually scroll the TextArea. Attachments: EnsureVisible.tar.gz 9.9 KB From gambas at ...2524... Tue Feb 22 13:19:02 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 22 Feb 2011 12:19:02 +0000 Subject: [Gambas-user] Issue 40 in gambas: small error (Gambas3) Message-ID: <0-6813199134517018827-12735308907872219138-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 40 by a.al... at ...626...: small error (Gambas3) http://code.google.com/p/gambas/issues/detail?id=40 1) Describe the problem. sample: Dim Var_bool As Boolean Var_bool = True print "Var_bool is ", Var_bool 'output : Var_bool is True ----> all right print "Var_bool is "& Var_bool 'output : Var_bool is T ----> not True 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): [OperatingSystem] OperatingSystem=Linux KernelRelease=2.6.35-27-generic DistributionVendor=Ubuntu DistributionRelease="Ubuntu 10.10" [System] CPUArchitecture=x86_64 TotalRam=8193060 kB Desktop=Gnome [Gambas] Gambas1=Not Installed Gambas2=Not Installed Gambas3=2.99.0 Gambas3Path=/usr/local/bin/gbx3 3) It is "Console - Command line application" project From gambas at ...2524... Tue Feb 22 13:28:04 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 22 Feb 2011 12:28:04 +0000 Subject: [Gambas-user] Issue 40 in gambas: small error (Gambas3) In-Reply-To: <0-6813199134517018827-12735308907872219138-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-12735308907872219138-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-12735308907872219138-gambas=googlecode.com@...2524...> Updates: Status: Invalid Labels: -Version Version-TRUNK Comment #1 on issue 40 by benoit.m... at ...626...: small error (Gambas3) http://code.google.com/p/gambas/issues/detail?id=40 PRINT internally uses the Str() function to convert its arguments, so 'PRINT True' prints 'True' (or its translation if you translate the string "True"). The & operator uses CStr() to convert its arguments. So 'PRINT "True is " & True' prints 'True is T'. So everything is all right! From eilert-sprachen at ...221... Tue Feb 22 16:54:41 2011 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 22 Feb 2011 16:54:41 +0100 Subject: [Gambas-user] ColumnView: how to add text to columns (Gambas 2) Message-ID: <4D63DC41.4010007@...221...> Hi, Never used a ColumnView before. Now it could be useful. But I'm stuck at the point how to insert text into other columns than column 0. ColumnView1.Add("key1", "Text1") only adds text to the leftmost column, the one that can be shown like a treeview. (I don't need that treeview feature, just several columns.) And how do I add text to column 1, 2 etc.? By the way, up to now I always used a TableView for such tasks, but it's somewhat roundabout when you just need an orderly list. I'm curious how this one works :-) Thanks for your help. Rolf From soleilpqd at ...626... Tue Feb 22 17:22:05 2011 From: soleilpqd at ...626... (=?UTF-8?B?UGjhuqFtIFF1YW5nIETGsMahbmc=?=) Date: Tue, 22 Feb 2011 23:22:05 +0700 Subject: [Gambas-user] Re-arrange controls Message-ID: Hi, I have a from with arrangement=Vertical. I add some buttons in code like: button1 = new Button(Form1) button2 = new Button(Form1) ..... Of course when program starts, the buttons are displayed from top to bottom with order: button1 => button2 ..... I want to rearrange those buttons with new order like button1 -> button3 -> button2... I tried reparent them out (into an hidden container) and reparent them again into my form with new order. Is there an other and better way to rearrange those buttons in run-time with new order? From gambas at ...1... Tue Feb 22 17:27:14 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Tue, 22 Feb 2011 17:27:14 +0100 Subject: [Gambas-user] Re-arrange controls In-Reply-To: References: Message-ID: <201102221727.14760.gambas@...1...> > Hi, > > I have a from with arrangement=Vertical. I add some buttons in code like: > button1 = new Button(Form1) > button2 = new Button(Form1) > ..... > Of course when program starts, the buttons are displayed from top to bottom > with order: button1 => button2 ..... > I want to rearrange those buttons with new order like button1 -> button3 -> > button2... I tried reparent them out (into an hidden container) and > reparent them again into my form with new order. > Is there an other and better way to rearrange those buttons in run-time > with new order? Yep. By using the Lower() and Raise() method, or by setting the Next and Previous properties (in Gambas 3). Regards, -- Beno?t Minisini From anthony at ...2542... Tue Feb 22 17:51:49 2011 From: anthony at ...2542... (Anthony Tekatch) Date: Tue, 22 Feb 2011 11:51:49 -0500 Subject: [Gambas-user] ColumnView: how to add text to columns (Gambas 2) In-Reply-To: <4D63DC41.4010007@...221...> References: <4D63DC41.4010007@...221...> Message-ID: <20110222115149.180d3c00@...2543...> > ... how to insert text into other columns than column 0. > > ColumnView1.Add("key1", "Text1") only adds text to the leftmost column, > the one that can be shown like a treeview. (I don't need that treeview > feature, just several columns.) And how do I add text to column 1, 2 > etc.? Here is an example. I am using a ColumnView called ProductsList In the Form_Open do, I do this: ProductsList.Columns.Count = 4 ProductsList.Header = 1 'show header ProductsList.Mode = Select.Single ProductsList.Columns[0].Text = "ID" ProductsList.Columns[1].Text = "Act" ProductsList.Columns[2].Text = "Des" ProductsList.Columns[3].Text = "Description" The to populate the entire Columnview, here is part of the code used: ... ctr = 1 FOR EACH Result ProductsList.Add(ctr, Result!product_id) ProductsList[ctr][1] = Result!actual_stock ProductsList[ctr][2] = Result!desired_stock ProductsList[ctr][3] = Result!description INC ctr IF ctr > 1000 THEN BREAK NEXT ... So as you can see, your "Add" adds an entire row. The you can use array identifiers to address and set the column values. Probably like this: ColumnView1["key1"][1] = "Text A" ColumnView1["key1"][2] = "Text B" From gambas at ...2524... Tue Feb 22 18:02:21 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 22 Feb 2011 17:02:21 +0000 Subject: [Gambas-user] Issue 39 in gambas: GTK+ TextArea.ensure visibile does not scroll the text In-Reply-To: <0-6813199134517018827-7987746704552683205-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-7987746704552683205-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-7987746704552683205-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version -GUI-Any Version-TRUNK GUI-GTK Comment #1 on issue 39 by benoit.m... at ...626...: GTK+ TextArea.ensure visibile does not scroll the text http://code.google.com/p/gambas/issues/detail?id=39 (No comment was entered for this change.) From eilert-sprachen at ...221... Tue Feb 22 18:24:58 2011 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 22 Feb 2011 18:24:58 +0100 Subject: [Gambas-user] ColumnView: how to add text to columns (Gambas 2) In-Reply-To: <20110222115149.180d3c00@...2543...> References: <4D63DC41.4010007@...221...> <20110222115149.180d3c00@...2543...> Message-ID: <4D63F16A.8010307@...221...> Am 22.02.2011 17:51, schrieb Anthony Tekatch: >> ... how to insert text into other columns than column 0. >> >> ColumnView1.Add("key1", "Text1") only adds text to the leftmost column, >> the one that can be shown like a treeview. (I don't need that treeview >> feature, just several columns.) And how do I add text to column 1, 2 >> etc.? > > Here is an example. I am using a ColumnView called ProductsList > > In the Form_Open do, I do this: > > ProductsList.Columns.Count = 4 > ProductsList.Header = 1 'show header > ProductsList.Mode = Select.Single > ProductsList.Columns[0].Text = "ID" > ProductsList.Columns[1].Text = "Act" > ProductsList.Columns[2].Text = "Des" > ProductsList.Columns[3].Text = "Description" > > > The to populate the entire Columnview, here is part of the code used: > ... > ctr = 1 > FOR EACH Result > ProductsList.Add(ctr, Result!product_id) > ProductsList[ctr][1] = Result!actual_stock > ProductsList[ctr][2] = Result!desired_stock > ProductsList[ctr][3] = Result!description > INC ctr > IF ctr> 1000 THEN BREAK > NEXT > ... > > > So as you can see, your "Add" adds an entire row. The you can use array > identifiers to address and set the column values. Probably like this: > ColumnView1["key1"][1] = "Text A" > ColumnView1["key1"][2] = "Text B" > Aaaaah - ok :-) Now it works! Thanks a lot - have a nice evening, Anthony. Regards Rolf From gambas at ...2524... Tue Feb 22 19:00:48 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 22 Feb 2011 18:00:48 +0000 Subject: [Gambas-user] Issue 39 in gambas: GTK+ TextArea.ensure visibile does not scroll the text In-Reply-To: <1-6813199134517018827-7987746704552683205-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-7987746704552683205-gambas=googlecode.com@...2524...> <0-6813199134517018827-7987746704552683205-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-7987746704552683205-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 39 by benoit.m... at ...626...: GTK+ TextArea.ensure visibile does not scroll the text http://code.google.com/p/gambas/issues/detail?id=39 Fixed in revision #3603. Note that your code is not correct. TextArea positions are character positions, which is not byte position as text is UTF-8. In other words, to search inside a TextArea, you must not use Instr(), Len()... but their equivalent in the String class. From jussi.lahtinen at ...626... Tue Feb 22 21:32:56 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 22 Feb 2011 22:32:56 +0200 Subject: [Gambas-user] Strange error Message-ID: Hi! I noticed strange behaviour in one of my projects, and I managed to isolate cause. When I run this code twice; " If IsDir("/tmp/testingtesting/") = True Then Shell "rm -r /tmp/testingtesting/" ' Wait Endif Mkdir "/tmp/testingtesting/" " I got balloon message from IDE; "The program has returned the value: 1". And to console; "warning: debugger I/O error". Problem is solved if you uncomment Wait command, but I think Mkdir should handle this better. Gambas 3 rev 3589 @ Ubuntu 10.10 64bit Jussi From frederic.176 at ...626... Tue Feb 22 21:54:07 2011 From: frederic.176 at ...626... (Federico Leite) Date: Tue, 22 Feb 2011 18:54:07 -0200 Subject: [Gambas-user] [Bug] Add Xfce 4.6 stock icons. Message-ID: Hi, in Xfce 4.6, to get the icon theme you're using, you must parse the file "~ / .config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml. " I will provide the Case "xfce". Case "xfce" > > Try hFile = Open > "~/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml" > If Not Error Then > While Not Eof(hFile) > Line Input #hFile, sLig > If sLig Like "* value=\"*\"/>*" Then > Try sTheme = Trim(Scan(sLig, "* type=\"string\" value=\"*\"/>*")[1]) > Break > Endif > Wend > Close #hFile > Endif > > If sTheme Then > GetAllThemePath("gnome", ["~/.icons", "/usr/share/icons"], sTheme) > 'GetAllThemePath("gnome", "/usr/X11R6/share/icons", sTheme) > Endif > > AddPath("gnome", "/usr/share/icons/gnome") Hope to add more of desktops enviroments support in Stock class. Sorry for my english ^ ^ Regards, -- Federico Leite ############################################## Areida Developer From gambas at ...2524... Wed Feb 23 04:16:55 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 23 Feb 2011 03:16:55 +0000 Subject: [Gambas-user] Issue 41 in gambas: Message.Question displays buttons in reverse order Message-ID: <0-6813199134517018827-6195096282307310673-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 41 by jonericn... at ...626...: Message.Question displays buttons in reverse order http://code.google.com/p/gambas/issues/detail?id=41 Version: TRUNK -- 2.99.0 Revision: r1234 (if you use a development version) Operating system: Linux Distribution: Linux Mint Architecture: x86_64 (AMD 64) GUI component: QT4 Desktop used: Gnome Message.Question displays the buttons in reverse order. Select Message.Question("Am I crazy?", "Yes", "No", "Don't know") Case 1 TextLabel1.Text = "You are really crazy" Case 2 TextLabel1.Text = "No you are not crazy" Case 3 TextLabel1.Text = "Hard to say, isn't it?" End Select This will connect the correct button with the correct answer, but the buttons will be displayed in the Message in reverse order. The buttons in the Message should say: (Yes) (No) (Don't know) But the buttons actually display as: (Don't know) (No) (Yes) Small project is attached. Attachments: TestMessage.tar.gz 5.5 KB From nando_f at ...951... Wed Feb 23 06:32:10 2011 From: nando_f at ...951... (nando) Date: Wed, 23 Feb 2011 01:32:10 -0400 Subject: [Gambas-user] Gambas 2: Tab Strip 'Menu' Question Message-ID: <20110223052912.M12420@...951...> Does anyone know why F10 is the 'menu activation' key for a MENU on a tab stip and how to change it. I cannot seem to find any info on it. -Fernando From demosthenesk at ...626... Wed Feb 23 10:00:35 2011 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Wed, 23 Feb 2011 11:00:35 +0200 Subject: [Gambas-user] i cant change mouse cursor. Message-ID: <1298451635.4918.6.camel@...2493...> what i am doing wrong? Private cursorPickColor As New Cursor((Picture.Load("ftcolorpicker.png"))) Me.Mouse = Mouse.Custom Me.Cursor = cursorPickColor this code does not work on rev3546 Gnome. project example here lines 11, 168 http://www.mediafire.com/?kplu15bfewnmgb8 -- Regards, Demosthenes Koptsis. From gambas at ...2524... Wed Feb 23 21:19:17 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 23 Feb 2011 20:19:17 +0000 Subject: [Gambas-user] Issue 42 in gambas: In Gambas3 (2.99.0), Line Input hangs up. Message-ID: <0-6813199134517018827-1841156127414826682-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 42 by jonericn... at ...626...: In Gambas3 (2.99.0), Line Input hangs up. http://code.google.com/p/gambas/issues/detail?id=42 1) In Gambas 2.99.0, Line Input does not work. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Operating system: Linux Distribution: Linux Mint Architecture: x86_64 Desktop used: Gnome This code hangs at Line Input: ' Gambas module file Public Sub Main() Dim bb As String Print "====>"; Line Input bb Print bb Print "Finished" End Attachments: TestLineInput.tar.gz 4.6 KB From gambas at ...2524... Wed Feb 23 21:23:28 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 23 Feb 2011 20:23:28 +0000 Subject: [Gambas-user] Issue 14 in gambas: Draw.Drawing does not work -- Signal #11 error In-Reply-To: <3-6813199134517018827-13140061639659794138-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-13140061639659794138-gambas=googlecode.com@...2524...> <0-6813199134517018827-13140061639659794138-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-13140061639659794138-gambas=googlecode.com@...2524...> Comment #4 on issue 14 by jonericn... at ...626...: Draw.Drawing does not work -- Signal #11 error http://code.google.com/p/gambas/issues/detail?id=14 I have confirmed that Draw.Drawing DOES work in Gambas3 (2.99.0 -- using Qt4). It will successfully draw a normal, plain .SVG file into the DrawingArea. From karpaga81 at ...626... Wed Feb 23 23:17:56 2011 From: karpaga81 at ...626... (=?ISO-8859-1?Q?Carlos_Parrilla_Garc=EDa?=) Date: Wed, 23 Feb 2011 23:17:56 +0100 Subject: [Gambas-user] Problem's Compiling Gambas 2.22.0 on Debian 6.0 Message-ID: <4D658794.1000107@...626...> Hi, I have installed all packages: $ aptitude install build-essential g++ automake autoconf bzip2 debhelper dpatch firebird2.0-dev gettext kdelibs4-dev libbz2-dev libcurl3-dev libgtk2.0-dev libjpeg62-dev libmysqlclient15-dev libpcre3-dev libpng12-dev libpoppler-dev libpq-dev libqt3-compat-headers libqt3-mt-dev librsvg2-dev libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-sound1.2-dev libsdl1.2-dev libsqlite0-dev libsqlite3-dev libssl-dev libxml2-dev libxtst-dev mesa-common-dev unixodbc-dev zlib1g-dev libffi-dev for my Debian and I get this warning: ************************************************************ THESE COMPONENTS ARE DISABLED: - gb.corba - gb.db.firebird - gb.qte ************************************************************ I don't know how to fix it. More information: Debian Squeeze 6.0, 2.6.32-5-686 Processor: Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz Thanks. From sotema at ...626... Thu Feb 24 12:46:01 2011 From: sotema at ...626... (Emanuele Sottocorno) Date: Thu, 24 Feb 2011 12:46:01 +0100 Subject: [Gambas-user] gb3 rev 3609 make error in qt4 Message-ID: <1298547961.13618.8.camel@...2516...> Compiling Gb3 rev 3609 got this error in gb.qt4/src: CWidget.cpp: In function ?void Control_Next(void*, void*)?: CWidget.cpp:938: error: ?v? was not declared in this scope make[5]: *** [gb_qt4_la-CWidget.lo] Errore 1 Ubuntu 10.04 X86_64 2.6.32-28-generic Regards, Emanuele From gambas at ...1... Thu Feb 24 12:51:21 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Thu, 24 Feb 2011 12:51:21 +0100 Subject: [Gambas-user] gb3 rev 3609 make error in qt4 In-Reply-To: <1298547961.13618.8.camel@...2516...> References: <1298547961.13618.8.camel@...2516...> Message-ID: <201102241251.21762.gambas@...1...> > Compiling Gb3 rev 3609 got this error in gb.qt4/src: > > CWidget.cpp: In function ?void Control_Next(void*, void*)?: > CWidget.cpp:938: error: ?v? was not declared in this scope > make[5]: *** [gb_qt4_la-CWidget.lo] Errore 1 > > Ubuntu 10.04 X86_64 2.6.32-28-generic > > Regards, > Emanuele > > It was fixed in rev #3610. Regards, -- Beno?t Minisini From sbbicer at ...626... Thu Feb 24 13:45:22 2011 From: sbbicer at ...626... (Baris Bicer) Date: Thu, 24 Feb 2011 14:45:22 +0200 Subject: [Gambas-user] Postgresql Reading Data to Form Message-ID: Hi , i connected postgresql database to my project.But i cannot read data from database with form.Can anyone help me? Datasource,dataview,etc.Which property i have to use for reading data.Connection is not the problem.The problem i am new in gambas... Thank you. From demosthenesk at ...626... Thu Feb 24 16:10:47 2011 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Thu, 24 Feb 2011 17:10:47 +0200 Subject: [Gambas-user] Image.DrawRect() is same with Image.FillRect() Message-ID: <1298560247.31403.3.camel@...2493...> Hi, i use the Image.DrawRect but i get the same result with Image.FillRect i use gnome and ubuntu 10.04. project http://www.mediafire.com/?kplu15bfewnmgb8 lines 109-119 -- Regards, Demosthenes Koptsis. From gambas at ...1... Thu Feb 24 16:42:46 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Thu, 24 Feb 2011 16:42:46 +0100 Subject: [Gambas-user] Strange error In-Reply-To: References: Message-ID: <201102241642.46397.gambas@...1...> > Hi! > I noticed strange behaviour in one of my projects, and I managed to > isolate cause. > When I run this code twice; > " > If IsDir("/tmp/testingtesting/") = True Then > Shell "rm -r /tmp/testingtesting/" ' Wait > Endif > > Mkdir "/tmp/testingtesting/" > " > > I got balloon message from IDE; "The program has returned the value: 1". > And to console; "warning: debugger I/O error". > > Problem is solved if you uncomment Wait command, > but I think Mkdir should handle this better. > > > Gambas 3 rev 3589 @ Ubuntu 10.10 64bit > > Jussi > It should be fixed in revision #3612. The debugger thought it got an I/O error whereas it didn't. Regards, -- Beno?t Minisini From gambas at ...1... Fri Feb 25 00:25:22 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 25 Feb 2011 00:25:22 +0100 Subject: [Gambas-user] [Bug] Add Xfce 4.6 stock icons. In-Reply-To: References: Message-ID: <201102250025.23015.gambas@...1...> > Hi, in Xfce 4.6, to get the icon theme you're using, you must parse the > file "~ / .config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml. " I will > provide the Case "xfce". > > > > Case "xfce" > > ... > > Hope to add more of desktops enviroments support in Stock class. Sorry for > my english ^ ^ > > Regards, I merged your fix in revision #3614. If you can test it and confirm that it works, it would be cool. Regards, -- Beno?t Minisini From gambas at ...1... Fri Feb 25 00:58:35 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 25 Feb 2011 00:58:35 +0100 Subject: [Gambas-user] i cant change mouse cursor. In-Reply-To: <1298451635.4918.6.camel@...2493...> References: <1298451635.4918.6.camel@...2493...> Message-ID: <201102250058.35946.gambas@...1...> > what i am doing wrong? > > > Private cursorPickColor As New > Cursor((Picture.Load("ftcolorpicker.png"))) > > Me.Mouse = Mouse.Custom > Me.Cursor = cursorPickColor > > this code does not work on rev3546 Gnome. > > project example here > lines 11, 168 > http://www.mediafire.com/?kplu15bfewnmgb8 Apparently GTK+ does not support color cursors. But Qt4 does. Regards, -- Beno?t Minisini From gambas at ...1... Fri Feb 25 01:27:49 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 25 Feb 2011 01:27:49 +0100 Subject: [Gambas-user] Image.DrawRect() is same with Image.FillRect() In-Reply-To: <1298560247.31403.3.camel@...2493...> References: <1298560247.31403.3.camel@...2493...> Message-ID: <201102250127.49287.gambas@...1...> > Hi, > > i use the Image.DrawRect but i get the same result with Image.FillRect > i use gnome and ubuntu 10.04. > > project > http://www.mediafire.com/?kplu15bfewnmgb8 > > lines 109-119 Actually the names are not well chosen. Draw.FillRect() fills an opaque rectangle with a color. Draw.DrawRect() fills a rectangle, but merge the rectangle with the image if the color is transparent. Regards, -- Beno?t Minisini From demosthenesk at ...626... Fri Feb 25 10:44:10 2011 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Fri, 25 Feb 2011 11:44:10 +0200 Subject: [Gambas-user] i cant change mouse cursor. In-Reply-To: <201102250058.35946.gambas@...1...> References: <1298451635.4918.6.camel@...2493...> <201102250058.35946.gambas@...1...> Message-ID: <1298627050.6526.0.camel@...2493...> Thanks, i change to gb.qt4 and it works. On Fri, 2011-02-25 at 00:58 +0100, Beno?t Minisini wrote: > > what i am doing wrong? > > > > > > Private cursorPickColor As New > > Cursor((Picture.Load("ftcolorpicker.png"))) > > > > Me.Mouse = Mouse.Custom > > Me.Cursor = cursorPickColor > > > > this code does not work on rev3546 Gnome. > > > > project example here > > lines 11, 168 > > http://www.mediafire.com/?kplu15bfewnmgb8 > > Apparently GTK+ does not support color cursors. But Qt4 does. > > Regards, > -- Regards, Demosthenes Koptsis. From demosthenesk at ...626... Fri Feb 25 11:10:07 2011 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Fri, 25 Feb 2011 12:10:07 +0200 Subject: [Gambas-user] Image.DrawRect() is same with Image.FillRect() In-Reply-To: <201102250127.49287.gambas@...1...> References: <1298560247.31403.3.camel@...2493...> <201102250127.49287.gambas@...1...> Message-ID: <1298628607.6526.6.camel@...2493...> ok, something else. i see there is no documentation but if you like to answer a question about DrawRect. how i declare transparency to a color? i see the syntax is Image.DrawRect(X,Y,Width,Height,Color) On Fri, 2011-02-25 at 01:27 +0100, Beno?t Minisini wrote: > > Hi, > > > > i use the Image.DrawRect but i get the same result with Image.FillRect > > i use gnome and ubuntu 10.04. > > > > project > > http://www.mediafire.com/?kplu15bfewnmgb8 > > > > lines 109-119 > > Actually the names are not well chosen. > > Draw.FillRect() fills an opaque rectangle with a color. > > Draw.DrawRect() fills a rectangle, but merge the rectangle with the image if > the color is transparent. > > Regards, > -- Regards, Demosthenes Koptsis. From gambas.fr at ...626... Fri Feb 25 13:43:12 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 25 Feb 2011 13:43:12 +0100 Subject: [Gambas-user] Image.DrawRect() is same with Image.FillRect() In-Reply-To: <1298628607.6526.6.camel@...2493...> References: <1298560247.31403.3.camel@...2493...> <201102250127.49287.gambas@...1...> <1298628607.6526.6.camel@...2493...> Message-ID: 2011/2/25 Demosthenes Koptsis : > ok, something else. > > i see there is no documentation but if you like to answer a question > about DrawRect. > > how i declare transparency to a color? > i see the syntax is > Image.DrawRect(X,Y,Width,Height,Color) > > > > On Fri, 2011-02-25 at 01:27 +0100, Beno?t Minisini wrote: >> > Hi, >> > >> > i use the Image.DrawRect but i get the same result with Image.FillRect >> > i use gnome and ubuntu 10.04. >> > >> > project >> > http://www.mediafire.com/?kplu15bfewnmgb8 >> > >> > lines 109-119 >> >> Actually the names are not well chosen. >> >> Draw.FillRect() fills an opaque rectangle with a color. >> >> Draw.DrawRect() fills a rectangle, but merge the rectangle with the image if >> the color is transparent. >> >> Regards, >> > > -- > Regards, > Demosthenes Koptsis. > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > with color.rgb(red, green, blue, alpha) -- Fabien Bodard From demosthenesk at ...626... Fri Feb 25 13:52:04 2011 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Fri, 25 Feb 2011 14:52:04 +0200 Subject: [Gambas-user] Image.DrawRect() is same with Image.FillRect() In-Reply-To: References: <1298560247.31403.3.camel@...2493...> <201102250127.49287.gambas@...1...> <1298628607.6526.6.camel@...2493...> Message-ID: <1298638324.7564.0.camel@...2494...> Thanks Fabien i will try it. On Fri, 2011-02-25 at 13:43 +0100, Fabien Bodard wrote: > 2011/2/25 Demosthenes Koptsis : > > ok, something else. > > > > i see there is no documentation but if you like to answer a question > > about DrawRect. > > > > how i declare transparency to a color? > > i see the syntax is > > Image.DrawRect(X,Y,Width,Height,Color) > > > > > > > > On Fri, 2011-02-25 at 01:27 +0100, Beno?t Minisini wrote: > >> > Hi, > >> > > >> > i use the Image.DrawRect but i get the same result with Image.FillRect > >> > i use gnome and ubuntu 10.04. > >> > > >> > project > >> > http://www.mediafire.com/?kplu15bfewnmgb8 > >> > > >> > lines 109-119 > >> > >> Actually the names are not well chosen. > >> > >> Draw.FillRect() fills an opaque rectangle with a color. > >> > >> Draw.DrawRect() fills a rectangle, but merge the rectangle with the image if > >> the color is transparent. > >> > >> Regards, > >> > > > > -- > > Regards, > > Demosthenes Koptsis. > > > > > > ------------------------------------------------------------------------------ > > Free Software Download: Index, Search & Analyze Logs and other IT data in > > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > > generated by your applications, servers and devices whether physical, virtual > > or in the cloud. Deliver compliance at lower cost and gain new business > > insights. http://p.sf.net/sfu/splunk-dev2dev > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > with color.rgb(red, green, blue, alpha) > > -- Regards, Demosthenes From gambas at ...1... Fri Feb 25 15:06:12 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 25 Feb 2011 15:06:12 +0100 Subject: [Gambas-user] i cant change mouse cursor. In-Reply-To: <1298627050.6526.0.camel@...2493...> References: <1298451635.4918.6.camel@...2493...> <201102250058.35946.gambas@...1...> <1298627050.6526.0.camel@...2493...> Message-ID: <201102251506.12345.gambas@...1...> > Thanks, i change to gb.qt4 and it works. > I finally made color cursors work in gb.gtk (it was a stupid buggy test that prevented that). This is in revision #3616. Regards, -- Beno?t Minisini From gambas at ...1... Fri Feb 25 15:06:34 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 25 Feb 2011 15:06:34 +0100 Subject: [Gambas-user] Gambas 2: Tab Strip 'Menu' Question In-Reply-To: <20110223052912.M12420@...951...> References: <20110223052912.M12420@...951...> Message-ID: <201102251506.34613.gambas@...1...> > Does anyone know why F10 is the 'menu activation' key for a MENU on a tab > stip and how to change it. I cannot seem to find any info on it. > -Fernando > I dunno what you are talking about... -- Beno?t Minisini From frederic.176 at ...626... Fri Feb 25 17:15:42 2011 From: frederic.176 at ...626... (Federico Leite) Date: Fri, 25 Feb 2011 14:15:42 -0200 Subject: [Gambas-user] [Bug] Add Xfce 4.6 stock icons. In-Reply-To: References: Message-ID: 2011/2/22 Federico Leite > Hi, in Xfce 4.6, to get the icon theme you're using, you must parse the > file "~ / .config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml. " I will > provide the Case "xfce". > > > > Case "xfce" >> >> Try hFile = Open >> "~/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml" >> If Not Error Then >> While Not Eof(hFile) >> Line Input #hFile, sLig >> If sLig Like "*> value=\"*\"/>*" Then >> Try sTheme = Trim(Scan(sLig, "*> name=\"IconThemeName\" type=\"string\" value=\"*\"/>*")[1]) >> Break >> Endif >> Wend >> Close #hFile >> Endif >> >> If sTheme Then >> GetAllThemePath("gnome", ["~/.icons", "/usr/share/icons"], sTheme) >> 'GetAllThemePath("gnome", "/usr/X11R6/share/icons", sTheme) >> Endif >> >> AddPath("gnome", "/usr/share/icons/gnome") > > > Hope to add more of desktops enviroments support in Stock class. Sorry for > my english ^ ^ > > Regards, > > -- > Federico Leite > ############################################## > Areida Developer > > > Works fine. -- Federico Leite ############################################## Areida Developer From math.eber at ...221... Fri Feb 25 22:02:14 2011 From: math.eber at ...221... (math.eber at ...221...) Date: Fri, 25 Feb 2011 22:02:14 +0100 Subject: [Gambas-user] App crashes because of FBalloon (gb3) Message-ID: <1Pt4nm-0s2vz60@...2522...> Since a few days I have strange crashes with the message: "This application has raised an unexpected error and must abort. [29] Invalid object. FBalloon.Window_Move.320" It happens sometimes, not reproducable, when Gambas was minimized and is rezized again. Last time, I can definitely say that my project wasn't running, the Balloon class is not used, and no error balloon showing. Could it be a result of the fix of issue #37? The time would fit. gb 3 rev. 3608, KDE/qt Regards Matti From math.eber at ...221... Fri Feb 25 22:41:50 2011 From: math.eber at ...221... (math.eber at ...221...) Date: Fri, 25 Feb 2011 22:41:50 +0100 Subject: [Gambas-user] Error in wiki (gb3) Message-ID: <1Pt5Q6-25w9q40@...2551...> Wiki: FUNCTION Desaturate ( ) AS [1]Image Desaturate an image evenly. * Value is the degree of desaturation, between 0 and 1. But Desaturate doesn't accept any value. Regards Matti References 1. file://localhost/help/comp/gb.image/image?de&v3&help From nkoch22 at ...626... Sat Feb 26 08:03:59 2011 From: nkoch22 at ...626... (Nicolas Koch) Date: Sat, 26 Feb 2011 02:03:59 -0500 Subject: [Gambas-user] CDE. An interesting packaging tool In-Reply-To: <201012221413.48311.gambas@...1...> References: <.77.224.23.61.1289640081.squirrel@...2402...> <1289741038.6084.3.camel@...2494...> <201012221413.48311.gambas@...1...> Message-ID: So I imagine this has been forgotten and dropped by the wayside, but I have found cde to be very useful in making my app work in opensolaris, OpenIndiana, PC-BSD and some linux builds, mainly suse and ubuntu. @Beno?t I think cde may be the best viable solution at packaging libraries for specified OS's(that is unless you have found a better solution I HOPE!), however compiling libs for each OS is a little different than just using CDE wherever Gambas IDE builds package from. I used virtual box and cde on each distro to create the libs and then packaged it up afterward. So far I have had good success with this method. One good thing is that cde is not too difficult to modify. Nick 2010/12/22 Beno?t Minisini > > IS there any movement on the Gambas3 packaging suite to compile and/or > > include the runtime and libs for the various distributions? I also > looked > > at the CDE route and exceptions can be made to keep files to a minimum > and > > just run your app with cde gbr3 project.gambas > > > > I got minimal results though because while CDE works, it's kind of a pain > > when I want to interact with system files and such outside the cde-root. > > > > Benoit... any idea on how life will be in Gambas 3 for packaging > > runtime/libs? I know I am not the only one begging for this :D > > > > Thanks for your time. > > > > Nick > > > > Sorry, at the moment my priority is the release candidate of Gambas 3. > > But I will look at adapting that tool for our needs. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Forrester recently released a report on the Return on Investment (ROI) of > Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even > within 7 months. Over 3 million businesses have gone Google with Google > Apps: > an online email calendar, and document program that's accessible from your > browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- -Nick From gambas at ...1... Sat Feb 26 10:16:21 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sat, 26 Feb 2011 10:16:21 +0100 Subject: [Gambas-user] CDE. An interesting packaging tool In-Reply-To: References: <.77.224.23.61.1289640081.squirrel@...2402...> <201012221413.48311.gambas@...1...> Message-ID: <201102261016.21629.gambas@...1...> > So I imagine this has been forgotten and dropped by the wayside, but I have > found cde to be very useful in making my app work in opensolaris, > OpenIndiana, PC-BSD and some linux builds, mainly suse and ubuntu. > > > @Beno?t > I think cde may be the best viable solution at packaging libraries for > specified OS's(that is unless you have found a better solution I HOPE!), > however compiling libs for each OS is a little different than just using > CDE wherever Gambas IDE builds package from. I used virtual box and cde on > each distro to create the libs and then packaged it up afterward. So far > I have had good success with this method. > > One good thing is that cde is not too difficult to modify. > > Nick > It has not be forgotten. But I will look at it after the Gambas 3 release. Regards, -- Beno?t Minisini From gambas at ...2524... Sat Feb 26 10:41:10 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 26 Feb 2011 09:41:10 +0000 Subject: [Gambas-user] Issue 41 in gambas: Message.Question displays buttons in reverse order In-Reply-To: <0-6813199134517018827-6195096282307310673-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-6195096282307310673-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-6195096282307310673-gambas=googlecode.com@...2524...> Updates: Status: Fixed Labels: -Version -GUI-Any Version-TRUNK GUI-QT4 Comment #1 on issue 41 by benoit.m... at ...626...: Message.Question displays buttons in reverse order http://code.google.com/p/gambas/issues/detail?id=41 Fixed in revision #3619. From gambas at ...2524... Sat Feb 26 10:45:11 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 26 Feb 2011 09:45:11 +0000 Subject: [Gambas-user] Issue 42 in gambas: In Gambas3 (2.99.0), Line Input hangs up. In-Reply-To: <0-6813199134517018827-1841156127414826682-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-1841156127414826682-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-1841156127414826682-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Labels: -Version Version-TRUNK Comment #1 on issue 42 by benoit.m... at ...626...: In Gambas3 (2.99.0), Line Input hangs up. http://code.google.com/p/gambas/issues/detail?id=42 It hangs inside the IDE, but it does not hang in real life (inside a true terminal). Can you confirm? From gambas at ...2524... Sat Feb 26 13:28:41 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 26 Feb 2011 12:28:41 +0000 Subject: [Gambas-user] Issue 40 in gambas: small error (Gambas3) In-Reply-To: <1-6813199134517018827-12735308907872219138-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-12735308907872219138-gambas=googlecode.com@...2524...> <0-6813199134517018827-12735308907872219138-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-12735308907872219138-gambas=googlecode.com@...2524...> Comment #2 on issue 40 by a.al... at ...626...: small error (Gambas3) http://code.google.com/p/gambas/issues/detail?id=40 Thank you for your attention! From demosthenesk at ...626... Sat Feb 26 17:29:45 2011 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Sat, 26 Feb 2011 18:29:45 +0200 Subject: [Gambas-user] Image.DrawRect() is same with Image.FillRect() In-Reply-To: References: <1298560247.31403.3.camel@...2493...> <201102250127.49287.gambas@...1...> <1298628607.6526.6.camel@...2493...> Message-ID: <1298737785.17025.1.camel@...2493...> ok, i found color.setalpha(). it is ok for integer color values than RGB format. i use integer values. On Fri, 2011-02-25 at 13:43 +0100, Fabien Bodard wrote: > 2011/2/25 Demosthenes Koptsis : > > ok, something else. > > > > i see there is no documentation but if you like to answer a question > > about DrawRect. > > > > how i declare transparency to a color? > > i see the syntax is > > Image.DrawRect(X,Y,Width,Height,Color) > > > > > > > > On Fri, 2011-02-25 at 01:27 +0100, Beno?t Minisini wrote: > >> > Hi, > >> > > >> > i use the Image.DrawRect but i get the same result with Image.FillRect > >> > i use gnome and ubuntu 10.04. > >> > > >> > project > >> > http://www.mediafire.com/?kplu15bfewnmgb8 > >> > > >> > lines 109-119 > >> > >> Actually the names are not well chosen. > >> > >> Draw.FillRect() fills an opaque rectangle with a color. > >> > >> Draw.DrawRect() fills a rectangle, but merge the rectangle with the image if > >> the color is transparent. > >> > >> Regards, > >> > > > > -- > > Regards, > > Demosthenes Koptsis. > > > > > > ------------------------------------------------------------------------------ > > Free Software Download: Index, Search & Analyze Logs and other IT data in > > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > > generated by your applications, servers and devices whether physical, virtual > > or in the cloud. Deliver compliance at lower cost and gain new business > > insights. http://p.sf.net/sfu/splunk-dev2dev > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > with color.rgb(red, green, blue, alpha) > > -- Regards, Demosthenes Koptsis. From demosthenesk at ...626... Sat Feb 26 18:48:21 2011 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Sat, 26 Feb 2011 19:48:21 +0200 Subject: [Gambas-user] DrawArea errors Message-ID: <1298742501.15761.2.camel@...2493...> i have this code ' Gambas class file Public Sub Form_Open() Draw.Begin(drawArea) End Public Sub drawArea_Draw() Draw.Circle(10, 10, 5) End and i get these errors. (Project99:15758): Gdk-CRITICAL **: gdk_drawable_get_colormap: assertion `GDK_IS_DRAWABLE (drawable)' failed (Project99:15758): Gdk-CRITICAL **: gdk_gc_set_background: assertion `GDK_IS_GC (gc)' failed (Project99:15758): Gdk-CRITICAL **: gdk_drawable_get_colormap: assertion `GDK_IS_DRAWABLE (drawable)' failed (Project99:15758): Gdk-CRITICAL **: gdk_gc_set_foreground: assertion `GDK_IS_GC (gc)' failed (Project99:15758): Gdk-CRITICAL **: gdk_drawable_get_colormap: assertion `GDK_IS_DRAWABLE (drawable)' failed (Project99:15758): Gdk-CRITICAL **: gdk_gc_set_background: assertion `GDK_IS_GC (gc)' failed (Project99:15758): Gdk-CRITICAL **: gdk_drawable_get_colormap: assertion `GDK_IS_DRAWABLE (drawable)' failed (Project99:15758): Gdk-CRITICAL **: gdk_gc_set_foreground: assertion `GDK_IS_GC (gc)' failed (Project99:15758): Gdk-CRITICAL **: gdk_gc_set_clip_rectangle: assertion `GDK_IS_GC (gc)' failed (Project99:15758): Gdk-CRITICAL **: gdk_draw_arc: assertion `GDK_IS_DRAWABLE (drawable)' failed i use Ubuntu 10.04 AMD64. -- Regards, Demosthenes Koptsis. -------------- next part -------------- A non-text attachment was scrubbed... Name: Project99.tar.gz Type: application/x-compressed-tar Size: 5142 bytes Desc: not available URL: From gambas at ...1... Sat Feb 26 18:52:47 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sat, 26 Feb 2011 18:52:47 +0100 Subject: [Gambas-user] DrawArea errors In-Reply-To: <1298742501.15761.2.camel@...2493...> References: <1298742501.15761.2.camel@...2493...> Message-ID: <201102261852.47478.gambas@...1...> > i have this code > > ' Gambas class file > > Public Sub Form_Open() > > Draw.Begin(drawArea) > > End > > Public Sub drawArea_Draw() > Draw.Circle(10, 10, 5) > > > End > > > and i get these errors. > > > (Project99:15758): Gdk-CRITICAL **: gdk_drawable_get_colormap: assertion > `GDK_IS_DRAWABLE (drawable)' failed > > (Project99:15758): Gdk-CRITICAL **: gdk_gc_set_background: assertion > `GDK_IS_GC (gc)' failed > > (Project99:15758): Gdk-CRITICAL **: gdk_drawable_get_colormap: assertion > `GDK_IS_DRAWABLE (drawable)' failed > > (Project99:15758): Gdk-CRITICAL **: gdk_gc_set_foreground: assertion > `GDK_IS_GC (gc)' failed > > (Project99:15758): Gdk-CRITICAL **: gdk_drawable_get_colormap: assertion > `GDK_IS_DRAWABLE (drawable)' failed > > (Project99:15758): Gdk-CRITICAL **: gdk_gc_set_background: assertion > `GDK_IS_GC (gc)' failed > > (Project99:15758): Gdk-CRITICAL **: gdk_drawable_get_colormap: assertion > `GDK_IS_DRAWABLE (drawable)' failed > > (Project99:15758): Gdk-CRITICAL **: gdk_gc_set_foreground: assertion > `GDK_IS_GC (gc)' failed > > (Project99:15758): Gdk-CRITICAL **: gdk_gc_set_clip_rectangle: assertion > `GDK_IS_GC (gc)' failed > > (Project99:15758): Gdk-CRITICAL **: gdk_draw_arc: assertion > `GDK_IS_DRAWABLE (drawable)' failed > > > i use Ubuntu 10.04 AMD64. You should not have these errors, but anyway your code is not correct! Regards, -- Beno?t Minisini From demosthenesk at ...626... Sat Feb 26 21:37:19 2011 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Sat, 26 Feb 2011 22:37:19 +0200 Subject: [Gambas-user] DrawArea errors In-Reply-To: <201102261852.47478.gambas@...1...> References: <1298742501.15761.2.camel@...2493...> <201102261852.47478.gambas@...1...> Message-ID: <1298752639.27573.1.camel@...2494...> Yes it maybe not correct i try to figure out how to use a drawing area. Any example, any help? On Sat, 2011-02-26 at 18:52 +0100, Beno?t Minisini wrote: > > i have this code > > > > ' Gambas class file > > > > Public Sub Form_Open() > > > > Draw.Begin(drawArea) > > > > End > > > > Public Sub drawArea_Draw() > > Draw.Circle(10, 10, 5) > > > > > > End > > > > > > and i get these errors. > > > > > > (Project99:15758): Gdk-CRITICAL **: gdk_drawable_get_colormap: assertion > > `GDK_IS_DRAWABLE (drawable)' failed > > > > (Project99:15758): Gdk-CRITICAL **: gdk_gc_set_background: assertion > > `GDK_IS_GC (gc)' failed > > > > (Project99:15758): Gdk-CRITICAL **: gdk_drawable_get_colormap: assertion > > `GDK_IS_DRAWABLE (drawable)' failed > > > > (Project99:15758): Gdk-CRITICAL **: gdk_gc_set_foreground: assertion > > `GDK_IS_GC (gc)' failed > > > > (Project99:15758): Gdk-CRITICAL **: gdk_drawable_get_colormap: assertion > > `GDK_IS_DRAWABLE (drawable)' failed > > > > (Project99:15758): Gdk-CRITICAL **: gdk_gc_set_background: assertion > > `GDK_IS_GC (gc)' failed > > > > (Project99:15758): Gdk-CRITICAL **: gdk_drawable_get_colormap: assertion > > `GDK_IS_DRAWABLE (drawable)' failed > > > > (Project99:15758): Gdk-CRITICAL **: gdk_gc_set_foreground: assertion > > `GDK_IS_GC (gc)' failed > > > > (Project99:15758): Gdk-CRITICAL **: gdk_gc_set_clip_rectangle: assertion > > `GDK_IS_GC (gc)' failed > > > > (Project99:15758): Gdk-CRITICAL **: gdk_draw_arc: assertion > > `GDK_IS_DRAWABLE (drawable)' failed > > > > > > i use Ubuntu 10.04 AMD64. > > You should not have these errors, but anyway your code is not correct! > > Regards, > -- Regards, Demosthenes From sbungay at ...981... Sat Feb 26 21:56:47 2011 From: sbungay at ...981... (Stephen Bungay) Date: Sat, 26 Feb 2011 15:56:47 -0500 Subject: [Gambas-user] Listview picture not showing... Message-ID: <4D69690F.6080709@...981...> This has undoubtedly been asked before. GAMBAS 2.2 I am trying to add an icon to the listview items, to that end this code snippet should do the trick; Private SUB Initialize_Listview1() DIM Icon AS NEW Picture Icon.Load("/home/username/mypicture.png") ' This png file is 26x16 and has a transparent background Listview1.Add("1","Entry 1", Icon) END No errors generated, no picture appears in the listview. Examining the Icon object sees an hex value in Image and 0 width and 0 height. From gambas.fr at ...626... Sat Feb 26 22:41:40 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 26 Feb 2011 22:41:40 +0100 Subject: [Gambas-user] Listview picture not showing... In-Reply-To: <4D69690F.6080709@...981...> References: <4D69690F.6080709@...981...> Message-ID: 2011/2/26 Stephen Bungay : > ? This has undoubtedly been asked before. > > GAMBAS 2.2 > > ? I am trying to add an icon to the listview items, to that end this > code snippet should do the trick; > > Private SUB Initialize_Listview1() > ? DIM Icon AS NEW Picture > > ? Icon.Load("/home/username/mypicture.png") ' This png file is 26x16 > and has a transparent background > ? Listview1.Add("1","Entry 1", Icon) > > END > > ? No errors generated, no picture appears in the listview. Examining > the Icon object sees an hex value in Image and 0 width and 0 height. > > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > you need to do like that : Icon = Icon.load(...) or just Icon = Picture[...] icon.load does not set the icon internally but just return a picture object -- Fabien Bodard From Karl.Reinl at ...2345... Sat Feb 26 22:40:32 2011 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sat, 26 Feb 2011 22:40:32 +0100 Subject: [Gambas-user] a Bug in translation modul (gambas2 and gambas3 rev 2620) Message-ID: <1298756433.6401.10.camel@...40...> Salut Beno?t, the following string does not appear in the Translation Window . sText &= ("- if done, press '" & btnOKTextChange & "'") & "
" btnOKTextChange keeps the text of the btnOK->button Found on my old gambas2 2.20.1 Revision: 2771, and tested with gambas3 rev 2620 where it still exits. The project (gambas2, but run also on gambas3) is attached -- Amicalement Charlie [OperatingSystem] OperatingSystem=Linux KernelRelease=2.6.24-27-generic DistributionVendor=Ubuntu DistributionRelease="Ubuntu 8.04.4 LTS" [System] CPUArchitecture=i686 TotalRam=506932 kB [Gambas] Gambas1=gbx-1.0.17 Gambas1Path=/usr/bin/gbx Gambas2=2.20.1 Revision: 2771 Gambas2Path=/usr/local/bin/gbx2 -------------- next part -------------- A non-text attachment was scrubbed... Name: DB-diff-0.0.14.tar.gz Type: application/x-compressed-tar Size: 60900 bytes Desc: not available URL: From math.eber at ...221... Sat Feb 26 23:08:43 2011 From: math.eber at ...221... (math.eber at ...221...) Date: Sat, 26 Feb 2011 23:08:43 +0100 Subject: [Gambas-user] =?utf-8?q?DrawArea_errors?= In-Reply-To: <1298752639.27573.1.camel@...2494...> References: <1298752639.27573.1.camel@...2494...> Message-ID: <1PtSJf-1FI7JA0@...2381...> Try to do something like Draw.Begin(drawArea) Draw.Circle(10, 10, 5) Draw.End in one Sub, not in two. And not at all in the Draw event that is raised by drawing... Just look at all those examples in the Drawing section, plus ImageViewer. -----Original-Nachricht----- Subject: Re: [Gambas-user] DrawArea errors Date: Sat, 26 Feb 2011 21:37:19 +0100 From: Demosthenes Koptsis To: mailing list for gambas users Yes it maybe not correct i try to figure out how to use a drawing area. Any example, any help? On Sat, 2011-02-26 at 18:52 +0100, Beno?t Minisini wrote: > > i have this code > > > > ' Gambas class file > > > > Public Sub Form_Open() > > > > Draw.Begin(drawArea) > > > > End > > > > Public Sub drawArea_Draw() > > Draw.Circle(10, 10, 5) > > > > > > End > > > > > > and i get these errors. > > > > > > (Project99:15758): Gdk-CRITICAL **: gdk_drawable_get_colormap: assertion > > `GDK_IS_DRAWABLE (drawable)' failed > > > > (Project99:15758): Gdk-CRITICAL **: gdk_gc_set_background: assertion > > `GDK_IS_GC (gc)' failed > > > > (Project99:15758): Gdk-CRITICAL **: gdk_drawable_get_colormap: assertion > > `GDK_IS_DRAWABLE (drawable)' failed > > > > (Project99:15758): Gdk-CRITICAL **: gdk_gc_set_foreground: assertion > > `GDK_IS_GC (gc)' failed > > > > (Project99:15758): Gdk-CRITICAL **: gdk_drawable_get_colormap: assertion > > `GDK_IS_DRAWABLE (drawable)' failed > > > > (Project99:15758): Gdk-CRITICAL **: gdk_gc_set_background: assertion > > `GDK_IS_GC (gc)' failed > > > > (Project99:15758): Gdk-CRITICAL **: gdk_drawable_get_colormap: assertion > > `GDK_IS_DRAWABLE (drawable)' failed > > > > (Project99:15758): Gdk-CRITICAL **: gdk_gc_set_foreground: assertion > > `GDK_IS_GC (gc)' failed > > > > (Project99:15758): Gdk-CRITICAL **: gdk_gc_set_clip_rectangle: assertion > > `GDK_IS_GC (gc)' failed > > > > (Project99:15758): Gdk-CRITICAL **: gdk_draw_arc: assertion > > `GDK_IS_DRAWABLE (drawable)' failed > > > > > > i use Ubuntu 10.04 AMD64. > > You should not have these errors, but anyway your code is not correct! > > Regards, > -- Regards, Demosthenes ---------------------------------------------------------------------------- -- Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sat Feb 26 23:11:50 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sat, 26 Feb 2011 23:11:50 +0100 Subject: [Gambas-user] a Bug in translation modul (gambas2 and gambas3 rev 2620) In-Reply-To: <1298756433.6401.10.camel@...40...> References: <1298756433.6401.10.camel@...40...> Message-ID: <201102262311.50348.gambas@...1...> > Salut Beno?t, > > the following string does not appear in the Translation Window . > sText &= ("- if done, press '" & btnOKTextChange & "'") & "
" > > btnOKTextChange keeps the text of the btnOK->button > > Found on my old gambas2 2.20.1 Revision: 2771, and tested > with gambas3 rev 2620 where it still exits. > > The project (gambas2, but run also on gambas3) is attached I guess this is not translated because the text starts with a minus sign... -- Beno?t Minisini From nando_f at ...951... Sun Feb 27 01:41:45 2011 From: nando_f at ...951... (nando) Date: Sat, 26 Feb 2011 20:41:45 -0400 Subject: [Gambas-user] Gambas 2: Tab Strip 'Menu' Question In-Reply-To: <201102251506.34613.gambas@...1...> References: <20110223052912.M12420@...951...> <201102251506.34613.gambas@...1...> Message-ID: <20110227004032.M30073@...951...> Place a menu on a form with some items on it. Press F10 and the left most item on the menu is highlighted ---------- Original Message ----------- From: Beno?t Minisini To: nando_f at ...951..., mailing list for gambas users Sent: Fri, 25 Feb 2011 15:06:34 +0100 Subject: Re: [Gambas-user] Gambas 2: Tab Strip 'Menu' Question > > Does anyone know why F10 is the 'menu activation' key for a MENU on a tab > > stip and how to change it. I cannot seem to find any info on it. > > -Fernando > > > > I dunno what you are talking about... > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From bbruen at ...2308... Sun Feb 27 11:07:51 2011 From: bbruen at ...2308... (Bruce Bruen) Date: Sun, 27 Feb 2011 20:37:51 +1030 Subject: [Gambas-user] Gambas 2: Tab Strip 'Menu' Question In-Reply-To: <20110227004032.M30073@...951...> References: <20110223052912.M12420@...951...> <201102251506.34613.gambas@...1...> <20110227004032.M30073@...951...> Message-ID: <201102272037.52638.bbruen@...2308...> Suggest you review your desktop manager settings? On Sunday, February 27, 2011 11:11:45 am nando wrote: > Place a menu on a form with some items on it. > Press F10 and the left most item on the menu is highlighted > > > > ---------- Original Message ----------- > From: Beno?t Minisini > To: nando_f at ...951..., mailing list for gambas users > > Sent: Fri, 25 Feb 2011 15:06:34 +0100 > Subject: Re: [Gambas-user] Gambas 2: Tab Strip 'Menu' Question > > > > Does anyone know why F10 is the 'menu activation' key for a MENU on a > > > tab stip and how to change it. I cannot seem to find any info on it. > > > -Fernando > > > > I dunno what you are talking about... > > ------- End of Original Message ------- > > > --------------------------------------------------------------------------- > --- Free Software Download: Index, Search & Analyze Logs and other IT data > in Real-Time with Splunk. Collect, index and harness all the fast moving > IT data generated by your applications, servers and devices whether > physical, virtual or in the cloud. Deliver compliance at lower cost and > gain new business insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- best regards Bruce Bruen From gambas at ...2524... Sun Feb 27 18:32:20 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 27 Feb 2011 17:32:20 +0000 Subject: [Gambas-user] Issue 43 in gambas: Drawing on transparent background doesn't work in gb3 Message-ID: <0-6813199134517018827-17412865898876339406-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 43 by math.e... at ...221...: Drawing on transparent background doesn't work in gb3 http://code.google.com/p/gambas/issues/detail?id=43 1) Describe the problem. Form.Mask=True with Form.Picture=... works fine. Background is transparent. But as soon as Drawing comes in, the background randomly displays things that are or have been once on the screen. See attached screenshots gb3.jpg. In gb2, it works fine, background is transparent. See attached screenshot gb2.jpg. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): [OperatingSystem] OperatingSystem=Linux KernelRelease=2.6.31.12-0.2-desktop DistributionVendor=SuSE DistributionRelease=openSUSE 11.2 (i586) VERSION = 11.2 [System] CPUArchitecture=i686 TotalRam=3060232 kB Desktop=KDE4 [Gambas] Gambas1=Not Installed Gambas2=2.21.0 Gambas2Path=/usr/bin/gbx2 Gambas3=2.99.0 rev. 3621 Gambas3Path=/usr/local/bin/gbx3 3) Provide a little project that reproduces the bug or the crash. Examples/OnScreenDisplay 5) Explain clearly how to reproduce the bug or the crash. Run OnScreenDisplay example under gb2 and gb3. Attachments: gb2.jpg 16.3 KB gb3.jpg 167 KB From gambas at ...2524... Sun Feb 27 18:36:22 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 27 Feb 2011 17:36:22 +0000 Subject: [Gambas-user] Issue 43 in gambas: Drawing on transparent background doesn't work in gb3 In-Reply-To: <0-6813199134517018827-17412865898876339406-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-17412865898876339406-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-17412865898876339406-gambas=googlecode.com@...2524...> Comment #1 on issue 43 by math.e... at ...221...: Drawing on transparent background doesn't work in gb3 http://code.google.com/p/gambas/issues/detail?id=43 I forgot: as you see in the screenshots, the digits are drawn over each other. What a mess! From math.eber at ...221... Sun Feb 27 19:08:32 2011 From: math.eber at ...221... (Matti) Date: Sun, 27 Feb 2011 19:08:32 +0100 Subject: [Gambas-user] System information hidden in FAbout Message-ID: <4D6A9320.9030400@...221...> @ Beno?t: It took me some time to find out where the system information could be found (remembered that I saw it once, but forgot). It is very well hidden in the menu "About Gambas", where I never would look for system infos. Please, make it a separate menu item in the help menu, or a tab in the project properties. I think these places would be more likely to be looked at. Regards Matti From gambas at ...2524... Sun Feb 27 19:18:34 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 27 Feb 2011 18:18:34 +0000 Subject: [Gambas-user] Issue 44 in gambas: GTK+ and Workspace Action_Activate does not match the active.window Message-ID: <0-6813199134517018827-3336724901201085414-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 44 by sot... at ...626...: GTK+ and Workspace Action_Activate does not match the active.window http://code.google.com/p/gambas/issues/detail?id=44 1) Describe the problem. Having more than one form added to a workspace, each with an Action activated with the same shortcut, the event raised will be the one inside the last loaded form, regardless which is the Active one. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r3625 Operating system: Linux Distribution: Ubuntu Architecture: x86_64 GUI component: GTK+ Desktop used: Gnome 3) Provide a little project that reproduces the bug or the crash. test.tar.gz attached 4) If your project needs a database, try to provide it, or part of it. NA 5) Explain clearly how to reproduce the bug or the crash. Run the project, load Form1, press F2 then load Form2, press F2 activate Form1 and press F2 again. Attachments: test.tar.gz 5.2 KB From frederic.176 at ...626... Sun Feb 27 19:37:37 2011 From: frederic.176 at ...626... (Federico Leite) Date: Sun, 27 Feb 2011 16:37:37 -0200 Subject: [Gambas-user] IconView...bug? Message-ID: I can't change the bakcground of IconView. Would be appropriate to add the background Property ^^ Private Function Background_Read() As Integer Return $hView.Background End Private Sub Background_Write(Value As Integer) $hView.Background = Value End Regards, -- Federico Leite ############################################## Areida Developer From gambas at ...1... Sun Feb 27 20:32:45 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 27 Feb 2011 20:32:45 +0100 Subject: [Gambas-user] a Bug in translation modul (gambas2 and gambas3 rev 2620) In-Reply-To: <201102262311.50348.gambas@...1...> References: <1298756433.6401.10.camel@...40...> <201102262311.50348.gambas@...1...> Message-ID: <201102272032.45856.gambas@...1...> > > Salut Beno?t, > > > > the following string does not appear in the Translation Window . > > > > sText &= ("- if done, press '" & btnOKTextChange & "'") & "
" > > > > btnOKTextChange keeps the text of the btnOK->button > > > > Found on my old gambas2 2.20.1 Revision: 2771, and tested > > with gambas3 rev 2620 where it still exits. > > > > The project (gambas2, but run also on gambas3) is attached > > I guess this is not translated because the text starts with a minus sign... Oops. I should have read your code! As soon as between the braces, you have not just a string, this is not the translation syntax anymore, but just a normal expression between braces. The ("...") syntax works only on static strings, not on strings computed at runtime (which is very logical). So this is not a bug, just a misunderstood feature. :-) Regards, -- Beno?t Minisini From gambas at ...1... Sun Feb 27 20:56:20 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 27 Feb 2011 20:56:20 +0100 Subject: [Gambas-user] DrawArea errors In-Reply-To: <1298752639.27573.1.camel@...2494...> References: <1298742501.15761.2.camel@...2493...> <201102261852.47478.gambas@...1...> <1298752639.27573.1.camel@...2494...> Message-ID: <201102272056.20846.gambas@...1...> > Yes it maybe not correct i try to figure out how to use a drawing area. > Any example, any help? > Since revision #3626, you get some accurate error messages ("Cannot draw outside of Draw event handler") instead of weird warnings and sometimes crashes. Regards, -- Beno?t Minisini From gambas at ...1... Sun Feb 27 20:57:31 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 27 Feb 2011 20:57:31 +0100 Subject: [Gambas-user] System information hidden in FAbout In-Reply-To: <4D6A9320.9030400@...221...> References: <4D6A9320.9030400@...221...> Message-ID: <201102272057.31652.gambas@...1...> > @ Beno?t: > It took me some time to find out where the system information could be > found (remembered that I saw it once, but forgot). > It is very well hidden in the menu "About Gambas", where I never would look > for system infos. > Please, make it a separate menu item in the help menu, or a tab in the > project properties. I think these places would be more likely to be looked > at. > > Regards > Matti > I don't understand ! Microsoft does (did?) that in all its programs ! 8-o Well, more seriously, I can create a dedicated menu entry for that. Regards, -- Beno?t Minisini From math.eber at ...221... Sun Feb 27 21:13:25 2011 From: math.eber at ...221... (Matti) Date: Sun, 27 Feb 2011 21:13:25 +0100 Subject: [Gambas-user] System information hidden in FAbout In-Reply-To: <201102272057.31652.gambas@...1...> References: <4D6A9320.9030400@...221...> <201102272057.31652.gambas@...1...> Message-ID: <4D6AB065.3030706@...221...> Do we really want to orientate this on the sometimes weird Microsoft's standards? Would be nice if it could be found more easily. Am 27.02.2011 20:57, schrieb Beno?t Minisini: >> @ Beno?t: >> It took me some time to find out where the system information could be >> found (remembered that I saw it once, but forgot). >> It is very well hidden in the menu "About Gambas", where I never would look >> for system infos. >> Please, make it a separate menu item in the help menu, or a tab in the >> project properties. I think these places would be more likely to be looked >> at. >> >> Regards >> Matti >> > > I don't understand ! Microsoft does (did?) that in all its programs ! 8-o > > Well, more seriously, I can create a dedicated menu entry for that. > > Regards, > From support at ...2529... Sun Feb 27 21:24:48 2011 From: support at ...2529... (John Spikowski) Date: Sun, 27 Feb 2011 12:24:48 -0800 Subject: [Gambas-user] System information hidden in FAbout In-Reply-To: <4D6AB065.3030706@...221...> References: <4D6A9320.9030400@...221...> <201102272057.31652.gambas@...1...> <4D6AB065.3030706@...221...> Message-ID: <1298838288.1801.48.camel@...2530...> On Sun, 2011-02-27 at 21:13 +0100, Matti wrote: > Do we really want to orientate this on the sometimes weird Microsoft's standards? > Would be nice if it could be found more easily. Matti, Even though you might not like Microsoft and their dominance of the industry, they have created standards we all have gotten use to and that's the way system info is typically shown. I think it is fine the way it is and you should let this go. John From gambas at ...1... Sun Feb 27 21:31:13 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 27 Feb 2011 21:31:13 +0100 Subject: [Gambas-user] System information hidden in FAbout In-Reply-To: <1298838288.1801.48.camel@...2530...> References: <4D6A9320.9030400@...221...> <4D6AB065.3030706@...221...> <1298838288.1801.48.camel@...2530...> Message-ID: <201102272131.13042.gambas@...1...> > On Sun, 2011-02-27 at 21:13 +0100, Matti wrote: > > Do we really want to orientate this on the sometimes weird Microsoft's > > standards? Would be nice if it could be found more easily. > > Matti, > > Even though you might not like Microsoft and their dominance of the > industry, they have created standards we all have gotten use to and > that's the way system info is typically shown. I think it is fine the > way it is and you should let this go. > > John > Don't take what I said seriously, it was just a joke... :-) -- Beno?t Minisini From jussi.lahtinen at ...626... Sun Feb 27 23:19:00 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 28 Feb 2011 00:19:00 +0200 Subject: [Gambas-user] a Bug in translation modul (gambas2 and gambas3 rev 2620) In-Reply-To: <1298756433.6401.10.camel@...40...> References: <1298756433.6401.10.camel@...40...> Message-ID: sText &= Subst(("- if done, press '&1'"), btnOKTextChange) & "
" Jussi On Sat, Feb 26, 2011 at 23:40, Charlie Reinl wrote: > Salut Beno?t, > > the following string does not appear in the Translation Window . > sText &= ("- if done, press '" & btnOKTextChange & "'") & "
" > > btnOKTextChange keeps the text of the btnOK->button > > Found on my old gambas2 2.20.1 Revision: 2771, and tested > with gambas3 rev 2620 where it still exits. > > The project (gambas2, but run also on gambas3) is attached > > -- > Amicalement > Charlie > > [OperatingSystem] > OperatingSystem=Linux > KernelRelease=2.6.24-27-generic > DistributionVendor=Ubuntu > DistributionRelease="Ubuntu 8.04.4 LTS" > > [System] > CPUArchitecture=i686 > TotalRam=506932 kB > > [Gambas] > Gambas1=gbx-1.0.17 > Gambas1Path=/usr/bin/gbx > > Gambas2=2.20.1 Revision: 2771 > Gambas2Path=/usr/local/bin/gbx2 > > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From gambas at ...2524... Sun Feb 27 23:25:03 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 27 Feb 2011 22:25:03 +0000 Subject: [Gambas-user] Issue 43 in gambas: Drawing on transparent background doesn't work in gb3 In-Reply-To: <1-6813199134517018827-17412865898876339406-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-17412865898876339406-gambas=googlecode.com@...2524...> <0-6813199134517018827-17412865898876339406-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-17412865898876339406-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Labels: -Version Version-TRUNK Comment #2 on issue 43 by benoit.m... at ...626...: Drawing on transparent background doesn't work in gb3 http://code.google.com/p/gambas/issues/detail?id=43 I can't reproduce the bug. I tried with KDE4 and XFCE, with both composition enabled and disabled, and with Gnome with composition disabled. I couldn't enable composition on Gnome because the NVidia driver does not work on my machine. Please give more details about your GUI configuration. From gambas at ...2524... Sun Feb 27 23:39:05 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 27 Feb 2011 22:39:05 +0000 Subject: [Gambas-user] Issue 44 in gambas: GTK+ and Workspace Action_Activate does not match the active.window In-Reply-To: <0-6813199134517018827-3336724901201085414-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-3336724901201085414-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-3336724901201085414-gambas=googlecode.com@...2524...> Updates: Status: Invalid Labels: -Version Version-TRUNK Comment #1 on issue 44 by benoit.m... at ...626...: GTK+ and Workspace Action_Activate does not match the active.window http://code.google.com/p/gambas/issues/detail?id=44 You are creating two menu items on the same top-level window with the same shortcut (F2). So you cannot guess which one will be activated when pressing the F2 key. This has nothing to do with which workspace window is activated. From Karl.Reinl at ...2345... Sun Feb 27 23:52:28 2011 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 27 Feb 2011 23:52:28 +0100 Subject: [Gambas-user] a Bug in translation modul (gambas2 and gambas3 rev 2620) In-Reply-To: References: <1298756433.6401.10.camel@...40...> Message-ID: <1298847148.6399.37.camel@...40...> Am Montag, den 28.02.2011, 00:19 +0200 schrieb Jussi Lahtinen: > sText &= Subst(("- if done, press '&1'"), btnOKTextChange) & "
" > > > Jussi > > > > > On Sat, Feb 26, 2011 at 23:40, Charlie Reinl wrote: > > > Salut Beno?t, > > > > the following string does not appear in the Translation Window . > > sText &= ("- if done, press '" & btnOKTextChange & "'") & "
" > > > > btnOKTextChange keeps the text of the btnOK->button > > > > Found on my old gambas2 2.20.1 Revision: 2771, and tested > > with gambas3 rev 2620 where it still exits. > > > > The project (gambas2, but run also on gambas3) is attached > > > > -- > > Amicalement > > Charlie > > > > [OperatingSystem] > > OperatingSystem=Linux > > KernelRelease=2.6.24-27-generic > > DistributionVendor=Ubuntu > > DistributionRelease="Ubuntu 8.04.4 LTS" > > > > [System] > > CPUArchitecture=i686 > > TotalRam=506932 kB > > > > [Gambas] > > Gambas1=gbx-1.0.17 > > Gambas1Path=/usr/bin/gbx > > > > Gambas2=2.20.1 Revision: 2771 > > Gambas2Path=/usr/local/bin/gbx2 > > > > ----------8<----------------------------------------------------- Thank you, came to the same solution this afternoon. Thanks again Charlie From nando_f at ...951... Mon Feb 28 07:19:24 2011 From: nando_f at ...951... (nando) Date: Mon, 28 Feb 2011 02:19:24 -0400 Subject: [Gambas-user] Gambas 2: Tab Strip 'Menu' Question In-Reply-To: <201102272037.52638.bbruen@...2308...> References: <20110223052912.M12420@...951...> <201102251506.34613.gambas@...1...> <20110227004032.M30073@...951...> <201102272037.52638.bbruen@...2308...> Message-ID: <20110228061555.M37997@...951...> It never crossed my mind that tapping F10 worked like tapping ALT I tried other applications...and it does work like ALT. So, thank you, it's not a Gambas QT thing it's some preference thing. I've spent an hour looking for it and cannot find it :( Nevertheless, thank you for pointing me in a good direction. ---------- Original Message ----------- From: Bruce Bruen To: nando_f at ...951..., mailing list for gambas users Sent: Sun, 27 Feb 2011 20:37:51 +1030 Subject: Re: [Gambas-user] Gambas 2: Tab Strip 'Menu' Question > Suggest you review your desktop manager settings? > > On Sunday, February 27, 2011 11:11:45 am nando wrote: > > Place a menu on a form with some items on it. > > Press F10 and the left most item on the menu is highlighted > > > > > > > > ---------- Original Message ----------- > > From: Beno?t Minisini > > To: nando_f at ...951..., mailing list for gambas users > > > > Sent: Fri, 25 Feb 2011 15:06:34 +0100 > > Subject: Re: [Gambas-user] Gambas 2: Tab Strip 'Menu' Question > > > > > > Does anyone know why F10 is the 'menu activation' key for a MENU on a > > > > tab stip and how to change it. I cannot seem to find any info on it. > > > > -Fernando > > > > > > I dunno what you are talking about... > > > > ------- End of Original Message ------- > > > > > > --------------------------------------------------------------------------- > > --- Free Software Download: Index, Search & Analyze Logs and other IT data > > in Real-Time with Splunk. Collect, index and harness all the fast moving > > IT data generated by your applications, servers and devices whether > > physical, virtual or in the cloud. Deliver compliance at lower cost and > > gain new business insights. http://p.sf.net/sfu/splunk-dev2dev > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- > best regards > Bruce Bruen > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From gambas at ...2524... Mon Feb 28 07:58:15 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 28 Feb 2011 06:58:15 +0000 Subject: [Gambas-user] Issue 43 in gambas: Drawing on transparent background doesn't work in gb3 In-Reply-To: <2-6813199134517018827-17412865898876339406-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-17412865898876339406-gambas=googlecode.com@...2524...> <0-6813199134517018827-17412865898876339406-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-17412865898876339406-gambas=googlecode.com@...2524...> Comment #3 on issue 43 by math.e... at ...221...: Drawing on transparent background doesn't work in gb3 http://code.google.com/p/gambas/issues/detail?id=43 Do these sysconfig files help? If not, please tell me how to gather the information you need. Attachments: displaymanager 5.1 KB windowmanager 1.2 KB From sotema at ...626... Mon Feb 28 08:27:34 2011 From: sotema at ...626... (Emanuele Sottocorno) Date: Mon, 28 Feb 2011 08:27:34 +0100 Subject: [Gambas-user] Issue 44 in gambas: GTK+ and Workspace Action_Activate does not match the active.window In-Reply-To: <1-6813199134517018827-3336724901201085414-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-3336724901201085414-gambas=googlecode.com@...2524...> <1-6813199134517018827-3336724901201085414-gambas=googlecode.com@...2524...> Message-ID: <1298878054.1717.7.camel@...2516...> > You are creating two menu items on the same top-level window with the same > shortcut (F2). So you cannot guess which one will be activated when > pressing the F2 key. > > This has nothing to do with which workspace window is activated. I'm not totally agree; if you use QT4 library it works fine, and the shortcut is correctly handled. The shortcut should be managed inside the Form. Doesn't it? Regards, Emanuele -------------- next part -------------- A non-text attachment was scrubbed... Name: test_f2_qt.tar.gz Type: application/x-compressed-tar Size: 6727 bytes Desc: not available URL: From gambas at ...2524... Mon Feb 28 08:39:29 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 28 Feb 2011 07:39:29 +0000 Subject: [Gambas-user] Issue 43 in gambas: Drawing on transparent background doesn't work in gb3 In-Reply-To: <3-6813199134517018827-17412865898876339406-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-17412865898876339406-gambas=googlecode.com@...2524...> <0-6813199134517018827-17412865898876339406-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-17412865898876339406-gambas=googlecode.com@...2524...> Comment #4 on issue 43 by gambas... at ...626...: Drawing on transparent background doesn't work in gb3 http://code.google.com/p/gambas/issues/detail?id=43 work fine for me From demosthenesk at ...626... Mon Feb 28 09:49:52 2011 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Mon, 28 Feb 2011 10:49:52 +0200 Subject: [Gambas-user] About Drawinarea.Cached Message-ID: <1298882992.5230.2.camel@...2493...> i read the docs about Cached property of DrawingArea control. i want to ask what is the use of Cached property. In other words why to be erased the drawing when another form is over the control? -- Regards, Demosthenes Koptsis. From demosthenesk at ...626... Mon Feb 28 11:39:57 2011 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Mon, 28 Feb 2011 12:39:57 +0200 Subject: [Gambas-user] About Draw.FillX Message-ID: <1298889597.7233.2.camel@...2493...> Can someone explain please the http://gambasdoc.org/help/comp/gb.qt4/draw/fillx?v3 what is the horizontal origin of the brushes? Any example? -- Regards, Demosthenes Koptsis. From eilert-sprachen at ...221... Mon Feb 28 12:47:31 2011 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 28 Feb 2011 12:47:31 +0100 Subject: [Gambas-user] About Drawinarea.Cached In-Reply-To: <1298882992.5230.2.camel@...2493...> References: <1298882992.5230.2.camel@...2493...> Message-ID: <4D6B8B53.6080708@...221...> Am 28.02.2011 09:49, schrieb Demosthenes Koptsis: > i read the docs about Cached property of DrawingArea control. > > i want to ask what is the use of Cached property. > > In other words why to be erased the drawing when another form is over > the control? > > You can choose what you want: more speed and less memory or less speed and more memory. If you cache it, it will take some time and memory to cache everything for the case it is destroyed by another window on top of it. If you need more speed or you want to save graphics memory, you can do without caching, but then there is the danger of losing parts of the picture. Regards Rolf From demosthenesk at ...626... Mon Feb 28 15:33:19 2011 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Mon, 28 Feb 2011 16:33:19 +0200 Subject: [Gambas-user] DrawArea errors In-Reply-To: <1PtSJf-1FI7JA0@...2381...> References: <1298752639.27573.1.camel@...2494...> <1PtSJf-1FI7JA0@...2381...> Message-ID: <1298903599.11111.0.camel@...2493...> ok, yes i found the examples thanks. On Sat, 2011-02-26 at 23:08 +0100, math.eber at ...221... wrote: > Try to do something like > Draw.Begin(drawArea) > Draw.Circle(10, 10, 5) > Draw.End > in one Sub, not in two. And not at all in the Draw event that is raised by > drawing... > Just look at all those examples in the Drawing section, plus ImageViewer. > -----Original-Nachricht----- > Subject: Re: [Gambas-user] DrawArea errors > Date: Sat, 26 Feb 2011 21:37:19 +0100 > From: Demosthenes Koptsis > To: mailing list for gambas users > Yes it maybe not correct i try to figure out how to use a drawing area. > Any example, any help? > On Sat, 2011-02-26 at 18:52 +0100, Beno?t Minisini wrote: > > > i have this code > > > > > > ' Gambas class file > > > > > > Public Sub Form_Open() > > > > > > Draw.Begin(drawArea) > > > > > > End > > > > > > Public Sub drawArea_Draw() > > > Draw.Circle(10, 10, 5) > > > > > > > > > End > > > > > > > > > and i get these errors. > > > > > > > > > (Project99:15758): Gdk-CRITICAL **: gdk_drawable_get_colormap: assertion > > > `GDK_IS_DRAWABLE (drawable)' failed > > > > > > (Project99:15758): Gdk-CRITICAL **: gdk_gc_set_background: assertion > > > `GDK_IS_GC (gc)' failed > > > > > > (Project99:15758): Gdk-CRITICAL **: gdk_drawable_get_colormap: assertion > > > `GDK_IS_DRAWABLE (drawable)' failed > > > > > > (Project99:15758): Gdk-CRITICAL **: gdk_gc_set_foreground: assertion > > > `GDK_IS_GC (gc)' failed > > > > > > (Project99:15758): Gdk-CRITICAL **: gdk_drawable_get_colormap: assertion > > > `GDK_IS_DRAWABLE (drawable)' failed > > > > > > (Project99:15758): Gdk-CRITICAL **: gdk_gc_set_background: assertion > > > `GDK_IS_GC (gc)' failed > > > > > > (Project99:15758): Gdk-CRITICAL **: gdk_drawable_get_colormap: assertion > > > `GDK_IS_DRAWABLE (drawable)' failed > > > > > > (Project99:15758): Gdk-CRITICAL **: gdk_gc_set_foreground: assertion > > > `GDK_IS_GC (gc)' failed > > > > > > (Project99:15758): Gdk-CRITICAL **: gdk_gc_set_clip_rectangle: assertion > > > `GDK_IS_GC (gc)' failed > > > > > > (Project99:15758): Gdk-CRITICAL **: gdk_draw_arc: assertion > > > `GDK_IS_DRAWABLE (drawable)' failed > > > > > > > > > i use Ubuntu 10.04 AMD64. > > > > You should not have these errors, but anyway your code is not correct! > > > > Regards, > > > -- > Regards, > Demosthenes > ---------------------------------------------------------------------------- > -- > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Regards, Demosthenes Koptsis.