From gambas at ...2524... Tue Jul 1 00:28:46 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 30 Jun 2014 22:28:46 +0000 Subject: [Gambas-user] Issue 533 in gambas: please apply some debian patches In-Reply-To: <1-6813199134517018827-11589675237126885119-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-11589675237126885119-gambas=googlecode.com@...2524...> <0-6813199134517018827-11589675237126885119-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-11589675237126885119-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 533 by benoit.m... at ...626...: please apply some debian patches http://code.google.com/p/gambas/issues/detail?id=533 Patches were merged in revision #6356. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Tue Jul 1 00:50:16 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 30 Jun 2014 22:50:16 +0000 Subject: [Gambas-user] Issue 535 in gambas: Tableview.Rows.Insert sometimes causes the horizontal ruler to appear In-Reply-To: <0-6813199134517018827-6552235666010758802-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-6552235666010758802-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-6552235666010758802-gambas=googlecode.com@...2524...> Updates: Status: Fixed Labels: -Version Version-TRUNK Comment #1 on issue 535 by benoit.m... at ...626...: Tableview.Rows.Insert sometimes causes the horizontal ruler to appear http://code.google.com/p/gambas/issues/detail?id=535 I can't reproduce it, I guess it is fixed in the development version. If eventually you can try it and check, please report! -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Tue Jul 1 00:51:18 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 30 Jun 2014 22:51:18 +0000 Subject: [Gambas-user] Issue 532 in gambas: missing libcroco in requirements, and also missing check in configure script In-Reply-To: <0-6813199134517018827-14908096522293175178-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-14908096522293175178-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-14908096522293175178-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Comment #1 on issue 532 by benoit.m... at ...626...: missing libcroco in requirements, and also missing check in configure script http://code.google.com/p/gambas/issues/detail?id=532 No idea what that library is. Without any information on your system I can't say more. Maybe you should check it first... -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Tue Jul 1 00:52:18 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 30 Jun 2014 22:52:18 +0000 Subject: [Gambas-user] Issue 529 in gambas: Wrong foreground color in Help Browser In-Reply-To: <0-6813199134517018827-10030019510279427439-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-10030019510279427439-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-10030019510279427439-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 529 by benoit.m... at ...626...: Wrong foreground color in Help Browser http://code.google.com/p/gambas/issues/detail?id=529 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Tue Jul 1 00:53:18 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 30 Jun 2014 22:53:18 +0000 Subject: [Gambas-user] Issue 392 in gambas: Segfault 11 after compile error In-Reply-To: <1-6813199134517018827-6910673063895816738-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-6910673063895816738-gambas=googlecode.com@...2524...> <0-6813199134517018827-6910673063895816738-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-6910673063895816738-gambas=googlecode.com@...2524...> Updates: Status: Accepted Comment #2 on issue 392 by benoit.m... at ...626...: Segfault 11 after compile error http://code.google.com/p/gambas/issues/detail?id=392 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From rmorgan62 at ...626... Tue Jul 1 04:30:48 2014 From: rmorgan62 at ...626... (Randall Morgan) Date: Mon, 30 Jun 2014 20:30:48 -0600 Subject: [Gambas-user] IDE Hint color washed out In-Reply-To: References: Message-ID: I reported this on ubuntu 12.04 LTS a while back... Benoit was on Vacation at the time though. On Mon, Jun 30, 2014 at 11:43 AM, Jim Provan wrote: > I am on Ubuntu 14.04. The hint color is a beige or yellow with white > lettering. It isn't readable. Has anyone else experienced this and if so, > how did you correct it ? > > Jim Provan > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From bbruen at ...2308... Tue Jul 1 06:28:06 2014 From: bbruen at ...2308... (B Bruen) Date: Tue, 1 Jul 2014 13:58:06 +0930 Subject: [Gambas-user] gb.form.mdi : Attach/Detach Message-ID: <20140701135806.65db1827e2c0403b0cd8e34b@...2308...> I am doing some experiments with detachable tabs in the gb.form.mdi component. A couple of things have come to light that I would like to suggest (as a basis for discussion, rather than a bug or whatever). 1) There is no way to completely detach a window from a workspace. That is, for example: suppose I have two workspaces on a form (or to abstract even further perhaps two workspaces on two concurrently active forms) and I want to move the current tab from this workspace to that workspace. I have proved I can do that almost successfully by, to put it at its' simplest: Workspace1.Detach(hWindow) Workspace2.Add(hWindow) but the association with Workspace1 remains and has some interesting side effects. So, it appears (to me) there is no way to completely dissociate hWindow from its' original Workspace. 2) When a window is Attached to a Workspace it is not automatically made the ActiveWindow. This may be "by design" but if I want to make the ActiveWindow in code then there does not seem to be anything like an "Attached" event in the Workspace that I can catch to effectively make this automatic Activation happen. (I have found a reasonably simple workaround for this but it is not "intuitively obvious". 3) Similar to 2) there is no "Detached" event available whereby I could set some values in the Workspace concerned or even in the detached window that would allow me to affect later processing. That's obscure. Suppose I have, as above, two workspaces and when I detach a window from one I need to know later "which workspace it was detached from", it would be nice to say set the Tag property to the name of the "original workspace". Either... 3a) Because I would like to implement a menuitem in the detached window that would allow a "Re-attach" action. 3b) Because even when the window is detached I may like to Reparent it in some other container .... :-) tricky eh? 4) The Detach/Attach/Reparent methods are not exactly ... how can I say it .... developer friendly? Suppose I want to move a window from a workspace to some other container. When the window is associated with a workspace, ReParent does not work - and silently at that. The window must first be detached and then reparented. Conversely, moving it from another container to a workspace involves a (fake) reparent, then either a Workspace.Add or, given that there is no completely detach method, a Workspace.Attach call. As I said, these things are not really bugs or complaints, rather a "Request For Comment". I have a demo project displaying some of these things which I will post if there is some interest. But, imagine an IDE wherein you could have both the form design and the form code visible at the same time in an hsplitter, or where you could have two (or more) class codes visible at the same time, or the ability to move one of the "bits" of the properties tab to the bottom "debug" panel of the IDE, or even move the toolbox into a vsplitter under the project browser instead of having it clutter the bottom of the properties sidepanel ... or even for that matter moving the properties thing into the middle pane... or or or. Get my drift? Anyone familiar with, for example, how the Modellio layouts can be manipulated in this way will understand what could be achieved here for the gambas IDE. regards and looking forward to comments Bruce -- B Bruen From gambas.fr at ...626... Tue Jul 1 09:22:19 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 1 Jul 2014 09:22:19 +0200 Subject: [Gambas-user] gb.form.mdi : Attach/Detach In-Reply-To: <20140701135806.65db1827e2c0403b0cd8e34b@...2308...> References: <20140701135806.65db1827e2c0403b0cd8e34b@...2308...> Message-ID: So in a gimp way ? Le 1 juil. 2014 06:29, "B Bruen" a ?crit : > I am doing some experiments with detachable tabs in the gb.form.mdi > component. A couple of things have come to light that I would like to > suggest (as a basis for discussion, rather than a bug or whatever). > > 1) There is no way to completely detach a window from a workspace. > That is, for example: suppose I have two workspaces on a form (or to > abstract even further perhaps two workspaces on two concurrently active > forms) and I want to move the current tab from this workspace to that > workspace. I have proved I can do that almost successfully by, to put it at > its' simplest: > Workspace1.Detach(hWindow) > Workspace2.Add(hWindow) > but the association with Workspace1 remains and has some interesting side > effects. > So, it appears (to me) there is no way to completely dissociate hWindow > from its' original Workspace. > > 2) When a window is Attached to a Workspace it is not automatically made > the ActiveWindow. > This may be "by design" but if I want to make the ActiveWindow in code > then there does not seem to be anything like an "Attached" event in the > Workspace that I can catch to effectively make this automatic Activation > happen. > (I have found a reasonably simple workaround for this but it is not > "intuitively obvious". > > 3) Similar to 2) there is no "Detached" event available whereby I could > set some values in the Workspace concerned or even in the detached window > that would allow me to affect later processing. That's obscure. Suppose I > have, as above, two workspaces and when I detach a window from one I need > to know later "which workspace it was detached from", it would be nice to > say set the Tag property to the name of the "original workspace". Either... > > 3a) Because I would like to implement a menuitem in the detached window > that would allow a "Re-attach" action. > 3b) Because even when the window is detached I may like to Reparent it in > some other container .... :-) tricky eh? > > 4) The Detach/Attach/Reparent methods are not exactly ... how can I say it > .... developer friendly? > Suppose I want to move a window from a workspace to some other container. > When the window is associated with a workspace, ReParent does not work - > and silently at that. The window must first be detached and then > reparented. Conversely, moving it from another container to a workspace > involves a (fake) reparent, then either a Workspace.Add or, given that > there is no completely detach method, a Workspace.Attach call. > > As I said, these things are not really bugs or complaints, rather a > "Request For Comment". I have a demo project displaying some of these > things which I will post if there is some interest. > > But, imagine an IDE wherein you could have both the form design and the > form code visible at the same time in an hsplitter, or where you could have > two (or more) class codes visible at the same time, or the ability to move > one of the "bits" of the properties tab to the bottom "debug" panel of the > IDE, or even move the toolbox into a vsplitter under the project browser > instead of having it clutter the bottom of the properties sidepanel ... or > even for that matter moving the properties thing into the middle pane... or > or or. Get my drift? > > Anyone familiar with, for example, how the Modellio layouts can be > manipulated in this way will understand what could be achieved here for the > gambas IDE. > > regards and looking forward to comments > Bruce > > -- > B Bruen > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From Karl.Reinl at ...2345... Tue Jul 1 18:15:31 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Tue, 01 Jul 2014 18:15:31 +0200 Subject: [Gambas-user] Desktop.SendKeys no more works for me Message-ID: <1404231331.3629.8.camel@...40...> Salut Beno?t, my Desktop.SendKeys("[F2]") don't work anymore, (see attachment) Desktop itself shows problems. (see attachment) I updated to Revision: 6356 this noon. -- Amicalement Charlie [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.2.0-65-generic Architecture=x86 Distribution=Ubuntu 12.04.4 LTS Desktop=GNOME Theme=QPlastique Language=de_DE.UTF-8 Memory=3025M [Libraries] Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GTK+3=libgtk-3.so.0.400.2 GTK+=libgtk-x11-2.0.so.0.2400.10 Poppler=libpoppler.so.19.0.0 Qt4=libQtCore.so.4.8.1 SDL=libSDL-1.2.so.0.11.3 || || THESE COMPONENTS ARE DISABLED: || - gb.gtk3 || - gb.jit || - gb.media || -------------- next part -------------- A non-text attachment was scrubbed... Name: Desktop.SendKey01.png Type: image/png Size: 14289 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Desktop.SendKey02.png Type: image/png Size: 45926 bytes Desc: not available URL: From gambas at ...2524... Tue Jul 1 19:03:44 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 01 Jul 2014 17:03:44 +0000 Subject: [Gambas-user] Issue 535 in gambas: Tableview.Rows.Insert sometimes causes the horizontal ruler to appear In-Reply-To: <1-6813199134517018827-6552235666010758802-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-6552235666010758802-gambas=googlecode.com@...2524...> <0-6813199134517018827-6552235666010758802-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-6552235666010758802-gambas=googlecode.com@...2524...> Comment #2 on issue 535 by uAle... at ...626...: Tableview.Rows.Insert sometimes causes the horizontal ruler to appear http://code.google.com/p/gambas/issues/detail?id=535 I can confirm it works correctly on the trunk 6356, but not (yet) in the 3.5.4 version. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...1... Tue Jul 1 19:37:21 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 01 Jul 2014 19:37:21 +0200 Subject: [Gambas-user] Desktop.SendKeys no more works for me In-Reply-To: <1404231331.3629.8.camel@...40...> References: <1404231331.3629.8.camel@...40...> Message-ID: <53B2F1D1.9070906@...1...> Le 01/07/2014 18:15, Charlie Reinl a ?crit : > Salut Beno?t, > > my Desktop.SendKeys("[F2]") don't work anymore, (see attachment) > > Desktop itself shows problems. (see attachment) > > I updated to Revision: 6356 this noon. > Is it better with revision #6357? -- Beno?t Minisini From Karl.Reinl at ...2345... Tue Jul 1 20:38:27 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Tue, 01 Jul 2014 20:38:27 +0200 Subject: [Gambas-user] Desktop.SendKeys no more works for me In-Reply-To: <53B2F1D1.9070906@...1...> References: <1404231331.3629.8.camel@...40...> <53B2F1D1.9070906@...1...> Message-ID: <1404239907.3629.10.camel@...40...> Am Dienstag, den 01.07.2014, 19:37 +0200 schrieb Beno?t Minisini: > Le 01/07/2014 18:15, Charlie Reinl a ?crit : > > Salut Beno?t, > > > > my Desktop.SendKeys("[F2]") don't work anymore, (see attachment) > > > > Desktop itself shows problems. (see attachment) > > > > I updated to Revision: 6356 this noon. > > > > Is it better with revision #6357? > Salut Beno?t, yes now it reworks again. Thanks, like always quick good work. -- Amicalement Charlie From gambas at ...2524... Tue Jul 1 22:24:40 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 01 Jul 2014 20:24:40 +0000 Subject: [Gambas-user] Issue 532 in gambas: missing libcroco in requirements, and also missing check in configure script In-Reply-To: <1-6813199134517018827-14908096522293175178-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-14908096522293175178-gambas=googlecode.com@...2524...> <0-6813199134517018827-14908096522293175178-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-14908096522293175178-gambas=googlecode.com@...2524...> Comment #2 on issue 532 by mckayger... at ...626...: missing libcroco in requirements, and also missing check in configure script http://code.google.com/p/gambas/issues/detail?id=532 what kind of information should i must provide it to u? this its a minor fix, i tested in fresh install into Debian squeeze and fails.. if no desktop are installed in my debian lenny, no, desktop also fails; but in venenux with desktop LXDE 0.5.5 do not fails, due some GTK app depends also on libcroco (listed in some la files, dependences part) in a fresh install gambas builds fails in debian squeeze, if no gtk+cairo libs are installed in wheeze do not fail, due here multiarch behavior removes all "la" files (that listed dependences) seems that some lib depends in gambas also depends to croco, into systems that still uses the libtool dependences system a example its for redhat enterprise flavors.. (but i do not use it), i'm pretty sure that gambas builds fails in it! -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Tue Jul 1 23:45:26 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 01 Jul 2014 21:45:26 +0000 Subject: [Gambas-user] Issue 532 in gambas: missing libcroco in requirements, and also missing check in configure script In-Reply-To: <2-6813199134517018827-14908096522293175178-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-14908096522293175178-gambas=googlecode.com@...2524...> <0-6813199134517018827-14908096522293175178-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-14908096522293175178-gambas=googlecode.com@...2524...> Comment #3 on issue 532 by benoit.m... at ...626...: missing libcroco in requirements, and also missing check in configure script http://code.google.com/p/gambas/issues/detail?id=532 Gambas does not use libcroco explicitely, so it does not have to check it explicitely. So, for me, if the build fails, it's a bug in the operating system (i.e. in the *.la files). -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From bbruen at ...2308... Wed Jul 2 06:06:37 2014 From: bbruen at ...2308... (B Bruen) Date: Wed, 2 Jul 2014 13:36:37 +0930 Subject: [Gambas-user] Two quick questions Message-ID: <20140702133637.0e652330bc0d1c739c04ee8f@...2308...> 1) "Run this form" seems to ignore the Margin and Spacing properties of containers within the form. They work properly when the application main form is run. Has anyone seen this - or have I done something odd? 2) Occasionally, when changing gb.form.mdi ToolBar properties, or the properties of toolbuttons therein, in the IDE suddenly when running the form containing the toolbar all the buttons are invisible - and not available in the Configure popup. Further, when I look at the config file for the project the "Layout" slot for the toolbar has disappeared. I have no idea what is causing this. Has anyone else seen it? rgrds Bruce -- B Bruen From kevinfishburne at ...1887... Wed Jul 2 06:20:14 2014 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Wed, 02 Jul 2014 00:20:14 -0400 Subject: [Gambas-user] Sylph: Project Miyaji initial demonstration release Message-ID: <53B3887E.9060001@...1887...> If this mailing list is the wrong place for this sort of thing, someone please let me know. I've publicly released the first demo of a new game I'm working on for testing. Tweeting about it is one thing, but everyone on this list obviously is best-qualified to test GAMBAS applications. If anyone's interested in providing me with feedback, here's the Tweet I sent out: The direct download link is: http://t.co/BqsBIjMZhN The magnet link for bittorrent is: magnet:?xt=urn:btih:C7MTLGZQ6P6U5A3FSYZKKCS3M6X7AQ6V I'm still trying to figure out the best way to distribute a GAMBAS application to the "laziest Linux user possible", meaning a single-click solution. From what I've seen the version of GAMBAS distributed with most distributions is unstable, with the stable (or daily) PPA being recommended. Is there a way to create a .deb package that includes the stable or daily build of GAMBAS instead of depending on the distro's GAMBAS packages? Adding a PPA and installing from there is also acceptable, but it appears that modern distros require execution of scripts from the command line and not by double-clicking in the GUI. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From bbruen at ...2308... Wed Jul 2 06:51:28 2014 From: bbruen at ...2308... (B Bruen) Date: Wed, 2 Jul 2014 14:21:28 +0930 Subject: [Gambas-user] gb.form.mdi : Attach/Detach In-Reply-To: References: <20140701135806.65db1827e2c0403b0cd8e34b@...2308...> Message-ID: <20140702142128.5d0d00622fdb68d735f3b8f7@...2308...> Yes, the gimp is probably a more common example. B On Tue, 1 Jul 2014 09:22:19 +0200 Fabien Bodard wrote: > So in a gimp way ? > Le 1 juil. 2014 06:29, "B Bruen" a ?crit : > > > I am doing some experiments with detachable tabs in the gb.form.mdi > > component. A couple of things have come to light that I would like to > > suggest (as a basis for discussion, rather than a bug or whatever). > > > > 1) There is no way to completely detach a window from a workspace. > > That is, for example: suppose I have two workspaces on a form (or to > > abstract even further perhaps two workspaces on two concurrently active > > forms) and I want to move the current tab from this workspace to that > > workspace. I have proved I can do that almost successfully by, to put it at > > its' simplest: > > Workspace1.Detach(hWindow) > > Workspace2.Add(hWindow) > > but the association with Workspace1 remains and has some interesting side > > effects. > > So, it appears (to me) there is no way to completely dissociate hWindow > > from its' original Workspace. > > > > 2) When a window is Attached to a Workspace it is not automatically made > > the ActiveWindow. > > This may be "by design" but if I want to make the ActiveWindow in code > > then there does not seem to be anything like an "Attached" event in the > > Workspace that I can catch to effectively make this automatic Activation > > happen. > > (I have found a reasonably simple workaround for this but it is not > > "intuitively obvious". > > > > 3) Similar to 2) there is no "Detached" event available whereby I could > > set some values in the Workspace concerned or even in the detached window > > that would allow me to affect later processing. That's obscure. Suppose I > > have, as above, two workspaces and when I detach a window from one I need > > to know later "which workspace it was detached from", it would be nice to > > say set the Tag property to the name of the "original workspace". Either... > > > > 3a) Because I would like to implement a menuitem in the detached window > > that would allow a "Re-attach" action. > > 3b) Because even when the window is detached I may like to Reparent it in > > some other container .... :-) tricky eh? > > > > 4) The Detach/Attach/Reparent methods are not exactly ... how can I say it > > .... developer friendly? > > Suppose I want to move a window from a workspace to some other container. > > When the window is associated with a workspace, ReParent does not work - > > and silently at that. The window must first be detached and then > > reparented. Conversely, moving it from another container to a workspace > > involves a (fake) reparent, then either a Workspace.Add or, given that > > there is no completely detach method, a Workspace.Attach call. > > > > As I said, these things are not really bugs or complaints, rather a > > "Request For Comment". I have a demo project displaying some of these > > things which I will post if there is some interest. > > > > But, imagine an IDE wherein you could have both the form design and the > > form code visible at the same time in an hsplitter, or where you could have > > two (or more) class codes visible at the same time, or the ability to move > > one of the "bits" of the properties tab to the bottom "debug" panel of the > > IDE, or even move the toolbox into a vsplitter under the project browser > > instead of having it clutter the bottom of the properties sidepanel ... or > > even for that matter moving the properties thing into the middle pane... or > > or or. Get my drift? > > > > Anyone familiar with, for example, how the Modellio layouts can be > > manipulated in this way will understand what could be achieved here for the > > gambas IDE. > > > > regards and looking forward to comments > > Bruce > > > > -- > > B Bruen > > > > > > ------------------------------------------------------------------------------ > > Open source business process management suite built on Java and Eclipse > > Turn processes into business applications with Bonita BPM Community Edition > > Quickly connect people, data, and systems into organized workflows > > Winner of BOSSIE, CODIE, OW2 and Gartner awards > > http://p.sf.net/sfu/Bonitasoft > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- B Bruen From gambas.fr at ...626... Wed Jul 2 12:29:08 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 2 Jul 2014 12:29:08 +0200 Subject: [Gambas-user] Sylph: Project Miyaji initial demonstration release In-Reply-To: <53B3887E.9060001@...1887...> References: <53B3887E.9060001@...1887...> Message-ID: I can take a look Le 2 juil. 2014 06:21, "Kevin Fishburne" a ?crit : > If this mailing list is the wrong place for this sort of thing, someone > please let me know. > > I've publicly released the first demo of a new game I'm working on for > testing. Tweeting about it is one thing, but everyone on this list > obviously is best-qualified to test GAMBAS applications. If anyone's > interested in providing me with feedback, here's the Tweet I sent out: > > > > > The direct download link is: http://t.co/BqsBIjMZhN > > The magnet link for bittorrent is: > magnet:?xt=urn:btih:C7MTLGZQ6P6U5A3FSYZKKCS3M6X7AQ6V > > I'm still trying to figure out the best way to distribute a GAMBAS > application to the "laziest Linux user possible", meaning a single-click > solution. From what I've seen the version of GAMBAS distributed with > most distributions is unstable, with the stable (or daily) PPA being > recommended. Is there a way to create a .deb package that includes the > stable or daily build of GAMBAS instead of depending on the distro's > GAMBAS packages? Adding a PPA and installing from there is also > acceptable, but it appears that modern distros require execution of > scripts from the command line and not by double-clicking in the GUI. > > -- > Kevin Fishburne > Eight Virtues > www: http://sales.eightvirtues.com > e-mail: sales at ...1887... > phone: (770) 853-6271 > > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From Karl.Reinl at ...2345... Wed Jul 2 15:04:54 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Wed, 02 Jul 2014 15:04:54 +0200 Subject: [Gambas-user] Filechooser change event don't raise Message-ID: <1404306294.3833.12.camel@...40...> Salut Beno?t, Filechooser change event don't raise when changing filename, only when changing DIR. -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: TestApp-0.0.5.tar.gz Type: application/x-compressed-tar Size: 6863 bytes Desc: not available URL: From linux at ...3345... Wed Jul 2 15:28:54 2014 From: linux at ...3345... (Orionis) Date: Wed, 2 Jul 2014 06:28:54 -0700 (PDT) Subject: [Gambas-user] Missing menu icons with QT4 Message-ID: <1404307734701-47238.post@...3046...> In a test project, the icons associated to the menu subitems are missing using QT4. Actually, only the icon of the top level voice is shown (in the menubar). Using GTK they are normally displayed. I will include two shots of the different behaviours My configurations: Xubuntu 13.10LTS [System] Gambas=3.5.3 OperatingSystem=Linux Kernel=3.11.0-23-generic Architecture=x86 Distribution=Ubuntu 13.10 Desktop=XFCE Theme=QGtk Language=it_IT.UTF-8 Memory=2016M [Libraries] Cairo=libcairo.so.2.11200.16 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.4 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.200.0 GTK+=libgtk-x11-2.0.so.0.2400.20 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.43.0.0 Qt4=libQtCore.so.4.8.4 SDL=libSDL-1.2.so.0.11.4 -- View this message in context: http://gambas.8142.n7.nabble.com/Missing-menu-icons-with-QT4-tp47238.html Sent from the gambas-user mailing list archive at Nabble.com. From ea7dfh at ...2382... Wed Jul 2 20:17:43 2014 From: ea7dfh at ...2382... (Jesus) Date: Wed, 02 Jul 2014 20:17:43 +0200 Subject: [Gambas-user] Bug in gambaswiki "Mismatched markup" Message-ID: <53B44CC7.6050406@...2382...> Hi Beno?t There seems to be a bug in this page: http://gambaswiki.org/wiki/doc/pcre Regards -- Jesus Guardon From jussi.lahtinen at ...626... Thu Jul 3 02:15:45 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 3 Jul 2014 03:15:45 +0300 Subject: [Gambas-user] Sylph: Project Miyaji initial demonstration release In-Reply-To: <53B3887E.9060001@...1887...> References: <53B3887E.9060001@...1887...> Message-ID: What kind of feedback you were hoping for? Technical or general? Is space bar intended to turn auto-fire on/off? Bit weird, not wrong. Also bullets are hard to see in space. Game seems to end abruptly when the boss is killed. Normal help, custom controls etc menus are missing. I don't feel right criticizing game which isn't ready... what can I say. It seems to work perfectly, however I don't know what kind of features I should be expecting to test for. Jussi On Wed, Jul 2, 2014 at 7:20 AM, Kevin Fishburne < kevinfishburne at ...1887...> wrote: > If this mailing list is the wrong place for this sort of thing, someone > please let me know. > > I've publicly released the first demo of a new game I'm working on for > testing. Tweeting about it is one thing, but everyone on this list > obviously is best-qualified to test GAMBAS applications. If anyone's > interested in providing me with feedback, here's the Tweet I sent out: > > > > > The direct download link is: http://t.co/BqsBIjMZhN > > The magnet link for bittorrent is: > magnet:?xt=urn:btih:C7MTLGZQ6P6U5A3FSYZKKCS3M6X7AQ6V > > I'm still trying to figure out the best way to distribute a GAMBAS > application to the "laziest Linux user possible", meaning a single-click > solution. From what I've seen the version of GAMBAS distributed with > most distributions is unstable, with the stable (or daily) PPA being > recommended. Is there a way to create a .deb package that includes the > stable or daily build of GAMBAS instead of depending on the distro's > GAMBAS packages? Adding a PPA and installing from there is also > acceptable, but it appears that modern distros require execution of > scripts from the command line and not by double-clicking in the GUI. > > -- > Kevin Fishburne > Eight Virtues > www: http://sales.eightvirtues.com > e-mail: sales at ...1887... > phone: (770) 853-6271 > > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From shanep1967 at ...169... Thu Jul 3 07:44:29 2014 From: shanep1967 at ...169... (Shane) Date: Thu, 03 Jul 2014 15:44:29 +1000 Subject: [Gambas-user] sdl mouse In-Reply-To: <539EF066.8050209@...169...> References: <539EF066.8050209@...169...> Message-ID: <53B4EDBD.4020702@...169...> any word on this On 16/06/14 23:25, Shane wrote: > hi benoit would it be possible to include the ability to keep the mouse > within the bounds of the sdl window > > thanks Shane > > ------------------------------------------------------------------------------ > HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions > Find What Matters Most in Your Big Data with HPCC Systems > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. > Leverages Graph Analysis for Fast Processing & Easy Data Exploration > http://p.sf.net/sfu/hpccsystems > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From eilert-sprachen at ...221... Thu Jul 3 08:58:42 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 03 Jul 2014 08:58:42 +0200 Subject: [Gambas-user] sdl mouse In-Reply-To: <53B4EDBD.4020702@...169...> References: <539EF066.8050209@...169...> <53B4EDBD.4020702@...169...> Message-ID: <53B4FF22.6080005@...221...> Isn't that dangerous? If the application crashes, the mouse is caught within the dead window's boundaries. Maybe you can read the mouse coordinates and reset them to within the window, by code of your application, so that the mouse gets free if the application dies. Rolf Am 03.07.2014 07:44, schrieb Shane: > any word on this > > On 16/06/14 23:25, Shane wrote: >> hi benoit would it be possible to include the ability to keep the mouse >> within the bounds of the sdl window >> >> thanks Shane >> >> ------------------------------------------------------------------------------ >> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions >> Find What Matters Most in Your Big Data with HPCC Systems >> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. >> Leverages Graph Analysis for Fast Processing & Easy Data Exploration >> http://p.sf.net/sfu/hpccsystems >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From shanep1967 at ...169... Thu Jul 3 09:52:40 2014 From: shanep1967 at ...169... (Shane) Date: Thu, 03 Jul 2014 17:52:40 +1000 Subject: [Gambas-user] sdl mouse In-Reply-To: <53B4FF22.6080005@...221...> References: <539EF066.8050209@...169...> <53B4EDBD.4020702@...169...> <53B4FF22.6080005@...221...> Message-ID: <53B50BC8.2080109@...169...> yea It is problematic if that happens. but i have seen it done with some game engines and the reason i need it is if i have a windowed action game that use,s the mouse i doesn't take long before the user is clicking outside the game window and losing focus on the game which is a problem i did try what you said and it didn't work very well at all :-( On 03/07/14 16:58, Rolf-Werner Eilert wrote: > Isn't that dangerous? If the application crashes, the mouse is caught > within the dead window's boundaries. > > Maybe you can read the mouse coordinates and reset them to within the > window, by code of your application, so that the mouse gets free if the > application dies. > > Rolf > > > Am 03.07.2014 07:44, schrieb Shane: >> any word on this >> >> On 16/06/14 23:25, Shane wrote: >>> hi benoit would it be possible to include the ability to keep the mouse >>> within the bounds of the sdl window >>> >>> thanks Shane >>> >>> ------------------------------------------------------------------------------ >>> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions >>> Find What Matters Most in Your Big Data with HPCC Systems >>> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. >>> Leverages Graph Analysis for Fast Processing & Easy Data Exploration >>> http://p.sf.net/sfu/hpccsystems >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >>> >> >> ------------------------------------------------------------------------------ >> Open source business process management suite built on Java and Eclipse >> Turn processes into business applications with Bonita BPM Community Edition >> Quickly connect people, data, and systems into organized workflows >> Winner of BOSSIE, CODIE, OW2 and Gartner awards >> http://p.sf.net/sfu/Bonitasoft >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From eilert-sprachen at ...221... Thu Jul 3 10:14:12 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 03 Jul 2014 10:14:12 +0200 Subject: [Gambas-user] sdl mouse In-Reply-To: <53B50BC8.2080109@...169...> References: <539EF066.8050209@...169...> <53B4EDBD.4020702@...169...> <53B4FF22.6080005@...221...> <53B50BC8.2080109@...169...> Message-ID: <53B510D4.6070903@...221...> Ok, that may make sense. But I'm not in game programming, so I don't know anything about it. Interesting aspect, anyway! Rolf Am 03.07.2014 09:52, schrieb Shane: > yea It is problematic if that happens. but i have seen it done with some > game engines and the reason i need it is if i have a windowed action > game that use,s the mouse i doesn't take long before the user is > clicking outside the game window and losing focus on the game which is a > problem > i did try what you said and it didn't work very well at all :-( > > On 03/07/14 16:58, Rolf-Werner Eilert wrote: >> Isn't that dangerous? If the application crashes, the mouse is caught >> within the dead window's boundaries. >> >> Maybe you can read the mouse coordinates and reset them to within the >> window, by code of your application, so that the mouse gets free if the >> application dies. >> >> Rolf >> >> >> Am 03.07.2014 07:44, schrieb Shane: >>> any word on this >>> >>> On 16/06/14 23:25, Shane wrote: >>>> hi benoit would it be possible to include the ability to keep the mouse >>>> within the bounds of the sdl window >>>> >>>> thanks Shane >>>> >>>> ------------------------------------------------------------------------------ >>>> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions >>>> Find What Matters Most in Your Big Data with HPCC Systems >>>> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. >>>> Leverages Graph Analysis for Fast Processing & Easy Data Exploration >>>> http://p.sf.net/sfu/hpccsystems >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> >>>> >>> >>> ------------------------------------------------------------------------------ >>> Open source business process management suite built on Java and Eclipse >>> Turn processes into business applications with Bonita BPM Community Edition >>> Quickly connect people, data, and systems into organized workflows >>> Winner of BOSSIE, CODIE, OW2 and Gartner awards >>> http://p.sf.net/sfu/Bonitasoft >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> ------------------------------------------------------------------------------ >> Open source business process management suite built on Java and Eclipse >> Turn processes into business applications with Bonita BPM Community Edition >> Quickly connect people, data, and systems into organized workflows >> Winner of BOSSIE, CODIE, OW2 and Gartner awards >> http://p.sf.net/sfu/Bonitasoft >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Thu Jul 3 10:33:26 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 03 Jul 2014 10:33:26 +0200 Subject: [Gambas-user] sdl mouse In-Reply-To: <539EF066.8050209@...169...> References: <539EF066.8050209@...169...> Message-ID: <53B51556.40902@...1...> Le 16/06/2014 15:25, Shane a ?crit : > hi benoit would it be possible to include the ability to keep the mouse > within the bounds of the sdl window > > thanks Shane > I have added a "Window.Grabbed" property in revision #6359 for that. Please test it and tell me if it works. And if you find a better name for the property, you are welcome! I don't find "Grabbed" very nice... Regards, -- Beno?t Minisini From eilert-sprachen at ...221... Thu Jul 3 10:42:27 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 03 Jul 2014 10:42:27 +0200 Subject: [Gambas-user] sdl mouse In-Reply-To: <53B51556.40902@...1...> References: <539EF066.8050209@...169...> <53B51556.40902@...1...> Message-ID: <53B51773.2070609@...221...> Maybe "Trapped" ? Am 03.07.2014 10:33, schrieb Beno?t Minisini: > Le 16/06/2014 15:25, Shane a ?crit : >> hi benoit would it be possible to include the ability to keep the mouse >> within the bounds of the sdl window >> >> thanks Shane >> > > I have added a "Window.Grabbed" property in revision #6359 for that. > > Please test it and tell me if it works. And if you find a better name > for the property, you are welcome! I don't find "Grabbed" very nice... > > Regards, > From lists at ...2828... Thu Jul 3 12:04:22 2014 From: lists at ...2828... (CJ) Date: Thu, 3 Jul 2014 12:04:22 +0200 Subject: [Gambas-user] Get structure from extern function? Message-ID: <000001cf96a6$370cff90$0f00a8c0@...2829...> I'm trying to receive a simple structure from a shared library but get an Type Mismatch error saying... "wanted StructVersion, got Function instead in FMain:87" Before calling the extern function I declare the structure, variable and the library using... Public Struct StructVersion Major As Byte Minor As Byte End Struct Public Version As StructVersion Extern LIBVersion() As StructVersion In "libtest" But get the error when calling the function with... Version = LIBVersion I did find an older post made by Beno?t and using the code given in that post results in the same error (i.e "wanted StructTm, got Function instead in FMain:107") --8<----------------------------------------------------------------- Public Struct StructTm tm_sec As Integer tm_min As Integer tm_hour As Integer tm_mday As Integer tm_mon As Integer tm_year As Integer tm_wday As Integer tm_yday As Integer tm_isdst As Integer End Struct Private Extern localtime(timep As Pointer) As StructTm In "libc:6" --8<----------------------------------------------------------------- Source: http://permalink.gmane.org/gmane.comp.lang.gambas.user/16080 Am I missing something? [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.13.0-29-generic Architecture=x86 Distribution=Ubuntu 14.04 LTS Desktop=XFCE Theme=QGtk Language=en_US.UTF-8 Memory=1002M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 From gambas.fr at ...626... Thu Jul 3 13:17:21 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 3 Jul 2014 13:17:21 +0200 Subject: [Gambas-user] Get structure from extern function? In-Reply-To: <000001cf96a6$370cff90$0f00a8c0@...2829...> References: <000001cf96a6$370cff90$0f00a8c0@...2829...> Message-ID: The function and the structure have the same name... It can't work Le 3 juil. 2014 12:05, "CJ" a ?crit : > I'm trying to receive a simple structure from a shared library but > get an Type Mismatch error saying... > > "wanted StructVersion, got Function instead in FMain:87" > > Before calling the extern function I declare the structure, variable > and the library using... > > Public Struct StructVersion > Major As Byte > Minor As Byte > End Struct > > Public Version As StructVersion > > Extern LIBVersion() As StructVersion In "libtest" > > But get the error when calling the function with... > > Version = LIBVersion > > I did find an older post made by Beno?t and using the code given in that > post results > in the same error (i.e "wanted StructTm, got Function instead in > FMain:107") > > --8<----------------------------------------------------------------- > > Public Struct StructTm > tm_sec As Integer > tm_min As Integer > tm_hour As Integer > tm_mday As Integer > tm_mon As Integer > tm_year As Integer > tm_wday As Integer > tm_yday As Integer > tm_isdst As Integer > End Struct > > Private Extern localtime(timep As Pointer) As StructTm In "libc:6" > > --8<----------------------------------------------------------------- > > Source: http://permalink.gmane.org/gmane.comp.lang.gambas.user/16080 > > Am I missing something? > > > [System] > Gambas=3.5.90 > OperatingSystem=Linux > Kernel=3.13.0-29-generic > Architecture=x86 > Distribution=Ubuntu 14.04 LTS > Desktop=XFCE > Theme=QGtk > Language=en_US.UTF-8 > Memory=1002M > [Libraries] > Cairo=libcairo.so.2.11301.0 > Curl=libcurl.so.4.3.0 > DBus=libdbus-1.so.3.7.6 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.204.0 > GTK+3=libgtk-3.so.0.1000.8 > GTK+=libgtk-x11-2.0.so.0.2400.23 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.44.0.0 > Qt4=libQtCore.so.4.8.6 > SDL=libSDL-1.2.so.0.11.4 > > > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Thu Jul 3 13:18:50 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 3 Jul 2014 13:18:50 +0200 Subject: [Gambas-user] Get structure from extern function? In-Reply-To: <000001cf96a6$370cff90$0f00a8c0@...2829...> References: <000001cf96a6$370cff90$0f00a8c0@...2829...> Message-ID: Scuse me I've made a bad read .. Just do : Version = LIBVersion() Le 3 juil. 2014 12:05, "CJ" a ?crit : > I'm trying to receive a simple structure from a shared library but > get an Type Mismatch error saying... > > "wanted StructVersion, got Function instead in FMain:87" > > Before calling the extern function I declare the structure, variable > and the library using... > > Public Struct StructVersion > Major As Byte > Minor As Byte > End Struct > > Public Version As StructVersion > > Extern LIBVersion() As StructVersion In "libtest" > > But get the error when calling the function with... > > Version = LIBVersion > > I did find an older post made by Beno?t and using the code given in that > post results > in the same error (i.e "wanted StructTm, got Function instead in > FMain:107") > > --8<----------------------------------------------------------------- > > Public Struct StructTm > tm_sec As Integer > tm_min As Integer > tm_hour As Integer > tm_mday As Integer > tm_mon As Integer > tm_year As Integer > tm_wday As Integer > tm_yday As Integer > tm_isdst As Integer > End Struct > > Private Extern localtime(timep As Pointer) As StructTm In "libc:6" > > --8<----------------------------------------------------------------- > > Source: http://permalink.gmane.org/gmane.comp.lang.gambas.user/16080 > > Am I missing something? > > > [System] > Gambas=3.5.90 > OperatingSystem=Linux > Kernel=3.13.0-29-generic > Architecture=x86 > Distribution=Ubuntu 14.04 LTS > Desktop=XFCE > Theme=QGtk > Language=en_US.UTF-8 > Memory=1002M > [Libraries] > Cairo=libcairo.so.2.11301.0 > Curl=libcurl.so.4.3.0 > DBus=libdbus-1.so.3.7.6 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.204.0 > GTK+3=libgtk-3.so.0.1000.8 > GTK+=libgtk-x11-2.0.so.0.2400.23 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.44.0.0 > Qt4=libQtCore.so.4.8.6 > SDL=libSDL-1.2.so.0.11.4 > > > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From vuott at ...325... Thu Jul 3 14:00:30 2014 From: vuott at ...325... (Ru Vuott) Date: Thu, 3 Jul 2014 13:00:30 +0100 Subject: [Gambas-user] R: Get structure from extern function? In-Reply-To: <000001cf96a6$370cff90$0f00a8c0@...2829...> Message-ID: <1404388830.82162.YahooMailBasic@...3274...> Can you show the C code of that shared library ? bye vuott -------------------------------------------- Gio 3/7/14, CJ ha scritto: Oggetto: [Gambas-user] Get structure from extern function? A: gambas-user at lists.sourceforge.net Data: Gioved? 3 luglio 2014, 12:04 I'm trying to receive a simple structure from a shared library but get an Type Mismatch error saying... ? "wanted StructVersion, got Function instead in FMain:87" Before calling the extern function I declare the structure, variable and the library using... ? Public Struct StructVersion ? ? ? Major As Byte ? ? ? Minor As Byte ? End Struct ? Public Version As StructVersion ? Extern LIBVersion() As StructVersion In "libtest" But get the error when calling the function with... ? Version = LIBVersion I did find an older post made by Beno?t and using the code given in that post results in the same error (i.e "wanted StructTm, got Function instead in FMain:107") --8<----------------------------------------------------------------- Public Struct StructTm ???tm_sec As Integer ???tm_min As Integer ???tm_hour As Integer ???tm_mday As Integer ???tm_mon As Integer ???tm_year As Integer ???tm_wday As Integer ???tm_yday As Integer ???tm_isdst As Integer End Struct Private Extern localtime(timep As Pointer) As StructTm In "libc:6" --8<----------------------------------------------------------------- Source: http://permalink.gmane.org/gmane.comp.lang.gambas.user/16080 Am I missing something? [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.13.0-29-generic Architecture=x86 Distribution=Ubuntu 14.04 LTS Desktop=XFCE Theme=QGtk Language=en_US.UTF-8 Memory=1002M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From lists at ...2828... Fri Jul 4 02:00:54 2014 From: lists at ...2828... (CJ) Date: Fri, 4 Jul 2014 02:00:54 +0200 Subject: [Gambas-user] Get structure from extern function? Message-ID: <000101cf971b$107d44f0$0f00a8c0@...2829...> Sorry if this message appears twice on the list, had some issues posting again... > Can you show the C code of that shared library ? It's a shared library written in Free Pascal 2.6.2. Attached is source code as well as a compiled library for Xubuntu 14.xx (i386), it's very basic code... To install the library copy the file libtest.so to "/usr/local/lib" and then type "ldconfig". In the library are two functions exported. Tripple is only there to see that the library works... Tripple LIBVersion The simple Gambas 3 demo first calls Tripple with "3" as an argument and then calls LIBVersion() but crashes the interpreter with a Segmentation fault (11) message. Comment out the call to LIBVersion() and you should see "9" on the form. /CJ -------------- next part -------------- A non-text attachment was scrubbed... Name: test.pas Type: application/octet-stream Size: 585 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: libtest.tar.gz Type: application/x-gzip Size: 337086 bytes Desc: not available URL: From gambas at ...1... Fri Jul 4 03:36:34 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 04 Jul 2014 03:36:34 +0200 Subject: [Gambas-user] Get structure from extern function? In-Reply-To: <000001cf96a6$370cff90$0f00a8c0@...2829...> References: <000001cf96a6$370cff90$0f00a8c0@...2829...> Message-ID: <53B60522.6010505@...1...> Le 03/07/2014 12:04, CJ a ?crit : > I'm trying to receive a simple structure from a shared library but > get an Type Mismatch error saying... > > "wanted StructVersion, got Function instead in FMain:87" > You must put "()" after the identifier to call it as a function. -- Beno?t Minisini From lists at ...2828... Fri Jul 4 08:45:32 2014 From: lists at ...2828... (CJ) Date: Fri, 4 Jul 2014 08:45:32 +0200 Subject: [Gambas-user] Get structure from extern function? In-Reply-To: <53B60522.6010505@...1...> Message-ID: <000001cf9753$90166420$0f00a8c0@...2829...> > > I'm trying to receive a simple structure from a shared library but > > get an Type Mismatch error saying... > > > > "wanted StructVersion, got Function instead in FMain:87" > > > > You must put "()" after the identifier to call it as a function. Fabien and Beno?t, Unfortunately that crashes the Gambas interpreter with a Segmentation fault (11) message? If you are interesting to test yourself see my previous post to this list, it includes library and a simple testprogram. /CJ From vuott at ...325... Fri Jul 4 10:37:32 2014 From: vuott at ...325... (Ru Vuott) Date: Fri, 4 Jul 2014 09:37:32 +0100 Subject: [Gambas-user] Get structure from extern function? In-Reply-To: <000101cf971b$107d44f0$0f00a8c0@...2829...> Message-ID: <1404463052.6376.YahooMailBasic@...3274...> Hello, I tried to use your library, but I receive this notice/error: " Cannot find dynamic library: ...etc..etc..: wrong ELF class: ELFCASS32 " so, because I suppose it was written for an 386 system. (Isn't it ?) I am not able to create a shared library from a free Pascal code. bye vuott -------------------------------------------- Ven 4/7/14, CJ ha scritto: Oggetto: Re: [Gambas-user] Get structure from extern function? A: gambas-user at lists.sourceforge.net Data: Venerd? 4 luglio 2014, 02:00 Sorry if this message appears twice on the list, had some issues posting again... > Can you show the C code of that shared library ? It's a shared library written in Free Pascal 2.6.2. Attached is source code as well as a compiled library for Xubuntu 14.xx (i386), it's very basic code... To install the library copy the file libtest.so to "/usr/local/lib" and then type "ldconfig". In the library are two functions exported. Tripple is only there to see that the library works... ? Tripple ? LIBVersion The simple Gambas 3 demo first calls Tripple with "3" as an argument and then calls LIBVersion() but crashes the interpreter with a Segmentation fault (11) message. Comment out the call to LIBVersion() and you should see "9" on the form. /CJ -----Segue allegato----- ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft -----Segue allegato----- _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From lists at ...2828... Fri Jul 4 10:41:56 2014 From: lists at ...2828... (CJ) Date: Fri, 4 Jul 2014 10:41:56 +0200 Subject: [Gambas-user] Get structure from extern function? Message-ID: <000001cf9763$d2917be0$0f00a8c0@...2829...> Noticed I missed a "NEW" keyword but the problem with the segmentation fault persists. Attached is an updated version of the simple test program calling the libtest library. /CJ -------------- next part -------------- A non-text attachment was scrubbed... Name: libtest2.tar.gz Type: application/x-gzip Size: 5225 bytes Desc: not available URL: From lists at ...2828... Fri Jul 4 10:50:36 2014 From: lists at ...2828... (CJ) Date: Fri, 4 Jul 2014 10:50:36 +0200 Subject: [Gambas-user] Get structure from extern function? In-Reply-To: <1404463052.6376.YahooMailBasic@...3274...> Message-ID: <000001cf9765$0a673220$0f00a8c0@...2829...> Hi Voutt > I tried to use your library, but I receive this notice/error: > > " Cannot find dynamic library: ...etc..etc..: wrong ELF > class: ELFCASS32 " > > so, because I suppose it was written for an 386 system. (Isn't it ?) Yes, it's compiled for i386 under Xubuntu 14.04 LTS (32-bit). What Linux dist are you running? Is it 64-bit? > I am not able to create a shared library from a free Pascal code. If I know what dist you are running I maybe can install same and recompile on that. /CJ From gambas at ...1... Fri Jul 4 11:00:24 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 04 Jul 2014 11:00:24 +0200 Subject: [Gambas-user] Get structure from extern function? In-Reply-To: <000001cf9765$0a673220$0f00a8c0@...2829...> References: <000001cf9765$0a673220$0f00a8c0@...2829...> Message-ID: <53B66D28.8050504@...1...> Le 04/07/2014 10:50, CJ a ?crit : > Hi Voutt > >> I tried to use your library, but I receive this notice/error: >> >> " Cannot find dynamic library: ...etc..etc..: wrong ELF >> class: ELFCASS32 " >> >> so, because I suppose it was written for an 386 system. (Isn't it ?) > > Yes, it's compiled for i386 under Xubuntu 14.04 LTS (32-bit). What Linux > dist > are you running? Is it 64-bit? > >> I am not able to create a shared library from a free Pascal code. > > If I know what dist you are running I maybe can install same and recompile > on that. > > /CJ > You would help by using "gdb" to get the stack backtrace of the crash. Or better using "valgrind" to get more details. Regards, -- Beno?t Minisini From lists at ...2828... Fri Jul 4 11:39:27 2014 From: lists at ...2828... (CJ) Date: Fri, 4 Jul 2014 11:39:27 +0200 Subject: [Gambas-user] Get structure from extern function? In-Reply-To: <53B66D28.8050504@...1...> Message-ID: <000001cf976b$dbb12bf0$0f00a8c0@...2829...> > You would help by using "gdb" to get the stack backtrace of > the crash. Thats probably a better start. Attached is result from gdb running "libtest2"... > Or better using "valgrind" to get more details. I have no experience with that but will install and read up on it later if needed, let me know... /CJ -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: gdb_output.txt URL: From vuott at ...325... Fri Jul 4 12:33:15 2014 From: vuott at ...325... (Ru Vuott) Date: Fri, 4 Jul 2014 11:33:15 +0100 Subject: [Gambas-user] Get structure from extern function? In-Reply-To: <000001cf9765$0a673220$0f00a8c0@...2829...> Message-ID: <1404469995.11254.YahooMailBasic@...3269...> Hi, this is my system [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86_64 Distribution=Linux Mint 17 Qiana Desktop=GNOME Theme=QCleanlooks Language=it_IT.UTF-8 Memory=1245M [Libraries] Cairo=libcairo.so.2.11301.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 -------------------------------------------- Ven 4/7/14, CJ ha scritto: Oggetto: Re: [Gambas-user] Get structure from extern function? A: gambas-user at lists.sourceforge.net Data: Venerd? 4 luglio 2014, 10:50 Hi Voutt > I tried to use your library, but I receive this notice/error: > > " Cannot find dynamic library: ...etc..etc..: wrong ELF > class: ELFCASS32 " > > so, because I suppose it was written for an 386 system. (Isn't it ?) Yes, it's compiled for i386 under Xubuntu 14.04 LTS (32-bit). What Linux dist are you running? Is it 64-bit? > I am not able to create a shared library from a free Pascal code. If I know what dist you are running I maybe can install same and recompile on that. /CJ ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From taboege at ...626... Fri Jul 4 13:23:41 2014 From: taboege at ...626... (Tobias Boege) Date: Fri, 4 Jul 2014 13:23:41 +0200 Subject: [Gambas-user] RFC: How to identify vertices and edges in a Graph class? Message-ID: <20140704112341.GA522@...2774...> Hi list, I'm currently (well, I'll try to continue with it tomorrow) implementing an abstract Graph class in gb.data. And by "abstract", I mean that I will just specify the interface of Graph classes, so that concrete implementations, of which there are plenty possibilities, are varible behind that consistent interface. (Of course, after the interface is there, you get at least two concrete implementations delivered for free along with gb.data.) This should encourage you to model your problems as your own customised Graph classes and maybe you can then already solve them with a standard algorithm, like Dijkstra. To this end, and for performance reasons, we cannot/don't want to have real Vertex or Edge classes but use virtual objects instead.[*] I'm struggling with the way we would address vertices and edges here. The easiest way would be to have some integer ID (I think we all agree on this). But what shall happen when you have vertices 1,2,3 and remove vertex 2? Shall 3 become the new 2? Shall 2 be taken up by the next inserted vertex? Shall it remain unused forever? Try to put yourselves in my situation, too: if the graph above would be implemented as a 3*3 adjacency matrix, if row and column 2 (counting from 1) are deleted, actually 3 would become the new 2. This is very easy for me as a programmer but may be bad for you as the user because the way you address things changes behind your back. What I could do, OTOH, is to have an internal translation array so that you can keep using the vertex ID 3 which is mapped to index 2 (still counting from 1) of the adjacency matrix. This would mean an additional indirection every time... I will leave quite some aspects of the Graph class "implementation defined" like the ability to delete vertices or create edges, etc. but this is a point that I *have* to specify. As for the edges, would you prefer an edge ID similar to the vertex ones or that edges are identified by the source and destination vertex IDs they connect? The first possibility would be the most generic but difficult to implement. The second way would require that we have that translation array for vertex IDs. I would like to hear your opinions (and alternatives) on this matter; if you have any application in mind that would need it one or the other way. Regards, Tobi [*] Imagine that you have a huge data structure which you just want to *interpret* as a Graph, i.e. your Graph is defined implicitly by some other data. It could potentially *waste* tremendous amounts of memory if you were required to create real Vertex and Edges objects instead of just forward requests from the Graph interface to your backing data. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From jussi.lahtinen at ...626... Fri Jul 4 14:13:27 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 4 Jul 2014 15:13:27 +0300 Subject: [Gambas-user] Get structure from extern function? In-Reply-To: <000101cf971b$107d44f0$0f00a8c0@...2829...> References: <000101cf971b$107d44f0$0f00a8c0@...2829...> Message-ID: I don't know the language, but shouldn't "Tripple := numberin * 3" be "Tripple := numberin * 3;"? That would seem consistent. Also byte cannot hold values like 01, is just same as 1. Jussi On Fri, Jul 4, 2014 at 3:00 AM, CJ wrote: > > Sorry if this message appears twice on the list, had some issues posting > again... > > > Can you show the C code of that shared library ? > > It's a shared library written in Free Pascal 2.6.2. Attached is source code > as > well as a compiled library for Xubuntu 14.xx (i386), it's very basic > code... > > To install the library copy the file libtest.so to "/usr/local/lib" and > then > type "ldconfig". > > In the library are two functions exported. Tripple is only there to see > that > the library works... > > Tripple > LIBVersion > > The simple Gambas 3 demo first calls Tripple with "3" as an argument and > then > calls LIBVersion() but crashes the interpreter with a Segmentation fault > (11) message. > > Comment out the call to LIBVersion() and you should see "9" on the form. > > /CJ > > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From gambas at ...1... Fri Jul 4 14:48:33 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 04 Jul 2014 14:48:33 +0200 Subject: [Gambas-user] Filechooser change event don't raise In-Reply-To: <1404306294.3833.12.camel@...40...> References: <1404306294.3833.12.camel@...40...> Message-ID: <53B6A2A1.1090907@...1...> Le 02/07/2014 15:04, Charlie Reinl a ?crit : > Salut Beno?t, > > Filechooser change event don't raise when changing filename, only when > changing DIR. > Change event was raised when the *selected file* changes, not the filename textbox. In revision #6360, I raise it too when the selected file is unselected, it should fit your needs. I may revert that change if it hardly breaks backward-compatibility. Regards, -- Beno?t Minisini From gambas at ...1... Fri Jul 4 15:05:48 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 04 Jul 2014 15:05:48 +0200 Subject: [Gambas-user] gb.form.mdi : Attach/Detach In-Reply-To: <20140701135806.65db1827e2c0403b0cd8e34b@...2308...> References: <20140701135806.65db1827e2c0403b0cd8e34b@...2308...> Message-ID: <53B6A6AC.4070209@...1...> Le 01/07/2014 06:28, B Bruen a ?crit : > I am doing some experiments with detachable tabs in the gb.form.mdi > component. A couple of things have come to light that I would like > to suggest (as a basis for discussion, rather than a bug or > whatever). > > ... Does revision #6361 fit your needs? [GB.FORM.MDI] * NEW: Workspace.Remove() is a new method for removing a window from the workspace. * NEW: Workspace.Add() automatically calls Workspace.Remove() to remove the window from its previous workspace if needed. * NEW: Workspace now raises the Attach and Detach events when a window is respectively attached or detached. -- Beno?t Minisini From linux at ...3345... Fri Jul 4 15:48:26 2014 From: linux at ...3345... (Orionis) Date: Fri, 4 Jul 2014 06:48:26 -0700 (PDT) Subject: [Gambas-user] TextEdit (and TextArea) Drag & Drop inconsistencies Message-ID: <1404481706657-47264.post@...3046...> On a form I have a TexEdit and a TextArea. I need to be able to select part of the text in the TextEdit with MouseDrag, but without the ability to move the selected text around or to drop it somewhere. During testing I found the following: - with MouseDrag disabled (stop event) I can't move the text (that's ok) but I can not select a part (actually, the first character is selected anyway...I thought it should not) - with MouseDrag enabled, I select what I want, but I can also move the selection around inside the the control (this is not acceptable). - the DragMove event is never raised during this operation, so stopping it is unuseful. Please note that the TextEdit Drop property is disabled. I also noticed that with MouseDrag enabled I can drag and drop from TextEdit over the TextArea, which also has the Drop property disabled, so possibly I have two problems. Is there any way to obtain what I need (or am I doing it wrong) ? System: Xubuntu 13.10 XFCE -- View this message in context: http://gambas.8142.n7.nabble.com/TextEdit-and-TextArea-Drag-Drop-inconsistencies-tp47264.html Sent from the gambas-user mailing list archive at Nabble.com. From lists at ...2828... Fri Jul 4 15:55:04 2014 From: lists at ...2828... (CJ) Date: Fri, 4 Jul 2014 15:55:04 +0200 Subject: [Gambas-user] Get structure from extern function? In-Reply-To: <1404469995.11254.YahooMailBasic@...3269...> Message-ID: <000101cf978f$9587b490$0f00a8c0@...2829...> > Hi, this is my system OK, I'm downloading Linux Mint 17 64-bit and will see if I can install it and compile. PS: I have a slow pipe so it will take a while to DL. /CJ From herberthguzman at ...626... Sat Jul 5 01:05:02 2014 From: herberthguzman at ...626... (herberth guzman) Date: Fri, 4 Jul 2014 17:05:02 -0600 Subject: [Gambas-user] X11Systray Message-ID: Hi Benoit Mon ami Thanks for the corrections Gambas3 mentioned in the previous email. I have the following problem. If I open the example systray applets work well "nm-applet" "gnome-sound-applet" "vlc" but if another form displays the Form (Fmain) that loads the applets, the applets are displayed one above the other. example Fmain (form example systray) Create a Form called Form1 Class start = Form1 ==> Button1 ==> Fmain.show Open VLC and displayed above the first system icon. As I can solve this problem. In my project is a module which loads the systray. Thank you. Regards Herberth Guzman From jusabejusabe at ...626... Sat Jul 5 01:32:05 2014 From: jusabejusabe at ...626... (Julio Sanchez) Date: Sat, 5 Jul 2014 01:32:05 +0200 Subject: [Gambas-user] Request for the Gambas IDE: a way to query the help in an offline mode In-Reply-To: References: Message-ID: Version Test: Gambas3.5.3. adding suport offline reading help I modified the IDE gambas3.5.3, adding support offline reading help by pressing the keys Shift + F1 You have to install two program: 1) gambas3ayudaDisk Is modified IDE. 2) gambashelpdisk It is the program manager: - Install the offline help, creates a hidden folder and decompresses a file tag.gz (the web pages containing the aid in English) - Is called by the gambas3ayudaDisk, when pressed shift + F1 For details: (this in Spanish) http://www.gambas-es.org/viewtopic.php?f=5&t=3948 Download: https://drive.google.com/folderview?id=0B02Ro2CNt-OOMDVBVGZsMGkzM3c&usp=sharing Regards 2014-06-27 4:21 GMT+02:00 Fabi?n Flores Vadell : > +1 > > > 2014-06-24 15:16 GMT-03:00 Julio Sanchez : > > > Request for the Gambas IDE: a way to query the help in an offline mode. > > Perhaps a path where Gambas look for local web pages or better, a way to > > download the wikigambas website and accessing the help without internet. > > > > Regards > > > > > ------------------------------------------------------------------------------ > > Open source business process management suite built on Java and Eclipse > > Turn processes into business applications with Bonita BPM Community > Edition > > Quickly connect people, data, and systems into organized workflows > > Winner of BOSSIE, CODIE, OW2 and Gartner awards > > http://p.sf.net/sfu/Bonitasoft > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > -- > Fabi?n Flores Vadell > www.comoprogramarcongambas.blogspot.com > www.speedbooksargentina.blogspot.com > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From vuott at ...325... Sat Jul 5 02:35:32 2014 From: vuott at ...325... (Ru Vuott) Date: Sat, 5 Jul 2014 01:35:32 +0100 Subject: [Gambas-user] ERROR with vers. 6362 Message-ID: <1404520532.84747.YahooMailBasic@...3274...> Hello, updating my Gambas3 with vers. 6362, I obtain this error: make[5]: Entering directory `/home/vuott/trunk/gb.qt4/src' CXX gb_qt4_la-main_moc.lo CXX gb_qt4_la-main.lo main.cpp:1045:10: error: 'CWIDGET_background' was not declared in this scope (void *)CWIDGET_background, ^ make[5]: *** [gb_qt4_la-main.lo] Error 1 make[5]: Leaving directory `/home/vuott/trunk/gb.qt4/src' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/vuott/trunk/gb.qt4/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/vuott/trunk/gb.qt4' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/vuott/trunk/gb.qt4' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/vuott/trunk' make: *** [all] Error 2 From gambas at ...2524... Sat Jul 5 04:18:32 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 05 Jul 2014 02:18:32 +0000 Subject: [Gambas-user] Issue 529 in gambas: Wrong foreground color in Help Browser In-Reply-To: <1-6813199134517018827-10030019510279427439-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-10030019510279427439-gambas=googlecode.com@...2524...> <0-6813199134517018827-10030019510279427439-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-10030019510279427439-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #2 on issue 529 by benoit.m... at ...626...: Wrong foreground color in Help Browser http://code.google.com/p/gambas/issues/detail?id=529 Apparently this is a bug in the Qt Webkit widget. To workaround it, I forced the gambas wiki to use explicit black on white colors. I don't think there is a better solution... -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...1... Sat Jul 5 04:39:01 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 05 Jul 2014 04:39:01 +0200 Subject: [Gambas-user] ERROR with vers. 6362 In-Reply-To: <1404520532.84747.YahooMailBasic@...3274...> References: <1404520532.84747.YahooMailBasic@...3274...> Message-ID: <53B76545.80205@...1...> Le 05/07/2014 02:35, Ru Vuott a ?crit : > Hello, > > updating my Gambas3 with vers. 6362, I obtain this error: > > > make[5]: Entering directory `/home/vuott/trunk/gb.qt4/src' > CXX gb_qt4_la-main_moc.lo > CXX gb_qt4_la-main.lo > main.cpp:1045:10: error: 'CWIDGET_background' was not declared in this scope > (void *)CWIDGET_background, > ^ > make[5]: *** [gb_qt4_la-main.lo] Error 1 > make[5]: Leaving directory `/home/vuott/trunk/gb.qt4/src' > make[4]: *** [all-recursive] Error 1 > make[4]: Leaving directory `/home/vuott/trunk/gb.qt4/src' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/home/vuott/trunk/gb.qt4' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/home/vuott/trunk/gb.qt4' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/vuott/trunk' > make: *** [all] Error 2 > It should be better with revision #6363. Regards, -- Beno?t Minisini From lists at ...2828... Sat Jul 5 08:37:43 2014 From: lists at ...2828... (CJ) Date: Sat, 5 Jul 2014 08:37:43 +0200 Subject: [Gambas-user] Get structure from extern function? In-Reply-To: Message-ID: <000001cf981b$a7dcd440$0f00a8c0@...2829...> Thanks for the input Jussi! > I don't know the language, but shouldn't "Tripple := numberin * 3" be > "Tripple := numberin * 3;"? That would seem consistent. Good catch! In this particular Pascal code it doesn't really matter since it's the one and only line of code in that function but it's now corrected for consistency. Maybe it was a bit unclear before but the "Tripple" function works OK and I only included it to verify that the lib works as intended - at least that part - it's when calling "LIBVersion" trying to get the struct it crashes. > Also byte cannot hold values like 01, is just same as 1. Correct, guess I wrote 01 just out of habit, i.e. 1.01. Hopefully the gdb output give clues to whats happening. /CJ From lists at ...2828... Sat Jul 5 10:34:19 2014 From: lists at ...2828... (CJ) Date: Sat, 5 Jul 2014 10:34:19 +0200 Subject: [Gambas-user] Gambas3 and ZeroMQ? In-Reply-To: Message-ID: <000001cf982b$f3015440$0f00a8c0@...2829...> > Seem interresting ! Yes, ZeroMQ looks usefull for lots of things. Haven't had a chance to look closer but I did find some simple examples for other BASIC dialects (Win32) that may come in handy... http://www.coastrd.com/download/ZMQExamples.zip Looks like the above examples are based on 2.2 API version and API reference is found here: http://api.zeromq.org/2-2:_start /CJ From vuott at ...325... Sat Jul 5 14:02:58 2014 From: vuott at ...325... (Ru Vuott) Date: Sat, 5 Jul 2014 13:02:58 +0100 Subject: [Gambas-user] ERROR with vers. 6362 In-Reply-To: <53B76545.80205@...1...> Message-ID: <1404561778.82920.YahooMailBasic@...3274...> Yes, now it works. OK. bye -------------------------------------------- Sab 5/7/14, Beno?t Minisini ha scritto: Oggetto: Re: [Gambas-user] ERROR with vers. 6362 A: "mailing list for gambas users" Data: Sabato 5 luglio 2014, 04:39 Le 05/07/2014 02:35, Ru Vuott a ?crit : > Hello, > > updating my Gambas3 with? vers. 6362, I obtain this error: > > > make[5]: Entering directory `/home/vuott/trunk/gb.qt4/src' >? ? CXX? ? ? gb_qt4_la-main_moc.lo >? ? CXX? ? ? gb_qt4_la-main.lo > main.cpp:1045:10: error: 'CWIDGET_background' was not declared in this scope >? ? (void *)CWIDGET_background, >? ? ? ? ? ? ^ > make[5]: *** [gb_qt4_la-main.lo] Error 1 > make[5]: Leaving directory `/home/vuott/trunk/gb.qt4/src' > make[4]: *** [all-recursive] Error 1 > make[4]: Leaving directory `/home/vuott/trunk/gb.qt4/src' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/home/vuott/trunk/gb.qt4' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/home/vuott/trunk/gb.qt4' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/vuott/trunk' > make: *** [all] Error 2 > It should be better with revision #6363. Regards, -- Beno?t Minisini ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sat Jul 5 14:21:51 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 05 Jul 2014 14:21:51 +0200 Subject: [Gambas-user] Wishlist : gb.form.mdi ToolBar In-Reply-To: <20140625120242.ed25c80e9b6eb259c4c8fb83@...2308...> References: <20140625120242.ed25c80e9b6eb259c4c8fb83@...2308...> Message-ID: <53B7EDDF.9080908@...1...> Le 25/06/2014 04:32, B Bruen a ?crit : > Is there any reason that the ToolBar control is constrained within gb.form.mdi? > I use it consistently, without needing the other controls in gb.form.mdi and would really like to see it just within gb.form as a general control. > > Maybe gb4? > > regards > Bruce > Because the Toolbar is dependent on other internal features of gb.form.mdi. But why is it a problem that you have to check "gb.form.mdi"? -- Beno?t Minisini From gambas at ...1... Sat Jul 5 14:36:35 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 05 Jul 2014 14:36:35 +0200 Subject: [Gambas-user] Feature Request In-Reply-To: <53A9DFB4.1060907@...3301...> References: <53A9DFB4.1060907@...3301...> Message-ID: <53B7F153.6090708@...1...> Le 24/06/2014 22:29, Stephen a ?crit : > When adding new modules, classes, or forms the ability to select > pre-existing code is good, an improvement would be enabling multi-select > of those items, eliminating the need to loop through the > RightClick->New->[Module/Class/Form]->Existing->[Selection]. > > Just a thought. > Done in revision #6364. Regards, -- Beno?t Minisini From gambas at ...1... Sat Jul 5 14:47:51 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 05 Jul 2014 14:47:51 +0200 Subject: [Gambas-user] Settings: how to get (unknown) Keys? In-Reply-To: References: Message-ID: <53B7F3F7.1050209@...1...> Le 18/06/2014 15:08, wig a ?crit : > > How the get the (unknown keys) from a Settings file? > > > Terminology of Keys and "Slot" for the group of keys in a settings file > taken from documentation; > > This gives the names of the slots: > > > Dim SettingsToImport As New Settings(User.Home &/ > ".config/gambas3/gambas3.conf") > > Dim sKeySlot As String > Dim iSlotCounter As Integer > > For Each sKeySlot In SettingsToImport.Keys > Debug sKeySlot > Inc iSlotCounter > Next > Debug " - - - - " & iSlotCounter > > > Works fine, gives me all the slotnames, and the count of e.g.23: > >> Editor >> FColorChooser >> FConnectionEditor > ... >> gb.form.mdi/FShortcut >> gb.form.mdi/FToolbarConfig >> gb.form.mdi/Toolbars/main >> - - - - 23 > > Next step; I want to have the keys themselves. But how? (assuming I do > not know the keynames) > > > Dim SettingsToImport As New Settings(User.Home &/ > ".config/gambas3/gambas3.conf") > > Dim sKey As String > Dim iKeyCounter As Integer > > Dim hSettingsKeys As _Settings_Keys ' what I found in gb.settings docum. > > For Each sKeySlot In SettingsToImport.Keys > Debug sKeySlot > Inc iSlotCounter > > hSettingsKeys = SettingsToImport.Keys[sKeySlot] ' docum says > hSettings.Keys [ Parent As String ] > > For Each sKeySlot In hSettingsKeys > Inc iKeyCounter > Debug iKeyCounter & ": " & sKey > Next > > Next > > > > Doesn't crash, doesn't freeze, but gives the output: > >> Editor >> 1: Font >> 2: KeywordsUseUpperCase >> KeywordsUseUpperCase > > > That's all, it stops. > > (I want to import a Settings file, not use it for my app itself; I know > how to save and use settings for my app). > > This in Gambas 3.4.1 on OpenSuse 13.1/KDE > > > WiG. > Well, I admit that the Settings interface is weird for that. :-/ For the moment, you can't imbricate enumerations of the Keys property, unless you first put all keys in an intermediate string array. Something like that: Public Sub GetAllKeys(hSettings As Settings, Optional sParent As String, Optional aResult As String[]) As String[] Dim aKeys As New String[] Dim sKey As String For Each sKey In hSettings[sParent].Keys aKeys.Add(sKey) Next If Not aResult Then aResult = New String[] For Each sKey In aKeys aResult.Add(sKey) aResult.Insert(GetAllKeys(hSettings, sKey, aResult)) Next Return aResult End Beware, I wrote that code without testing it! -- Beno?t Minisini From gambas at ...1... Sat Jul 5 17:41:06 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 05 Jul 2014 17:41:06 +0200 Subject: [Gambas-user] Settings: how to get (unknown) Keys? In-Reply-To: <53B7F3F7.1050209@...1...> References: <53B7F3F7.1050209@...1...> Message-ID: <53B81C92.4020403@...1...> Le 05/07/2014 14:47, Beno?t Minisini a ?crit : > Le 18/06/2014 15:08, wig a ?crit : >> >> How the get the (unknown keys) from a Settings file? >> >> >> Terminology of Keys and "Slot" for the group of keys in a settings file >> taken from documentation; >> >> This gives the names of the slots: >> >> >> Dim SettingsToImport As New Settings(User.Home &/ >> ".config/gambas3/gambas3.conf") >> >> Dim sKeySlot As String >> Dim iSlotCounter As Integer >> >> For Each sKeySlot In SettingsToImport.Keys >> Debug sKeySlot >> Inc iSlotCounter >> Next >> Debug " - - - - " & iSlotCounter >> >> >> Works fine, gives me all the slotnames, and the count of e.g.23: >> >>> Editor >>> FColorChooser >>> FConnectionEditor >> ... >>> gb.form.mdi/FShortcut >>> gb.form.mdi/FToolbarConfig >>> gb.form.mdi/Toolbars/main >>> - - - - 23 >> >> Next step; I want to have the keys themselves. But how? (assuming I do >> not know the keynames) >> >> >> Dim SettingsToImport As New Settings(User.Home &/ >> ".config/gambas3/gambas3.conf") >> >> Dim sKey As String >> Dim iKeyCounter As Integer >> >> Dim hSettingsKeys As _Settings_Keys ' what I found in gb.settings >> docum. >> >> For Each sKeySlot In SettingsToImport.Keys >> Debug sKeySlot >> Inc iSlotCounter >> >> hSettingsKeys = SettingsToImport.Keys[sKeySlot] ' docum says >> hSettings.Keys [ Parent As String ] >> >> For Each sKeySlot In hSettingsKeys >> Inc iKeyCounter >> Debug iKeyCounter & ": " & sKey >> Next >> >> Next >> >> >> >> Doesn't crash, doesn't freeze, but gives the output: >> >>> Editor >>> 1: Font >>> 2: KeywordsUseUpperCase >>> KeywordsUseUpperCase >> >> >> That's all, it stops. >> >> (I want to import a Settings file, not use it for my app itself; I know >> how to save and use settings for my app). >> >> This in Gambas 3.4.1 on OpenSuse 13.1/KDE >> >> >> WiG. >> > > Well, I admit that the Settings interface is weird for that. :-/ > > For the moment, you can't imbricate enumerations of the Keys property, > unless you first put all keys in an intermediate string array. > > Something like that: > > Public Sub GetAllKeys(hSettings As Settings, Optional sParent As String, > Optional aResult As String[]) As String[] > > Dim aKeys As New String[] > Dim sKey As String > > For Each sKey In hSettings[sParent].Keys > aKeys.Add(sKey) > Next > > If Not aResult Then aResult = New String[] > > For Each sKey In aKeys > aResult.Add(sKey) > aResult.Insert(GetAllKeys(hSettings, sKey, aResult)) > Next > > Return aResult > > End > > Beware, I wrote that code without testing it! > I told rubbish... There are only two levels in the keys: Settings.Keys return a pseudo-collection of settings slots (what is between "[" and "]" in the settings file). Settings.Keys[Key] return a pseudo-collection of real settings keys. The bug is that enumerating Settings.Keys[Key] breaks the enumeration of Settings.Keys. I fixed that in revision #6365, and will delay the release of 3.5.4 to backport the fix! Regards, -- Beno?t Minisini From riccardo.giudici at ...626... Sat Jul 5 17:57:43 2014 From: riccardo.giudici at ...626... (kungfupanda) Date: Sat, 5 Jul 2014 08:57:43 -0700 (PDT) Subject: [Gambas-user] String array - problem with val Message-ID: <1404575863865-47278.post@...3046...> Hi, I've a problem with conversion of a string array in integer. I'm using gb.chart to create a line graph with a lot of element (more then 10.000 value). I read the value from a txt file and store all in a string[]. Now I'm trying to get every element of the string[] (with for each element in.... function) and pass every value to Val(element). But the function val(element), in example Val("0.56") result in NULL. What's wrong ?? Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/String-array-problem-with-val-tp47278.html Sent from the gambas-user mailing list archive at Nabble.com. From taboege at ...626... Sat Jul 5 21:29:57 2014 From: taboege at ...626... (Tobias Boege) Date: Sat, 5 Jul 2014 21:29:57 +0200 Subject: [Gambas-user] String array - problem with val In-Reply-To: <1404575863865-47278.post@...3046...> References: <1404575863865-47278.post@...3046...> Message-ID: <20140705192957.GB522@...2774...> On Sat, 05 Jul 2014, kungfupanda wrote: > Hi, > > I've a problem with conversion of a string array in integer. > I'm using gb.chart to create a line graph with a lot of element (more then > 10.000 value). > I read the value from a txt file and store all in a string[]. > Now I'm trying to get every element of the string[] (with for each element > in.... function) and pass every value to Val(element). > > But the function val(element), in example Val("0.56") result in NULL. > > What's wrong ?? > Val() uses the current locale to determine, like, the decimal separator. In some countries you write 0.56 and in others it's 0,56. Do you live in such a comma country? If yes, the solution is not to use Val() but CInt(). If no, then show us the code and (an excerpt of) the file you're reading. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bbruen at ...2308... Sat Jul 5 23:07:18 2014 From: bbruen at ...2308... (B Bruen) Date: Sun, 6 Jul 2014 06:37:18 +0930 Subject: [Gambas-user] Wishlist : gb.form.mdi ToolBar In-Reply-To: <53B7EDDF.9080908@...1...> References: <20140625120242.ed25c80e9b6eb259c4c8fb83@...2308...> <53B7EDDF.9080908@...1...> Message-ID: <20140706063718.2b97957444b03971a47835c3@...2308...> On Sat, 05 Jul 2014 14:21:51 +0200 Beno?t Minisini wrote: > Le 25/06/2014 04:32, B Bruen a ?crit : > > Is there any reason that the ToolBar control is constrained within gb.form.mdi? > > I use it consistently, without needing the other controls in gb.form.mdi and would really like to see it just within gb.form as a general control. > > > > Maybe gb4? > > > > regards > > Bruce > > > > Because the Toolbar is dependent on other internal features of gb.form.mdi. > > But why is it a problem that you have to check "gb.form.mdi"? > > -- > Beno?t Minisini > OK, no real problem (I just keep forgetting to add it and then my "train-of-thought" gets interupted.) B -- B Bruen From bbruen at ...2308... Sat Jul 5 23:27:11 2014 From: bbruen at ...2308... (B Bruen) Date: Sun, 6 Jul 2014 06:57:11 +0930 Subject: [Gambas-user] creating gb.qt4.webkit pages using gb.markdown etc (quick question) In-Reply-To: References: <20140628094400.332f0d785a4bd23818316684@...2308...> <20140628133256.38949df6e9ea4c48cdc05db5@...2308...> Message-ID: <20140706065711.a1e7327d8dc9614b8b0cdac8@...2308...> On Fri, 27 Jun 2014 23:15:14 -0600 Randall Morgan wrote: > I am not quit sure I understand what you mean the best way to build the how > to form. > > I use a web editor like Dreamweaver, Aptana Studio, etc. to create template > pages. These pages are stored in the project folder. I then load the data > needed to complete the page from a database, text or xml file. An entire > page of content can be loaded this way. > > I hope this helps > Yes, thanks Randall. I was probably just too close to the problem to see the obvious solution. (Talk about over-complicating things.) Bruce > > On Fri, Jun 27, 2014 at 10:02 PM, B Bruen wrote: > > > On Sat, 28 Jun 2014 09:44:00 +0930 > > B Bruen wrote: > > > > > some stuff that was probably not well expressed. > > > > So I will try again. What we have is: > > * some text files in many of our projects that describe "how to" do > > something in that application > > - by "how to" I mean stepwise descriptions of what actions need to be > > done to complete a "business" level activity that is supported by the > > application. These activities are not capable of, say, being driven by a > > wizard control or similar as they involve external parties and may take > > hours, days, ... to complete. The text files are there to provide (and > > this is really the best description I can give them) an aide-m?moire for > > the user's to go through the entire business activity. > > * up till now we have used these doc files internally to reply to user > > queries on these things, i.e. we reply by phone, fax or email with a "these > > are the things that have to be done" message. > > > > What I want to do is provide a do-it-yourself solution so the users can > > access the aide-m?moire files themselves. So it's sort of like a gambas > > help browser thing I am trying to build. The aide-m?moire "pages" are > > fairly simple. A topic, a title and a list of the steps needed. As an > > example, to change the ownership of a registered racing thoroughbred, which > > is required by the "rules" here in Australia, the registered trainer must > > submit a paper or fax form of up to 20 pages length to the national > > registry organisation. To prepare this paperwork could take the trainer an > > hour or so. Our gambas application does this in a few seconds. The steps > > (manual) are: > > 1) prepare the ownership change form > > 2) submit the form to the registry > > 3) wait ... .... ... until the registry confirms that the change has been > > approved and registered, or denied, or queried ... > > 4) file the ownership papers appropriately. > > Our application takes care of 1,2 and 4. But looks more like: > > 1) use menu item blah to prepare and submit ownership change documents to > > registry > > * the horse owners records will be updated, but marked as "pending" > > 2) when the change confirmation is received, use menu item blah2 to update > > owner records > > * the pending status will be removed and emails to the (changed) owners > > will be sent automatically. > > * the new ownership schedule will be printed so you can file it > > appropriately. > > 3) if the change is denied or queried by the registry see the following > > how-tos: > > * etc > > > > And this is one of the simplest (haha) things one could imagine for the > > arcane and bureaucratic ways things are run here. (You dont want to see > > other examples.) > > > > So: > > I want to build a how-to form in our trainer application that (simply) has > > an index page and a set of dynamically generated pages (based) on some > > simple text files. The index page will be static with just a set of links > > that access the topic page. I don't need or want anything fancier than > > that... yet. > > We are doing the following: > > * these files are being actively converted to the gambas "markdown" > > syntax. Very simple, but time consuming due to the number of them (~300) > > * trying to figure out the best way to build the "how-to" form. > > > > This last bit is what I am asking about. I am "wishing" that there is a > > really easy way to achieve the goals outlined above without having to > > re-invent the wheel so to speak. > > > > Any input will be (really) gratefully recieved. > > > > tia > > Bruce > > > > -- > > B Bruen > > > > > > ------------------------------------------------------------------------------ > > Open source business process management suite built on Java and Eclipse > > Turn processes into business applications with Bonita BPM Community Edition > > Quickly connect people, data, and systems into organized workflows > > Winner of BOSSIE, CODIE, OW2 and Gartner awards > > http://p.sf.net/sfu/Bonitasoft > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > -- > If you ask me if it can be done. The answer is YES, it can always be done. > The correct questions however are... What will it cost, and how long will > it take? > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- B Bruen From bbruen at ...2308... Sat Jul 5 23:34:49 2014 From: bbruen at ...2308... (B Bruen) Date: Sun, 6 Jul 2014 07:04:49 +0930 Subject: [Gambas-user] IDE Feature Request In-Reply-To: <539F0F0B.5010804@...1...> References: <20140616082222.fda1c22e2b429a50e47c080d@...2308...> <539F0F0B.5010804@...1...> Message-ID: <20140706070449.c4bbbd9df7d77e755b137464@...2308...> On Mon, 16 Jun 2014 17:36:43 +0200 Beno?t Minisini wrote: > Le 16/06/2014 00:52, B Bruen a ?crit : > > ( Don't see why I shouldn't join in :-) ) > > > > Would it be possible to lock source files the same as for forms? This > > would prevent me from changing the wrong class in a set of very > > similar classes. > > > > Oh,and while you're there - the reload button on the form toolbar > > seems to unlock a locked form! > > > > regards Bruce > > > > I didn't know that feature was used... I often have 3 or more projects open, either copying some code from one to another or refactoring one based on the newer or bettter code in another. Invariably, if I don't pay proper attention, I end up changing the wrong project's code. So locking class code would stop me making that mistake. > > I will change the way it works, so that every file can be locked. I will > simply use the file read authorization. Beno?t, Was this done yet? Not bumping, just wondering. > > Regards, > > -- > Beno?t Minisini > regards Bruce -- B Bruen From bbruen at ...2308... Sat Jul 5 23:49:58 2014 From: bbruen at ...2308... (B Bruen) Date: Sun, 6 Jul 2014 07:19:58 +0930 Subject: [Gambas-user] Sorting gridviews In-Reply-To: <20140625115142.GA971@...2774...> References: <20140625105616.edaa063abf068c443e4ae799@...2308...> <20140625115142.GA971@...2774...> Message-ID: <20140706071958.e8637df0dfe05e8332ec724c@...2308...> Hi Tobi, I too have implemented a similar approach to yours, but it is not what I was looking for. I am trying to implement a sort over multiple columns, like "ORDER BY ColA ASC, ColC DESC, ColB ASC" in an sql query. I just cannot get it right. In fact, I have now decided that the easiest way is to create a temporary Sqllite db, fill it with the columns of the array and let it do the sorting. Not an optimal solution but at least it works for the data sets we will be using it for. regards Bruce On Wed, 25 Jun 2014 13:51:42 +0200 Tobias Boege wrote: > On Wed, 25 Jun 2014, B Bruen wrote: > > Someone, recently, was discussing sorting gridviews over multiple columns. Tobi? > > > > Was any progress made on this? > > > > The project was finished some time ago. But likely the results will not > please you because the code is not very integrative. > > Basically, we model the GridView as an array of Record objects (the array is > the rows, a Record describes the columns in the GridView). By a special > RecordArray class which Inherits Record[] and a special _compare() method in > Record, we can sort that RecordArray by any property of the Record objects. > > So you must write a Record class for your specific purpose and have an array > of them behind the scenes to populate the GridView with. Maybe you can tweak > the code to be a bit more general... if you get it much more general, please > tell me :-) [ IIRC, we have a SortField property in each Record object which > we need to set for each object in the array before we sort. I think you can > replace that with a static property if you never sort multiple arrays at the > same time... ] > > The code for the GridView is here[0] and also here[1] in the more abstract > context of sorting multidimensional arrays. (The project archives are at the > end of the article.) > > Regards, > Tobi > > [0] http://www.gambas-buch.de/dw/doku.php?id=k17:k17.7:k17.7.4:start > [1] http://www.gambas-buch.de/dw/doku.php?id=k7:k7.4:k7.4.9:k7.4.9.4:start > > PS: I would prefer [1] over [0]. The code used in [0] was actually an early > try from me and it uses the officially not supported possibility to override > Variant[]. (Variant[] acts as both, a Record object and also as an array > class for Variant[] objects there!) > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- B Bruen From bbruen at ...2308... Sat Jul 5 23:51:29 2014 From: bbruen at ...2308... (B Bruen) Date: Sun, 6 Jul 2014 07:21:29 +0930 Subject: [Gambas-user] The Class keyword In-Reply-To: <20140627094206.GA823@...2774...> References: <20140627111112.6353a962ef2383e5d154d9b0@...2308...> <20140627094206.GA823@...2774...> Message-ID: <20140706072129.7384b6bf5aa6187ec4562880@...2308...> Ah, now I get it! Thanks Tobi B On Fri, 27 Jun 2014 11:42:06 +0200 Tobias Boege wrote: > On Fri, 27 Jun 2014, B Bruen wrote: > > As in : > > CLASS Identifier > > Declares to the compiler that Identifier can be used as a class name. > > > > I am unsure of what this keyword really achieves. Specifically, I am having trouble understanding the help paragraph: > > "This keyword can be useful if you want to write some optional code in a component that needs a class from a component that is not necessarily loaded by the main project using this component." > > > > Suppose you implement a Graph class in gb.data which uses an adjacency > matrix. So you have the normal graph stuff in the interface but also maybe > a Matrix property that is specific to the Graph implementation via an > adjacency matrix - and this property returns that matrix. > > This is actually useful because you may want to do arithmetic on this matrix > to find connected components, the number of triangles in the graph, etc.. > > However, you would want the datatype of the Matrix property to be the Matrix > class of gb.gsl or the like so that users can readily operate on it. But you > may also notice that some users don't really care about the matrix - they > just want *some* graph or adjacency matrices scale well in their application > - and are bothered by the dependency of gb.gsl you have just imposed. > > Therefore, leave gb.gsl out and use "Class Matrix" in your Graph class. > Those users who want to use the Matrix property will have to load gb.gsl > themselves and everyone is happy. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- B Bruen From bbruen at ...2308... Sun Jul 6 00:57:10 2014 From: bbruen at ...2308... (B Bruen) Date: Sun, 6 Jul 2014 08:27:10 +0930 Subject: [Gambas-user] RFC: How to identify vertices and edges in a Graph class? In-Reply-To: <20140704112341.GA522@...2774...> References: <20140704112341.GA522@...2774...> Message-ID: <20140706082710.601eea745cd8fee38e9a1bbb@...2308...> On Fri, 4 Jul 2014 13:23:41 +0200 Tobias Boege wrote: > Hi list, > > I'm currently (well, I'll try to continue with it tomorrow) implementing an > abstract Graph class in gb.data. And by "abstract", I mean that I will just > specify the interface of Graph classes, so that concrete implementations, of > which there are plenty possibilities, are varible behind that consistent > interface. (Of course, after the interface is there, you get at least two > concrete implementations delivered for free along with gb.data.) This should > encourage you to model your problems as your own customised Graph classes > and maybe you can then already solve them with a standard algorithm, like > Dijkstra. > ... Hi Tobi, Some thoughts. A directed graph is more fundamental than an undirected graph. Consider the simplest directed graph, an ordered list of two Vertices and one Edge. (I'll avoid integer idenitifcations for ease of explanation,) We have nodes "A" and "B" which are Vertices and node "ab" which is the edge. Node "ab" allows a traversal from "A" to "B", there is no traversal permissable from "B" to "A". In an undirected graph, the "ab" edge would somehow have to permit both the A->B traversal and the B->A traversal. However, this could be implemented as a graph type property where creating the "ab" edge also creates the reverse "ba" edge. The second point is somewhat more interesting. In the above I used the term "node" deliberately. Some of the more arcane bits of graph theory suggest or even require that Vertices and Edges are interchangeable. That is, any Vertice can be considered as an Edge and any Edge can be considered as a Vertice. To allow this, I think that there needs to be a "fundamental particle" approach to building a library such as yours. This is based on: "A graph is a set of Vertices each of which is connected to some number of other Vertices by a set of Edges" "A graph is a set of Edges, each of which is connected to some number of other Edges by a set of Vertices" Note, generally we think of an edge as something with a maximum of two connections, i.e. ends. But in fact mathematically and Edge could have any number of ends. That's hard to visualise using the normal "ball and string" image, but if you consider the edge "abc" as a ball with three (unterminated) strings "A","B" and "C" then it starts to become easier to imagine. So, I think that the ultimate interface requires some fundamental particle, lets call it a g-node. Internally the identifier of any g-node could as you say be an integer. But it also needs some human understandable "identity" such as I have used in these descriptions. Where does this get us? Going back to your example of deleting a Vertice and also considering the similar action of deleting an Edge. To delete a Vertice, we need to both remove all the edges originating at that Vertice and to delete or "de-terminate" all the edges that terminate at that Vertice. Deleting an edge involves "de-terminating" every vertice that is associated with that edge. > But what shall happen when you have vertices 1,2,3 and remove vertex 2? I presume that the set of g-nodes is {"1","2","3","1-2","2-3"} i.e. three vertices and two edges. "Remove" "2" involves deleting the second g-node and de-terminating the associated edges, i.e. the resultant set is {"1","3","1-",-3"} > Shall 3 become the new 2? >From {"1","3","1-",-3"} I presume you mean "If the B vertice in the graph A-B-C is removed then because the traversal A-C is specified then the graph should become A-C. In that case the dangling edges "1-" and "-3" should be converted to a single "1-3" edge, i.e. the set becomes {"1","3","1-3"}. This is a different action to that above, perhaps "Remove_with_snap". > Shall 2 be taken up by the next inserted vertex? >From {"1","3","1-",-3"} I presume you mean "If I then insert a new g-node ("4") then it should automatically pop into the graph where "2" used to be." I don't think so at all. > Shall it remain unused forever? Given the above, yes. Or in fact it has just disappeared. What about all those dangling edges? Well, given that mathematically an edge with only one end is feasible they can be left as is. If the particular application requires that edges must have (at least) two ends, then we need a method to "clean" the graph that would remove dangling edges. So ... Class g-node ' attempts to generalise any Vertice or Edge in a directed graph Property Key,Identifier as String Property Type As String ' validated "In ["V","E"] Property OriginatingAssociations As Array ' holds the list of g-nodes where this g-node is the origin Property TerminatingAssociations As Array ' holds the list of g-nodes where this g-node is the destination Class graph Property Nodes as Array ' holds the set of nodes in the graph Function Remove(Key as String) As graph ' remove a node and leave all associations dangling Function RemoveWithSnap(Key as String) as graph Function Clean() as graph etc Is this type of thinking consistent with yours? regards Bruce -- B Bruen From shanep1967 at ...169... Sun Jul 6 05:15:22 2014 From: shanep1967 at ...169... (Shane) Date: Sun, 06 Jul 2014 13:15:22 +1000 Subject: [Gambas-user] sdl mouse In-Reply-To: <53B51556.40902@...1...> References: <539EF066.8050209@...169...> <53B51556.40902@...1...> Message-ID: <53B8BF4A.7020909@...169...> Thanks Benoit that works really well as for a name maybe "Capture" On 03/07/14 18:33, Beno?t Minisini wrote: > Le 16/06/2014 15:25, Shane a ?crit : >> hi benoit would it be possible to include the ability to keep the mouse >> within the bounds of the sdl window >> >> thanks Shane >> > I have added a "Window.Grabbed" property in revision #6359 for that. > > Please test it and tell me if it works. And if you find a better name > for the property, you are welcome! I don't find "Grabbed" very nice... > > Regards, > From lists at ...2828... Fri Jul 4 11:11:21 2014 From: lists at ...2828... (CJ) Date: Fri, 4 Jul 2014 11:11:21 +0200 Subject: [Gambas-user] Get structure from extern function? In-Reply-To: <53B66D28.8050504@...1...> Message-ID: <000001cf9767$ee461630$0f00a8c0@...2829...> > You would help by using "gdb" to get the stack backtrace of > the crash. Thats probably a better start. Attached is result from gdb running "libtest2"... > Or better using "valgrind" to get more details. I have no experience with that but will install and read up on it later if needed, let me know... /CJ -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: gdb_output.txt URL: From gambas.fr at ...626... Sun Jul 6 11:56:48 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 6 Jul 2014 11:56:48 +0200 Subject: [Gambas-user] String array - problem with val In-Reply-To: <20140705192957.GB522@...2774...> References: <1404575863865-47278.post@...3046...> <20140705192957.GB522@...2774...> Message-ID: If you are sure to use point each time you convert with CFloat Le 5 juil. 2014 21:33, "Tobias Boege" a ?crit : > On Sat, 05 Jul 2014, kungfupanda wrote: > > Hi, > > > > I've a problem with conversion of a string array in integer. > > I'm using gb.chart to create a line graph with a lot of element (more > then > > 10.000 value). > > I read the value from a txt file and store all in a string[]. > > Now I'm trying to get every element of the string[] (with for each > element > > in.... function) and pass every value to Val(element). > > > > But the function val(element), in example Val("0.56") result in NULL. > > > > What's wrong ?? > > > > Val() uses the current locale to determine, like, the decimal separator. In > some countries you write 0.56 and in others it's 0,56. Do you live in such > a comma country? If yes, the solution is not to use Val() but CInt(). If > no, > then show us the code and (an excerpt of) the file you're reading. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From lists at ...2828... Fri Jul 4 15:48:10 2014 From: lists at ...2828... (CJ) Date: Fri, 4 Jul 2014 15:48:10 +0200 Subject: [Gambas-user] Get structure from extern function? In-Reply-To: Message-ID: <000001cf978e$9e3ecde0$0f00a8c0@...2829...> Thanks for the input Jussi! > I don't know the language, but shouldn't "Tripple := numberin * 3" be > "Tripple := numberin * 3;"? That would seem consistent. Good catch! In this particular Pascal code it doesn't really matter since it's the one and only line of code in that function but it's now corrected for consistency. Maybe it was a bit unclear before but the "Tripple" function works OK and I only included it to verify that the lib works as intended - at least that part - it's when calling "LIBVersion" trying to get the struct it crashes. > Also byte cannot hold values like 01, is just same as 1. Correct, guess I wrote 01 just out of habit, ie 1.01. Hopefully the gdb output will give Benoit etc. clues to whats happening. /CJ From lists at ...2828... Fri Jul 4 15:52:58 2014 From: lists at ...2828... (CJ) Date: Fri, 4 Jul 2014 15:52:58 +0200 Subject: [Gambas-user] Get structure from extern function? In-Reply-To: Message-ID: <000001cf978f$94f3d900$0f00a8c0@...2829...> Thanks for the input Jussi! > I don't know the language, but shouldn't "Tripple := numberin * 3" be > "Tripple := numberin * 3;"? That would seem consistent. Good catch! In this particular Pascal code it doesn't really matter since it's the one and only line of code in that function but it's now corrected for consistency. Maybe it was a bit unclear before but the "Tripple" function works OK and I only included it to verify that the lib works as intended - at least that part - it's when calling "LIBVersion" trying to get the struct it crashes. > Also byte cannot hold values like 01, is just same as 1. Correct, guess I wrote 01 just out of habit, ie 1.01. Hopefully the gdb output will give Benoit etc. clues to whats happening. /CJ From lists at ...2828... Fri Jul 4 07:56:32 2014 From: lists at ...2828... (CJ) Date: Fri, 4 Jul 2014 07:56:32 +0200 Subject: [Gambas-user] Get structure from extern function? Message-ID: <000001cf974c$b65053a0$0f00a8c0@...2829...> Sorry if this message appears twice on the list, had issues posting again... > Just do : > > Version = LIBVersion() Hmm, that crashes the Gambas interpreter with a Segmentation fault (11) message. /CJ From lists at ...2828... Fri Jul 4 08:22:29 2014 From: lists at ...2828... (CJ) Date: Fri, 4 Jul 2014 08:22:29 +0200 Subject: [Gambas-user] Get structure from extern function? In-Reply-To: <53B60522.6010505@...1...> Message-ID: <000101cf9750$588988a0$0f00a8c0@...2829...> > > I'm trying to receive a simple structure from a shared library but > > get an Type Mismatch error saying... > > > > "wanted StructVersion, got Function instead in FMain:87" > > > > You must put "()" after the identifier to call it as a function. Fabian and Beno?t, Unfortunately that crashes the Gambas interpreter with a Segmentation fault (11) message? If you are interesting to test yourself see my previous post to this list, it includes library and a simple testprogram. /CJ From lists at ...2828... Thu Jul 3 16:26:02 2014 From: lists at ...2828... (CJ) Date: Thu, 3 Jul 2014 16:26:02 +0200 Subject: [Gambas-user] Get structure from extern function? In-Reply-To: Message-ID: <000001cf96cb$c2a84990$0f00a8c0@...2829...> > Just do : > > Version = LIBVersion() Hmm, that crashes the Gambas interpreter with a Segmentation fault (11) message. /CJ From lists at ...2828... Thu Jul 3 17:19:28 2014 From: lists at ...2828... (CJ) Date: Thu, 3 Jul 2014 17:19:28 +0200 Subject: [Gambas-user] Get structure from extern function? In-Reply-To: Message-ID: <000001cf96d2$651f6a90$0f00a8c0@...2829...> > Just do : > > Version = LIBVersion() Hmm, that crashes the Gambas interpreter with a Segmentation fault (11) message. /CJ From lists at ...2828... Fri Jul 4 17:39:41 2014 From: lists at ...2828... (CJ) Date: Fri, 4 Jul 2014 17:39:41 +0200 Subject: [Gambas-user] Get structure from extern function? In-Reply-To: Message-ID: <000001cf979e$2fba7710$0f00a8c0@...2829...> Thanks for the input Jussi! > I don't know the language, but shouldn't "Tripple := numberin * 3" be > "Tripple := numberin * 3;"? That would seem consistent. Good catch! In this particular Pascal code it doesn't really matter since it's the one and only line of code in that function but it's now corrected for consistency. Maybe it was a bit unclear before but the "Tripple" function works OK and I only included it to verify that the lib works as intended - at least that part - it's when calling "LIBVersion" trying to get the struct it crashes. > Also byte cannot hold values like 01, is just same as 1. Correct, guess I wrote 01 just out of habit, i.e. 1.01. Hopefully the gdb output give clues to whats happening. /CJ From lists at ...2828... Fri Jul 4 01:58:01 2014 From: lists at ...2828... (CJ) Date: Fri, 4 Jul 2014 01:58:01 +0200 Subject: [Gambas-user] Get structure from extern function? Message-ID: <000001cf971a$a3e80730$0f00a8c0@...2829...> > Just do : > > Version = LIBVersion() Hmm, that crashes the Gambas interpreter with a Segmentation fault (11) message. /CJ From taboege at ...626... Sun Jul 6 16:48:47 2014 From: taboege at ...626... (Tobias Boege) Date: Sun, 6 Jul 2014 16:48:47 +0200 Subject: [Gambas-user] RFC: How to identify vertices and edges in a Graph class? In-Reply-To: <20140706082710.601eea745cd8fee38e9a1bbb@...2308...> References: <20140704112341.GA522@...2774...> <20140706082710.601eea745cd8fee38e9a1bbb@...2308...> Message-ID: <20140706144847.GA577@...2774...> On Sun, 06 Jul 2014, B Bruen wrote: > On Fri, 4 Jul 2014 13:23:41 +0200 > Tobias Boege wrote: > > > Hi list, > > > > I'm currently (well, I'll try to continue with it tomorrow) implementing an > > abstract Graph class in gb.data. And by "abstract", I mean that I will just > > specify the interface of Graph classes, so that concrete implementations, of > > which there are plenty possibilities, are varible behind that consistent > > interface. (Of course, after the interface is there, you get at least two > > concrete implementations delivered for free along with gb.data.) This should > > encourage you to model your problems as your own customised Graph classes > > and maybe you can then already solve them with a standard algorithm, like > > Dijkstra. > > ... > > Hi Tobi, > Some thoughts. > > A directed graph is more fundamental than an undirected graph. Consider the simplest directed graph, an ordered list of two Vertices and one Edge. (I'll avoid integer idenitifcations for ease of explanation,) We have nodes "A" and "B" which are Vertices and node "ab" which is the edge. Node "ab" allows a traversal from "A" to "B", there is no traversal permissable from "B" to "A". In an undirected graph, the "ab" edge would somehow have to permit both the A->B traversal and the B->A traversal. However, this could be implemented as a graph type property where creating the "ab" edge also creates the reverse "ba" edge. > That's what I was going to do. The Graph constructor will take an Optional Directed As Boolean. The implementation will need to worry about what this property effects. > The second point is somewhat more interesting. In the above I used the term "node" deliberately. Some of the more arcane bits of graph theory suggest or even require that Vertices and Edges are interchangeable. That is, any Vertice can be considered as an Edge and any Edge can be considered as a Vertice. To allow this, I think that there needs to be a "fundamental particle" approach to building a library such as yours. This is based on: > "A graph is a set of Vertices each of which is connected to some number of other Vertices by a set of Edges" > "A graph is a set of Edges, each of which is connected to some number of other Edges by a set of Vertices" > Note, generally we think of an edge as something with a maximum of two connections, i.e. ends. But in fact mathematically and Edge could have any number of ends. That's hard to visualise using the normal "ball and string" image, but if you consider the edge "abc" as a ball with three (unterminated) strings "A","B" and "C" then it starts to become easier to imagine. That's interesting! Can you put your definition mathematically? Or suggest a book which develops graph theory this way? I fear otherwise I won't get the idea. What I call a graph is a pair of sets (V, E) where V are the vertices and E is a subset of V times V. So in fact, an edge has exactly one end. It cannot have zero ends nor two (like your edges could). (How many beginnings do your edges support anyway?) Vertices and edges are well distinguished in the above definition. Could you give me a pointer on where one needs to have vertices and edges to be interchangeable? At this point, interpreting a vertex as an edge doesn't make any sense to me (whereas an edge as a vertex seems ok). Wikipedia calls an extension of a graph where edges can connect any number of vertices (apparently any *positive* number) a "hypergraph" and I would personally stick to that naming, i.e. implement a graph like I defined above as the class Graph and later a Hypergraph class for those who want to work with those. I don't think it would be a good idea to only implement Hypergraph and reduce Graph from it, be it just for performance reasons (to keep a single end point or a set of end points are two very different things when it comes to the implementation). > So, I think that the ultimate interface requires some fundamental particle, lets call it a g-node. Internally the identifier of any g-node could as you say be an integer. But it also needs some human understandable "identity" such as I have used in these descriptions. > Actually, the numbers were intended to be the human understandable identities :-) But OK, we could also drop the numbers entirely (no need to have two different but equivalent and equivalently powerful indexing schemes, right?) and identify vertices by strings. > Where does this get us? Going back to your example of deleting a Vertice and also considering the similar action of deleting an Edge. To delete a Vertice, we need to both remove all the edges originating at that Vertice and to delete or "de-terminate" all the edges that terminate at that Vertice. Deleting an edge involves "de-terminating" every vertice that is associated with that edge. > > > But what shall happen when you have vertices 1,2,3 and remove vertex 2? > I presume that the set of g-nodes is {"1","2","3","1-2","2-3"} i.e. three vertices and two edges. "Remove" "2" involves deleting the second g-node and de-terminating the associated edges, i.e. the resultant set is {"1","3","1-",-3"} > > Shall 3 become the new 2? > From {"1","3","1-",-3"} I presume you mean "If the B vertice in the graph A-B-C is removed then because the traversal A-C is specified then the graph should become A-C. In that case the dangling edges "1-" and "-3" should be converted to a single "1-3" edge, i.e. the set becomes {"1","3","1-3"}. This is a different action to that above, perhaps "Remove_with_snap". Wait, wait, wait. Basing on my definition of a graph above, I call a "path" a k-tuple of edges (e_1, e_2, ..., e_k) where the end point of e_i is the beginning of e_{i+1} for i=1,...,k-1. Do you say that in your graph, my paths can also be your edges? Because A-B-C would be a path and you treat it like it would be a single g-node. My question "Shall 3 become the new 2" was actually meant a lot more low-level: if we identify vertices with numbers, what happens if one of those numbers is deleted? The options would be: it acts like an array, i.e. the greater numbers are shifted down, so that the vertex which was addressed by 3 before the removal will now be addressed as 2. Or it acts like a Collection, i.e. once an ID is chosen for a vertex, it will never change (unless explicitly requested by an operation on that particular vertex). > > Shall 2 be taken up by the next inserted vertex? > From {"1","3","1-",-3"} I presume you mean "If I then insert a new g-node ("4") then it should automatically pop into the graph where "2" used to be." I don't think so at all. > > Shall it remain unused forever? > Given the above, yes. Or in fact it has just disappeared. > > What about all those dangling edges? Well, given that mathematically an edge with only one end is feasible they can be left as is. If the particular application requires that edges must have (at least) two ends, then we need a method to "clean" the graph that would remove dangling edges. > > So ... > > Class g-node ' attempts to generalise any Vertice or Edge in a directed graph > Property Key,Identifier as String > Property Type As String ' validated "In ["V","E"] > Property OriginatingAssociations As Array ' holds the list of g-nodes where this g-node is the origin > Property TerminatingAssociations As Array ' holds the list of g-nodes where this g-node is the destination > > Class graph > Property Nodes as Array ' holds the set of nodes in the graph > Function Remove(Key as String) As graph ' remove a node and leave all associations dangling > Function RemoveWithSnap(Key as String) as graph > Function Clean() as graph > etc > > Is this type of thinking consistent with yours? > As I said, this g-node thing is not quite kosher to me because we developed graph theory differently; I haven't seen your way anywhere yet. Interesting though! A major practical problem in your above snippet is that you rely on Array. We want to avoid any use of arrays because they need all the objects pre- allocated. I explained (hopefully understandable?) how this can waste lots of memory if your graph is defined implicitly by other data. Very curious regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From riccardo.giudici at ...626... Sun Jul 6 18:53:16 2014 From: riccardo.giudici at ...626... (kungfupanda) Date: Sun, 6 Jul 2014 09:53:16 -0700 (PDT) Subject: [Gambas-user] String array - problem with val In-Reply-To: References: <1404575863865-47278.post@...3046...> <20140705192957.GB522@...2774...> Message-ID: <1404665596990-47298.post@...3046...> Thanks a lot I solve the problem....there are two empty ("") value in the string[] that produce the problem. Sorry! -- View this message in context: http://gambas.8142.n7.nabble.com/String-array-problem-with-val-tp47278p47298.html Sent from the gambas-user mailing list archive at Nabble.com. From rmorgan62 at ...626... Sun Jul 6 19:12:48 2014 From: rmorgan62 at ...626... (Randall Morgan) Date: Sun, 6 Jul 2014 11:12:48 -0600 Subject: [Gambas-user] RFC: How to identify vertices and edges in a Graph class? In-Reply-To: <20140706144847.GA577@...2774...> References: <20140704112341.GA522@...2774...> <20140706082710.601eea745cd8fee38e9a1bbb@...2308...> <20140706144847.GA577@...2774...> Message-ID: If I recall correctly: A vertex can be thought of as a corner while an edge is a line segment connecting to a vertex at both ends. Basically, a vertex is the point at either end of an edge. Every edge should have two vertex and a vertex may be shared by one or more edges. Anyone know differently? On Sun, Jul 6, 2014 at 8:48 AM, Tobias Boege wrote: > On Sun, 06 Jul 2014, B Bruen wrote: > > On Fri, 4 Jul 2014 13:23:41 +0200 > > Tobias Boege wrote: > > > > > Hi list, > > > > > > I'm currently (well, I'll try to continue with it tomorrow) > implementing an > > > abstract Graph class in gb.data. And by "abstract", I mean that I will > just > > > specify the interface of Graph classes, so that concrete > implementations, of > > > which there are plenty possibilities, are varible behind that > consistent > > > interface. (Of course, after the interface is there, you get at least > two > > > concrete implementations delivered for free along with gb.data.) This > should > > > encourage you to model your problems as your own customised Graph > classes > > > and maybe you can then already solve them with a standard algorithm, > like > > > Dijkstra. > > > ... > > > > Hi Tobi, > > Some thoughts. > > > > A directed graph is more fundamental than an undirected graph. Consider > the simplest directed graph, an ordered list of two Vertices and one Edge. > (I'll avoid integer idenitifcations for ease of explanation,) We have > nodes "A" and "B" which are Vertices and node "ab" which is the edge. Node > "ab" allows a traversal from "A" to "B", there is no traversal permissable > from "B" to "A". In an undirected graph, the "ab" edge would somehow have > to permit both the A->B traversal and the B->A traversal. However, this > could be implemented as a graph type property where creating the "ab" edge > also creates the reverse "ba" edge. > > > > That's what I was going to do. The Graph constructor will take an Optional > Directed As Boolean. The implementation will need to worry about what this > property effects. > > > The second point is somewhat more interesting. In the above I used the > term "node" deliberately. Some of the more arcane bits of graph theory > suggest or even require that Vertices and Edges are interchangeable. That > is, any Vertice can be considered as an Edge and any Edge can be considered > as a Vertice. To allow this, I think that there needs to be a "fundamental > particle" approach to building a library such as yours. This is based on: > > "A graph is a set of Vertices each of which is connected to some number > of other Vertices by a set of Edges" > > "A graph is a set of Edges, each of which is connected to some number of > other Edges by a set of Vertices" > > Note, generally we think of an edge as something with a maximum of two > connections, i.e. ends. But in fact mathematically and Edge could have any > number of ends. That's hard to visualise using the normal "ball and string" > image, but if you consider the edge "abc" as a ball with three > (unterminated) strings "A","B" and "C" then it starts to become easier to > imagine. > > That's interesting! Can you put your definition mathematically? Or suggest > a > book which develops graph theory this way? I fear otherwise I won't get the > idea. > > What I call a graph is a pair of sets (V, E) where V are the vertices and E > is a subset of V times V. So in fact, an edge has exactly one end. It > cannot > have zero ends nor two (like your edges could). (How many beginnings do > your > edges support anyway?) > > Vertices and edges are well distinguished in the above definition. Could > you > give me a pointer on where one needs to have vertices and edges to be > interchangeable? At this point, interpreting a vertex as an edge doesn't > make any sense to me (whereas an edge as a vertex seems ok). > > Wikipedia calls an extension of a graph where edges can connect any number > of vertices (apparently any *positive* number) a "hypergraph" and I would > personally stick to that naming, i.e. implement a graph like I defined > above > as the class Graph and later a Hypergraph class for those who want to work > with those. > > I don't think it would be a good idea to only implement Hypergraph and > reduce Graph from it, be it just for performance reasons (to keep a single > end point or a set of end points are two very different things when it > comes > to the implementation). > > > So, I think that the ultimate interface requires some fundamental > particle, lets call it a g-node. Internally the identifier of any g-node > could as you say be an integer. But it also needs some human > understandable "identity" such as I have used in these descriptions. > > > > Actually, the numbers were intended to be the human understandable > identities :-) But OK, we could also drop the numbers entirely (no > need to have two different but equivalent and equivalently powerful > indexing schemes, right?) and identify vertices by strings. > > > Where does this get us? Going back to your example of deleting a Vertice > and also considering the similar action of deleting an Edge. To delete a > Vertice, we need to both remove all the edges originating at that Vertice > and to delete or "de-terminate" all the edges that terminate at that > Vertice. Deleting an edge involves "de-terminating" every vertice that is > associated with that edge. > > > > > But what shall happen when you have vertices 1,2,3 and remove vertex 2? > > I presume that the set of g-nodes is {"1","2","3","1-2","2-3"} i.e. > three vertices and two edges. "Remove" "2" involves deleting the second > g-node and de-terminating the associated edges, i.e. the resultant set is > {"1","3","1-",-3"} > > > Shall 3 become the new 2? > > From {"1","3","1-",-3"} I presume you mean "If the B vertice in the > graph A-B-C is removed then because the traversal A-C is specified then > the graph should become A-C. In that case the dangling edges "1-" and "-3" > should be converted to a single "1-3" edge, i.e. the set becomes > {"1","3","1-3"}. This is a different action to that above, perhaps > "Remove_with_snap". > > Wait, wait, wait. > > Basing on my definition of a graph above, I call a "path" a k-tuple of > edges > (e_1, e_2, ..., e_k) where the end point of e_i is the beginning of e_{i+1} > for i=1,...,k-1. > > Do you say that in your graph, my paths can also be your edges? Because > A-B-C would be a path and you treat it like it would be a single g-node. > > My question "Shall 3 become the new 2" was actually meant a lot more > low-level: if we identify vertices with numbers, what happens if one of > those numbers is deleted? The options would be: it acts like an array, i.e. > the greater numbers are shifted down, so that the vertex which was > addressed > by 3 before the removal will now be addressed as 2. Or it acts like a > Collection, i.e. once an ID is chosen for a vertex, it will never change > (unless explicitly requested by an operation on that particular vertex). > > > > Shall 2 be taken up by the next inserted vertex? > > From {"1","3","1-",-3"} I presume you mean "If I then insert a new > g-node ("4") then it should automatically pop into the graph where "2" used > to be." I don't think so at all. > > > Shall it remain unused forever? > > Given the above, yes. Or in fact it has just disappeared. > > > > What about all those dangling edges? Well, given that mathematically an > edge with only one end is feasible they can be left as is. If the > particular application requires that edges must have (at least) two ends, > then we need a method to "clean" the graph that would remove dangling edges. > > > > So ... > > > > Class g-node ' > attempts to generalise any Vertice or Edge in a directed graph > > Property Key,Identifier as String > > Property Type As String ' validated > "In ["V","E"] > > Property OriginatingAssociations As Array ' holds the list of > g-nodes where this g-node is the origin > > Property TerminatingAssociations As Array ' holds the list of g-nodes > where this g-node is the destination > > > > Class graph > > Property Nodes as Array ' holds the set > of nodes in the graph > > Function Remove(Key as String) As graph ' remove a node and leave all > associations dangling > > Function RemoveWithSnap(Key as String) as graph > > Function Clean() as graph > > etc > > > > Is this type of thinking consistent with yours? > > > > As I said, this g-node thing is not quite kosher to me because we developed > graph theory differently; I haven't seen your way anywhere yet. Interesting > though! > > A major practical problem in your above snippet is that you rely on Array. > We want to avoid any use of arrays because they need all the objects pre- > allocated. I explained (hopefully understandable?) how this can waste lots > of memory if your graph is defined implicitly by other data. > > Very curious regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From rmorgan62 at ...626... Sun Jul 6 19:28:57 2014 From: rmorgan62 at ...626... (Randall Morgan) Date: Sun, 6 Jul 2014 11:28:57 -0600 Subject: [Gambas-user] RFC: How to identify vertices and edges in a Graph class? In-Reply-To: References: <20140704112341.GA522@...2774...> <20140706082710.601eea745cd8fee38e9a1bbb@...2308...> <20140706144847.GA577@...2774...> Message-ID: Found this: http://www.mathsisfun.com/geometry/vertices-faces-edges.html On Sun, Jul 6, 2014 at 11:12 AM, Randall Morgan wrote: > If I recall correctly: > > A vertex can be thought of as a corner while an edge is a line segment > connecting to a vertex at both ends. Basically, a vertex is the point at > either end of an edge. Every edge should have two vertex and a vertex may > be shared by one or more edges. > > Anyone know differently? > > > > > On Sun, Jul 6, 2014 at 8:48 AM, Tobias Boege wrote: > >> On Sun, 06 Jul 2014, B Bruen wrote: >> > On Fri, 4 Jul 2014 13:23:41 +0200 >> > Tobias Boege wrote: >> > >> > > Hi list, >> > > >> > > I'm currently (well, I'll try to continue with it tomorrow) >> implementing an >> > > abstract Graph class in gb.data. And by "abstract", I mean that I >> will just >> > > specify the interface of Graph classes, so that concrete >> implementations, of >> > > which there are plenty possibilities, are varible behind that >> consistent >> > > interface. (Of course, after the interface is there, you get at least >> two >> > > concrete implementations delivered for free along with gb.data.) This >> should >> > > encourage you to model your problems as your own customised Graph >> classes >> > > and maybe you can then already solve them with a standard algorithm, >> like >> > > Dijkstra. >> > > ... >> > >> > Hi Tobi, >> > Some thoughts. >> > >> > A directed graph is more fundamental than an undirected graph. >> Consider the simplest directed graph, an ordered list of two Vertices and >> one Edge. (I'll avoid integer idenitifcations for ease of explanation,) We >> have nodes "A" and "B" which are Vertices and node "ab" which is the edge. >> Node "ab" allows a traversal from "A" to "B", there is no traversal >> permissable from "B" to "A". In an undirected graph, the "ab" edge would >> somehow have to permit both the A->B traversal and the B->A traversal. >> However, this could be implemented as a graph type property where creating >> the "ab" edge also creates the reverse "ba" edge. >> > >> >> That's what I was going to do. The Graph constructor will take an Optional >> Directed As Boolean. The implementation will need to worry about what this >> property effects. >> >> > The second point is somewhat more interesting. In the above I used the >> term "node" deliberately. Some of the more arcane bits of graph theory >> suggest or even require that Vertices and Edges are interchangeable. That >> is, any Vertice can be considered as an Edge and any Edge can be considered >> as a Vertice. To allow this, I think that there needs to be a "fundamental >> particle" approach to building a library such as yours. This is based on: >> > "A graph is a set of Vertices each of which is connected to some number >> of other Vertices by a set of Edges" >> > "A graph is a set of Edges, each of which is connected to some number >> of other Edges by a set of Vertices" >> > Note, generally we think of an edge as something with a maximum of two >> connections, i.e. ends. But in fact mathematically and Edge could have any >> number of ends. That's hard to visualise using the normal "ball and string" >> image, but if you consider the edge "abc" as a ball with three >> (unterminated) strings "A","B" and "C" then it starts to become easier to >> imagine. >> >> That's interesting! Can you put your definition mathematically? Or >> suggest a >> book which develops graph theory this way? I fear otherwise I won't get >> the >> idea. >> >> What I call a graph is a pair of sets (V, E) where V are the vertices and >> E >> is a subset of V times V. So in fact, an edge has exactly one end. It >> cannot >> have zero ends nor two (like your edges could). (How many beginnings do >> your >> edges support anyway?) >> >> Vertices and edges are well distinguished in the above definition. Could >> you >> give me a pointer on where one needs to have vertices and edges to be >> interchangeable? At this point, interpreting a vertex as an edge doesn't >> make any sense to me (whereas an edge as a vertex seems ok). >> >> Wikipedia calls an extension of a graph where edges can connect any number >> of vertices (apparently any *positive* number) a "hypergraph" and I would >> personally stick to that naming, i.e. implement a graph like I defined >> above >> as the class Graph and later a Hypergraph class for those who want to work >> with those. >> >> I don't think it would be a good idea to only implement Hypergraph and >> reduce Graph from it, be it just for performance reasons (to keep a single >> end point or a set of end points are two very different things when it >> comes >> to the implementation). >> >> > So, I think that the ultimate interface requires some fundamental >> particle, lets call it a g-node. Internally the identifier of any g-node >> could as you say be an integer. But it also needs some human >> understandable "identity" such as I have used in these descriptions. >> > >> >> Actually, the numbers were intended to be the human understandable >> identities :-) But OK, we could also drop the numbers entirely (no >> need to have two different but equivalent and equivalently powerful >> indexing schemes, right?) and identify vertices by strings. >> >> > Where does this get us? Going back to your example of deleting a >> Vertice and also considering the similar action of deleting an Edge. To >> delete a Vertice, we need to both remove all the edges originating at that >> Vertice and to delete or "de-terminate" all the edges that terminate at >> that Vertice. Deleting an edge involves "de-terminating" every vertice >> that is associated with that edge. >> > >> > > But what shall happen when you have vertices 1,2,3 and remove vertex >> 2? >> > I presume that the set of g-nodes is {"1","2","3","1-2","2-3"} i.e. >> three vertices and two edges. "Remove" "2" involves deleting the second >> g-node and de-terminating the associated edges, i.e. the resultant set is >> {"1","3","1-",-3"} >> > > Shall 3 become the new 2? >> > From {"1","3","1-",-3"} I presume you mean "If the B vertice in the >> graph A-B-C is removed then because the traversal A-C is specified then >> the graph should become A-C. In that case the dangling edges "1-" and "-3" >> should be converted to a single "1-3" edge, i.e. the set becomes >> {"1","3","1-3"}. This is a different action to that above, perhaps >> "Remove_with_snap". >> >> Wait, wait, wait. >> >> Basing on my definition of a graph above, I call a "path" a k-tuple of >> edges >> (e_1, e_2, ..., e_k) where the end point of e_i is the beginning of >> e_{i+1} >> for i=1,...,k-1. >> >> Do you say that in your graph, my paths can also be your edges? Because >> A-B-C would be a path and you treat it like it would be a single g-node. >> >> My question "Shall 3 become the new 2" was actually meant a lot more >> low-level: if we identify vertices with numbers, what happens if one of >> those numbers is deleted? The options would be: it acts like an array, >> i.e. >> the greater numbers are shifted down, so that the vertex which was >> addressed >> by 3 before the removal will now be addressed as 2. Or it acts like a >> Collection, i.e. once an ID is chosen for a vertex, it will never change >> (unless explicitly requested by an operation on that particular vertex). >> >> > > Shall 2 be taken up by the next inserted vertex? >> > From {"1","3","1-",-3"} I presume you mean "If I then insert a new >> g-node ("4") then it should automatically pop into the graph where "2" used >> to be." I don't think so at all. >> > > Shall it remain unused forever? >> > Given the above, yes. Or in fact it has just disappeared. >> > >> > What about all those dangling edges? Well, given that mathematically an >> edge with only one end is feasible they can be left as is. If the >> particular application requires that edges must have (at least) two ends, >> then we need a method to "clean" the graph that would remove dangling edges. >> > >> > So ... >> > >> > Class g-node ' >> attempts to generalise any Vertice or Edge in a directed graph >> > Property Key,Identifier as String >> > Property Type As String ' validated >> "In ["V","E"] >> > Property OriginatingAssociations As Array ' holds the list of >> g-nodes where this g-node is the origin >> > Property TerminatingAssociations As Array ' holds the list of >> g-nodes where this g-node is the destination >> > >> > Class graph >> > Property Nodes as Array ' holds the set >> of nodes in the graph >> > Function Remove(Key as String) As graph ' remove a node and leave >> all associations dangling >> > Function RemoveWithSnap(Key as String) as graph >> > Function Clean() as graph >> > etc >> > >> > Is this type of thinking consistent with yours? >> > >> >> As I said, this g-node thing is not quite kosher to me because we >> developed >> graph theory differently; I haven't seen your way anywhere yet. >> Interesting >> though! >> >> A major practical problem in your above snippet is that you rely on Array. >> We want to avoid any use of arrays because they need all the objects pre- >> allocated. I explained (hopefully understandable?) how this can waste lots >> of memory if your graph is defined implicitly by other data. >> >> Very curious regards, >> Tobi >> >> -- >> "There's an old saying: Don't change anything... ever!" -- Mr. Monk >> >> >> ------------------------------------------------------------------------------ >> Open source business process management suite built on Java and Eclipse >> Turn processes into business applications with Bonita BPM Community >> Edition >> Quickly connect people, data, and systems into organized workflows >> Winner of BOSSIE, CODIE, OW2 and Gartner awards >> http://p.sf.net/sfu/Bonitasoft >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > > -- > If you ask me if it can be done. The answer is YES, it can always be done. > The correct questions however are... What will it cost, and how long will > it take? > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From gambas at ...1... Sun Jul 6 20:21:33 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 06 Jul 2014 20:21:33 +0200 Subject: [Gambas-user] Release of Gambas 3.5.4 Message-ID: <53B993AD.2020701@...1...> Hi, Gambas 3.5.4 has been officially released! You can download it and get all the information from the website as usual. Please report any problem, and enjoy it! -- Beno?t Minisini From epost at ...3323... Sun Jul 6 20:21:39 2014 From: epost at ...3323... (=?ISO-8859-1?Q?J=F8rn_Erik_M=F8rne?=) Date: Sun, 06 Jul 2014 20:21:39 +0200 Subject: [Gambas-user] Discourse? Message-ID: <4674224.PjDVQSPGJN@...3354...> Hello guys! I'm not writing too often here, but I read most of what's going on through Nabble, and enjoy learning from the questions asked and the answers given. I am not sure about you, but to me the mailing list system seems a bit too ... what word to put? It just feels a bit like using your fist to get the nail in, when there's a hammer... I came across an open source rails mailinglist/board type of solution that looks really nice, and it could work really well for the Gambas mailing list.: http://www.discourse.org/ You can see it in action over at https://discourse.syncthing.net/ where I initially discovered it :) Just a suggestion! From dl7nb at ...17... Sun Jul 6 21:15:59 2014 From: dl7nb at ...17... (Wolfgang, dl7nb) Date: Sun, 06 Jul 2014 21:15:59 +0200 Subject: [Gambas-user] Release of Gambas 3.5.4 In-Reply-To: <53B993AD.2020701@...1...> References: <53B993AD.2020701@...1...> Message-ID: <53B9A06F.1060604@...17...> Thank you Beno?t! At the moment I can not see the 3.5.4. Still get the 3.5.3 no matter if I reload my packet definitions. I use Ubuntu 12.4 LTS. Think I give it a new try tomorrow... Wolfgang Am 06.07.2014 20:21, schrieb Beno?t Minisini: > Hi, > > Gambas 3.5.4 has been officially released! > > You can download it and get all the information from the website as usual. > > Please report any problem, and enjoy it! > From taboege at ...626... Sun Jul 6 21:56:52 2014 From: taboege at ...626... (Tobias Boege) Date: Sun, 6 Jul 2014 21:56:52 +0200 Subject: [Gambas-user] Release of Gambas 3.5.4 In-Reply-To: <53B9A06F.1060604@...17...> References: <53B993AD.2020701@...1...> <53B9A06F.1060604@...17...> Message-ID: <20140706195652.GB577@...2774...> On Sun, 06 Jul 2014, Wolfgang, dl7nb wrote: > Thank you Beno?t! > > At the moment I can not see the 3.5.4. Still get the 3.5.3 no matter if > I reload my packet definitions. > I use Ubuntu 12.4 LTS. Think I give it a new try tomorrow... > To clarify the situation: a new version just released by Benoit isn't immediately available in your specific distro's repositories. Packaging is done by other people and thus has some delay. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From Karl.Reinl at ...2345... Sun Jul 6 22:12:34 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 06 Jul 2014 22:12:34 +0200 Subject: [Gambas-user] Release of Gambas 3.5.4 In-Reply-To: <20140706195652.GB577@...2774...> References: <53B993AD.2020701@...1...> <53B9A06F.1060604@...17...> <20140706195652.GB577@...2774...> Message-ID: <1404677554.5654.2.camel@...40...> Am Sonntag, den 06.07.2014, 21:56 +0200 schrieb Tobias Boege: > On Sun, 06 Jul 2014, Wolfgang, dl7nb wrote: > > Thank you Beno?t! > > > > At the moment I can not see the 3.5.4. Still get the 3.5.3 no matter if > > I reload my packet definitions. > > I use Ubuntu 12.4 LTS. Think I give it a new try tomorrow... > > > > To clarify the situation: a new version just released by Benoit isn't > immediately available in your specific distro's repositories. Packaging is > done by other people and thus has some delay. > > Regards, > Tobi > Salut, Beno?t has not set up the page on the shrine. just try : http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.5.4.tar.bz2/download You get a file, but I'v not tested if it is gambas3-3.5.4 -- Amicalement Charlie From dl7nb at ...17... Sun Jul 6 22:28:43 2014 From: dl7nb at ...17... (Wolfgang (DL7NB)) Date: Sun, 06 Jul 2014 22:28:43 +0200 Subject: [Gambas-user] Release of Gambas 3.5.4 In-Reply-To: <20140706195652.GB577@...2774...> References: <53B993AD.2020701@...1...> <53B9A06F.1060604@...17...> <20140706195652.GB577@...2774...> Message-ID: <6a297d7c-356f-4fb1-97b9-f07c270c728d@...2550...> Now, I see. Benoit always does such a excellent job, that I assumed that the repos were already there. I think I can wait a few days! ;-) Sorry for wasting your time! Wolfgang Tobias Boege schrieb: >On Sun, 06 Jul 2014, Wolfgang, dl7nb wrote: >> Thank you Beno?t! >> >> At the moment I can not see the 3.5.4. Still get the 3.5.3 no matter >if >> I reload my packet definitions. >> I use Ubuntu 12.4 LTS. Think I give it a new try tomorrow... >> > >To clarify the situation: a new version just released by Benoit isn't >immediately available in your specific distro's repositories. Packaging >is >done by other people and thus has some delay. > >Regards, >Tobi > >-- >"There's an old saying: Don't change anything... ever!" -- Mr. Monk > >------------------------------------------------------------------------------ >Open source business process management suite built on Java and Eclipse >Turn processes into business applications with Bonita BPM Community >Edition >Quickly connect people, data, and systems into organized workflows >Winner of BOSSIE, CODIE, OW2 and Gartner awards >http://p.sf.net/sfu/Bonitasoft >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sun Jul 6 23:01:36 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 06 Jul 2014 23:01:36 +0200 Subject: [Gambas-user] Release of Gambas 3.5.4 In-Reply-To: <1404677554.5654.2.camel@...40...> References: <53B993AD.2020701@...1...> <53B9A06F.1060604@...17...> <20140706195652.GB577@...2774...> <1404677554.5654.2.camel@...40...> Message-ID: <53B9B930.8070803@...1...> Le 06/07/2014 22:12, Charlie Reinl a ?crit : > Am Sonntag, den 06.07.2014, 21:56 +0200 schrieb Tobias Boege: >> On Sun, 06 Jul 2014, Wolfgang, dl7nb wrote: >>> Thank you Beno?t! >>> >>> At the moment I can not see the 3.5.4. Still get the 3.5.3 no matter if >>> I reload my packet definitions. >>> I use Ubuntu 12.4 LTS. Think I give it a new try tomorrow... >>> >> >> To clarify the situation: a new version just released by Benoit isn't >> immediately available in your specific distro's repositories. Packaging is >> done by other people and thus has some delay. >> >> Regards, >> Tobi >> > > Salut, > > Beno?t has not set up the page on the shrine. > > just try : > http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.5.4.tar.bz2/download > > You get a file, but I'v not tested if it is gambas3-3.5.4 > The website has been updated. Regards, -- Beno?t Minisini From sourceforge-raindog2 at ...94... Sun Jul 6 22:59:32 2014 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Sun, 06 Jul 2014 16:59:32 -0400 Subject: [Gambas-user] Discourse? In-Reply-To: <4674224.PjDVQSPGJN@...3354...> References: <4674224.PjDVQSPGJN@...3354...> Message-ID: <53B9B8B4.9000000@...94...> On 07/06/2014 02:21 PM, J?rn Erik M?rne wrote: > bit too ... what word to put? It just feels a bit like using your fist to get > the nail in, when there's a hammer... I came across an open source rails > mailinglist/board type of solution that looks really nice, and it could work > really well for the Gambas mailing list.: > http://www.discourse.org/ I see their pretty web interface, but nothing in their "About" or "FAQ" pages about its email list functionality, just that it was a replacement for mailing lists. I don't really do web forums, myself, and if I did, it would amount to having two separate accounts for Gambas since my sourceforge address is used for many other lists. Yes, mailing lists are 40-year-old technology. The reason technical people still are using them after 40 years is that they work and allow for easy archiving without depending on the benevolence of someone's web host. I would wager that most of us who post, and all of the main Gambas developers, are getting this through email clients and not through a web interface of any kind (unless it's web mail). Many people who use Gambas aren't going to be familiar with that because it's mostly VB6 users who are attracted to Gambas, and people coming from a Windows background don't tend to get mailing lists, listserv commands and the like. Those of us coming from a Unix background... do. Rob From iss_boss at ...770... Sun Jul 6 23:20:48 2014 From: iss_boss at ...770... (ISS Boss) Date: Sun, 06 Jul 2014 17:20:48 -0400 Subject: [Gambas-user] Discourse? In-Reply-To: <53B9B8B4.9000000@...94...> References: <4674224.PjDVQSPGJN@...3354...> <53B9B8B4.9000000@...94...> Message-ID: <53B9BDB0.30008@...770...> As Rob says, I get my email using Thunderbird (either on my Ubuntu machine or my Win7 machine) I haven't used a mailing list in a very long time. I like the interface I have now. Bill Rob Kudla wrote, On 07/06/2014 16:59: On 07/06/2014 02:21 PM, J??rn Erik M??rne wrote: bit too ... what word to put? It just feels a bit like using your fist to get the nail in, when there's a hammer... I came across an open source rails mailinglist/board type of solution that looks really nice, and it could work really well for the Gambas mailing list.: [1]http://www.discourse.org/ I see their pretty web interface, but nothing in their "About" or "FAQ" pages about its email list functionality, just that it was a replacement for mailing lists. I don't really do web forums, myself, and if I did, it would amount to having two separate accounts for Gambas since my sourceforge address is used for many other lists. Yes, mailing lists are 40-year-old technology. The reason technical people still are using them after 40 years is that they work and allow for easy archiving without depending on the benevolence of someone's web host. I would wager that most of us who post, and all of the main Gambas developers, are getting this through email clients and not through a web interface of any kind (unless it's web mail). Many people who use Gambas aren't going to be familiar with that because it's mostly VB6 users who are attracted to Gambas, and people coming from a Windows background don't tend to get mailing lists, listserv commands and the like. Those of us coming from a Unix background... do. Rob ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards [2]http://p.sf.net/sfu/Bonitasoft _______________________________________________ Gambas-user mailing list [3]Gambas-user at lists.sourceforge.net [4]https://lists.sourceforge.net/lists/listinfo/gambas-user References 1. http://www.discourse.org/ 2. http://p.sf.net/sfu/Bonitasoft 3. mailto:Gambas-user at lists.sourceforge.net 4. https://lists.sourceforge.net/lists/listinfo/gambas-user From taboege at ...626... Mon Jul 7 00:00:22 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 7 Jul 2014 00:00:22 +0200 Subject: [Gambas-user] Discourse? In-Reply-To: <53B9B8B4.9000000@...94...> References: <4674224.PjDVQSPGJN@...3354...> <53B9B8B4.9000000@...94...> Message-ID: <20140706220022.GC577@...2774...> On Sun, 06 Jul 2014, Rob Kudla wrote: > On 07/06/2014 02:21 PM, J?rn Erik M?rne wrote: > > bit too ... what word to put? It just feels a bit like using your fist to get > > the nail in, when there's a hammer... I came across an open source rails > > mailinglist/board type of solution that looks really nice, and it could work > > really well for the Gambas mailing list.: > > http://www.discourse.org/ > > I see their pretty web interface, but nothing in their "About" or "FAQ" > pages about its email list functionality, just that it was a replacement > for mailing lists. > That's what I thought, too. > I don't really do web forums, myself, and if I did, it > would amount to having two separate accounts for Gambas since my > sourceforge address is used for many other lists. Yes, mailing lists are > 40-year-old technology. The reason technical people still are using them > after 40 years is that they work and allow for easy archiving without > depending on the benevolence of someone's web host. > > I would wager that most of us who post, and all of the main Gambas > developers, are getting this through email clients and not through a web > interface of any kind (unless it's web mail). OK, now this thread makes sense to me! As I see it, it would be a pain to use this list from a web interface like nabble. Does anybody who seriously follows Gambas actually do that? If so, the only reason I can imagine is that they don't *know* about the option to register at SF and in this case there is something going wrong with the "getting started" pages for Gambas newbies. If this is not the problem you tried to metaphorise, then please be clearer as I don't see it. Really. The only bottleneck I experience when working through gambas-user is my own reading speed. I myself spent some good days to configure and macro-ify my mail client and to have proc- and fetchmail play nicely along with it and my mailing lists, so I'm grateful for every web interface I don't have to use. No unnecessary delays and virtually no superfluous actions to do (we'd had both with a board according to my limited experience) -- or what does the fist in your metaphor stand for? -- if you can teach your programs how to work well. And with a mailing list you can actually choose what programs to use and configure them according to your will. Sorry to react so sharply but no one gets between me and my mail system ;-) (Especially not at gambas-{user,devel} which I normally read entirely, and to do that, I got to be efficient.) Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bbruen at ...2308... Mon Jul 7 02:14:04 2014 From: bbruen at ...2308... (B Bruen) Date: Mon, 7 Jul 2014 09:44:04 +0930 Subject: [Gambas-user] RFC: How to identify vertices and edges in a Graph class? In-Reply-To: <20140706144847.GA577@...2774...> References: <20140704112341.GA522@...2774...> <20140706082710.601eea745cd8fee38e9a1bbb@...2308...> <20140706144847.GA577@...2774...> Message-ID: <20140707094404.fe34c94edf0d2d67a62bac9f@...2308...> On Sun, 6 Jul 2014 16:48:47 +0200 Tobias Boege wrote: > On Sun, 06 Jul 2014, B Bruen wrote: > > On Fri, 4 Jul 2014 13:23:41 +0200 > > Tobias Boege wrote: > > > > > Hi list, > > > > > > I'm currently (well, I'll try to continue with it tomorrow) implementing an > > > abstract Graph class in gb.data. And by "abstract", I mean that I will just > > > specify the interface of Graph classes, so that concrete implementations, of > > > which there are plenty possibilities, are varible behind that consistent > > > interface. (Of course, after the interface is there, you get at least two > > > concrete implementations delivered for free along with gb.data.) This should > > > encourage you to model your problems as your own customised Graph classes > > > and maybe you can then already solve them with a standard algorithm, like > > > Dijkstra. > > > ... > > > > Hi Tobi, > > Some thoughts. > > > > A directed graph is more fundamental than an undirected graph. Consider the simplest directed graph, an ordered list of two Vertices and one Edge. (I'll avoid integer idenitifcations for ease of explanation,) We have nodes "A" and "B" which are Vertices and node "ab" which is the edge. Node "ab" allows a traversal from "A" to "B", there is no traversal permissable from "B" to "A". In an undirected graph, the "ab" edge would somehow have to permit both the A->B traversal and the B->A traversal. However, this could be implemented as a graph type property where creating the "ab" edge also creates the reverse "ba" edge. > > > > That's what I was going to do. The Graph constructor will take an Optional > Directed As Boolean. The implementation will need to worry about what this > property effects. Indeed, my thoughts exactly. > > > The second point is somewhat more interesting. In the above I used the term "node" deliberately. Some of the more arcane bits of graph theory suggest or even require that Vertices and Edges are interchangeable. That is, any Vertice can be considered as an Edge and any Edge can be considered as a Vertice. To allow this, I think that there needs to be a "fundamental particle" approach to building a library such as yours. This is based on: > > "A graph is a set of Vertices each of which is connected to some number of other Vertices by a set of Edges" > > "A graph is a set of Edges, each of which is connected to some number of other Edges by a set of Vertices" > > Note, generally we think of an edge as something with a maximum of two connections, i.e. ends. But in fact mathematically and Edge could have any number of ends. That's hard to visualise using the normal "ball and string" image, but if you consider the edge "abc" as a ball with three (unterminated) strings "A","B" and "C" then it starts to become easier to imagine. > > That's interesting! Can you put your definition mathematically? Or suggest a > book which develops graph theory this way? I fear otherwise I won't get the > idea. It comes from the hypergraph ideas. See http://en.wikipedia.org/wiki/Hypergraph especially the second and third paragraphs. > > What I call a graph is a pair of sets (V, E) where V are the vertices and E > is a subset of V times V. So in fact, an edge has exactly one end. It cannot > have zero ends nor two (like your edges could). (How many beginnings do your > edges support anyway?) Bit unsure of what you mean here? I was using "end" to mean both the origin association(s) and the destination association(s). So to me an edge can only have >= 2 ends. However, any "end" could be "unfilled" i.e. there is no vertice on it. > > Vertices and edges are well distinguished in the above definition. Could you > give me a pointer on where one needs to have vertices and edges to be > interchangeable? At this point, interpreting a vertex as an edge doesn't > make any sense to me (whereas an edge as a vertex seems ok). Some information at http://en.wikipedia.org/wiki/Edge_graph > > Wikipedia calls an extension of a graph where edges can connect any number > of vertices (apparently any *positive* number) a "hypergraph" and I would > personally stick to that naming, i.e. implement a graph like I defined above > as the class Graph and later a Hypergraph class for those who want to work > with those. Ah! OK, I was thinking of the hypergraph as the basic structure and devolving (normal) graphs from that as a specialisation. > > I don't think it would be a good idea to only implement Hypergraph and > reduce Graph from it, be it just for performance reasons (to keep a single > end point or a set of end points are two very different things when it comes > to the implementation). Again, OK. > > > So, I think that the ultimate interface requires some fundamental particle, lets call it a g-node. Internally the identifier of any g-node could as you say be an integer. But it also needs some human understandable "identity" such as I have used in these descriptions. > > > > Actually, the numbers were intended to be the human understandable > identities :-) But OK, we could also drop the numbers entirely (no > need to have two different but equivalent and equivalently powerful > indexing schemes, right?) and identify vertices by strings. > > > Where does this get us? Going back to your example of deleting a Vertice and also considering the similar action of deleting an Edge. To delete a Vertice, we need to both remove all the edges originating at that Vertice and to delete or "de-terminate" all the edges that terminate at that Vertice. Deleting an edge involves "de-terminating" every vertice that is associated with that edge. > > > > > But what shall happen when you have vertices 1,2,3 and remove vertex 2? > > I presume that the set of g-nodes is {"1","2","3","1-2","2-3"} i.e. three vertices and two edges. "Remove" "2" involves deleting the second g-node and de-terminating the associated edges, i.e. the resultant set is {"1","3","1-",-3"} > > > Shall 3 become the new 2? > > From {"1","3","1-",-3"} I presume you mean "If the B vertice in the graph A-B-C is removed then because the traversal A-C is specified then the graph should become A-C. In that case the dangling edges "1-" and "-3" should be converted to a single "1-3" edge, i.e. the set becomes {"1","3","1-3"}. This is a different action to that above, perhaps "Remove_with_snap". > > Wait, wait, wait. > > Basing on my definition of a graph above, I call a "path" a k-tuple of edges > (e_1, e_2, ..., e_k) where the end point of e_i is the beginning of e_{i+1} > for i=1,...,k-1. > > Do you say that in your graph, my paths can also be your edges? Because > A-B-C would be a path and you treat it like it would be a single g-node. No I think a path is different from an edge. Perhaps nodes "A","B","C" connected by edges "ab" and "bc" could give rise to a path "A-B-C" (or "ab,bc" perhaps, in your k-tuple sense). > > My question "Shall 3 become the new 2" was actually meant a lot more > low-level: if we identify vertices with numbers, what happens if one of > those numbers is deleted? The options would be: it acts like an array, i.e. > the greater numbers are shifted down, so that the vertex which was addressed > by 3 before the removal will now be addressed as 2. Or it acts like a > Collection, i.e. once an ID is chosen for a vertex, it will never change > (unless explicitly requested by an operation on that particular vertex). > > > > Shall 2 be taken up by the next inserted vertex? > > From {"1","3","1-",-3"} I presume you mean "If I then insert a new g-node ("4") then it should automatically pop into the graph where "2" used to be." I don't think so at all. > > > Shall it remain unused forever? > > Given the above, yes. Or in fact it has just disappeared. > > > > What about all those dangling edges? Well, given that mathematically an edge with only one end is feasible they can be left as is. If the particular application requires that edges must have (at least) two ends, then we need a method to "clean" the graph that would remove dangling edges. > > > > So ... > > > > Class g-node ' attempts to generalise any Vertice or Edge in a directed graph > > Property Key,Identifier as String > > Property Type As String ' validated "In ["V","E"] > > Property OriginatingAssociations As Array ' holds the list of g-nodes where this g-node is the origin > > Property TerminatingAssociations As Array ' holds the list of g-nodes where this g-node is the destination > > > > Class graph > > Property Nodes as Array ' holds the set of nodes in the graph > > Function Remove(Key as String) As graph ' remove a node and leave all associations dangling > > Function RemoveWithSnap(Key as String) as graph > > Function Clean() as graph > > etc > > > > Is this type of thinking consistent with yours? > > > > As I said, this g-node thing is not quite kosher to me because we developed > graph theory differently; I haven't seen your way anywhere yet. Interesting > though! The g-node thing came from a conversation with a mathematician some years ago. It was a long discussion that could possibly be summarised as given G = (V, E) or G = ( {vertices}, {edges} ) thus G = ( V1, ... Vn, E1,...En ). Thus from the point of view of implementing a graph structure it could be done (again pseudocode) as Dim G as Variant[] or should we want a generalised graph object, (say to ensure it has both internal and external "identifier" properties) Dim G as g-node[] The g-node would be virtual and each instance would be either a Vertice or an Edge. It just gets away from having to delineate, in the graph class, between Vertices and Edges. > > A major practical problem in your above snippet is that you rely on Array. > We want to avoid any use of arrays because they need all the objects pre- > allocated. I explained (hopefully understandable?) how this can waste lots > of memory if your graph is defined implicitly by other data. It was meant as pseudo-code, sorry I should have made that obvious. > > Very curious regards, > Tobi > Again, all these are just thoughts. I am not trying to urge adoption. regards Bruce -- B Bruen From bbruen at ...2308... Mon Jul 7 02:18:37 2014 From: bbruen at ...2308... (B Bruen) Date: Mon, 7 Jul 2014 09:48:37 +0930 Subject: [Gambas-user] Discourse? In-Reply-To: <53B9BDB0.30008@...770...> References: <4674224.PjDVQSPGJN@...3354...> <53B9B8B4.9000000@...94...> <53B9BDB0.30008@...770...> Message-ID: <20140707094837.5806d198a50479ed596ac8b8@...2308...> Yes, me as well. It looks more like using a pantechnicon to go to the corner shop for a loaf of bread and a bottle of milk. :-) regards Bruce -- B Bruen From gambas.fr at ...626... Mon Jul 7 09:52:36 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 7 Jul 2014 09:52:36 +0200 Subject: [Gambas-user] Discourse? In-Reply-To: <20140707094837.5806d198a50479ed596ac8b8@...2308...> References: <4674224.PjDVQSPGJN@...3354...> <53B9B8B4.9000000@...94...> <53B9BDB0.30008@...770...> <20140707094837.5806d198a50479ed596ac8b8@...2308...> Message-ID: 2014-07-07 2:18 GMT+02:00 B Bruen : > Yes, me as well. It looks more like using a pantechnicon to go to the corner shop for a loaf of bread and a bottle of milk. :-) > Nice :-) !! The only interface i use is gmail ... because i want to access my mails everywhere at the same time i use both kmail and thunderbird on imap. Simple things are the best one. Today Iphone and android markets want to sold us big not usefull things... Remember that the same tools exist often since many many years. > regards > Bruce > -- > B Bruen > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From taboege at ...626... Mon Jul 7 10:51:51 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 7 Jul 2014 10:51:51 +0200 Subject: [Gambas-user] RFC: How to identify vertices and edges in a Graph class? In-Reply-To: <20140707094404.fe34c94edf0d2d67a62bac9f@...2308...> References: <20140704112341.GA522@...2774...> <20140706082710.601eea745cd8fee38e9a1bbb@...2308...> <20140706144847.GA577@...2774...> <20140707094404.fe34c94edf0d2d67a62bac9f@...2308...> Message-ID: <20140707085151.GA484@...2774...> On Mon, 07 Jul 2014, B Bruen wrote: > > As I said, this g-node thing is not quite kosher to me because we developed > > graph theory differently; I haven't seen your way anywhere yet. Interesting > > though! > The g-node thing came from a conversation with a mathematician some years ago. It was a long discussion that could possibly be summarised as given G = (V, E) or G = ( {vertices}, {edges} ) thus G = ( V1, ... Vn, E1,...En ). Thus from the point of view of implementing a graph structure it could be done (again pseudocode) as > Dim G as Variant[] > or should we want a generalised graph object, (say to ensure it has both internal and external "identifier" properties) > Dim G as g-node[] > The g-node would be virtual and each instance would be either a Vertice or an Edge. It just gets away from having to delineate, in the graph class, between Vertices and Edges. > The Wikipedia "Edge graph" article you gave me says there are algorithms to transform an edge graph into at least the connected parts of the original graph - if I understood it right. So we can convert (as far as we can expect it to work) between the "normal" graph and the edge graph for applications that need this perspective. Methinks most applications won't; and for the stuff I've seen so far, the simple graph definition suffices. This makes me want to defer this topic to a later point when we have at least one Graph class ready and can talk specifically about what it needs to do the conversion or implement "more arcane" graphs. > Again, all these are just thoughts. I am not trying to urge adoption. > It's fine. I wanted to know if I have overlooked any applications and there apparently are for the things you put forward. But I see no (easy) way to support them all in just a single Graph class (+ related classes). We keep these generalisations and advanced topics in mind but for now, one point I can and want readily apply is: in your opinion, it would be better to address vertices by Strings, in a human-readable form, not just integers, right? I'm still torn. I will make the Graph act like a Collection, i.e. once you have associated a value to an ID, that ID is not changed by other operations on the Graph. You had a point there; everything else hardly bearable for the programmer. However, I want to use Integers as IDs because they are easier to store and sort and abstract enough for the job. If you want to associate more human-readable names with your vertices, I think you can easily achieve it by having a Collection asscoaite your names with the numerical IDs. In fact that's what I'd do in the Graph internals if I was to offer String IDs. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From lists at ...2828... Mon Jul 7 11:33:35 2014 From: lists at ...2828... (CJ) Date: Mon, 7 Jul 2014 11:33:35 +0200 Subject: [Gambas-user] Release of Gambas 3.5.4 In-Reply-To: <53B993AD.2020701@...1...> Message-ID: <000001cf99c6$89139510$0f00a8c0@...2829...> > Gambas 3.5.4 has been officially released! > > You can download it and get all the information from the > website as usual. > > Please report any problem, and enjoy it! Thank you for your hard work and dedication to make Gambas 3 a hell of a Linux RAD and that goes to every Gambas team member involved! Also want to apologise for duplicate mails to the list from me, I don't know why I sometimes have big problems posting to this list? /CJ From epost at ...3323... Mon Jul 7 11:59:05 2014 From: epost at ...3323... (=?ISO-8859-1?Q?J=F8rn_Erik_M=F8rne?=) Date: Mon, 07 Jul 2014 11:59:05 +0200 Subject: [Gambas-user] Discourse? In-Reply-To: References: <4674224.PjDVQSPGJN@...3354...> <20140707094837.5806d198a50479ed596ac8b8@...2308...> Message-ID: <2326107.d9vTWNdSbI@...3356...> Haha, guys! :D I never knew your emotinal attachment to the mailing list system went so deep :) I shall not make such a foolish suggestion again! I will try to read on in KMail then, if you mean its better :) Enjoy the day! From john.aaron.rose at ...626... Mon Jul 7 16:22:43 2014 From: john.aaron.rose at ...626... (John Rose) Date: Mon, 07 Jul 2014 15:22:43 +0100 Subject: [Gambas-user] ec statement with parameters containing spaces Message-ID: <53BAAD33.6050804@...626...> I have this code: Print "mplex", "-f 8", "-o " & "'" & sCombinedPath & "'", "'" & sVideoPath & "'", "'" & sAudioPath & "'" Exec ["mplex", "-f 8", "-o " & "'" & sCombinedPath & "'", "'" & sVideoPath & "'", "'" & sAudioPath & "'"] To sOutput I'm using the single quotes since they are required when entering the equivalent commands in a Terminal e.g. mplex -f 8 -o '/home/john/Videos/q.mpg' '/home/john/Videos/The Story of Science_ Power, Proof____20140621_2000.m2v' '/home/john/Videos/The Story of Science_ Power, Proof____20140621_2000.mp2' The Print statement shows (at runtime): mplex -f 8 -o '/home/john/Videos/q.mpg' '/home/john/Videos/The Story of Science_ Power, Proof____20140621_2000.m2v' '/home/john/Videos/The Story of Science_ Power, Proof____20140621_2000.mp2' i.e. the exact equivalent of the working command when entered in a Terminal. However, the Exec statement does nothing at runtime. There is no feedback on why by Gambas. The above sOutput variable has the value "". What I am doing wrong? -- Regards, John From gambas at ...1... Mon Jul 7 16:39:52 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 07 Jul 2014 16:39:52 +0200 Subject: [Gambas-user] RFC: How to identify vertices and edges in a Graph class? In-Reply-To: <20140707085151.GA484@...2774...> References: <20140704112341.GA522@...2774...> <20140706082710.601eea745cd8fee38e9a1bbb@...2308...> <20140706144847.GA577@...2774...> <20140707094404.fe34c94edf0d2d67a62bac9f@...2308...> <20140707085151.GA484@...2774...> Message-ID: <53BAB138.5080207@...1...> Le 07/07/2014 10:51, Tobias Boege a ?crit : > > We keep these generalisations and advanced topics in mind but for now, one > point I can and want readily apply is: in your opinion, it would be better > to address vertices by Strings, in a human-readable form, not just integers, > right? I'm still torn. > > I will make the Graph act like a Collection, i.e. once you have associated a > value to an ID, that ID is not changed by other operations on the Graph. You > had a point there; everything else hardly bearable for the programmer. > However, I want to use Integers as IDs because they are easier to store and > sort and abstract enough for the job. > > If you want to associate more human-readable names with your vertices, I > think you can easily achieve it by having a Collection asscoaite your names > with the numerical IDs. In fact that's what I'd do in the Graph internals if > I was to offer String IDs. > > Regards, > Tobi > Internally, you have to use an hash table anyway, haven't you? You just don't want to necessarily use string keys, as they are heavier than integer keys? Anyway, you must use a Collection-like interface to access the graph nodes (to be consistent with the other Gambas containers). You can use integer keys with no problems, as later you can switch to string keys and keep the backward-compatibility. You can have both too : I mean having a Gambas hash table to reference nodes by names, and a special hash table using integer keys. A void hash table does not take a lot of memory. Regards, -- Beno?t Minisini From gambas at ...1... Mon Jul 7 16:40:55 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 07 Jul 2014 16:40:55 +0200 Subject: [Gambas-user] ec statement with parameters containing spaces In-Reply-To: <53BAAD33.6050804@...626...> References: <53BAAD33.6050804@...626...> Message-ID: <53BAB177.8090303@...1...> Le 07/07/2014 16:22, John Rose a ?crit : > I have this code: > Print "mplex", "-f 8", "-o " & "'" & sCombinedPath & "'", "'" & > sVideoPath & "'", "'" & sAudioPath & "'" > Exec ["mplex", "-f 8", "-o " & "'" & sCombinedPath & "'", "'" & > sVideoPath & "'", "'" & sAudioPath & "'"] To sOutput > I'm using the single quotes since they are required when entering the > equivalent commands in a Terminal e.g. mplex -f 8 -o > '/home/john/Videos/q.mpg' '/home/john/Videos/The Story of Science_ > Power, Proof____20140621_2000.m2v' '/home/john/Videos/The Story of > Science_ Power, Proof____20140621_2000.mp2' > > The Print statement shows (at runtime): > mplex -f 8 -o '/home/john/Videos/q.mpg' '/home/john/Videos/The > Story of Science_ Power, Proof____20140621_2000.m2v' > '/home/john/Videos/The Story of Science_ Power, Proof____20140621_2000.mp2' > i.e. the exact equivalent of the working command when entered in a Terminal. > > However, the Exec statement does nothing at runtime. There is no > feedback on why by Gambas. The above sOutput variable has the value "". > What I am doing wrong? > Just that EXEC does *NOT* use any terminal. So there is no quotes or any other bash syntax! -- Beno?t Minisini From taboege at ...626... Mon Jul 7 17:59:29 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 7 Jul 2014 17:59:29 +0200 Subject: [Gambas-user] RFC: How to identify vertices and edges in a Graph class? In-Reply-To: <53BAB138.5080207@...1...> References: <20140704112341.GA522@...2774...> <20140706082710.601eea745cd8fee38e9a1bbb@...2308...> <20140706144847.GA577@...2774...> <20140707094404.fe34c94edf0d2d67a62bac9f@...2308...> <20140707085151.GA484@...2774...> <53BAB138.5080207@...1...> Message-ID: <20140707155929.GD484@...2774...> On Mon, 07 Jul 2014, Beno?t Minisini wrote: > Le 07/07/2014 10:51, Tobias Boege a ?crit : > > > > We keep these generalisations and advanced topics in mind but for now, one > > point I can and want readily apply is: in your opinion, it would be better > > to address vertices by Strings, in a human-readable form, not just integers, > > right? I'm still torn. > > > > I will make the Graph act like a Collection, i.e. once you have associated a > > value to an ID, that ID is not changed by other operations on the Graph. You > > had a point there; everything else hardly bearable for the programmer. > > However, I want to use Integers as IDs because they are easier to store and > > sort and abstract enough for the job. > > > > If you want to associate more human-readable names with your vertices, I > > think you can easily achieve it by having a Collection asscoaite your names > > with the numerical IDs. In fact that's what I'd do in the Graph internals if > > I was to offer String IDs. > > > > Regards, > > Tobi > > > > Internally, you have to use an hash table anyway, haven't you? You just > don't want to necessarily use string keys, as they are heavier than > integer keys? > Oh! My thoughts were: I'll need a translation table for vertex IDs into internal indices (e.g. over an adjacency matrix) and to search for a mapping, that table must be sorted, so I have to compare a lot. That alone would actually be negligible overhead. And with a hash table, not even this problem arises. Thanks for doubting me :-) No problem to use String keys straight from the beginning. > Anyway, you must use a Collection-like interface to access the graph > nodes (to be consistent with the other Gambas containers). You can use > integer keys with no problems, as later you can switch to string keys > and keep the backward-compatibility. > > You can have both too : I mean having a Gambas hash table to reference > nodes by names, and a special hash table using integer keys. A void hash > table does not take a lot of memory. > How would I write the signature of _get() down in this case? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Mon Jul 7 18:26:58 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 07 Jul 2014 18:26:58 +0200 Subject: [Gambas-user] RFC: How to identify vertices and edges in a Graph class? In-Reply-To: <20140707155929.GD484@...2774...> References: <20140704112341.GA522@...2774...> <20140706082710.601eea745cd8fee38e9a1bbb@...2308...> <20140706144847.GA577@...2774...> <20140707094404.fe34c94edf0d2d67a62bac9f@...2308...> <20140707085151.GA484@...2774...> <53BAB138.5080207@...1...> <20140707155929.GD484@...2774...> Message-ID: <53BACA52.60200@...1...> Le 07/07/2014 17:59, Tobias Boege a ?crit : >> >> Internally, you have to use an hash table anyway, haven't you? You just >> don't want to necessarily use string keys, as they are heavier than >> integer keys? >> > > Oh! My thoughts were: I'll need a translation table for vertex IDs into > internal indices (e.g. over an adjacency matrix) and to search for a > mapping, that table must be sorted, so I have to compare a lot. That alone > would actually be negligible overhead. And with a hash table, not even > this problem arises. Thanks for doubting me :-) No problem to use String > keys straight from the beginning. > >> Anyway, you must use a Collection-like interface to access the graph >> nodes (to be consistent with the other Gambas containers). You can use >> integer keys with no problems, as later you can switch to string keys >> and keep the backward-compatibility. >> >> You can have both too : I mean having a Gambas hash table to reference >> nodes by names, and a special hash table using integer keys. A void hash >> table does not take a lot of memory. >> > > How would I write the signature of _get() down in this case? > For integer keys: _get(Index As Integer) As ... For string keys: _get(Index As String) As ... For both: _get(Index As Variant) As... -> That needs more work to check the index, and it is confusing, so forget the "both" case! -- Beno?t Minisini From taboege at ...626... Mon Jul 7 18:40:28 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 7 Jul 2014 18:40:28 +0200 Subject: [Gambas-user] RFC: How to identify vertices and edges in a Graph class? In-Reply-To: <53BACA52.60200@...1...> References: <20140704112341.GA522@...2774...> <20140706082710.601eea745cd8fee38e9a1bbb@...2308...> <20140706144847.GA577@...2774...> <20140707094404.fe34c94edf0d2d67a62bac9f@...2308...> <20140707085151.GA484@...2774...> <53BAB138.5080207@...1...> <20140707155929.GD484@...2774...> <53BACA52.60200@...1...> Message-ID: <20140707164028.GE484@...2774...> On Mon, 07 Jul 2014, Beno?t Minisini wrote: > Le 07/07/2014 17:59, Tobias Boege a ?crit : > >> > >> Internally, you have to use an hash table anyway, haven't you? You just > >> don't want to necessarily use string keys, as they are heavier than > >> integer keys? > >> > > > > Oh! My thoughts were: I'll need a translation table for vertex IDs into > > internal indices (e.g. over an adjacency matrix) and to search for a > > mapping, that table must be sorted, so I have to compare a lot. That alone > > would actually be negligible overhead. And with a hash table, not even > > this problem arises. Thanks for doubting me :-) No problem to use String > > keys straight from the beginning. > > > >> Anyway, you must use a Collection-like interface to access the graph > >> nodes (to be consistent with the other Gambas containers). You can use > >> integer keys with no problems, as later you can switch to string keys > >> and keep the backward-compatibility. > >> > >> You can have both too : I mean having a Gambas hash table to reference > >> nodes by names, and a special hash table using integer keys. A void hash > >> table does not take a lot of memory. > >> > > > > How would I write the signature of _get() down in this case? > > > > For integer keys: _get(Index As Integer) As ... > > For string keys: _get(Index As String) As ... > > For both: _get(Index As Variant) As... > -> That needs more work to check the index, and it is confusing, so > forget the "both" case! > Have you read my feature request mail for function overloading in Gambas 4? ;-) -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...2524... Mon Jul 7 21:07:03 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 07 Jul 2014 19:07:03 +0000 Subject: [Gambas-user] Issue 526 in gambas: Please create an AppData file for Gambas3 In-Reply-To: <1-6813199134517018827-84595539987633980-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-84595539987633980-gambas=googlecode.com@...2524...> <0-6813199134517018827-84595539987633980-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-84595539987633980-gambas=googlecode.com@...2524...> Comment #2 on issue 526 by ryanle... at ...626...: Please create an AppData file for Gambas3 http://code.google.com/p/gambas/issues/detail?id=526 I have created a sample appdata file for this that we are currently using in Fedora. Feel free to take it, add to it, and use it to solve this bug. The xml file itself is cc0 (public domain), so basically use it as you like. https://github.com/hughsie/fedora-appstream/blob/master/appdata-extra/desktop/gambas.appdata.xml -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From karl.reinl at ...9... Mon Jul 7 22:28:35 2014 From: karl.reinl at ...9... (Karl Reinl) Date: Mon, 07 Jul 2014 22:28:35 +0200 Subject: [Gambas-user] Printer.NumCopies not updated Message-ID: <1404764915.3452.3.camel@...40...> Salut Beno?t, Printer.NumCopies are not updated, after a change during Printer.Configure() -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: TestApp-0.0.6.tar.gz Type: application/x-compressed-tar Size: 5682 bytes Desc: not available URL: From riccardo.giudici at ...626... Mon Jul 7 23:18:46 2014 From: riccardo.giudici at ...626... (kungfupanda) Date: Mon, 7 Jul 2014 14:18:46 -0700 (PDT) Subject: [Gambas-user] Select Point on a Chart Message-ID: <1404767926575-47325.post@...3046...> Hi, This week I'm working with gb.chart component. It's very fine. I've a simple question, is there a method to get the value of a point with mouse click on a chart ? I'm able to find the position (X and Y) of "my click" on the scrollarea but it's different from the chart xy position because the dimension of scrollarea and the chart are different. Any idea? I try to obtain the difference in pixel between scrollarea and chart (chartX = ScrollAreaX-difference) but I think it's not the best way. thanks a lot -- View this message in context: http://gambas.8142.n7.nabble.com/Select-Point-on-a-Chart-tp47325.html Sent from the gambas-user mailing list archive at Nabble.com. From n.rogozarski at ...626... Mon Jul 7 23:25:28 2014 From: n.rogozarski at ...626... (Roki) Date: Mon, 07 Jul 2014 23:25:28 +0200 Subject: [Gambas-user] ReportGridView Message-ID: <53BB1048.8020501@...626...> Ok guys, has anyone used a ReportGridView or knows someone good example of how I use it ? It seems that is not the same as when used in the form. From gambas at ...2524... Tue Jul 8 00:04:04 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 07 Jul 2014 22:04:04 +0000 Subject: [Gambas-user] Issue 526 in gambas: Please create an AppData file for Gambas3 In-Reply-To: <2-6813199134517018827-84595539987633980-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-84595539987633980-gambas=googlecode.com@...2524...> <0-6813199134517018827-84595539987633980-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-84595539987633980-gambas=googlecode.com@...2524...> Updates: Status: Started Comment #3 on issue 526 by benoit.m... at ...626...: Please create an AppData file for Gambas3 http://code.google.com/p/gambas/issues/detail?id=526 Thanks. I like then bugs are solved that way, without me doing anything. :-) But now I need to install that file. Do you know if there is a way to do it in a distribution-independent way? -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From allegfede at ...626... Tue Jul 8 12:49:55 2014 From: allegfede at ...626... (Federico Allegretti) Date: Tue, 8 Jul 2014 12:49:55 +0200 Subject: [Gambas-user] datechooser bugged? Message-ID: No events could be used to code except *Change* and *Activate* .... all the list of events is useless ? i'll noticed because i need to prevent the user to change date if actual job scheduling was not saved in the db (i planned to use the 'stop event') ... but "click" event is not present for datechooser, nor mouse-down or mouse up ..... Any hint? Federico -- Open TV Architecture project: http://sourceforge.net/projects/otva/ Messagenet VOIP: 5338759 My blogs: http://altri-media.blogspot.com/ http://subbaqquerie.blogspot.com/ YouTube Channel: AllegFede VIMEO HD videos: http://www.vimeo.com/user1912745/videos From gambas.fr at ...626... Tue Jul 8 13:31:38 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 8 Jul 2014 13:31:38 +0200 Subject: [Gambas-user] ReportGridView In-Reply-To: <53BB1048.8020501@...626...> References: <53BB1048.8020501@...626...> Message-ID: Le 7 juil. 2014 23:26, "Roki" a ?crit : > > Ok guys, has anyone used a ReportGridView or knows someone good example > of how I use it ? > It seems that is not the same as when used in the form. It is not finished ... I ve a lot lot works on it > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas.fr at ...626... Tue Jul 8 13:33:22 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 8 Jul 2014 13:33:22 +0200 Subject: [Gambas-user] Select Point on a Chart In-Reply-To: <1404767926575-47325.post@...3046...> References: <1404767926575-47325.post@...3046...> Message-ID: I need to see if it is doable Le 7 juil. 2014 23:20, "kungfupanda" a ?crit : > Hi, > > This week I'm working with gb.chart component. It's very fine. I've a > simple > question, is there a method to get the value of a point with mouse click on > a chart ? > I'm able to find the position (X and Y) of "my click" on the scrollarea but > it's different from the chart xy position because the dimension of > scrollarea and the chart are different. > > Any idea? I try to obtain the difference in pixel between scrollarea and > chart (chartX = ScrollAreaX-difference) but I think it's not the best way. > > thanks a lot > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/Select-Point-on-a-Chart-tp47325.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Tue Jul 8 13:34:43 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 8 Jul 2014 13:34:43 +0200 Subject: [Gambas-user] Printer.NumCopies not updated In-Reply-To: <1404764915.3452.3.camel@...40...> References: <1404764915.3452.3.camel@...40...> Message-ID: In fact printer . Configure reset all the printer property Le 7 juil. 2014 22:29, "Karl Reinl" a ?crit : > Salut Beno?t, > > Printer.NumCopies are not updated, after a change during > Printer.Configure() > -- > Amicalement > Charlie > > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From gambas.fr at ...626... Tue Jul 8 13:36:49 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 8 Jul 2014 13:36:49 +0200 Subject: [Gambas-user] datechooser bugged? In-Reply-To: References: Message-ID: Why not simply set the enabled property of datexchooser to false ? Le 8 juil. 2014 12:51, "Federico Allegretti" a ?crit : > No events could be used to code except *Change* and *Activate* > .... all the list of events is useless ? > > i'll noticed because i need to prevent the user to change date if actual > job scheduling was not saved in the db (i planned to use the 'stop event') > ... but "click" event is not present for datechooser, nor mouse-down or > mouse up ..... > > Any hint? > > Federico > -- > Open TV Architecture project: http://sourceforge.net/projects/otva/ > > Messagenet VOIP: 5338759 > > My blogs: http://altri-media.blogspot.com/ > http://subbaqquerie.blogspot.com/ > > YouTube Channel: AllegFede > > VIMEO HD videos: http://www.vimeo.com/user1912745/videos > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bill-lancaster at ...2231... Tue Jul 8 14:23:16 2014 From: bill-lancaster at ...2231... (bill-lancaster) Date: Tue, 8 Jul 2014 05:23:16 -0700 (PDT) Subject: [Gambas-user] fit jpg into drawingarea Message-ID: <1404822196163-47333.post@...3046...> I thought I'd sorted this a long time ago but need some help. hImage = Image.Load("/home/xxx.jpg") '(the jpg file is a scan of an A4 document) Public Sub DrawingArea1_Draw() Draw.Image(hImage, 0, 0) End Whatever I try I can never fit the jpg image into the drawing area, this is the nearest I get:- Draw.Image(hImage, 0, 0, DrawingArea1.Width, DrawingArea1.Height) But the top of the image is missing. Where am I going wrong? -- View this message in context: http://gambas.8142.n7.nabble.com/fit-jpg-into-drawingarea-tp47333.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Tue Jul 8 14:31:23 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 08 Jul 2014 14:31:23 +0200 Subject: [Gambas-user] fit jpg into drawingarea In-Reply-To: <1404822196163-47333.post@...3046...> References: <1404822196163-47333.post@...3046...> Message-ID: <53BBE49B.4060800@...1...> Le 08/07/2014 14:23, bill-lancaster a ?crit : > I thought I'd sorted this a long time ago but need some help. > > hImage = Image.Load("/home/xxx.jpg") '(the jpg file is a scan of an A4 > document) > Public Sub DrawingArea1_Draw() > Draw.Image(hImage, 0, 0) > End > > Whatever I try I can never fit the jpg image into the drawing area, this is > the nearest I get:- > Draw.Image(hImage, 0, 0, DrawingArea1.Width, DrawingArea1.Height) > But the top of the image is missing. > > Where am I going wrong? > As usual, please post a project. -- Beno?t Minisini From taboege at ...626... Tue Jul 8 15:15:23 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 8 Jul 2014 15:15:23 +0200 Subject: [Gambas-user] datechooser bugged? In-Reply-To: References: Message-ID: <20140708131523.GB674@...2774...> On Tue, 08 Jul 2014, Federico Allegretti wrote: > No events could be used to code except *Change* and *Activate* > .... all the list of events is useless ? > > i'll noticed because i need to prevent the user to change date if actual > job scheduling was not saved in the db (i planned to use the 'stop event') > ... but "click" event is not present for datechooser, nor mouse-down or > mouse up ..... > > Any hint? > DateChooser is a compound UserControl, i.e. it contains lots of other stuff like Buttons, a SpinBox, a DrawingArea, etc.. It is itself the event observer of its children (as usual) so that it can process their events to function correctly. The programmer simply does not want to or cannot forward each MouseDown, etc. event from each of its child controls to you and the rationales are: it would be a great effort to do so, very unreadable and the only benefit is that you *could maybe* use these events to extend the control from the outside. However, you could also mess it all up by forcing things that the DateChooser does not support by its own.[*] The best is to look at the sources[0] for the events that are actually supported - or the documentation[1]: the implemented events are not italic. But what Fabien suggested, to use the Enabled property, should work in your case and personally I would find it more natural (what I can't use should look grey and do nothing, not look normal and do nothing for some reason). Regards, Tobi [0] http://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/comp/src/gb.form/.src/Date/DateChooser.class [1] http://gambaswiki.org/wiki/comp/gb.form/datechooser [*] A cruel hack which just came to my mind is: you can run through the Children array since actually a UserControl is a Container. For each child you can create an observer with the same event name as your DateChooser. You may need to do this process recursively if you hit another container. Then you should be able to process each MouseDown coming from inside the DateChooser. Not tested. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From lists at ...2828... Tue Jul 8 16:41:18 2014 From: lists at ...2828... (CJ) Date: Tue, 8 Jul 2014 16:41:18 +0200 Subject: [Gambas-user] Gambas 3.5.40 - Unable to compile gambas3 Message-ID: <000001cf9aba$b4fe8f50$0f00a8c0@...2829...> Tried to compile 3.5.40 from official tar-ball on Xubuntu 14.04 LTS but got the following error at "make install" step... ... || || Unable to compile gambas3 || ... Looking further up in logfile it complains about ... Installing the development environment... Compiling gambas3... gbc: error: Component not found: gb.desktop.x11 ... Any ideas? /CJ -------------- next part -------------- A non-text attachment was scrubbed... Name: log.zip Type: application/x-zip-compressed Size: 25230 bytes Desc: not available URL: From gambas at ...1... Tue Jul 8 18:31:31 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 08 Jul 2014 18:31:31 +0200 Subject: [Gambas-user] Gambas 3.5.40 - Unable to compile gambas3 In-Reply-To: <000001cf9aba$b4fe8f50$0f00a8c0@...2829...> References: <000001cf9aba$b4fe8f50$0f00a8c0@...2829...> Message-ID: <53BC1CE3.8050409@...1...> Le 08/07/2014 16:41, CJ a ?crit : > > Tried to compile 3.5.40 from official tar-ball on Xubuntu 14.04 LTS but got > the following error at "make install" step... > > ... > || > || Unable to compile gambas3 > || > ... > > Looking further up in logfile it complains about > > ... > Installing the development environment... > Compiling gambas3... > gbc: error: Component not found: gb.desktop.x11 > ... > > Any ideas? > > /CJ > A mistake. I have fixed the source package, you can download and compile it again. -- Beno?t Minisini From bill-lancaster at ...2231... Tue Jul 8 23:31:20 2014 From: bill-lancaster at ...2231... (bill-lancaster) Date: Tue, 8 Jul 2014 14:31:20 -0700 (PDT) Subject: [Gambas-user] fit jpg into drawingarea In-Reply-To: <53BBE49B.4060800@...1...> References: <1404822196163-47333.post@...3046...> <53BBE49B.4060800@...1...> Message-ID: <1404855080151-47338.post@...3046...> Thanks, please see attached. -- View this message in context: http://gambas.8142.n7.nabble.com/fit-jpg-into-drawingarea-tp47333p47338.html Sent from the gambas-user mailing list archive at Nabble.com. From bill-lancaster at ...2231... Tue Jul 8 23:32:29 2014 From: bill-lancaster at ...2231... (bill-lancaster) Date: Tue, 8 Jul 2014 14:32:29 -0700 (PDT) Subject: [Gambas-user] fit jpg into drawingarea In-Reply-To: <1404855080151-47338.post@...3046...> References: <1404822196163-47333.post@...3046...> <53BBE49B.4060800@...1...> <1404855080151-47338.post@...3046...> Message-ID: <1404855149388-47339.post@...3046...> -- View this message in context: http://gambas.8142.n7.nabble.com/fit-jpg-into-drawingarea-tp47333p47339.html Sent from the gambas-user mailing list archive at Nabble.com. From bill-lancaster at ...2231... Tue Jul 8 23:38:23 2014 From: bill-lancaster at ...2231... (bill-lancaster) Date: Tue, 8 Jul 2014 14:38:23 -0700 (PDT) Subject: [Gambas-user] fit jpg into drawingarea In-Reply-To: <53BBE49B.4060800@...1...> References: <1404822196163-47333.post@...3046...> <53BBE49B.4060800@...1...> Message-ID: <1404855503985-47340.post@...3046...> Thanks - please see attached a3-0.gz -- View this message in context: http://gambas.8142.n7.nabble.com/fit-jpg-into-drawingarea-tp47333p47340.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Wed Jul 9 00:02:21 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 09 Jul 2014 00:02:21 +0200 Subject: [Gambas-user] fit jpg into drawingarea In-Reply-To: <1404855503985-47340.post@...3046...> References: <1404822196163-47333.post@...3046...> <53BBE49B.4060800@...1...> <1404855503985-47340.post@...3046...> Message-ID: <53BC6A6D.8090909@...1...> Le 08/07/2014 23:38, bill-lancaster a ?crit : > Thanks - please see attached > a3-0.gz > Everything works as expected there. -- Beno?t Minisini From bbruen at ...2308... Wed Jul 9 01:48:57 2014 From: bbruen at ...2308... (B Bruen) Date: Wed, 9 Jul 2014 09:18:57 +0930 Subject: [Gambas-user] IDE Wish list: Stock popup to select an image for code insertion Message-ID: <20140709091857.d18fceec9c697618349af078@...2308...> I come up against this occasionally, so this is an "only if it's easy" wish. When working with class code and I want to insert a color value, it is very easy to do so using the "Insert Color" button on the class editor toolbar. Occasionally, again when working with the code, I want to insert a stock image. Now I realise that the auto-complete for Picture["icon:/... will provide a fairly easy way to achieve that. However, it sort of needs me to know beforehand the name of the icon that I want. So, my wish is for a class editor toolbutton (like "Insert Color") to insert the entire code (yes, I can usually manage not to remember that "icon:/ starter bit) that would popup a form like the form designer stock image selector and let me select the icon I want visually. As an example, today the icon I was looking for was Picture["icon:/22/sort-descent']. I did find it after a couple of up and down scrolls through the auto-completion listview. It did not occur to me that the name began with sort- :-( and it would have been much easier just to have that form designer stock image form showing the matrix of icons. Whatever you think. regards Bruce -- B Bruen From bill-lancaster at ...2231... Wed Jul 9 08:41:09 2014 From: bill-lancaster at ...2231... (bill-lancaster) Date: Tue, 8 Jul 2014 23:41:09 -0700 (PDT) Subject: [Gambas-user] fit jpg into drawingarea In-Reply-To: <53BC6A6D.8090909@...1...> References: <1404822196163-47333.post@...3046...> <53BBE49B.4060800@...1...> <1404855503985-47340.post@...3046...> <53BC6A6D.8090909@...1...> Message-ID: <1404888069542-47343.post@...3046...> Sorry, I wasn't displaying the whole of the drawingarea! -- View this message in context: http://gambas.8142.n7.nabble.com/fit-jpg-into-drawingarea-tp47333p47343.html Sent from the gambas-user mailing list archive at Nabble.com. From john.aaron.rose at ...626... Wed Jul 9 09:32:30 2014 From: john.aaron.rose at ...626... (John Rose) Date: Wed, 09 Jul 2014 08:32:30 +0100 Subject: [Gambas-user] Exec statement not working though equivalent Terminal command works Message-ID: <53BCF00E.2060408@...626...> I have this code: Print "mplex", "-f 8", "-o " & "'" & sCombinedPath & "'", "'" & sVideoPath & "'", "'" & sAudioPath & "'" Exec ["mplex", "-f 8", "-o " & "'" & sCombinedPath & "'", "'" & sVideoPath & "'", "'" & sAudioPath & "'"] To sOutput I'm using the single quotes since they are required when entering the equivalent commands in a Terminal e.g. mplex -f 8 -o '/home/john/Videos/q.mpg' '/home/john/Videos/The Story of Science_ Power, Proof____20140621_2000.m2v' '/home/john/Videos/The Story of Science_ Power, Proof____20140621_2000.mp2'. The Print statement shows (at runtime): mplex -f 8 -o '/home/john/Videos/q.mpg' '/home/john/Videos/The Story of Science_ Power, Proof____20140621_2000.m2v' '/home/john/Videos/The Story of Science_ Power, Proof____20140621_2000.mp2' i.e. the exact equivalent of the working command when entered in a Terminal. However, the Exec statement does nothing at runtime, though the equivalent Terminal command works. There is no feedback on why by Gambas. I've also tried the statements without the single quote usage & it also did nothing. I'm fairly sure that this used to work on the previous version of Gambas: I'm using kendek's Gambas3 ppa (https://code.launchpad.net/~nemh/+archive/ubuntu/gambas3) which installed Gambas 3.5.3. The code without the single quote usage is: Print "mplex", "-f 8", "-o " & sCombinedPath, sVideoPath, sAudioPath Exec ["mplex", "-f 8", "-o " sCombinedPath, sVideoPath, sAudioPath] To sOutput The above sOutput variable has the value "". What I am doing wrong or is it an issue in Gambas 3.5.3? -- Regards, John From gambas.fr at ...626... Wed Jul 9 10:02:12 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 9 Jul 2014 10:02:12 +0200 Subject: [Gambas-user] Exec statement not working though equivalent Terminal command works In-Reply-To: <53BCF00E.2060408@...626...> References: <53BCF00E.2060408@...626...> Message-ID: Exec ["mplex", "-f 8", "-o", "'" & sCombinedPath & "'", "'" & sVideoPath & "'", "'" & sAudioPath & "'"] Le 9 juil. 2014 09:33, "John Rose" a ?crit : > I have this code: > Print "mplex", "-f 8", "-o " & "'" & sCombinedPath & "'", "'" & > sVideoPath & "'", "'" & sAudioPath & "'" > Exec ["mplex", "-f 8", "-o " & "'" & sCombinedPath & "'", "'" & > sVideoPath & "'", "'" & sAudioPath & "'"] To sOutput > I'm using the single quotes since they are required when entering the > equivalent commands in a Terminal e.g. mplex -f 8 -o > '/home/john/Videos/q.mpg' '/home/john/Videos/The Story of Science_ > Power, Proof____20140621_2000.m2v' '/home/john/Videos/The Story of > Science_ Power, Proof____20140621_2000.mp2'. > > The Print statement shows (at runtime): > mplex -f 8 -o '/home/john/Videos/q.mpg' '/home/john/Videos/The > Story of Science_ Power, Proof____20140621_2000.m2v' > '/home/john/Videos/The Story of Science_ Power, Proof____20140621_2000.mp2' > i.e. the exact equivalent of the working command when entered in a > Terminal. > > However, the Exec statement does nothing at runtime, though the > equivalent Terminal command works. There is no feedback on why by > Gambas. I've also tried the statements without the single quote usage & > it also did nothing. I'm fairly sure that this used to work on the > previous version of Gambas: I'm using kendek's Gambas3 ppa > (https://code.launchpad.net/~nemh/+archive/ubuntu/gambas3) which > installed Gambas 3.5.3. The code without the single quote usage is: > Print "mplex", "-f 8", "-o " & sCombinedPath, sVideoPath, sAudioPath > Exec ["mplex", "-f 8", "-o " sCombinedPath, sVideoPath, sAudioPath] > To sOutput > > The above sOutput variable has the value "". What I am doing wrong or is > it an issue in Gambas 3.5.3? > > -- > Regards, > John > > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Wed Jul 9 10:03:08 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 9 Jul 2014 10:03:08 +0200 Subject: [Gambas-user] Exec statement not working though equivalent Terminal command works In-Reply-To: <53BCF00E.2060408@...626...> References: <53BCF00E.2060408@...626...> Message-ID: Exec ["mplex", "-f 8", "-o", sCombinedPath , sVideoPath, sAudioPath] Le 9 juil. 2014 09:33, "John Rose" a ?crit : > I have this code: > Print "mplex", "-f 8", "-o " & "'" & sCombinedPath & "'", "'" & > sVideoPath & "'", "'" & sAudioPath & "'" > Exec ["mplex", "-f 8", "-o " & "'" & sCombinedPath & "'", "'" & > sVideoPath & "'", "'" & sAudioPath & "'"] To sOutput > I'm using the single quotes since they are required when entering the > equivalent commands in a Terminal e.g. mplex -f 8 -o > '/home/john/Videos/q.mpg' '/home/john/Videos/The Story of Science_ > Power, Proof____20140621_2000.m2v' '/home/john/Videos/The Story of > Science_ Power, Proof____20140621_2000.mp2'. > > The Print statement shows (at runtime): > mplex -f 8 -o '/home/john/Videos/q.mpg' '/home/john/Videos/The > Story of Science_ Power, Proof____20140621_2000.m2v' > '/home/john/Videos/The Story of Science_ Power, Proof____20140621_2000.mp2' > i.e. the exact equivalent of the working command when entered in a > Terminal. > > However, the Exec statement does nothing at runtime, though the > equivalent Terminal command works. There is no feedback on why by > Gambas. I've also tried the statements without the single quote usage & > it also did nothing. I'm fairly sure that this used to work on the > previous version of Gambas: I'm using kendek's Gambas3 ppa > (https://code.launchpad.net/~nemh/+archive/ubuntu/gambas3) which > installed Gambas 3.5.3. The code without the single quote usage is: > Print "mplex", "-f 8", "-o " & sCombinedPath, sVideoPath, sAudioPath > Exec ["mplex", "-f 8", "-o " sCombinedPath, sVideoPath, sAudioPath] > To sOutput > > The above sOutput variable has the value "". What I am doing wrong or is > it an issue in Gambas 3.5.3? > > -- > Regards, > John > > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From abbat.81 at ...787... Wed Jul 9 10:33:16 2014 From: abbat.81 at ...787... (abbat81) Date: Wed, 9 Jul 2014 01:33:16 -0700 (PDT) Subject: [Gambas-user] Array example Message-ID: <1404894796081-47347.post@...3046...> Hi help me with an array, please I heve a 2 column of data 2 - 12 4 - 13 5 - 11 8 - 18 How to use array. I need use For each in array to use: IF i = array[x, ?] THEN Print array[?, x] ' If I get 4 then print 13, if I get 2 - print 12 ..... Thanks in advance... -- View this message in context: http://gambas.8142.n7.nabble.com/Array-example-tp47347.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas.fr at ...626... Wed Jul 9 11:14:26 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 9 Jul 2014 11:14:26 +0200 Subject: [Gambas-user] Array example In-Reply-To: <1404894796081-47347.post@...3046...> References: <1404894796081-47347.post@...3046...> Message-ID: Well ... Use a collection for that Le 9 juil. 2014 10:50, "abbat81" a ?crit : > Hi > > help me with an array, please > > I heve a 2 column of data > > 2 - 12 > 4 - 13 > 5 - 11 > 8 - 18 > > How to use array. > > I need use For each in array to use: > > IF i = array[x, ?] THEN Print array[?, x] ' If I get 4 then print 13, if I > get 2 - print 12 ..... > > Thanks in advance... > > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/Array-example-tp47347.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Wed Jul 9 11:47:24 2014 From: taboege at ...626... (Tobias Boege) Date: Wed, 9 Jul 2014 11:47:24 +0200 Subject: [Gambas-user] Exec statement not working though equivalent Terminal command works In-Reply-To: <53BCF00E.2060408@...626...> References: <53BCF00E.2060408@...626...> Message-ID: <20140709094724.GA527@...2774...> On Wed, 09 Jul 2014, John Rose wrote: > I have this code: > Print "mplex", "-f 8", "-o " & "'" & sCombinedPath & "'", "'" & > sVideoPath & "'", "'" & sAudioPath & "'" > Exec ["mplex", "-f 8", "-o " & "'" & sCombinedPath & "'", "'" & > sVideoPath & "'", "'" & sAudioPath & "'"] To sOutput > I'm using the single quotes since they are required when entering the > equivalent commands in a Terminal e.g. mplex -f 8 -o > '/home/john/Videos/q.mpg' '/home/john/Videos/The Story of Science_ > Power, Proof____20140621_2000.m2v' '/home/john/Videos/The Story of > Science_ Power, Proof____20140621_2000.mp2'. > > The Print statement shows (at runtime): > mplex -f 8 -o '/home/john/Videos/q.mpg' '/home/john/Videos/The > Story of Science_ Power, Proof____20140621_2000.m2v' > '/home/john/Videos/The Story of Science_ Power, Proof____20140621_2000.mp2' > i.e. the exact equivalent of the working command when entered in a > Terminal. > > However, the Exec statement does nothing at runtime, though the > equivalent Terminal command works. There is no feedback on why by > Gambas. I've also tried the statements without the single quote usage & > it also did nothing. I'm fairly sure that this used to work on the > previous version of Gambas: I'm using kendek's Gambas3 ppa > (https://code.launchpad.net/~nemh/+archive/ubuntu/gambas3) which > installed Gambas 3.5.3. The code without the single quote usage is: > Print "mplex", "-f 8", "-o " & sCombinedPath, sVideoPath, sAudioPath > Exec ["mplex", "-f 8", "-o " sCombinedPath, sVideoPath, sAudioPath] > To sOutput > > The above sOutput variable has the value "". What I am doing wrong or is > it an issue in Gambas 3.5.3? > The fundamental thing to remember is: Exec is way not the terminal/shell. The shell needs you to quote your arguments in different manners so that it can see where actual spaces are and where spaces belong to, e.g., file names. The space is a control sequence for the shell - not for Exec! In Exec, you must not quote stuff because the data you give is literally transferred into the kernel. If you write Exec ["program", "'file name'"], the kernel will look for a file literally named 'file name', the apostrophes being part of that file name! Just make sure that each argument is in its own array element; that is enough for Exec. This applies also to "-f 8" where you put two arguments into one array element. You'll confuse the program's command line parser because it does not know the switch "-f 8", it just knows the switch "-f" which may be followed by an argument "8", a *distinct* argument. To sum up, I'm pretty sure your Exec line should be like: Exec ["mplex", "-f", "8", "-o", sCombinedPath, sVideoPath, sAudioPath] Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From lists at ...2828... Wed Jul 9 12:06:05 2014 From: lists at ...2828... (CJ) Date: Wed, 9 Jul 2014 12:06:05 +0200 Subject: [Gambas-user] Gambas 3.5.40 - Unable to compile gambas3 In-Reply-To: <53BC1CE3.8050409@...1...> Message-ID: <000001cf9b5d$68e90840$0f00a8c0@...2829...> > -----Original Message----- > From: Beno?t Minisini [mailto:gambas at ...1...] > Sent: Tuesday, July 08, 2014 6:32 PM > To: mailing list for gambas users > Subject: Re: [Gambas-user] Gambas 3.5.40 - Unable to compile gambas3 > > > Le 08/07/2014 16:41, CJ a ?crit : > > > > Tried to compile 3.5.40 from official tar-ball on Xubuntu > 14.04 LTS but got > > the following error at "make install" step... > > > > ... > > || > > || Unable to compile gambas3 > > || > > ... > > > > Looking further up in logfile it complains about > > > > ... > > Installing the development environment... > > Compiling gambas3... > > gbc: error: Component not found: gb.desktop.x11 > > ... > > > > Any ideas? > > > > /CJ > > > > A mistake. I have fixed the source package, you can download > and compile it again. Will do, thanks! /CJ From john.aaron.rose at ...626... Wed Jul 9 12:22:09 2014 From: john.aaron.rose at ...626... (John Rose) Date: Wed, 09 Jul 2014 11:22:09 +0100 Subject: [Gambas-user] Exec statement not working though equivalent Terminal command works Message-ID: <53BD17D1.5090201@...626...> Fabien, I've just tried your suggestion: Exec ["mplex", "-f 8", "-o", sCombinedPath , sVideoPath, sAudioPath] It works provided that none of the paths contains a space. What do I amend the command to allow for any/all of the paths containing a space? Also, I've found that if I code "TO sOutput" (or "To sOutput") on the end of your command that it does work (as documented at http://gambasdoc.org/help/lang/exec?v3): I needed it to store the Standard Output so that it can be displayed in a TextArea at completion of the running of the mplex command. Also, it halts the app until mplex is finished: which I want. I've attached the app's compressed source. The app tries to combine a .m2v (or other video file without sound) with a .mp2 (or other audio file) into a new .mp4 video file using the mplex CLI program. You can use any file with a .m2v suffix & any file with a .mp2 suffix for testing purposes. BTW I created the .m2v & .mp2 files from a .ts file (using the ProjectX app) which I created on a USB stick as a copy of the .ts file on my PVR's hard disk (using my PVR's software). As I said earlier the equivalent mplex command (including single quotes around the pathnames) run in a Terminal works. -- Regards, John -------------- next part -------------- A non-text attachment was scrubbed... Name: CombineAV.tar.gz Type: application/gzip Size: 12721 bytes Desc: not available URL: From wig at ...1809... Wed Jul 9 11:58:46 2014 From: wig at ...1809... (wig) Date: Wed, 09 Jul 2014 11:58:46 +0200 Subject: [Gambas-user] Array example In-Reply-To: <1404894796081-47347.post@...3046...> References: <1404894796081-47347.post@...3046...> Message-ID: <1754973.fC0JoWty73@...3222...> Make one array arrNumbers with 2 4 5 8 Make another array arrData with 12 13 11 18 Then look up the value in the first array (seems to be sorted) array count start at 0, so this is element number 1 i = arrNumbers.Find(4) ' find value 4 print i 1 and use the found index to take the element from the second array. print arrData[i] 13 Hope that helps somehow. WiG. On Wednesday 09 July 2014 01:33:16 abbat81 wrote: > Hi > > help me with an array, please > > I heve a 2 column of data > > 2 - 12 > 4 - 13 > 5 - 11 > 8 - 18 > > How to use array. > > I need use For each in array to use: > > IF i = array[x, ?] THEN Print array[?, x] ' If I get 4 then print 13, if I > get 2 - print 12 ..... > > Thanks in advance... > > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/Array-example-tp47347.html Sent from the > gambas-user mailing list archive at Nabble.com. > > ---------------------------------------------------------------------------- > -- Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows Winner > of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas.fr at ...626... Wed Jul 9 12:54:22 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 9 Jul 2014 12:54:22 +0200 Subject: [Gambas-user] Exec statement not working though equivalent Terminal command works In-Reply-To: <20140709094724.GA527@...2774...> References: <53BCF00E.2060408@...626...> <20140709094724.GA527@...2774...> Message-ID: I think the f8 argument is parsed by the app Tobias Le 9 juil. 2014 11:50, "Tobias Boege" a ?crit : > On Wed, 09 Jul 2014, John Rose wrote: > > I have this code: > > Print "mplex", "-f 8", "-o " & "'" & sCombinedPath & "'", "'" & > > sVideoPath & "'", "'" & sAudioPath & "'" > > Exec ["mplex", "-f 8", "-o " & "'" & sCombinedPath & "'", "'" & > > sVideoPath & "'", "'" & sAudioPath & "'"] To sOutput > > I'm using the single quotes since they are required when entering the > > equivalent commands in a Terminal e.g. mplex -f 8 -o > > '/home/john/Videos/q.mpg' '/home/john/Videos/The Story of Science_ > > Power, Proof____20140621_2000.m2v' '/home/john/Videos/The Story of > > Science_ Power, Proof____20140621_2000.mp2'. > > > > The Print statement shows (at runtime): > > mplex -f 8 -o '/home/john/Videos/q.mpg' '/home/john/Videos/The > > Story of Science_ Power, Proof____20140621_2000.m2v' > > '/home/john/Videos/The Story of Science_ Power, > Proof____20140621_2000.mp2' > > i.e. the exact equivalent of the working command when entered in a > > Terminal. > > > > However, the Exec statement does nothing at runtime, though the > > equivalent Terminal command works. There is no feedback on why by > > Gambas. I've also tried the statements without the single quote usage & > > it also did nothing. I'm fairly sure that this used to work on the > > previous version of Gambas: I'm using kendek's Gambas3 ppa > > (https://code.launchpad.net/~nemh/+archive/ubuntu/gambas3) which > > installed Gambas 3.5.3. The code without the single quote usage is: > > Print "mplex", "-f 8", "-o " & sCombinedPath, sVideoPath, sAudioPath > > Exec ["mplex", "-f 8", "-o " sCombinedPath, sVideoPath, sAudioPath] > > To sOutput > > > > The above sOutput variable has the value "". What I am doing wrong or is > > it an issue in Gambas 3.5.3? > > > > The fundamental thing to remember is: Exec is way not the terminal/shell. > > The shell needs you to quote your arguments in different manners so that it > can see where actual spaces are and where spaces belong to, e.g., file > names. The space is a control sequence for the shell - not for Exec! In > Exec, you must not quote stuff because the data you give is literally > transferred into the kernel. If you write Exec ["program", "'file name'"], > the kernel will look for a file literally named 'file name', the > apostrophes > being part of that file name! > > Just make sure that each argument is in its own array element; that is > enough for Exec. > > This applies also to "-f 8" where you put two arguments into one array > element. You'll confuse the program's command line parser because it does > not know the switch "-f 8", it just knows the switch "-f" which may be > followed by an argument "8", a *distinct* argument. > > To sum up, I'm pretty sure your Exec line should be like: > > Exec ["mplex", "-f", "8", "-o", sCombinedPath, sVideoPath, sAudioPath] > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sbungay at ...3301... Wed Jul 9 14:32:21 2014 From: sbungay at ...3301... (Stephen) Date: Wed, 09 Jul 2014 08:32:21 -0400 Subject: [Gambas-user] interesting problem with Listbox.raise Message-ID: <53BD3655.3020504@...3301...> Gambas 3.5.3 Fedora 20 (Mate spin) A list box when made visible and brought to the foreground of its parent, continues to show its scroll-bar behind the other controls of the same parent (see screenshot below). In addition, looking closely at the left side of the list box you can see the borders of the text boxes that are behind it appearing to intrude into the list box white-space area, this phenomena is also visible just to the left of the scroll-bar where text box fields intrude into the white-space of what should be the list box area. -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site From sbungay at ...3301... Wed Jul 9 14:40:57 2014 From: sbungay at ...3301... (Stephen) Date: Wed, 09 Jul 2014 08:40:57 -0400 Subject: [Gambas-user] OOPS... forgot to attach the screenshot... Message-ID: <53BD3859.9050105@...3301...> Forgot to attache the screenshot, inline graphics don't come across.. my bad. -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site -------------- next part -------------- A non-text attachment was scrubbed... Name: IncompleteListBoxRaise.png Type: image/png Size: 10118 bytes Desc: not available URL: From gambas at ...1... Wed Jul 9 14:51:37 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 09 Jul 2014 14:51:37 +0200 Subject: [Gambas-user] interesting problem with Listbox.raise In-Reply-To: <53BD3655.3020504@...3301...> References: <53BD3655.3020504@...3301...> Message-ID: <53BD3AD9.2010705@...1...> Le 09/07/2014 14:32, Stephen a ?crit : > Gambas 3.5.3 > Fedora 20 (Mate spin) > A list box when made visible and brought to the foreground of its > parent, continues to show its scroll-bar behind the other controls of > the same parent (see screenshot below). In addition, looking closely at > the left side of the list box you can see the borders of the text boxes > that are behind it appearing to intrude into the list box white-space > area, this phenomena is also visible just to the left of the scroll-bar > where text box fields intrude into the white-space of what should be the > list box area. > This has been fixed in the development version, but it was too difficult to backport the fix to the stable version. -- Beno?t Minisini From lists at ...2828... Wed Jul 9 15:14:36 2014 From: lists at ...2828... (CJ) Date: Wed, 9 Jul 2014 15:14:36 +0200 Subject: [Gambas-user] Gambas 3.5.40 - Unable to compile gambas3 In-Reply-To: <53BC1CE3.8050409@...1...> Message-ID: <000001cf9b77$c008cf10$0f00a8c0@...2829...> Just a FYI. > A mistake. I have fixed the source package, you can download > and compile it again. The new tar-ball compiled OK on Xubuntu 14.04 LTS.. [System] Gambas=3.5.4 OperatingSystem=Linux Kernel=3.13.0-30-generic Architecture=x86 Distribution=Ubuntu 14.04 LTS Desktop=XFCE Theme=QGtk Language=en_US.UTF-8 Memory=1002M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 /CJ From gambas.fr at ...626... Wed Jul 9 15:26:29 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 9 Jul 2014 15:26:29 +0200 Subject: [Gambas-user] Array example In-Reply-To: <1754973.fC0JoWty73@...3222...> References: <1404894796081-47347.post@...3046...> <1754973.fC0JoWty73@...3222...> Message-ID: Garrrgh Dim Mycol as new collection Mycol=[2:12,4:13,5:11,8:18] Print mycol[4] Le 9 juil. 2014 12:47, "wig" a ?crit : > > Make one array arrNumbers with > > 2 > 4 > 5 > 8 > > > Make another array arrData with > > 12 > 13 > 11 > 18 > > > Then look up the value in the first array (seems to be sorted) > array count start at 0, so this is element number 1 > > i = arrNumbers.Find(4) ' find value 4 > > print i > > 1 > > and use the found index to take the element from the second array. > > print arrData[i] > > 13 > > > Hope that helps somehow. > > WiG. > > > On Wednesday 09 July 2014 01:33:16 abbat81 wrote: > > Hi > > > > help me with an array, please > > > > I heve a 2 column of data > > > > 2 - 12 > > 4 - 13 > > 5 - 11 > > 8 - 18 > > > > How to use array. > > > > I need use For each in array to use: > > > > IF i = array[x, ?] THEN Print array[?, x] ' If I get 4 then print 13, > if I > > get 2 - print 12 ..... > > > > Thanks in advance... > > > > > > > > > > -- > > View this message in context: > > http://gambas.8142.n7.nabble.com/Array-example-tp47347.html Sent > from the > > gambas-user mailing list archive at Nabble.com. > > > > > ---------------------------------------------------------------------------- > > -- Open source business process management suite built on Java and > Eclipse > > Turn processes into business applications with Bonita BPM > Community Edition > > Quickly connect people, data, and systems into organized workflows > Winner > > of BOSSIE, CODIE, OW2 and Gartner awards > > http://p.sf.net/sfu/Bonitasoft > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sbungay at ...3301... Wed Jul 9 15:26:21 2014 From: sbungay at ...3301... (Stephen) Date: Wed, 09 Jul 2014 09:26:21 -0400 Subject: [Gambas-user] interesting problem with Listbox.raise In-Reply-To: <53BD3AD9.2010705@...1...> References: <53BD3655.3020504@...3301...> <53BD3AD9.2010705@...1...> Message-ID: <53BD42FD.3010702@...3301...> Ahh.. I've downloaded 3.5.4, time to see if I have all the dependencies set up in my VM. On 07/09/2014 08:51 AM, Beno?t Minisini wrote: > Le 09/07/2014 14:32, Stephen a ?crit : >> Gambas 3.5.3 >> Fedora 20 (Mate spin) >> A list box when made visible and brought to the foreground of its >> parent, continues to show its scroll-bar behind the other controls of >> the same parent (see screenshot below). In addition, looking closely at >> the left side of the list box you can see the borders of the text boxes >> that are behind it appearing to intrude into the list box white-space >> area, this phenomena is also visible just to the left of the scroll-bar >> where text box fields intrude into the white-space of what should be the >> list box area. >> > This has been fixed in the development version, but it was too difficult > to backport the fix to the stable version. > -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site From gambas at ...2524... Thu Jul 10 02:33:42 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 10 Jul 2014 00:33:42 +0000 Subject: [Gambas-user] Issue 536 in gambas: Form designer visual error when using control heirarchy Message-ID: <0-6813199134517018827-7297019624280827016-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 536 by adamn... at ...626...: Form designer visual error when using control heirarchy http://code.google.com/p/gambas/issues/detail?id=536 1) Describe the problem. If a control is selected in the heirarchy tab in the form designer where that control is on a tabpanel and that tabpanel is not the currently visible one the control handles are still shown in the form designer. The attached picture probably shows this better than the description. 2) Give information about your system. Use the 'System information' menu in the Gambas IDE, and paste the result there. [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.12.18-pclos2 Architecture=x86 Distribution=PCLinuxOS Desktop=LXDE Theme=QWindows Language=en_AU.UTF-8 Memory=1008M [Libraries] Cairo=libcairo.so.2.11200.16 Curl=libcurl.so.3.0.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.4 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1200.2 GTK+=libgtk-x11-2.0.so.0.2400.22 GTK+=libgtk-x11-2.0.so.0.600.10 OpenGL=libGL.so.1.2.0 OpenGL=libGL.so.173.14.39 OpenGL=libGL.so.96.43.23 Poppler=libpoppler.so.13.0.0 Poppler=libpoppler.so.19.0.0 Qt4=libQtCore.so.4.8.5 SDL=libSDL-1.2.so.0.11.3 3) Provide a little project that reproduces the bug or the crash. Use the gb3 IDE as an example, as shown in 5) 4) If your project needs a database, try to provide it, or part of it. N/A 5) Explain clearly how to reproduce the bug or the crash. Open the IDE in the IDE. Open the FReportBorderChooser form in form design mode. Select the "Corner" tab in tabstrip1. Select the Heirarchy panel in the properties browser panel. Select panBorder in the Heirarchy tree. --> Even though the panBorder control is not visible, its "frame" and size handles are shown. This happens with any control whose direct parent is the tabpanel. Not for contols contained within those controls. ** The big problem is if you have similar sized controls on the visible and invisible panel, then double clicking in the heirarchy tree will have you editting the properties of the "wrong" control. ** Attachments: gambas3_form_designer.png 165 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From bbruen at ...2308... Thu Jul 10 02:50:52 2014 From: bbruen at ...2308... (B Bruen) Date: Thu, 10 Jul 2014 10:20:52 +0930 Subject: [Gambas-user] More IDE wish list items Message-ID: <20140710102052.fcea45dfadd60c0cb50bae75@...2308...> 1) In the form designer context menu "Select" item controls popup list, the form itself is not listed. It would be nice to be able to use this when there is little or no space on the form to quickly get to the form itself. 2) In the form designer context menu as well as "Select All" could we also have "Select Parent" to get the container for the currently selected control. regards Bruce -- B Bruen From sbungay at ...3301... Thu Jul 10 05:12:08 2014 From: sbungay at ...3301... (Stephen) Date: Wed, 09 Jul 2014 23:12:08 -0400 Subject: [Gambas-user] make fails for 3.5.4, need a little help... Message-ID: <53BE0488.1090006@...3301...> Fedora 20 Mate Desktop ./reconf-all works with no errors ./configure, only openal is not enabled make then proceeds to fail... Making all in image.effect make[5]: Entering directory `/home/user/Downloads/gambas3-3.5.4/main/lib/image.effect' CXX gb_image_effect_la-main.lo ../../libtool: line 1128: g++: command not found make[5]: *** [gb_image_effect_la-main.lo] Error 1 make[5]: Leaving directory `/home/user/Downloads/gambas3-3.5.4/main/lib/image.effect' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/user/Downloads/gambas3-3.5.4/main/lib' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/user/Downloads/gambas3-3.5.4/main' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/user/Downloads/gambas3-3.5.4/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/user/Downloads/gambas3-3.5.4' make: *** [all] Error 2 So it the problem is with image.effect, but I don't know how to read this to determine exactly what it wants and sure could use a little help. There might be more fails after this one is sorted, but I'll jump off those bridges as I get to them. -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site From sbungay at ...3301... Thu Jul 10 05:29:59 2014 From: sbungay at ...3301... (Stephen) Date: Wed, 09 Jul 2014 23:29:59 -0400 Subject: [Gambas-user] Never mind..... Message-ID: <53BE08B7.4040209@...3301...> It's late and I've gone cross-eyed.. C++ extension to GCC was not installed.... DOH! -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site From john.aaron.rose at ...626... Thu Jul 10 11:43:07 2014 From: john.aaron.rose at ...626... (John Rose) Date: Thu, 10 Jul 2014 10:43:07 +0100 Subject: [Gambas-user] Exec statement not working though equivalent Terminal command works Message-ID: <53BE602B.9030409@...626...> Fabien & Tobias, I previously asked this question Exec ["mplex", "-f", "8", "-o", sCombinedPath , sVideoPath, sAudioPath] works provided that none of the paths contains a space. What do I amend the command to in order to allow for any/all of the paths containing a space (i.e. the equivalent of putting single quotes around each of the paths in the corresponding Terminal command)?I've tried doing: Exec ["mplex", "-f", "8", "-o", "'"&sCombinedPath&"'", "'"&sVideoPath&"'", "'"&sAudioPath&"'"] but it didn't work. -- Regards, John From gambas.fr at ...626... Thu Jul 10 11:55:12 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 10 Jul 2014 11:55:12 +0200 Subject: [Gambas-user] Exec statement not working though equivalent Terminal command works In-Reply-To: <53BE602B.9030409@...626...> References: <53BE602B.9030409@...626...> Message-ID: And if you use quote$ or quoting manually spaces ? Le 10 juil. 2014 11:44, "John Rose" a ?crit : > Fabien & Tobias, > > I previously asked this question > > Exec ["mplex", "-f", "8", "-o", sCombinedPath , sVideoPath, sAudioPath] > works provided that none of the paths contains a space. What do I amend > the command to in order to allow for any/all of the paths containing a > space (i.e. the equivalent of putting single quotes around each of the > paths in the corresponding Terminal command)?I've tried doing: > Exec ["mplex", "-f", "8", "-o", "'"&sCombinedPath&"'", > "'"&sVideoPath&"'", "'"&sAudioPath&"'"] > but it didn't work. > > -- > Regards, > John > > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Thu Jul 10 12:15:11 2014 From: taboege at ...626... (Tobias Boege) Date: Thu, 10 Jul 2014 12:15:11 +0200 Subject: [Gambas-user] Exec statement not working though equivalent Terminal command works In-Reply-To: <53BE602B.9030409@...626...> References: <53BE602B.9030409@...626...> Message-ID: <20140710101511.GA528@...2774...> On Thu, 10 Jul 2014, John Rose wrote: > Fabien & Tobias, > > I previously asked this question > > Exec ["mplex", "-f", "8", "-o", sCombinedPath , sVideoPath, sAudioPath] > works provided that none of the paths contains a space. > It should work either way. Look at this script --8<-- [ t.gbs3 ] -------------------- #!/usr/bin/gbs3 Public Sub Main() Exec ["cat", "-n", "/tmp/some file"] End --8<---------------------------------- and how it works: $ echo test >"/tmp/some file" $ ./t.gbs3 1 test So either it's a problem with mplex, with your surrounding program, with your judgement that the command fails or something else. None of which I can test. (Or indeed your copy of Gambas has a broken Exec which I doubt.) Try to reproduce the problem with spaces in the file name with other programs, like cat which everybody has and knows to use. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From sbungay at ...3301... Thu Jul 10 13:28:14 2014 From: sbungay at ...3301... (Stephen) Date: Thu, 10 Jul 2014 07:28:14 -0400 Subject: [Gambas-user] MTheme.readfile Message-ID: <53BE78CE.4040404@...3301...> Fedora 20 Mate spin Gambas 3.5.4 (freshly downloaded) There always seems to be one more hurdle... 'tis the nature of the beast I suppose. ./reconf-all OK ./configure OK make install OK [user at ...40...]$ gambas 3 This application has raised an unexpected error and must abort [45] File or Directory does not exist MTheme.ReadFile.59 Attached is the error dialogue. I dud an updatedb and locate MTheme and found only this... /home/user/Downloads/gambas3-3.5.4/app/src/gambas3/.src/MTheme.module Shouldn't MTheme.ReadFile.59 have been created during the configure make install? -- Kindest Regards Stephen A. Bungay -------------- next part -------------- A non-text attachment was scrubbed... Name: GAMBAS_MTheme.Readfile_fail.png Type: image/png Size: 8291 bytes Desc: not available URL: From Karl.Reinl at ...2345... Thu Jul 10 13:45:51 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Thu, 10 Jul 2014 13:45:51 +0200 Subject: [Gambas-user] MTheme.readfile In-Reply-To: <53BE78CE.4040404@...3301...> References: <53BE78CE.4040404@...3301...> Message-ID: <1404992751.3438.2.camel@...40...> Am Donnerstag, den 10.07.2014, 07:28 -0400 schrieb Stephen: > Fedora 20 Mate spin > Gambas 3.5.4 (freshly downloaded) > > There always seems to be one more hurdle... 'tis the nature of the > beast I suppose. > > ./reconf-all OK > ./configure OK > make install OK > > [user at ...40...]$ gambas 3 Salut Stephen, is that 'gambas 3' bat made in the mail or do you call it a project or file named 3. >gambas3 --help Gambas 3 Integrated Development Environment Usage: gambas3 [options] [ or ] Options: -V --version display version -L --license display license -h --help display this help -- Amicalement Charlie From sbungay at ...3301... Thu Jul 10 13:46:45 2014 From: sbungay at ...3301... (Stephen) Date: Thu, 10 Jul 2014 07:46:45 -0400 Subject: [Gambas-user] MTHeme error... Message-ID: <53BE7D25.2030408@...3301...> Ah, is the readfile method of MTheme failing? Am I interpreting this correctly? What file is it looking for and where should it be? -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site From sbungay at ...3301... Thu Jul 10 13:49:22 2014 From: sbungay at ...3301... (Stephen) Date: Thu, 10 Jul 2014 07:49:22 -0400 Subject: [Gambas-user] MTheme.readfile In-Reply-To: <1404992751.3438.2.camel@...40...> References: <53BE78CE.4040404@...3301...> <1404992751.3438.2.camel@...40...> Message-ID: <53BE7DC2.2060004@...3301...> Salut Charlie... That was a typo,... it is just gambas3, executing gambas from the command line... the line should more properly read; [user at ...40...]$ gambas3 Should bring up the gambas IDE... but fails with MTheme.readfile error On 07/10/2014 07:45 AM, Charlie Reinl wrote: > Am Donnerstag, den 10.07.2014, 07:28 -0400 schrieb Stephen: >> Fedora 20 Mate spin >> Gambas 3.5.4 (freshly downloaded) >> >> There always seems to be one more hurdle... 'tis the nature of the >> beast I suppose. >> >> ./reconf-all OK >> ./configure OK >> make install OK >> >> [user at ...40...]$ gambas 3 > Salut Stephen, > > is that 'gambas 3' bat made in the mail or do you call it a project or > file named 3. > >> gambas3 --help > Gambas 3 Integrated Development Environment > > Usage: gambas3 [options] [ or] > > Options: > -V --version display version > -L --license display license > -h --help display this help > > -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site From taboege at ...626... Thu Jul 10 13:57:22 2014 From: taboege at ...626... (Tobias Boege) Date: Thu, 10 Jul 2014 13:57:22 +0200 Subject: [Gambas-user] MTHeme error... In-Reply-To: <53BE7D25.2030408@...3301...> References: <53BE7D25.2030408@...3301...> Message-ID: <20140710115722.GB528@...2774...> On Thu, 10 Jul 2014, Stephen wrote: > Ah, is the readfile method of MTheme failing? Am I interpreting this > correctly? What file is it looking for and where should it be? > You already sort of found this out in your previous mail: > Attached is the error dialogue. I dud an updatedb and locate MTheme and > found only this... > > /home/user/Downloads/gambas3-3.5.4/app/src/gambas3/.src/MTheme.module This points you directly to the source code of MTheme and error message > [45] File or Directory does not exist > MTheme.ReadFile.59 tells you what happens and which line to look. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From sbungay at ...3301... Thu Jul 10 14:30:20 2014 From: sbungay at ...3301... (Stephen) Date: Thu, 10 Jul 2014 08:30:20 -0400 Subject: [Gambas-user] MTHeme error... In-Reply-To: <20140710115722.GB528@...2774...> References: <53BE7D25.2030408@...3301...> <20140710115722.GB528@...2774...> Message-ID: <53BE875C.2040307@...3301...> Thank you Tobias. Hmmmm... it (MTheme.ReadFile) is looking for a subdir off /tmp with the name of gambas. I created the subdir manually and gambas3-3.5.4 now starts up as it should. Perhaps a change to the MTheme.module is warranted, check for the existence of the directories referenced in sPath, create them if need be, then copy sPath to sTemp. Just a thought. On 07/10/2014 07:57 AM, Tobias Boege wrote: > On Thu, 10 Jul 2014, Stephen wrote: >> Ah, is the readfile method of MTheme failing? Am I interpreting this >> correctly? What file is it looking for and where should it be? >> > You already sort of found this out in your previous mail: > >> Attached is the error dialogue. I dud an updatedb and locate MTheme and >> found only this... >> >> /home/user/Downloads/gambas3-3.5.4/app/src/gambas3/.src/MTheme.module > This points you directly to the source code of MTheme and error message > >> [45] File or Directory does not exist >> MTheme.ReadFile.59 > tells you what happens and which line to look. > > Regards, > Tobi > -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site From taboege at ...626... Thu Jul 10 14:46:20 2014 From: taboege at ...626... (Tobias Boege) Date: Thu, 10 Jul 2014 14:46:20 +0200 Subject: [Gambas-user] MTHeme error... In-Reply-To: <53BE875C.2040307@...3301...> References: <53BE7D25.2030408@...3301...> <20140710115722.GB528@...2774...> <53BE875C.2040307@...3301...> Message-ID: <20140710124620.GC528@...2774...> On Thu, 10 Jul 2014, Stephen wrote: > Thank you Tobias. > > Hmmmm... it (MTheme.ReadFile) is looking for a subdir off /tmp with > the name of gambas. I created the subdir manually and gambas3-3.5.4 now > starts up as it should. > Perhaps a change to the MTheme.module is warranted, check for the > existence of the directories referenced in sPath, create them if need > be, then copy sPath to sTemp. Just a thought. > Hmm, interesting. From _init(), ReadFile("gambas") gets called, which constructs a path "theme/gambas" to load the default theme which is then copied to a temporary location, which is the famous line 59. But the path to copy the theme file to is obtained from Temp$() so if this directory doesn't exist, some node in the path /tmp/gambas.UID/PID/ does not exist (which would be strange) or Temp$() is broken... Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From Karl.Reinl at ...2345... Thu Jul 10 15:14:33 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Thu, 10 Jul 2014 15:14:33 +0200 Subject: [Gambas-user] MTHeme error... In-Reply-To: <20140710124620.GC528@...2774...> References: <53BE7D25.2030408@...3301...> <20140710115722.GB528@...2774...> <53BE875C.2040307@...3301...> <20140710124620.GC528@...2774...> Message-ID: <1404998073.3438.16.camel@...40...> Am Donnerstag, den 10.07.2014, 14:46 +0200 schrieb Tobias Boege: > On Thu, 10 Jul 2014, Stephen wrote: > > Thank you Tobias. > > > > Hmmmm... it (MTheme.ReadFile) is looking for a subdir off /tmp with > > the name of gambas. I created the subdir manually and gambas3-3.5.4 now > > starts up as it should. > > Perhaps a change to the MTheme.module is warranted, check for the > > existence of the directories referenced in sPath, create them if need > > be, then copy sPath to sTemp. Just a thought. > > > > Hmm, interesting. From _init(), ReadFile("gambas") gets called, which > constructs a path "theme/gambas" to load the default theme which is then > copied to a temporary location, which is the famous line 59. > > But the path to copy the theme file to is obtained from Temp$() so if this > directory doesn't exist, some node in the path /tmp/gambas.UID/PID/ does not > exist (which would be strange) or Temp$() is broken... > > Regards, > Tobi > Salut, or a rights problem, we will see after the first reboot, most dist clean up /tmp on start up. -- Amicalement Charlie From bbruen at ...2308... Thu Jul 10 15:15:52 2014 From: bbruen at ...2308... (B Bruen) Date: Thu, 10 Jul 2014 22:45:52 +0930 Subject: [Gambas-user] MTHeme error... In-Reply-To: <20140710124620.GC528@...2774...> References: <53BE7D25.2030408@...3301...> <20140710115722.GB528@...2774...> <53BE875C.2040307@...3301...> <20140710124620.GC528@...2774...> Message-ID: <20140710224552.b8b9f39e804a7021f9196e54@...2308...> On Thu, 10 Jul 2014 14:46:20 +0200 Tobias Boege wrote: > On Thu, 10 Jul 2014, Stephen wrote: > > Thank you Tobias. > > > > Hmmmm... it (MTheme.ReadFile) is looking for a subdir off /tmp with > > the name of gambas. I created the subdir manually and gambas3-3.5.4 now > > starts up as it should. > > Perhaps a change to the MTheme.module is warranted, check for the > > existence of the directories referenced in sPath, create them if need > > be, then copy sPath to sTemp. Just a thought. > > > > Hmm, interesting. From _init(), ReadFile("gambas") gets called, which > constructs a path "theme/gambas" to load the default theme which is then > copied to a temporary location, which is the famous line 59. > > But the path to copy the theme file to is obtained from Temp$() so if this > directory doesn't exist, some node in the path /tmp/gambas.UID/PID/ does not > exist (which would be strange) or Temp$() is broken... > Guessing ... >some node in the path /tmp/gambas.UID/PID/ does not > exist (which would be strange) but then wouldn't the fail occur earlier when tmp/gambas.UID/PID was created? > Temp$() is broken... again wouldn't that imply an earlier failure? So something else is awry. rgrds Bruce > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > -- B Bruen From sbungay at ...3301... Thu Jul 10 15:26:50 2014 From: sbungay at ...3301... (Stephen) Date: Thu, 10 Jul 2014 09:26:50 -0400 Subject: [Gambas-user] MTHeme error... In-Reply-To: <20140710124620.GC528@...2774...> References: <53BE7D25.2030408@...3301...> <20140710115722.GB528@...2774...> <53BE875C.2040307@...3301...> <20140710124620.GC528@...2774...> Message-ID: <53BE949A.5040800@...3301...> On 07/10/2014 08:46 AM, Tobias Boege wrote: > On Thu, 10 Jul 2014, Stephen wrote: >> Thank you Tobias. >> >> Hmmmm... it (MTheme.ReadFile) is looking for a subdir off /tmp with >> the name of gambas. I created the subdir manually and gambas3-3.5.4 now >> starts up as it should. >> Perhaps a change to the MTheme.module is warranted, check for the >> existence of the directories referenced in sPath, create them if need >> be, then copy sPath to sTemp. Just a thought. >> > Hmm, interesting. From _init(), ReadFile("gambas") gets called, which > constructs a path "theme/gambas" to load the default theme which is then > copied to a temporary location, which is the famous line 59. > > But the path to copy the theme file to is obtained from Temp$() so if this > directory doesn't exist, some node in the path /tmp/gambas.UID/PID/ does not > exist (which would be strange) or Temp$() is broken... > > Regards, > Tobi > Triple(Hmmm). It was the Temp$() function in the code that sent me off to eye-ball the /tmp directory and resultantly discover that no 'gambas' subdir existed. Manually creating the directory resolved the issue, so it looks like the code copy sPath to sTemp is working fine... where sPath = "theme/gambas" and sTemp = /Tmp which would mean that Temp$() is returning the correct information. -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site From gambas at ...1... Thu Jul 10 15:35:29 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 10 Jul 2014 15:35:29 +0200 Subject: [Gambas-user] MTHeme error... In-Reply-To: <53BE949A.5040800@...3301...> References: <53BE7D25.2030408@...3301...> <20140710115722.GB528@...2774...> <53BE875C.2040307@...3301...> <20140710124620.GC528@...2774...> <53BE949A.5040800@...3301...> Message-ID: <53BE96A1.1030201@...1...> Le 10/07/2014 15:26, Stephen a ?crit : > On 07/10/2014 08:46 AM, Tobias Boege wrote: >> On Thu, 10 Jul 2014, Stephen wrote: >>> Thank you Tobias. >>> >>> Hmmmm... it (MTheme.ReadFile) is looking for a subdir off /tmp with >>> the name of gambas. I created the subdir manually and gambas3-3.5.4 now >>> starts up as it should. >>> Perhaps a change to the MTheme.module is warranted, check for the >>> existence of the directories referenced in sPath, create them if need >>> be, then copy sPath to sTemp. Just a thought. >>> >> Hmm, interesting. From _init(), ReadFile("gambas") gets called, which >> constructs a path "theme/gambas" to load the default theme which is then >> copied to a temporary location, which is the famous line 59. >> >> But the path to copy the theme file to is obtained from Temp$() so if this >> directory doesn't exist, some node in the path /tmp/gambas.UID/PID/ does not >> exist (which would be strange) or Temp$() is broken... >> >> Regards, >> Tobi >> > Triple(Hmmm). It was the Temp$() function in the code that sent me off > to eye-ball the /tmp directory and resultantly discover that no 'gambas' > subdir existed. Manually creating the directory resolved the issue, so > it looks like the code > > copy sPath to sTemp > > is working fine... where sPath = "theme/gambas" and sTemp = /Tmp > > which would mean that Temp$() is returning the correct information. > At startup, a Gambas program creates a "/tmp/gambas.//" directory. So if it does not exist later, then there is a problem with "/tmp". Maybe a normal user does not have the right to create a directory in '/tmp' ? -- Beno?t Minisini From riccardo.giudici at ...626... Thu Jul 10 15:36:48 2014 From: riccardo.giudici at ...626... (kungfupanda) Date: Thu, 10 Jul 2014 06:36:48 -0700 (PDT) Subject: [Gambas-user] gb.chart overlap chart Message-ID: <1404999408008-47378.post@...3046...> Hi, is it possible to overlap two chart of different chart-type ? for example a linechart with a pointchart plot ? Thanks a lot -- View this message in context: http://gambas.8142.n7.nabble.com/gb-chart-overlap-chart-tp47378.html Sent from the gambas-user mailing list archive at Nabble.com. From sbungay at ...3301... Thu Jul 10 18:16:45 2014 From: sbungay at ...3301... (Stephen) Date: Thu, 10 Jul 2014 12:16:45 -0400 Subject: [Gambas-user] MTHeme error... In-Reply-To: <53BE96A1.1030201@...1...> References: <53BE7D25.2030408@...3301...> <20140710115722.GB528@...2774...> <53BE875C.2040307@...3301...> <20140710124620.GC528@...2774...> <53BE949A.5040800@...3301...> <53BE96A1.1030201@...1...> Message-ID: <53BEBC6D.6060807@...3301...> On 07/10/2014 09:35 AM, Beno?t Minisini wrote: > Le 10/07/2014 15:26, Stephen a ?crit : >> On 07/10/2014 08:46 AM, Tobias Boege wrote: >>> On Thu, 10 Jul 2014, Stephen wrote: >>>> Thank you Tobias. >>>> >>>> Hmmmm... it (MTheme.ReadFile) is looking for a subdir off /tmp with >>>> the name of gambas. I created the subdir manually and gambas3-3.5.4 now >>>> starts up as it should. >>>> Perhaps a change to the MTheme.module is warranted, check for the >>>> existence of the directories referenced in sPath, create them if need >>>> be, then copy sPath to sTemp. Just a thought. >>>> >>> Hmm, interesting. From _init(), ReadFile("gambas") gets called, which >>> constructs a path "theme/gambas" to load the default theme which is then >>> copied to a temporary location, which is the famous line 59. >>> >>> But the path to copy the theme file to is obtained from Temp$() so if this >>> directory doesn't exist, some node in the path /tmp/gambas.UID/PID/ does not >>> exist (which would be strange) or Temp$() is broken... >>> >>> Regards, >>> Tobi >>> >> Triple(Hmmm). It was the Temp$() function in the code that sent me off >> to eye-ball the /tmp directory and resultantly discover that no 'gambas' >> subdir existed. Manually creating the directory resolved the issue, so >> it looks like the code >> >> copy sPath to sTemp >> >> is working fine... where sPath = "theme/gambas" and sTemp = /Tmp >> >> which would mean that Temp$() is returning the correct information. >> > At startup, a Gambas program creates a "/tmp/gambas.//" > directory. > > So if it does not exist later, then there is a problem with "/tmp". > Maybe a normal user does not have the right to create a directory in > '/tmp' ? > Well, I'm a normal user, I went to /tmp and did a "touch foo" at the cli, which worked properly, creating file "foo". There were other gambas directories with the appended to them, perhaps created when 3.5.3 was originally install from the fedora repo? Anyway, gambas.0 and gambas.1000 (root and me, respectively), were present in /tmp, but no "gambas" sans , which is what it seems to have wanted. Do a mkdir gambas (no . extension on the name) and Bob's your uncle, it seems to work. At the moment I'm doing a configure make install of the latest development version to try to cure another problem with list-boxes (mentioned in an previous post). Fingers (and eyes) crossed! :) -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site From sbungay at ...3301... Thu Jul 10 18:46:58 2014 From: sbungay at ...3301... (Stephen) Date: Thu, 10 Jul 2014 12:46:58 -0400 Subject: [Gambas-user] Events not firing... Message-ID: <53BEC382.4070403@...3301...> Fedora 20 Mate Gambas 3.5.90 Create a project, place a textbox on FMain. Right click on the text boc, select events, select KeyRelease Place a STOP in the keyrelease event for the textbox Run the program, select the textbox, press a key (and release it)....nothing happens... keyrelease does not fire. Try KeyPress... same thing. *sigh* -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site From gambas at ...1... Thu Jul 10 18:54:37 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 10 Jul 2014 18:54:37 +0200 Subject: [Gambas-user] Events not firing... In-Reply-To: <53BEC382.4070403@...3301...> References: <53BEC382.4070403@...3301...> Message-ID: <53BEC54D.9070009@...1...> Le 10/07/2014 18:46, Stephen a ?crit : > Fedora 20 Mate > Gambas 3.5.90 > > Create a project, place a textbox on FMain. > Right click on the text boc, select events, select KeyRelease > Place a STOP in the keyrelease event for the textbox > > Run the program, select the textbox, press a key (and release > it)....nothing happens... keyrelease does not fire. Try KeyPress... same > thing. *sigh* > No problem there. Please always provide a project, otherwise how can we know what you are doing exactly? -- Beno?t Minisini From gambas at ...1... Thu Jul 10 19:02:21 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 10 Jul 2014 19:02:21 +0200 Subject: [Gambas-user] Fwd: Re: MTHeme error... In-Reply-To: <53BEBF46.2040205@...1...> References: <53BEBF46.2040205@...1...> Message-ID: <53BEC71D.1040004@...1...> Le 10/07/2014 18:16, Stephen a ?crit : >>> >> At startup, a Gambas program creates a "/tmp/gambas.//" >> directory. >> >> So if it does not exist later, then there is a problem with "/tmp". >> Maybe a normal user does not have the right to create a directory in >> '/tmp' ? >> > Well, I'm a normal user, I went to /tmp and did a "touch foo" at the > cli, which worked properly, creating file "foo". There were other gambas > directories with the appended to them, perhaps created when 3.5.3 > was originally install from the fedora repo? Anyway, gambas.0 and > gambas.1000 (root and me, respectively), were present in /tmp, but no > "gambas" sans , which is what it seems to have wanted. Do a mkdir > gambas (no . extension on the name) and Bob's your uncle, it seems > to work. > At the moment I'm doing a configure make install of the latest > development version to try to cure another problem with list-boxes > (mentioned in an previous post). Fingers (and eyes) crossed! :) > Apparently there is something weird on your system: the Temp$() function never returns something that does not begins with "/tmp/gambas./", and so the MTheme.ReadFile() method should not fail that wat. -- Beno?t Minisini From gambas at ...1... Thu Jul 10 19:02:43 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 10 Jul 2014 19:02:43 +0200 Subject: [Gambas-user] Fwd: Re: MTHeme error... In-Reply-To: <53BEC4BA.3000208@...3301...> References: <53BEC4BA.3000208@...3301...> Message-ID: <53BEC733.7090308@...1...> > > Apparently there is something weird on your system: the Temp$() > function never returns something that does not begins with > "/tmp/gambas./", and so the MTheme.ReadFile() method should > not fail that wat. > Well what can I say; it is a bone-stock Fedora 20 distro using MATE as it's desktop... it is running in a VM under CentOS, but if that matters then there are other issues. Right now the latest 3.5.90 is working (sort of) but events are not firing for (see other email). I applied a pile of updates this morning... I think I'll reboot the VM and see what happens. -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site From sbungay at ...3301... Thu Jul 10 19:05:14 2014 From: sbungay at ...3301... (Stephen) Date: Thu, 10 Jul 2014 13:05:14 -0400 Subject: [Gambas-user] Events not firing... In-Reply-To: <53BEC54D.9070009@...1...> References: <53BEC382.4070403@...3301...> <53BEC54D.9070009@...1...> Message-ID: <53BEC7CA.8030905@...3301...> On 07/10/2014 12:54 PM, Beno?t Minisini wrote: > Le 10/07/2014 18:46, Stephen a ?crit : >> Fedora 20 Mate >> Gambas 3.5.90 >> >> Create a project, place a textbox on FMain. >> Right click on the text boc, select events, select KeyRelease >> Place a STOP in the keyrelease event for the textbox >> >> Run the program, select the textbox, press a key (and release >> it)....nothing happens... keyrelease does not fire. Try KeyPress... same >> thing. *sigh* >> > No problem there. Please always provide a project, otherwise how can we > know what you are doing exactly? > Here's a small test project that does what I describe (at least on my system anyway). -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site -------------- next part -------------- A non-text attachment was scrubbed... Name: foo-0.0.1.tar.gz Type: application/x-gzip Size: 4710 bytes Desc: not available URL: From gambas at ...1... Thu Jul 10 19:14:51 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 10 Jul 2014 19:14:51 +0200 Subject: [Gambas-user] Events not firing... In-Reply-To: <53BEC7CA.8030905@...3301...> References: <53BEC382.4070403@...3301...> <53BEC54D.9070009@...1...> <53BEC7CA.8030905@...3301...> Message-ID: <53BECA0B.4090500@...1...> Le 10/07/2014 19:05, Stephen a ?crit : > On 07/10/2014 12:54 PM, Beno?t Minisini wrote: >> Le 10/07/2014 18:46, Stephen a ?crit : >>> Fedora 20 Mate >>> Gambas 3.5.90 >>> >>> Create a project, place a textbox on FMain. >>> Right click on the text boc, select events, select KeyRelease >>> Place a STOP in the keyrelease event for the textbox >>> >>> Run the program, select the textbox, press a key (and release >>> it)....nothing happens... keyrelease does not fire. Try KeyPress... same >>> thing. *sigh* >>> >> No problem there. Please always provide a project, otherwise how can we >> know what you are doing exactly? >> > Here's a small test project that does what I describe (at least on my > system anyway). > Sorry, everthing works as expected here. -- Beno?t Minisini From sbungay at ...3301... Thu Jul 10 19:17:05 2014 From: sbungay at ...3301... (Stephen) Date: Thu, 10 Jul 2014 13:17:05 -0400 Subject: [Gambas-user] System info... Message-ID: <53BECA91.3050604@...3301...> Should have added this to the last email... [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.15.3-200.fc20.i686 Architecture=x86 Distribution=redhat Fedora release 20 (Heisenbug) Desktop=MATE Theme=QWindows Language=en_CA.UTF-8 Memory=2017M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.4 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.9 GTK+=libgtk-x11-2.0.so.0.2400.22 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.43.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site From sbungay at ...3301... Thu Jul 10 19:18:34 2014 From: sbungay at ...3301... (Stephen) Date: Thu, 10 Jul 2014 13:18:34 -0400 Subject: [Gambas-user] Events not firing... In-Reply-To: <53BECA0B.4090500@...1...> References: <53BEC382.4070403@...3301...> <53BEC54D.9070009@...1...> <53BEC7CA.8030905@...3301...> <53BECA0B.4090500@...1...> Message-ID: <53BECAEA.3050900@...3301...> On 07/10/2014 01:14 PM, Beno?t Minisini wrote: > Le 10/07/2014 19:05, Stephen a ?crit : >> On 07/10/2014 12:54 PM, Beno?t Minisini wrote: >>> Le 10/07/2014 18:46, Stephen a ?crit : >>>> Fedora 20 Mate >>>> Gambas 3.5.90 >>>> >>>> Create a project, place a textbox on FMain. >>>> Right click on the text boc, select events, select KeyRelease >>>> Place a STOP in the keyrelease event for the textbox >>>> >>>> Run the program, select the textbox, press a key (and release >>>> it)....nothing happens... keyrelease does not fire. Try KeyPress... same >>>> thing. *sigh* >>>> >>> No problem there. Please always provide a project, otherwise how can we >>> know what you are doing exactly? >>> >> Here's a small test project that does what I describe (at least on my >> system anyway). >> > Sorry, everthing works as expected here. > Yeah... I kind of thought that might happen.... *sigh* -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site From sbungay at ...3301... Thu Jul 10 19:36:28 2014 From: sbungay at ...3301... (Stephen) Date: Thu, 10 Jul 2014 13:36:28 -0400 Subject: [Gambas-user] Events not firing... In-Reply-To: <53BECA0B.4090500@...1...> References: <53BEC382.4070403@...3301...> <53BEC54D.9070009@...1...> <53BEC7CA.8030905@...3301...> <53BECA0B.4090500@...1...> Message-ID: <53BECF1C.70603@...3301...> On 07/10/2014 01:14 PM, Beno?t Minisini wrote: > Le 10/07/2014 19:05, Stephen a ?crit : >> On 07/10/2014 12:54 PM, Beno?t Minisini wrote: >>> Le 10/07/2014 18:46, Stephen a ?crit : >>>> Fedora 20 Mate >>>> Gambas 3.5.90 >>>> >>>> Create a project, place a textbox on FMain. >>>> Right click on the text boc, select events, select KeyRelease >>>> Place a STOP in the keyrelease event for the textbox >>>> >>>> Run the program, select the textbox, press a key (and release >>>> it)....nothing happens... keyrelease does not fire. Try KeyPress... same >>>> thing. *sigh* >>>> >>> No problem there. Please always provide a project, otherwise how can we >>> know what you are doing exactly? >>> >> Here's a small test project that does what I describe (at least on my >> system anyway). >> > Sorry, everthing works as expected here. > On a side note, the gotfocus event fires... and the change event for the textbox also fires, I added a combobox and tested its keypress and keyrelease events and they do not fire. So the problem appears isolated to keypress and keyrelease. I'm going to revert back to 3.5.4 as 3.5.90 did nothing to correct the listbox issue and I can work around it by putting it in a list container. -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site From gambas at ...1... Thu Jul 10 19:42:55 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 10 Jul 2014 19:42:55 +0200 Subject: [Gambas-user] Events not firing... In-Reply-To: <53BECF1C.70603@...3301...> References: <53BEC382.4070403@...3301...> <53BEC54D.9070009@...1...> <53BEC7CA.8030905@...3301...> <53BECA0B.4090500@...1...> <53BECF1C.70603@...3301...> Message-ID: <53BED09F.9090008@...1...> Le 10/07/2014 19:36, Stephen a ?crit : > On a side note, the gotfocus event fires... and the change event for the > textbox also fires, I added a combobox and tested its keypress and > keyrelease events and they do not fire. So the problem appears isolated > to keypress and keyrelease. I'm going to revert back to 3.5.4 as 3.5.90 > did nothing to correct the listbox issue and I can work around it by > putting it in a list container. > Gambas 3.5.90 does correct the issue on the listbox as far as I know... Did you send me a project so that I can check the listbox issue? -- Beno?t Minisini From Karl.Reinl at ...2345... Thu Jul 10 20:04:23 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Thu, 10 Jul 2014 20:04:23 +0200 Subject: [Gambas-user] Events not firing... In-Reply-To: <53BECF1C.70603@...3301...> References: <53BEC382.4070403@...3301...> <53BEC54D.9070009@...1...> <53BEC7CA.8030905@...3301...> <53BECA0B.4090500@...1...> <53BECF1C.70603@...3301...> Message-ID: <1405015463.3559.1.camel@...40...> Am Donnerstag, den 10.07.2014, 13:36 -0400 schrieb Stephen: > On 07/10/2014 01:14 PM, Beno?t Minisini wrote: > > Le 10/07/2014 19:05, Stephen a ?crit : > >> On 07/10/2014 12:54 PM, Beno?t Minisini wrote: > >>> Le 10/07/2014 18:46, Stephen a ?crit : > >>>> Fedora 20 Mate > >>>> Gambas 3.5.90 > >>>> > >>>> Create a project, place a textbox on FMain. > >>>> Right click on the text boc, select events, select KeyRelease > >>>> Place a STOP in the keyrelease event for the textbox > >>>> > >>>> Run the program, select the textbox, press a key (and release > >>>> it)....nothing happens... keyrelease does not fire. Try KeyPress... same > >>>> thing. *sigh* > >>>> > >>> No problem there. Please always provide a project, otherwise how can we > >>> know what you are doing exactly? > >>> > >> Here's a small test project that does what I describe (at least on my > >> system anyway). > >> > > Sorry, everthing works as expected here. > > > On a side note, the gotfocus event fires... and the change event for the > textbox also fires, I added a combobox and tested its keypress and > keyrelease events and they do not fire. So the problem appears isolated > to keypress and keyrelease. I'm going to revert back to 3.5.4 as 3.5.90 > did nothing to correct the listbox issue and I can work around it by > putting it in a list container. > Salut Stephen, what happens, if you create a new user and you make your tests ? -- Amicalement Charlie From sbungay at ...3301... Thu Jul 10 20:26:24 2014 From: sbungay at ...3301... (Stephen) Date: Thu, 10 Jul 2014 14:26:24 -0400 Subject: [Gambas-user] Events not firing... In-Reply-To: <1405015463.3559.1.camel@...40...> References: <53BEC382.4070403@...3301...> <53BEC54D.9070009@...1...> <53BEC7CA.8030905@...3301...> <53BECA0B.4090500@...1...> <53BECF1C.70603@...3301...> <1405015463.3559.1.camel@...40...> Message-ID: <53BEDAD0.6030603@...3301...> On 07/10/2014 02:04 PM, Charlie Reinl wrote: > Am Donnerstag, den 10.07.2014, 13:36 -0400 schrieb Stephen: >> On 07/10/2014 01:14 PM, Beno?t Minisini wrote: >>> Le 10/07/2014 19:05, Stephen a ?crit : >>>> On 07/10/2014 12:54 PM, Beno?t Minisini wrote: >>>>> Le 10/07/2014 18:46, Stephen a ?crit : >>>>>> Fedora 20 Mate >>>>>> Gambas 3.5.90 >>>>>> >>>>>> Create a project, place a textbox on FMain. >>>>>> Right click on the text boc, select events, select KeyRelease >>>>>> Place a STOP in the keyrelease event for the textbox >>>>>> >>>>>> Run the program, select the textbox, press a key (and release >>>>>> it)....nothing happens... keyrelease does not fire. Try KeyPress... same >>>>>> thing. *sigh* >>>>>> >>>>> No problem there. Please always provide a project, otherwise how can we >>>>> know what you are doing exactly? >>>>> >>>> Here's a small test project that does what I describe (at least on my >>>> system anyway). >>>> >>> Sorry, everthing works as expected here. >>> >> On a side note, the gotfocus event fires... and the change event for the >> textbox also fires, I added a combobox and tested its keypress and >> keyrelease events and they do not fire. So the problem appears isolated >> to keypress and keyrelease. I'm going to revert back to 3.5.4 as 3.5.90 >> did nothing to correct the listbox issue and I can work around it by >> putting it in a list container. >> > Salut Stephen, > > what happens, if you create a new user and you make your tests ? > Hi Charlie. I switched back to 3.5.4. The keypress/release issue does not exist in 3.5.4 but does exist in 3.5.90; the environment in which either of these gambas version runs, as well as my UID are the constants, creating another user didn't even show up on my radar. -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site From Karl.Reinl at ...2345... Thu Jul 10 20:44:20 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Thu, 10 Jul 2014 20:44:20 +0200 Subject: [Gambas-user] Events not firing... In-Reply-To: <53BEDAD0.6030603@...3301...> References: <53BEC382.4070403@...3301...> <53BEC54D.9070009@...1...> <53BEC7CA.8030905@...3301...> <53BECA0B.4090500@...1...> <53BECF1C.70603@...3301...> <1405015463.3559.1.camel@...40...> <53BEDAD0.6030603@...3301...> Message-ID: <1405017860.5764.10.camel@...40...> Am Donnerstag, den 10.07.2014, 14:26 -0400 schrieb Stephen: > On 07/10/2014 02:04 PM, Charlie Reinl wrote: > > Am Donnerstag, den 10.07.2014, 13:36 -0400 schrieb Stephen: > >> On 07/10/2014 01:14 PM, Beno?t Minisini wrote: > >>> Le 10/07/2014 19:05, Stephen a ?crit : > >>>> On 07/10/2014 12:54 PM, Beno?t Minisini wrote: > >>>>> Le 10/07/2014 18:46, Stephen a ?crit : > >>>>>> Fedora 20 Mate > >>>>>> Gambas 3.5.90 > >>>>>> > >>>>>> Create a project, place a textbox on FMain. > >>>>>> Right click on the text boc, select events, select KeyRelease > >>>>>> Place a STOP in the keyrelease event for the textbox > >>>>>> > >>>>>> Run the program, select the textbox, press a key (and release > >>>>>> it)....nothing happens... keyrelease does not fire. Try KeyPress... same > >>>>>> thing. *sigh* > >>>>>> > >>>>> No problem there. Please always provide a project, otherwise how can we > >>>>> know what you are doing exactly? > >>>>> > >>>> Here's a small test project that does what I describe (at least on my > >>>> system anyway). > >>>> > >>> Sorry, everthing works as expected here. > >>> > >> On a side note, the gotfocus event fires... and the change event for the > >> textbox also fires, I added a combobox and tested its keypress and > >> keyrelease events and they do not fire. So the problem appears isolated > >> to keypress and keyrelease. I'm going to revert back to 3.5.4 as 3.5.90 > >> did nothing to correct the listbox issue and I can work around it by > >> putting it in a list container. > >> > > Salut Stephen, > > > > what happens, if you create a new user and you make your tests ? > > > Hi Charlie. > > I switched back to 3.5.4. The keypress/release issue does not exist > in 3.5.4 but does exist in 3.5.90; the environment in which either of > these gambas version runs, as well as my UID are the constants, creating > another user didn't even show up on my radar. > Salut Stephen, the reason why I used/use that trick, is, my box started at least with Ubuntu 06.06 and was not newly installed, only updated. My user is a bit older I brought in the home disk from a gentoo installation with KDE at that time. So some times the beast how you call it makes strange things (like yours) . But I found out, a newly created user is clean and often reacts also clean, the beast in his cage. That is the reason why I wrote that. -- Amicalement Charlie From sbungay at ...3301... Thu Jul 10 20:58:00 2014 From: sbungay at ...3301... (Stephen) Date: Thu, 10 Jul 2014 14:58:00 -0400 Subject: [Gambas-user] Events not firing... In-Reply-To: <1405017860.5764.10.camel@...40...> References: <53BEC382.4070403@...3301...> <53BEC54D.9070009@...1...> <53BEC7CA.8030905@...3301...> <53BECA0B.4090500@...1...> <53BECF1C.70603@...3301...> <1405015463.3559.1.camel@...40...> <53BEDAD0.6030603@...3301...> <1405017860.5764.10.camel@...40...> Message-ID: <53BEE238.2050202@...3301...> On 07/10/2014 02:44 PM, Charlie Reinl wrote: > Am Donnerstag, den 10.07.2014, 14:26 -0400 schrieb Stephen: >> On 07/10/2014 02:04 PM, Charlie Reinl wrote: >>> Am Donnerstag, den 10.07.2014, 13:36 -0400 schrieb Stephen: >>>> On 07/10/2014 01:14 PM, Beno?t Minisini wrote: >>>>> Le 10/07/2014 19:05, Stephen a ?crit : >>>>>> On 07/10/2014 12:54 PM, Beno?t Minisini wrote: >>>>>>> Le 10/07/2014 18:46, Stephen a ?crit : >>>>>>>> Fedora 20 Mate >>>>>>>> Gambas 3.5.90 >>>>>>>> >>>>>>>> Create a project, place a textbox on FMain. >>>>>>>> Right click on the text boc, select events, select KeyRelease >>>>>>>> Place a STOP in the keyrelease event for the textbox >>>>>>>> >>>>>>>> Run the program, select the textbox, press a key (and release >>>>>>>> it)....nothing happens... keyrelease does not fire. Try KeyPress... same >>>>>>>> thing. *sigh* >>>>>>>> >>>>>>> No problem there. Please always provide a project, otherwise how can we >>>>>>> know what you are doing exactly? >>>>>>> >>>>>> Here's a small test project that does what I describe (at least on my >>>>>> system anyway). >>>>>> >>>>> Sorry, everthing works as expected here. >>>>> >>>> On a side note, the gotfocus event fires... and the change event for the >>>> textbox also fires, I added a combobox and tested its keypress and >>>> keyrelease events and they do not fire. So the problem appears isolated >>>> to keypress and keyrelease. I'm going to revert back to 3.5.4 as 3.5.90 >>>> did nothing to correct the listbox issue and I can work around it by >>>> putting it in a list container. >>>> >>> Salut Stephen, >>> >>> what happens, if you create a new user and you make your tests ? >>> >> Hi Charlie. >> >> I switched back to 3.5.4. The keypress/release issue does not exist >> in 3.5.4 but does exist in 3.5.90; the environment in which either of >> these gambas version runs, as well as my UID are the constants, creating >> another user didn't even show up on my radar. >> > Salut Stephen, > > the reason why I used/use that trick, is, my box started at least with > Ubuntu 06.06 and was not newly installed, only updated. > My user is a bit older I brought in the home disk from a gentoo > installation with KDE at that time. > > So some times the beast how you call it makes strange things (like > yours) . > > But I found out, a newly created user is clean and often reacts also > clean, the beast in his cage. > > That is the reason why I wrote that. > I understand, good thinking. I will spin up a new VM with the same configuration and test the theory. Right now I have to make some headway on this project and can't afford the cycles as I must have things quasi-working by tomorrow afternoon... it is shaping up to be one of those long night coding sessions. -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site From gambas at ...1... Thu Jul 10 23:24:50 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 10 Jul 2014 23:24:50 +0200 Subject: [Gambas-user] More IDE wish list items In-Reply-To: <20140710102052.fcea45dfadd60c0cb50bae75@...2308...> References: <20140710102052.fcea45dfadd60c0cb50bae75@...2308...> Message-ID: <53BF04A2.5040709@...1...> Le 10/07/2014 02:50, B Bruen a ?crit : > 1) In the form designer context menu "Select" item controls popup > list, the form itself is not listed. It would be nice to be able to > use this when there is little or no space on the form to quickly get > to the form itself. Just hit ESC. > 2) In the form designer context menu as well as > "Select All" could we also have "Select Parent" to get the container > for the currently selected control. That's possible. -- Beno?t Minisini From gambas at ...1... Thu Jul 10 23:32:37 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 10 Jul 2014 23:32:37 +0200 Subject: [Gambas-user] More IDE wish list items In-Reply-To: <53BF04A2.5040709@...1...> References: <20140710102052.fcea45dfadd60c0cb50bae75@...2308...> <53BF04A2.5040709@...1...> Message-ID: <53BF0675.4030802@...1...> Le 10/07/2014 23:24, Beno?t Minisini a ?crit : > > 2) In the form designer context menu as well as >> "Select All" could we also have "Select Parent" to get the container >> for the currently selected control. > > That's possible. > Done in revision #6369. -- Beno?t Minisini From gambas at ...2524... Thu Jul 10 23:35:39 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 10 Jul 2014 21:35:39 +0000 Subject: [Gambas-user] Issue 536 in gambas: Form designer visual error when using control heirarchy In-Reply-To: <0-6813199134517018827-7297019624280827016-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-7297019624280827016-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-7297019624280827016-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-3.5.0 Comment #1 on issue 536 by benoit.m... at ...626...: Form designer visual error when using control heirarchy http://code.google.com/p/gambas/issues/detail?id=536 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Fri Jul 11 00:29:13 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 10 Jul 2014 22:29:13 +0000 Subject: [Gambas-user] Issue 534 in gambas: Missing Project > Translate menu In-Reply-To: <3-6813199134517018827-4947760273242125217-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-4947760273242125217-gambas=googlecode.com@...2524...> <0-6813199134517018827-4947760273242125217-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-4947760273242125217-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #4 on issue 534 by benoit.m... at ...626...: Missing Project > Translate menu http://code.google.com/p/gambas/issues/detail?id=534 Don't use the old wiki anymore. The new wiki is at http://gambaswiki.org. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Fri Jul 11 00:30:13 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 10 Jul 2014 22:30:13 +0000 Subject: [Gambas-user] Issue 536 in gambas: Form designer visual error when using control heirarchy In-Reply-To: <1-6813199134517018827-7297019624280827016-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-7297019624280827016-gambas=googlecode.com@...2524...> <0-6813199134517018827-7297019624280827016-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-7297019624280827016-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 536 by benoit.m... at ...626...: Form designer visual error when using control heirarchy http://code.google.com/p/gambas/issues/detail?id=536 Fixed in revision #6370. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From bbruen at ...2308... Fri Jul 11 00:51:45 2014 From: bbruen at ...2308... (B Bruen) Date: Fri, 11 Jul 2014 08:21:45 +0930 Subject: [Gambas-user] More IDE wish list items In-Reply-To: <53BF04A2.5040709@...1...> References: <20140710102052.fcea45dfadd60c0cb50bae75@...2308...> <53BF04A2.5040709@...1...> Message-ID: <20140711082145.3fe2d1d0e3a5454addabeb3d@...2308...> On Thu, 10 Jul 2014 23:24:50 +0200 Beno?t Minisini wrote: > Le 10/07/2014 02:50, B Bruen a ?crit : > > 1) In the form designer context menu "Select" item controls popup > > list, the form itself is not listed. It would be nice to be able to > > use this when there is little or no space on the form to quickly get > > to the form itself. > > Just hit ESC. Well, you have successfully kept that secret (from me) for years now! :-) > > > 2) In the form designer context menu as well as > > "Select All" could we also have "Select Parent" to get the container > > for the currently selected control. > > That's possible. > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- B Bruen From gambas at ...2524... Fri Jul 11 04:09:11 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 11 Jul 2014 02:09:11 +0000 Subject: [Gambas-user] Issue 536 in gambas: Form designer visual error when using control heirarchy In-Reply-To: <2-6813199134517018827-7297019624280827016-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-7297019624280827016-gambas=googlecode.com@...2524...> <0-6813199134517018827-7297019624280827016-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-7297019624280827016-gambas=googlecode.com@...2524...> Comment #3 on issue 536 by adamn... at ...626...: Form designer visual error when using control heirarchy http://code.google.com/p/gambas/issues/detail?id=536 Ah! Superb! -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From bbruen at ...2308... Fri Jul 11 04:11:58 2014 From: bbruen at ...2308... (B Bruen) Date: Fri, 11 Jul 2014 11:41:58 +0930 Subject: [Gambas-user] More IDE wish list items In-Reply-To: <53BF0675.4030802@...1...> References: <20140710102052.fcea45dfadd60c0cb50bae75@...2308...> <53BF04A2.5040709@...1...> <53BF0675.4030802@...1...> Message-ID: <20140711114158.118beefb693384f06daa8529@...2308...> On Thu, 10 Jul 2014 23:32:37 +0200 Beno?t Minisini wrote: > Le 10/07/2014 23:24, Beno?t Minisini a ?crit : > > > 2) In the form designer context menu as well as > >> "Select All" could we also have "Select Parent" to get the container > >> for the currently selected control. > > > > That's possible. > > > > Done in revision #6369. > > -- > Beno?t Minisini > Thanks Beno?t That is much easier! Particularly when I've just used the Embed into a Container menu regards B -- B Bruen From sbungay at ...3301... Fri Jul 11 13:33:18 2014 From: sbungay at ...3301... (Stephen) Date: Fri, 11 Jul 2014 07:33:18 -0400 Subject: [Gambas-user] Referencing a listbox in a list container... Message-ID: <53BFCB7E.7090806@...3301...> I am trying to clear the contents of all list boxes contained within a list container by passing the list container to a SUB. Something like this (I know this is not correct but it gets the idea across); SUB ClearLists(phListContainer AS ListContainer) phListContainer.child[0].clear END But the child[0] returns the properties and methods for the basic control object which does not have Clear as an option. I need to be able to iterate through the children of the container, and clear their contents. -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site From gambas at ...1... Fri Jul 11 13:52:41 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 11 Jul 2014 13:52:41 +0200 Subject: [Gambas-user] IDE Feature Request In-Reply-To: <20140706070449.c4bbbd9df7d77e755b137464@...2308...> References: <20140616082222.fda1c22e2b429a50e47c080d@...2308...> <539F0F0B.5010804@...1...> <20140706070449.c4bbbd9df7d77e755b137464@...2308...> Message-ID: <53BFD009.2010804@...1...> Le 05/07/2014 23:34, B Bruen a ?crit : > On Mon, 16 Jun 2014 17:36:43 +0200 > Beno?t Minisini wrote: > >> Le 16/06/2014 00:52, B Bruen a ?crit : >>> ( Don't see why I shouldn't join in :-) ) >>> >>> Would it be possible to lock source files the same as for forms? This >>> would prevent me from changing the wrong class in a set of very >>> similar classes. >>> >>> Oh,and while you're there - the reload button on the form toolbar >>> seems to unlock a locked form! >>> >>> regards Bruce >>> >> >> I didn't know that feature was used... > I often have 3 or more projects open, either copying some code from one to another or refactoring one based on the newer or bettter code in another. Invariably, if I don't pay proper attention, I end up changing the wrong project's code. So locking class code would stop me making that mistake. > >> >> I will change the way it works, so that every file can be locked. I will >> simply use the file read authorization. > Beno?t, > Was this done yet? Not bumping, just wondering. > Finally done in revision #6371. Please report any problem! -- Beno?t Minisini From lists at ...2828... Fri Jul 11 15:33:13 2014 From: lists at ...2828... (CJ) Date: Fri, 11 Jul 2014 15:33:13 +0200 Subject: [Gambas-user] Get structure from extern function? In-Reply-To: <53B66D28.8050504@...1...> Message-ID: <000001cf9d0c$ac5984f0$0f00a8c0@...2829...> Attached is a new bt after updating to latest Free Pascal version 2.6.4. I also tested returning a simple string and that works OK just like integer. Shared library was compiled with {$OPTIMIZATION OFF} and {$DEBUGINFO ON} switches and hopefully it may give some new clues? Are there any other tests I can run that may reveal helpfull information? PS: Free Pascal source code included just for reference. /CJ -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: gdb_output.txt URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: test.pas Type: application/octet-stream Size: 817 bytes Desc: not available URL: From gambas at ...1... Fri Jul 11 17:28:33 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 11 Jul 2014 17:28:33 +0200 Subject: [Gambas-user] Get structure from extern function? In-Reply-To: <000001cf9d0c$ac5984f0$0f00a8c0@...2829...> References: <000001cf9d0c$ac5984f0$0f00a8c0@...2829...> Message-ID: <53C002A1.9080706@...1...> Le 11/07/2014 15:33, CJ a ?crit : > > Attached is a new bt after updating to latest Free Pascal version 2.6.4. I > also > tested returning a simple string and that works OK just like integer. > > Shared library was compiled with {$OPTIMIZATION OFF} and {$DEBUGINFO ON} > switches > and hopefully it may give some new clues? Are there any other tests I can > run that > may reveal helpfull information? > > PS: Free Pascal source code included just for reference. > > /CJ > Maybe libffi does not support Pascal, or Pascal does not correctly implements "cdecl". Because even if you use the "cdecl" keyword, apparently LIBVERSION expects one argument, whereas logically it should take no arguments, and returns a pointer to the returned structure. Here is what I suggest: 1) Search the FreePascal documentation to know how exactly arguments are passed to functions, and how "cdecl" is implemented. 2) Check that the way you declare your function ensures that LIBVersion returns a pointer to the structure, or not a copy of the structure - This is what the argument name "result" tells us. 3) If you can't return a pointer, transform the declaration of the extern function in Gambas, so that the function takes one argument which is a structure matching the Pascal structure. Regards, -- Beno?t Minisini From taboege at ...626... Fri Jul 11 19:44:02 2014 From: taboege at ...626... (Tobias Boege) Date: Fri, 11 Jul 2014 19:44:02 +0200 Subject: [Gambas-user] Referencing a listbox in a list container... In-Reply-To: <53BFCB7E.7090806@...3301...> References: <53BFCB7E.7090806@...3301...> Message-ID: <20140711174402.GA1318@...2774...> On Fri, 11 Jul 2014, Stephen wrote: > I am trying to clear the contents of all list boxes contained within > a list container by passing the list container to a SUB. Something like > this (I know this is not correct but it gets the idea across); > > SUB ClearLists(phListContainer AS ListContainer) > phListContainer.child[0].clear > END > > But the child[0] returns the properties and methods for the basic > control object which does not have Clear as an option. > I need to be able to iterate through the children of the container, and > clear their contents. > I think you are looking into the documentation ListContainer -> Children -> _get()/_put() which tells you that the return value of ListContainer.Children[iIndex] is of type Control which does not have a Clear() method. As explained here[0], Gambas uses "virtual dispatching" for its objects. This means that the type of variable/return value an objects lives in does not matter when it comes to property access/method call. Instead, each object keeps a reference to its true class attached to itself from which property/method names are resolved into functions to call; and variable types have merely the purpose to define what *kind* of object to expect. So if you get a Control back, it can actually be a ListBox which is a container and especially a Control. Just because its variable type is Control, doesn't mean you cannot call methods of the ListBox the object actually is. Only the IDE will not be able to tell you through its pop-ups that a ListBox-specific method exists - because it cannot know what you are dealing with at runtime. OK, now we get to the next level because what I told you above is actually not the entire truth. There are some operations which are too "obscure" to the interpreter - that's at least what my understanding is, I have to citable resource here - to be virtually dispatched. This includes whenever you access a virtual object property like in ListBox.Children.Clear() which you use to clear a ListBox. In this case, it helps to promote the Control to a local ListBox variable. This is the complete code: Public Sub ClearLists(hListContainer As ListContainer) Dim hControl As Control Dim hListBox As ListBox For Each hControl In hListContainer.Children If hControl Is ListBox Then hListBox = hControl hListBox.Children.Clear() Endif Next End Regards, Tobi [0] http://gambaswiki.org/wiki/doc/object-model -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Fri Jul 11 19:53:03 2014 From: taboege at ...626... (Tobias Boege) Date: Fri, 11 Jul 2014 19:53:03 +0200 Subject: [Gambas-user] Referencing a listbox in a list container... In-Reply-To: <20140711174402.GA1318@...2774...> References: <53BFCB7E.7090806@...3301...> <20140711174402.GA1318@...2774...> Message-ID: <20140711175303.GC1318@...2774...> On Fri, 11 Jul 2014, Tobias Boege wrote: > OK, now we get to the next level because what I told you above is actually > not the entire truth. There are some operations which are too "obscure" to > the interpreter - that's at least what my understanding is, I have to > citable resource here Read: I have *no* citable resource [...]. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From sebikul at ...626... Sat Jul 12 07:38:08 2014 From: sebikul at ...626... (Sebastian Kulesz) Date: Sat, 12 Jul 2014 02:38:08 -0300 Subject: [Gambas-user] Gambas 3.5.4 and the Stable PPA Message-ID: Hey! Long time no see. I got word a few hours ago that Kendek won't be maintaining the Stable PPA any more. Instead, he created a new PPA under the gambas-team Launchpad name and uploaded the current stable (3.5.3) packages so they can be updated by us. The thing is, I don't have ubuntu installed in my computer as i don't need it to manage the Daily Builds PPA. The problem arises when trying to push Gambas 3.5.4 to the Stable PPA using the same method i'm using for the Daily Builds. To do this, i have to bisect 3 repositories to find the revision which corresponds to the release of the 5.* branch. Right now, this repositories correspond to the next release of Gambas (3.6). So, even if i were to do the bisection and find the working revision, the builds would still differ from the one Kendek made. Because of this, I decided not to package this release in the new PPA for now. Different package methods can introduce bugs that should not exist in a stable distribution. Don't get me wrong, with enough time, i know it can be done. But i'm currently studying for finals and time is really scarce. If anybody is up for the job, please let me know. If it's not too time consuming i will do my best to help get it done. Next week, once i'm done, i will fix the repositories to also build the Stable releases, but until the next major release I won't label it as stable. I don't want to put extra work where it is not needed. Bad news aside, this move brings the possibility for automatic Beta builds. This ones will be based off the current stable branch, and be updated every time there is a merge from trunk to backport a bugfix. This shortens the window of getting a fix for a stopping bug from months to 24 hours! :) Again, if you want to help, please let me know! From ihaywood3 at ...626... Sat Jul 12 12:45:56 2014 From: ihaywood3 at ...626... (Ian Haywood) Date: Sat, 12 Jul 2014 20:45:56 +1000 Subject: [Gambas-user] Gambas 3.5.4 and the Stable PPA In-Reply-To: References: Message-ID: On Sat, Jul 12, 2014 at 3:38 PM, Sebastian Kulesz wrote: > The thing is, I don't have ubuntu installed in my computer as i don't need > it to manage the Daily Builds PPA. The problem arises when trying to push > Gambas 3.5.4 to the Stable PPA using the same method i'm using for the > Daily Builds. To do this, i have to bisect 3 repositories to find the > revision which corresponds to the release of the 5.* branch. Right now, surely if it's the official repository you can use the official tarball? This is how we do the debian unstable releases. [the other option is to just use the debian unstable release and relabel the target distro, it should compile on most recent ubuntus as-is] Hopefully in the next version of ubuntu the version will be up-to-date so the kendek PPA won't be needed for that version (it will still be for older ones I know) Ian From lists at ...2828... Sat Jul 12 14:53:05 2014 From: lists at ...2828... (CJ) Date: Sat, 12 Jul 2014 14:53:05 +0200 Subject: [Gambas-user] Get structure from extern function? In-Reply-To: <53C002A1.9080706@...1...> Message-ID: <000001cf9dd0$3abce4d0$0f00a8c0@...2829...> > Maybe libffi does not support Pascal, or Pascal does not correctly > implements "cdecl". Because even if you use the "cdecl" keyword, > apparently LIBVERSION expects one argument, whereas logically > it should > take no arguments, and returns a pointer to the returned structure. > > Here is what I suggest: > > 1) Search the FreePascal documentation to know how exactly > arguments are passed to functions, and how "cdecl" is implemented. > > 2) Check that the way you declare your function ensures that > LIBVersion returns a pointer to the structure, or not a copy of > the structure - This is what the argument name "result" tells us. > > 3) If you can't return a pointer, transform the declaration of the > extern function in Gambas, so that the function takes one > argument which is a structure matching the Pascal structure. Thanks for your suggestions, appreciated! /CJ From pata.karlsson at ...626... Sat Jul 12 18:56:49 2014 From: pata.karlsson at ...626... (Patrik Karlsson) Date: Sat, 12 Jul 2014 18:56:49 +0200 Subject: [Gambas-user] yaya - yet another yahtzee Message-ID: My first Gambas project of any substance is becoming somewhat useful and I'm asking you for some feedback before I'm wrapping it up. It's a dice game based on the Yahtzee "structure" and it's easy to create similar dice games. Eg. https://github.com/trixon/gambas-yaya/blob/master/gamedefs/default.json Four major thing that needs to be fixed are -Update graphics, scale dice -Save scorecards and show high scores -Implement game "variants". -Some intro/help that says --Roll by moving the mouse to lower right --Invert other dice selection with right mouse button --Mouse wheel to select all/none If you care to try it out you can get the binaries from https://dl.dropboxusercontent.com/u/9761598/yaya-dist.tar.gz or clone it from github. git clone https://github.com/trixon/gambas-libpkcommons.git libpkcommons git clone https://github.com/trixon/gambas-libpkdice.git libpkdice git clone https://github.com/trixon/gambas-yaya.git yaya Any feedback is most welcome, Enjoy! /Patrik Oh, I guess it requires Gambas 3.5.3. -------------- next part -------------- A non-text attachment was scrubbed... Name: yaya1.jpg Type: image/jpeg Size: 134083 bytes Desc: not available URL: From willy at ...2734... Sat Jul 12 21:53:45 2014 From: willy at ...2734... (Willy Raets) Date: Sat, 12 Jul 2014 21:53:45 +0200 Subject: [Gambas-user] Gambas 3.5.4 and the Stable PPA In-Reply-To: References: Message-ID: <1405194825.14146.7.camel@...3024...> On za, 2014-07-12 at 02:38 -0300, Sebastian Kulesz wrote: > Hey! Long time no see. > > I got word a few hours ago that Kendek won't be maintaining the Stable PPA > any more. Instead, he created a new PPA under the gambas-team Launchpad > name and uploaded the current stable (3.5.3) packages so they can be > updated by us. I've seen his PPA has been archived and mailed him. He told me the same. > > The thing is, I don't have ubuntu installed in my computer as i don't need > it to manage the Daily Builds PPA. The problem arises when trying to push > Gambas 3.5.4 to the Stable PPA using the same method i'm using for the > Daily Builds. To do this, i have to bisect 3 repositories to find the > revision which corresponds to the release of the 5.* branch. Right now, > this repositories correspond to the next release of Gambas (3.6). So, even > if i were to do the bisection and find the working revision, the builds > would still differ from the one Kendek made. Could you not simply take from svn 3.5 branch, instead of picking revisions, or am I understanding this wrong? > > Because of this, I decided not to package this release in the new PPA for > now. Different package methods can introduce bugs that should not exist in > a stable distribution. > Don't get me wrong, with enough time, i know it can be done. But i'm > currently studying for finals and time is really scarce. I'm glad you are willing to take up this job, but your finals go first, so we will be patient.:) > > If anybody is up for the job, please let me know. If it's not too time > consuming i will do my best to help get it done. I wish I knew how to package, have been reading about it and was advised to start with simple packages. Packaging Gambas doesn't seem a good point of start for learning how to package debs in general. > Next week, once i'm done, i will fix the repositories to also build the > Stable releases, but until the next major release I won't label it as > stable. I don't want to put extra work where it is not needed. > > Bad news aside, this move brings the possibility for automatic Beta builds. > This ones will be based off the current stable branch, and be updated every > time there is a merge from trunk to backport a bugfix. > This shortens the window of getting a fix for a stopping bug from months to > 24 hours! :) > Sounds promising, looking forward to it and thanks for your efforts to get Gambas latest stable available on Ubuntu and its siblings... -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From sebikul at ...626... Sat Jul 12 22:41:16 2014 From: sebikul at ...626... (Sebastian Kulesz) Date: Sat, 12 Jul 2014 17:41:16 -0300 Subject: [Gambas-user] Gambas 3.5.4 and the Stable PPA In-Reply-To: <1405194825.14146.7.camel@...3024...> References: <1405194825.14146.7.camel@...3024...> Message-ID: On Sat, Jul 12, 2014 at 4:53 PM, Willy Raets wrote: > On za, 2014-07-12 at 02:38 -0300, Sebastian Kulesz wrote: > > Hey! Long time no see. > > > > I got word a few hours ago that Kendek won't be maintaining the Stable > PPA > > any more. Instead, he created a new PPA under the gambas-team Launchpad > > name and uploaded the current stable (3.5.3) packages so they can be > > updated by us. > > I've seen his PPA has been archived and mailed him. He told me the same. > > > > > The thing is, I don't have ubuntu installed in my computer as i don't > need > > it to manage the Daily Builds PPA. The problem arises when trying to push > > Gambas 3.5.4 to the Stable PPA using the same method i'm using for the > > Daily Builds. To do this, i have to bisect 3 repositories to find the > > revision which corresponds to the release of the 5.* branch. Right now, > > this repositories correspond to the next release of Gambas (3.6). So, > even > > if i were to do the bisection and find the working revision, the builds > > would still differ from the one Kendek made. > > Could you not simply take from svn 3.5 branch, instead of picking > revisions, or am I understanding this wrong? > We are talking about different repositories. I will use a different method to package Gambas because i don't have ubuntu installed. Some of the advantages are the ones i explained in the first email. I can't use the same method as kendek because i don't have ubuntu installed. Currently, there is a common branch which holds common files from the /debian folder used to generate the source files, and the series specific repositories for each ubuntu version we support in the PPA. You can look here [0] for those. The thing is, these repositories are in sync with trunk, they hold the new components information, installation rules and dependencies. I don't track minor version releases because it is pointless to do so for the Daily Builds PPA. So, to build for the Stable PPA, i have to go back in history an look for the first change made to the packaging structure for Gambas 3.5.99, aka 3.6. > > > > > Because of this, I decided not to package this release in the new PPA for > > now. Different package methods can introduce bugs that should not exist > in > > a stable distribution. > > Don't get me wrong, with enough time, i know it can be done. But i'm > > currently studying for finals and time is really scarce. > > I'm glad you are willing to take up this job, but your finals go first, > so we will be patient.:) > I will be done next thursday. As soon as i get home i will start working on a fix for the stable PPA. > > > > > If anybody is up for the job, please let me know. If it's not too time > > consuming i will do my best to help get it done. > > I wish I knew how to package, have been reading about it and was advised > to start with simple packages. Packaging Gambas doesn't seem a good > point of start for learning how to package debs in general. > > > > Next week, once i'm done, i will fix the repositories to also build the > > Stable releases, but until the next major release I won't label it as > > stable. I don't want to put extra work where it is not needed. > > > > Bad news aside, this move brings the possibility for automatic Beta > builds. > > This ones will be based off the current stable branch, and be updated > every > > time there is a merge from trunk to backport a bugfix. > > This shortens the window of getting a fix for a stopping bug from months > to > > 24 hours! :) > > > Sounds promising, looking forward to it and thanks for your efforts to > get Gambas latest stable available on Ubuntu and its siblings... > > -- > Kind regards, > > Willy (aka gbWilly) > > http://gambasshowcase.org/ > http://howtogambas.org > http://gambos.org > > > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > [0] https://code.launchpad.net/~gambas-team From karl.reinl at ...9... Sun Jul 13 00:18:11 2014 From: karl.reinl at ...9... (Karl Reinl) Date: Sun, 13 Jul 2014 00:18:11 +0200 Subject: [Gambas-user] printer.paper Message-ID: <1405203491.5880.2.camel@...40...> Salut, do I have a chance to read out printer.paper sizes within gambas? -- Amicalement Charlie From gambas at ...1... Sun Jul 13 00:23:23 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 13 Jul 2014 00:23:23 +0200 Subject: [Gambas-user] printer.paper In-Reply-To: <1405203491.5880.2.camel@...40...> References: <1405203491.5880.2.camel@...40...> Message-ID: <53C1B55B.8090707@...1...> Le 13/07/2014 00:18, Karl Reinl a ?crit : > Salut, > > do I have a chance to read out printer.paper sizes within gambas? > No, but they normally should be standard paper sizes (i.e. A4 is always 210mm x 297mm). -- Beno?t Minisini From karl.reinl at ...9... Sun Jul 13 00:33:14 2014 From: karl.reinl at ...9... (Karl Reinl) Date: Sun, 13 Jul 2014 00:33:14 +0200 Subject: [Gambas-user] printer.paper In-Reply-To: <53C1B55B.8090707@...1...> References: <1405203491.5880.2.camel@...40...> <53C1B55B.8090707@...1...> Message-ID: <1405204394.5880.6.camel@...40...> Am Sonntag, den 13.07.2014, 00:23 +0200 schrieb Beno?t Minisini: > Le 13/07/2014 00:18, Karl Reinl a ?crit : > > Salut, > > > > do I have a chance to read out printer.paper sizes within gambas? > > > > No, but they normally should be standard paper sizes (i.e. A4 is always > 210mm x 297mm). > Ok, not good asked. do I have a chance to read out paper formats available for a printer, as used as list in printer.config dialog stored in printer.paper? -- Amicalement Charlie From kevinfishburne at ...1887... Sun Jul 13 01:18:34 2014 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sat, 12 Jul 2014 19:18:34 -0400 Subject: [Gambas-user] yaya - yet another yahtzee In-Reply-To: References: Message-ID: <53C1C24A.1020101@...1887...> On 07/12/2014 12:56 PM, Patrik Karlsson wrote: > My first Gambas project of any substance is becoming somewhat useful and > I'm asking you for some feedback before I'm wrapping it up. > > It's a dice game based on the Yahtzee "structure" and it's easy to create > similar dice games. > Eg. https://github.com/trixon/gambas-yaya/blob/master/gamedefs/default.json I don't know how to play Yahtzee, but here are my suggestions: 1) Place a "Roll" button image in the bottom-right corner. 2) Create a default player so the user doesn't have to create one on first run. 3) Decide on either a two-pane horizontal or two-pane vertical layout with one pane containing the dice and the other pane containing the "info grid" for lack of a better term. It currently requires scrolling to see all the information. 4) If you move the mouse across the top edge of the collision box of the "roll" area the hand graphic scrolls left and right repeatedly, which while probably easy to fix is confusing when learning the interface. 5) This is probably because I don't know what I'm doing, but after several rolls the graphical UI becomes unresponsive, not allowing me to roll again or right/left click on a die. If this is because I lost the game there should be an OSD telling me that I lost. One final suggestion is that if you'd like to increase the "oooh aaah" factor you might want to consider having a "3D mode" which uses OpenGL to render the dice and board. You could even do some really simple collision detection with the dice. Nice work and keep it up. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From kevinfishburne at ...1887... Sun Jul 13 01:36:28 2014 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sat, 12 Jul 2014 19:36:28 -0400 Subject: [Gambas-user] Sylph: Project Miyaji initial demonstration release In-Reply-To: References: <53B3887E.9060001@...1887...> Message-ID: <53C1C67C.9080103@...1887...> On 07/02/2014 08:15 PM, Jussi Lahtinen wrote: > What kind of feedback you were hoping for? Technical or general? Hey Jussi. At this point I'm looking for any sort of feedback. Bugs, aesthetics, frame rate, play control issues, or anything else you can think of. > Is space bar intended to turn auto-fire on/off? Bit weird, not wrong. Also The space bar toggles autofire because most players would probably end up having to hold down the space bar for the entirety of the game. In shoot 'em ups like this you're generally firing 90% of the time. > bullets are hard to see in space. Game seems to end abruptly when the boss > is killed. I made some modifications to the bullets, adding a glow around them to make them more visible. Eventually they'll look more like this: http://youtu.be/bWi-pJLO2m4?t=1m18s Killing a boss now freezes the camera allowing your ship to fly into the horizon before loading the next stage. Eventually each stage will be followed by docking at a space station for repairs and weapons outfitting. > Normal help, custom controls etc menus are missing. Heh heh, I'm saving the un-fun stuff for last. :) > I don't feel right criticizing game which isn't ready... what can I say. It > seems to work perfectly, however I don't know what kind of features I > should be expecting to test for. Not a problem and thanks...any feedback is good feedback. I'm going to be releasing Alpha 2 in the next few days. How awesome would it be to get a GAMBAS game on Steam? That's what I'm shooting for. -- Kevin Fishburne Eight Virtues www:http://sales.eightvirtues.com e-mail:sales at ...1887... phone: (770) 853-6271 From n.rogozarski at ...626... Sun Jul 13 12:56:24 2014 From: n.rogozarski at ...626... (Roki) Date: Sun, 13 Jul 2014 12:56:24 +0200 Subject: [Gambas-user] Report Question Message-ID: <53C265D8.1050204@...626...> Since the order ( myReport.Preview ) still does not work when you include gb.settings and gb.Report in project. I decided to do my ReportPreview using ReportView control. Now my question is next: When i open report control, in special tab is printer class. The question is, how can i use this class with current report. Can i set number of copies, and so on ... Is there any example how to use this ? From taboege at ...626... Sun Jul 13 13:53:05 2014 From: taboege at ...626... (Tobias Boege) Date: Sun, 13 Jul 2014 13:53:05 +0200 Subject: [Gambas-user] GambasWiki pages vanishing and emerging again? Message-ID: <20140713115305.GA815@...2774...> Hi, the last two days I was more frequently on gambaswiki.org than usual and it occured twice to me that for a short(-ish) time simply all pages said: "This page does not exist." And also the arrow icon in the upper left corner could not be loaded. Once I was also erroneously put to /doc/doc/serverpage when I clicked on the "Gambas ServerPages" link under /doc. (Or maybe that last thing was my fault and somehow accidentally another "doc" slipped in when I tried to reload the page...?) Has the wiki some "mentally weak" times, like when I does backups or something? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas.fr at ...626... Sun Jul 13 14:49:51 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 13 Jul 2014 14:49:51 +0200 Subject: [Gambas-user] printer.paper In-Reply-To: <1405204394.5880.6.camel@...40...> References: <1405203491.5880.2.camel@...40...> <53C1B55B.8090707@...1...> <1405204394.5880.6.camel@...40...> Message-ID: they are hard coded... 2014-07-13 0:33 GMT+02:00 Karl Reinl : > Am Sonntag, den 13.07.2014, 00:23 +0200 schrieb Beno?t Minisini: >> Le 13/07/2014 00:18, Karl Reinl a ?crit : >> > Salut, >> > >> > do I have a chance to read out printer.paper sizes within gambas? >> > >> >> No, but they normally should be standard paper sizes (i.e. A4 is always >> 210mm x 297mm). >> > Ok, not good asked. > > do I have a chance to read out paper formats available for a printer, as > used as list in printer.config dialog stored in printer.paper? > -- > Amicalement > Charlie > > > ------------------------------------------------------------------------------ > _______________________________________________ > 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... Sun Jul 13 14:54:31 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 13 Jul 2014 14:54:31 +0200 Subject: [Gambas-user] Sylph: Project Miyaji initial demonstration release In-Reply-To: <53C1C67C.9080103@...1887...> References: <53B3887E.9060001@...1887...> <53C1C67C.9080103@...1887...> Message-ID: waiting for the alpha 2 :-) 2014-07-13 1:36 GMT+02:00 Kevin Fishburne : > On 07/02/2014 08:15 PM, Jussi Lahtinen wrote: >> What kind of feedback you were hoping for? Technical or general? > > Hey Jussi. At this point I'm looking for any sort of feedback. Bugs, > aesthetics, frame rate, play control issues, or anything else you can > think of. > >> Is space bar intended to turn auto-fire on/off? Bit weird, not wrong. Also > > The space bar toggles autofire because most players would probably end > up having to hold down the space bar for the entirety of the game. In > shoot 'em ups like this you're generally firing 90% of the time. > >> bullets are hard to see in space. Game seems to end abruptly when the boss >> is killed. > > I made some modifications to the bullets, adding a glow around them to > make them more visible. Eventually they'll look more like this: > > http://youtu.be/bWi-pJLO2m4?t=1m18s > > Killing a boss now freezes the camera allowing your ship to fly into the > horizon before loading the next stage. Eventually each stage will be > followed by docking at a space station for repairs and weapons outfitting. > >> Normal help, custom controls etc menus are missing. > > Heh heh, I'm saving the un-fun stuff for last. :) > >> I don't feel right criticizing game which isn't ready... what can I say. It >> seems to work perfectly, however I don't know what kind of features I >> should be expecting to test for. > > Not a problem and thanks...any feedback is good feedback. I'm going to > be releasing Alpha 2 in the next few days. How awesome would it be to > get a GAMBAS game on Steam? That's what I'm shooting for. > > -- > Kevin Fishburne > Eight Virtues > www:http://sales.eightvirtues.com > e-mail:sales at ...1887... > phone: (770) 853-6271 > > > ------------------------------------------------------------------------------ > _______________________________________________ > 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... Sun Jul 13 14:56:37 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 13 Jul 2014 14:56:37 +0200 Subject: [Gambas-user] Report Question In-Reply-To: <53C265D8.1050204@...626...> References: <53C265D8.1050204@...626...> Message-ID: hum roki ... can you tel me witch gambas version you use i think we must found the problem on gb.setting ... but i have not it here 2014-07-13 12:56 GMT+02:00 Roki : > Since the order ( myReport.Preview ) still does not work when you > include gb.settings and gb.Report in project. I decided to do my > ReportPreview using ReportView control. Now my question is next: > > When i open report control, in special tab is printer class. The > question is, how can i use this class with current report. Can i set > number of copies, and so on ... Is there any example how to use this ? > > > > ------------------------------------------------------------------------------ > _______________________________________________ > 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... Sun Jul 13 15:09:34 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 13 Jul 2014 15:09:34 +0200 Subject: [Gambas-user] Report Question In-Reply-To: References: <53C265D8.1050204@...626...> Message-ID: well oups gambas ide have a bug here 2014-07-13 14:56 GMT+02:00 Fabien Bodard : > hum roki ... > > can you tel me witch gambas version you use > > i think we must found the problem on gb.setting ... but i have not it here > > > 2014-07-13 12:56 GMT+02:00 Roki : >> Since the order ( myReport.Preview ) still does not work when you >> include gb.settings and gb.Report in project. I decided to do my >> ReportPreview using ReportView control. Now my question is next: >> >> When i open report control, in special tab is printer class. The >> question is, how can i use this class with current report. Can i set >> number of copies, and so on ... Is there any example how to use this ? >> >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard -- Fabien Bodard From karl.reinl at ...9... Sun Jul 13 16:27:26 2014 From: karl.reinl at ...9... (Karl Reinl) Date: Sun, 13 Jul 2014 16:27:26 +0200 Subject: [Gambas-user] printer.paper In-Reply-To: References: <1405203491.5880.2.camel@...40...> <53C1B55B.8090707@...1...> <1405204394.5880.6.camel@...40...> Message-ID: <1405261646.3490.13.camel@...40...> Am Sonntag, den 13.07.2014, 14:49 +0200 schrieb Fabien Bodard: > they are hard coded... > > 2014-07-13 0:33 GMT+02:00 Karl Reinl : > > Am Sonntag, den 13.07.2014, 00:23 +0200 schrieb Beno?t Minisini: > >> Le 13/07/2014 00:18, Karl Reinl a ?crit : > >> > Salut, > >> > > >> > do I have a chance to read out printer.paper sizes within gambas? > >> > > >> > >> No, but they normally should be standard paper sizes (i.e. A4 is always > >> 210mm x 297mm). > >> > > Ok, not good asked. > > > > do I have a chance to read out paper formats available for a printer, as > > used as list in printer.config dialog stored in printer.paper? > > -- > > Amicalement > > Charlie Thanks Fabien, yes, that what I also found out. gambas3 only know "A3","A4","A5","B5","Letter","Executive","Legal", all others are "Custom" with PaperHeight and PaperWidth set. I digged deeper and found out, for qt4: - you can't set paper to 0="Custom" (you get default Paper, here "A4") - if you write to Printer.PaperHeight and/or Printer.PaperWidth, Paper change to 0="Custom" - after Printer.configure() the printer object knows all his properties, as they where made during Printer.configure, but not Printer.NumCopies it is reset to 1 -- Amicalement Charlie From gambas.fr at ...626... Sun Jul 13 16:54:13 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 13 Jul 2014 16:54:13 +0200 Subject: [Gambas-user] printer.paper In-Reply-To: <1405261646.3490.13.camel@...40...> References: <1405203491.5880.2.camel@...40...> <53C1B55B.8090707@...1...> <1405204394.5880.6.camel@...40...> <1405261646.3490.13.camel@...40...> Message-ID: 2014-07-13 16:27 GMT+02:00 Karl Reinl : > Am Sonntag, den 13.07.2014, 14:49 +0200 schrieb Fabien Bodard: >> they are hard coded... >> >> 2014-07-13 0:33 GMT+02:00 Karl Reinl : >> > Am Sonntag, den 13.07.2014, 00:23 +0200 schrieb Beno?t Minisini: >> >> Le 13/07/2014 00:18, Karl Reinl a ?crit : >> >> > Salut, >> >> > >> >> > do I have a chance to read out printer.paper sizes within gambas? >> >> > >> >> >> >> No, but they normally should be standard paper sizes (i.e. A4 is always >> >> 210mm x 297mm). >> >> >> > Ok, not good asked. >> > >> > do I have a chance to read out paper formats available for a printer, as >> > used as list in printer.config dialog stored in printer.paper? >> > -- >> > Amicalement >> > Charlie > > Thanks Fabien, > > yes, that what I also found out. > gambas3 only know "A3","A4","A5","B5","Letter","Executive","Legal", all > others are "Custom" with PaperHeight and PaperWidth set. > > I digged deeper and found out, for qt4: > > - you can't set paper to 0="Custom" (you get default Paper, here "A4") > > - if you write to Printer.PaperHeight and/or Printer.PaperWidth, Paper > change to 0="Custom" > > - after Printer.configure() the printer object knows all his properties, > as they where made during Printer.configure, but not Printer.NumCopies > it is reset to 1 that's why i've began to redraw the configure for report > -- > Amicalement > Charlie > > > ------------------------------------------------------------------------------ > _______________________________________________ > 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... Sun Jul 13 17:46:07 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 13 Jul 2014 17:46:07 +0200 Subject: [Gambas-user] Report Question In-Reply-To: References: <53C265D8.1050204@...626...> Message-ID: ok can you try the last svn revision please 2014-07-13 15:09 GMT+02:00 Fabien Bodard : > well oups gambas ide have a bug here > > 2014-07-13 14:56 GMT+02:00 Fabien Bodard : >> hum roki ... >> >> can you tel me witch gambas version you use >> >> i think we must found the problem on gb.setting ... but i have not it here >> >> >> 2014-07-13 12:56 GMT+02:00 Roki : >>> Since the order ( myReport.Preview ) still does not work when you >>> include gb.settings and gb.Report in project. I decided to do my >>> ReportPreview using ReportView control. Now my question is next: >>> >>> When i open report control, in special tab is printer class. The >>> question is, how can i use this class with current report. Can i set >>> number of copies, and so on ... Is there any example how to use this ? >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> -- >> Fabien Bodard > > > > -- > Fabien Bodard -- Fabien Bodard From karl.reinl at ...9... Sun Jul 13 18:07:29 2014 From: karl.reinl at ...9... (Karl Reinl) Date: Sun, 13 Jul 2014 18:07:29 +0200 Subject: [Gambas-user] printer.paper In-Reply-To: References: <1405203491.5880.2.camel@...40...> <53C1B55B.8090707@...1...> <1405204394.5880.6.camel@...40...> <1405261646.3490.13.camel@...40...> Message-ID: <1405267649.3490.27.camel@...40...> Am Sonntag, den 13.07.2014, 16:54 +0200 schrieb Fabien Bodard: > 2014-07-13 16:27 GMT+02:00 Karl Reinl : > > Am Sonntag, den 13.07.2014, 14:49 +0200 schrieb Fabien Bodard: > >> they are hard coded... > >> > >> 2014-07-13 0:33 GMT+02:00 Karl Reinl : > >> > Am Sonntag, den 13.07.2014, 00:23 +0200 schrieb Beno?t Minisini: > >> >> Le 13/07/2014 00:18, Karl Reinl a ?crit : > >> >> > Salut, > >> >> > > >> >> > do I have a chance to read out printer.paper sizes within gambas? > >> >> > > >> >> > >> >> No, but they normally should be standard paper sizes (i.e. A4 is always > >> >> 210mm x 297mm). > >> >> > >> > Ok, not good asked. > >> > > >> > do I have a chance to read out paper formats available for a printer, as > >> > used as list in printer.config dialog stored in printer.paper? > >> > -- > >> > Amicalement > >> > Charlie > > > > Thanks Fabien, > > > > yes, that what I also found out. > > gambas3 only know "A3","A4","A5","B5","Letter","Executive","Legal", all > > others are "Custom" with PaperHeight and PaperWidth set. > > > > I digged deeper and found out, for qt4: > > > > - you can't set paper to 0="Custom" (you get default Paper, here "A4") > > > > - if you write to Printer.PaperHeight and/or Printer.PaperWidth, Paper > > change to 0="Custom" > > > > - after Printer.configure() the printer object knows all his properties, > > as they where made during Printer.configure, but not Printer.NumCopies > > it is reset to 1 > > that's why i've began to redraw the configure for report > Fabien, yes, that's fine, put if a page size other then "A3","A4","A5","B5","Letter","Executive","Legal" is chosen, means "Custom", how will you pass them to the printer object. Yes you can do it by Printer.PaperHeight and/or Printer.PaperWidth. But I think that there is something wrong in the printer.object. And I do not see the necessity to reset Printer.NumCopies to 1, and Printer.FirstPage and Printer.LastPage are kept. -- Amicalement Charlie From vuott at ...325... Sun Jul 13 18:08:49 2014 From: vuott at ...325... (Ru Vuott) Date: Sun, 13 Jul 2014 17:08:49 +0100 Subject: [Gambas-user] the last svn revision: #6373 Message-ID: <1405267729.42573.YahooMailBasic@...3271...> Hello, updating with last svn revision: #6373, I obtain this: Conflict discovered in file 'trunk/comp/src/gb.report/.info'. Select: (p) postpone, (df) show diff, (e) edit file, (m) merge, (mc) my side of conflict, (tc) their side of conflict, (s) show all options: Ehmmm.... what do you suggest ? Thanks vuott From Karl.Reinl at ...2345... Sun Jul 13 18:32:01 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 13 Jul 2014 18:32:01 +0200 Subject: [Gambas-user] the last svn revision: #6373 In-Reply-To: <1405267729.42573.YahooMailBasic@...3271...> References: <1405267729.42573.YahooMailBasic@...3271...> Message-ID: <1405269121.3490.30.camel@...40...> Am Sonntag, den 13.07.2014, 17:08 +0100 schrieb Ru Vuott: > Hello, > > updating with last svn revision: #6373, I obtain this: > > Conflict discovered in file 'trunk/comp/src/gb.report/.info'. > Select: (p) postpone, (df) show diff, (e) edit file, (m) merge, > (mc) my side of conflict, (tc) their side of conflict, > (s) show all options: > > > Ehmmm.... what do you suggest ? > > Thanks > vuott you made changes to the gb.report. (mc) mine-conflict - accept my version for all conflicts (same) (tc) theirs-conflict - accept their version for all conflicts (same) so enter tc -- Amicalement Charlie From pata.karlsson at ...626... Sun Jul 13 18:54:49 2014 From: pata.karlsson at ...626... (Patrik Karlsson) Date: Sun, 13 Jul 2014 18:54:49 +0200 Subject: [Gambas-user] yaya - yet another yahtzee In-Reply-To: <53C1C24A.1020101@...1887...> References: <53C1C24A.1020101@...1887...> Message-ID: 2014-07-13 1:18 GMT+02:00 Kevin Fishburne : > On 07/12/2014 12:56 PM, Patrik Karlsson wrote: > > My first Gambas project of any substance is becoming somewhat useful and > > I'm asking you for some feedback before I'm wrapping it up. > > > > It's a dice game based on the Yahtzee "structure" and it's easy to create > > similar dice games. > > Eg. > https://github.com/trixon/gambas-yaya/blob/master/gamedefs/default.json > I don't know how to play Yahtzee, but here are my suggestions: > > 1) Place a "Roll" button image in the bottom-right corner. > Let me think about that.. > 2) Create a default player so the user doesn't have to create one on > first run. > Will do, and I'll also make it easier to add new names on the fly. > 3) Decide on either a two-pane horizontal or two-pane vertical layout > with one pane containing the dice and the other pane containing the > "info grid" for lack of a better term. It currently requires scrolling > to see all the information. > Not today but I might do it in the future. Would you also have the dice stacked on each other in a vertical layout? You could reduce the font size so that you don't have to scroll. 4) If you move the mouse across the top edge of the collision box of the > "roll" area the hand graphic scrolls left and right repeatedly, which > while probably easy to fix is confusing when learning the interface. > You are right, there's something strange going on there. It should hide the hand when moving away from the dice panel, but not in that way. > 5) This is probably because I don't know what I'm doing, but after > several rolls the graphical UI becomes unresponsive, not allowing me to > roll again or right/left click on a die. If this is because I lost the > game there should be an OSD telling me that I lost. > That's my way of saying you have no more rolls and you have to register something in the scorecard. Below the player name there is a counter that goes 3/3 when there no more rolls left, in that round. > One final suggestion is that if you'd like to increase the "oooh aaah" > factor you might want to consider having a "3D mode" which uses OpenGL > to render the dice and board. You could even do some really simple > collision detection with the dice. > Nice idea but since I'm 3D challenged that will not happen any time soon. :) > Nice work and keep it up. > Thank you, and thanks for your feedback. /Patrik From gambas.fr at ...626... Sun Jul 13 19:13:34 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 13 Jul 2014 19:13:34 +0200 Subject: [Gambas-user] printer.paper In-Reply-To: <1405267649.3490.27.camel@...40...> References: <1405203491.5880.2.camel@...40...> <53C1B55B.8090707@...1...> <1405204394.5880.6.camel@...40...> <1405261646.3490.13.camel@...40...> <1405267649.3490.27.camel@...40...> Message-ID: > Fabien, > > yes, that's fine, put if a page size other then > "A3","A4","A5","B5","Letter","Executive","Legal" is chosen, means > "Custom", how will you pass them to the printer object. > > Yes you can do it by Printer.PaperHeight and/or Printer.PaperWidth. > > But I think that there is something wrong in the printer.object. > > And I do not see the necessity to reset Printer.NumCopies to 1, and > Printer.FirstPage and Printer.LastPage are kept. > > -- > Amicalement logicl. > Charlie > In fact there is something wrong with the printer.Configure toolbox. I'm agree for the numcopy problem... it's not logical. -- Fabien Bodard From gambas at ...1... Sun Jul 13 19:41:46 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 13 Jul 2014 19:41:46 +0200 Subject: [Gambas-user] Support for offline help Message-ID: <53C2C4DA.4000707@...1...> Hi, Since revision #6374, I added support for offline help in the IDE! How does it work? You have a new option in the option dialog to enable/disable offline help. If you enable it, then you get a button to download a tar.bz2 archive of the gambas wiki. This archive is then uncompressed inside your home directory (in '~/.local/share/gambas3/wiki' to be exact), and the HTML is generated on the fly while you browse the documentation. The archive is generated "by hand" at the moment on the wiki server. There is a timestamp file (http://gambaswiki.org/timestamp) so that the IDE know if the offline help is up to date. Please test it and report any problem, because this is very fresh code. :-) I hope you will enjoy this often requested feature. Regards, -- Beno?t Minisini From gambas at ...1... Sun Jul 13 19:43:00 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 13 Jul 2014 19:43:00 +0200 Subject: [Gambas-user] Support for offline help In-Reply-To: <53C2C4DA.4000707@...1...> References: <53C2C4DA.4000707@...1...> Message-ID: <53C2C524.5050308@...1...> Le 13/07/2014 19:41, Beno?t Minisini a ?crit : > Hi, > > Since revision #6374, I added support for offline help in the IDE! > > How does it work? > > You have a new option in the option dialog to enable/disable offline > help. If you enable it, then you get a button to download a tar.bz2 > archive of the gambas wiki. This archive is then uncompressed inside > your home directory (in '~/.local/share/gambas3/wiki' to be exact), and > the HTML is generated on the fly while you browse the documentation. > > The archive is generated "by hand" at the moment on the wiki server. > There is a timestamp file (http://gambaswiki.org/timestamp) so that the > IDE know if the offline help is up to date. > > Please test it and report any problem, because this is very fresh code. :-) > > I hope you will enjoy this often requested feature. > > Regards, > Note that the size of the archive to download is about 26MB. -- Beno?t Minisini From gambas at ...1... Sun Jul 13 19:43:45 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 13 Jul 2014 19:43:45 +0200 Subject: [Gambas-user] Support for offline help In-Reply-To: <53C2C524.5050308@...1...> References: <53C2C4DA.4000707@...1...> <53C2C524.5050308@...1...> Message-ID: <53C2C551.70908@...1...> Le 13/07/2014 19:43, Beno?t Minisini a ?crit : > Le 13/07/2014 19:41, Beno?t Minisini a ?crit : >> Hi, >> >> Since revision #6374, I added support for offline help in the IDE! >> >> How does it work? >> >> You have a new option in the option dialog to enable/disable offline >> help. If you enable it, then you get a button to download a tar.bz2 >> archive of the gambas wiki. This archive is then uncompressed inside >> your home directory (in '~/.local/share/gambas3/wiki' to be exact), and >> the HTML is generated on the fly while you browse the documentation. >> >> The archive is generated "by hand" at the moment on the wiki server. >> There is a timestamp file (http://gambaswiki.org/timestamp) so that the >> IDE know if the offline help is up to date. >> >> Please test it and report any problem, because this is very fresh code. :-) >> >> I hope you will enjoy this often requested feature. >> >> Regards, >> > > Note that the size of the archive to download is about 26MB. > ...and that only english is supported at the moment. -- Beno?t Minisini From jusabejusabe at ...626... Sun Jul 13 21:07:44 2014 From: jusabejusabe at ...626... (Julio Sanchez) Date: Sun, 13 Jul 2014 21:07:44 +0200 Subject: [Gambas-user] Support for offline help In-Reply-To: <53C2C551.70908@...1...> References: <53C2C4DA.4000707@...1...> <53C2C524.5050308@...1...> <53C2C551.70908@...1...> Message-ID: Thank you very much! 2014-07-13 19:43 GMT+02:00 Beno?t Minisini : > Le 13/07/2014 19:43, Beno?t Minisini a ?crit : > > Le 13/07/2014 19:41, Beno?t Minisini a ?crit : > >> Hi, > >> > >> Since revision #6374, I added support for offline help in the IDE! > >> > >> How does it work? > >> > >> You have a new option in the option dialog to enable/disable offline > >> help. If you enable it, then you get a button to download a tar.bz2 > >> archive of the gambas wiki. This archive is then uncompressed inside > >> your home directory (in '~/.local/share/gambas3/wiki' to be exact), and > >> the HTML is generated on the fly while you browse the documentation. > >> > >> The archive is generated "by hand" at the moment on the wiki server. > >> There is a timestamp file (http://gambaswiki.org/timestamp) so that the > >> IDE know if the offline help is up to date. > >> > >> Please test it and report any problem, because this is very fresh code. > :-) > >> > >> I hope you will enjoy this often requested feature. > >> > >> Regards, > >> > > > > Note that the size of the archive to download is about 26MB. > > > > ...and that only english is supported at the moment. > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sun Jul 13 22:04:14 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 13 Jul 2014 22:04:14 +0200 Subject: [Gambas-user] Printer.NumCopies not updated In-Reply-To: <1404764915.3452.3.camel@...40...> References: <1404764915.3452.3.camel@...40...> Message-ID: <53C2E63E.9000500@...1...> Le 07/07/2014 22:28, Karl Reinl a ?crit : > Salut Beno?t, > > Printer.NumCopies are not updated, after a change during Printer.Configure() > Hey, I finally fixed that in revision #6376 - well I think so, so tell me if I was right. Regards, -- Beno?t Minisini From karl.reinl at ...9... Sun Jul 13 23:05:37 2014 From: karl.reinl at ...9... (Karl Reinl) Date: Sun, 13 Jul 2014 23:05:37 +0200 Subject: [Gambas-user] Printer.NumCopies not updated In-Reply-To: <53C2E63E.9000500@...1...> References: <1404764915.3452.3.camel@...40...> <53C2E63E.9000500@...1...> Message-ID: <1405285537.3490.42.camel@...40...> Am Sonntag, den 13.07.2014, 22:04 +0200 schrieb Beno?t Minisini: > Le 07/07/2014 22:28, Karl Reinl a ?crit : > > Salut Beno?t, > > > > Printer.NumCopies are not updated, after a change during Printer.Configure() > > > > Hey, I finally fixed that in revision #6376 - well I think so, so tell > me if I was right. > > Regards, > oh my god! I work this hole day to figure out the problem, and you come late at night with the solution. ;?) without knowing the hole truth! Yes with revision #6376 Printer.NumCopies are available after closing Printer.Configure(). Thanks. What rests is, you can't set paper to 0="Custom" (you get default Paper, here "A4") Send you my demo quand m?me. -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: PrinterConfigTest-0.0.1.tar.gz Type: application/x-compressed-tar Size: 7636 bytes Desc: not available URL: From n.rogozarski at ...626... Mon Jul 14 00:12:49 2014 From: n.rogozarski at ...626... (Roki) Date: Mon, 14 Jul 2014 00:12:49 +0200 Subject: [Gambas-user] Report Question In-Reply-To: References: <53C265D8.1050204@...626...> Message-ID: <53C30461.5000907@...626...> Ok Fabien, This is my system information [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86_64 Distribution=Linux Mint 17 Qiana Desktop=GNOME Theme=QPlastique Language=en_US.UTF-8 Memory=3701M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 But I do not know how to check which revision of SVN I use. ( or do not know how to install :-[ ) Maybe I should try to install version 3.5.4 On 13.07.2014 17:46, Fabien Bodard wrote: > ok can you try the last svn revision please > > 2014-07-13 15:09 GMT+02:00 Fabien Bodard : >> well oups gambas ide have a bug here >> >> 2014-07-13 14:56 GMT+02:00 Fabien Bodard : >>> hum roki ... >>> >>> can you tel me witch gambas version you use >>> >>> i think we must found the problem on gb.setting ... but i have not it here >>> >>> >>> 2014-07-13 12:56 GMT+02:00 Roki : >>>> Since the order ( myReport.Preview ) still does not work when you >>>> include gb.settings and gb.Report in project. I decided to do my >>>> ReportPreview using ReportView control. Now my question is next: >>>> >>>> When i open report control, in special tab is printer class. The >>>> question is, how can i use this class with current report. Can i set >>>> number of copies, and so on ... Is there any example how to use this ? >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >>> >>> -- >>> Fabien Bodard >> >> >> -- >> Fabien Bodard > > From dheerajb.2020 at ...3358... Mon Jul 14 09:24:07 2014 From: dheerajb.2020 at ...3358... (Dheeraj B) Date: Mon, 14 Jul 2014 12:54:07 +0530 Subject: [Gambas-user] Error in creating installation package for CENTOS Message-ID: Hi, I am Dheeraj, I am new to gambas, i am a student doing my internship, i have only basic programming knowledge and i want to become a professional in programming. I am trying to develop a small app for centos and its actually a basic app with only buttons leading to open new form to display date and time, when i am creating a installation package for CENTOS i am getting an error saying creating installation package failed and the error as follows.. Creating package for Fedora / RedHat / CentOS. ======================================== Initializing ~/RPM directory. Creating source package. Creating .spec file. Creating package... rpmbuild -ba /root/RPM/SPECS/gambas3-mediaplayer.spec Executing(%prep): /bin/sh -e /root/RPM/tmp/rpm-tmp.wATFvq + umask 022 + cd /root/RPM/BUILD + rm -rf /root/RPM/BUILDROOT/gambas3-mediaplayer-0.0.1-1.i386 + cd /root/RPM/BUILD + rm -rf mediaplayer /bin/bzip2 -dc /root/RPM/SOURCES/gambas3-mediaplayer-0.0.1.tar.bz2 /bin/tar -xf - + STATUS=0 + [ 0 -ne 0 ] + cd mediaplayer + exit 0 Executing(%build): /bin/sh -e /root/RPM/tmp/rpm-tmp.q3TqsJ 022 + cd /root/RPM/BUILD + cd mediaplayer + /usr/bin/gbc3 -e -a -g -t -p -m -x OK + gba3 + exit 0 Executing(%install): /bin/sh -e /root/RPM/tmp/rpm-tmp.vzpEd3 022 + cd /root/RPM/BUILD + cd mediaplayer + install -d /root/RPM/BUILDROOT/gambas3-mediaplayer-0.0.1-1.i386//usr/lib/gambas3 + install -p mediaplayer.gambas /root/RPM/BUILDROOT/gambas3-mediaplayer-0.0.1-1.i386//usr/lib/gambas3/mediaplayer.gambas + install -p .component /root/RPM/BUILDROOT/gambas3-mediaplayer-0.0.1-1.i386//usr/lib/gambas3/mediaplayer.component cannot stat `.component': No such file or directory Bad exit status from /root/RPM/tmp/rpm-tmp.vzpEd3 (%install) RPM build errors: Bad exit status from /root/RPM/tmp/rpm-tmp.vzpEd3 (%install) The package build has failed. Package.MakeRpmPackage.1369: 'rpmbuild' has returned the following error code: 1 My system information as follows... [System]Gambas=3.5.3OperatingSystem=LinuxKernel=3.2.0-65-generic-paeArchitecture=x86Distribution=Ubuntu 12.04.4 LTSDesktop=?Theme=QWindowsLanguage=en_US.UTF-8Memory=1001M[Libraries]Cairo=libcairo.so.2.11000.2Curl=libcurl.so.4.2.0DBus=libdbus-1.so.3.5.8GStreamer=libgstreamer-0.10.so.0.30.0GStreamer=libgstreamer-1.0.so.0.1.0GTK+=libgtk-x11-2.0.so.0.2400.10Poppler=libpoppler.so.19.0.0Qt4=libQtCore.so.4.8.1 SDL=libSDL-1.2.so.0.11.3 Pls help me regarding this issue. Thanks in advance.Dheeraj b+919535643305 From gambas.fr at ...626... Mon Jul 14 15:36:17 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 14 Jul 2014 15:36:17 +0200 Subject: [Gambas-user] Report Question In-Reply-To: <53C30461.5000907@...626...> References: <53C265D8.1050204@...626...> <53C30461.5000907@...626...> Message-ID: no 3.5.4 it will change nothing for you look here for the svn : http://gambaswiki.org/wiki/install/ubuntu 2014-07-14 0:12 GMT+02:00 Roki : > Ok Fabien, This is my system information > > [System] > Gambas=3.5.90 > OperatingSystem=Linux > Kernel=3.13.0-24-generic > Architecture=x86_64 > Distribution=Linux Mint 17 Qiana > Desktop=GNOME > Theme=QPlastique > Language=en_US.UTF-8 > Memory=3701M > [Libraries] > Cairo=libcairo.so.2.11301.0 > Curl=libcurl.so.4.3.0 > DBus=libdbus-1.so.3.7.6 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.204.0 > GTK+3=libgtk-3.so.0.1000.8 > GTK+=libgtk-x11-2.0.so.0.2400.23 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.44.0.0 > Qt4=libQtCore.so.4.8.6 > SDL=libSDL-1.2.so.0.11.4 > > But I do not know how to check which revision of SVN I use. ( or do not > know how to install :-[ ) > Maybe I should try to install version 3.5.4 > > On 13.07.2014 17:46, Fabien Bodard wrote: >> ok can you try the last svn revision please >> >> 2014-07-13 15:09 GMT+02:00 Fabien Bodard : >>> well oups gambas ide have a bug here >>> >>> 2014-07-13 14:56 GMT+02:00 Fabien Bodard : >>>> hum roki ... >>>> >>>> can you tel me witch gambas version you use >>>> >>>> i think we must found the problem on gb.setting ... but i have not it here >>>> >>>> >>>> 2014-07-13 12:56 GMT+02:00 Roki : >>>>> Since the order ( myReport.Preview ) still does not work when you >>>>> include gb.settings and gb.Report in project. I decided to do my >>>>> ReportPreview using ReportView control. Now my question is next: >>>>> >>>>> When i open report control, in special tab is printer class. The >>>>> question is, how can i use this class with current report. Can i set >>>>> number of copies, and so on ... Is there any example how to use this ? >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> _______________________________________________ >>>>> Gambas-user mailing list >>>>> Gambas-user at lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> >>>> >>>> -- >>>> Fabien Bodard >>> >>> >>> -- >>> Fabien Bodard >> >> > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas at ...1... Mon Jul 14 16:07:50 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 14 Jul 2014 16:07:50 +0200 Subject: [Gambas-user] Error in creating installation package for CENTOS In-Reply-To: References: Message-ID: <53C3E436.3000504@...1...> Le 14/07/2014 09:24, Dheeraj B a ?crit : > Hi, I am Dheeraj, I am new to gambas, i am a student doing my > internship, i have only basic programming knowledge and i want to > become a professional in programming. I am trying to develop a small > app for centos and its actually a basic app with only buttons leading > to open new form to display date and time, when i am creating a > installation package for CENTOS i am getting an error saying creating > installation package failed and the error as follows.. > > Creating package for Fedora / RedHat / CentOS. > > Can you send your project? -- Beno?t Minisini From n.rogozarski at ...626... Mon Jul 14 19:47:40 2014 From: n.rogozarski at ...626... (Roki) Date: Mon, 14 Jul 2014 19:47:40 +0200 Subject: [Gambas-user] Report Question In-Reply-To: References: <53C265D8.1050204@...626...> <53C30461.5000907@...626...> Message-ID: <53C417BC.6030807@...626...> Thanks Fabian for quick response! I followed these instructions |"$ sudo apt-get install subversion" then i run ||$ svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk| result is : Checked out revision 6379. But now I can start Gambas. I tried to run through teminal, then return this error : "gbr3: unable to load component: gb.markdown" Do I have previously uninstall Gambas ? On 14.07.2014 15:36, Fabien Bodard wrote: > no 3.5.4 it will change nothing for you > > > look here for the svn : > > http://gambaswiki.org/wiki/install/ubuntu > > > > 2014-07-14 0:12 GMT+02:00 Roki : >> Ok Fabien, This is my system information >> >> [System] >> Gambas=3.5.90 >> OperatingSystem=Linux >> Kernel=3.13.0-24-generic >> Architecture=x86_64 >> Distribution=Linux Mint 17 Qiana >> Desktop=GNOME >> Theme=QPlastique >> Language=en_US.UTF-8 >> Memory=3701M >> [Libraries] >> Cairo=libcairo.so.2.11301.0 >> Curl=libcurl.so.4.3.0 >> DBus=libdbus-1.so.3.7.6 >> GStreamer=libgstreamer-0.10.so.0.30.0 >> GStreamer=libgstreamer-1.0.so.0.204.0 >> GTK+3=libgtk-3.so.0.1000.8 >> GTK+=libgtk-x11-2.0.so.0.2400.23 >> OpenGL=libGL.so.1.2.0 >> Poppler=libpoppler.so.44.0.0 >> Qt4=libQtCore.so.4.8.6 >> SDL=libSDL-1.2.so.0.11.4 >> >> But I do not know how to check which revision of SVN I use. ( or do not >> know how to install :-[ ) >> Maybe I should try to install version 3.5.4 >> >> On 13.07.2014 17:46, Fabien Bodard wrote: >>> ok can you try the last svn revision please >>> >>> 2014-07-13 15:09 GMT+02:00 Fabien Bodard : >>>> well oups gambas ide have a bug here >>>> >>>> 2014-07-13 14:56 GMT+02:00 Fabien Bodard : >>>>> hum roki ... >>>>> >>>>> can you tel me witch gambas version you use >>>>> >>>>> i think we must found the problem on gb.setting ... but i have not it here >>>>> >>>>> >>>>> 2014-07-13 12:56 GMT+02:00 Roki : >>>>>> Since the order ( myReport.Preview ) still does not work when you >>>>>> include gb.settings and gb.Report in project. I decided to do my >>>>>> ReportPreview using ReportView control. Now my question is next: >>>>>> >>>>>> When i open report control, in special tab is printer class. The >>>>>> question is, how can i use this class with current report. Can i set >>>>>> number of copies, and so on ... Is there any example how to use this ? >>>>>> >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> _______________________________________________ >>>>>> Gambas-user mailing list >>>>>> Gambas-user at lists.sourceforge.net >>>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>>> >>>>> -- >>>>> Fabien Bodard >>>> >>>> -- >>>> Fabien Bodard >>> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > From gambas.fr at ...626... Mon Jul 14 21:02:52 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 14 Jul 2014 21:02:52 +0200 Subject: [Gambas-user] Report Question In-Reply-To: <53C417BC.6030807@...626...> References: <53C265D8.1050204@...626...> <53C30461.5000907@...626...> <53C417BC.6030807@...626...> Message-ID: Yes Le 14 juil. 2014 19:48, "Roki" a ?crit : > Thanks Fabian for quick response! > I followed these instructions > > |"$ sudo apt-get install subversion" > then i run > ||$ svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk| > result is : Checked out revision 6379. > > But now I can start Gambas. I tried to run through teminal, then > return this error : "gbr3: unable to load component: gb.markdown" > Do I have previously uninstall Gambas ? > > > On 14.07.2014 15:36, Fabien Bodard wrote: > > no 3.5.4 it will change nothing for you > > > > > > look here for the svn : > > > > http://gambaswiki.org/wiki/install/ubuntu > > > > > > > > 2014-07-14 0:12 GMT+02:00 Roki : > >> Ok Fabien, This is my system information > >> > >> [System] > >> Gambas=3.5.90 > >> OperatingSystem=Linux > >> Kernel=3.13.0-24-generic > >> Architecture=x86_64 > >> Distribution=Linux Mint 17 Qiana > >> Desktop=GNOME > >> Theme=QPlastique > >> Language=en_US.UTF-8 > >> Memory=3701M > >> [Libraries] > >> Cairo=libcairo.so.2.11301.0 > >> Curl=libcurl.so.4.3.0 > >> DBus=libdbus-1.so.3.7.6 > >> GStreamer=libgstreamer-0.10.so.0.30.0 > >> GStreamer=libgstreamer-1.0.so.0.204.0 > >> GTK+3=libgtk-3.so.0.1000.8 > >> GTK+=libgtk-x11-2.0.so.0.2400.23 > >> OpenGL=libGL.so.1.2.0 > >> Poppler=libpoppler.so.44.0.0 > >> Qt4=libQtCore.so.4.8.6 > >> SDL=libSDL-1.2.so.0.11.4 > >> > >> But I do not know how to check which revision of SVN I use. ( or do not > >> know how to install :-[ ) > >> Maybe I should try to install version 3.5.4 > >> > >> On 13.07.2014 17:46, Fabien Bodard wrote: > >>> ok can you try the last svn revision please > >>> > >>> 2014-07-13 15:09 GMT+02:00 Fabien Bodard : > >>>> well oups gambas ide have a bug here > >>>> > >>>> 2014-07-13 14:56 GMT+02:00 Fabien Bodard : > >>>>> hum roki ... > >>>>> > >>>>> can you tel me witch gambas version you use > >>>>> > >>>>> i think we must found the problem on gb.setting ... but i have not > it here > >>>>> > >>>>> > >>>>> 2014-07-13 12:56 GMT+02:00 Roki : > >>>>>> Since the order ( myReport.Preview ) still does not work when you > >>>>>> include gb.settings and gb.Report in project. I decided to do my > >>>>>> ReportPreview using ReportView control. Now my question is next: > >>>>>> > >>>>>> When i open report control, in special tab is printer class. The > >>>>>> question is, how can i use this class with current report. Can i set > >>>>>> number of copies, and so on ... Is there any example how to use > this ? > >>>>>> > >>>>>> > >>>>>> > >>>>>> > ------------------------------------------------------------------------------ > >>>>>> _______________________________________________ > >>>>>> Gambas-user mailing list > >>>>>> Gambas-user at lists.sourceforge.net > >>>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>>>> > >>>>> -- > >>>>> Fabien Bodard > >>>> > >>>> -- > >>>> Fabien Bodard > >>> > >> > >> > ------------------------------------------------------------------------------ > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck® > Code Sight™ - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From n.rogozarski at ...626... Tue Jul 15 00:30:55 2014 From: n.rogozarski at ...626... (Roki) Date: Tue, 15 Jul 2014 00:30:55 +0200 Subject: [Gambas-user] Report Question In-Reply-To: References: <53C265D8.1050204@...626...> <53C30461.5000907@...626...> <53C417BC.6030807@...626...> Message-ID: <53C45A1F.7040206@...626...> OK, I followed the instructions, most became clear to me, but when run ./reconf-all terminal returned the following : ./reconf-all: 7: ./reconf-all: libtoolize: not found autoreconf2.50: Entering directory `.' autoreconf2.50: configure.ac: not using Gettext autoreconf2.50: running: aclocal --output=aclocal.m4t Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 326. autoreconf2.50: failed to run aclocal: No such file or directory Looks like I have done something screwy!!!:-( Or maybe I want to learn too many things at once more soon! On 14.07.2014 21:02, Fabien Bodard wrote: > Yes > Le 14 juil. 2014 19:48, "Roki" a ?crit : > >> Thanks Fabian for quick response! >> I followed these instructions >> >> |"$ sudo apt-get install subversion" >> then i run >> ||$ svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk| >> result is : Checked out revision 6379. >> >> But now I can start Gambas. I tried to run through teminal, then >> return this error : "gbr3: unable to load component: gb.markdown" >> Do I have previously uninstall Gambas ? >> >> >> On 14.07.2014 15:36, Fabien Bodard wrote: >>> no 3.5.4 it will change nothing for you >>> >>> >>> look here for the svn : >>> >>> http://gambaswiki.org/wiki/install/ubuntu >>> >>> >>> >>> 2014-07-14 0:12 GMT+02:00 Roki : >>>> Ok Fabien, This is my system information >>>> >>>> [System] >>>> Gambas=3.5.90 >>>> OperatingSystem=Linux >>>> Kernel=3.13.0-24-generic >>>> Architecture=x86_64 >>>> Distribution=Linux Mint 17 Qiana >>>> Desktop=GNOME >>>> Theme=QPlastique >>>> Language=en_US.UTF-8 >>>> Memory=3701M >>>> [Libraries] >>>> Cairo=libcairo.so.2.11301.0 >>>> Curl=libcurl.so.4.3.0 >>>> DBus=libdbus-1.so.3.7.6 >>>> GStreamer=libgstreamer-0.10.so.0.30.0 >>>> GStreamer=libgstreamer-1.0.so.0.204.0 >>>> GTK+3=libgtk-3.so.0.1000.8 >>>> GTK+=libgtk-x11-2.0.so.0.2400.23 >>>> OpenGL=libGL.so.1.2.0 >>>> Poppler=libpoppler.so.44.0.0 >>>> Qt4=libQtCore.so.4.8.6 >>>> SDL=libSDL-1.2.so.0.11.4 >>>> >>>> But I do not know how to check which revision of SVN I use. ( or do not >>>> know how to install :-[ ) >>>> Maybe I should try to install version 3.5.4 >>>> >>>> On 13.07.2014 17:46, Fabien Bodard wrote: >>>>> ok can you try the last svn revision please >>>>> >>>>> 2014-07-13 15:09 GMT+02:00 Fabien Bodard : >>>>>> well oups gambas ide have a bug here >>>>>> >>>>>> 2014-07-13 14:56 GMT+02:00 Fabien Bodard : >>>>>>> hum roki ... >>>>>>> >>>>>>> can you tel me witch gambas version you use >>>>>>> >>>>>>> i think we must found the problem on gb.setting ... but i have not >> it here >>>>>>> >>>>>>> 2014-07-13 12:56 GMT+02:00 Roki : >>>>>>>> Since the order ( myReport.Preview ) still does not work when you >>>>>>>> include gb.settings and gb.Report in project. I decided to do my >>>>>>>> ReportPreview using ReportView control. Now my question is next: >>>>>>>> >>>>>>>> When i open report control, in special tab is printer class. The >>>>>>>> question is, how can i use this class with current report. Can i set >>>>>>>> number of copies, and so on ... Is there any example how to use >> this ? >>>>>>>> >>>>>>>> >>>>>>>> >> ------------------------------------------------------------------------------ >>>>>>>> _______________________________________________ >>>>>>>> Gambas-user mailing list >>>>>>>> Gambas-user at lists.sourceforge.net >>>>>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>>>>> -- >>>>>>> Fabien Bodard >>>>>> -- >>>>>> Fabien Bodard >>>> >> ------------------------------------------------------------------------------ >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> >> ------------------------------------------------------------------------------ >> Want fast and easy access to all the code in your enterprise? Index and >> search up to 200,000 lines of code with a free copy of Black Duck® >> Code Sight™ - the same software that powers the world's largest code >> search on Ohloh, the Black Duck Open Hub! Try it now. >> http://p.sf.net/sfu/bds >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck® > Code Sight™ - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bbruen at ...2308... Tue Jul 15 00:52:26 2014 From: bbruen at ...2308... (B Bruen) Date: Tue, 15 Jul 2014 08:22:26 +0930 Subject: [Gambas-user] Color Message-ID: <20140715082226.213ff65910fb8da55a738b1d@...2308...> I am working on a project where the colors used on the forms need to be adjusted for different ambient light situations, "low light" and "daylight". (The application is used outdoors at dawn and during the day. So at dawn we need to have a fairly dull and low contrast set of colors so the user does not have to adjust their vision between a very "bright" screen and the low light view of the racehorse in training. Alternatively, during the day we need a higher contrast set of colors so the screen is readable.) Up to now we have used two copies of the application to achieve the desired result. So I want instead to use gb.settings to hold the two color sets and load the selected set from a toggle button on the main form. I have overridden the Color class to make the gb.qt4 color names (e.g. SelectedBackground) read/write. This seems to work perfectly, but I have the following problems: 1) I'd like to define some new color names (e.g. DarkBackground) as there is just not enough standard color names to do all I need. This is not a problem with the Color override as I can define as many different names as I like. My problem is the IDE. It wont let me type a color name in the Background field on the properties panel, the only way to set a color name is via the button and the "Select a Color" popup which, of course, has never heard of my "DarkBackground" color. So, is the textbox part of the Background property control really read only or have I done something silly to our local version of the IDE? 2) I can't work out how the background/foreground colors are set when they are "default". Any clues? 3) Is there some way to change the highlight color used for the selected row in list type controls, e.g. a gridview. The standard dark color is close to our lowlight background, so the selected row is impossible to discern. Id like to use a lighter version of the selected highlight. In fact it would be nice to change the entire style of the selected row, e.g. bold,+1 font but I don't think that is possible. 4) Some controls, e.g. DirChooser, don't set the background color according to the Background property. It seems to set the background color of the bar at the top of the chooser. Is there any reason for this? tia Bruce -- B Bruen From kevinfishburne at ...1887... Tue Jul 15 01:48:58 2014 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Mon, 14 Jul 2014 19:48:58 -0400 Subject: [Gambas-user] yaya - yet another yahtzee In-Reply-To: References: <53C1C24A.1020101@...1887...> Message-ID: <53C46C6A.8080000@...1887...> On 07/13/2014 12:54 PM, Patrik Karlsson wrote: > 2014-07-13 1:18 GMT+02:00 Kevin Fishburne : > >> 3) Decide on either a two-pane horizontal or two-pane vertical layout >> with one pane containing the dice and the other pane containing the >> "info grid" for lack of a better term. It currently requires scrolling >> to see all the information. > Not today but I might do it in the future. Would you also have the dice > stacked on each other in a vertical layout? > You could reduce the font size so that you don't have to scroll. I kinda like the right-to-left rolling for the dice, but whatever floats your boat. Something interesting I just noticed is that the window is resizeable and remembers its dimensions after being closed. While this is nice, the window elements don't reposition or scale well. I'd track the window's width and height and designate areas based on percentages of the width and height for each element. An example for the "info grid" with X1/Y1 being the upper-left corner and X2/Y2 being the lower-right corner: X1 = Width * 0.125 Y1 = Height * 0.125 X2 = Width * 0.25 Y2 = Height * 0.875 This would place the info grid on the left side, stretching from top to bottom, with a small edge border and a width approximately 25% of the window. The same could be done for the dice area and the hand graphic (separately), using the remaining 75% of the window width. Just be sure to maintain the aspect ratio for images so they don't stretch. >> 5) This is probably because I don't know what I'm doing, but after >> several rolls the graphical UI becomes unresponsive, not allowing me to >> roll again or right/left click on a die. If this is because I lost the >> game there should be an OSD telling me that I lost. >> > That's my way of saying you have no more rolls and you have to register > something in the scorecard. > Below the player name there is a counter that goes 3/3 when there no more > rolls left, in that round. With all due respect to myself, since I don't know how to play I can be considered an "idiot" in that respect. "Idiot-proofing" a game is always a good idea, so I still recommend having some kind of pop-up, in-your-face message when the user is doing something they're not supposed to be doing (like clicking on the dice repeatedly when they need to be registering something on the score card). >> One final suggestion is that if you'd like to increase the "oooh aaah" >> factor you might want to consider having a "3D mode" which uses OpenGL >> to render the dice and board. You could even do some really simple >> collision detection with the dice. > Nice idea but since I'm 3D challenged that will not happen any time soon. :) I'm thinking about putting together a small project to help people in this situation. There are some OpenGL demos packaged with GAMBAS, but they're more geared toward "doing something" than "showing people how to do something". Setting up a scene, drawing textured quads, setting material and lighting properties and drawing a modeled Wavefront .obj file are some basic things that need to be laid out clearly and simply. With those few things you can do a LOT. Once you realize how easy it is, and all the possibilities, you'll jump out of your chair in excitement; believe me. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From gambas.fr at ...626... Tue Jul 15 13:32:41 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 15 Jul 2014 13:32:41 +0200 Subject: [Gambas-user] Report Question In-Reply-To: <53C45A1F.7040206@...626...> References: <53C265D8.1050204@...626...> <53C30461.5000907@...626...> <53C417BC.6030807@...626...> <53C45A1F.7040206@...626...> Message-ID: $ sudo apt-get install build-essential g++ autoconf libbz2-dev libmysqlclient-dev unixodbc-dev libpq-dev libsqlite0-dev libsqlite3-dev libglib2.0-dev libgtk2.0-dev libcurl4-gnutls-dev libgtkglext1-dev libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsage-dev libxml2-dev libxslt1-dev librsvg2-dev libpoppler-dev libpoppler-glib-dev libasound2-dev libesd0-dev libdirectfb-dev libxtst-dev libffi-dev libqt4-dev libglew1.5-dev libimlib2-dev libv4l-dev libsdl-ttf2.0-dev libgnome-keyring-dev libgdk-pixbuf2.0-dev linux-libc-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libcairo2-dev libgsl0-dev libncurses5-dev libgmime-2.6-dev llvm-3.1-dev libalure-dev libgmp-dev libgtk-3-dev Try with this Le 15 juil. 2014 00:32, "Roki" a ?crit : > OK, I followed the instructions, most became clear to me, but when run > ./reconf-all terminal returned the following : > > ./reconf-all: 7: ./reconf-all: libtoolize: not found > autoreconf2.50: Entering directory `.' > autoreconf2.50: configure.ac: not using Gettext > autoreconf2.50: running: aclocal --output=aclocal.m4t > Can't exec "aclocal": No such file or directory at > /usr/share/autoconf/Autom4te/FileUtils.pm line 326. > autoreconf2.50: failed to run aclocal: No such file or directory > > > Looks like I have done something screwy!!!:-( > Or maybe I want to learn too many things at once more soon! > > On 14.07.2014 21:02, Fabien Bodard wrote: > > Yes > > Le 14 juil. 2014 19:48, "Roki" a ?crit : > > > >> Thanks Fabian for quick response! > >> I followed these instructions > >> > >> |"$ sudo apt-get install subversion" > >> then i run > >> ||$ svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk| > >> result is : Checked out revision 6379. > >> > >> But now I can start Gambas. I tried to run through teminal, > then > >> return this error : "gbr3: unable to load component: gb.markdown" > >> Do I have previously uninstall Gambas ? > >> > >> > >> On 14.07.2014 15:36, Fabien Bodard wrote: > >>> no 3.5.4 it will change nothing for you > >>> > >>> > >>> look here for the svn : > >>> > >>> http://gambaswiki.org/wiki/install/ubuntu > >>> > >>> > >>> > >>> 2014-07-14 0:12 GMT+02:00 Roki : > >>>> Ok Fabien, This is my system information > >>>> > >>>> [System] > >>>> Gambas=3.5.90 > >>>> OperatingSystem=Linux > >>>> Kernel=3.13.0-24-generic > >>>> Architecture=x86_64 > >>>> Distribution=Linux Mint 17 Qiana > >>>> Desktop=GNOME > >>>> Theme=QPlastique > >>>> Language=en_US.UTF-8 > >>>> Memory=3701M > >>>> [Libraries] > >>>> Cairo=libcairo.so.2.11301.0 > >>>> Curl=libcurl.so.4.3.0 > >>>> DBus=libdbus-1.so.3.7.6 > >>>> GStreamer=libgstreamer-0.10.so.0.30.0 > >>>> GStreamer=libgstreamer-1.0.so.0.204.0 > >>>> GTK+3=libgtk-3.so.0.1000.8 > >>>> GTK+=libgtk-x11-2.0.so.0.2400.23 > >>>> OpenGL=libGL.so.1.2.0 > >>>> Poppler=libpoppler.so.44.0.0 > >>>> Qt4=libQtCore.so.4.8.6 > >>>> SDL=libSDL-1.2.so.0.11.4 > >>>> > >>>> But I do not know how to check which revision of SVN I use. ( or do > not > >>>> know how to install :-[ ) > >>>> Maybe I should try to install version 3.5.4 > >>>> > >>>> On 13.07.2014 17:46, Fabien Bodard wrote: > >>>>> ok can you try the last svn revision please > >>>>> > >>>>> 2014-07-13 15:09 GMT+02:00 Fabien Bodard : > >>>>>> well oups gambas ide have a bug here > >>>>>> > >>>>>> 2014-07-13 14:56 GMT+02:00 Fabien Bodard : > >>>>>>> hum roki ... > >>>>>>> > >>>>>>> can you tel me witch gambas version you use > >>>>>>> > >>>>>>> i think we must found the problem on gb.setting ... but i have not > >> it here > >>>>>>> > >>>>>>> 2014-07-13 12:56 GMT+02:00 Roki : > >>>>>>>> Since the order ( myReport.Preview ) still does not work when you > >>>>>>>> include gb.settings and gb.Report in project. I decided to do my > >>>>>>>> ReportPreview using ReportView control. Now my question is next: > >>>>>>>> > >>>>>>>> When i open report control, in special tab is printer class. > The > >>>>>>>> question is, how can i use this class with current report. Can i > set > >>>>>>>> number of copies, and so on ... Is there any example how to use > >> this ? > >>>>>>>> > >>>>>>>> > >>>>>>>> > >> > ------------------------------------------------------------------------------ > >>>>>>>> _______________________________________________ > >>>>>>>> Gambas-user mailing list > >>>>>>>> Gambas-user at lists.sourceforge.net > >>>>>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>>>>>> -- > >>>>>>> Fabien Bodard > >>>>>> -- > >>>>>> Fabien Bodard > >>>> > >> > ------------------------------------------------------------------------------ > >>>> _______________________________________________ > >>>> Gambas-user mailing list > >>>> Gambas-user at lists.sourceforge.net > >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>> > >> > >> > ------------------------------------------------------------------------------ > >> Want fast and easy access to all the code in your enterprise? Index and > >> search up to 200,000 lines of code with a free copy of Black Duck® > >> Code Sight™ - the same software that powers the world's largest > code > >> search on Ohloh, the Black Duck Open Hub! Try it now. > >> http://p.sf.net/sfu/bds > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > ------------------------------------------------------------------------------ > > Want fast and easy access to all the code in your enterprise? Index and > > search up to 200,000 lines of code with a free copy of Black Duck® > > Code Sight™ - the same software that powers the world's largest code > > search on Ohloh, the Black Duck Open Hub! Try it now. > > http://p.sf.net/sfu/bds > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From Karl.Reinl at ...2345... Tue Jul 15 14:46:12 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Tue, 15 Jul 2014 14:46:12 +0200 Subject: [Gambas-user] DEVELOPMENT ENVIRONMENT using the file write permissions changes Message-ID: <1405428372.3474.14.camel@...40...> Salut Beno?t, Date: 2014-07-11 11:51:47 +0000 (Fri, 11 Jul 2014) Log Message: ----------- [DEVELOPMENT ENVIRONMENT] * NEW: All files can be "locked". This is implemented by using the file write permissions. The old form locking mechanism has been removed. since then, I find my linked programm-files always 'read only' after had open the target project. Using revision #6377 -- Amicalement Charlie From gambas at ...1... Tue Jul 15 14:49:28 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 15 Jul 2014 14:49:28 +0200 Subject: [Gambas-user] DEVELOPMENT ENVIRONMENT using the file write permissions changes In-Reply-To: <1405428372.3474.14.camel@...40...> References: <1405428372.3474.14.camel@...40...> Message-ID: <53C52358.5090700@...1...> Le 15/07/2014 14:46, Charlie Reinl a ?crit : > Salut Beno?t, > > > Date: 2014-07-11 11:51:47 +0000 (Fri, 11 Jul 2014) > Log Message: > ----------- > [DEVELOPMENT ENVIRONMENT] > * NEW: All files can be "locked". This is implemented by using the file > write permissions. The old form locking mechanism has been removed. > > > since then, I find my linked programm-files always 'read only' after had > open the target project. > > Using revision #6377 > What are you talking about exactly? -- Beno?t Minisini From gambas at ...1... Tue Jul 15 15:07:40 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 15 Jul 2014 15:07:40 +0200 Subject: [Gambas-user] Color In-Reply-To: <20140715082226.213ff65910fb8da55a738b1d@...2308...> References: <20140715082226.213ff65910fb8da55a738b1d@...2308...> Message-ID: <53C5279C.3060001@...1...> Le 15/07/2014 00:52, B Bruen a ?crit : > I am working on a project where the colors used on the forms need to > be adjusted for different ambient light situations, "low light" and > "daylight". (The application is used outdoors at dawn and during the > day. So at dawn we need to have a fairly dull and low contrast set of > colors so the user does not have to adjust their vision between a > very "bright" screen and the low light view of the racehorse in > training. Alternatively, during the day we need a higher contrast set > of colors so the screen is readable.) > > Up to now we have used two copies of the application to achieve the > desired result. So I want instead to use gb.settings to hold the two > color sets and load the selected set from a toggle button on the main > form. I have overridden the Color class to make the gb.qt4 color > names (e.g. SelectedBackground) read/write. This seems to work > perfectly, but I have the following problems: > > 1) I'd like to define some new color names (e.g. DarkBackground) as > there is just not enough standard color names to do all I need. This > is not a problem with the Color override as I can define as many > different names as I like. My problem is the IDE. It wont let me > type a color name in the Background field on the properties panel, > the only way to set a color name is via the button and the "Select a > Color" popup which, of course, has never heard of my "DarkBackground" > color. So, is the textbox part of the Background property control > really read only or have I done something silly to our local version > of the IDE? > You should not expect the IDE to be modified by your single own personal program. The pre-defined system colors are a common subset of system colors defined by QT4 and GTK+. Some of them, like Color.LightBackground and Color.LightForeground are actually a mix of two system colors. > 2) I can't work out how the background/foreground colors are set when > they are "default". Any clues? > "Default" means that Gambas does not try to define a background or a foreground color, and let the toolkit does its job. Usually, no background is drawn, and/or the color is taken from the parent control. > 3) Is there some way to change the highlight color used for the > selected row in list type controls, e.g. a gridview. The standard > dark color is close to our lowlight background, so the selected row > is impossible to discern. Id like to use a lighter version of the > selected highlight. In fact it would be nice to change the entire > style of the selected row, e.g. bold,+1 font but I don't think that > is possible. I will think about that. In the meantime, GridView being written in Gambas, you can take the source code, put it in your project, and modify it as you need. > > 4) Some controls, e.g. DirChooser, don't set the background color > according to the Background property. It seems to set the background > color of the bar at the top of the chooser. Is there any reason for > this? Yes, DirChooser is a compound control, so if I do nothing, the background color is not taken by the inner controls that uses the system TextBackground color (for example). I have to fix the controls case by case (i.e. decide which part of the compound control should take the global background color). Regards, -- Beno?t Minisini From Karl.Reinl at ...2345... Tue Jul 15 16:11:28 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Tue, 15 Jul 2014 16:11:28 +0200 Subject: [Gambas-user] DEVELOPMENT ENVIRONMENT using the file write permissions changes In-Reply-To: <53C52358.5090700@...1...> References: <1405428372.3474.14.camel@...40...> <53C52358.5090700@...1...> Message-ID: <1405433488.3474.25.camel@...40...> Am Dienstag, den 15.07.2014, 14:49 +0200 schrieb Beno?t Minisini: > Le 15/07/2014 14:46, Charlie Reinl a ?crit : > > Salut Beno?t, > > > > > > Date: 2014-07-11 11:51:47 +0000 (Fri, 11 Jul 2014) > > Log Message: > > ----------- > > [DEVELOPMENT ENVIRONMENT] > > * NEW: All files can be "locked". This is implemented by using the file > > write permissions. The old form locking mechanism has been removed. > > > > > > since then, I find my linked programm-files always 'read only' after had > > open the target project. > > > > Using revision #6377 > > > > What are you talking about exactly? > We can use symlinks from Forms, Modules or Classes say project A, in an other say project B. If you open project B the Form, Module or Classe is set to 'read only' in project A. Now if you change to project A you can't make changes on that files. No difference if close the IDE or change project. -- Amicalement Charlie From n.rogozarski at ...626... Tue Jul 15 16:38:35 2014 From: n.rogozarski at ...626... (Roki) Date: Tue, 15 Jul 2014 16:38:35 +0200 Subject: [Gambas-user] Report Question In-Reply-To: References: <53C265D8.1050204@...626...> <53C30461.5000907@...626...> <53C417BC.6030807@...626...> <53C45A1F.7040206@...626...> Message-ID: <53C53CEB.4040807@...626...> I tried but ... roki at ...3359... ~ $ sudo apt-get install build-essential g++ autoconf libbz2-dev libmysqlclient-dev unixodbc-dev libpq-dev libsqlite0-dev libsqlite3-dev libglib2.0-dev libgtk2.0-dev libcurl4-gnutls-dev libgtkglext1-dev libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsage-dev libxml2-dev libxslt1-dev librsvg2-dev libpoppler-dev libpoppler-glib-dev libasound2-dev libesd0-dev libdirectfb-dev libxtst-dev libffi-dev libqt4-dev libglew1.5-dev libimlib2-dev libv4l-dev libsdl-ttf2.0-dev libgnome-keyring-dev libgdk-pixbuf2.0-dev linux-libc-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libcairo2-dev libgsl0-dev libncurses5-dev libgmime-2.6-dev llvm-3.1-dev libalure-dev libgmp-dev Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'libglew-dev' instead of 'libglew1.5-dev' E: Unable to locate package llvm-3.1-dev E: Couldn't find any package by regex 'llvm-3.1-dev' Fabien, Thanks for your time!!! Since I have started some projects, I decided to go back to previously as it was to finish them. But now is also a problem. gambas not start. gbr3: unable to load component: gb.markdown On 15.07.2014 13:32, Fabien Bodard wrote: > sudo apt-get install build-essential g++ autoconf libbz2-dev > libmysqlclient-dev unixodbc-dev libpq-dev libsqlite0-dev libsqlite3-dev > libglib2.0-dev libgtk2.0-dev libcurl4-gnutls-dev libgtkglext1-dev > libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev > libsage-dev libxml2-dev libxslt1-dev librsvg2-dev libpoppler-dev > libpoppler-glib-dev libasound2-dev libesd0-dev libdirectfb-dev libxtst-dev > libffi-dev libqt4-dev libglew1.5-dev libimlib2-dev libv4l-dev > libsdl-ttf2.0-dev libgnome-keyring-dev libgdk-pixbuf2.0-dev linux-libc-dev > libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libcairo2-dev > libgsl0-dev libncurses5-dev libgmime-2.6-dev llvm-3.1-dev libalure-dev > libgmp-dev libgtk-3-dev From sotema at ...626... Tue Jul 15 16:46:24 2014 From: sotema at ...626... (Emanuele Sottocorno) Date: Tue, 15 Jul 2014 16:46:24 +0200 Subject: [Gambas-user] Report Question In-Reply-To: <53C53CEB.4040807@...626...> References: <53C265D8.1050204@...626...> <53C30461.5000907@...626...> <53C417BC.6030807@...626...> <53C45A1F.7040206@...626...> <53C53CEB.4040807@...626...> Message-ID: <53C53EC0.4050607@...626...> Il 15/07/2014 16:38, Roki ha scritto: > I tried but ... > > roki at ...3359... ~ $ sudo apt-get install build-essential g++ autoconf > libbz2-dev libmysqlclient-dev unixodbc-dev libpq-dev libsqlite0-dev > libsqlite3-dev libglib2.0-dev libgtk2.0-dev libcurl4-gnutls-dev > libgtkglext1-dev libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev > libsdl-image1.2-dev libsage-dev libxml2-dev libxslt1-dev librsvg2-dev > libpoppler-dev libpoppler-glib-dev libasound2-dev libesd0-dev > libdirectfb-dev libxtst-dev libffi-dev libqt4-dev libglew1.5-dev > libimlib2-dev libv4l-dev libsdl-ttf2.0-dev libgnome-keyring-dev > libgdk-pixbuf2.0-dev linux-libc-dev libgstreamer1.0-dev > libgstreamer-plugins-base1.0-dev libcairo2-dev libgsl0-dev > libncurses5-dev libgmime-2.6-dev llvm-3.1-dev libalure-dev libgmp-dev > Reading package lists... Done > Building dependency tree > Reading state information... Done > Note, selecting 'libglew-dev' instead of 'libglew1.5-dev' > E: Unable to locate package llvm-3.1-dev > E: Couldn't find any package by regex 'llvm-3.1-dev' use llvm-3.3-dev > > Fabien, Thanks for your time!!! > > Since I have started some projects, I decided to go back to previously > as it was to finish them. But now is also a problem. gambas not start. > > gbr3: unable to load component: gb.markdown > > > On 15.07.2014 13:32, Fabien Bodard wrote: >> sudo apt-get install build-essential g++ autoconf libbz2-dev >> libmysqlclient-dev unixodbc-dev libpq-dev libsqlite0-dev libsqlite3-dev >> libglib2.0-dev libgtk2.0-dev libcurl4-gnutls-dev libgtkglext1-dev >> libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev >> libsage-dev libxml2-dev libxslt1-dev librsvg2-dev libpoppler-dev >> libpoppler-glib-dev libasound2-dev libesd0-dev libdirectfb-dev libxtst-dev >> libffi-dev libqt4-dev libglew1.5-dev libimlib2-dev libv4l-dev >> libsdl-ttf2.0-dev libgnome-keyring-dev libgdk-pixbuf2.0-dev linux-libc-dev >> libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libcairo2-dev >> libgsl0-dev libncurses5-dev libgmime-2.6-dev llvm-3.1-dev libalure-dev >> libgmp-dev libgtk-3-dev > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...2524... Tue Jul 15 17:11:01 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 15 Jul 2014 15:11:01 +0000 Subject: [Gambas-user] Issue 537 in gambas: (Exec - for Read Write As "Process") Don't work Message-ID: <0-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-3.5.0 Dist-Ubuntu Priority-High New issue 537 by pato.... at ...626...: (Exec - for Read Write As "Process") Don't work http://code.google.com/p/gambas/issues/detail?id=537 ---------------------------------------------PROBLEM START This code don't work; $hProcess = Exec ["mplayer", "-wid", CStr(dwgMoviePlayer.Handle), Conv$(sPath, Desktop.Charset, System.Charset)] For Read Write As "Process" but if i take off the "FOR READ WRITE AS 'PROCESS'"; $hProcess = Exec ["mplayer", "-wid", CStr(dwgMoviePlayer.Handle), Conv$(sPath, Desktop.Charset, System.Charset)] the code works fine. but i need the last code, for handle the function of mplayer. ---------------------------------------------PROBLEM END --------------------------------------------- ---------------------------------------------SYSTEM INFORMATION START [System] Gambas=3.5.3 OperatingSystem=Linux Kernel=3.11.0-24-generic Architecture=x86 Distribution=Ubuntu 12.04.4 LTS Desktop=GNOME Theme=QGtk Language=es_CL.UTF-8 Memory=5760M [Libraries] Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.1.0 GTK+=libgtk-x11-2.0.so.0.2400.10 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.19.0.0 Qt4=libQtCore.so.4.8.1 SDL=libSDL-1.2.so.0.11.3 ---------------------------------------------SYSTEM INFORMATION END --------------------------------------------- ---------------------------------------------CODE START Static Private $hProcess As Process Public sPath As String ' Gambas class file Public Sub _new() End Public Sub Form_Open() End Public Sub Process_read() Dim sData As String sData = Read #Last, -255 'Raise mpOutput(sData) ' We delegate the output parsing to a listener End Public Sub Process_kill() $hProcess = Null End Public Sub Button1_Click() sPath = User.Home &/ "PULCINO PIO - El Pollito Pio.mp4" Try $hProcess = Exec ["mplayer", "-slave", "-idle", "-quiet", "-wid", CStr(dwgMoviePlayer.Handle), Conv$(sPath, Desktop.Charset, System.Charset)] For Read Write As "Process" If Error Then Print "error" Endif End Public Sub dwgMoviePlayer_Draw() End ---------------------------------------------CODE END Required: -Form (Form) -buttom (buttom1) -DrawingArea1 (dwgMoviePlayer) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Tue Jul 15 17:23:36 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 15 Jul 2014 15:23:36 +0000 Subject: [Gambas-user] Issue 537 in gambas: (Exec - for Read Write As "Process") Don't work In-Reply-To: <0-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> Comment #1 on issue 537 by jussi.la... at ...626...: (Exec - for Read Write As "Process") Don't work http://code.google.com/p/gambas/issues/detail?id=537 What "doesn't work" means exactly? Error messages? Can you attach runnable project to demonstrate the problem? -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Tue Jul 15 17:34:41 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 15 Jul 2014 15:34:41 +0000 Subject: [Gambas-user] Issue 537 in gambas: (Exec - for Read Write As "Process") Don't work In-Reply-To: <1-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> <0-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> Comment #2 on issue 537 by pato.... at ...626...: (Exec - for Read Write As "Process") Don't work http://code.google.com/p/gambas/issues/detail?id=537 that code, should play a video, at the same time can kill the process, see the info about the video like position, duration, and more. that code it's all the program, u need to put a mp4 video and the var sPath = "location". so the problem is; i used that code before and work fine, but now i can't. if i take off the code 'for read write as "process"' it work, but can't handle the function of mplayer. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Tue Jul 15 18:23:03 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 15 Jul 2014 16:23:03 +0000 Subject: [Gambas-user] Issue 537 in gambas: (Exec - for Read Write As "Process") Don't work In-Reply-To: <2-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> <0-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> Comment #3 on issue 537 by jussi.la... at ...626...: (Exec - for Read Write As "Process") Don't work http://code.google.com/p/gambas/issues/detail?id=537 What does that mean exactly? Process isn't created? Event isn't raised? The program crashes? Or..? Can you attach runnable project to demonstrate the problem? -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Tue Jul 15 18:38:22 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 15 Jul 2014 16:38:22 +0000 Subject: [Gambas-user] Issue 537 in gambas: (Exec - for Read Write As "Process") Don't work In-Reply-To: <3-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> <0-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> Comment #4 on issue 537 by pato.... at ...626...: (Exec - for Read Write As "Process") Don't work http://code.google.com/p/gambas/issues/detail?id=537 i don't know exactly. it's like don't do anything. Console stay clear. but if i remove "for read write as 'process'" show the info of mplayer and work fine, its just i can't do anythin with the info, because don't have the read & write option. the program don't crash. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Tue Jul 15 19:41:55 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 15 Jul 2014 17:41:55 +0000 Subject: [Gambas-user] Issue 537 in gambas: (Exec - for Read Write As "Process") Don't work In-Reply-To: <4-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> <0-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> Comment #5 on issue 537 by jussi.la... at ...626...: (Exec - for Read Write As "Process") Don't work http://code.google.com/p/gambas/issues/detail?id=537 Console stays clear because you haven't write print command in read event. Try: Print sData Or declare the process as 'For Write As "Process"'. Not sure this is really a bug. mplayer seems to exit when it's output is directed to read event. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From Gambas at ...1950... Tue Jul 15 19:27:08 2014 From: Gambas at ...1950... (Caveat) Date: Tue, 15 Jul 2014 19:27:08 +0200 Subject: [Gambas-user] Gambas 3.5.4 and the Stable PPA In-Reply-To: References: <1405194825.14146.7.camel@...3024...> Message-ID: <53C5646C.3090902@...1950...> I have Ubuntu here, was hoping someone else would volunteer first so I didn't have to... :-D I haven't packaged before but know my way around bash scripts, svn, git and the like. Let me know what I can do to help (bear in mind I may need a little help to get me going in the right direction but I'm a quick learner and know Ubuntu already for many years) Kind regards, Caveat On 12/07/14 22:41, Sebastian Kulesz wrote: > On Sat, Jul 12, 2014 at 4:53 PM, Willy Raets > wrote: > >> On za, 2014-07-12 at 02:38 -0300, Sebastian Kulesz wrote: >>> Hey! Long time no see. >>> >>> I got word a few hours ago that Kendek won't be maintaining the Stable >> PPA >>> any more. Instead, he created a new PPA under the gambas-team Launchpad >>> name and uploaded the current stable (3.5.3) packages so they can be >>> updated by us. >> I've seen his PPA has been archived and mailed him. He told me the same. >> >>> The thing is, I don't have ubuntu installed in my computer as i don't >> need >>> it to manage the Daily Builds PPA. The problem arises when trying to push >>> Gambas 3.5.4 to the Stable PPA using the same method i'm using for the >>> Daily Builds. To do this, i have to bisect 3 repositories to find the >>> revision which corresponds to the release of the 5.* branch. Right now, >>> this repositories correspond to the next release of Gambas (3.6). So, >> even >>> if i were to do the bisection and find the working revision, the builds >>> would still differ from the one Kendek made. >> Could you not simply take from svn 3.5 branch, instead of picking >> revisions, or am I understanding this wrong? >> > We are talking about different repositories. I will use a different method > to package Gambas because i don't have ubuntu installed. Some of the > advantages are the ones i explained in the first email. I can't use the > same method as kendek because i don't have ubuntu installed. > Currently, there is a common branch which holds common files from the > /debian folder used to generate the source files, and the series specific > repositories for each ubuntu version we support in the PPA. You can look > here [0] for those. > > The thing is, these repositories are in sync with trunk, they hold the new > components information, installation rules and dependencies. I don't track > minor version releases because it is pointless to do so for the Daily > Builds PPA. So, to build for the Stable PPA, i have to go back in history > an look for the first change made to the packaging structure for Gambas > 3.5.99, aka 3.6. > > >>> Because of this, I decided not to package this release in the new PPA for >>> now. Different package methods can introduce bugs that should not exist >> in >>> a stable distribution. >>> Don't get me wrong, with enough time, i know it can be done. But i'm >>> currently studying for finals and time is really scarce. >> I'm glad you are willing to take up this job, but your finals go first, >> so we will be patient.:) >> > I will be done next thursday. As soon as i get home i will start working on > a fix for the stable PPA. > > >>> If anybody is up for the job, please let me know. If it's not too time >>> consuming i will do my best to help get it done. >> I wish I knew how to package, have been reading about it and was advised >> to start with simple packages. Packaging Gambas doesn't seem a good >> point of start for learning how to package debs in general. >> >> >>> Next week, once i'm done, i will fix the repositories to also build the >>> Stable releases, but until the next major release I won't label it as >>> stable. I don't want to put extra work where it is not needed. >>> >>> Bad news aside, this move brings the possibility for automatic Beta >> builds. >>> This ones will be based off the current stable branch, and be updated >> every >>> time there is a merge from trunk to backport a bugfix. >>> This shortens the window of getting a fix for a stopping bug from months >> to >>> 24 hours! :) >>> >> Sounds promising, looking forward to it and thanks for your efforts to >> get Gambas latest stable available on Ubuntu and its siblings... >> >> -- >> Kind regards, >> >> Willy (aka gbWilly) >> >> http://gambasshowcase.org/ >> http://howtogambas.org >> http://gambos.org >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > [0] https://code.launchpad.net/~gambas-team > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > . > From gambas at ...2524... Tue Jul 15 20:02:55 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 15 Jul 2014 18:02:55 +0000 Subject: [Gambas-user] Issue 537 in gambas: (Exec - for Read Write As "Process") Don't work In-Reply-To: <5-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> <0-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> Comment #6 on issue 537 by pato.... at ...626...: (Exec - for Read Write As "Process") Don't work http://code.google.com/p/gambas/issues/detail?id=537 Print, and still its clear. yeah i can declare 'for write as "process"' and works. but can't kill the process. just play but i can't handle mplayer. i use this code before on ubuntu 10.04 and gambas3 and work perfect. the problem is in read option. i will search more info. i thought that was a bug, because before works fine, and now the same code don't work. PS: i format my system like 4 days ago and have OS + mplayer + gambas3. thx for the help =) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Tue Jul 15 20:09:58 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 15 Jul 2014 18:09:58 +0000 Subject: [Gambas-user] Issue 537 in gambas: (Exec - for Read Write As "Process") Don't work In-Reply-To: <6-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> <0-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> Comment #7 on issue 537 by jussi.la... at ...626...: (Exec - for Read Write As "Process") Don't work http://code.google.com/p/gambas/issues/detail?id=537 No, read is only for reading the process. If you want to send commands for mplayer you need write permission. If you want to quit the mplayer just send "q" for it: Print #$hProcess, "q" -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Tue Jul 15 20:22:11 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 15 Jul 2014 18:22:11 +0000 Subject: [Gambas-user] Issue 537 in gambas: (Exec - for Read Write As "Process") Don't work In-Reply-To: <7-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> References: <7-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> <0-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> Message-ID: <8-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> Comment #8 on issue 537 by pato.... at ...626...: (Exec - for Read Write As "Process") Don't work http://code.google.com/p/gambas/issues/detail?id=537 yeah, but crash. the msg is "Null object" for $hProcess. And the video is playing. thx u very much for the help =D. i will be back in 3 hrs. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Tue Jul 15 20:29:26 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 15 Jul 2014 18:29:26 +0000 Subject: [Gambas-user] Issue 537 in gambas: (Exec - for Read Write As "Process") Don't work In-Reply-To: <8-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> References: <8-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> <0-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> Message-ID: <9-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> Comment #9 on issue 537 by jussi.la... at ...626...: (Exec - for Read Write As "Process") Don't work http://code.google.com/p/gambas/issues/detail?id=537 Without you sending the project, I cannot know why you have such problems. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From Karl.Reinl at ...2345... Tue Jul 15 22:19:30 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Tue, 15 Jul 2014 22:19:30 +0200 Subject: [Gambas-user] I'v get a #11 In-Reply-To: <53C52358.5090700@...1...> References: <1405428372.3474.14.camel@...40...> <53C52358.5090700@...1...> Message-ID: <1405455570.3485.4.camel@...40...> Salut Beno?t, here the project a gdb log and a valgrid log -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: gdb_bt_out.log Type: text/x-log Size: 2523 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: PrinterConfig-0.0.4.tar.gz Type: application/x-compressed-tar Size: 9826 bytes Desc: not available URL: -------------- next part -------------- ==5009== Memcheck, a memory error detector ==5009== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al. ==5009== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info ==5009== Command: gbx3 ==5009== ==5009== Invalid read of size 4 ==5009== at 0x61554A2: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==5009== by 0x6157B09: FcConfigFilename (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==5009== by 0x616C1EB: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==5009== by 0x6161065: FcInitLoadConfig (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==5009== by 0x6161188: FcInitLoadConfigAndFonts (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==5009== by 0x616140C: FcInit (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==5009== by 0x5447608: ??? (in /usr/lib/i386-linux-gnu/libQtGui.so.4.8.1) ==5009== by 0x53C8C0B: QApplicationPrivate::construct(_XDisplay*, unsigned long, unsigned long) (in /usr/lib/i386-linux-gnu/libQtGui.so.4.8.1) ==5009== by 0x432DAAF: ??? ==5009== Address 0x43569fc is 20 bytes inside a block of size 22 alloc'd ==5009== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==5009== by 0x6155407: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==5009== by 0x6157B09: FcConfigFilename (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==5009== by 0x616C1EB: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==5009== by 0x6161065: FcInitLoadConfig (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==5009== by 0x6161188: FcInitLoadConfigAndFonts (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==5009== by 0x616140C: FcInit (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==5009== by 0x5447608: ??? (in /usr/lib/i386-linux-gnu/libQtGui.so.4.8.1) ==5009== by 0x53C8C0B: QApplicationPrivate::construct(_XDisplay*, unsigned long, unsigned long) (in /usr/lib/i386-linux-gnu/libQtGui.so.4.8.1) ==5009== by 0x432DAAF: ??? ==5009== ==5009== Invalid read of size 4 ==5009== at 0x61554B6: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==5009== by 0x900642D: ??? (in /usr/lib/libicudata.so.48.1.1) ==5009== Address 0x435cac0 is 16 bytes inside a block of size 18 alloc'd ==5009== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==5009== by 0x6155407: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==5009== by 0x900642D: ??? (in /usr/lib/libicudata.so.48.1.1) ==5009== ==5009== Invalid read of size 4 ==5009== at 0x61554B6: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==5009== by 0x616C1EB: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==5009== by 0x616C6A8: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==5009== by 0x616CA63: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==5009== Address 0x4371b18 is 40 bytes inside a block of size 42 alloc'd ==5009== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==5009== by 0x6155407: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==5009== by 0x616C1EB: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==5009== by 0x616C6A8: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==5009== by 0x616CA63: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==5009== ==5009== Invalid read of size 4 ==5009== at 0x61554A2: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==5009== by 0x616C1EB: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==5009== by 0x616C6A8: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==5009== by 0x616CA63: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==5009== Address 0x43b01b4 is 36 bytes inside a block of size 39 alloc'd ==5009== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==5009== by 0x6155407: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==5009== by 0x616C1EB: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==5009== by 0x616C6A8: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==5009== by 0x616CA63: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==5009== ==5009== Invalid read of size 4 ==5009== at 0x61554B6: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==5009== by 0x2E73746D: ??? ==5009== Address 0x43f7ed0 is 24 bytes inside a block of size 27 alloc'd ==5009== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==5009== by 0x6155407: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==5009== by 0x2E73746D: ??? ==5009== ==5009== Invalid read of size 4 ==5009== at 0x61554A2: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==5009== by 0x6F632E6B: ??? ==5009== Address 0x43ff644 is 20 bytes inside a block of size 22 alloc'd ==5009== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==5009== by 0x6155407: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==5009== by 0x6F632E6B: ??? ==5009== Got bus address: "unix:abstract=/tmp/dbus-tYIiAYUn5H,guid=8376fd72cb32e760cfca464800000045" Connected to accessibility bus at: "unix:abstract=/tmp/dbus-tYIiAYUn5H,guid=8376fd72cb32e760cfca464800000045" Registered DEC: true ==5009== Invalid read of size 1 ==5009== at 0x80533D5: EXEC_push_unknown (gbx_exec_push.c:79) ==5009== by 0x807DE78: EXEC_loop (gbx_exec_loop.c:577) ==5009== by 0x8051122: EXEC_function_loop (gbx_exec.c:931) ==5009== by 0x8051795: EXEC_function_real (gbx_exec.c:895) ==5009== by 0x805267C: EXEC_special (gbx_exec.c:1684) ==5009== by 0x805294F: EXEC_special_inheritance (gbx_exec.c:1829) ==5009== by 0x8052C50: EXEC_new (gbx_exec.c:1947) ==5009== by 0x807E849: EXEC_loop (gbx_exec_loop.c:904) ==5009== by 0x8051122: EXEC_function_loop (gbx_exec.c:931) ==5009== by 0x8051795: EXEC_function_real (gbx_exec.c:895) ==5009== by 0x8066C82: raise_event (gbx_api.c:893) ==5009== by 0x80671F0: GB_Raise (gbx_api.c:1029) ==5009== by 0x51B3384: emit_open_event(void*) (CWindow.cpp:230) ==5009== by 0x51B6083: CWINDOW_show(void*, void*) (CWindow.cpp:667) ==5009== by 0x8051EC3: EXEC_native (gbx_exec.c:1366) ==5009== by 0x8052445: EXEC_public_desc (gbx_exec.c:1606) ==5009== by 0x804B4F7: main (gbx.c:416) ==5009== Address 0xffff0401 is not stack'd, malloc'd or (recently) free'd ==5009== ==5009== ==5009== Process terminating with default action of signal 11 (SIGSEGV) ==5009== Access not within mapped region at address 0xFFFF0401 ==5009== at 0x80533D5: EXEC_push_unknown (gbx_exec_push.c:79) ==5009== by 0x807DE78: EXEC_loop (gbx_exec_loop.c:577) ==5009== by 0x8051122: EXEC_function_loop (gbx_exec.c:931) ==5009== by 0x8051795: EXEC_function_real (gbx_exec.c:895) ==5009== by 0x805267C: EXEC_special (gbx_exec.c:1684) ==5009== by 0x805294F: EXEC_special_inheritance (gbx_exec.c:1829) ==5009== by 0x8052C50: EXEC_new (gbx_exec.c:1947) ==5009== by 0x807E849: EXEC_loop (gbx_exec_loop.c:904) ==5009== by 0x8051122: EXEC_function_loop (gbx_exec.c:931) ==5009== by 0x8051795: EXEC_function_real (gbx_exec.c:895) ==5009== by 0x8066C82: raise_event (gbx_api.c:893) ==5009== by 0x80671F0: GB_Raise (gbx_api.c:1029) ==5009== by 0x51B3384: emit_open_event(void*) (CWindow.cpp:230) ==5009== by 0x51B6083: CWINDOW_show(void*, void*) (CWindow.cpp:667) ==5009== by 0x8051EC3: EXEC_native (gbx_exec.c:1366) ==5009== by 0x8052445: EXEC_public_desc (gbx_exec.c:1606) ==5009== by 0x804B4F7: main (gbx.c:416) ==5009== If you believe this happened as a result of a stack ==5009== overflow in your program's main thread (unlikely but ==5009== possible), you can try to increase the size of the ==5009== main thread stack using the --main-stacksize= flag. ==5009== The main thread stack size used in this run was 8388608. ==5009== ==5009== HEAP SUMMARY: ==5009== in use at exit: 1,864,369 bytes in 15,544 blocks ==5009== total heap usage: 109,689 allocs, 94,145 frees, 9,751,749 bytes allocated ==5009== ==5009== LEAK SUMMARY: ==5009== definitely lost: 1,229 bytes in 9 blocks ==5009== indirectly lost: 3,940 bytes in 199 blocks ==5009== possibly lost: 886,385 bytes in 2,787 blocks ==5009== still reachable: 972,815 bytes in 12,549 blocks ==5009== suppressed: 0 bytes in 0 blocks ==5009== Rerun with --leak-check=full to see details of leaked memory ==5009== ==5009== For counts of detected and suppressed errors, rerun with: -v ==5009== ERROR SUMMARY: 30 errors from 7 contexts (suppressed: 0 from 0) From pinozollo at ...626... Tue Jul 15 22:46:50 2014 From: pinozollo at ...626... (Pino Zollo) Date: Tue, 15 Jul 2014 16:46:50 -0400 Subject: [Gambas-user] Compiling instruction not updated Message-ID: <53C5933A.5030604@...626...> Applying: On Mint 17 Mate sudo apt-get install build-essential g++ autoconf libbz2-dev libmysqlclient-dev unixodbc-dev libpq-dev libsqlite0-dev libsqlite3-dev libglib2.0-dev libgtk2.0-dev libcurl4-gnutls-dev libgtkglext1-dev libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsage-dev libxml2-dev libxslt1-dev librsvg2-dev libpoppler-dev libpoppler-glib-dev libasound2-dev libesd0-dev libdirectfb-dev libxtst-dev libffi-dev libqt4-dev libglew1.5-dev libimlib2-dev libv4l-dev libsdl-ttf2.0-dev libgnome-keyring-dev libgdk-pixbuf2.0-dev linux-libc-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libcairo2-dev libgsl0-dev libncurses5-dev libgmime-2.6-dev llvm-3.1-dev libalure-dev libgmp-dev as from the Gambas page I get: Creando ?rbol de dependencias Leyendo la informaci?n de estado... Hecho Nota, seleccionando ?libglew-dev? en lugar de ?libglew1.5-dev? E: No se ha podido localizar el paquete llvm-3.1-dev E: No se pudo encontrar ning?n paquete con la expresi?n regular ?llvm-3.1-dev? ........ Please which is the updated lit of libraries ?... as form ./configure -C I get: || || THESE COMPONENTS ARE DISABLED: || - gb.jit || - gb.qt4.opengl || - gb.qt4.webkit || ...at least I should have qt4 complete. Thenks Pino From gambas at ...2524... Wed Jul 16 00:00:38 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 15 Jul 2014 22:00:38 +0000 Subject: [Gambas-user] Issue 537 in gambas: (Exec - for Read Write As "Process") Don't work In-Reply-To: <9-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> References: <9-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> <0-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> Message-ID: <10-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> Comment #10 on issue 537 by pato.... at ...626...: (Exec - for Read Write As "Process") Don't work http://code.google.com/p/gambas/issues/detail?id=537 (No comment was entered for this change.) Attachments: Temp.tar.gz 6.2 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Wed Jul 16 01:45:12 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 15 Jul 2014 23:45:12 +0000 Subject: [Gambas-user] Issue 537 in gambas: (Exec - for Read Write As "Process") Don't work In-Reply-To: <10-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> References: <10-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> <0-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> Message-ID: <11-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> Comment #11 on issue 537 by jussi.la... at ...626...: (Exec - for Read Write As "Process") Don't work http://code.google.com/p/gambas/issues/detail?id=537 There are no changes we have discussed. So I cannot check whether there is mistake by you. I can only say that with revision 6380, attached (Temp_somewhatfixed-0.0.1.tar.gz) project works as expected. However, maybe Benoit can say something about why READ prevents mplayer from working (this might be completely non-Gambas issue). Attachments: Temp_somewhatfixed-0.0.1.tar.gz 5.4 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...1... Wed Jul 16 02:58:10 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 16 Jul 2014 02:58:10 +0200 Subject: [Gambas-user] I'v get a #11 In-Reply-To: <1405455570.3485.4.camel@...40...> References: <1405428372.3474.14.camel@...40...> <53C52358.5090700@...1...> <1405455570.3485.4.camel@...40...> Message-ID: <53C5CE22.40003@...1...> Le 15/07/2014 22:19, Charlie Reinl a ?crit : > Salut Beno?t, > > here the project a gdb log and a valgrid log > Fixed in revision #6383. Regards, -- Beno?t Minisini From ihaywood at ...1979... Wed Jul 16 03:55:29 2014 From: ihaywood at ...1979... (Ian Haywood) Date: Wed, 16 Jul 2014 11:55:29 +1000 Subject: [Gambas-user] Gambas 3.5.4 and the Stable PPA Message-ID: On Wed, Jul 16, 2014 at 3:27 AM, Caveat wrote: > I have Ubuntu here, was hoping someone else would volunteer first so I > didn't have to... :-D > > I haven't packaged before but know my way around bash scripts, svn, git > and the like. start with the debian packaging guidelines to get an idea of how the system works in general. https://wiki.debian.org/IntroDebianPackaging Next, download the debian 3.5.4 packages in sid. https://packages.debian.org/source/sid/gambas3 [look at the bottom of the page] These debian packages will compile as-is on later versions of ubuntu, all you will need to do is change the name of the target distro in debian/changelog from unstable to "raring", "quantic" or whatever. Your problem is going to be the older versions, some gambas3 subpackages [gb.jit, gb.media, possibly a couple of others] just won't compile as the relevant libraries are too old. You will need to produce versions of gambas3 that don't have those subpackages. [as an aside, this is why I've never bothered producing a version for debian stable, lots of stuff won't compile and so the reality is most debian people who want to run an up-to-date gambas will need to upgrade their whole system anyway] Ian From Karl.Reinl at ...2345... Wed Jul 16 10:24:44 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Wed, 16 Jul 2014 10:24:44 +0200 Subject: [Gambas-user] SOLVED Re: I'v get a #11 In-Reply-To: <53C5CE22.40003@...1...> References: <1405428372.3474.14.camel@...40...> <53C52358.5090700@...1...> <1405455570.3485.4.camel@...40...> <53C5CE22.40003@...1...> Message-ID: <1405499084.16282.0.camel@...40...> Am Mittwoch, den 16.07.2014, 02:58 +0200 schrieb Beno?t Minisini: > Le 15/07/2014 22:19, Charlie Reinl a ?crit : > > Salut Beno?t, > > > > here the project a gdb log and a valgrid log > > > > Fixed in revision #6383. > > Regards, > Thank you From wig at ...1809... Wed Jul 16 12:36:37 2014 From: wig at ...1809... (wig) Date: Wed, 16 Jul 2014 12:36:37 +0200 Subject: [Gambas-user] gambas3 broken after opensuse 13.1 upgrade Message-ID: <5499469.vIPcGOt7is@...3222...> Just to warn other users - after an upgrade of opensuse, gambas3 doesn't start anymore. I was too fast and updated both pc and laptop ... I submitted already to Suse. /usr/bin/gambas3gbx3: unable to find startup file I see "gambas3", it is a link to gbx3 (while gambas2 is a link to gambas2.gambas ?) opensuse 13.1 / 64 bit / KDE 4.11.5/gambas 3.5.4-3.1Repository: OpenSUSE / Education. I tried another repository from software.opensuse.org/package/gambas3, but the same error gambas 3.5.4-4.2 from the repo home:ccgx From eilert-sprachen at ...221... Wed Jul 16 13:04:09 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 16 Jul 2014 13:04:09 +0200 Subject: [Gambas-user] gambas3.5.4 no help pages Message-ID: <53C65C29.2030702@...221...> Hi folks, As I was still working with 3.5.2, I thought it might be time to update. Downloaded the sources, compiled, uninstalled 3.5.2 and installed 3.5.4. It does seem to run, but when I press F2, the help pages (almost all of them) show page not found. I remember there was some change in 3.5.3 with the help, was there a new path? And where could I enter it? Rolf From gambas.fr at ...626... Wed Jul 16 13:33:46 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 16 Jul 2014 13:33:46 +0200 Subject: [Gambas-user] gambas3 broken after opensuse 13.1 upgrade In-Reply-To: <5499469.vIPcGOt7is@...3222...> References: <5499469.vIPcGOt7is@...3222...> Message-ID: Uninstall properly the last gambas version Verify if all the gb... Files bave been removed from /usr/bin And if /usr/lib/gambas3 and it's content is removed too Then try to reinstall Le 16 juil. 2014 12:38, "wig" a ?crit : > > Just to warn other users - after an upgrade of opensuse, gambas3 doesn't > start anymore. > I was too fast and updated both pc and laptop ... > > I submitted already to Suse. > > > /usr/bin/gambas3gbx3: unable to find startup file > > > I see "gambas3", it is a link to gbx3 > > (while gambas2 is a link to gambas2.gambas ?) > > > opensuse 13.1 / 64 bit / KDE 4.11.5/gambas 3.5.4-3.1Repository: > OpenSUSE / Education. > > > I tried another repository from software.opensuse.org/package/gambas3, > > but the same error > > gambas 3.5.4-4.2 from the repo home:ccgx > > > > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Wed Jul 16 14:28:05 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 16 Jul 2014 14:28:05 +0200 Subject: [Gambas-user] gambas3.5.4 no help pages In-Reply-To: <53C65C29.2030702@...221...> References: <53C65C29.2030702@...221...> Message-ID: <53C66FD5.4000002@...1...> Le 16/07/2014 13:04, Rolf-Werner Eilert a ?crit : > Hi folks, > > As I was still working with 3.5.2, I thought it might be time to update. > > Downloaded the sources, compiled, uninstalled 3.5.2 and installed 3.5.4. > > It does seem to run, but when I press F2, the help pages (almost all of > them) show page not found. > > I remember there was some change in 3.5.3 with the help, was there a new > path? And where could I enter it? > > Rolf > The only difference is that gambas 3.5.4 points at the new wiki (http://gambaswiki.org) instead of the old one (http://gambasdoc.org). Try to clear the webkit cache from the IDE option dialog to see if it changes anything... -- Beno?t Minisini From taboege at ...626... Wed Jul 16 15:13:46 2014 From: taboege at ...626... (Tobias Boege) Date: Wed, 16 Jul 2014 15:13:46 +0200 Subject: [Gambas-user] GambasWiki pages vanishing and emerging again? In-Reply-To: <20140713115305.GA815@...2774...> References: <20140713115305.GA815@...2774...> Message-ID: <20140716131346.GB766@...2774...> On Sun, 13 Jul 2014, Tobias Boege wrote: > Hi, > > the last two days I was more frequently on gambaswiki.org than usual and it > occured twice to me that for a short(-ish) time simply all pages said: > > "This page does not exist." > > And also the arrow icon in the upper left corner could not be loaded. Once I > was also erroneously put to /doc/doc/serverpage when I clicked on the > "Gambas ServerPages" link under /doc. (Or maybe that last thing was my fault > and somehow accidentally another "doc" slipped in when I tried to reload the > page...?) > > Has the wiki some "mentally weak" times, like when I does backups or > something? > OK, now I've got a proof, see the attached screenshot and notice how the link's URL has the "install" part doubled. It remains like this for a few refreshs and reloads and then it gets it correctly again. Note also that the arrow icon next to those "bread crumbs" in the top is missing. Maybe it's a general path problem but it occurs only once in a while. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: wrong-links.png Type: image/png Size: 76977 bytes Desc: not available URL: From wig at ...1809... Wed Jul 16 15:40:09 2014 From: wig at ...1809... (wig) Date: Wed, 16 Jul 2014 15:40:09 +0200 Subject: [Gambas-user] gambas3 broken after opensuse 13.1 upgrade In-Reply-To: References: <5499469.vIPcGOt7is@...3222...> Message-ID: <3622364.P848kAy0Wt@...3222...> That is indeed what I did. - Remove (via software management). Check the files (suse seems to use /usr/share, not usr/lib) - Check /usr/bin ; files are gone - Check /usr/share/gambas3 ; files are gone - Install again or next time: Remove software repository education Add other software repository home:ccgx and install new from there. One thing that I notice is that there are a number of empty files in the directory /usr/share/gambas3/info -rw-r--r-- 1 root root 0 Jul 8 12:38 gb.db.mysql.info -rw-r--r-- 1 root root 0 Jul 8 12:38 gb.db.mysql.list -rw-r--r-- 1 root root 0 Jul 8 12:38 gb.db.odbc.info -rw-r--r-- 1 root root 0 Jul 8 12:38 gb.db.odbc.list -rw-r--r-- 1 root root 0 Jul 8 12:38 gb.db.postgresql.info -rw-r--r-- 1 root root 0 Jul 8 12:38 gb.db.postgresql.list -rw-r--r-- 1 root root 0 Jul 8 12:38 gb.db.sqlite2.info -rw-r--r-- 1 root root 0 Jul 8 12:38 gb.db.sqlite2.list -rw-r--r-- 1 root root 0 Jul 8 12:38 gb.db.sqlite3.info -rw-r--r-- 1 root root 0 Jul 8 12:38 gb.db.sqlite3.list Gambas3 does answer: gambas3 gbx3: unable to find startup file and gambas3 -V 3.5.4 On Wednesday 16 July 2014 13:33:46 Fabien Bodard wrote: > Uninstall properly the last gambas version > Verify if all the gb... Files bave been removed from /usr/bin > > And if /usr/lib/gambas3 and it's content is removed too > > Then try to reinstall > > Le 16 juil. 2014 12:38, "wig" a ?crit : > > Just to warn other users - after an upgrade of opensuse, gambas3 doesn't > > start anymore. > > I was too fast and updated both pc and laptop ... > > > > I submitted already to Suse. > > > > > > /usr/bin/gambas3gbx3: unable to find startup file > > > > > > I see "gambas3", it is a link to gbx3 > > > > (while gambas2 is a link to gambas2.gambas ?) > > > > > > opensuse 13.1 / 64 bit / KDE 4.11.5/gambas 3.5.4-3.1Repository: > > OpenSUSE / Education. > > > > > > I tried another repository from software.opensuse.org/package/gambas3, > > > > but the same error > > > > gambas 3.5.4-4.2 from the repo home:ccgx > > > > > > > > > > -------------------------------------------------------------------------- > > ---- Want fast and easy access to all the code in your enterprise? Index > > and search up to 200,000 lines of code with a free copy of Black Duck > > Code Sight - the same software that powers the world's largest code > > search on Ohloh, the Black Duck Open Hub! Try it now. > > http://p.sf.net/sfu/bds > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ---------------------------------------------------------------------------- > -- Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From eilert-sprachen at ...221... Wed Jul 16 16:13:42 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 16 Jul 2014 16:13:42 +0200 Subject: [Gambas-user] gambas3.5.4 no help pages In-Reply-To: <53C66FD5.4000002@...1...> References: <53C65C29.2030702@...221...> <53C66FD5.4000002@...1...> Message-ID: <53C68896.7060908@...221...> Am 16.07.2014 14:28, schrieb Beno?t Minisini: > Le 16/07/2014 13:04, Rolf-Werner Eilert a ?crit : >> Hi folks, >> >> As I was still working with 3.5.2, I thought it might be time to update. >> >> Downloaded the sources, compiled, uninstalled 3.5.2 and installed 3.5.4. >> >> It does seem to run, but when I press F2, the help pages (almost all of >> them) show page not found. >> >> I remember there was some change in 3.5.3 with the help, was there a new >> path? And where could I enter it? >> >> Rolf >> > > The only difference is that gambas 3.5.4 points at the new wiki > (http://gambaswiki.org) instead of the old one (http://gambasdoc.org). > > Try to clear the webkit cache from the IDE option dialog to see if it > changes anything... > What I did is Tools/Options/Help & Applications/Delete Documentation Cache It didn't help. Was it wrong? What could I do else? Regards Rolf From karl.reinl at ...9... Wed Jul 16 21:08:25 2014 From: karl.reinl at ...9... (Karl Reinl) Date: Wed, 16 Jul 2014 21:08:25 +0200 Subject: [Gambas-user] a new printer problem/bug In-Reply-To: <53C5CE22.40003@...1...> References: <1405428372.3474.14.camel@...40...> <53C52358.5090700@...1...> <1405455570.3485.4.camel@...40...> <53C5CE22.40003@...1...> Message-ID: <1405537705.3768.3.camel@...40...> Salut Beno?t, Printer.GrayScale once set to False you can't return to True. Or I don't understand what to do!? -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: GrayScale-0.0.1.tar.gz Type: application/x-compressed-tar Size: 4923 bytes Desc: not available URL: From willy at ...2734... Wed Jul 16 22:45:05 2014 From: willy at ...2734... (Willy Raets) Date: Wed, 16 Jul 2014 22:45:05 +0200 Subject: [Gambas-user] Compiling instruction not updated In-Reply-To: <53C5933A.5030604@...626...> References: <53C5933A.5030604@...626...> Message-ID: <1405543505.2756.7.camel@...3024...> On di, 2014-07-15 at 16:46 -0400, Pino Zollo wrote: > Applying: On Mint 17 Mate > > sudo apt-get install build-essential g++ autoconf libbz2-dev > libmysqlclient-dev unixodbc-dev libpq-dev libsqlite0-dev libsqlite3-dev > libglib2.0-dev libgtk2.0-dev libcurl4-gnutls-dev libgtkglext1-dev > libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev > libsage-dev libxml2-dev libxslt1-dev librsvg2-dev libpoppler-dev > libpoppler-glib-dev libasound2-dev libesd0-dev libdirectfb-dev > libxtst-dev libffi-dev libqt4-dev libglew1.5-dev libimlib2-dev > libv4l-dev libsdl-ttf2.0-dev libgnome-keyring-dev libgdk-pixbuf2.0-dev > linux-libc-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev > libcairo2-dev libgsl0-dev libncurses5-dev libgmime-2.6-dev llvm-3.1-dev > libalure-dev libgmp-dev > > as from the Gambas page As from the Gambas page as well, the IMPORTANT note that needs to be taken into account (on the Gambas page (http://gambaswiki.org/wiki/install/ubuntu) , just a little below the, by you mentioned, sudo apt-get): "Note: For trunk version you might need to install more dependencies as new components get developed. For more recent versions of Ubuntu you might also need higher versions of dependencies. For example for Trusty (14.04) you need to install llvm-3.3-dev or llvm-3.4-dev instead of llvm-3.1-dev. For availability of packages in your specific distribution version see A note on package dependencies" > > I get: > > > > Creando ?rbol de dependencias > Leyendo la informaci?n de estado... Hecho > Nota, seleccionando ?libglew-dev? en lugar de ?libglew1.5-dev? > E: No se ha podido localizar el paquete llvm-3.1-dev > E: No se pudo encontrar ning?n paquete con la expresi?n regular > ?llvm-3.1-dev? > > ........ > > Please which is the updated lit of libraries ?... > > as form ./configure -C I get: > > || > || THESE COMPONENTS ARE DISABLED: > || - gb.jit So installing llvm-3.4-dev or llvm-3.4-dev should get gb.jit enabled. Installing llvm-3.1-dev doens't work on Trusty (Mint 17), but does on Precise (Mint 13). That's why the notes are important. > || - gb.qt4.opengl > || - gb.qt4.webkit > || Strange cause installing libqt4-dev should pull in all needed dependencies to get both gb.qt4.opengl as gb.qt4.webkit going See: http://packages.ubuntu.com/trusty/libqt4-dev > > ...at least I should have qt4 complete. > Yes, you should. > Thenks > > Pino > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From willy at ...2734... Wed Jul 16 22:58:20 2014 From: willy at ...2734... (Willy Raets) Date: Wed, 16 Jul 2014 22:58:20 +0200 Subject: [Gambas-user] Compiling instruction not updated In-Reply-To: <1405543505.2756.7.camel@...3024...> References: <53C5933A.5030604@...626...> <1405543505.2756.7.camel@...3024...> Message-ID: <1405544300.2756.11.camel@...3024...> On wo, 2014-07-16 at 22:45 +0200, Willy Raets wrote: > On di, 2014-07-15 at 16:46 -0400, Pino Zollo wrote: > > Applying: On Mint 17 Mate > > > > sudo apt-get install build-essential g++ autoconf libbz2-dev > > libmysqlclient-dev unixodbc-dev libpq-dev libsqlite0-dev libsqlite3-dev > > libglib2.0-dev libgtk2.0-dev libcurl4-gnutls-dev libgtkglext1-dev > > libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev > > libsage-dev libxml2-dev libxslt1-dev librsvg2-dev libpoppler-dev > > libpoppler-glib-dev libasound2-dev libesd0-dev libdirectfb-dev > > libxtst-dev libffi-dev libqt4-dev libglew1.5-dev libimlib2-dev > > libv4l-dev libsdl-ttf2.0-dev libgnome-keyring-dev libgdk-pixbuf2.0-dev > > linux-libc-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev > > libcairo2-dev libgsl0-dev libncurses5-dev libgmime-2.6-dev llvm-3.1-dev > > libalure-dev libgmp-dev > > > > as from the Gambas page > > As from the Gambas page as well, the IMPORTANT note that needs to be > taken into account (on the Gambas page > (http://gambaswiki.org/wiki/install/ubuntu) , just a little below the, > by you mentioned, sudo apt-get): > > "Note: For trunk version you might need to install more dependencies as > new components get developed. > For more recent versions of Ubuntu you might also need higher versions > of dependencies. > For example for Trusty (14.04) you need to install llvm-3.3-dev or > llvm-3.4-dev instead of llvm-3.1-dev. > For availability of packages in your specific distribution version see A > note on package dependencies" > > > > > I get: > > > > > > > > Creando ?rbol de dependencias > > Leyendo la informaci?n de estado... Hecho > > Nota, seleccionando ?libglew-dev? en lugar de ?libglew1.5-dev? > > E: No se ha podido localizar el paquete llvm-3.1-dev > > E: No se pudo encontrar ning?n paquete con la expresi?n regular > > ?llvm-3.1-dev? > > > > ........ > > > > Please which is the updated lit of libraries ?... > > > > as form ./configure -C I get: > > > > || > > || THESE COMPONENTS ARE DISABLED: > > || - gb.jit > > So installing llvm-3.4-dev or llvm-3.4-dev should get gb.jit enabled. > Installing llvm-3.1-dev doens't work on Trusty (Mint 17), but does on > Precise (Mint 13). That's why the notes are important. > > > || - gb.qt4.opengl > > || - gb.qt4.webkit > > || > > Strange cause installing libqt4-dev should pull in all needed > dependencies to get both gb.qt4.opengl as gb.qt4.webkit going > See: http://packages.ubuntu.com/trusty/libqt4-dev > I just noticed on above mentioned link http://packages.ubuntu.com/trusty/libqt4-dev that when installing libgt4-dev, both libqt4-opengl-dev and libqtwebkit-dev are recommended packages and so do not get installed automatically. So: $ sudo apt-get install llvm-3.4-dev libqt4-opengl-dev libqtwebkit-dev should solve your problem. P.S. The installation instructions where last updated July 8th, so quite recently. -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From n.rogozarski at ...626... Wed Jul 16 23:00:22 2014 From: n.rogozarski at ...626... (Nikola Rogozarski) Date: Wed, 16 Jul 2014 23:00:22 +0200 Subject: [Gambas-user] gb.markdown Message-ID: I tried to install gambas from daily PPA but it seems there is a problem. Gambas installed without problem. But when I wanted to start it, the error occurs "gbr3: unable to load component: gb.markdown" Does anyone have a solution for this ??? From Karl.Reinl at ...2345... Thu Jul 17 00:14:18 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Thu, 17 Jul 2014 00:14:18 +0200 Subject: [Gambas-user] translation In-Reply-To: <53C5CE22.40003@...1...> References: <1405428372.3474.14.camel@...40...> <53C52358.5090700@...1...> <1405455570.3485.4.camel@...40...> <53C5CE22.40003@...1...> Message-ID: <1405548858.7306.4.camel@...40...> Salut Beno?t, my project hat on Option translation=YES, Standard Language=German I changed Standard Language=English and got a 13, see pictures -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto vom 2014-07-17 00:02:58.png Type: image/png Size: 22581 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto vom 2014-07-17 00:00:19.png Type: image/png Size: 38562 bytes Desc: not available URL: From karl.reinl at ...9... Thu Jul 17 00:16:39 2014 From: karl.reinl at ...9... (Karl Reinl) Date: Thu, 17 Jul 2014 00:16:39 +0200 Subject: [Gambas-user] translation In-Reply-To: <53C5CE22.40003@...1...> References: <1405428372.3474.14.camel@...40...> <53C52358.5090700@...1...> <1405455570.3485.4.camel@...40...> <53C5CE22.40003@...1...> Message-ID: <1405548999.7306.6.camel@...40...> Salut Beno?t, my project hat on Option translation=YES, Standard Language=German I changed Standard Language=English and got a 13, see pictures -- Amicalement Charlie PS Sorry forgot the project -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto vom 2014-07-17 00:02:58.png Type: image/png Size: 22581 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto vom 2014-07-17 00:00:19.png Type: image/png Size: 38562 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: PrinterConfig-0.0.6.tar.gz Type: application/x-compressed-tar Size: 13231 bytes Desc: not available URL: From gambas at ...1... Thu Jul 17 00:50:04 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 17 Jul 2014 00:50:04 +0200 Subject: [Gambas-user] a new printer problem/bug In-Reply-To: <1405537705.3768.3.camel@...40...> References: <1405428372.3474.14.camel@...40...> <53C52358.5090700@...1...> <1405455570.3485.4.camel@...40...> <53C5CE22.40003@...1...> <1405537705.3768.3.camel@...40...> Message-ID: <53C7019C.2020000@...1...> Le 16/07/2014 21:08, Karl Reinl a ?crit : > Salut Beno?t, > > Printer.GrayScale once set to False you can't return to True. > Or I don't understand what to do!? > Bug fixed in revision #6385. Note that your test program is buggy, so you may not notice that! Regards, -- Beno?t Minisini From gambas at ...1... Thu Jul 17 01:44:58 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 17 Jul 2014 01:44:58 +0200 Subject: [Gambas-user] translation In-Reply-To: <1405548999.7306.6.camel@...40...> References: <1405428372.3474.14.camel@...40...> <53C52358.5090700@...1...> <1405455570.3485.4.camel@...40...> <53C5CE22.40003@...1...> <1405548999.7306.6.camel@...40...> Message-ID: <53C70E7A.4080403@...1...> Le 17/07/2014 00:16, Karl Reinl a ?crit : > Salut Beno?t, > > my project hat on Option translation=YES, Standard Language=German > I changed Standard Language=English > and got a 13, see pictures > Fixed in revision #6385. Regards, -- Beno?t Minisini From sebikul at ...626... Thu Jul 17 03:02:59 2014 From: sebikul at ...626... (Sebastian Kulesz) Date: Wed, 16 Jul 2014 22:02:59 -0300 Subject: [Gambas-user] Gambas 3.5.4 and the Stable PPA In-Reply-To: References: Message-ID: Gambas 3.5.4 has just been pushed to the new repository. You can add it executing: $ sudo add-apt-repository ppa:gambas-team/gambas3 If you have the previous PPA added, this one will just supersede it and update Gambas using the new packages. If you are in a production environment, do not update just yet. For this reason, if you do update, please leave some feedback saying if it is working as expected or if something is broken. I want to thank those who proposed to help me. I was able to set apart some time to work on this though, but thanks a lot anyway! :) PS: I will be adding a Lucid build later today or tomorrow. On Tue, Jul 15, 2014 at 10:55 PM, Ian Haywood wrote: > On Wed, Jul 16, 2014 at 3:27 AM, Caveat wrote: > > I have Ubuntu here, was hoping someone else would volunteer first so I > > didn't have to... :-D > > > > I haven't packaged before but know my way around bash scripts, svn, git > > and the like. > start with the debian packaging guidelines to get an idea of how the > system works in general. https://wiki.debian.org/IntroDebianPackaging > Next, download the debian 3.5.4 packages in sid. > https://packages.debian.org/source/sid/gambas3 [look at the bottom of the > page] > > These debian packages will compile as-is on later versions of ubuntu, > all you will need to do is change the name of the target distro in > debian/changelog from unstable to "raring", "quantic" or whatever. > Your problem is going to be the older versions, some gambas3 > subpackages [gb.jit, gb.media, possibly a couple of others] just won't > compile as the relevant libraries are too old. You will need to > produce versions of gambas3 that don't have those subpackages. > > [as an aside, this is why I've never bothered producing a version for > debian stable, lots of stuff won't compile and so the reality is most > debian people who want to run an up-to-date gambas will need to > upgrade their whole system anyway] > > > Ian > > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sebikul at ...626... Thu Jul 17 03:38:41 2014 From: sebikul at ...626... (Sebastian Kulesz) Date: Wed, 16 Jul 2014 22:38:41 -0300 Subject: [Gambas-user] gb.markdown In-Reply-To: References: Message-ID: It will be fixed in tomorrow's builds. Sorry about that, i have no idea why this wasn't added months ago. On Wed, Jul 16, 2014 at 6:00 PM, Nikola Rogozarski wrote: > I tried to install gambas from daily PPA but it seems there is a problem. > Gambas installed without problem. But when I wanted to start it, the error > occurs "gbr3: unable to load component: gb.markdown" > > Does anyone have a solution for this ??? > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From eilert-sprachen at ...221... Thu Jul 17 08:24:24 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 17 Jul 2014 08:24:24 +0200 Subject: [Gambas-user] gambas3.5.4 no help pages In-Reply-To: <53C66FD5.4000002@...1...> References: <53C65C29.2030702@...221...> <53C66FD5.4000002@...1...> Message-ID: <53C76C18.2080905@...221...> Am 16.07.2014 14:28, schrieb Beno?t Minisini: > Le 16/07/2014 13:04, Rolf-Werner Eilert a ?crit : >> Hi folks, >> >> As I was still working with 3.5.2, I thought it might be time to update. >> >> Downloaded the sources, compiled, uninstalled 3.5.2 and installed 3.5.4. >> >> It does seem to run, but when I press F2, the help pages (almost all of >> them) show page not found. >> >> I remember there was some change in 3.5.3 with the help, was there a new >> path? And where could I enter it? >> >> Rolf >> > > The only difference is that gambas 3.5.4 points at the new wiki > (http://gambaswiki.org) instead of the old one (http://gambasdoc.org). > > Try to clear the webkit cache from the IDE option dialog to see if it > changes anything... > Still doesn't run - here is a screenshot. What I did is pressing F2 on .OutputFile, but F1 has a similar result: I see the start page, but a lot of nodes on the left are missing and most of the pages aren't shown. I tried to switch the language, but to no avail. Rolf -------------- next part -------------- A non-text attachment was scrubbed... Name: Gambas3DocuError.png Type: image/png Size: 11918 bytes Desc: not available URL: From kevinfishburne at ...1887... Thu Jul 17 08:49:17 2014 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Thu, 17 Jul 2014 02:49:17 -0400 Subject: [Gambas-user] Sylph: Project Miyaji initial demonstration release In-Reply-To: References: <53B3887E.9060001@...1887...> <53C1C67C.9080103@...1887...> Message-ID: <53C771ED.9080200@...1887...> On 07/13/2014 08:54 AM, Fabien Bodard wrote: > waiting for the alpha 2 > :-) The wait is over: http://eightvirtues.com/sylph/Sylph_Demo_2.gambas.tar.gz This is using the "stable" PPA, as I was having problems running the last few daily PPA builds of GAMBAS. One thing to note is that if you use an NVIDIA card and the binary driver be sure to uncheck "Use Conformant Texture Clamping" in NVIDIA X Server Settings under X Screen 0 --> OpenGL Settings. If this is checked bullets and some OSD items are rendered translucent (incorrectly). The GAMBAS OpenGL component seems not to have GL_CLAMP_TO_EDGE, which is necessary to force this being turned off. The ReadMe in the archive also mentions this. Let me know what you think. The basic engine is nearly done, so in the coming weeks I'll be fleshing out the stages, ship models and AI. Also the music is from the 1988 DOS version of Silpheed, the game Sylph is based on. I'll be composing original music to replace it. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From johny.provoost at ...27... Thu Jul 17 11:27:00 2014 From: johny.provoost at ...27... (Johny Provoost) Date: Thu, 17 Jul 2014 11:27:00 +0200 Subject: [Gambas-user] Ubuntu New PPA Message-ID: <53C796E4.1030506@...27...> Sorry, deleted the mail to soon so I can't answer to the original mail. Just to let know the update to 3.5.4 with the new ppa ( http://ppa.launchpad.net/gambas-team/gambas3/ubuntu Trusty Main) worked for me. All seemed to work. Thank you. Ubuntu 14.04 - 64 bits Kind Regards Johny Provoost -- From gambas at ...2524... Thu Jul 17 14:12:20 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 17 Jul 2014 12:12:20 +0000 Subject: [Gambas-user] Issue 538 in gambas: KeyPress event in gb.GTK duplicate event gambas 3.5.3 Message-ID: <0-6813199134517018827-7342891880280723871-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 538 by fidojo... at ...626...: KeyPress event in gb.GTK duplicate event gambas 3.5.3 http://code.google.com/p/gambas/issues/detail?id=538 This simple code, whe you press ENTER call the function two times. Only fails with gb.GTK, no problem with gb.QT4. With Gambas version 3.5.3 Public Sub TxtTarea_KeyPress() If key.Code = key.Enter Or key.Code = key.Return Then GrabarTarea() End If End -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Thu Jul 17 14:28:56 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 17 Jul 2014 12:28:56 +0000 Subject: [Gambas-user] Issue 538 in gambas: KeyPress event in gb.GTK duplicate event gambas 3.5.3 In-Reply-To: <0-6813199134517018827-7342891880280723871-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-7342891880280723871-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-7342891880280723871-gambas=googlecode.com@...2524...> Updates: Labels: -Version -GUI-Any Version-3.5.0 GUI-GTK Comment #1 on issue 538 by benoit.m... at ...626...: KeyPress event in gb.GTK duplicate event gambas 3.5.3 http://code.google.com/p/gambas/issues/detail?id=538 Yep, this is a weird behavior that appeared in recent versions of the GTK+ library. I found a workaround in the development version, but I'm not sure I can backport it to Gambas 3.5... I will check. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Thu Jul 17 14:30:45 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 17 Jul 2014 12:30:45 +0000 Subject: [Gambas-user] Issue 522 in gambas: Panels do not capture keypress events In-Reply-To: <5-6813199134517018827-8658170024389030899-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-8658170024389030899-gambas=googlecode.com@...2524...> <0-6813199134517018827-8658170024389030899-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-8658170024389030899-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #6 on issue 522 by benoit.m... at ...626...: Panels do not capture keypress events http://code.google.com/p/gambas/issues/detail?id=522 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From Karl.Reinl at ...2345... Thu Jul 17 17:33:18 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Thu, 17 Jul 2014 17:33:18 +0200 Subject: [Gambas-user] DEVELOPMENT ENVIRONMENT using the file write permissions changes In-Reply-To: <53C52358.5090700@...1...> References: <1405428372.3474.14.camel@...40...> <53C52358.5090700@...1...> Message-ID: <1405611198.5305.13.camel@...40...> Am Dienstag, den 15.07.2014, 14:49 +0200 schrieb Beno?t Minisini: > Le 15/07/2014 14:46, Charlie Reinl a ?crit : > > Salut Beno?t, > > > > > > Date: 2014-07-11 11:51:47 +0000 (Fri, 11 Jul 2014) > > Log Message: > > ----------- > > [DEVELOPMENT ENVIRONMENT] > > * NEW: All files can be "locked". This is implemented by using the file > > write permissions. The old form locking mechanism has been removed. > > Salut Beno?t, I dug a bit deeper, Project.SetReadOnly(Path, ) is, at least in FEditor only used on load, but never on unload, so files in my case symlinks, which are set to readOnly will stay so if I change the project or close the IDE. I tried this on FEditor Public Sub Form_Close() Project.AddRecentFile(Me) Project.SetReadOnly(Path, False) End Ok, think its a bit rough, but works. Finally it must be checked how stated the file, when opened, to reset/keep this stat. -- Amicalement Charlie From linak at ...3360... Thu Jul 17 17:55:06 2014 From: linak at ...3360... (LinAk) Date: Thu, 17 Jul 2014 17:55:06 +0200 Subject: [Gambas-user] gambas3.5.4 no help pages In-Reply-To: <53C76C18.2080905@...221...> References: <53C65C29.2030702@...221...> <53C66FD5.4000002@...1...> <53C76C18.2080905@...221...> Message-ID: <53C7F1DA.3070205@...3360...> 2014-07-17 08:24, Rolf-Werner Eilert skrev: > Am 16.07.2014 14:28, schrieb Beno?t Minisini: >> Le 16/07/2014 13:04, Rolf-Werner Eilert a ?crit : >>> Hi folks, >>> >>> As I was still working with 3.5.2, I thought it might be time to update. >>> >>> Downloaded the sources, compiled, uninstalled 3.5.2 and installed 3.5.4. >>> >>> It does seem to run, but when I press F2, the help pages (almost all of >>> them) show page not found. >>> >>> I remember there was some change in 3.5.3 with the help, was there a new >>> path? And where could I enter it? >>> >>> Rolf >>> >> The only difference is that gambas 3.5.4 points at the new wiki >> (http://gambaswiki.org) instead of the old one (http://gambasdoc.org). >> >> Try to clear the webkit cache from the IDE option dialog to see if it >> changes anything... >> > Still doesn't run - here is a screenshot. What I did is pressing F2 on > .OutputFile, but F1 has a similar result: I see the start page, but a > lot of nodes on the left are missing and most of the pages aren't shown. > > I tried to switch the language, but to no avail. > > Rolf Hi. Same problem here, but if i change the component from gui to qt4 then it works. I'm using Linux Mint 17 and Gambas 3.5.4 Anders -------------- next part -------------- A non-text attachment was scrubbed... Name: gui.png Type: image/png Size: 36322 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Qt4.png Type: image/png Size: 45175 bytes Desc: not available URL: From bbruen at ...2308... Fri Jul 18 02:50:35 2014 From: bbruen at ...2308... (B Bruen) Date: Fri, 18 Jul 2014 10:20:35 +0930 Subject: [Gambas-user] Color In-Reply-To: <53C5279C.3060001@...1...> References: <20140715082226.213ff65910fb8da55a738b1d@...2308...> <53C5279C.3060001@...1...> Message-ID: <20140718102035.3569fa2aa3d7d7ee3bd64197@...2308...> On Tue, 15 Jul 2014 15:07:40 +0200 Beno?t Minisini wrote: > Le 15/07/2014 00:52, B Bruen a ?crit : ... > > 1) I'd like to define some new color names (e.g. DarkBackground) as > > there is just not enough standard color names to do all I need. This > > is not a problem with the Color override as I can define as many > > different names as I like. My problem is the IDE. It wont let me > > type a color name in the Background field on the properties panel, > > the only way to set a color name is via the button and the "Select a > > Color" popup which, of course, has never heard of my "DarkBackground" > > color. So, is the textbox part of the Background property control > > really read only or have I done something silly to our local version > > of the IDE? > > > > You should not expect the IDE to be modified by your single own personal > program. > > The pre-defined system colors are a common subset of system colors > defined by QT4 and GTK+. Some of them, like Color.LightBackground and > Color.LightForeground are actually a mix of two system colors. > > > ... > > Regards, > > -- > Beno?t Minisini > No I didn't expect the IDE to cope with "my single own personal program". What I was looking at was a way to define "custom color names" that the IDE could cope with somehow. But having stepped through the IDE code and how it handles property "realValue"s I see the difficulties involved. It seems a bit of a shame actually as I think custom color names could add value to the IDE. I'm thinking color-names like ErrorBackground or ErrorForeground could be used by someone who wants to highlight all controls that failed validation on an update action on a form and things like that. Or whatever other name a developer would want to use to highlight multiple controls on a form. Nevertheless, I will work on how this could be done using our local version of the IDE in my spare time (haha!). Which means I may have to come back to you on some specific issues with the code. :-) regards Bruce -- B Bruen From bbruen at ...2308... Fri Jul 18 02:58:52 2014 From: bbruen at ...2308... (B Bruen) Date: Fri, 18 Jul 2014 10:28:52 +0930 Subject: [Gambas-user] Color In-Reply-To: <53C5279C.3060001@...1...> References: <20140715082226.213ff65910fb8da55a738b1d@...2308...> <53C5279C.3060001@...1...> Message-ID: <20140718102852.f939c401769fff113ee3e361@...2308...> On Tue, 15 Jul 2014 15:07:40 +0200 Beno?t Minisini wrote: > Le 15/07/2014 00:52, B Bruen a ?crit : ... > > 4) Some controls, e.g. DirChooser, don't set the background color > > according to the Background property. It seems to set the background > > color of the bar at the top of the chooser. Is there any reason for > > this? > > Yes, DirChooser is a compound control, so if I do nothing, the > background color is not taken by the inner controls that uses the system > TextBackground color (for example). > > I have to fix the controls case by case (i.e. decide which part of the > compound control should take the global background color). > > Regards, > > -- > Beno?t Minisini > In this specific case, but probably influenced by our local needs, I think that the background of a compound control should be the "bulkiest area" of the control. But then again, a design rule could be : the area that the user's eye is/should be naturally drawn towards in the majority of uses. But, whatever. Since the majority of controls that we use here are very stable, I will probably take the line of creating our own custom versions. (Just another fight with SVN conflicts... :-( ) . regards Bruce -- B Bruen From gambas at ...1... Fri Jul 18 03:32:16 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 18 Jul 2014 03:32:16 +0200 Subject: [Gambas-user] gambas3.5.4 no help pages In-Reply-To: <53C7F1DA.3070205@...3360...> References: <53C65C29.2030702@...221...> <53C66FD5.4000002@...1...> <53C76C18.2080905@...221...> <53C7F1DA.3070205@...3360...> Message-ID: <53C87920.8010208@...1...> Le 17/07/2014 17:55, LinAk a ?crit : > 2014-07-17 08:24, Rolf-Werner Eilert skrev: >> Am 16.07.2014 14:28, schrieb Beno?t Minisini: >>> Le 16/07/2014 13:04, Rolf-Werner Eilert a ?crit : >>>> Hi folks, >>>> >>>> As I was still working with 3.5.2, I thought it might be time to >>>> update. >>>> >>>> Downloaded the sources, compiled, uninstalled 3.5.2 and installed >>>> 3.5.4. >>>> >>>> It does seem to run, but when I press F2, the help pages (almost all of >>>> them) show page not found. >>>> >>>> I remember there was some change in 3.5.3 with the help, was there a >>>> new >>>> path? And where could I enter it? >>>> >>>> Rolf >>>> >>> The only difference is that gambas 3.5.4 points at the new wiki >>> (http://gambaswiki.org) instead of the old one (http://gambasdoc.org). >>> >>> Try to clear the webkit cache from the IDE option dialog to see if it >>> changes anything... >>> >> Still doesn't run - here is a screenshot. What I did is pressing F2 on >> .OutputFile, but F1 has a similar result: I see the start page, but a >> lot of nodes on the left are missing and most of the pages aren't shown. >> >> I tried to switch the language, but to no avail. >> >> Rolf > Hi. > Same problem here, but if i change the component from gui to qt4 then it > works. > > I'm using Linux Mint 17 and Gambas 3.5.4 > > Anders > Yep. The bug has been fixed in the development version, but has not been backported. I did that in revision #6387, so that you get it in a possible gambas 3.5.5 release. Regards, -- Beno?t Minisini From jscops at ...11... Fri Jul 18 08:32:07 2014 From: jscops at ...11... (Jack) Date: Fri, 18 Jul 2014 08:32:07 +0200 Subject: [Gambas-user] how copy the screen to memory on a sdl project In-Reply-To: <53C7F1DA.3070205@...3360...> References: <53C65C29.2030702@...221...> <53C66FD5.4000002@...1...> <53C76C18.2080905@...221...> <53C7F1DA.3070205@...3360...> Message-ID: <53C8BF67.9050104@...11...> Hello ! screen.copy (x, y, w, h) does not exist, then in a sdl project, how to make a copy of part of the screen. -- Cordialement Jacky Tripoteau From jusabejusabe at ...626... Fri Jul 18 11:11:49 2014 From: jusabejusabe at ...626... (Julio Sanchez) Date: Fri, 18 Jul 2014 11:11:49 +0200 Subject: [Gambas-user] how copy the screen to memory on a sdl project In-Reply-To: <53C8BF67.9050104@...11...> References: <53C65C29.2030702@...221...> <53C66FD5.4000002@...1...> <53C76C18.2080905@...221...> <53C7F1DA.3070205@...3360...> <53C8BF67.9050104@...11...> Message-ID: Jack: You can use the terminal command "scrot" http://www.tecmint.com/take-screenshots-in-linux-using-scrot/ Regards 2014-07-18 8:32 GMT+02:00 Jack : > Hello ! > > screen.copy (x, y, w, h) does not exist, then in a sdl project, how to > make a copy of part of the screen. > > -- > Cordialement > > Jacky Tripoteau > > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From wig at ...1809... Fri Jul 18 12:05:40 2014 From: wig at ...1809... (wig) Date: Fri, 18 Jul 2014 12:05:40 +0200 Subject: [Gambas-user] gambas3 broken after opensuse 13.1 upgrade; circumvent In-Reply-To: <3622364.P848kAy0Wt@...3222...> References: <5499469.vIPcGOt7is@...3222...> <3622364.P848kAy0Wt@...3222...> Message-ID: <1500882.jYKWRuRDlq@...3222...> For OpenSUSE 13.1 users: use the "munich" repository: - uninstall the broken Gambas3 - choose home:munix9:gambas from http://software.opensuse.org/package/gambas3 This installs Gambas 3.5.4-2.2 Build time Sat 12 Jul 2014 09:59:16 PM CEST - examples are included - help files work as well. WiG On Wednesday 16 July 2014 15:40:09 wig wrote: > That is indeed what I did. > > - Remove (via software management). > > Check the files (suse seems to use /usr/share, not usr/lib) > > - Check /usr/bin ; files are gone > - Check /usr/share/gambas3 ; files are gone > > - Install again > > or next time: Remove software repository education > Add other software repository home:ccgx and install new from there. > > From jscops at ...11... Fri Jul 18 13:38:48 2014 From: jscops at ...11... (Jack) Date: Fri, 18 Jul 2014 13:38:48 +0200 Subject: [Gambas-user] how copy the screen to memory on a sdl project In-Reply-To: References: <53C65C29.2030702@...221...> <53C66FD5.4000002@...1...> <53C76C18.2080905@...221...> <53C7F1DA.3070205@...3360...> <53C8BF67.9050104@...11...> Message-ID: <53C90748.3010005@...11...> Le 18/07/2014 11:11, Julio Sanchez a ?crit : > > You can use the terminal command "scrot" > > http://www.tecmint.com/take-screenshots-in-linux-using-scrot/ > Thank you Julio, but i would prefer another solution with only Gambas. No another way with a Gambas command ? -- Cordialement Jacky Tripoteau From jusabejusabe at ...626... Fri Jul 18 14:14:43 2014 From: jusabejusabe at ...626... (Julio Sanchez) Date: Fri, 18 Jul 2014 14:14:43 +0200 Subject: [Gambas-user] how copy the screen to memory on a sdl project In-Reply-To: <53C90748.3010005@...11...> References: <53C65C29.2030702@...221...> <53C66FD5.4000002@...1...> <53C76C18.2080905@...221...> <53C7F1DA.3070205@...3360...> <53C8BF67.9050104@...11...> <53C90748.3010005@...11...> Message-ID: Jack: > with a Gambas command ? gb.desktop component with: Dim p As Picture p =Desktop.Screenshot(x1, y1, x2 , y2 ) p.save ("filename.png") ' link: http://gambasdoc.org/help/comp/gb.desktop/desktop/screensaver?en&v3 But not if you're going to run gb.sdl Regards Julio 2014-07-18 13:38 GMT+02:00 Jack : > Le 18/07/2014 11:11, Julio Sanchez a ?crit : > > > > You can use the terminal command "scrot" > > > > http://www.tecmint.com/take-screenshots-in-linux-using-scrot/ > > > > Thank you Julio, > > but i would prefer another solution with only Gambas. No another way > with a Gambas command ? > > -- > Cordialement > > Jacky Tripoteau > > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jscops at ...11... Fri Jul 18 15:05:38 2014 From: jscops at ...11... (Jack) Date: Fri, 18 Jul 2014 15:05:38 +0200 Subject: [Gambas-user] how copy the screen to memory on a sdl project In-Reply-To: References: <53C65C29.2030702@...221...> <53C66FD5.4000002@...1...> <53C76C18.2080905@...221...> <53C7F1DA.3070205@...3360...> <53C8BF67.9050104@...11...> <53C90748.3010005@...11...> Message-ID: <53C91BA2.8070005@...11...> Le 18/07/2014 14:14, Julio Sanchez a ?crit : > Jack: > >> with a Gambas command ? > gb.desktop component with: > > Dim p As Picture > p =Desktop.Screenshot(x1, y1, x2 , y2 ) > p.save ("filename.png") > > > ' link: http://gambasdoc.org/help/comp/gb.desktop/desktop/screensaver?en&v3 > > But not if you're going to run gb.sdl sorry Julio, but I only have sdl. It's a pity we cannot copy part of the screen in a picture variable. we could draw a figure in one part of the screen and then we could post it everywhere else. -- Cordialement Jacky Tripoteau From taboege at ...626... Fri Jul 18 15:09:29 2014 From: taboege at ...626... (Tobias Boege) Date: Fri, 18 Jul 2014 15:09:29 +0200 Subject: [Gambas-user] how copy the screen to memory on a sdl project In-Reply-To: <53C91BA2.8070005@...11...> References: <53C65C29.2030702@...221...> <53C66FD5.4000002@...1...> <53C76C18.2080905@...221...> <53C7F1DA.3070205@...3360...> <53C8BF67.9050104@...11...> <53C90748.3010005@...11...> <53C91BA2.8070005@...11...> Message-ID: <20140718130929.GA640@...2774...> On Fri, 18 Jul 2014, Jack wrote: > Le 18/07/2014 14:14, Julio Sanchez a ??crit : > > Jack: > > > >> with a Gambas command ? > > gb.desktop component with: > > > > Dim p As Picture > > p =Desktop.Screenshot(x1, y1, x2 , y2 ) > > p.save ("filename.png") > > > > > > ' link: http://gambasdoc.org/help/comp/gb.desktop/desktop/screensaver?en&v3 > > > > But not if you're going to run gb.sdl > > > sorry Julio, but I only have sdl. > > It's a pity we cannot copy part of the screen in a picture variable. we > could draw a figure in one part of the screen and then we could post it > everywhere else. > By "screen" you mean the whole desktop, not just your SDL window, right? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From eilert-sprachen at ...221... Fri Jul 18 16:53:13 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Fri, 18 Jul 2014 16:53:13 +0200 Subject: [Gambas-user] gambas3.5.4 no help pages In-Reply-To: <53C87920.8010208@...1...> References: <53C65C29.2030702@...221...> <53C66FD5.4000002@...1...> <53C76C18.2080905@...221...> <53C7F1DA.3070205@...3360...> <53C87920.8010208@...1...> Message-ID: <53C934D9.5010705@...221...> Am 18.07.2014 03:32, schrieb Beno?t Minisini: > Le 17/07/2014 17:55, LinAk a ?crit : >> 2014-07-17 08:24, Rolf-Werner Eilert skrev: >>> Am 16.07.2014 14:28, schrieb Beno?t Minisini: >>>> Le 16/07/2014 13:04, Rolf-Werner Eilert a ?crit : >>>>> Hi folks, >>>>> >>>>> As I was still working with 3.5.2, I thought it might be time to >>>>> update. >>>>> >>>>> Downloaded the sources, compiled, uninstalled 3.5.2 and installed >>>>> 3.5.4. >>>>> >>>>> It does seem to run, but when I press F2, the help pages (almost all of >>>>> them) show page not found. >>>>> >>>>> I remember there was some change in 3.5.3 with the help, was there a >>>>> new >>>>> path? And where could I enter it? >>>>> >>>>> Rolf >>>>> >>>> The only difference is that gambas 3.5.4 points at the new wiki >>>> (http://gambaswiki.org) instead of the old one (http://gambasdoc.org). >>>> >>>> Try to clear the webkit cache from the IDE option dialog to see if it >>>> changes anything... >>>> >>> Still doesn't run - here is a screenshot. What I did is pressing F2 on >>> .OutputFile, but F1 has a similar result: I see the start page, but a >>> lot of nodes on the left are missing and most of the pages aren't shown. >>> >>> I tried to switch the language, but to no avail. >>> >>> Rolf >> Hi. >> Same problem here, but if i change the component from gui to qt4 then it >> works. >> >> I'm using Linux Mint 17 and Gambas 3.5.4 >> >> Anders >> > > Yep. The bug has been fixed in the development version, but has not been > backported. I did that in revision #6387, so that you get it in a > possible gambas 3.5.5 release. > > Regards, > Ok, thanks a lot! At least I know I don't need to try any longer :-) But maybe I use the trunk version until 3.5.5 is released. Have a nice weekend! Rolf From bbruen at ...2308... Sat Jul 19 00:59:06 2014 From: bbruen at ...2308... (B Bruen) Date: Sat, 19 Jul 2014 08:29:06 +0930 Subject: [Gambas-user] IDE crash on autocomplete Message-ID: <20140719082906.51cafbd397d175f00e00ffbe@...2308...> I keep getting an IDE crash when typing Colo (see attached pic). Clues: I have a class, Color, within this project. Its' purpose is to override the native gb.qt4 Color class (so I can't rename it). Any clues? tia Bruce -- B Bruen -------------- next part -------------- A non-text attachment was scrubbed... Name: Selection_022.png Type: image/png Size: 52089 bytes Desc: not available URL: From gambas at ...1... Sat Jul 19 02:12:16 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 19 Jul 2014 02:12:16 +0200 Subject: [Gambas-user] IDE crash on autocomplete In-Reply-To: <20140719082906.51cafbd397d175f00e00ffbe@...2308...> References: <20140719082906.51cafbd397d175f00e00ffbe@...2308...> Message-ID: <53C9B7E0.9080904@...1...> Le 19/07/2014 00:59, B Bruen a ?crit : > I keep getting an IDE crash when typing Colo (see attached pic). > Clues: I have a class, Color, within this project. Its' purpose is to override the native gb.qt4 Color class (so I can't rename it). > > Any clues? > > tia > Bruce > I need the stack backtrace printed on the error output (run the IDE from a terminal to get it). Apparently the crash is a not-catched error while interpreting an help comment. -- Beno?t Minisini From bbruen at ...2308... Sat Jul 19 03:19:49 2014 From: bbruen at ...2308... (B Bruen) Date: Sat, 19 Jul 2014 10:49:49 +0930 Subject: [Gambas-user] IDE crash on autocomplete In-Reply-To: <53C9B7E0.9080904@...1...> References: <20140719082906.51cafbd397d175f00e00ffbe@...2308...> <53C9B7E0.9080904@...1...> Message-ID: <20140719104949.00dfd62061466bd2dbdaf756@...2308...> On Sat, 19 Jul 2014 02:12:16 +0200 Beno?t Minisini wrote: > Le 19/07/2014 00:59, B Bruen a ?crit : > > I keep getting an IDE crash when typing Colo (see attached pic). > > Clues: I have a class, Color, within this project. Its' purpose is to override the native gb.qt4 Color class (so I can't rename it). > > > > Any clues? > > > > tia > > Bruce > > > > I need the stack backtrace printed on the error output (run the IDE from > a terminal to get it). > > Apparently the crash is a not-catched error while interpreting an help > comment. > > -- > Beno?t Minisini > [bb at ...40... gambas3]$ gambas3 phControls3: LabelDateBox.ForceUppercase declared but not implemented phControls3: LabelMaskBox.Alignment declared but not implemented phControls3: LabelMaskBox.Maxlength declared but not implemented phControls3: LabelMaskBox.Password declared but not implemented phControls3: LabelRadioButton.TriState declared but not implemented phControls3: LabelSpinBox.ForceUppercase declared but not implemented phControls3: LabelValueSlider.ForceUppercase declared but not implemented gambas3: warning: cannot set XDirChooser.Background property: CControl.GetRealValue.467: Unknown symbol 'DarkBackground' in class 'Color' gambas3: warning: cannot set property: XDirChooser.Background = Color.DarkBackground gambas3: warning: cannot set TextBox.Background property: CControl.GetRealValue.467: Unknown symbol 'DarkBackground' in class 'Color' gambas3: warning: cannot set property: TextBox.Background = Color.DarkBackground gambas3: warning: cannot set TextBox.Background property: CControl.GetRealValue.467: Unknown symbol 'DarkBackground' in class 'Color' gambas3: warning: cannot set property: TextBox.Background = Color.DarkBackground gambas3: warning: cannot set TextBox.Foreground property: CControl.GetRealValue.467: Unknown symbol 'DarkForeground' in class 'Color' gambas3: warning: cannot set property: TextBox.Foreground = Color.DarkForeground gambas3: warning: cannot set TextBox.Background property: CControl.GetRealValue.467: Unknown symbol 'DarkBackground' in class 'Color' gambas3: warning: cannot set property: TextBox.Background = Color.DarkBackground gambas3: warning: cannot set TextBox.Background property: CControl.GetRealValue.467: Unknown symbol 'DarkBackground' in class 'Color' gambas3: warning: cannot set property: TextBox.Background = Color.DarkBackground gambas3: warning: cannot set TextBox.Background property: CControl.GetRealValue.467: Unknown symbol 'DarkBackground' in class 'Color' gambas3: warning: cannot set property: TextBox.Background = Color.DarkBackground gambas3: warning: cannot set TextArea.Foreground property: CControl.GetRealValue.467: Unknown symbol 'DarkForeground' in class 'Color' gambas3: warning: cannot set property: TextArea.Foreground = Color.DarkForeground (**** Everything above occurs before any text is typed ****) (**** Regardless of the above and even using a class that does not use the missing color, I still get the crash as soon as I type Colo ****) Markup.ConvertLine.421: Unexpected end of line (**** This is the only backtrace line in the console output when I type Colo ****) and ignore the phControls3 output, they are for an unrelated form that is using some of our custom controls. I'll stick a couple of debug lines into Markup.ConvertLine and get back to you. rgrds Bruce -- B Bruen From jscops at ...11... Sat Jul 19 08:05:22 2014 From: jscops at ...11... (Jack) Date: Sat, 19 Jul 2014 08:05:22 +0200 Subject: [Gambas-user] how copy the screen to memory on a sdl project In-Reply-To: <20140718130929.GA640@...2774...> References: <53C65C29.2030702@...221...> <53C66FD5.4000002@...1...> <53C76C18.2080905@...221...> <53C7F1DA.3070205@...3360...> <53C8BF67.9050104@...11...> <53C90748.3010005@...11...> <53C91BA2.8070005@...11...> <20140718130929.GA640@...2774...> Message-ID: <53CA0AA2.7060105@...11...> Le 18/07/2014 15:09, Tobias Boege a ?crit : > By "screen" you mean the whole desktop, not just your SDL window, right? Excuse me Tobi. I was not very clear. Screen for me is only sdl window. it's the working screen defined by the Gambas program. -- Cordialement Jacky Tripoteau From taboege at ...626... Sat Jul 19 12:55:16 2014 From: taboege at ...626... (Tobias Boege) Date: Sat, 19 Jul 2014 12:55:16 +0200 Subject: [Gambas-user] how copy the screen to memory on a sdl project In-Reply-To: <53CA0AA2.7060105@...11...> References: <53C66FD5.4000002@...1...> <53C76C18.2080905@...221...> <53C7F1DA.3070205@...3360...> <53C8BF67.9050104@...11...> <53C90748.3010005@...11...> <53C91BA2.8070005@...11...> <20140718130929.GA640@...2774...> <53CA0AA2.7060105@...11...> Message-ID: <20140719105515.GA481@...2774...> On Sat, 19 Jul 2014, Jack wrote: > Le 18/07/2014 15:09, Tobias Boege a ?crit : > > By "screen" you mean the whole desktop, not just your SDL window, right? > > Excuse me Tobi. I was not very clear. Screen for me is only sdl window. > it's the working screen defined by the Gambas program. > OK. Next thing to notice is that you are using the Draw event to paint your window. To grab a rectangle (x,y,w,h) from your screen you can do something similar to: - define a Private $bMakeScreenshot As Boolean and set it to True whenever you want to make a screenshot (set it to False after every Draw event) - define Private $iX, $iY, $iW, $iH As Integer which specify the rectangle to grab in case $bMakeScreenshot is True. - in your Draw event handler, if $bMakeScreenshot is True, do not draw immediately to the screen but to an intermediate Image object. Then draw the Image to the screen and extract your screenshot from the Image. Once you set $bMakeScreenshot, you will get a screenshot of the next frame. HOWEVER, as I was trying to implement this (see attached project), I saw in the documentation that gb.sdl is currently (?) not capable of drawing to an Image. Without that, I fear that you can't do that with gb.sdl - at least I am out of ideas at this point. I bet it would work if only we were able to draw to an Image... Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: sdltest-0.0.1.tar.gz Type: application/octet-stream Size: 5147 bytes Desc: not available URL: From dl7nb at ...17... Sat Jul 19 16:04:54 2014 From: dl7nb at ...17... (Wolfgang, dl7nb) Date: Sat, 19 Jul 2014 16:04:54 +0200 Subject: [Gambas-user] How to find the source of evil? In-Reply-To: <20140719105515.GA481@...2774...> References: <53C66FD5.4000002@...1...> <53C76C18.2080905@...221...> <53C7F1DA.3070205@...3360...> <53C8BF67.9050104@...11...> <53C90748.3010005@...11...> <53C91BA2.8070005@...11...> <20140718130929.GA640@...2774...> <53CA0AA2.7060105@...11...> <20140719105515.GA481@...2774...> Message-ID: <53CA7B06.2030407@...17...> Hello! All works well but I get an error saying: (MyProgram140708:8024): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' failed I think that "140708:8024" is the place from where the faulty call is done. But how can I find this/this line in my source code. Is there a simple solution that I have overlooked? Thank you for your time! Wolfgang From gambas at ...1... Sat Jul 19 21:03:09 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 19 Jul 2014 21:03:09 +0200 Subject: [Gambas-user] how copy the screen to memory on a sdl project In-Reply-To: <53C8BF67.9050104@...11...> References: <53C65C29.2030702@...221...> <53C66FD5.4000002@...1...> <53C76C18.2080905@...221...> <53C7F1DA.3070205@...3360...> <53C8BF67.9050104@...11...> Message-ID: <53CAC0ED.2090203@...1...> Le 18/07/2014 08:32, Jack a ?crit : > Hello ! > > screen.copy (x, y, w, h) does not exist, then in a sdl project, how to > make a copy of part of the screen. > In revision #6389, I added a Window.Screenshot() method that returns the contents of the SDL window as an Image object. I will add optional arguments so that we can get only a sub-part of the window. Please check it and tell me if it works for you. I tested it with the BeastScroll example only. Regards, -- Beno?t Minisini From gambas at ...1... Sat Jul 19 21:04:00 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 19 Jul 2014 21:04:00 +0200 Subject: [Gambas-user] How to find the source of evil? In-Reply-To: <53CA7B06.2030407@...17...> References: <53C66FD5.4000002@...1...> <53C76C18.2080905@...221...> <53C7F1DA.3070205@...3360...> <53C8BF67.9050104@...11...> <53C90748.3010005@...11...> <53C91BA2.8070005@...11...> <20140718130929.GA640@...2774...> <53CA0AA2.7060105@...11...> <20140719105515.GA481@...2774...> <53CA7B06.2030407@...17...> Message-ID: <53CAC120.9080705@...1...> Le 19/07/2014 16:04, Wolfgang, dl7nb a ?crit : > Hello! > All works well but I get an error saying: > > (MyProgram140708:8024): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: > assertion `g_utf8_validate (text, len, NULL)' failed > > I think that "140708:8024" is the place from where the faulty call is > done. But how can I find this/this line in my source code. > > Is there a simple solution that I have overlooked? > > Thank you for your time! > > Wolfgang > That means that an invalid UTF-8 string arrived in the GTK+ library, probably from your Gambas code. I can't tell more. -- Beno?t Minisini From dl7nb at ...17... Sun Jul 20 08:09:56 2014 From: dl7nb at ...17... (Wolfgang, dl7nb) Date: Sun, 20 Jul 2014 08:09:56 +0200 Subject: [Gambas-user] How to find the source of evil? In-Reply-To: <53CAC120.9080705@...1...> References: <53C66FD5.4000002@...1...> <53C76C18.2080905@...221...> <53C7F1DA.3070205@...3360...> <53C8BF67.9050104@...11...> <53C90748.3010005@...11...> <53C91BA2.8070005@...11...> <20140718130929.GA640@...2774...> <53CA0AA2.7060105@...11...> <20140719105515.GA481@...2774...> <53CA7B06.2030407@...17...> <53CAC120.9080705@...1...> Message-ID: <53CB5D34.4050809@...17...> Am 19.07.2014 21:04, schrieb Beno?t Minisini: > Le 19/07/2014 16:04, Wolfgang, dl7nb a ?crit : >> Hello! >> All works well but I get an error saying: >> >> (MyProgram140708:8024): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: >> assertion `g_utf8_validate (text, len, NULL)' failed >> >> I think that "140708:8024" is the place from where the faulty call is >> done. But how can I find this/this line in my source code. >> >> Is there a simple solution that I have overlooked? >> >> Thank you for your time! >> >> Wolfgang >> > That means that an invalid UTF-8 string arrived in the GTK+ library, > probably from your Gambas code. I can't tell more. > Thank you Beno?t, I just thought that there could be an easy (and lazy) way to find out which line causes the problem. So I have to do some research myself. ;-) Wolfgang From jscops at ...11... Sun Jul 20 08:44:29 2014 From: jscops at ...11... (Jack) Date: Sun, 20 Jul 2014 08:44:29 +0200 Subject: [Gambas-user] how copy the screen to memory on a sdl project In-Reply-To: <53CAC0ED.2090203@...1...> References: <53C65C29.2030702@...221...> <53C66FD5.4000002@...1...> <53C76C18.2080905@...221...> <53C7F1DA.3070205@...3360...> <53C8BF67.9050104@...11...> <53CAC0ED.2090203@...1...> Message-ID: <53CB654D.8020300@...11...> Le 19/07/2014 21:03, Beno?t Minisini a ?crit : > Le 18/07/2014 08:32, Jack a ?crit : >> Hello ! >> >> screen.copy (x, y, w, h) does not exist, then in a sdl project, how to >> make a copy of part of the screen. >> > > In revision #6389, I added a Window.Screenshot() method that returns the > contents of the SDL window as an Image object. > > I will add optional arguments so that we can get only a sub-part of the > window. > > Please check it and tell me if it works for you. I tested it with the > BeastScroll example only. > > Regards, > @ Tobi, Tobi, thank you for your work and your time. @ benoit, I tested the Window.Screenshot () method and it works well. I think I'll ask a few small improvements. Soon. Thank you again for your speed to provide answers. -- Cordialement Jacky Tripoteau From olivier.cruilles at ...614... Sun Jul 20 15:21:50 2014 From: olivier.cruilles at ...614... (Olivier Cruilles) Date: Sun, 20 Jul 2014 09:21:50 -0400 Subject: [Gambas-user] New feature with Task component Message-ID: <9A3273AF-818B-4925-834B-EC400992D07A@...614...> Hello Benoit, I'm building an application that is a UDP Server to receive and decompilate network flow. To not lose UDP sequence, the main process of this application need to be the most fast possible. So in this case, when a READ event of the USPServer raise, I just catch it as string directly from the stream and I store it in a string[] variable. All this part is very fast and work fine. Next, every 400ms, with a timer, I check if there is something in the string[] variable and a I extract a part of strings to send it to a TASK to decompilate all these flows in background. All the TASK work fine but to store the result of the decompilation of all these flows by the TASK, I have no another choice to use the PRINT command inside the TASK, by serialization/deserialisation, with the parent process. So all that is good but with this methode I take between 7 to 12 microseconds to deserialise the informations from the TASK in the READ event in the parent process. In my case this is time I loose for the READ event of the UDPServer and I loose Network sequence. I try to execute from the TASK a function in isolate Class in the application but not data are stored in any variables. I read again the documentation and all that is normal for a TASK. All the modifications made by the TASK process are not visible by the parent process. My question is, could you add possibility to store data in common variables from any TASK (in my case an array of Classes) just to bypass the serialization/deserialization normal process between TASK and his parent ? To have an idea, I receive more than 700 millions of Flows each day so this some microseconds are very important in the end. Thank in advance Cordialement, Olivier Cruilles EMail: olivier.cruilles at ...614... From gambas at ...1... Sun Jul 20 15:45:22 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 20 Jul 2014 15:45:22 +0200 Subject: [Gambas-user] New feature with Task component In-Reply-To: <9A3273AF-818B-4925-834B-EC400992D07A@...614...> References: <9A3273AF-818B-4925-834B-EC400992D07A@...614...> Message-ID: <53CBC7F2.9000705@...1...> Le 20/07/2014 15:21, Olivier Cruilles a ?crit : > Hello Benoit, > > I'm building an application that is a UDP Server to receive and > decompilate network flow. > > To not lose UDP sequence, the main process of this application need > to be the most fast possible. So in this case, when a READ event of > the USPServer raise, I just catch it as string directly from the > stream and I store it in a string[] variable. > > All this part is very fast and work fine. > > Next, every 400ms, with a timer, I check if there is something in the > string[] variable and a I extract a part of strings to send it to a > TASK to decompilate all these flows in background. All the TASK work > fine but to store the result of the decompilation of all these flows > by the TASK, I have no another choice to use the PRINT command inside > the TASK, by serialization/deserialisation, with the parent process. > So all that is good but with this methode I take between 7 to 12 > microseconds to deserialise the informations from the TASK in the > READ event in the parent process. In my case this is time I loose for > the READ event of the UDPServer and I loose Network sequence. > > I try to execute from the TASK a function in isolate Class in the > application but not data are stored in any variables. I read again > the documentation and all that is normal for a TASK. All the > modifications made by the TASK process are not visible by the parent > process. > > My question is, could you add possibility to store data in common > variables from any TASK (in my case an array of Classes) just to > bypass the serialization/deserialization normal process between TASK > and his parent ? > > To have an idea, I receive more than 700 millions of Flows each day > so this some microseconds are very important in the end. > > Thank in advance > > > > Cordialement, > > Olivier Cruilles EMail: olivier.cruilles at ...614... > I don't want to share things (Gambas objects) between a task and its parent process, indirectly because the interpreter is not thread-safe, and I don't want it to support threading. How do you serialize/unserialize the data coming from the task? Are you sure you cannot optimize it? -- Beno?t Minisini From olivier.cruilles at ...614... Sun Jul 20 16:12:10 2014 From: olivier.cruilles at ...614... (Olivier Cruilles) Date: Sun, 20 Jul 2014 10:12:10 -0400 Subject: [Gambas-user] New feature with Task component In-Reply-To: <53CBC7F2.9000705@...1...> References: <9A3273AF-818B-4925-834B-EC400992D07A@...614...> <53CBC7F2.9000705@...1...> Message-ID: <886FFA2C-813C-4FE5-85D2-EEEA1D23205A@...614...> In the TASK, I just do that: PRINT data1 & ";" & data2 & ";" & data3 & ";" & data4 ' In a For Each loop Ex: PRINT "127.0.0.1;3413;7834;57661510" In the parent process: Public sUDPServer_READ(Data as string) DIM Champs as String[] DIM ListLigne as String[] ListLigne = split(Data, "\", "'") For each LigneData in ListLigne Champs = split(LigneData, ";" , "'") ' This part take 7 to 12 microseconds ModFunction.StoreData(Champs[0], Champs[1], Champs[2], Champs[3]) Next End Cordialement, Olivier Cruilles EMail: olivier.cruilles at ...614... Portable: +01 514 431 2960 Le 20 juil. 2014 ? 09:45, Beno?t Minisini a ?crit : > Le 20/07/2014 15:21, Olivier Cruilles a ?crit : >> Hello Benoit, >> >> I'm building an application that is a UDP Server to receive and >> decompilate network flow. >> >> To not lose UDP sequence, the main process of this application need >> to be the most fast possible. So in this case, when a READ event of >> the USPServer raise, I just catch it as string directly from the >> stream and I store it in a string[] variable. >> >> All this part is very fast and work fine. >> >> Next, every 400ms, with a timer, I check if there is something in the >> string[] variable and a I extract a part of strings to send it to a >> TASK to decompilate all these flows in background. All the TASK work >> fine but to store the result of the decompilation of all these flows >> by the TASK, I have no another choice to use the PRINT command inside >> the TASK, by serialization/deserialisation, with the parent process. >> So all that is good but with this methode I take between 7 to 12 >> microseconds to deserialise the informations from the TASK in the >> READ event in the parent process. In my case this is time I loose for >> the READ event of the UDPServer and I loose Network sequence. >> >> I try to execute from the TASK a function in isolate Class in the >> application but not data are stored in any variables. I read again >> the documentation and all that is normal for a TASK. All the >> modifications made by the TASK process are not visible by the parent >> process. >> >> My question is, could you add possibility to store data in common >> variables from any TASK (in my case an array of Classes) just to >> bypass the serialization/deserialization normal process between TASK >> and his parent ? >> >> To have an idea, I receive more than 700 millions of Flows each day >> so this some microseconds are very important in the end. >> >> Thank in advance >> >> >> >> Cordialement, >> >> Olivier Cruilles EMail: olivier.cruilles at ...614... >> > > I don't want to share things (Gambas objects) between a task and its > parent process, indirectly because the interpreter is not thread-safe, > and I don't want it to support threading. > > How do you serialize/unserialize the data coming from the task? Are you > sure you cannot optimize it? > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sun Jul 20 16:47:23 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 20 Jul 2014 16:47:23 +0200 Subject: [Gambas-user] Gambas applications and session management Message-ID: <53CBD67B.6010405@...1...> Hi, In revision #6392, I have implemented automatic session management support in gb.qt4. Consequently, if you logout while one or several Gambas IDE are opened, now they will be restarted automatically at the next login. Moreover, they will be put in the virtual desktop where they were located at logout! As for gb.gtk and gb.gtk3, you have nothing at the moment. Session management support will require hours of tricks and workarounds, and maybe it won't work! Let's see... Beware that this is fresh code, and it may sometimes not work. Even KDE is not able to restart its own applications in the correct virtual desktop reliably. So, please report any problem. Regards, -- Beno?t Minisini From nicholso at ...2533... Sun Jul 20 17:32:40 2014 From: nicholso at ...2533... (MinnesotaJon) Date: Sun, 20 Jul 2014 08:32:40 -0700 (PDT) Subject: [Gambas-user] how copy the screen to memory on a sdl project In-Reply-To: <53CB654D.8020300@...11...> References: <53C65C29.2030702@...221...> <53C66FD5.4000002@...1...> <53C76C18.2080905@...221...> <53C7F1DA.3070205@...3360...> <53C8BF67.9050104@...11...> <53CAC0ED.2090203@...1...> <53CB654D.8020300@...11...> Message-ID: <1405870360776-47532.post@...3046...> Hello, Jacky -- You may find it useful to go to my Wordpress blog: http://beginnersguidetogambas.com/ On the main page, you will find a list of downloads, including download #4, "4.Gambas3". This download includes a program that I wrote called "Screenshooter", which uses the Window.Screenshot method to allow precisely adjusted screenshots, including screenshots of any window open on the desktop -- including windows that are mostly off of the screen, windows that are minimized, or even windows that are minimized on another workspace! It uses the gb.desktop component of Gambas for these tricks. Regards, Jon -- View this message in context: http://gambas.8142.n7.nabble.com/gambas3-5-4-no-help-pages-tp47483p47532.html Sent from the gambas-user mailing list archive at Nabble.com. From dheerajb.2020 at ...3358... Mon Jul 21 07:30:30 2014 From: dheerajb.2020 at ...3358... (Dheeraj B) Date: Mon, 21 Jul 2014 11:00:30 +0530 Subject: [Gambas-user] Playing Music Message-ID: Hi, I am new to gambas and programming as well,I got a project to do in my internship to play music from an xml,i am able to play a single music file but not from an xml sheet,and when trying with an xml sheet i am getting lot of errors and also iam not able to do that, Can any one pls help me how to play music from an xml sheet. Thank you. From rmorgan62 at ...626... Mon Jul 21 07:53:26 2014 From: rmorgan62 at ...626... (Randall Morgan) Date: Sun, 20 Jul 2014 23:53:26 -0600 Subject: [Gambas-user] Playing Music In-Reply-To: References: Message-ID: Hi, I'm betting you are trying to play music with one of the audio file options. But XML Sheet music is simply sheet music scores. Look up http://www.musicxml.com/for-developers/ for information on the format for instrument voices and notes. You will need to convert the music scores to audio frequencies, attack and delays. Not sure how you would do this in a gambas only program. However, there are other linux solutions available. Perhaps others have more some ideas? On Sun, Jul 20, 2014 at 11:30 PM, Dheeraj B wrote: > Hi, > I am new to gambas and programming as well,I got a project to do in my > internship to play music from an xml,i am able to play a single music file > but not from an xml sheet,and when trying with an xml sheet i am getting > lot of errors and also iam not able to do that, Can any one pls help me how > to play music from an xml sheet. > > Thank you. > > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From gambas at ...2524... Mon Jul 21 10:03:54 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 21 Jul 2014 08:03:54 +0000 Subject: [Gambas-user] Issue 522 in gambas: Panels do not capture keypress events In-Reply-To: <6-6813199134517018827-8658170024389030899-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-8658170024389030899-gambas=googlecode.com@...2524...> <0-6813199134517018827-8658170024389030899-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-8658170024389030899-gambas=googlecode.com@...2524...> Comment #7 on issue 522 by computer... at ...626...: Panels do not capture keypress events http://code.google.com/p/gambas/issues/detail?id=522 I use an IconPanel, so I wanted tab-specific shortcuts. However, checking the index is a way to get around the global window shortcut: If PreferencesPanel.Index = 5 Then If Key.Code = Key.Insert Then btnReplaceAdd_Click() Endif Endif -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From vuott at ...325... Mon Jul 21 10:04:10 2014 From: vuott at ...325... (Ru Vuott) Date: Mon, 21 Jul 2014 09:04:10 +0100 Subject: [Gambas-user] Error with rev. 6393 Message-ID: <1405929850.61579.YahooMailBasic@...3268...> Hello, with rev. #6393 I have got this error: CXX gb_gtk_la-gmainwindow.lo In file included from sm/gnome-client.h:50:0, from sm/sm.h:27, from gmainwindow.cpp:34: sm/gnome-program.h:41:18: fatal error: popt.h: No such file or directory #include ^ compilation terminated. make[5]: *** [gb_gtk_la-gmainwindow.lo] Error 1 make[5]: Leaving directory `/home/vuott/trunk/gb.gtk/src' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/vuott/trunk/gb.gtk/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/vuott/trunk/gb.gtk' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/vuott/trunk/gb.gtk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/vuott/trunk' make: *** [all] Error 2 From dquinter at ...626... Tue Jul 22 00:11:04 2014 From: dquinter at ...626... (Daniel Quintero) Date: Mon, 21 Jul 2014 17:11:04 -0500 Subject: [Gambas-user] gbr3: unable to load component: gb.markdown Message-ID: Hi all, I just got back from vacation and when I update my system today and want to launch Gambas, I found this error: gbr3: unable to load component: gb.markdown What can I do to correct it? Regards *_________________________* *Lic. Daniel Quintero Rojas* *?Saludos desde M?xico!________* From vuott at ...325... Tue Jul 22 00:30:59 2014 From: vuott at ...325... (Ru Vuott) Date: Mon, 21 Jul 2014 23:30:59 +0100 Subject: [Gambas-user] Error with rev. 6393 - BIS ! Message-ID: <1405981859.94754.YahooMailBasic@...3271...> Hello, I tried to update Gambas3 with rev. 6393 on another computer, and I obtained the same error: CXX gb_gtk_la-gtrayicon.lo CXX gb_gtk_la-gmainwindow.lo In file included from sm/gnome-client.h:50:0, from sm/sm.h:27, from gmainwindow.cpp:34: sm/gnome-program.h:41:18: fatal error: popt.h: No such file or directory #include ^ compilation terminated. Regards vuott From gambas at ...1... Tue Jul 22 00:49:25 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 22 Jul 2014 00:49:25 +0200 Subject: [Gambas-user] Error with rev. 6393 - BIS ! In-Reply-To: <1405981859.94754.YahooMailBasic@...3271...> References: <1405981859.94754.YahooMailBasic@...3271...> Message-ID: <53CD98F5.5010609@...1...> Le 22/07/2014 00:30, Ru Vuott a ?crit : > Hello, > > I tried to update Gambas3 with rev. 6393 on another computer, and I obtained the same error: > > > CXX gb_gtk_la-gtrayicon.lo > CXX gb_gtk_la-gmainwindow.lo > In file included from sm/gnome-client.h:50:0, > from sm/sm.h:27, > from gmainwindow.cpp:34: > sm/gnome-program.h:41:18: fatal error: popt.h: No such file or directory > #include > ^ > compilation terminated. > > > > Regards > vuott > It should be better with revision #6394. Regards, -- Beno?t Minisini From vuott at ...325... Tue Jul 22 01:07:16 2014 From: vuott at ...325... (Ru Vuott) Date: Tue, 22 Jul 2014 00:07:16 +0100 Subject: [Gambas-user] Error with rev. 6393 - BIS ! In-Reply-To: <53CD98F5.5010609@...1...> Message-ID: <1405984036.3120.YahooMailBasic@...3274...> Yes, Beno?t, now it works. bye vuott -------------------------------------------- Mar 22/7/14, Beno?t Minisini ha scritto: Oggetto: Re: [Gambas-user] Error with rev. 6393 - BIS ! A: "mailing list for gambas users" Data: Marted? 22 luglio 2014, 00:49 Le 22/07/2014 00:30, Ru Vuott a ?crit : > Hello, > > I tried to update Gambas3 with rev. 6393? on another computer, and I obtained the same error: > > >? ? CXX? ? ? gb_gtk_la-gtrayicon.lo >? ? CXX? ? ? gb_gtk_la-gmainwindow.lo > In file included from sm/gnome-client.h:50:0, >? ? ? ? ? ? ? ? ???from sm/sm.h:27, >? ? ? ? ? ? ? ? ???from gmainwindow.cpp:34: > sm/gnome-program.h:41:18: fatal error: popt.h: No such file or directory >???#include >? ? ? ? ? ? ? ? ? ? ? ? ? ???^ > compilation terminated. > > > > Regards > vuott > It should be better with revision #6394. Regards, -- Beno?t Minisini ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas.fr at ...626... Tue Jul 22 08:29:26 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 22 Jul 2014 08:29:26 +0200 Subject: [Gambas-user] Gambas applications and session management In-Reply-To: <53CBD67B.6010405@...1...> References: <53CBD67B.6010405@...1...> Message-ID: Is the session management is linked to the toolkit.?.. Couldn't it be independent ? Le 20 juil. 2014 16:48, "Beno?t Minisini" a ?crit : > Hi, > > In revision #6392, I have implemented automatic session management > support in gb.qt4. > > Consequently, if you logout while one or several Gambas IDE are opened, > now they will be restarted automatically at the next login. Moreover, > they will be put in the virtual desktop where they were located at logout! > > As for gb.gtk and gb.gtk3, you have nothing at the moment. Session > management support will require hours of tricks and workarounds, and > maybe it won't work! Let's see... > > Beware that this is fresh code, and it may sometimes not work. Even KDE > is not able to restart its own applications in the correct virtual > desktop reliably. > > So, please report any problem. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Tue Jul 22 11:55:40 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 22 Jul 2014 11:55:40 +0200 Subject: [Gambas-user] Gambas applications and session management In-Reply-To: References: <53CBD67B.6010405@...1...> Message-ID: <53CE351C.4030900@...1...> Le 22/07/2014 08:29, Fabien Bodard a ?crit : > Is the session management is linked to the toolkit.?.. Couldn't it be > independent ? It could theoritically, but it is complex, even if I'm really using the smallest subset of the protocol, so I prefer using the already debugged code of the toolkits. -- Beno?t Minisini From gambas at ...2524... Tue Jul 22 17:44:51 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 22 Jul 2014 15:44:51 +0000 Subject: [Gambas-user] Issue 539 in gambas: crash if icon theme are not permited access Message-ID: <0-6813199134517018827-340916923566502865-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-Any Type-Bug Priority-High OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any Usability Maintainability New issue 539 by mckayger... at ...626...: crash if icon theme are not permited access http://code.google.com/p/gambas/issues/detail?id=539 1) Describe the problem. if some new icon theme are put in ~/.icons or /usr/share/icons ide crashed if are not property permission access due need to read all icon themes Problem cos users have no info in crash dialog about real reason! (no access file permission, in index.file or directory access) 2) Give information about your system. Not need, fix must be performed in file Stock.class in function Themes_Read 3) Provide a little project that reproduces the bug or the crash. N/A 4) If your project needs a database, try to provide it, or part of it. N/A 5) Explain clearly how to reproduce the bug or the crash. a)goes to /usr/share/icons b)choose a theme c)change file permission of file index.theme of theme name to 750 d)open the ide e)ide crash Results: [43] Access forbidden. Stock.Themes_Read.672 Sugests create a check in sub rutine ADD_THEME that check if file can be readed -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From mckaygerhard at ...626... Tue Jul 22 18:16:58 2014 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Tue, 22 Jul 2014 11:46:58 -0430 Subject: [Gambas-user] Gambas applications and session management Message-ID: hello benoit, about session support on ide reopen, its only works with kde desktop, or can be work with any desktop with dbus and session support for qt4 such moonlightde or lxqt or inclusivelly the older razorqt? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From gambas at ...1... Tue Jul 22 18:28:14 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 22 Jul 2014 18:28:14 +0200 Subject: [Gambas-user] Gambas applications and session management In-Reply-To: References: Message-ID: <53CE911E.9040805@...1...> Le 22/07/2014 18:16, PICCORO McKAY Lenz a ?crit : > hello benoit, about session support on ide reopen, > > its only works with kde desktop, or can be work with any desktop with dbus > and session support for qt4 such moonlightde or lxqt or inclusivelly the > older razorqt? > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com It should work with all desktop having a session manager based on the x11 session protocol. I guess every desktop supports that except Gnome 3? I have just tested with KDE at the moment (I implemented that for me first!) -- Beno?t Minisini From gambas at ...1... Tue Jul 22 20:09:01 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 22 Jul 2014 20:09:01 +0200 Subject: [Gambas-user] gbr3: unable to load component: gb.markdown In-Reply-To: References: Message-ID: <53CEA8BD.3010703@...1...> Le 22/07/2014 00:11, Daniel Quintero a ?crit : > Hi all, I just got back from vacation and when I update my system today and > want to launch Gambas, I found this error: > > gbr3: unable to load component: gb.markdown > > What can I do to correct it? > > Regards > If you don't give any detail about your system, it's hard to help you. There was posts about that problem on the mailing-list last week, maybe this is the same problem as you? -- Beno?t Minisini From gambas at ...2524... Tue Jul 22 20:58:06 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 22 Jul 2014 18:58:06 +0000 Subject: [Gambas-user] Issue 539 in gambas: crash if icon theme are not permited access In-Reply-To: <0-6813199134517018827-340916923566502865-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-340916923566502865-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-340916923566502865-gambas=googlecode.com@...2524...> Updates: Status: Fixed Labels: -Version-Any Version-3.5.0 Comment #1 on issue 539 by benoit.m... at ...626...: crash if icon theme are not permited access http://code.google.com/p/gambas/issues/detail?id=539 Fixed in revision #6395. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From avdiel1946 at ...626... Tue Jul 22 21:13:19 2014 From: avdiel1946 at ...626... (Larry Moore) Date: Tue, 22 Jul 2014 12:13:19 -0700 Subject: [Gambas-user] gambas3 not launching Message-ID: At 0850 on 22 Jul 2014, I received a gambas3 update through the Ubuntu updater. After the update, gambas3 will not launch. Using the terminal, I tried launching gambas and received this message: gbr3: unable to load component: gb.markdown. How do I fix this? From gambas at ...1... Tue Jul 22 21:30:52 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 22 Jul 2014 21:30:52 +0200 Subject: [Gambas-user] gambas3 not launching In-Reply-To: References: Message-ID: <53CEBBEC.6000703@...1...> Le 22/07/2014 21:13, Larry Moore a ?crit : > At 0850 on 22 Jul 2014, I received a gambas3 update through the Ubuntu > updater. After the update, gambas3 will not launch. Using the terminal, I > tried launching gambas and received this message: gbr3: unable to load > component: gb.markdown. How do I fix this? Apparently you are using the "daily paa", whose packages were incorrectly made. There were some posts about that in the mailing-list. Regards, -- Beno?t Minisini From mckaygerhard at ...626... Tue Jul 22 22:15:42 2014 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Tue, 22 Jul 2014 15:45:42 -0430 Subject: [Gambas-user] Gambas applications and session management In-Reply-To: References: Message-ID: hi alexis, benoit answered: Date: Tue, 22 Jul 2014 18:28:14 +0200 From: Beno?t Minisini >t should work with all desktop having a session manager based > on the x11 session protocol. >I guess every desktop supports that except Gnome 3? does moonlightde uses the scripts of X11 session handler as all desktop in debian does? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com On Tue, Jul 22, 2014 at 11:46 AM, PICCORO McKAY Lenz wrote: > hello benoit, about session support on ide reopen, > > its only works with kde desktop, or can be work with any desktop with dbus > and session support for qt4 such moonlightde or lxqt or inclusivelly the > older razorqt? > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > > From dquinter at ...626... Tue Jul 22 23:17:09 2014 From: dquinter at ...626... (Daniel Quintero) Date: Tue, 22 Jul 2014 16:17:09 -0500 Subject: [Gambas-user] gbr3: unable to load component: gb.markdown In-Reply-To: <53CEA8BD.3010703@...1...> References: <53CEA8BD.3010703@...1...> Message-ID: Yes: On Wed, Jul 16, 2014 at 8:38 PM, Sebastian Kulesz wrote: It will be fixed in tomorrow's builds. Sorry about that, i have no idea why this wasn't added months ago. On Wed, Jul 16, 2014 at 6:00 PM, Nikola Rogozarski wrote: > I tried to install gambas from daily PPA but it seems there is a problem. > Gambas installed without problem. But when I wanted to start it, the error > occurs "gbr3: unable to load component: gb.markdown" > > Does anyone have a solution for this ??? And: On Tue, Jul 22, 2014 at 2:30 PM, Beno?t Minisini < gambas at ...1...> wrote: Le 22/07/2014 21:13, Larry Moore a ?crit : > At 0850 on 22 Jul 2014, I received a gambas3 update through the Ubuntu > updater. After the update, gambas3 will not launch. Using the terminal, I > tried launching gambas and received this message: gbr3: unable to load > component: gb.markdown. How do I fix this? Apparently you are using the "daily paa", whose packages were incorrectly made. There were some posts about that in the mailing-list. My system details are: -- Daily PPA's -- LinuxMint 17 (qiana) -- GNOME: 3.8.4 (Ubuntu 2014-03-17) ** Mate ** -- Kernel: 3.13.0-24-generic (#47-Ubuntu SMP Fri May 2 23:31:42 UTC 2014) -- GCC Version: 4.8 (i686-linux-gnu) -- Xorg Version: 1.15.1 (16 April 2014 01:40:08PM) The packages of daily ppa are still wrong, but I don't know who need to correct this :/ Regards *_________________________* *Lic. Daniel Quintero Rojas* *?Saludos desde M?xico!________* On Tue, Jul 22, 2014 at 1:09 PM, Beno?t Minisini < gambas at ...1...> wrote: > Le 22/07/2014 00:11, Daniel Quintero a ?crit : > > Hi all, I just got back from vacation and when I update my system today > and > > want to launch Gambas, I found this error: > > > > gbr3: unable to load component: gb.markdown > > > > What can I do to correct it? > > > > Regards > > > > If you don't give any detail about your system, it's hard to help you. > There was posts about that problem on the mailing-list last week, maybe > this is the same problem as you? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sebikul at ...626... Wed Jul 23 01:48:17 2014 From: sebikul at ...626... (Sebastian Kulesz) Date: Tue, 22 Jul 2014 20:48:17 -0300 Subject: [Gambas-user] gbr3: unable to load component: gb.markdown In-Reply-To: References: <53CEA8BD.3010703@...1...> Message-ID: For some reason the gb.markdown package exists but is empty. I looked at the build files and they seem correct. Unfortunately, I won't be able to fix this until August 8th. I'm really sorry about that. On Jul 22, 2014 6:18 PM, "Daniel Quintero" wrote: > Yes: > > On Wed, Jul 16, 2014 at 8:38 PM, Sebastian Kulesz > wrote: > It will be fixed in tomorrow's builds. Sorry about that, i have no idea why > this wasn't added months ago. > > > On Wed, Jul 16, 2014 at 6:00 PM, Nikola Rogozarski > > wrote: > > > I tried to install gambas from daily PPA but it seems there is a problem. > > Gambas installed without problem. But when I wanted to start it, the > error > > occurs "gbr3: unable to load component: gb.markdown" > > > > Does anyone have a solution for this ??? > > And: > > On Tue, Jul 22, 2014 at 2:30 PM, Beno?t Minisini < > gambas at ...1...> wrote: > Le 22/07/2014 21:13, Larry Moore a ?crit : > > At 0850 on 22 Jul 2014, I received a gambas3 update through the Ubuntu > > updater. After the update, gambas3 will not launch. Using the terminal, I > > tried launching gambas and received this message: gbr3: unable to load > > component: gb.markdown. How do I fix this? > > Apparently you are using the "daily paa", whose packages were > incorrectly made. There were some posts about that in the mailing-list. > > My system details are: > > -- Daily PPA's > -- LinuxMint 17 (qiana) > -- GNOME: 3.8.4 (Ubuntu 2014-03-17) ** Mate ** > -- Kernel: 3.13.0-24-generic (#47-Ubuntu SMP Fri May 2 23:31:42 UTC 2014) > -- GCC Version: 4.8 (i686-linux-gnu) > -- Xorg Version: 1.15.1 (16 April 2014 01:40:08PM) > > The packages of daily ppa are still wrong, but I don't know who need to > correct this > > :/ > > Regards > > *_________________________* > *Lic. Daniel Quintero Rojas* > > *?Saludos desde M?xico!________* > > > > On Tue, Jul 22, 2014 at 1:09 PM, Beno?t Minisini < > gambas at ...1...> wrote: > > > Le 22/07/2014 00:11, Daniel Quintero a ?crit : > > > Hi all, I just got back from vacation and when I update my system today > > and > > > want to launch Gambas, I found this error: > > > > > > gbr3: unable to load component: gb.markdown > > > > > > What can I do to correct it? > > > > > > Regards > > > > > > > If you don't give any detail about your system, it's hard to help you. > > There was posts about that problem on the mailing-list last week, maybe > > this is the same problem as you? > > > > -- > > Beno?t Minisini > > > > > > > ------------------------------------------------------------------------------ > > Want fast and easy access to all the code in your enterprise? Index and > > search up to 200,000 lines of code with a free copy of Black Duck > > Code Sight - the same software that powers the world's largest code > > search on Ohloh, the Black Duck Open Hub! Try it now. > > http://p.sf.net/sfu/bds > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Wed Jul 23 01:54:38 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 23 Jul 2014 01:54:38 +0200 Subject: [Gambas-user] gbr3: unable to load component: gb.markdown In-Reply-To: References: <53CEA8BD.3010703@...1...> Message-ID: <53CEF9BE.5020901@...1...> Le 23/07/2014 01:48, Sebastian Kulesz a ?crit : > For some reason the gb.markdown package exists but is empty. I looked at > the build files and they seem correct. > Unfortunately, I won't be able to fix this until August 8th. I'm really > sorry about that. If I can help about that tell me. -- Beno?t Minisini From sebikul at ...626... Wed Jul 23 02:07:17 2014 From: sebikul at ...626... (Sebastian Kulesz) Date: Tue, 22 Jul 2014 21:07:17 -0300 Subject: [Gambas-user] gbr3: unable to load component: gb.markdown In-Reply-To: <53CEF9BE.5020901@...1...> References: <53CEA8BD.3010703@...1...> <53CEF9BE.5020901@...1...> Message-ID: Do you have a launchpad account? I don't know why the GB.markdown gambas executable is not being added to the package. There must be a typo with the packaging rules. On Jul 22, 2014 8:55 PM, "Beno?t Minisini" wrote: > Le 23/07/2014 01:48, Sebastian Kulesz a ?crit : > > For some reason the gb.markdown package exists but is empty. I looked at > > the build files and they seem correct. > > Unfortunately, I won't be able to fix this until August 8th. I'm really > > sorry about that. > > If I can help about that tell me. > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sebikul at ...626... Wed Jul 23 02:17:48 2014 From: sebikul at ...626... (Sebastian Kulesz) Date: Tue, 22 Jul 2014 21:17:48 -0300 Subject: [Gambas-user] gbr3: unable to load component: gb.markdown In-Reply-To: References: <53CEA8BD.3010703@...1...> <53CEF9BE.5020901@...1...> Message-ID: Got it. It's an easy fix, but I'm at the airport so I won't be able to fix it. Send me the email you used asap! I will tell you what to do. You only need to commit a file On Jul 22, 2014 9:07 PM, "Sebastian Kulesz" wrote: > Do you have a launchpad account? I don't know why the GB.markdown gambas > executable is not being added to the package. There must be a typo with the > packaging rules. > On Jul 22, 2014 8:55 PM, "Beno?t Minisini" > wrote: > >> Le 23/07/2014 01:48, Sebastian Kulesz a ?crit : >> > For some reason the gb.markdown package exists but is empty. I looked at >> > the build files and they seem correct. >> > Unfortunately, I won't be able to fix this until August 8th. I'm really >> > sorry about that. >> >> If I can help about that tell me. >> >> -- >> Beno?t Minisini >> >> >> ------------------------------------------------------------------------------ >> Want fast and easy access to all the code in your enterprise? Index and >> search up to 200,000 lines of code with a free copy of Black Duck >> Code Sight - the same software that powers the world's largest code >> search on Ohloh, the Black Duck Open Hub! Try it now. >> http://p.sf.net/sfu/bds >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > From sebikul at ...626... Wed Jul 23 02:21:26 2014 From: sebikul at ...626... (Sebastian Kulesz) Date: Tue, 22 Jul 2014 21:21:26 -0300 Subject: [Gambas-user] gbr3: unable to load component: gb.markdown In-Reply-To: References: <53CEA8BD.3010703@...1...> <53CEF9BE.5020901@...1...> Message-ID: You need to add a file to the following repository https://code.launchpad.net/~gambas-team/+junk/gambas3-daily-common Named: gambas 3-gb-markdown.install With the following content: usr/lib/gambas3/gb.markdown* usr/share/gambas3/info/gb.markdown* On Jul 22, 2014 9:17 PM, "Sebastian Kulesz" wrote: > Got it. It's an easy fix, but I'm at the airport so I won't be able to fix > it. Send me the email you used asap! I will tell you what to do. You only > need to commit a file > On Jul 22, 2014 9:07 PM, "Sebastian Kulesz" wrote: > >> Do you have a launchpad account? I don't know why the GB.markdown gambas >> executable is not being added to the package. There must be a typo with the >> packaging rules. >> On Jul 22, 2014 8:55 PM, "Beno?t Minisini" >> wrote: >> >>> Le 23/07/2014 01:48, Sebastian Kulesz a ?crit : >>> > For some reason the gb.markdown package exists but is empty. I looked >>> at >>> > the build files and they seem correct. >>> > Unfortunately, I won't be able to fix this until August 8th. I'm really >>> > sorry about that. >>> >>> If I can help about that tell me. >>> >>> -- >>> Beno?t Minisini >>> >>> >>> ------------------------------------------------------------------------------ >>> Want fast and easy access to all the code in your enterprise? Index and >>> search up to 200,000 lines of code with a free copy of Black Duck >>> Code Sight - the same software that powers the world's largest code >>> search on Ohloh, the Black Duck Open Hub! Try it now. >>> http://p.sf.net/sfu/bds >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> From jscops at ...11... Wed Jul 23 18:28:56 2014 From: jscops at ...11... (Jack) Date: Wed, 23 Jul 2014 18:28:56 +0200 Subject: [Gambas-user] New demo with Gambas In-Reply-To: <9A3273AF-818B-4925-834B-EC400992D07A@...614...> References: <9A3273AF-818B-4925-834B-EC400992D07A@...614...> Message-ID: <53CFE2C8.9050401@...11...> Hello, Here you will find a new demo called Raster. To work it requires a development version equal to or greater than the revision # 6389 because the program uses a Window.Screenshot () method -- Cordialement Jacky Tripoteau From lists at ...2828... Wed Jul 23 21:46:08 2014 From: lists at ...2828... (CJ) Date: Wed, 23 Jul 2014 21:46:08 +0200 Subject: [Gambas-user] Get structure from extern function? In-Reply-To: <53C002A1.9080706@...1...> Message-ID: <000001cfa6ae$c3d266a0$0f00a8c0@...2829...> Just wanted to say thanks! With Beno?t's helpfull pointers and some more reading/digging I managed to sort out the issue I had with Gambas 3 and Free Pascal. Let me know if there are any general interest and I will post a simple demo. /CJ From ea7dfh at ...2382... Wed Jul 23 22:22:26 2014 From: ea7dfh at ...2382... (Jesus) Date: Wed, 23 Jul 2014 22:22:26 +0200 Subject: [Gambas-user] Get structure from extern function? In-Reply-To: <000001cfa6ae$c3d266a0$0f00a8c0@...2829...> References: <000001cfa6ae$c3d266a0$0f00a8c0@...2829...> Message-ID: <53D01982.2040105@...2382...> El 23/07/14 21:46, CJ escribi?: > > Just wanted to say thanks! With Beno?t's helpfull pointers and some more > reading/digging I managed to sort out the issue I had with Gambas 3 and > Free Pascal. > > Let me know if there are any general interest and I will post a simple demo. > > /CJ Oh, please, do it. I am not used to Free Pascal, but it have tempted me several times. So it will be useful to have an starting point using FP shared libraries in addition to C/C++ ones. Thank you -- Jesus Guardon From taboege at ...626... Wed Jul 23 22:37:12 2014 From: taboege at ...626... (Tobias Boege) Date: Wed, 23 Jul 2014 22:37:12 +0200 Subject: [Gambas-user] gbs3: Capitalised keywords Message-ID: <20140723203712.GC524@...2774...> Hi Benoit, occasionally I find myself writing Gambas scripts and what bothers me a little is that the USE keyword must be typed in uppercase letters, not capitalised like all the other ones since Gambas 3. Maybe you can replace "=" with "==" where appropriate so that the keyword style can be the same everywhere. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Wed Jul 23 22:50:14 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 23 Jul 2014 22:50:14 +0200 Subject: [Gambas-user] gbs3: Capitalised keywords In-Reply-To: <20140723203712.GC524@...2774...> References: <20140723203712.GC524@...2774...> Message-ID: <53D02006.1070907@...1...> Le 23/07/2014 22:37, Tobias Boege a ?crit : > Hi Benoit, > > occasionally I find myself writing Gambas scripts and what bothers me a > little is that the USE keyword must be typed in uppercase letters, not > capitalised like all the other ones since Gambas 3. Maybe you can replace > "=" with "==" where appropriate so that the keyword style can be the same > everywhere. > > Regards, > Tobi > It should be good with revision #6396. Regards, -- Beno?t Minisini From taboege at ...626... Wed Jul 23 23:12:09 2014 From: taboege at ...626... (Tobias Boege) Date: Wed, 23 Jul 2014 23:12:09 +0200 Subject: [Gambas-user] DnsClient example: never ever use _free(), right? Message-ID: <20140723211209.GD524@...2774...> Hi, our Gambas book has DnsClient on top of its schedule now as it seems. So I looked at the DnsClient example -- for the first time I guess. I found one thing in Form_Close() which surprised me (there is actually only one thing in there): the use of DnsClient._free(). I always thought you would _never ever_ directly call _free() from an object (unless maybe you are the very person who wrote the _free() code and love the danger). In my understanding, _free() is a method only for use by the interpreter _after_ an object got a zero reference count and needs to be destroyed. Therefore it is not documented and not generally safe to use when the reference count is non-zero, i.e. when the object exists for the Gambas process, i.e. when you are able to call _free() from Gambas code. So, when you are able to call _free(), you shouldn't. The two solutions I see: 1. Implement a proper "almost-free" method in DnsClient; 2. substitute hDnsClient._free() by hDnsClient = Null; where #2 is a workaround which is IMHO cleaner than calling _free() and #1 tackles the root cause of why the author resorts to _free(): otherwise the program would not terminate after closing the window because there are watches as soon as hDnsClient.Async is True and hDnsClient is referenced by the FMain object (which is where solution 1 operates). Since DnsClient is kind of Stream-like, I could imagine a Close() method (different from Stop()!) which shuts down those watches -- and the watches should maybe only be created when an actual request is made, not as soon as Async becomes True. This is obviously even cleaner than assigning Null to the references. @Benoit: I would maybe be able to do this myself, if you confirm that we shouldn't be calling _free() from Gambas. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Wed Jul 23 23:27:38 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 23 Jul 2014 23:27:38 +0200 Subject: [Gambas-user] DnsClient example: never ever use _free(), right? In-Reply-To: <20140723211209.GD524@...2774...> References: <20140723211209.GD524@...2774...> Message-ID: <53D028CA.30805@...1...> Le 23/07/2014 23:12, Tobias Boege a ?crit : > Hi, > > our Gambas book has DnsClient on top of its schedule now as it seems. So I > looked at the DnsClient example -- for the first time I guess. I found one > thing in Form_Close() which surprised me (there is actually only one thing > in there): the use of DnsClient._free(). > > I always thought you would _never ever_ directly call _free() from an object > (unless maybe you are the very person who wrote the _free() code and love > the danger). > > In my understanding, _free() is a method only for use by the interpreter > _after_ an object got a zero reference count and needs to be destroyed. > Therefore it is not documented and not generally safe to use when the > reference count is non-zero, i.e. when the object exists for the Gambas > process, i.e. when you are able to call _free() from Gambas code. > > So, when you are able to call _free(), you shouldn't. > > The two solutions I see: > > 1. Implement a proper "almost-free" method in DnsClient; > 2. substitute hDnsClient._free() by hDnsClient = Null; > > where #2 is a workaround which is IMHO cleaner than calling _free() and #1 > tackles the root cause of why the author resorts to _free(): otherwise the > program would not terminate after closing the window because there are > watches as soon as hDnsClient.Async is True and hDnsClient is referenced > by the FMain object (which is where solution 1 operates). > > Since DnsClient is kind of Stream-like, I could imagine a Close() method > (different from Stop()!) which shuts down those watches -- and the watches > should maybe only be created when an actual request is made, not as soon as > Async becomes True. This is obviously even cleaner than assigning Null to > the references. > > @Benoit: > I would maybe be able to do this myself, if you confirm that we shouldn't be > calling _free() from Gambas. > > Regards, > Tobi > No, you should not call _free(). You should even never have to implement it in Gambas code. The problem is that DnsClient enables its internal watch too early, and disables it too late. It should enable the watch the first time it is actually needed - when GetHostName() or GetHostIP() is called - and not when the Async property is set. And it should disable the watch when the async operation is terminated or when Stop() is called. If you can do the change, you are welcome! :-) Regards, -- Beno?t Minisini From taboege at ...626... Wed Jul 23 23:55:27 2014 From: taboege at ...626... (Tobias Boege) Date: Wed, 23 Jul 2014 23:55:27 +0200 Subject: [Gambas-user] gbs3: Capitalised keywords In-Reply-To: <53D02006.1070907@...1...> References: <20140723203712.GC524@...2774...> <53D02006.1070907@...1...> Message-ID: <20140723215527.GF524@...2774...> On Wed, 23 Jul 2014, Beno?t Minisini wrote: > Le 23/07/2014 22:37, Tobias Boege a ?crit : > > Hi Benoit, > > > > occasionally I find myself writing Gambas scripts and what bothers me a > > little is that the USE keyword must be typed in uppercase letters, not > > capitalised like all the other ones since Gambas 3. Maybe you can replace > > "=" with "==" where appropriate so that the keyword style can be the same > > everywhere. > > > > Regards, > > Tobi > > > > It should be good with revision #6396. > Yep. Thank you. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From introlinux at ...626... Thu Jul 24 16:26:14 2014 From: introlinux at ...626... (=?UTF-8?Q?Antonio_S=C3=A1nchez?=) Date: Thu, 24 Jul 2014 16:26:14 +0200 Subject: [Gambas-user] Files inside project folder Message-ID: Hi Is there any way to exec scripts inside project folder without copy it to another place? Is there any way to copy a lot of files, or even, a folder with a lot of files located inside your project folder to any path in your home? Right now, I pack everything in a tar.gz and then copy to another place and decompress all files. But if I change some file, I have to make again the tar.gz... Is there any simple way to do this? Thanks. From introlinux at ...626... Thu Jul 24 16:34:15 2014 From: introlinux at ...626... (=?UTF-8?Q?Antonio_S=C3=A1nchez?=) Date: Thu, 24 Jul 2014 16:34:15 +0200 Subject: [Gambas-user] Embedded doesn't work Message-ID: How can I get a list of all windows names detected for Desktop.FindWindow? In the example of gambas called Embedder I can't embed anything, it always says "Window not found!" I tryed with simple applications like mate-calculator or Leafpad. I can see their tittles with wmctrl -l and with xprop, but Desktop.FindWindow doesn't detect anything. Thanks. From taboege at ...626... Thu Jul 24 16:46:23 2014 From: taboege at ...626... (Tobias Boege) Date: Thu, 24 Jul 2014 16:46:23 +0200 Subject: [Gambas-user] Files inside project folder In-Reply-To: References: Message-ID: <20140724144623.GA626@...2774...> On Thu, 24 Jul 2014, Antonio S??nchez wrote: > Hi > > Is there any way to exec scripts inside project folder without copy it to > another place? > There are multiple ways. First, you can just execute the script from an absolute path using Application.Path &/ "myscript". This method, however, will fail when your project is compiled into an executable archive (.gambas) because then there is no file actually. Since there is no concept of a CWD in Gambas, relative paths are used to address this issue: they identify files in your project directory, even if your Gambas process runs from an executable archive. This is the reason why you mostly see code that first copies project files to temporary locations before they're passed to external processes. If it's a script, or any data you can *pipe* into some process to have it handled, you can also read the project file into a String and pipe it to the process. No need to copy the file then. But IMHO, this is a little cumbersome as you have to open your interpreter as a pipe'd Process: Dim hProc As Process hProc = Exec ["sh"] For Read Write #hProc, File.Load("myscript") I don't know if this code works by copy and paste but the working pendant should be at least very similar. > Is there any way to copy a lot of files, or even, a folder with a lot of > files located inside your project folder to any path in your home? > As said above, you can use relative paths to address your project files. This works transparently in Gambas, i.e. you can use this feature in any filesystem-related function and it will work (I hope I'm not making too strong promises here). So to list all project files recursively, try: Dim sRel As String For Each sRel In RDir(".") Print sRel Next It's analog for specific folders. Of course you would use Copy to copy these relative paths to somewhere. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From vuott at ...325... Thu Jul 24 19:30:17 2014 From: vuott at ...325... (Ru Vuott) Date: Thu, 24 Jul 2014 18:30:17 +0100 Subject: [Gambas-user] R: Embedded doesn't work In-Reply-To: Message-ID: <1406223017.33154.YahooMailBasic@...3271...> This simple code knows all windows names on a desktop (you need activate gb.desktop and gb.desktop.x11 components): Public Sub Button1_Click() Dim i As Integer For i = 0 To Desktop.Windows.Count - 1 Print Desktop.Windows[i].VisibleName Next End bye -------------------------------------------- Gio 24/7/14, Antonio S?nchez ha scritto: Oggetto: [Gambas-user] Embedded doesn't work A: "mailing list for gambas users" Data: Gioved? 24 luglio 2014, 16:34 How can I get a list of all windows names detected for Desktop.FindWindow? In the example of gambas called Embedder I can't embed anything, it always says "Window not found!" I tryed with simple applications like mate-calculator or Leafpad. I can see their tittles with wmctrl -l and with xprop, but Desktop.FindWindow doesn't detect anything. Thanks. ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...2524... Thu Jul 24 19:44:22 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 24 Jul 2014 17:44:22 +0000 Subject: [Gambas-user] Issue 540 in gambas: gb.net.smtp doesn't work with e.g. smtp.gmail.com, responses aren't handled properly (timing issue) Message-ID: <0-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 540 by uAle... at ...626...: gb.net.smtp doesn't work with e.g. smtp.gmail.com, responses aren't handled properly (timing issue) http://code.google.com/p/gambas/issues/detail?id=540 1) Describe the problem. The SmtpClient can send smtp messages plain or via tls/ssl, only there is a timing issue with handling the response. When manual testing, the output look as follows: 220 mx.google.com ESMTP au7sm17535101wjc.41 - gsmtp ehlo x 250-mx.google.com at your service, [178.85.1.1] 250-SIZE 35882577 250-8BITMIME 250-AUTH LOGIN PLAIN XOAUTH XOAUTH2 PLAIN-CLIENTTOKEN 250-ENHANCEDSTATUSCODES 250 CHUNKING When running the test application in debug mode, it is visible that the FIRST read "250-mx.google.com at your service, [178.85.1.1]" is the only thing read at that moment and the rest of the 250s are coming afterwards and cause the failure. $ ./TestApp.gambas DEBUG in read: 220 mx.google.com ESMTP v17sm17504821wjr.33 - gsmtp -> ehlo ubuntu1404 DEBUG in read: 250-mx.google.com at your service, [178.85.1.1] -> auth plain AG1lQGdtYWlsLmNvbQBwYXNzd29yZA0K DEBUG in read: 250-SIZE 35882577 -> quit Failed The smtpclient should wait on the (last) "250 CHUNKING" before continueing with the rest. 2) Give information about your system. Use the 'System information' menu in the Gambas IDE, and paste the result there. [System] Gambas=3.5.4 OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86_64 Distribution=Ubuntu 14.04 LTS Desktop=GNOME Theme=QGtk Language=en_US.UTF-8 Memory=987M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 3) Provide a little project that reproduces the bug or the crash. Attached. 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! ANOTHER NOTE: Don't create an issue if you have a compilation problem on the development version. Send a mail to the mailing-list instead, thanks. Attachments: TestApp.tar.gz 5.5 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Thu Jul 24 20:09:45 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 24 Jul 2014 18:09:45 +0000 Subject: [Gambas-user] Issue 540 in gambas: gb.net.smtp doesn't work with e.g. smtp.gmail.com, responses aren't handled properly (timing issue) In-Reply-To: <0-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: Version-3.5.0 Comment #1 on issue 540 by benoit.m... at ...626...: gb.net.smtp doesn't work with e.g. smtp.gmail.com, responses aren't handled properly (timing issue) http://code.google.com/p/gambas/issues/detail?id=540 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From taboege at ...626... Thu Jul 24 21:03:06 2014 From: taboege at ...626... (Tobias Boege) Date: Thu, 24 Jul 2014 21:03:06 +0200 Subject: [Gambas-user] DnsClient example: never ever use _free(), right? In-Reply-To: <53D028CA.30805@...1...> References: <20140723211209.GD524@...2774...> <53D028CA.30805@...1...> Message-ID: <20140724190306.GB626@...2774...> On Wed, 23 Jul 2014, Beno?t Minisini wrote: > No, you should not call _free(). You should even never have to implement > it in Gambas code. > > The problem is that DnsClient enables its internal watch too early, and > disables it too late. > > It should enable the watch the first time it is actually needed - when > GetHostName() or GetHostIP() is called - and not when the Async property > is set. > > And it should disable the watch when the async operation is terminated > or when Stop() is called. > > If you can do the change, you are welcome! :-) Done in revision #6397. I changed the provocative parts of the DnsClient example on the way. A small test script with two asynchronous DnsClients reports no memory leaks. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From karl.reinl at ...9... Thu Jul 24 23:13:01 2014 From: karl.reinl at ...9... (Karl Reinl) Date: Thu, 24 Jul 2014 23:13:01 +0200 Subject: [Gambas-user] open a Form Message-ID: <1406236381.3543.5.camel@...40...> Salut Beno?t, resizing a Form during open, depends how you call the me.show*. and also their placement. Demo attached! -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: TestApp03-0.0.1.tar.gz Type: application/x-compressed-tar Size: 5146 bytes Desc: not available URL: From gambas at ...1... Fri Jul 25 01:11:51 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 25 Jul 2014 01:11:51 +0200 Subject: [Gambas-user] Ubuntu daily PPA comes back Message-ID: <53D192B7.50901@...1...> Hi, The Ubuntu daily PPA correctly builds again, so the Ubuntu Gambas daily packages should be available again soon! Regards, -- Beno?t Minisini From dquinter at ...626... Fri Jul 25 01:47:35 2014 From: dquinter at ...626... (Daniel Quintero) Date: Thu, 24 Jul 2014 18:47:35 -0500 Subject: [Gambas-user] gbr3: unable to load component: gb.markdown In-Reply-To: References: Message-ID: Gambas3 from Daily PPA's works again! :D *_________________________* *Lic. Daniel Quintero Rojas* *?Saludos desde M?xico!________* On Mon, Jul 21, 2014 at 5:11 PM, Daniel Quintero wrote: > Hi all, I just got back from vacation and when I update my system today > and want to launch Gambas, I found this error: > > gbr3: unable to load component: gb.markdown > > What can I do to correct it? > > Regards > > *_________________________* > *Lic. Daniel Quintero Rojas* > > *?Saludos desde M?xico!________* > > From lists at ...2828... Fri Jul 25 11:27:38 2014 From: lists at ...2828... (CJ) Date: Fri, 25 Jul 2014 11:27:38 +0200 Subject: [Gambas-user] Get structure from extern function? In-Reply-To: <53D01982.2040105@...2382...> Message-ID: <000001cfa7ea$bfad5f70$0f00a8c0@...2829...> > Oh, please, do it. I am not used to Free Pascal, but it have > tempted me several times. So it will be useful to have an starting point > using FP shared libraries in addition to C/C++ ones. I will post my findings along with simple example later. /CJ From lists at ...2828... Fri Jul 25 11:28:05 2014 From: lists at ...2828... (CJ) Date: Fri, 25 Jul 2014 11:28:05 +0200 Subject: [Gambas-user] Ubuntu daily PPA comes back In-Reply-To: <53D192B7.50901@...1...> Message-ID: <000101cfa7ea$c0032090$0f00a8c0@...2829...> > The Ubuntu daily PPA correctly builds again, so the Ubuntu > Gambas daily packages should be available again soon! Appreciated! /CJ From karl.reinl at ...9... Fri Jul 25 19:42:11 2014 From: karl.reinl at ...9... (Karl Reinl) Date: Fri, 25 Jul 2014 19:42:11 +0200 Subject: [Gambas-user] open a Form Message-ID: <1406310131.4527.2.camel@...40...> Salut Beno?t, resizing a Form during open, depends how you call the me.show*. and also their placement. Now I found out, you can't shrink but you can grow the forms! same Demo attached as yesterday -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: TestApp03-0.0.1.tar.gz Type: application/x-compressed-tar Size: 5146 bytes Desc: not available URL: From gambas at ...1... Sat Jul 26 03:54:11 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 26 Jul 2014 03:54:11 +0200 Subject: [Gambas-user] open a Form In-Reply-To: <1406310131.4527.2.camel@...40...> References: <1406310131.4527.2.camel@...40...> Message-ID: <53D30A43.8000508@...1...> Le 25/07/2014 19:42, Karl Reinl a ?crit : > Salut Beno?t, > > resizing a Form during open, depends how you call the me.show*. and also > their placement. > > Now I found out, you can't shrink but you can grow the forms! > > > same Demo attached as yesterday > > This is by design. Modal dialogs (i.e. ShowDialog and ShowModal methods, they are the same) are centered and cannot be resized less than their initial size. Regards, -- Beno?t Minisini From Karl.Reinl at ...2345... Sat Jul 26 12:37:40 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sat, 26 Jul 2014 12:37:40 +0200 Subject: [Gambas-user] gambas3 checking for well-formed and valid XML Message-ID: <1406371060.6492.15.camel@...40...> Salut Adrien, I didn't find anything about xml-error and/or well-formed and valid XML. Found that problem after a bad xml usage. I copied a path at the end of the file, and saved and forgot. Now, I still can load it with Xml.FromString(File.Load("my.xml")), but next line on XSLT.Transform(Xml, Xsl) I get a #11 . This is the output : Entity: line 19: parser error : Extra content at the end of the document file://~/DBReport3/Reports/Bank/Test.xml ^ -- Amicalement Charlie From t.lee.davidson at ...626... Sat Jul 26 19:05:52 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sat, 26 Jul 2014 13:05:52 -0400 Subject: [Gambas-user] Rules for Application Repository? Message-ID: <53D3DFF0.9010308@...626...> I am wondering if there are any rules, other than minimum lines of code and page layout, for having an application listed in the Gambas Application Repository (http://gambasdoc.org/help/app). The reason I bring this up is because I know of a couple of apps that are listed for which the links on the (download) URL are linkbucks.com links. In other words, you have to click the link and read an advertisement before the file can be downloaded. I would think this would violate a rule of common courtesy at the very least. Regards, T. Lee From taboege at ...626... Sat Jul 26 19:12:42 2014 From: taboege at ...626... (Tobias Boege) Date: Sat, 26 Jul 2014 19:12:42 +0200 Subject: [Gambas-user] Rules for Application Repository? In-Reply-To: <53D3DFF0.9010308@...626...> References: <53D3DFF0.9010308@...626...> Message-ID: <20140726171242.GA674@...2774...> On Sat, 26 Jul 2014, T Lee Davidson wrote: > I am wondering if there are any rules, other than minimum lines of code > and page layout, for having an application listed in the Gambas > Application Repository (http://gambasdoc.org/help/app). > > The reason I bring this up is because I know of a couple of apps that > are listed for which the links on the (download) URL are linkbucks.com > links. In other words, you have to click the link and read an > advertisement before the file can be downloaded. > > I would think this would violate a rule of common courtesy at the very > least. > I think nobody examines the entries of the application repository. Just whoever wants to put their stuff in, does it, silently. That is to say: the application repository is not moderated. No moderators, no courtesy :-) Note that you are pointing to gambasdoc.org. This website is deprecated by gambaswiki.org, as is noted on the start page. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From introlinux at ...626... Sat Jul 26 19:42:32 2014 From: introlinux at ...626... (=?UTF-8?Q?Antonio_S=C3=A1nchez?=) Date: Sat, 26 Jul 2014 19:42:32 +0200 Subject: [Gambas-user] Update Webview? Message-ID: What determine the functioning of Webview? Is it depend directly of webkit library in my system or is it independent? I want to load a local webpage (with some jquery code). This page looks fine in Firefox updated but in Chrome, Midori, xxxterm, and in Webview looks bad (all based in webkit). I updated libwebkit in my system and Chrome, Midori, Xxxterm magicaly works, but not Webview. Do I need recompile gambas with the new libwebkit-dev perhaps? Thanks. From t.lee.davidson at ...626... Sat Jul 26 19:46:24 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sat, 26 Jul 2014 13:46:24 -0400 Subject: [Gambas-user] Rules for Application Repository? In-Reply-To: <20140726171242.GA674@...2774...> References: <53D3DFF0.9010308@...626...> <20140726171242.GA674@...2774...> Message-ID: <53D3E970.3080502@...626...> Thanks Tobi. This brings up two questions addressed to the list as well: 1) Would it be possible to provide a mechanism of reporting application listings as, say, "spam"? 2) The App' Repository on the deprecated gambasdoc.org was what came up in a web search. Would it be possible to include the "THE WIKI IS NOW IN READ-ONLY MODE. THE NEW WIKI IS NOW HOSTED AT http://gambaswiki.org" note on ALL pages of the old site for the benefit of whoever else may stumble upon it? Regards, T. Lee On 07/26/2014 01:12 PM, Tobias Boege wrote: > On Sat, 26 Jul 2014, T Lee Davidson wrote: >> I am wondering if there are any rules, other than minimum lines of code >> and page layout, for having an application listed in the Gambas >> Application Repository (http://gambasdoc.org/help/app). >> >> The reason I bring this up is because I know of a couple of apps that >> are listed for which the links on the (download) URL are linkbucks.com >> links. In other words, you have to click the link and read an >> advertisement before the file can be downloaded. >> >> I would think this would violate a rule of common courtesy at the very >> least. >> > > I think nobody examines the entries of the application repository. Just > whoever wants to put their stuff in, does it, silently. That is to say: > the application repository is not moderated. No moderators, no courtesy :-) > > Note that you are pointing to gambasdoc.org. This website is deprecated > by gambaswiki.org, as is noted on the start page. > > Regards, > Tobi > From gambas at ...1... Sat Jul 26 19:52:28 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 26 Jul 2014 19:52:28 +0200 Subject: [Gambas-user] Update Webview? In-Reply-To: References: Message-ID: <53D3EADC.7070703@...1...> Le 26/07/2014 19:42, Antonio S?nchez a ?crit : > What determine the functioning of Webview? Is it depend directly of webkit > library in my system or is it independent? > > I want to load a local webpage (with some jquery code). > This page looks fine in Firefox updated but in Chrome, Midori, xxxterm, and > in Webview looks bad (all based in webkit). > I updated libwebkit in my system and Chrome, Midori, Xxxterm magicaly > works, but not Webview. > > Do I need recompile gambas with the new libwebkit-dev perhaps? > > > Thanks. WebView depends on WebKit, but through the QT4 library. So I guess if it is embedded in QT4, updating libwekit changes will change nothing... -- Beno?t Minisini From gambas at ...1... Sat Jul 26 19:55:39 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 26 Jul 2014 19:55:39 +0200 Subject: [Gambas-user] Rules for Application Repository? In-Reply-To: <53D3E970.3080502@...626...> References: <53D3DFF0.9010308@...626...> <20140726171242.GA674@...2774...> <53D3E970.3080502@...626...> Message-ID: <53D3EB9B.3030409@...1...> Le 26/07/2014 19:46, T Lee Davidson a ?crit : > Thanks Tobi. > > This brings up two questions addressed to the list as well: > > 1) Would it be possible to provide a mechanism of reporting application > listings as, say, "spam"? In the new wiki, I can easily blacklist some urls if needed. I just need to know the list. As for the page contents, anybody can register with a valid e-mail on the new wiki, so... > > 2) The App' Repository on the deprecated gambasdoc.org was what came up > in a web search. Would it be possible to include the "THE WIKI IS NOW IN > READ-ONLY MODE. THE NEW WIKI IS NOW HOSTED AT http://gambaswiki.org" > note on ALL pages of the old site for the benefit of whoever else may > stumble upon it? Yes, it's possible. Regards, -- Beno?t Minisini From gambas at ...2524... Sat Jul 26 19:56:26 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 26 Jul 2014 17:56:26 +0000 Subject: [Gambas-user] Issue 541 in gambas: line input bug maybe buffer size? Message-ID: <0-6813199134517018827-2041141343660329709-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-3.5.0 Type-Bug Priority-Medium OpSys-Any Dist-ArchLinux Arch-Any Desktop-Any GUI-Any New issue 541 by denise.a... at ...626...: line input bug maybe buffer size? http://code.google.com/p/gambas/issues/detail?id=541 1) Don't find the end of line (0x0d+0x0a) bytes 2) [System] Gambas=3.5.3 OperatingSystem=Linux Kernel=3.15.5-2-ARCH Architecture=x86_64 Distribution=arch Desktop=KDE4 Theme=Oxygen Language=es_ES.UTF-8 Memory=3891M [Libraries] Cairo=libcairo.so.2.11200.16 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+=libgtk-x11-2.0.so.0.2400.24 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.46.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 5) run and go to line 222 of columnview, column 3 (upload field) is wrong change program to open file2.txt instead of file1.txt, rerun and all ok. file1.txt and file2.txt only difference a byte (space at begin). Thanks Attachments: xbsy-gambas3.tar.gz 41.2 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From shanep1967 at ...169... Sun Jul 27 05:02:22 2014 From: shanep1967 at ...169... (Shane) Date: Sun, 27 Jul 2014 13:02:22 +1000 Subject: [Gambas-user] Settings Message-ID: <53D46BBE.6080105@...169...> I'm getting file already exists error when trying to run this code Settings["High_Score"] = HighScore am i doing this the right way? also this is a sdl program. [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.8.0-35-generic Architecture=x86_64 Distribution=Linux Mint 15 Olivia Desktop=GNOME Theme=QGtk Language=en_AU.UTF-8 Memory=3808M [Libraries] Cairo=libcairo.so.2.11200.14 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.2 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.6.0 GTK+3=libgtk-3.so.0.600.4 GTK+=libgtk-x11-2.0.so.0.2400.17 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.28.0.0 Qt4=libQtCore.so.4.8.4 SDL=libSDL-1.2.so.0.11.4 From matti.eber at ...3240... Sun Jul 27 09:39:12 2014 From: matti.eber at ...3240... (Matti) Date: Sun, 27 Jul 2014 09:39:12 +0200 Subject: [Gambas-user] Settings In-Reply-To: <53D46BBE.6080105@...169...> References: <53D46BBE.6080105@...169...> Message-ID: <53D4ACA0.3070705@...3240...> Have a look at http://gambaswiki.org/wiki/comp/gb.settings for the structure of the settings file. And look at http://gambaswiki.org/wiki/comp/gb.settings/settings how to save a value. So, the syntax is Settings["High_Score/xxx"] = HighScore. Regards, Matti Am 27.07.2014 05:02, schrieb Shane: > I'm getting file already exists error when trying to run this code > Settings["High_Score"] = HighScore > am i doing this the right way? also this is a sdl program. > > > [System] > Gambas=3.5.90 > OperatingSystem=Linux > Kernel=3.8.0-35-generic > Architecture=x86_64 > Distribution=Linux Mint 15 Olivia > Desktop=GNOME > Theme=QGtk > Language=en_AU.UTF-8 > Memory=3808M > [Libraries] > Cairo=libcairo.so.2.11200.14 > Curl=libcurl.so.4.3.0 > DBus=libdbus-1.so.3.7.2 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.6.0 > GTK+3=libgtk-3.so.0.600.4 > GTK+=libgtk-x11-2.0.so.0.2400.17 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.28.0.0 > Qt4=libQtCore.so.4.8.4 > SDL=libSDL-1.2.so.0.11.4 > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Sun Jul 27 13:21:01 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 27 Jul 2014 11:21:01 +0000 Subject: [Gambas-user] Issue 542 in gambas: gb.net.smtp auth plain fails due to addtional "\r\n" Message-ID: <0-6813199134517018827-17872419512547255659-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-3.5.0 Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 542 by thuga... at ...626...: gb.net.smtp auth plain fails due to addtional "\r\n" http://code.google.com/p/gambas/issues/detail?id=542 1) Describe the problem. I have an application that tries to sends email using gb.net.smtp. Sending the email fails because the host returns: Response code: Authentication credentials invalid (535) Responce parameter: 5.7.8 Error: authentication failed. Sending email to the same server using Thunderbird works and comparing things using a tcpdump log I see that both base64 plain auth strings are the same only gb.net.smtp has some additional characters. Decoding these string I see that they match only gb.net.smtp has at the end additional "\r\n". Looking in the libsmtp_connection.c source I see that indeed "\r\n" is added so I commented out that and recompiled gambas. Tried again and I can successfully send the email. Looked at the Internet to see if there are any specs on adding "\r\n" to the auth string but could not find that. The examples I found, for instance https://tools.ietf.org/html/rfc4954 show no "\r\n": $ perl -MMIME::Base64 -MDevel::Peek -e 'Dump decode_base64("dGVzdAB0ZXN0ADEyMzQ=")' SV = PV(0x1811878) at 0x1813990 REFCNT = 1 FLAGS = (TEMP,POK,pPOK) PV = 0x182e270 "test\0test\0001234"\0 CUR = 14 LEN = 16 The server I am using is smtp.vodafonevast.nl which according to the Service ready message (220) is smtp01.glasoperator.nl ESMTP Postfix 2) Give information about your system. Use the 'System information' menu in the Gambas IDE, and paste the result there. [System] Gambas=3.5.4 OperatingSystem=Linux Kernel=3.4.79-sun7i Architecture=arm Distribution=debian 7.6 Desktop=? Theme=QWindows Language=en_US.UTF-8 Memory=952M [Libraries] Cairo=libcairo.so.2.11200.2 DBus=libdbus-1.so.3.7.2 GStreamer=libgstreamer-0.10.so.0.30.0 GTK+=libgtk-x11-2.0.so.0.2400.10 Poppler=libpoppler.so.19.0.0 Qt4=libQtCore.so.4.8.2 SDL=libSDL-1.2.so.0.11.4 -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From t.lee.davidson at ...626... Sun Jul 27 17:13:46 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sun, 27 Jul 2014 11:13:46 -0400 Subject: [Gambas-user] Rules for Application Repository? In-Reply-To: <53D3EB9B.3030409@...1...> References: <53D3DFF0.9010308@...626...> <20140726171242.GA674@...2774...> <53D3E970.3080502@...626...> <53D3EB9B.3030409@...1...> Message-ID: <53D5172A.4010307@...626...> On 07/26/2014 01:55 PM, Beno?t Minisini wrote: > Le 26/07/2014 19:46, T Lee Davidson a ?crit : >> > >> >1) Would it be possible to provide a mechanism of reporting application >> >listings as, say, "spam"? > In the new wiki, I can easily blacklist some urls if needed. I just need > to know the list. Two Applications listed in the Repository for which the download links on the home/download URLs are linkbucks.com links are: http://jsbsan.blogspot.com.es/2012/05/arduino-y-gambas3-lectura-y-graficos-de.html http://jsbsan.blogspot.com.es/2012/05/gambas-y-arduino-moviendo-dos.html From jusabejusabe at ...626... Sun Jul 27 21:04:53 2014 From: jusabejusabe at ...626... (Julio Sanchez) Date: Sun, 27 Jul 2014 21:04:53 +0200 Subject: [Gambas-user] Rules for Application Repository? In-Reply-To: <53D5172A.4010307@...626...> References: <53D3DFF0.9010308@...626...> <20140726171242.GA674@...2774...> <53D3E970.3080502@...626...> <53D3EB9B.3030409@...1...> <53D5172A.4010307@...626...> Message-ID: T lee Davidson: http://jsbsan.blogspot.com.es/2012/05/arduino-y-gambas3-lectura-y-graficos-de.html http://jsbsan.blogspot.com.es/2012/05/gambas-y-arduino-moviendo-dos.html" In the absence of donations, and my low economic resources, put advertising on my blogs. The downloads are free, you just have to wait for the "skip this ad" button pops in the upper right corner and then press it. Sorry for the inconvenience Julio 2014-07-27 17:13 GMT+02:00 T Lee Davidson : > > On 07/26/2014 01:55 PM, Beno?t Minisini wrote: > > Le 26/07/2014 19:46, T Lee Davidson a ?crit : > >> > > >> >1) Would it be possible to provide a mechanism of reporting application > >> >listings as, say, "spam"? > > In the new wiki, I can easily blacklist some urls if needed. I just need > > to know the list. > > Two Applications listed in the Repository for which the download links > on the home/download URLs are linkbucks.com links are: > > > http://jsbsan.blogspot.com.es/2012/05/arduino-y-gambas3-lectura-y-graficos-de.html > > http://jsbsan.blogspot.com.es/2012/05/gambas-y-arduino-moviendo-dos.html > > > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sun Jul 27 21:15:41 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 27 Jul 2014 21:15:41 +0200 Subject: [Gambas-user] Rules for Application Repository? In-Reply-To: References: <53D3DFF0.9010308@...626...> <20140726171242.GA674@...2774...> <53D3E970.3080502@...626...> <53D3EB9B.3030409@...1...> <53D5172A.4010307@...626...> Message-ID: <53D54FDD.8090002@...1...> Le 27/07/2014 21:04, Julio Sanchez a ?crit : > T lee Davidson: > > http://jsbsan.blogspot.com.es/2012/05/arduino-y-gambas3-lectura-y-graficos-de.html > http://jsbsan.blogspot.com.es/2012/05/gambas-y-arduino-moviendo-dos.html" > > In the absence of donations, and my low economic resources, put advertising > on my blogs. > The downloads are free, you just have to wait for the "skip this ad" button > pops in the upper right corner and then press it. > > Sorry for the inconvenience > > Julio > > I have no problem with that: I don't see that as spam. -- Beno?t Minisini From gambas at ...2524... Sun Jul 27 21:17:36 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 27 Jul 2014 19:17:36 +0000 Subject: [Gambas-user] Issue 542 in gambas: gb.net.smtp auth plain fails due to addtional "\r\n" In-Reply-To: <0-6813199134517018827-17872419512547255659-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-17872419512547255659-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-17872419512547255659-gambas=googlecode.com@...2524...> Updates: Status: Accepted Comment #1 on issue 542 by benoit.m... at ...626...: gb.net.smtp auth plain fails due to addtional "\r\n" http://code.google.com/p/gambas/issues/detail?id=542 I am currently rewriting the gb.net.smtp component entirely in Gambas, so fixing and enhancing it will be far easier. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sun Jul 27 21:42:09 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 27 Jul 2014 19:42:09 +0000 Subject: [Gambas-user] Issue 541 in gambas: line input bug maybe buffer size? In-Reply-To: <0-6813199134517018827-2041141343660329709-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-2041141343660329709-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-2041141343660329709-gambas=googlecode.com@...2524...> Updates: Status: Accepted Comment #1 on issue 541 by benoit.m... at ...626...: line input bug maybe buffer size? http://code.google.com/p/gambas/issues/detail?id=541 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From t.lee.davidson at ...626... Sun Jul 27 21:53:38 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sun, 27 Jul 2014 15:53:38 -0400 Subject: [Gambas-user] Rules for Application Repository? In-Reply-To: <53D54FDD.8090002@...1...> References: <53D3DFF0.9010308@...626...> <20140726171242.GA674@...2774...> <53D3E970.3080502@...626...> <53D3EB9B.3030409@...1...> <53D5172A.4010307@...626...> <53D54FDD.8090002@...1...> Message-ID: <53D558C2.4080907@...626...> On 07/27/2014 03:15 PM, Beno?t Minisini wrote: > Le 27/07/2014 21:04, Julio Sanchez a ?crit : >> T lee Davidson: >> >> http://jsbsan.blogspot.com.es/2012/05/arduino-y-gambas3-lectura-y-graficos-de.html >> http://jsbsan.blogspot.com.es/2012/05/gambas-y-arduino-moviendo-dos.html" >> >> In the absence of donations, and my low economic resources, put advertising >> on my blogs. >> The downloads are free, you just have to wait for the "skip this ad" button >> pops in the upper right corner and then press it. >> >> Sorry for the inconvenience >> >> Julio >> >> > > I have no problem with that: I don't see that as spam. > Well I do. I have no problem with advertising on websites. But to force ads upon downloaders of community contributed applications is, in my opinion, inappropriate. But if it bothers no one else, who am I to buck the crowd? Regards, T. Lee From gambas at ...1... Sun Jul 27 22:08:12 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 27 Jul 2014 22:08:12 +0200 Subject: [Gambas-user] Rules for Application Repository? In-Reply-To: <53D558C2.4080907@...626...> References: <53D3DFF0.9010308@...626...> <20140726171242.GA674@...2774...> <53D3E970.3080502@...626...> <53D3EB9B.3030409@...1...> <53D5172A.4010307@...626...> <53D54FDD.8090002@...1...> <53D558C2.4080907@...626...> Message-ID: <53D55C2C.4070806@...1...> Le 27/07/2014 21:53, T Lee Davidson a ?crit : > > > On 07/27/2014 03:15 PM, Beno?t Minisini wrote: >> Le 27/07/2014 21:04, Julio Sanchez a ?crit : >>> T lee Davidson: >>> >>> http://jsbsan.blogspot.com.es/2012/05/arduino-y-gambas3-lectura-y-graficos-de.html >>> http://jsbsan.blogspot.com.es/2012/05/gambas-y-arduino-moviendo-dos.html" >>> >>> In the absence of donations, and my low economic resources, put advertising >>> on my blogs. >>> The downloads are free, you just have to wait for the "skip this ad" button >>> pops in the upper right corner and then press it. >>> >>> Sorry for the inconvenience >>> >>> Julio >>> >>> >> >> I have no problem with that: I don't see that as spam. >> > > Well I do. I have no problem with advertising on websites. But to force > ads upon downloaders of community contributed applications is, in my > opinion, inappropriate. > > But if it bothers no one else, who am I to buck the crowd? > > Regards, > T. Lee > As I actually use AdBlock, I don't see them. Are they advertising from blogspot or from Julio? -- Beno?t Minisini From t.lee.davidson at ...626... Sun Jul 27 22:33:43 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sun, 27 Jul 2014 16:33:43 -0400 Subject: [Gambas-user] Rules for Application Repository? In-Reply-To: <53D55C2C.4070806@...1...> References: <53D3DFF0.9010308@...626...> <20140726171242.GA674@...2774...> <53D3E970.3080502@...626...> <53D3EB9B.3030409@...1...> <53D5172A.4010307@...626...> <53D54FDD.8090002@...1...> <53D558C2.4080907@...626...> <53D55C2C.4070806@...1...> Message-ID: <53D56227.5060305@...626...> On 07/27/2014 04:08 PM, Beno?t Minisini wrote: > Le 27/07/2014 21:53, T Lee Davidson a ?crit : >> >> >> On 07/27/2014 03:15 PM, Beno?t Minisini wrote: >>> Le 27/07/2014 21:04, Julio Sanchez a ?crit : >>>> T lee Davidson: >>>> >>>> http://jsbsan.blogspot.com.es/2012/05/arduino-y-gambas3-lectura-y-graficos-de.html >>>> http://jsbsan.blogspot.com.es/2012/05/gambas-y-arduino-moviendo-dos.html" >>>> >>>> In the absence of donations, and my low economic resources, put advertising >>>> on my blogs. >>>> The downloads are free, you just have to wait for the "skip this ad" button >>>> pops in the upper right corner and then press it. >>>> >>>> Sorry for the inconvenience >>>> >>>> Julio >>>> >>>> >>> >>> I have no problem with that: I don't see that as spam. >>> >> >> Well I do. I have no problem with advertising on websites. But to force >> ads upon downloaders of community contributed applications is, in my >> opinion, inappropriate. >> >> But if it bothers no one else, who am I to buck the crowd? >> >> Regards, >> T. Lee >> > > As I actually use AdBlock, I don't see them. Are they advertising from > blogspot or from Julio? > I am unsure what you mean by, "from blogspot or from Julio", Beno?t. If by, "Julio", you mean the author/application page in the Application Repository, then, no, that is not where the ads are. Take, for example, the page at: http://jsbsan.blogspot.com.es/2012/05/arduino-y-gambas3-lectura-y-graficos-de.html The link for "Programa en Gambas3 (Nueva versi?n 2)" is http://5d346c06.linkbucks.com/ (hope you get lots of clicks from that Julio!) Click the link, and an ad pops up in a new tab. You have to wait for the ad to load, then you can click, "SKIP THIS AD". When you do that, yet another ad pops up in another new tab. Closing the latest new tab reveals the download dialog in the first ad tab. I suppose going through this is not too much trouble to help support a fellow coder. It's just that I find it somewhat, annoying; especially when some of the ads try to be deceptive with, "Your download is ready." And, as I said, "If it bothers no one else..." :-) Regards, T. Lee From iss_boss at ...770... Sun Jul 27 22:47:08 2014 From: iss_boss at ...770... (ISS Boss) Date: Sun, 27 Jul 2014 16:47:08 -0400 Subject: [Gambas-user] Rules for Application Repository? In-Reply-To: <53D56227.5060305@...626...> References: <53D3DFF0.9010308@...626...> <20140726171242.GA674@...2774...> <53D3E970.3080502@...626...> <53D3EB9B.3030409@...1...> <53D5172A.4010307@...626...> <53D54FDD.8090002@...1...> <53D558C2.4080907@...626...> <53D55C2C.4070806@...1...> <53D56227.5060305@...626...> Message-ID: <53D5654C.9080900@...770...> Well, I just attempted to get a download from the site mentioned by T. Lee and I am appalled at what happened. The first link ("Programa en Gambas3 (Nueva versi?n 2)" produced an otherwise blank page in a new tab that said, in effect, for XXX bucks you can advertise here. Nothing more and NO WAY to get back to the original page other than just close the tab. The second link was stopped by Ghostery as being a "forwarded link to a known blacklisted site". Also, my AdBlockPlus kicked in and alerted me that there were blockable items on the page. Since I never saw ANY type of download pop-up appear, I just gave up. I state for the record that the ads and questionable links on just that page alone would keep me from going back. Bill T Lee Davidson wrote, On 07/27/2014 16:33: On 07/27/2014 04:08 PM, Beno?t Minisini wrote: Le 27/07/2014 21:53, T Lee Davidson a ?crit : On 07/27/2014 03:15 PM, Beno?t Minisini wrote: Le 27/07/2014 21:04, Julio Sanchez a ?crit : T lee Davidson: [1]http://jsbsan.blogspot.com.es/2012/05/arduino-y-gambas3-lectura-y-graficos-d e.html [2]http://jsbsan.blogspot.com.es/2012/05/gambas-y-arduino-moviendo-dos.html" In the absence of donations, and my low economic resources, put advertising on my blogs. The downloads are free, you just have to wait for the "skip this ad" button pops in the upper right corner and then press it. Sorry for the inconvenience Julio I have no problem with that: I don't see that as spam. Well I do. I have no problem with advertising on websites. But to force ads upon downloaders of community contributed applications is, in my opinion, inappropriate. But if it bothers no one else, who am I to buck the crowd? Regards, T. Lee As I actually use AdBlock, I don't see them. Are they advertising from blogspot or from Julio? I am unsure what you mean by, "from blogspot or from Julio", Beno?t. If by, "Julio", you mean the author/application page in the Application Repository, then, no, that is not where the ads are. Take, for example, the page at: [3]http://jsbsan.blogspot.com.es/2012/05/arduino-y-gambas3-lectura-y-graficos-d e.html The link for "Programa en Gambas3 (Nueva versi?n 2)" is [4]http://5d346c06.linkbucks.com/ (hope you get lots of clicks from that Julio!) Click the link, and an ad pops up in a new tab. You have to wait for the ad to load, then you can click, "SKIP THIS AD". When you do that, yet another ad pops up in another new tab. Closing the latest new tab reveals the download dialog in the first ad tab. I suppose going through this is not too much trouble to help support a fellow coder. It's just that I find it somewhat, annoying; especially when some of the ads try to be deceptive with, "Your download is ready." And, as I said, "If it bothers no one else..." :-) Regards, T. Lee ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. [5]http://p.sf.net/sfu/bds _______________________________________________ Gambas-user mailing list [6]Gambas-user at lists.sourceforge.net [7]https://lists.sourceforge.net/lists/listinfo/gambas-user References 1. http://jsbsan.blogspot.com.es/2012/05/arduino-y-gambas3-lectura-y-graficos-de.html 2. http://jsbsan.blogspot.com.es/2012/05/gambas-y-arduino-moviendo-dos.html 3. http://jsbsan.blogspot.com.es/2012/05/arduino-y-gambas3-lectura-y-graficos-de.html 4. http://5d346c06.linkbucks.com/ 5. http://p.sf.net/sfu/bds 6. mailto:Gambas-user at lists.sourceforge.net 7. https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sun Jul 27 22:51:54 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 27 Jul 2014 22:51:54 +0200 Subject: [Gambas-user] Rules for Application Repository? In-Reply-To: <53D56227.5060305@...626...> References: <53D3DFF0.9010308@...626...> <20140726171242.GA674@...2774...> <53D3E970.3080502@...626...> <53D3EB9B.3030409@...1...> <53D5172A.4010307@...626...> <53D54FDD.8090002@...1...> <53D558C2.4080907@...626...> <53D55C2C.4070806@...1...> <53D56227.5060305@...626...> Message-ID: <53D5666A.5060200@...1...> Le 27/07/2014 22:33, T Lee Davidson a ?crit : > > > On 07/27/2014 04:08 PM, Beno?t Minisini wrote: >> Le 27/07/2014 21:53, T Lee Davidson a ?crit : >>> >>> >>> On 07/27/2014 03:15 PM, Beno?t Minisini wrote: >>>> Le 27/07/2014 21:04, Julio Sanchez a ?crit : >>>>> T lee Davidson: >>>>> >>>>> http://jsbsan.blogspot.com.es/2012/05/arduino-y-gambas3-lectura-y-graficos-de.html >>>>> http://jsbsan.blogspot.com.es/2012/05/gambas-y-arduino-moviendo-dos.html" >>>>> >>>>> In the absence of donations, and my low economic resources, put advertising >>>>> on my blogs. >>>>> The downloads are free, you just have to wait for the "skip this ad" button >>>>> pops in the upper right corner and then press it. >>>>> >>>>> Sorry for the inconvenience >>>>> >>>>> Julio >>>>> >>>>> >>>> >>>> I have no problem with that: I don't see that as spam. >>>> >>> >>> Well I do. I have no problem with advertising on websites. But to force >>> ads upon downloaders of community contributed applications is, in my >>> opinion, inappropriate. >>> >>> But if it bothers no one else, who am I to buck the crowd? >>> >>> Regards, >>> T. Lee >>> >> >> As I actually use AdBlock, I don't see them. Are they advertising from >> blogspot or from Julio? >> > > I am unsure what you mean by, "from blogspot or from Julio", Beno?t. If > by, "Julio", you mean the author/application page in the Application > Repository, then, no, that is not where the ads are. > > Take, for example, the page at: > http://jsbsan.blogspot.com.es/2012/05/arduino-y-gambas3-lectura-y-graficos-de.html > > The link for "Programa en Gambas3 (Nueva versi?n 2)" is > http://5d346c06.linkbucks.com/ (hope you get lots of clicks from that > Julio!) > > Click the link, and an ad pops up in a new tab. You have to wait for the > ad to load, then you can click, "SKIP THIS AD". When you do that, yet > another ad pops up in another new tab. Closing the latest new tab > reveals the download dialog in the first ad tab. > > I suppose going through this is not too much trouble to help support a > fellow coder. It's just that I find it somewhat, annoying; especially > when some of the ads try to be deceptive with, "Your download is ready." > > > And, as I said, "If it bothers no one else..." :-) > > Regards, > T. Lee > Well if it's Julio's web site, he can do what he wants on it. Initially, I thought we were talking of ad links directly in the Gambas wiki. Of course I'm against that. -- Beno?t Minisini From t.lee.davidson at ...626... Sun Jul 27 22:58:44 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sun, 27 Jul 2014 16:58:44 -0400 Subject: [Gambas-user] Rules for Application Repository? In-Reply-To: <53D5666A.5060200@...1...> References: <53D3DFF0.9010308@...626...> <20140726171242.GA674@...2774...> <53D3E970.3080502@...626...> <53D3EB9B.3030409@...1...> <53D5172A.4010307@...626...> <53D54FDD.8090002@...1...> <53D558C2.4080907@...626...> <53D55C2C.4070806@...1...> <53D56227.5060305@...626...> <53D5666A.5060200@...1...> Message-ID: <53D56804.9080006@...626...> That makes sense, Beno?t, and clarifies the issue. Thanks. On 07/27/2014 04:51 PM, Beno?t Minisini wrote: > Well if it's Julio's web site, he can do what he wants on it. Initially, > I thought we were talking of ad links directly in the Gambas wiki. Of > course I'm against that. > > -- Beno?t Minisini From gambas at ...2524... Sun Jul 27 23:05:12 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 27 Jul 2014 21:05:12 +0000 Subject: [Gambas-user] Issue 541 in gambas: line input bug maybe buffer size? In-Reply-To: <1-6813199134517018827-2041141343660329709-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-2041141343660329709-gambas=googlecode.com@...2524...> <0-6813199134517018827-2041141343660329709-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-2041141343660329709-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 541 by benoit.m... at ...626...: line input bug maybe buffer size? http://code.google.com/p/gambas/issues/detail?id=541 Stupid bug fixed in revision #6398. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sun Jul 27 23:11:44 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 27 Jul 2014 21:11:44 +0000 Subject: [Gambas-user] Issue 540 in gambas: gb.net.smtp doesn't work with e.g. smtp.gmail.com, responses aren't handled properly (timing issue) In-Reply-To: <1-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> <0-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> Comment #2 on issue 540 by benoit.m... at ...626...: gb.net.smtp doesn't work with e.g. smtp.gmail.com, responses aren't handled properly (timing issue) http://code.google.com/p/gambas/issues/detail?id=540 I am currently rewriting the gb.net.smtp component entirely in Gambas, so fixing and enhancing it will be far easier. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From shanep1967 at ...169... Mon Jul 28 02:35:11 2014 From: shanep1967 at ...169... (Shane) Date: Mon, 28 Jul 2014 10:35:11 +1000 Subject: [Gambas-user] Settings In-Reply-To: <53D4ACA0.3070705@...3240...> References: <53D46BBE.6080105@...169...> <53D4ACA0.3070705@...3240...> Message-ID: <53D59ABF.8040506@...169...> still not working i even changed the project name but i still get the same error and there are no files in the setting dir with my project name. I think from memory there was at some stage but i deleted it to see if that would fix the problem. Is there anywhere that gambas keeps a record of this file? On 27/07/14 17:39, Matti wrote: > Have a look at http://gambaswiki.org/wiki/comp/gb.settings for the structure of the settings file. > And look at http://gambaswiki.org/wiki/comp/gb.settings/settings how to save a value. > So, the syntax is Settings["High_Score/xxx"] = HighScore. > Regards, Matti > > Am 27.07.2014 05:02, schrieb Shane: >> I'm getting file already exists error when trying to run this code >> Settings["High_Score"] = HighScore >> am i doing this the right way? also this is a sdl program. >> >> >> [System] >> Gambas=3.5.90 >> OperatingSystem=Linux >> Kernel=3.8.0-35-generic >> Architecture=x86_64 >> Distribution=Linux Mint 15 Olivia >> Desktop=GNOME >> Theme=QGtk >> Language=en_AU.UTF-8 >> Memory=3808M >> [Libraries] >> Cairo=libcairo.so.2.11200.14 >> Curl=libcurl.so.4.3.0 >> DBus=libdbus-1.so.3.7.2 >> GStreamer=libgstreamer-0.10.so.0.30.0 >> GStreamer=libgstreamer-1.0.so.0.6.0 >> GTK+3=libgtk-3.so.0.600.4 >> GTK+=libgtk-x11-2.0.so.0.2400.17 >> OpenGL=libGL.so.1.2.0 >> Poppler=libpoppler.so.28.0.0 >> Qt4=libQtCore.so.4.8.4 >> SDL=libSDL-1.2.so.0.11.4 >> >> ------------------------------------------------------------------------------ >> Want fast and easy access to all the code in your enterprise? Index and >> search up to 200,000 lines of code with a free copy of Black Duck >> Code Sight - the same software that powers the world's largest code >> search on Ohloh, the Black Duck Open Hub! Try it now. >> http://p.sf.net/sfu/bds >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From shanep1967 at ...169... Mon Jul 28 02:46:20 2014 From: shanep1967 at ...169... (Shane) Date: Mon, 28 Jul 2014 10:46:20 +1000 Subject: [Gambas-user] Settings In-Reply-To: <53D59ABF.8040506@...169...> References: <53D46BBE.6080105@...169...> <53D4ACA0.3070705@...3240...> <53D59ABF.8040506@...169...> Message-ID: <53D59D5C.5010506@...169...> Something strange is going on here i just put in the code " Print Settings.Path " and i get the same error but the settings in my other projects work fine? On 28/07/14 10:35, Shane wrote: > still not working i even changed the project name but i still get the > same error and there are no files in the setting dir with my project > name. I think from memory there was at some stage but i deleted it to > see if that would fix the problem. Is there anywhere that gambas keeps a > record of this file? > > On 27/07/14 17:39, Matti wrote: >> Have a look at http://gambaswiki.org/wiki/comp/gb.settings for the structure of the settings file. >> And look at http://gambaswiki.org/wiki/comp/gb.settings/settings how to save a value. >> So, the syntax is Settings["High_Score/xxx"] = HighScore. >> Regards, Matti >> >> Am 27.07.2014 05:02, schrieb Shane: >>> I'm getting file already exists error when trying to run this code >>> Settings["High_Score"] = HighScore >>> am i doing this the right way? also this is a sdl program. >>> >>> >>> [System] >>> Gambas=3.5.90 >>> OperatingSystem=Linux >>> Kernel=3.8.0-35-generic >>> Architecture=x86_64 >>> Distribution=Linux Mint 15 Olivia >>> Desktop=GNOME >>> Theme=QGtk >>> Language=en_AU.UTF-8 >>> Memory=3808M >>> [Libraries] >>> Cairo=libcairo.so.2.11200.14 >>> Curl=libcurl.so.4.3.0 >>> DBus=libdbus-1.so.3.7.2 >>> GStreamer=libgstreamer-0.10.so.0.30.0 >>> GStreamer=libgstreamer-1.0.so.0.6.0 >>> GTK+3=libgtk-3.so.0.600.4 >>> GTK+=libgtk-x11-2.0.so.0.2400.17 >>> OpenGL=libGL.so.1.2.0 >>> Poppler=libpoppler.so.28.0.0 >>> Qt4=libQtCore.so.4.8.4 >>> SDL=libSDL-1.2.so.0.11.4 >>> >>> ------------------------------------------------------------------------------ >>> Want fast and easy access to all the code in your enterprise? Index and >>> search up to 200,000 lines of code with a free copy of Black Duck >>> Code Sight - the same software that powers the world's largest code >>> search on Ohloh, the Black Duck Open Hub! Try it now. >>> http://p.sf.net/sfu/bds >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> ------------------------------------------------------------------------------ >> Want fast and easy access to all the code in your enterprise? Index and >> search up to 200,000 lines of code with a free copy of Black Duck >> Code Sight - the same software that powers the world's largest code >> search on Ohloh, the Black Duck Open Hub! Try it now. >> http://p.sf.net/sfu/bds >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > > ------------------------------------------------------------------------------ > Infragistics Professional > Build stunning WinForms apps today! > Reboot your WinForms applications with our WinForms controls. > Build a bridge from your legacy apps to the future. > http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From rmorgan62 at ...626... Mon Jul 28 03:38:26 2014 From: rmorgan62 at ...626... (Randall Morgan) Date: Sun, 27 Jul 2014 19:38:26 -0600 Subject: [Gambas-user] Settings In-Reply-To: <53D59D5C.5010506@...169...> References: <53D46BBE.6080105@...169...> <53D4ACA0.3070705@...3240...> <53D59ABF.8040506@...169...> <53D59D5C.5010506@...169...> Message-ID: Can you attached your project? On Sun, Jul 27, 2014 at 6:46 PM, Shane wrote: > Something strange is going on here i just put in the code " Print > Settings.Path " and i get the same error > but the settings in my other projects work fine? > > On 28/07/14 10:35, Shane wrote: > > still not working i even changed the project name but i still get the > > same error and there are no files in the setting dir with my project > > name. I think from memory there was at some stage but i deleted it to > > see if that would fix the problem. Is there anywhere that gambas keeps a > > record of this file? > > > > On 27/07/14 17:39, Matti wrote: > >> Have a look at http://gambaswiki.org/wiki/comp/gb.settings for the > structure of the settings file. > >> And look at http://gambaswiki.org/wiki/comp/gb.settings/settings how > to save a value. > >> So, the syntax is Settings["High_Score/xxx"] = HighScore. > >> Regards, Matti > >> > >> Am 27.07.2014 05:02, schrieb Shane: > >>> I'm getting file already exists error when trying to run this code > >>> Settings["High_Score"] = HighScore > >>> am i doing this the right way? also this is a sdl program. > >>> > >>> > >>> [System] > >>> Gambas=3.5.90 > >>> OperatingSystem=Linux > >>> Kernel=3.8.0-35-generic > >>> Architecture=x86_64 > >>> Distribution=Linux Mint 15 Olivia > >>> Desktop=GNOME > >>> Theme=QGtk > >>> Language=en_AU.UTF-8 > >>> Memory=3808M > >>> [Libraries] > >>> Cairo=libcairo.so.2.11200.14 > >>> Curl=libcurl.so.4.3.0 > >>> DBus=libdbus-1.so.3.7.2 > >>> GStreamer=libgstreamer-0.10.so.0.30.0 > >>> GStreamer=libgstreamer-1.0.so.0.6.0 > >>> GTK+3=libgtk-3.so.0.600.4 > >>> GTK+=libgtk-x11-2.0.so.0.2400.17 > >>> OpenGL=libGL.so.1.2.0 > >>> Poppler=libpoppler.so.28.0.0 > >>> Qt4=libQtCore.so.4.8.4 > >>> SDL=libSDL-1.2.so.0.11.4 > >>> > >>> > ------------------------------------------------------------------------------ > >>> Want fast and easy access to all the code in your enterprise? Index and > >>> search up to 200,000 lines of code with a free copy of Black Duck > >>> Code Sight - the same software that powers the world's largest code > >>> search on Ohloh, the Black Duck Open Hub! Try it now. > >>> http://p.sf.net/sfu/bds > >>> _______________________________________________ > >>> Gambas-user mailing list > >>> Gambas-user at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>> > >> > ------------------------------------------------------------------------------ > >> Want fast and easy access to all the code in your enterprise? Index and > >> search up to 200,000 lines of code with a free copy of Black Duck > >> Code Sight - the same software that powers the world's largest code > >> search on Ohloh, the Black Duck Open Hub! Try it now. > >> http://p.sf.net/sfu/bds > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> > > > > > ------------------------------------------------------------------------------ > > Infragistics Professional > > Build stunning WinForms apps today! > > Reboot your WinForms applications with our WinForms controls. > > Build a bridge from your legacy apps to the future. > > > http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > ------------------------------------------------------------------------------ > Infragistics Professional > Build stunning WinForms apps today! > Reboot your WinForms applications with our WinForms controls. > Build a bridge from your legacy apps to the future. > > http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From shanep1967 at ...169... Mon Jul 28 03:54:21 2014 From: shanep1967 at ...169... (Shane) Date: Mon, 28 Jul 2014 11:54:21 +1000 Subject: [Gambas-user] Settings In-Reply-To: References: <53D46BBE.6080105@...169...> <53D4ACA0.3070705@...3240...> <53D59ABF.8040506@...169...> <53D59D5C.5010506@...169...> Message-ID: <53D5AD4D.4090200@...169...> I'll try its 3.8MB is that to big ? On 28/07/14 11:38, Randall Morgan wrote: > Can you attached your project? > > > On Sun, Jul 27, 2014 at 6:46 PM, Shane wrote: > >> Something strange is going on here i just put in the code " Print >> Settings.Path " and i get the same error >> but the settings in my other projects work fine? >> >> On 28/07/14 10:35, Shane wrote: >>> still not working i even changed the project name but i still get the >>> same error and there are no files in the setting dir with my project >>> name. I think from memory there was at some stage but i deleted it to >>> see if that would fix the problem. Is there anywhere that gambas keeps a >>> record of this file? >>> >>> On 27/07/14 17:39, Matti wrote: >>>> Have a look at http://gambaswiki.org/wiki/comp/gb.settings for the >> structure of the settings file. >>>> And look at http://gambaswiki.org/wiki/comp/gb.settings/settings how >> to save a value. >>>> So, the syntax is Settings["High_Score/xxx"] = HighScore. >>>> Regards, Matti >>>> >>>> Am 27.07.2014 05:02, schrieb Shane: >>>>> I'm getting file already exists error when trying to run this code >>>>> Settings["High_Score"] = HighScore >>>>> am i doing this the right way? also this is a sdl program. >>>>> >>>>> >>>>> [System] >>>>> Gambas=3.5.90 >>>>> OperatingSystem=Linux >>>>> Kernel=3.8.0-35-generic >>>>> Architecture=x86_64 >>>>> Distribution=Linux Mint 15 Olivia >>>>> Desktop=GNOME >>>>> Theme=QGtk >>>>> Language=en_AU.UTF-8 >>>>> Memory=3808M >>>>> [Libraries] >>>>> Cairo=libcairo.so.2.11200.14 >>>>> Curl=libcurl.so.4.3.0 >>>>> DBus=libdbus-1.so.3.7.2 >>>>> GStreamer=libgstreamer-0.10.so.0.30.0 >>>>> GStreamer=libgstreamer-1.0.so.0.6.0 >>>>> GTK+3=libgtk-3.so.0.600.4 >>>>> GTK+=libgtk-x11-2.0.so.0.2400.17 >>>>> OpenGL=libGL.so.1.2.0 >>>>> Poppler=libpoppler.so.28.0.0 >>>>> Qt4=libQtCore.so.4.8.4 >>>>> SDL=libSDL-1.2.so.0.11.4 >>>>> >>>>> >> ------------------------------------------------------------------------------ >>>>> Want fast and easy access to all the code in your enterprise? Index and >>>>> search up to 200,000 lines of code with a free copy of Black Duck >>>>> Code Sight - the same software that powers the world's largest code >>>>> search on Ohloh, the Black Duck Open Hub! Try it now. >>>>> http://p.sf.net/sfu/bds >>>>> _______________________________________________ >>>>> Gambas-user mailing list >>>>> Gambas-user at lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>>> >> ------------------------------------------------------------------------------ >>>> Want fast and easy access to all the code in your enterprise? Index and >>>> search up to 200,000 lines of code with a free copy of Black Duck >>>> Code Sight - the same software that powers the world's largest code >>>> search on Ohloh, the Black Duck Open Hub! Try it now. >>>> http://p.sf.net/sfu/bds >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> >>>> >>> >> ------------------------------------------------------------------------------ >>> Infragistics Professional >>> Build stunning WinForms apps today! >>> Reboot your WinForms applications with our WinForms controls. >>> Build a bridge from your legacy apps to the future. >>> >> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >>> >> >> >> ------------------------------------------------------------------------------ >> Infragistics Professional >> Build stunning WinForms apps today! >> Reboot your WinForms applications with our WinForms controls. >> Build a bridge from your legacy apps to the future. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From shanep1967 at ...169... Mon Jul 28 04:21:48 2014 From: shanep1967 at ...169... (Shane) Date: Mon, 28 Jul 2014 12:21:48 +1000 Subject: [Gambas-user] Settings In-Reply-To: <53D5AD4D.4090200@...169...> References: <53D46BBE.6080105@...169...> <53D4ACA0.3070705@...3240...> <53D59ABF.8040506@...169...> <53D59D5C.5010506@...169...> <53D5AD4D.4090200@...169...> Message-ID: <53D5B3BC.8010305@...169...> yep to big try this https://drive.google.com/file/d/0B7AcxnE14xeaLVFDUGhja19NcUU/edit?usp=sharing On 28/07/14 11:54, Shane wrote: > I'll try its 3.8MB is that to big ? > > On 28/07/14 11:38, Randall Morgan wrote: >> Can you attached your project? >> >> >> On Sun, Jul 27, 2014 at 6:46 PM, Shane wrote: >> >>> Something strange is going on here i just put in the code " Print >>> Settings.Path " and i get the same error >>> but the settings in my other projects work fine? >>> >>> On 28/07/14 10:35, Shane wrote: >>>> still not working i even changed the project name but i still get the >>>> same error and there are no files in the setting dir with my project >>>> name. I think from memory there was at some stage but i deleted it to >>>> see if that would fix the problem. Is there anywhere that gambas keeps a >>>> record of this file? >>>> >>>> On 27/07/14 17:39, Matti wrote: >>>>> Have a look at http://gambaswiki.org/wiki/comp/gb.settings for the >>> structure of the settings file. >>>>> And look at http://gambaswiki.org/wiki/comp/gb.settings/settings how >>> to save a value. >>>>> So, the syntax is Settings["High_Score/xxx"] = HighScore. >>>>> Regards, Matti >>>>> >>>>> Am 27.07.2014 05:02, schrieb Shane: >>>>>> I'm getting file already exists error when trying to run this code >>>>>> Settings["High_Score"] = HighScore >>>>>> am i doing this the right way? also this is a sdl program. >>>>>> >>>>>> >>>>>> [System] >>>>>> Gambas=3.5.90 >>>>>> OperatingSystem=Linux >>>>>> Kernel=3.8.0-35-generic >>>>>> Architecture=x86_64 >>>>>> Distribution=Linux Mint 15 Olivia >>>>>> Desktop=GNOME >>>>>> Theme=QGtk >>>>>> Language=en_AU.UTF-8 >>>>>> Memory=3808M >>>>>> [Libraries] >>>>>> Cairo=libcairo.so.2.11200.14 >>>>>> Curl=libcurl.so.4.3.0 >>>>>> DBus=libdbus-1.so.3.7.2 >>>>>> GStreamer=libgstreamer-0.10.so.0.30.0 >>>>>> GStreamer=libgstreamer-1.0.so.0.6.0 >>>>>> GTK+3=libgtk-3.so.0.600.4 >>>>>> GTK+=libgtk-x11-2.0.so.0.2400.17 >>>>>> OpenGL=libGL.so.1.2.0 >>>>>> Poppler=libpoppler.so.28.0.0 >>>>>> Qt4=libQtCore.so.4.8.4 >>>>>> SDL=libSDL-1.2.so.0.11.4 >>>>>> >>>>>> >>> ------------------------------------------------------------------------------ >>>>>> Want fast and easy access to all the code in your enterprise? Index and >>>>>> search up to 200,000 lines of code with a free copy of Black Duck >>>>>> Code Sight - the same software that powers the world's largest code >>>>>> search on Ohloh, the Black Duck Open Hub! Try it now. >>>>>> http://p.sf.net/sfu/bds >>>>>> _______________________________________________ >>>>>> Gambas-user mailing list >>>>>> Gambas-user at lists.sourceforge.net >>>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>>>> >>> ------------------------------------------------------------------------------ >>>>> Want fast and easy access to all the code in your enterprise? Index and >>>>> search up to 200,000 lines of code with a free copy of Black Duck >>>>> Code Sight - the same software that powers the world's largest code >>>>> search on Ohloh, the Black Duck Open Hub! Try it now. >>>>> http://p.sf.net/sfu/bds >>>>> _______________________________________________ >>>>> Gambas-user mailing list >>>>> Gambas-user at lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>>> >>>>> >>> ------------------------------------------------------------------------------ >>>> Infragistics Professional >>>> Build stunning WinForms apps today! >>>> Reboot your WinForms applications with our WinForms controls. >>>> Build a bridge from your legacy apps to the future. >>>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> >>>> >>> >>> ------------------------------------------------------------------------------ >>> Infragistics Professional >>> Build stunning WinForms apps today! >>> Reboot your WinForms applications with our WinForms controls. >>> Build a bridge from your legacy apps to the future. >>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> > > ------------------------------------------------------------------------------ > Infragistics Professional > Build stunning WinForms apps today! > Reboot your WinForms applications with our WinForms controls. > Build a bridge from your legacy apps to the future. > http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From taboege at ...626... Mon Jul 28 04:23:27 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 28 Jul 2014 04:23:27 +0200 Subject: [Gambas-user] Updated documentation for gb.data and gb.inotify Message-ID: <20140728022327.GC523@...2774...> Hi list, I just updated gb.data's documentation. Some things got wrong over time, few things were wrong straight from the beginning, some things needed to be clarified. Also I initially wrote documentation for gb.inotify which will be available in 3.6. A gb.inotify example will be committed in a few minutes, I hope. I just added a little feature requested by Benoit some time ago and used in this example, so that the docs are kind of outdated again... an endless struggle. Hopefully, there will be some new classes in gb.data the next days, too, but I won't promise too much as for each hour of coding, I spend at least two of debugging memory management issues; that's the price you pay for taking long pauses from writing Gambas components :-) Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From rmorgan62 at ...626... Mon Jul 28 04:35:53 2014 From: rmorgan62 at ...626... (Randall Morgan) Date: Sun, 27 Jul 2014 20:35:53 -0600 Subject: [Gambas-user] Settings In-Reply-To: <53D5B3BC.8010305@...169...> References: <53D46BBE.6080105@...169...> <53D4ACA0.3070705@...3240...> <53D59ABF.8040506@...169...> <53D59D5C.5010506@...169...> <53D5AD4D.4090200@...169...> <53D5B3BC.8010305@...169...> Message-ID: Must be too big on your end. I know I and others have sent larger files... But the link works also. I'll look at your code and get back to you. On Sun, Jul 27, 2014 at 8:21 PM, Shane wrote: > yep to big try this > > > https://drive.google.com/file/d/0B7AcxnE14xeaLVFDUGhja19NcUU/edit?usp=sharing > > On 28/07/14 11:54, Shane wrote: > > I'll try its 3.8MB is that to big ? > > > > On 28/07/14 11:38, Randall Morgan wrote: > >> Can you attached your project? > >> > >> > >> On Sun, Jul 27, 2014 at 6:46 PM, Shane wrote: > >> > >>> Something strange is going on here i just put in the code " Print > >>> Settings.Path " and i get the same error > >>> but the settings in my other projects work fine? > >>> > >>> On 28/07/14 10:35, Shane wrote: > >>>> still not working i even changed the project name but i still get the > >>>> same error and there are no files in the setting dir with my project > >>>> name. I think from memory there was at some stage but i deleted it to > >>>> see if that would fix the problem. Is there anywhere that gambas > keeps a > >>>> record of this file? > >>>> > >>>> On 27/07/14 17:39, Matti wrote: > >>>>> Have a look at http://gambaswiki.org/wiki/comp/gb.settings for the > >>> structure of the settings file. > >>>>> And look at http://gambaswiki.org/wiki/comp/gb.settings/settings how > >>> to save a value. > >>>>> So, the syntax is Settings["High_Score/xxx"] = HighScore. > >>>>> Regards, Matti > >>>>> > >>>>> Am 27.07.2014 05:02, schrieb Shane: > >>>>>> I'm getting file already exists error when trying to run this code > >>>>>> Settings["High_Score"] = HighScore > >>>>>> am i doing this the right way? also this is a sdl program. > >>>>>> > >>>>>> > >>>>>> [System] > >>>>>> Gambas=3.5.90 > >>>>>> OperatingSystem=Linux > >>>>>> Kernel=3.8.0-35-generic > >>>>>> Architecture=x86_64 > >>>>>> Distribution=Linux Mint 15 Olivia > >>>>>> Desktop=GNOME > >>>>>> Theme=QGtk > >>>>>> Language=en_AU.UTF-8 > >>>>>> Memory=3808M > >>>>>> [Libraries] > >>>>>> Cairo=libcairo.so.2.11200.14 > >>>>>> Curl=libcurl.so.4.3.0 > >>>>>> DBus=libdbus-1.so.3.7.2 > >>>>>> GStreamer=libgstreamer-0.10.so.0.30.0 > >>>>>> GStreamer=libgstreamer-1.0.so.0.6.0 > >>>>>> GTK+3=libgtk-3.so.0.600.4 > >>>>>> GTK+=libgtk-x11-2.0.so.0.2400.17 > >>>>>> OpenGL=libGL.so.1.2.0 > >>>>>> Poppler=libpoppler.so.28.0.0 > >>>>>> Qt4=libQtCore.so.4.8.4 > >>>>>> SDL=libSDL-1.2.so.0.11.4 > >>>>>> > >>>>>> > >>> > ------------------------------------------------------------------------------ > >>>>>> Want fast and easy access to all the code in your enterprise? Index > and > >>>>>> search up to 200,000 lines of code with a free copy of Black Duck > >>>>>> Code Sight - the same software that powers the world's largest code > >>>>>> search on Ohloh, the Black Duck Open Hub! Try it now. > >>>>>> http://p.sf.net/sfu/bds > >>>>>> _______________________________________________ > >>>>>> Gambas-user mailing list > >>>>>> Gambas-user at lists.sourceforge.net > >>>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>>>>> > >>> > ------------------------------------------------------------------------------ > >>>>> Want fast and easy access to all the code in your enterprise? Index > and > >>>>> search up to 200,000 lines of code with a free copy of Black Duck > >>>>> Code Sight - the same software that powers the world's largest code > >>>>> search on Ohloh, the Black Duck Open Hub! Try it now. > >>>>> http://p.sf.net/sfu/bds > >>>>> _______________________________________________ > >>>>> Gambas-user mailing list > >>>>> Gambas-user at lists.sourceforge.net > >>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>>>> > >>>>> > >>> > ------------------------------------------------------------------------------ > >>>> Infragistics Professional > >>>> Build stunning WinForms apps today! > >>>> Reboot your WinForms applications with our WinForms controls. > >>>> Build a bridge from your legacy apps to the future. > >>>> > >>> > http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk > >>>> _______________________________________________ > >>>> Gambas-user mailing list > >>>> Gambas-user at lists.sourceforge.net > >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>>> > >>>> > >>> > >>> > ------------------------------------------------------------------------------ > >>> Infragistics Professional > >>> Build stunning WinForms apps today! > >>> Reboot your WinForms applications with our WinForms controls. > >>> Build a bridge from your legacy apps to the future. > >>> > >>> > http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk > >>> _______________________________________________ > >>> Gambas-user mailing list > >>> Gambas-user at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>> > >> > > > > > ------------------------------------------------------------------------------ > > Infragistics Professional > > Build stunning WinForms apps today! > > Reboot your WinForms applications with our WinForms controls. > > Build a bridge from your legacy apps to the future. > > > http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > ------------------------------------------------------------------------------ > Infragistics Professional > Build stunning WinForms apps today! > Reboot your WinForms applications with our WinForms controls. > Build a bridge from your legacy apps to the future. > > http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From rmorgan62 at ...626... Mon Jul 28 06:38:43 2014 From: rmorgan62 at ...626... (Randall Morgan) Date: Sun, 27 Jul 2014 22:38:43 -0600 Subject: [Gambas-user] Settings In-Reply-To: References: <53D46BBE.6080105@...169...> <53D4ACA0.3070705@...3240...> <53D59ABF.8040506@...169...> <53D59D5C.5010506@...169...> <53D5AD4D.4090200@...169...> <53D5B3BC.8010305@...169...> Message-ID: I ran your code and at first I got an error on a line like Settings["HighScore"] = SprEngine.Highscore. I commented that out and run the code and found the settings file was not created (this should be flagged as an error if the file does not already exist...) Next, I commented out all your code and in the Setup_game() method I did: Public Sub Startup_game() GameEngine.ClearAllSprites() Settings["Test"] = "1" Settings.Save() ... I then compiled and ran the code and the settings file was created. I think your issue is with one of the settings you try to set. Try printing every variable or property just before adding it to the settings object and see if you get expected results. I'm sorry for the delay'd response but I am in a remote area and have to log into my development machine remotely, and the connection where I am sucks! Hope this helps! On Sun, Jul 27, 2014 at 8:35 PM, Randall Morgan wrote: > Must be too big on your end. I know I and others have sent larger files... > But the link works also. I'll look at your code and get back to you. > > > > > On Sun, Jul 27, 2014 at 8:21 PM, Shane wrote: > >> yep to big try this >> >> >> https://drive.google.com/file/d/0B7AcxnE14xeaLVFDUGhja19NcUU/edit?usp=sharing >> >> On 28/07/14 11:54, Shane wrote: >> > I'll try its 3.8MB is that to big ? >> > >> > On 28/07/14 11:38, Randall Morgan wrote: >> >> Can you attached your project? >> >> >> >> >> >> On Sun, Jul 27, 2014 at 6:46 PM, Shane wrote: >> >> >> >>> Something strange is going on here i just put in the code " Print >> >>> Settings.Path " and i get the same error >> >>> but the settings in my other projects work fine? >> >>> >> >>> On 28/07/14 10:35, Shane wrote: >> >>>> still not working i even changed the project name but i still get the >> >>>> same error and there are no files in the setting dir with my project >> >>>> name. I think from memory there was at some stage but i deleted it to >> >>>> see if that would fix the problem. Is there anywhere that gambas >> keeps a >> >>>> record of this file? >> >>>> >> >>>> On 27/07/14 17:39, Matti wrote: >> >>>>> Have a look at http://gambaswiki.org/wiki/comp/gb.settings for the >> >>> structure of the settings file. >> >>>>> And look at http://gambaswiki.org/wiki/comp/gb.settings/settings >> how >> >>> to save a value. >> >>>>> So, the syntax is Settings["High_Score/xxx"] = HighScore. >> >>>>> Regards, Matti >> >>>>> >> >>>>> Am 27.07.2014 05:02, schrieb Shane: >> >>>>>> I'm getting file already exists error when trying to run this code >> >>>>>> Settings["High_Score"] = HighScore >> >>>>>> am i doing this the right way? also this is a sdl program. >> >>>>>> >> >>>>>> >> >>>>>> [System] >> >>>>>> Gambas=3.5.90 >> >>>>>> OperatingSystem=Linux >> >>>>>> Kernel=3.8.0-35-generic >> >>>>>> Architecture=x86_64 >> >>>>>> Distribution=Linux Mint 15 Olivia >> >>>>>> Desktop=GNOME >> >>>>>> Theme=QGtk >> >>>>>> Language=en_AU.UTF-8 >> >>>>>> Memory=3808M >> >>>>>> [Libraries] >> >>>>>> Cairo=libcairo.so.2.11200.14 >> >>>>>> Curl=libcurl.so.4.3.0 >> >>>>>> DBus=libdbus-1.so.3.7.2 >> >>>>>> GStreamer=libgstreamer-0.10.so.0.30.0 >> >>>>>> GStreamer=libgstreamer-1.0.so.0.6.0 >> >>>>>> GTK+3=libgtk-3.so.0.600.4 >> >>>>>> GTK+=libgtk-x11-2.0.so.0.2400.17 >> >>>>>> OpenGL=libGL.so.1.2.0 >> >>>>>> Poppler=libpoppler.so.28.0.0 >> >>>>>> Qt4=libQtCore.so.4.8.4 >> >>>>>> SDL=libSDL-1.2.so.0.11.4 >> >>>>>> >> >>>>>> >> >>> >> ------------------------------------------------------------------------------ >> >>>>>> Want fast and easy access to all the code in your enterprise? >> Index and >> >>>>>> search up to 200,000 lines of code with a free copy of Black Duck >> >>>>>> Code Sight - the same software that powers the world's largest code >> >>>>>> search on Ohloh, the Black Duck Open Hub! Try it now. >> >>>>>> http://p.sf.net/sfu/bds >> >>>>>> _______________________________________________ >> >>>>>> Gambas-user mailing list >> >>>>>> Gambas-user at lists.sourceforge.net >> >>>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >>>>>> >> >>> >> ------------------------------------------------------------------------------ >> >>>>> Want fast and easy access to all the code in your enterprise? Index >> and >> >>>>> search up to 200,000 lines of code with a free copy of Black Duck >> >>>>> Code Sight - the same software that powers the world's largest code >> >>>>> search on Ohloh, the Black Duck Open Hub! Try it now. >> >>>>> http://p.sf.net/sfu/bds >> >>>>> _______________________________________________ >> >>>>> Gambas-user mailing list >> >>>>> Gambas-user at lists.sourceforge.net >> >>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >>>>> >> >>>>> >> >>> >> ------------------------------------------------------------------------------ >> >>>> Infragistics Professional >> >>>> Build stunning WinForms apps today! >> >>>> Reboot your WinForms applications with our WinForms controls. >> >>>> Build a bridge from your legacy apps to the future. >> >>>> >> >>> >> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk >> >>>> _______________________________________________ >> >>>> Gambas-user mailing list >> >>>> Gambas-user at lists.sourceforge.net >> >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >>>> >> >>>> >> >>> >> >>> >> ------------------------------------------------------------------------------ >> >>> Infragistics Professional >> >>> Build stunning WinForms apps today! >> >>> Reboot your WinForms applications with our WinForms controls. >> >>> Build a bridge from your legacy apps to the future. >> >>> >> >>> >> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk >> >>> _______________________________________________ >> >>> Gambas-user mailing list >> >>> Gambas-user at lists.sourceforge.net >> >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >>> >> >> >> > >> > >> ------------------------------------------------------------------------------ >> > Infragistics Professional >> > Build stunning WinForms apps today! >> > Reboot your WinForms applications with our WinForms controls. >> > Build a bridge from your legacy apps to the future. >> > >> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > >> > >> >> >> >> ------------------------------------------------------------------------------ >> Infragistics Professional >> Build stunning WinForms apps today! >> Reboot your WinForms applications with our WinForms controls. >> Build a bridge from your legacy apps to the future. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > > -- > If you ask me if it can be done. The answer is YES, it can always be done. > The correct questions however are... What will it cost, and how long will > it take? > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From gambas at ...2524... Mon Jul 28 06:51:32 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 28 Jul 2014 04:51:32 +0000 Subject: [Gambas-user] Issue 540 in gambas: gb.net.smtp doesn't work with e.g. smtp.gmail.com, responses aren't handled properly (timing issue) In-Reply-To: <2-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> <0-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> Comment #3 on issue 540 by uAle... at ...626...: gb.net.smtp doesn't work with e.g. smtp.gmail.com, responses aren't handled properly (timing issue) http://code.google.com/p/gambas/issues/detail?id=540 Sounds like a good approach. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From bbruen at ...2308... Mon Jul 28 06:59:43 2014 From: bbruen at ...2308... (B Bruen) Date: Mon, 28 Jul 2014 14:29:43 +0930 Subject: [Gambas-user] Settings In-Reply-To: References: <53D46BBE.6080105@...169...> <53D4ACA0.3070705@...3240...> <53D59ABF.8040506@...169...> <53D59D5C.5010506@...169...> <53D5AD4D.4090200@...169...> <53D5B3BC.8010305@...169...> Message-ID: <20140728142943.7f7ce4b44f2140f59d921fdd@...2308...> On Sun, 27 Jul 2014 20:35:53 -0600 Randall Morgan wrote: > Must be too big on your end. I know I and others have sent larger files... > But the link works also. I'll look at your code and get back to you. > I have had a bit of a look at this. To me, it appears that sdl is doing something nasty to the Try.. If Error construct. The failure occurs in the Settings class when it is creating the directory chain for the user's .config/gambas3 directory. It fails on the first iteration through the path, i.e. Try Mkdir "/" & sPath when sPath = "" i.e. the root directory (strangely enough!) already exists. That line should not fail i.e. the Try should ignore the error silently. But with sdl it appears not too? Definitely a bug within Gambas itself. Over to Benoit... regards Bruce -- B Bruen From bbruen at ...2308... Mon Jul 28 07:17:46 2014 From: bbruen at ...2308... (B Bruen) Date: Mon, 28 Jul 2014 14:47:46 +0930 Subject: [Gambas-user] Settings In-Reply-To: <20140728142943.7f7ce4b44f2140f59d921fdd@...2308...> References: <53D46BBE.6080105@...169...> <53D4ACA0.3070705@...3240...> <53D59ABF.8040506@...169...> <53D59D5C.5010506@...169...> <53D5AD4D.4090200@...169...> <53D5B3BC.8010305@...169...> <20140728142943.7f7ce4b44f2140f59d921fdd@...2308...> Message-ID: <20140728144746.de79936477d7937b8f4b8e9b@...2308...> One other strange thing. You have a FMain form in the project. It doesn't appear in the project browser. Why not is a mystery to me. But I just deleted it and the project runs OK. You might like to use your file manager to delete it as well. (It has nothing to do with the Settings fail, though) regards Bruce -- B Bruen From gambas at ...1... Mon Jul 28 07:18:47 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 28 Jul 2014 07:18:47 +0200 Subject: [Gambas-user] Settings In-Reply-To: <20140728142943.7f7ce4b44f2140f59d921fdd@...2308...> References: <53D46BBE.6080105@...169...> <53D4ACA0.3070705@...3240...> <53D59ABF.8040506@...169...> <53D59D5C.5010506@...169...> <53D5AD4D.4090200@...169...> <53D5B3BC.8010305@...169...> <20140728142943.7f7ce4b44f2140f59d921fdd@...2308...> Message-ID: <53D5DD37.7080307@...1...> Le 28/07/2014 06:59, B Bruen a ?crit : > On Sun, 27 Jul 2014 20:35:53 -0600 > Randall Morgan wrote: > >> Must be too big on your end. I know I and others have sent larger files... >> But the link works also. I'll look at your code and get back to you. >> > > I have had a bit of a look at this. To me, it appears that sdl is doing something nasty to the Try.. If Error construct. > The failure occurs in the Settings class when it is creating the directory chain for the user's .config/gambas3 directory. > It fails on the first iteration through the path, i.e. > Try Mkdir "/" & sPath > when sPath = "" i.e. the root directory (strangely enough!) already exists. > > That line should not fail i.e. the Try should ignore the error silently. But with sdl it appears not too? > > Definitely a bug within Gambas itself. > > Over to Benoit... > > regards > Bruce > Maybe not clicking the "stop on each error" button in the IDE would solve the problem? :-) -- Beno?t Minisini From bbruen at ...2308... Mon Jul 28 07:23:42 2014 From: bbruen at ...2308... (B Bruen) Date: Mon, 28 Jul 2014 14:53:42 +0930 Subject: [Gambas-user] Settings In-Reply-To: <20140728142943.7f7ce4b44f2140f59d921fdd@...2308...> References: <53D46BBE.6080105@...169...> <53D4ACA0.3070705@...3240...> <53D59ABF.8040506@...169...> <53D59D5C.5010506@...169...> <53D5AD4D.4090200@...169...> <53D5B3BC.8010305@...169...> <20140728142943.7f7ce4b44f2140f59d921fdd@...2308...> Message-ID: <20140728145342.f8654e03717478efef80c628@...2308...> On Mon, 28 Jul 2014 14:29:43 +0930 B Bruen wrote: > On Sun, 27 Jul 2014 20:35:53 -0600 > Randall Morgan wrote: > > > Must be too big on your end. I know I and others have sent larger files... > > But the link works also. I'll look at your code and get back to you. > > > > I have had a bit of a look at this. To me, it appears that sdl is doing something nasty to the Try.. If Error construct. > The failure occurs in the Settings class when it is creating the directory chain for the user's .config/gambas3 directory. > It fails on the first iteration through the path, i.e. > Try Mkdir "/" & sPath > when sPath = "" i.e. the root directory (strangely enough!) already exists. > > That line should not fail i.e. the Try should ignore the error silently. But with sdl it appears not too? > > Definitely a bug within Gambas itself. > > Over to Benoit... > > regards > Bruce > > -- > B Bruen > > ------------------------------------------------------------------------------ > Infragistics Professional > Build stunning WinForms apps today! > Reboot your WinForms applications with our WinForms controls. > Build a bridge from your legacy apps to the future. > http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user oops P.S. the fail occurs in the Settings class at line 96 It can be patched if you are using the Gambas source by changing line 96 to: If Not Exists("/" & sPath) Then MkDir "/" & sPath but you will still get fails later when another Try... is executed in the Settings class. regards Bruce -- B Bruen From bbruen at ...2308... Mon Jul 28 07:26:38 2014 From: bbruen at ...2308... (B Bruen) Date: Mon, 28 Jul 2014 14:56:38 +0930 Subject: [Gambas-user] Settings In-Reply-To: <53D5DD37.7080307@...1...> References: <53D46BBE.6080105@...169...> <53D4ACA0.3070705@...3240...> <53D59ABF.8040506@...169...> <53D59D5C.5010506@...169...> <53D5AD4D.4090200@...169...> <53D5B3BC.8010305@...169...> <20140728142943.7f7ce4b44f2140f59d921fdd@...2308...> <53D5DD37.7080307@...1...> Message-ID: <20140728145638.899de4bfc9ecd3b2a0c5ff66@...2308...> On Mon, 28 Jul 2014 07:18:47 +0200 Beno?t Minisini wrote: > Le 28/07/2014 06:59, B Bruen a ?crit : > > On Sun, 27 Jul 2014 20:35:53 -0600 > > Randall Morgan wrote: > > > >> Must be too big on your end. I know I and others have sent larger files... > >> But the link works also. I'll look at your code and get back to you. > >> > > > > I have had a bit of a look at this. To me, it appears that sdl is doing something nasty to the Try.. If Error construct. > > The failure occurs in the Settings class when it is creating the directory chain for the user's .config/gambas3 directory. > > It fails on the first iteration through the path, i.e. > > Try Mkdir "/" & sPath > > when sPath = "" i.e. the root directory (strangely enough!) already exists. > > > > That line should not fail i.e. the Try should ignore the error silently. But with sdl it appears not too? > > > > Definitely a bug within Gambas itself. > > > > Over to Benoit... > > > > regards > > Bruce > > > > Maybe not clicking the "stop on each error" button in the IDE would > solve the problem? :-) > > -- > Beno?t Minisini > "Stop on each error" is not clicked here and I can reproduce the reported error. B -- B Bruen From gambas at ...2524... Mon Jul 28 07:37:00 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 28 Jul 2014 05:37:00 +0000 Subject: [Gambas-user] Issue 540 in gambas: gb.net.smtp doesn't work with e.g. smtp.gmail.com, responses aren't handled properly (timing issue) In-Reply-To: <3-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> <0-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #4 on issue 540 by benoit.m... at ...626...: gb.net.smtp doesn't work with e.g. smtp.gmail.com, responses aren't handled properly (timing issue) http://code.google.com/p/gambas/issues/detail?id=540 It should be fixed in revision #6403 with the new gb.net.smtp component entirely written in Gambas. But that new component needs more test to be sure that there is no regression. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Mon Jul 28 07:38:00 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 28 Jul 2014 05:38:00 +0000 Subject: [Gambas-user] Issue 542 in gambas: gb.net.smtp auth plain fails due to addtional "\r\n" In-Reply-To: <1-6813199134517018827-17872419512547255659-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-17872419512547255659-gambas=googlecode.com@...2524...> <0-6813199134517018827-17872419512547255659-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-17872419512547255659-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 542 by benoit.m... at ...626...: gb.net.smtp auth plain fails due to addtional "\r\n" http://code.google.com/p/gambas/issues/detail?id=542 It should be fixed in revision #6403 with the new gb.net.smtp component entirely written in Gambas. But that new component needs more test to be sure that there is no regression. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...1... Mon Jul 28 07:38:38 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 28 Jul 2014 07:38:38 +0200 Subject: [Gambas-user] Settings In-Reply-To: <20140728145638.899de4bfc9ecd3b2a0c5ff66@...2308...> References: <53D46BBE.6080105@...169...> <53D4ACA0.3070705@...3240...> <53D59ABF.8040506@...169...> <53D59D5C.5010506@...169...> <53D5AD4D.4090200@...169...> <53D5B3BC.8010305@...169...> <20140728142943.7f7ce4b44f2140f59d921fdd@...2308...> <53D5DD37.7080307@...1...> <20140728145638.899de4bfc9ecd3b2a0c5ff66@...2308...> Message-ID: <53D5E1DE.6000304@...1...> Le 28/07/2014 07:26, B Bruen a ?crit : >> >> Maybe not clicking the "stop on each error" button in the IDE would >> solve the problem? :-) >> >> -- >> Beno?t Minisini >> > > "Stop on each error" is not clicked here and I can reproduce the reported error. > B > If I untoggle the "Stop on each error" there, which was toggled in the project I downloaded, the interpreter don't stop anymore inside the Settings class constructor, as expected. -- Beno?t Minisini From shanep1967 at ...169... Mon Jul 28 07:43:54 2014 From: shanep1967 at ...169... (Shane) Date: Mon, 28 Jul 2014 15:43:54 +1000 Subject: [Gambas-user] Settings In-Reply-To: <20140728145638.899de4bfc9ecd3b2a0c5ff66@...2308...> References: <53D46BBE.6080105@...169...> <53D4ACA0.3070705@...3240...> <53D59ABF.8040506@...169...> <53D59D5C.5010506@...169...> <53D5AD4D.4090200@...169...> <53D5B3BC.8010305@...169...> <20140728142943.7f7ce4b44f2140f59d921fdd@...2308...> <53D5DD37.7080307@...1...> <20140728145638.899de4bfc9ecd3b2a0c5ff66@...2308...> Message-ID: <53D5E31A.5050802@...169...> Thanks benoit that fixed it But i'm not sure why but i guess you do Thanks Shane On 28/07/14 15:26, B Bruen wrote: > On Mon, 28 Jul 2014 07:18:47 +0200 > Beno?t Minisini wrote: > >> Le 28/07/2014 06:59, B Bruen a ?crit : >>> On Sun, 27 Jul 2014 20:35:53 -0600 >>> Randall Morgan wrote: >>> >>>> Must be too big on your end. I know I and others have sent larger files... >>>> But the link works also. I'll look at your code and get back to you. >>>> >>> I have had a bit of a look at this. To me, it appears that sdl is doing something nasty to the Try.. If Error construct. >>> The failure occurs in the Settings class when it is creating the directory chain for the user's .config/gambas3 directory. >>> It fails on the first iteration through the path, i.e. >>> Try Mkdir "/" & sPath >>> when sPath = "" i.e. the root directory (strangely enough!) already exists. >>> >>> That line should not fail i.e. the Try should ignore the error silently. But with sdl it appears not too? >>> >>> Definitely a bug within Gambas itself. >>> >>> Over to Benoit... >>> >>> regards >>> Bruce >>> >> Maybe not clicking the "stop on each error" button in the IDE would >> solve the problem? :-) >> >> -- >> Beno?t Minisini >> > "Stop on each error" is not clicked here and I can reproduce the reported error. > B > From gambas at ...2524... Mon Jul 28 07:46:11 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 28 Jul 2014 05:46:11 +0000 Subject: [Gambas-user] Issue 540 in gambas: gb.net.smtp doesn't work with e.g. smtp.gmail.com, responses aren't handled properly (timing issue) In-Reply-To: <4-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> <0-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> Comment #5 on issue 540 by uAle... at ...626...: gb.net.smtp doesn't work with e.g. smtp.gmail.com, responses aren't handled properly (timing issue) http://code.google.com/p/gambas/issues/detail?id=540 That's a quick fix (and rewrite), i will test it tonight. Thanks for the work! -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From shanep1967 at ...169... Mon Jul 28 07:54:45 2014 From: shanep1967 at ...169... (Shane) Date: Mon, 28 Jul 2014 15:54:45 +1000 Subject: [Gambas-user] Settings In-Reply-To: <53D5E31A.5050802@...169...> References: <53D46BBE.6080105@...169...> <53D4ACA0.3070705@...3240...> <53D59ABF.8040506@...169...> <53D59D5C.5010506@...169...> <53D5AD4D.4090200@...169...> <53D5B3BC.8010305@...169...> <20140728142943.7f7ce4b44f2140f59d921fdd@...2308...> <53D5DD37.7080307@...1...> <20140728145638.899de4bfc9ecd3b2a0c5ff66@...2308...> <53D5E31A.5050802@...169...> Message-ID: <53D5E5A5.9030904@...169...> the next thing did anyone play it and what are some of your thoughts On 28/07/14 15:43, Shane wrote: > Thanks benoit that fixed it > But i'm not sure why but i guess you do > > Thanks Shane > > > On 28/07/14 15:26, B Bruen wrote: >> On Mon, 28 Jul 2014 07:18:47 +0200 >> Beno?t Minisini wrote: >> >>> Le 28/07/2014 06:59, B Bruen a ?crit : >>>> On Sun, 27 Jul 2014 20:35:53 -0600 >>>> Randall Morgan wrote: >>>> >>>>> Must be too big on your end. I know I and others have sent larger files... >>>>> But the link works also. I'll look at your code and get back to you. >>>>> >>>> I have had a bit of a look at this. To me, it appears that sdl is doing something nasty to the Try.. If Error construct. >>>> The failure occurs in the Settings class when it is creating the directory chain for the user's .config/gambas3 directory. >>>> It fails on the first iteration through the path, i.e. >>>> Try Mkdir "/" & sPath >>>> when sPath = "" i.e. the root directory (strangely enough!) already exists. >>>> >>>> That line should not fail i.e. the Try should ignore the error silently. But with sdl it appears not too? >>>> >>>> Definitely a bug within Gambas itself. >>>> >>>> Over to Benoit... >>>> >>>> regards >>>> Bruce >>>> >>> Maybe not clicking the "stop on each error" button in the IDE would >>> solve the problem? :-) >>> >>> -- >>> Beno?t Minisini >>> >> "Stop on each error" is not clicked here and I can reproduce the reported error. >> B >> > > ------------------------------------------------------------------------------ > Infragistics Professional > Build stunning WinForms apps today! > Reboot your WinForms applications with our WinForms controls. > Build a bridge from your legacy apps to the future. > http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From gambas at ...2524... Mon Jul 28 08:02:00 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 28 Jul 2014 06:02:00 +0000 Subject: [Gambas-user] Issue 540 in gambas: gb.net.smtp doesn't work with e.g. smtp.gmail.com, responses aren't handled properly (timing issue) In-Reply-To: <5-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> <0-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> Comment #6 on issue 540 by uAle... at ...626...: gb.net.smtp doesn't work with e.g. smtp.gmail.com, responses aren't handled properly (timing issue) http://code.google.com/p/gambas/issues/detail?id=540 Browsed the code, but i got a comment on it. The following code will wait until it gets the "??? ..." (e.g. 250 OK). === If bMulti Then Do Line Input #$hStream, sLine sResponse &= sLine & "\n" If sLine Like "??? *" Then Break Loop Else Line Input #$hStream, sLine sResponse = sLine Endif === Only if during the "EHLO" phase we are connect to a port which is up, but nothing responds correctly, it will hang forever? Same goes I think for the bMulti = False, it can also hang on not correct input. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From bbruen at ...2308... Mon Jul 28 08:39:05 2014 From: bbruen at ...2308... (B Bruen) Date: Mon, 28 Jul 2014 16:09:05 +0930 Subject: [Gambas-user] Settings In-Reply-To: <20140728145638.899de4bfc9ecd3b2a0c5ff66@...2308...> References: <53D46BBE.6080105@...169...> <53D4ACA0.3070705@...3240...> <53D59ABF.8040506@...169...> <53D59D5C.5010506@...169...> <53D5AD4D.4090200@...169...> <53D5B3BC.8010305@...169...> <20140728142943.7f7ce4b44f2140f59d921fdd@...2308...> <53D5DD37.7080307@...1...> <20140728145638.899de4bfc9ecd3b2a0c5ff66@...2308...> Message-ID: <20140728160905.5978e13556d8f59792535e4e@...2308...> On Mon, 28 Jul 2014 14:56:38 +0930 B Bruen wrote: > On Mon, 28 Jul 2014 07:18:47 +0200 > Beno?t Minisini wrote: > > > Maybe not clicking the "stop on each error" button in the IDE would > > solve the problem? :-) > > > > -- > > Beno?t Minisini > > > > "Stop on each error" is not clicked here and I can reproduce the reported error. > B > > -- > B Bruen > Now this is truly weird! I just had a power fail here and when the UPS cut in I suddenly had two copies of every task running. Not only the 8 gambas projects I had open but everything, and I mean everything ... including X. Not weird enough? One copy of Shane's project has "Stop on each error" unclicked and the other, guessing by the task id, is clicked. Both reproduced the same error. Too much weirdness! Reboot. Yep, now his project (first one opened) comes up with "Stop on each error" clicked. and fails. But as you say... unclicking it and the error goes away. Problem solved. But this really indicates a need for a strongly worded help page for that "Stop on each error" option. (I have been caught before on this too!) Suggested help may include "Don't use this - you will forget you set it!!! " best regards Bruce p.s. Why use that Try instead of If Not Exists() in that loop, in fact why not start the loop at User.Home instead of / ? -- B Bruen From jusabejusabe at ...626... Mon Jul 28 11:27:38 2014 From: jusabejusabe at ...626... (Julio Sanchez) Date: Mon, 28 Jul 2014 11:27:38 +0200 Subject: [Gambas-user] Rules for Application Repository? In-Reply-To: <53D56804.9080006@...626...> References: <53D3DFF0.9010308@...626...> <20140726171242.GA674@...2774...> <53D3E970.3080502@...626...> <53D3EB9B.3030409@...1...> <53D5172A.4010307@...626...> <53D54FDD.8090002@...1...> <53D558C2.4080907@...626...> <53D55C2C.4070806@...1...> <53D56227.5060305@...626...> <53D5666A.5060200@...1...> <53D56804.9080006@...626...> Message-ID: ISS Boss , T Lee Davidso and Benoit: http://jsbsan.blogspot.com.es/2012/05/arduino-y-gambas3-lectura-y-graficos-de.html http://jsbsan.blogspot.com.es/2012/05/gambas-y-arduino-moviendo-dos.html" I modified the links, downloading now goes directly to where the files (google drive) have hosted. Sorry for the inconvenience. Julio 2014-07-27 22:58 GMT+02:00 T Lee Davidson : > That makes sense, Beno?t, and clarifies the issue. > > Thanks. > > > On 07/27/2014 04:51 PM, Beno?t Minisini wrote: > > Well if it's Julio's web site, he can do what he wants on it. Initially, > > I thought we were talking of ad links directly in the Gambas wiki. Of > > course I'm against that. > > > > -- Beno?t Minisini > > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From vuott at ...325... Mon Jul 28 11:34:53 2014 From: vuott at ...325... (Ru Vuott) Date: Mon, 28 Jul 2014 10:34:53 +0100 Subject: [Gambas-user] ERROR with rev. #6403 Message-ID: <1406540093.46644.YahooMailBasic@...3271...> Hello, updating with rev. #6403 I obtain this error-notice: Installing gbs3... Installing the scripter... Registering Gambas script mimetype Registering Gambas server page mimetype Installing the Gambas appdata file /usr/bin/install: cannot stat ?./desktop/gambas3.appdata.xml?: No such file or directory make[2]: *** [install-exec-local] Error 1 make[2]: Leaving directory `/home/vuott/trunk/app' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/home/vuott/trunk/app' make: *** [install-recursive] Error 1 From gambas at ...1... Mon Jul 28 12:29:09 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Mon, 28 Jul 2014 12:29:09 +0200 Subject: [Gambas-user] ERROR with rev. #6403 In-Reply-To: <1406540093.46644.YahooMailBasic@...3271...> References: <1406540093.46644.YahooMailBasic@...3271...> Message-ID: <53D625F5.1060704@...1...> Le 28/07/2014 11:34, Ru Vuott a ?crit : > Hello, > > updating with rev. #6403 I obtain this error-notice: > > > > Installing gbs3... > Installing the scripter... > Registering Gambas script mimetype > Registering Gambas server page mimetype > Installing the Gambas appdata file > /usr/bin/install: cannot stat ?./desktop/gambas3.appdata.xml?: No such file or directory Fixed in revision #6404. Regards, -- Beno?t Minisini From iss_boss at ...770... Mon Jul 28 15:57:41 2014 From: iss_boss at ...770... (ISS Boss) Date: Mon, 28 Jul 2014 09:57:41 -0400 Subject: [Gambas-user] Rules for Application Repository? In-Reply-To: References: <53D3DFF0.9010308@...626...> <20140726171242.GA674@...2774...> <53D3E970.3080502@...626...> <53D3EB9B.3030409@...1...> <53D5172A.4010307@...626...> <53D54FDD.8090002@...1...> <53D558C2.4080907@...626...> <53D55C2C.4070806@...1...> <53D56227.5060305@...626...> <53D5666A.5060200@...1...> <53D56804.9080006@...626...> Message-ID: <53D656D5.5020903@...770...> Thank you, Julio. It is very much appreciated. Bill Julio Sanchez wrote, On 07/28/2014 05:27: ISS Boss , T Lee Davidso and Benoit: [1]http://jsbsan.blogspot.com.es/2012/05/arduino-y-gambas3-lectura-y-graficos-d e.html [2]http://jsbsan.blogspot.com.es/2012/05/gambas-y-arduino-moviendo-dos.html" I modified the links, downloading now goes directly to where the files (google drive) have hosted. Sorry for the inconvenience. Julio 2014-07-27 22:58 GMT+02:00 T Lee Davidson [3]: That makes sense, Beno?t, and clarifies the issue. Thanks. On 07/27/2014 04:51 PM, Beno?t Minisini wrote: Well if it's Julio's web site, he can do what he wants on it. Initially, I thought we were talking of ad links directly in the Gambas wiki. Of course I'm against that. -- Beno?t Minisini ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. [4]http://p.sf.net/sfu/bds _______________________________________________ Gambas-user mailing list [5]Gambas-user at lists.sourceforge.net [6]https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------------ Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. [7]http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list [8]Gambas-user at lists.sourceforge.net [9]https://lists.sourceforge.net/lists/listinfo/gambas-user References 1. http://jsbsan.blogspot.com.es/2012/05/arduino-y-gambas3-lectura-y-graficos-de.html 2. http://jsbsan.blogspot.com.es/2012/05/gambas-y-arduino-moviendo-dos.html 3. mailto:t.lee.davidson at ...626... 4. http://p.sf.net/sfu/bds 5. mailto:Gambas-user at lists.sourceforge.net 6. https://lists.sourceforge.net/lists/listinfo/gambas-user 7. http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk 8. mailto:Gambas-user at lists.sourceforge.net 9. https://lists.sourceforge.net/lists/listinfo/gambas-user From vuott at ...325... Mon Jul 28 16:04:55 2014 From: vuott at ...325... (Ru Vuott) Date: Mon, 28 Jul 2014 15:04:55 +0100 Subject: [Gambas-user] ERROR with rev. #6403 In-Reply-To: <53D625F5.1060704@...1...> Message-ID: <1406556295.39919.YahooMailBasic@...3268...> Yes, now it works. Regards. vuott -------------------------------------------- Lun 28/7/14, Beno?t Minisini ha scritto: Oggetto: Re: [Gambas-user] ERROR with rev. #6403 A: "mailing list for gambas users" Data: Luned? 28 luglio 2014, 12:29 Le 28/07/2014 11:34, Ru Vuott a ?crit : > Hello, > > updating with rev. #6403 I obtain this error-notice: > > > > Installing gbs3... > Installing the scripter... > Registering Gambas script mimetype > Registering Gambas server page mimetype > Installing the Gambas appdata file > /usr/bin/install: cannot stat ?./desktop/gambas3.appdata.xml?: No such file or directory Fixed in revision #6404. Regards, -- Beno?t Minisini ------------------------------------------------------------------------------ Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From shordi at ...626... Mon Jul 28 18:41:49 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Mon, 28 Jul 2014 18:41:49 +0200 Subject: [Gambas-user] Accesing a textEdit.richtext properties. Message-ID: Hi everybody. When creating z textEdit instance, the richtext property contains something like that:


After that, each time you create a paragraph or somenthing that, that default styles are included (like the -qt-block-Indent:0px by excample) but I want change that "by default", in other words, if I change Indent: 30px, for example, I want that value to be maintained in

tag until I change again... It's posible get access to that default style chain and manipulate it? Thanks in advance Regards From taboege at ...626... Tue Jul 29 12:46:30 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 29 Jul 2014 12:46:30 +0200 Subject: [Gambas-user] Inheriting Stream in a Gambas class? Message-ID: <20140729104630.GD523@...2774...> Hi Benoit, is there currently the possibility to "Inherits Stream" in a class written in Gambas, so that it can be used as a Stream? If not, is it a goal for Gambas 4? Also re-read this mail substituting "Stream" by "the _convert and _operator interfaces seen in gb.gsl". Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Tue Jul 29 15:07:32 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 29 Jul 2014 15:07:32 +0200 Subject: [Gambas-user] IDE: "Entered text echo" not working as expected Message-ID: <20140729130732.GE523@...2774...> Hi Benoit, my project is a console one and has a prompt, so I tried to toggle the "Entered text echo" button to "on". However, it will only echo when the project is not running. But I wanted to see how a session would look like if I would run the program from command line, without the IDE. Looking at the sources, Debug/FOutput.class, I see that Design.IsRunning being True prevents the input from being sent (I verified this). I don't know what "Design" stands for. Is this behaviour intended? If so, why, and can we change it? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Tue Jul 29 15:16:12 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 29 Jul 2014 15:16:12 +0200 Subject: [Gambas-user] Inheriting Stream in a Gambas class? In-Reply-To: <20140729104630.GD523@...2774...> References: <20140729104630.GD523@...2774...> Message-ID: <53D79E9C.70402@...1...> Le 29/07/2014 12:46, Tobias Boege a ?crit : > Hi Benoit, > > is there currently the possibility to "Inherits Stream" in a class written > in Gambas, so that it can be used as a Stream? If not, is it a goal for > Gambas 4? It should be possible, did you try? > > Also re-read this mail substituting "Stream" by "the _convert and _operator > interfaces seen in gb.gsl". for _convert, maybe. For _operator, I don't want, otherwise it will lead to the C++ delirium with operator reimplementation. Regards, -- Beno?t Minisini From taboege at ...626... Tue Jul 29 15:24:54 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 29 Jul 2014 15:24:54 +0200 Subject: [Gambas-user] Inheriting Stream in a Gambas class? In-Reply-To: <53D79E9C.70402@...1...> References: <20140729104630.GD523@...2774...> <53D79E9C.70402@...1...> Message-ID: <20140729132454.GF523@...2774...> On Tue, 29 Jul 2014, Beno?t Minisini wrote: > Le 29/07/2014 12:46, Tobias Boege a ?crit : > > Hi Benoit, > > > > is there currently the possibility to "Inherits Stream" in a class written > > in Gambas, so that it can be used as a Stream? If not, is it a goal for > > Gambas 4? > > It should be possible, did you try? > I didn't know what to do. I wrote Inherits Stream into my class and then hesitated: I could instantiate the class but a Print #myObject, "test" failed, of course, because my class has no methods related to Stream and I don't know where to put them, and what exactly. > > > > Also re-read this mail substituting "Stream" by "the _convert and _operator > > interfaces seen in gb.gsl". > > for _convert, maybe. For _operator, I don't want, otherwise it will lead > to the C++ delirium with operator reimplementation. > I find this operator reimplementation thing very nifty in theory (just as function overloading ;-)). But I haven't seen that much C++ source code. Maybe they can turn it into hell. Well, there is a time and place for every concept, and I'm OK if Gambas isn't for these. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Tue Jul 29 15:34:12 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 29 Jul 2014 15:34:12 +0200 Subject: [Gambas-user] Inheriting Stream in a Gambas class? In-Reply-To: <20140729132454.GF523@...2774...> References: <20140729104630.GD523@...2774...> <53D79E9C.70402@...1...> <20140729132454.GF523@...2774...> Message-ID: <53D7A2D4.1020605@...1...> Le 29/07/2014 15:24, Tobias Boege a ?crit : > On Tue, 29 Jul 2014, Beno?t Minisini wrote: >> Le 29/07/2014 12:46, Tobias Boege a ?crit : >>> Hi Benoit, >>> >>> is there currently the possibility to "Inherits Stream" in a class written >>> in Gambas, so that it can be used as a Stream? If not, is it a goal for >>> Gambas 4? >> >> It should be possible, did you try? >> > > I didn't know what to do. I wrote > > Inherits Stream > > into my class and then hesitated: I could instantiate the class but a > > Print #myObject, "test" > > failed, of course, because my class has no methods related to Stream and I > don't know where to put them, and what exactly. > Of course, it you want to create a new type of stream, you can't. This is internal to the interpreter. You can do that only in C/C++. >>> >>> Also re-read this mail substituting "Stream" by "the _convert and _operator >>> interfaces seen in gb.gsl". >> >> for _convert, maybe. For _operator, I don't want, otherwise it will lead >> to the C++ delirium with operator reimplementation. >> > > I find this operator reimplementation thing very nifty in theory (just as > function overloading ;-)). But I haven't seen that much C++ source code. > Maybe they can turn it into hell. Well, there is a time and place for every > concept, and I'm OK if Gambas isn't for these. Same thing. You can implement _convert and _operator in C/C++ only, because that way I can prevent people doing dirty things more easily. -- Beno?t Minisini From gambas at ...1... Tue Jul 29 21:55:51 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 29 Jul 2014 21:55:51 +0200 Subject: [Gambas-user] IDE: "Entered text echo" not working as expected In-Reply-To: <20140729130732.GE523@...2774...> References: <20140729130732.GE523@...2774...> Message-ID: <53D7FC47.6090907@...1...> Le 29/07/2014 15:07, Tobias Boege a ?crit : > Hi Benoit, > > my project is a console one and has a prompt, so I tried to toggle the > "Entered text echo" button to "on". However, it will only echo when the > project is not running. But I wanted to see how a session would look like > if I would run the program from command line, without the IDE. > > Looking at the sources, Debug/FOutput.class, I see that Design.IsRunning > being True prevents the input from being sent (I verified this). I don't > know what "Design" stands for. Is this behaviour intended? If so, why, > and can we change it? > > Regards, > Tobi > The output window is not a terminal. You must use "use a terminal" to check how your project run inside a terminal. Regards, -- Beno?t Minisini From taboege at ...626... Tue Jul 29 22:27:08 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 29 Jul 2014 22:27:08 +0200 Subject: [Gambas-user] IDE: "Entered text echo" not working as expected In-Reply-To: <53D7FC47.6090907@...1...> References: <20140729130732.GE523@...2774...> <53D7FC47.6090907@...1...> Message-ID: <20140729202708.GI523@...2774...> On Tue, 29 Jul 2014, Beno?t Minisini wrote: > Le 29/07/2014 15:07, Tobias Boege a ?crit : > > Hi Benoit, > > > > my project is a console one and has a prompt, so I tried to toggle the > > "Entered text echo" button to "on". However, it will only echo when the > > project is not running. But I wanted to see how a session would look like > > if I would run the program from command line, without the IDE. > > > > Looking at the sources, Debug/FOutput.class, I see that Design.IsRunning > > being True prevents the input from being sent (I verified this). I don't > > know what "Design" stands for. Is this behaviour intended? If so, why, > > and can we change it? > > > > Regards, > > Tobi > > > > The output window is not a terminal. You must use "use a terminal" to > check how your project run inside a terminal. > No, I don't need a terminal (emulator). I just want to see how it would look if the user had typed in between my program's messages, so that I can copy this text and say: "this is how a sample session would look like". Of course, I could do it from a terminal with no effort but it should work in the IDE, too. All I want is the echo of what the user entered into the box. But it doesn't show up when the program is running. Only when the program is not running, I get the echo, which is what I find strange. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From adrien.prokopowicz at ...626... Wed Jul 30 08:50:11 2014 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Wed, 30 Jul 2014 08:50:11 +0200 Subject: [Gambas-user] gambas3 checking for well-formed and valid XML In-Reply-To: <1406371060.6492.15.camel@...40...> References: <1406371060.6492.15.camel@...40...> Message-ID: Le Sat, 26 Jul 2014 12:37:40 +0200, Charlie Reinl a ?crit: > Salut Adrien, > > I didn't find anything about xml-error and/or well-formed and valid XML. > > Found that problem after a bad xml usage. I copied a path at the end of > the file, and saved and forgot. > > Now, I still can load it with Xml.FromString(File.Load("my.xml")), but > next line on XSLT.Transform(Xml, Xsl) I get a #11 . > This is the output : > > Entity: line 19: parser error : Extra content at the end of the document > file://~/DBReport3/Reports/Bank/Test.xml > ^ > > Hi Charlie, Could you send me a project with the XML and XSLT files, so I can see what is going on ? Regards, -- Adrien Prokopowicz From Karl.Reinl at ...2345... Wed Jul 30 10:45:32 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Wed, 30 Jul 2014 10:45:32 +0200 Subject: [Gambas-user] gambas3 checking for well-formed and valid XML In-Reply-To: References: <1406371060.6492.15.camel@...40...> Message-ID: <1406709932.4071.0.camel@...40...> Am Mittwoch, den 30.07.2014, 08:50 +0200 schrieb Adrien Prokopowicz: > Le Sat, 26 Jul 2014 12:37:40 +0200, Charlie Reinl > a ?crit: > > > Salut Adrien, > > > > I didn't find anything about xml-error and/or well-formed and valid XML. > > > > Found that problem after a bad xml usage. I copied a path at the end of > > the file, and saved and forgot. > > > > Now, I still can load it with Xml.FromString(File.Load("my.xml")), but > > next line on XSLT.Transform(Xml, Xsl) I get a #11 . > > This is the output : > > > > Entity: line 19: parser error : Extra content at the end of the document > > file://~/DBReport3/Reports/Bank/Test.xml > > ^ > > > > > > Hi Charlie, > > Could you send me a project with the XML and XSLT files, so I can see > what is going on ? > > Regards, > Salut Adrien, is attached -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: XML-testing-0.0.1.tar.gz Type: application/x-compressed-tar Size: 6381 bytes Desc: not available URL: From bbruen at ...2308... Thu Jul 31 05:17:19 2014 From: bbruen at ...2308... (B Bruen) Date: Thu, 31 Jul 2014 12:47:19 +0930 Subject: [Gambas-user] Using WITH on non-objects Message-ID: <20140731124719.9ac158143ca6e3644cc0ab1f@...2308...> TRY: Often I find that I have to do multiple actions on a non-object variable, for instance I might be working with a large string where I need to replace multiple sub-strings, sometimes on a conditional basis. For example, suppose I have a string S which is a pattern and contains something like "aaa bbb ccc eee". (Note1 : this is NOT a Subst pattern string!) Currently I need to write a lot of code like: wkS=IIf(somecondition, Replace$(S,"aaa","Somebody"),"") wks=IIf(someothercondition, Replace$(wkS,"bbb","something","else") ... If instr(wkS,"ddd")>0 then Replace$(wkS,"ddd","Tuesday fortnight) ... etc Would it be possible to provide within gambas a "shortcut" method for such whereby I could write wkS=S With wkS IIf(somecondition, Replace$("aaa","Somebody","") ... etc End With where wkS is a String variable, i.e. not an object. It's just an idea, I was wondering if it is possible. I have written quite a lot of sed calls to achieve the things I need to do but they are a royal PITA to develop in the first place and an extremely royal PITA to maintain. CATCH: Another example might illuminate further. Again I'll talk about string variables as they are easiest to convey the idea. Since 3.5 I can do the following sorts of things: Dim MyWeather As String ="Tuesday -32C" Dim MyWeatherComment As String[] = Scan(MyWeather, "* *C") With MyWeatherComment .[0]=Replace( .[0], "Tuesday", "Tomorrow the maximum temp will be" ) .[1]=IIf ( Val ( .[1] ) < 19, .[1] & " Brrrrr!", .[1] & " Phew!") etc End With Print MySArray.Join(" ") which results in "Tomorrow the maximum temp will be -32 Brrrrr!" What I would like to do is Dim MyWeather As String = "Tuesday 1st August 2014. Exp Max:-32C Hum:2%" Dim MyComment As String="Today the maximum temp will be &1 &2" With Scan(MyWeather,"* *. Exp Max:*C *)[2] Print Subst(MyComment, ., IIf( Val(.)<19,"Brrr!", "Phew") End With FINALLY: In the above pretend code of mine it might be hard to see but on that Print line I'm just using dot, (.) to represent the current With target. I don't know how the compiler works with WITH but given the above array constructs we now have, it looks like it expands: WITH .something .... .something ..... END WITH to: WITH .something .... .something ..... END WITH So what I am asking for is an extension such that "." (i.e. " . ") means the current WITH target in any context, or in other words it refers to the WITH target regardless of whether that target is an object or a native datatype. So a lone . would refer to the WITH target itself. regards Bruce -- B Bruen From gambas at ...2524... Thu Jul 31 11:26:53 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 31 Jul 2014 09:26:53 +0000 Subject: [Gambas-user] Issue 543 in gambas: Wrong string literal doesn't handled by IDE in Form files Message-ID: <0-6813199134517018827-12730224413432431724-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-3.1.1 Type-Bug Priority-Medium OpSys-Linux Dist-Debian Arch-Any Desktop-KDE GUI-QT4 New issue 543 by MihanEnt... at ...2736...: Wrong string literal doesn't handled by IDE in Form files http://code.google.com/p/gambas/issues/detail?id=543 1) When I'm trying to but literal "\?" to string in Form file, and after that, run the project bu pressing F5, gambas IDE dies with message "[11] Unknown symbol 'Editor' in class 'FForm'. Project.CompileError.2072" 2) Information about my system: OS: Debian Wheezy $ uname -a: Linux MihanLenovo 3.2.0-4-686-pae #1 SMP Debian 3.2.60-1 i686 GNU/Linux $ gambas information: [System] OperatingSystem=Linux Kernel=3.2.0-4-686-pae Architecture=i686 Memory=5801272 kB DistributionVendor=debian DistributionRelease=7.6 Desktop=KDE4 [Gambas 2] Version=2.21.0 Path=/usr/bin/gbx2 [Gambas 3] Version=3.1.1 Path=/usr/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.8.2 GTK+=libgtk-x11-2.0.so.0.2400.10 My DE is KDE. 3) I've provided a project, that demonstrates the bug. You just have to open it in IDE and stroke F5 5) How to reproduce: 1. Creating application with a form. 2. In and part of code write something like this: dim s as string s = "\?" 3. Run by pressing F5 Note: In the *.bas files this doesn't reproducing, IDE saids "Bad character constant in string" (As it should be) Attachments: test_bug.tar.gz 5.1 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Thu Jul 31 11:29:14 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 31 Jul 2014 09:29:14 +0000 Subject: [Gambas-user] Issue 543 in gambas: Wrong string literal doesn't handled by IDE in Form files In-Reply-To: <0-6813199134517018827-12730224413432431724-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-12730224413432431724-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-12730224413432431724-gambas=googlecode.com@...2524...> Comment #1 on issue 543 by MihanEnt... at ...2736...: Wrong string literal doesn't handled by IDE in Form files http://code.google.com/p/gambas/issues/detail?id=543 Sorry for misspelling (didn't found how to change issue itself) "When I'm trying to but literal" => "When I'm trying to PUT literal" -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From mckaygerhard at ...626... Thu Jul 31 18:44:14 2014 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Thu, 31 Jul 2014 12:14:14 -0430 Subject: [Gambas-user] for what "Dialog box management"? Message-ID: whats the meaning/utility of chek box "Dialog box management" when a new form are creating!? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From Karl.Reinl at ...2345... Thu Jul 31 19:07:33 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Thu, 31 Jul 2014 19:07:33 +0200 Subject: [Gambas-user] for what "Dialog box management"? In-Reply-To: References: Message-ID: <1406826453.3552.6.camel@...40...> Am Donnerstag, den 31.07.2014, 12:14 -0430 schrieb PICCORO McKAY Lenz: > whats the meaning/utility of chek box "Dialog box management" when a new > form are creating!? > > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com Salut Piccoro, the time write your mail, you could also try it. Checked you get a fine designed, well working form with 2 buttons well arranged in a HBox, one is [OK] and the other is [Cancel]. Both with full functionality. HTH -- Amicalement Charlie From gambas at ...2524... Thu Jul 31 19:10:42 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 31 Jul 2014 17:10:42 +0000 Subject: [Gambas-user] Issue 544 in gambas: Gambas doesn't show images tumbnails with FileChooser Message-ID: <0-6813199134517018827-7203690705262611703-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 544 by uAle... at ...626...: Gambas doesn't show images tumbnails with FileChooser http://code.google.com/p/gambas/issues/detail?id=544 1) Describe the problem. Gambas won't display the tumbnails with FileChooser, when "ShowPreview = "True". Seems after the preview task has been moved to the Task (background), it doesn't work anymore. In the file: comp/src/gb.form/.src/File/FileView.class It reads the Task output, the task writes as follows: \t\n\r Only the code in FileView splits it on "\n" only, so the has still the "\r" and it can not load that file. Renaming the trailing "\r" makes it working again ;-) 2) Give information about your system. Use the 'System information' menu in the Gambas IDE, and paste the result there. Gambas 3.5.4 3) Provide a little project that reproduces the bug or the crash. Attached. 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! ANOTHER NOTE: Don't create an issue if you have a compilation problem on the development version. Send a mail to the mailing-list instead, thanks. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From Karl.Reinl at ...2345... Thu Jul 31 19:49:18 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Thu, 31 Jul 2014 19:49:18 +0200 Subject: [Gambas-user] gambas3 printer Message-ID: <1406828958.3552.28.camel@...40...> Salut Beno?t, digging around the gambas3 printer object, I can now say the following: - you can not set printer.paper=0, what means set to gambas 'Custom', you earn a default.paper, in my case A4 - changing PaperWidth and/or PaperHeight that will changing also printer.paper - Changing from printer.orientation works well for A4 (my be all gambas3 supported paper formats), PaperWidth and PaperHeight are changed, but not for other possible Formats, changed by gambas3 to 'Custom' with PaperWidth/PaperHeight set. That works all well if use printer.Configure, but the troubles are I want to save this settings for a later use, so the values of the gambas3 printer object counts for me. Thanks for your attention. -- Amicalement Charlie