From a.baudrez at ...626... Wed Oct 1 06:10:45 2014 From: a.baudrez at ...626... (Alain Baudrez) Date: Wed, 1 Oct 2014 06:10:45 +0200 Subject: [Gambas-user] Combobox behavior with long lists Message-ID: I have quit using the combobox because its behavior with long lists really pisses me off. When you click the dropdown arrow a list of items fills the screen from top to bottom, which is not only ugly for the eyes, but also confuses the users. I expected to see a behavior like you see in LibreOffice dropdown boxes, with a relative small drop-down section and the original textbox portion of the combobox visible. Is there a at least way to restrict to length of the dropdown section of the combobox to let's say approx 10 visible items? From bbruen at ...2308... Wed Oct 1 06:40:50 2014 From: bbruen at ...2308... (B Bruen) Date: Wed, 1 Oct 2014 14:10:50 +0930 Subject: [Gambas-user] Relative paths Message-ID: <20141001141050.a1b727c8db577ff6f6287ab7@...2308...> (and I thought I knew it all! ) In a component I want to refer to a path in the client project executable. To be precise in the client project I have a relative path to an image file "./img/logo.png" where that file is the project logo. In a component that is used by that client project, I want to refer to that image. But using both "./img/logo.png" and "img/logo.png" in a Picture reference returns the image in the component executable not the client project executable. The component in question is a popup form that displays the ubiquitous "About Me" info and I want to show the client project logo in it. The salient point is that I want to get at an image file in the client executable. Any clues? B -- B Bruen From gambas at ...1... Wed Oct 1 08:26:26 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 01 Oct 2014 08:26:26 +0200 Subject: [Gambas-user] Relative paths In-Reply-To: <20141001141050.a1b727c8db577ff6f6287ab7@...2308...> References: <20141001141050.a1b727c8db577ff6f6287ab7@...2308...> Message-ID: <542B9E92.1030005@...1...> Le 01/10/2014 06:40, B Bruen a ?crit : > (and I thought I knew it all! ) > > In a component I want to refer to a path in the client project > executable. To be precise in the client project I have a relative > path to an image file "./img/logo.png" where that file is the > project logo. In a component that is used by that client project, I > want to refer to that image. > > But using both "./img/logo.png" and "img/logo.png" in a Picture > reference returns the image in the component executable not the > client project executable. The component in question is a popup form > that displays the ubiquitous "About Me" info and I want to show the > client project logo in it. > > The salient point is that I want to get at an image file in the > client executable. > > Any clues? > > B > There is a special syntax for that: "../img/logo.png" is the "img/logo.png" file of the main project. Regards, -- Beno?t Minisini From chrisml at ...3340... Wed Oct 1 08:47:22 2014 From: chrisml at ...3340... (Christof Thalhofer) Date: Wed, 01 Oct 2014 08:47:22 +0200 Subject: [Gambas-user] Screenshots gambas.sourceforge.net 404 Message-ID: <542BA37A.4030007@...3340...> Hi, all links to screenshots in http://gambas.sourceforge.net/en/main.html point to nonexisting files. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From bbruen at ...2308... Wed Oct 1 09:29:02 2014 From: bbruen at ...2308... (B Bruen) Date: Wed, 1 Oct 2014 16:59:02 +0930 Subject: [Gambas-user] Relative paths In-Reply-To: <542B9E92.1030005@...1...> References: <20141001141050.a1b727c8db577ff6f6287ab7@...2308...> <542B9E92.1030005@...1...> Message-ID: <20141001165902.15fc5d2360bec35aee5b562f@...2308...> On Wed, 01 Oct 2014 08:26:26 +0200 Beno?t Minisini wrote: > Le 01/10/2014 06:40, B Bruen a ?crit : > > (and I thought I knew it all! ) > > > > In a component I want to refer to a path in the client project > > executable. To be precise in the client project I have a relative > > path to an image file "./img/logo.png" where that file is the > > project logo. In a component that is used by that client project, I > > want to refer to that image. > > > > But using both "./img/logo.png" and "img/logo.png" in a Picture > > reference returns the image in the component executable not the > > client project executable. The component in question is a popup form > > that displays the ubiquitous "About Me" info and I want to show the > > client project logo in it. > > > > The salient point is that I want to get at an image file in the > > client executable. > > > > Any clues? > > > > B > > > > There is a special syntax for that: "../img/logo.png" is the > "img/logo.png" file of the main project. > > Regards, > > -- > Beno?t Minisini > Ah! That works. Thanks B -- B Bruen From ea7dfh at ...2382... Wed Oct 1 11:25:11 2014 From: ea7dfh at ...2382... (Jesus) Date: Wed, 01 Oct 2014 11:25:11 +0200 Subject: [Gambas-user] Combobox behavior with long lists In-Reply-To: References: Message-ID: <542BC877.4080102@...2382...> El 01/10/14 a las #4, Alain Baudrez escribi?: > I have quit using the combobox because its behavior with long lists really > pisses me off. When you click the dropdown arrow a list of items fills the > screen from top to bottom, which is not only ugly for the eyes, but also > confuses the users. > > I expected to see a behavior like you see in LibreOffice dropdown boxes, > with a relative small drop-down section and the original textbox portion > of the combobox visible. > > Is there a at least way to restrict to length of the dropdown section of > the combobox to let's say approx 10 visible items? Hi It seems to me that it depends on the toolkit used. I mean, if you use gb.gui (with gnome desktop) or gb.gtk, the underlying desktop manager uses that behavior in the comboboxes. But if you change to gb.qt4, you will notice the differences. Let change to gb.qt4 and you will see a "normal" combobox. Regards -- Jesus Guardon From a.baudrez at ...626... Wed Oct 1 11:51:34 2014 From: a.baudrez at ...626... (Alain Baudrez) Date: Wed, 1 Oct 2014 11:51:34 +0200 Subject: [Gambas-user] Combobox behavior with long lists In-Reply-To: <542BC877.4080102@...2382...> References: <542BC877.4080102@...2382...> Message-ID: Jesus, the funny thing is that I use gb.qt4 and I have this very long top to bottom list in Linux Mint 17 Mate. Maybe it is not 100% depending on the toolkit used. Those are my settings: [System] Gambas=3.5.4 OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86_64 Distribution=Linux Mint 17 Qiana Desktop=MATE Theme=QGtk Language=nl_BE.UTF-8 Memory=3686M [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 2014-10-01 11:25 GMT+02:00 Jesus : > El 01/10/14 a las #4, Alain Baudrez escribi?: > > I have quit using the combobox because its behavior with long lists > really > > pisses me off. When you click the dropdown arrow a list of items fills > the > > screen from top to bottom, which is not only ugly for the eyes, but also > > confuses the users. > > > > I expected to see a behavior like you see in LibreOffice dropdown boxes, > > with a relative small drop-down section and the original textbox portion > > of the combobox visible. > > > > Is there a at least way to restrict to length of the dropdown section of > > the combobox to let's say approx 10 visible items? > > Hi > > It seems to me that it depends on the toolkit used. I mean, if you use > gb.gui (with gnome desktop) or gb.gtk, the underlying desktop manager > uses that behavior in the comboboxes. But if you change to gb.qt4, you > will notice the differences. > > Let change to gb.qt4 and you will see a "normal" combobox. > > Regards > -- > Jesus Guardon > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From ea7dfh at ...2382... Wed Oct 1 14:05:35 2014 From: ea7dfh at ...2382... (Jesus) Date: Wed, 01 Oct 2014 14:05:35 +0200 Subject: [Gambas-user] Combobox behavior with long lists In-Reply-To: References: <542BC877.4080102@...2382...> Message-ID: <542BEE0F.7000104@...2382...> El 01/10/14 a las #4, Alain Baudrez escribi?: > Jesus, > > the funny thing is that I use gb.qt4 and I have this very long top to > bottom list in Linux Mint 17 Mate. > > Maybe it is not 100% depending on the toolkit used. It is, at a degree. This is the theme used by the qt4 tk. Test with another style (using the tool qtconfig-qt4). I've just tested it and "Plastique" style behaves as you want. Install qt4-qtconfig package and play a little with it. I'm using Mint 17 Xfce and also hate that long comboboxes... ;-) Hope this helps this time Regards -- Jesus Guardon > > 2014-10-01 11:25 GMT+02:00 Jesus : > >> El 01/10/14 a las #4, Alain Baudrez escribi?: >>> I have quit using the combobox because its behavior with long lists >> really >>> pisses me off. When you click the dropdown arrow a list of items fills >> the >>> screen from top to bottom, which is not only ugly for the eyes, but also >>> confuses the users. >> >> Hi >> >> It seems to me that it depends on the toolkit used. I mean, if you use >> gb.gui (with gnome desktop) or gb.gtk, the underlying desktop manager >> uses that behavior in the comboboxes. But if you change to gb.qt4, you >> will notice the differences. >> >> Let change to gb.qt4 and you will see a "normal" combobox. >> >> Regards >> -- >> Jesus Guardon From taboege at ...626... Wed Oct 1 14:33:11 2014 From: taboege at ...626... (Tobias Boege) Date: Wed, 1 Oct 2014 14:33:11 +0200 Subject: [Gambas-user] Combobox behavior with long lists In-Reply-To: <542BEE0F.7000104@...2382...> References: <542BC877.4080102@...2382...> <542BEE0F.7000104@...2382...> Message-ID: <20141001123311.GA1225@...2774...> On Wed, 01 Oct 2014, Jesus wrote: > El 01/10/14 a las #4, Alain Baudrez escribi?: > > Jesus, > > > > the funny thing is that I use gb.qt4 and I have this very long top to > > bottom list in Linux Mint 17 Mate. > > > > Maybe it is not 100% depending on the toolkit used. > > It is, at a degree. This is the theme used by the qt4 tk. Test with > another style (using the tool qtconfig-qt4). I've just tested it and > "Plastique" style behaves as you want. > Plastique is the best thing that has ever happened on computers (at least the version called "Plastik" that I am running), but in general I'd think that people aren't content with (massively!) changing how things look just to get a small thing to behave. But the only solution I see here is to write your own ComboBox. Since it's a native (non-compound) control you can't even reasonably extend the existing class to (ab)use some of its internals, like re-wiring event handlers from child controls. (You can always do this sort of hack with compound controls written in Gambas, i.e. non-native ones.) Another thing could be that Benoit adds a new event to the ComboBox. If there is an event handler for it, that would mean that the Gambas programmer wants to do their own popup[*] and if not, the standard popup is used. But I doubt that this would be implemented. It looks too weird/fragile. Regards, Tobi [*] If you write your own ComboBox, this is something you also need to think of: "how do I implement a popup that attaches visually to my control but _could_ be larger than my form?". We currently explore this question in a quite related thread here[0]. [0] http://gambas-club.de/viewtopic.php?f=3&t=4761 -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Wed Oct 1 18:51:26 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 01 Oct 2014 18:51:26 +0200 Subject: [Gambas-user] Combobox behavior with long lists In-Reply-To: <20141001123311.GA1225@...2774...> References: <542BC877.4080102@...2382...> <542BEE0F.7000104@...2382...> <20141001123311.GA1225@...2774...> Message-ID: <542C310E.5020704@...1...> Le 01/10/2014 14:33, Tobias Boege a ?crit : > On Wed, 01 Oct 2014, Jesus wrote: >> El 01/10/14 a las #4, Alain Baudrez escribi?: >>> Jesus, >>> >>> the funny thing is that I use gb.qt4 and I have this very long top to >>> bottom list in Linux Mint 17 Mate. >>> >>> Maybe it is not 100% depending on the toolkit used. >> >> It is, at a degree. This is the theme used by the qt4 tk. Test with >> another style (using the tool qtconfig-qt4). I've just tested it and >> "Plastique" style behaves as you want. >> > > Plastique is the best thing that has ever happened on computers (at least > the version called "Plastik" that I am running), but in general I'd think > that people aren't content with (massively!) changing how things look just > to get a small thing to behave. > > But the only solution I see here is to write your own ComboBox. Since it's > a native (non-compound) control you can't even reasonably extend the > existing class to (ab)use some of its internals, like re-wiring event > handlers from child controls. (You can always do this sort of hack with > compound controls written in Gambas, i.e. non-native ones.) > > Another thing could be that Benoit adds a new event to the ComboBox. If > there is an event handler for it, that would mean that the Gambas programmer > wants to do their own popup[*] and if not, the standard popup is used. But > I doubt that this would be implemented. It looks too weird/fragile. > > Regards, > Tobi > > [*] If you write your own ComboBox, this is something you also need to think > of: "how do I implement a popup that attaches visually to my control but > _could_ be larger than my form?". We currently explore this question in > a quite related thread here[0]. > > [0] http://gambas-club.de/viewtopic.php?f=3&t=4761 > Look at the implentation of DateBox control. It uses a DateChooser as a true popup window. The difficulty if the mouse press event, that starts on the main form, and must be handled by the popup. Regards, -- Beno?t Minisini From vuott at ...325... Wed Oct 1 20:57:35 2014 From: vuott at ...325... (Ru Vuott) Date: Wed, 1 Oct 2014 19:57:35 +0100 Subject: [Gambas-user] ERROR when I put a GridView on the Form Message-ID: <1412189855.75710.YahooMailBasic@...3269...> Hello, when I set the GRIDVIEW on the Form an error-notice window is raised: ****************************************************************************** This application has raised an unexpected error and must abort. [13] Null object. ScrollArea.DrawingArea_Draw.417 ****************************************************************************** I do not understand .... Here 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=3953M [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 Regards vuott From vuott at ...325... Wed Oct 1 22:55:44 2014 From: vuott at ...325... (Ru Vuott) Date: Wed, 1 Oct 2014 21:55:44 +0100 Subject: [Gambas-user] Strange ERROR if "Utility" in Name Menu Message-ID: <1412196944.76639.YahooMailBasic@...3269...> Hello, our friend of italian Gambas forum posted an his project, where a strange error is raised if the "Name" of Menu is "Utility"... Your opinion ? His project here attached (look at the "Name" of "Menu5" inside !) Regards vuott -------------- next part -------------- A non-text attachment was scrubbed... Name: Prova-0.0.1.tar.gz Type: application/gzip Size: 38360 bytes Desc: not available URL: From taboege at ...626... Wed Oct 1 23:08:32 2014 From: taboege at ...626... (Tobias Boege) Date: Wed, 1 Oct 2014 23:08:32 +0200 Subject: [Gambas-user] Strange ERROR if "Utility" in Name Menu In-Reply-To: <1412196944.76639.YahooMailBasic@...3269...> References: <1412196944.76639.YahooMailBasic@...3269...> Message-ID: <20141001210832.GC1225@...2774...> On Wed, 01 Oct 2014, Ru Vuott wrote: > Hello, > > our friend of italian Gambas forum posted an his project, where a strange error is raised if the "Name" of Menu is "Utility"... > > Your opinion ? > > His project here attached (look at the "Name" of "Menu5" inside !) > This is because the menu name is "Utility" and the project options say that "form controls are public". So what happens is: the compiler creates public variables in the form which have the name of the controls in the form (I guess), so that the programmer can write FMain.myMenu to access their menu control. But Utility is actually a boolean property of the Form class already from which FMain inherits, so the not-so-strange "incorrectly overridden" error is raised. Our friend did two things wrong here: normally, you shouldn't tick the "form controls are public" checkbox. Indeed the program seems to not need it at all. It's the same as having everything be a global variable -- it nullifies the principle of encapsulation. The second thing is to violate the Gambas naming conventions :-) Calling a thing "Utility" asks for trouble, "mnuUtility" would be fine. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From epost at ...3323... Wed Oct 1 23:18:50 2014 From: epost at ...3323... (=?windows-1252?Q?J=F8rn_Erik_M=F8rne?=) Date: Wed, 01 Oct 2014 23:18:50 +0200 Subject: [Gambas-user] Strange ERROR if "Utility" in Name Menu In-Reply-To: <20141001210832.GC1225@...2774...> References: <1412196944.76639.YahooMailBasic@...3269...> <20141001210832.GC1225@...2774...> Message-ID: <542C6FBA.6030503@...3323...> Den 01. okt. 2014 23:08, skrev Tobias Boege: > On Wed, 01 Oct 2014, Ru Vuott wrote: >> Hello, >> >> our friend of italian Gambas forum posted an his project, where a strange error is raised if the "Name" of Menu is "Utility"... >> >> Your opinion ? >> >> His project here attached (look at the "Name" of "Menu5" inside !) >> > This is because the menu name is "Utility" and the project options say that > "form controls are public". > > So what happens is: the compiler creates public variables in the form which > have the name of the controls in the form (I guess), so that the programmer > can write FMain.myMenu to access their menu control. But Utility is actually > a boolean property of the Form class already from which FMain inherits, so > the not-so-strange "incorrectly overridden" error is raised. > > Our friend did two things wrong here: normally, you shouldn't tick the "form > controls are public" checkbox. Indeed the program seems to not need it at > all. It's the same as having everything be a global variable -- it nullifies > the principle of encapsulation. > > The second thing is to violate the Gambas naming conventions :-) Calling a > thing "Utility" asks for trouble, "mnuUtility" would be fine. > > Regards, > Tobi > Apropos Gambas naming conventions - is it written any place? I see people using h, $ frequently and also i, s and b for integer, string and boolean.Most of these are OK, but I do not fully understand where you normally put the $? From taboege at ...626... Wed Oct 1 23:29:43 2014 From: taboege at ...626... (Tobias Boege) Date: Wed, 1 Oct 2014 23:29:43 +0200 Subject: [Gambas-user] Strange ERROR if "Utility" in Name Menu In-Reply-To: <542C6FBA.6030503@...3323...> References: <1412196944.76639.YahooMailBasic@...3269...> <20141001210832.GC1225@...2774...> <542C6FBA.6030503@...3323...> Message-ID: <20141001212943.GD1225@...2774...> On Wed, 01 Oct 2014, J?rn Erik M?rne wrote: > > Den 01. okt. 2014 23:08, skrev Tobias Boege: > > On Wed, 01 Oct 2014, Ru Vuott wrote: > >> Hello, > >> > >> our friend of italian Gambas forum posted an his project, where a strange error is raised if the "Name" of Menu is "Utility"... > >> > >> Your opinion ? > >> > >> His project here attached (look at the "Name" of "Menu5" inside !) > >> > > This is because the menu name is "Utility" and the project options say that > > "form controls are public". > > > > So what happens is: the compiler creates public variables in the form which > > have the name of the controls in the form (I guess), so that the programmer > > can write FMain.myMenu to access their menu control. But Utility is actually > > a boolean property of the Form class already from which FMain inherits, so > > the not-so-strange "incorrectly overridden" error is raised. > > > > Our friend did two things wrong here: normally, you shouldn't tick the "form > > controls are public" checkbox. Indeed the program seems to not need it at > > all. It's the same as having everything be a global variable -- it nullifies > > the principle of encapsulation. > > > > The second thing is to violate the Gambas naming conventions :-) Calling a > > thing "Utility" asks for trouble, "mnuUtility" would be fine. > > > > Regards, > > Tobi > > > Apropos Gambas naming conventions - is it written any place? I see > people using h, $ frequently and also i, s and b for integer, string and > boolean.Most of these are OK, but I do not fully understand where you > normally put the $? > They are here: [0]. There is a note at the end of the page which is quite important. The Gambas IDE is the single definitive reference if you really want to have an overview of all (or some) of the prefixes for graphical controls. I tend to forget these prefixes regularly and use slightly different ones (whatever sounds right). I guess nobody is expected to dive into the IDE to look up the correct prefix for a control :-) [0] http://gambaswiki.org/wiki/doc/naming -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From epost at ...3323... Wed Oct 1 23:48:44 2014 From: epost at ...3323... (=?windows-1252?Q?J=F8rn_Erik_M=F8rne?=) Date: Wed, 01 Oct 2014 23:48:44 +0200 Subject: [Gambas-user] Strange ERROR if "Utility" in Name Menu In-Reply-To: <20141001212943.GD1225@...2774...> References: <1412196944.76639.YahooMailBasic@...3269...> <20141001210832.GC1225@...2774...> <542C6FBA.6030503@...3323...> <20141001212943.GD1225@...2774...> Message-ID: <542C76BC.5030903@...3323...> Den 01. okt. 2014 23:29, skrev Tobias Boege: > On Wed, 01 Oct 2014, J?rn Erik M?rne wrote: >> Den 01. okt. 2014 23:08, skrev Tobias Boege: >>> On Wed, 01 Oct 2014, Ru Vuott wrote: >>>> Hello, >>>> >>>> our friend of italian Gambas forum posted an his project, where a strange error is raised if the "Name" of Menu is "Utility"... >>>> >>>> Your opinion ? >>>> >>>> His project here attached (look at the "Name" of "Menu5" inside !) >>>> >>> This is because the menu name is "Utility" and the project options say that >>> "form controls are public". >>> >>> So what happens is: the compiler creates public variables in the form which >>> have the name of the controls in the form (I guess), so that the programmer >>> can write FMain.myMenu to access their menu control. But Utility is actually >>> a boolean property of the Form class already from which FMain inherits, so >>> the not-so-strange "incorrectly overridden" error is raised. >>> >>> Our friend did two things wrong here: normally, you shouldn't tick the "form >>> controls are public" checkbox. Indeed the program seems to not need it at >>> all. It's the same as having everything be a global variable -- it nullifies >>> the principle of encapsulation. >>> >>> The second thing is to violate the Gambas naming conventions :-) Calling a >>> thing "Utility" asks for trouble, "mnuUtility" would be fine. >>> >>> Regards, >>> Tobi >>> >> Apropos Gambas naming conventions - is it written any place? I see >> people using h, $ frequently and also i, s and b for integer, string and >> boolean.Most of these are OK, but I do not fully understand where you >> normally put the $? >> > They are here: [0]. There is a note at the end of the page which is quite > important. The Gambas IDE is the single definitive reference if you really > want to have an overview of all (or some) of the prefixes for graphical > controls. I tend to forget these prefixes regularly and use slightly > different ones (whatever sounds right). I guess nobody is expected to dive > into the IDE to look up the correct prefix for a control :-) > > [0] http://gambaswiki.org/wiki/doc/naming > Danke mein Herr :) From adamnt42 at ...626... Thu Oct 2 00:43:34 2014 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Thu, 2 Oct 2014 08:13:34 +0930 Subject: [Gambas-user] Strange ERROR if "Utility" in Name Menu In-Reply-To: <20141001212943.GD1225@...2774...> References: <1412196944.76639.YahooMailBasic@...3269...> <20141001210832.GC1225@...2774...> <542C6FBA.6030503@...3323...> <20141001212943.GD1225@...2774...> Message-ID: <20141002081334.e0fe3ed622e507bbf03650bc@...626...> On Wed, 1 Oct 2014 23:29:43 +0200 Tobias Boege wrote: > > They are here: [0]. There is a note at the end of the page which is quite > important. The Gambas IDE is the single definitive reference if you really > want to have an overview of all (or some) of the prefixes for graphical > controls. > I tend to forget these prefixes regularly and use slightly > different ones (whatever sounds right). I guess nobody is expected to dive > into the IDE to look up the correct prefix for a control :-) You and me too! :-) > > [0] http://gambaswiki.org/wiki/doc/naming > Actually it would be quite nice if the IDE were to default control names to the "acceptable" prefixes rather than the control name. For example "grd1" rather than "GridView1" etc. (hint! :-) ) regards Bruce -- B Bruen From jussi.lahtinen at ...626... Thu Oct 2 00:50:22 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 2 Oct 2014 01:50:22 +0300 Subject: [Gambas-user] Strange ERROR if "Utility" in Name Menu In-Reply-To: <20141002081334.e0fe3ed622e507bbf03650bc@...626...> References: <1412196944.76639.YahooMailBasic@...3269...> <20141001210832.GC1225@...2774...> <542C6FBA.6030503@...3323...> <20141001212943.GD1225@...2774...> <20141002081334.e0fe3ed622e507bbf03650bc@...626...> Message-ID: > > [0] http://gambaswiki.org/wiki/doc/naming > > > Actually it would be quite nice if the IDE were to default control names > to the "acceptable" prefixes rather than the control name. For example > "grd1" rather than "GridView1" etc. > Not necessarily good idea as default, but good idea as option. Since some people use Gambas also for quick prototyping and then names like "GridView1" are much handier, than trying to remember what the official prefix was. Jussi From vuott at ...325... Thu Oct 2 01:33:26 2014 From: vuott at ...325... (Ru Vuott) Date: Thu, 2 Oct 2014 00:33:26 +0100 Subject: [Gambas-user] Strange ERROR if "Utility" in Name Menu In-Reply-To: <20141001210832.GC1225@...2774...> Message-ID: <1412206406.31070.YahooMailBasic@...3271...> Thank you, friends. I communicated your answers to our member. Best regards vuott -------------------------------------------- Mer 1/10/14, Tobias Boege ha scritto: Oggetto: Re: [Gambas-user] Strange ERROR if "Utility" in Name Menu A: "mailing list for gambas users" Data: Mercoled? 1 ottobre 2014, 23:08 On Wed, 01 Oct 2014, Ru Vuott wrote: > Hello, > > our friend of italian Gambas forum posted an his project, where a strange error is raised if the "Name" of Menu is "Utility"... > > Your opinion ? > > His project here attached? (look at the "Name" of "Menu5" inside !) > This is because the menu name is "Utility" and the project options say that "form controls are public". So what happens is: the compiler creates public variables in the form which have the name of the controls in the form (I guess), so that the programmer can write FMain.myMenu to access their menu control. But Utility is actually a boolean property of the Form class already from which FMain inherits, so the not-so-strange "incorrectly overridden" error is raised. Our friend did two things wrong here: normally, you shouldn't tick the "form controls are public" checkbox. Indeed the program seems to not need it at all. It's the same as having everything be a global variable -- it nullifies the principle of encapsulation. The second thing is to violate the Gambas naming conventions :-) Calling a thing "Utility" asks for trouble, "mnuUtility" would be fine. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From eilert-sprachen at ...221... Thu Oct 2 10:22:21 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 02 Oct 2014 10:22:21 +0200 Subject: [Gambas-user] TextArea Pop-up Menu on right click In-Reply-To: <20140930224005.f80431aced162daf5767cd4f@...2308...> References: <542A70F8.50908@...221...> <20140930224005.f80431aced162daf5767cd4f@...2308...> Message-ID: <542D0B3D.8080100@...221...> Am 30.09.2014 15:10, schrieb B Bruen: > On Tue, 30 Sep 2014 10:59:36 +0200 > Rolf-Werner Eilert wrote: > >> Hi, >> >> TextArea produces a pop-up menu when right-clicking on it. What can I do >> to get rid of this behavious, i. e. when I do not want the user to be >> able to manipulate the text via the pop-up menu? >> >> Thanks for your ideas! >> >> Rolf >> >> > Something like > > Public Sub Form_Open() > > TextArea1.PopupMenu = "mnuDummy" > > End > > (where mnuDummy does not exist) seems to work > > hth > B > Unfortunately, not here. When you point to a menu that does not exist, the standard popup (Insert, Copy, Paste etc.) appears. Rolf From eilert-sprachen at ...221... Thu Oct 2 10:37:41 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 02 Oct 2014 10:37:41 +0200 Subject: [Gambas-user] MyPrinter.configure() values Message-ID: <542D0ED5.1090600@...221...> When I call MyPrinter.Configure() I can set e. g. the margins for the pages. Where can I read / write the values of the dialogue from code? Rolf From bbruen at ...2308... Thu Oct 2 11:36:47 2014 From: bbruen at ...2308... (B Bruen) Date: Thu, 2 Oct 2014 19:06:47 +0930 Subject: [Gambas-user] TextArea Pop-up Menu on right click In-Reply-To: <542D0B3D.8080100@...221...> References: <542A70F8.50908@...221...> <20140930224005.f80431aced162daf5767cd4f@...2308...> <542D0B3D.8080100@...221...> Message-ID: <20141002190647.2e5c727d6a0e4390d66d1fe5@...2308...> On Thu, 02 Oct 2014 10:22:21 +0200 Rolf-Werner Eilert wrote: > > > Am 30.09.2014 15:10, schrieb B Bruen: > > On Tue, 30 Sep 2014 10:59:36 +0200 > > Rolf-Werner Eilert wrote: > > > >> Hi, > >> > >> TextArea produces a pop-up menu when right-clicking on it. What can I do > >> to get rid of this behavious, i. e. when I do not want the user to be > >> able to manipulate the text via the pop-up menu? > >> > >> Thanks for your ideas! > >> > >> Rolf > >> > >> > > Something like > > > > Public Sub Form_Open() > > > > TextArea1.PopupMenu = "mnuDummy" > > > > End > > > > (where mnuDummy does not exist) seems to work > > > > hth > > B > > > > Unfortunately, not here. When you point to a menu that does not exist, > the standard popup (Insert, Copy, Paste etc.) appears. > > Rolf > hmmm, how odd? I tried Benoit's suggestion of using the Menu event* and in that case here the standard popup menu still occurs??? *Public Sub TextArea1_Menu() Stop Event End I am using gb.qt4, what gui are you using? B -- B Bruen From gambas at ...2524... Thu Oct 2 12:44:53 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 02 Oct 2014 10:44:53 +0000 Subject: [Gambas-user] Issue 565 in gambas: Add in preferences settings criterion for automated control names Message-ID: <0-6813199134517018827-3778231191627625541-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-TRUNK Type-Enhancement Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 565 by torredel... at ...626...: Add in preferences settings criterion for automated control names https://code.google.com/p/gambas/issues/detail?id=565 You could add in setup preferences ide gambas3, an option for the controls that you create new ones, can be automatically appointed following criteria http://gambaswiki.org/wiki/doc/naming -- 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 eilert-sprachen at ...221... Thu Oct 2 15:36:18 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 02 Oct 2014 15:36:18 +0200 Subject: [Gambas-user] TextArea Pop-up Menu on right click In-Reply-To: <542AB021.7090107@...1...> References: <542A70F8.50908@...221...> <542AB021.7090107@...1...> Message-ID: <542D54D2.3090308@...221...> Am 30.09.2014 15:29, schrieb Beno?t Minisini: > Le 30/09/2014 10:59, Rolf-Werner Eilert a ?crit : >> Hi, >> >> TextArea produces a pop-up menu when right-clicking on it. What can I do >> to get rid of this behavious, i. e. when I do not want the user to be >> able to manipulate the text via the pop-up menu? >> >> Thanks for your ideas! >> >> Rolf >> > > Either set the "PopupMenu" property, or implement the "Menu" event handler. > > Regards, > Hi Benoit, I tried both but to no avail. Even if I give an existing menu, the standard menu (with Paste and Copy) will pop up. And it is this menu I would like to avoid (because the students use it to fleece the teacher) ;) Rolf From sotema at ...626... Thu Oct 2 16:11:29 2014 From: sotema at ...626... (Emanuele Sottocorno) Date: Thu, 02 Oct 2014 16:11:29 +0200 Subject: [Gambas-user] TextArea Pop-up Menu on right click In-Reply-To: <542A70F8.50908@...221...> References: <542A70F8.50908@...221...> Message-ID: <542D5D11.3010008@...626...> Il 30/09/2014 10:59, Rolf-Werner Eilert ha scritto: > Hi, > > TextArea produces a pop-up menu when right-clicking on it. What can I do > to get rid of this behavious, i. e. when I do not want the user to be > able to manipulate the text via the pop-up menu? > > Thanks for your ideas! > > Rolf > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user If the users don't need to interact with it, just set the property Enabled to False. From gambas at ...1... Thu Oct 2 16:27:44 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 02 Oct 2014 16:27:44 +0200 Subject: [Gambas-user] TextArea Pop-up Menu on right click In-Reply-To: <542D54D2.3090308@...221...> References: <542A70F8.50908@...221...> <542AB021.7090107@...1...> <542D54D2.3090308@...221...> Message-ID: <542D60E0.2040006@...1...> Le 02/10/2014 15:36, Rolf-Werner Eilert a ?crit : > > > Am 30.09.2014 15:29, schrieb Beno?t Minisini: >> Le 30/09/2014 10:59, Rolf-Werner Eilert a ?crit : >>> Hi, >>> >>> TextArea produces a pop-up menu when right-clicking on it. What can I do >>> to get rid of this behavious, i. e. when I do not want the user to be >>> able to manipulate the text via the pop-up menu? >>> >>> Thanks for your ideas! >>> >>> Rolf >>> >> >> Either set the "PopupMenu" property, or implement the "Menu" event handler. >> >> Regards, >> > > Hi Benoit, I tried both but to no avail. Even if I give an existing > menu, the standard menu (with Paste and Copy) will pop up. And it is > this menu I would like to avoid (because the students use it to fleece > the teacher) ;) > > Rolf > Sorry, I told you what I wanted to achieve with the 'Menu' event handler. But by looking at the code, I see that it does not behave correctly, and it does not even behave the same between gb.qt4 and gb.gtk. I will fix that for 3.6. As for PopupMenu, it works for me provided that you don't implement the Menu event handler! Regards, -- Beno?t Minisini From shordi at ...626... Thu Oct 2 20:10:47 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Thu, 2 Oct 2014 20:10:47 +0200 Subject: [Gambas-user] Constant order to process in component creation Message-ID: I'm creating a new component that appears fine in the IDE. But I have a problem: There is a property who triggers a method when is implemented but it needs another property for work and this property is processed after the first one by the IDE The properties appears in the IDE in alphabetical order, but I don't know what marks the order of processing in execution time. There is a form to say the compilator that should process (I mean to trigger the write() method of the property) a property before another? Thanks. From gambas at ...1... Thu Oct 2 20:25:02 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 02 Oct 2014 20:25:02 +0200 Subject: [Gambas-user] MyPrinter.configure() values In-Reply-To: <542D0ED5.1090600@...221...> References: <542D0ED5.1090600@...221...> Message-ID: <542D987E.8060202@...1...> Le 02/10/2014 10:37, Rolf-Werner Eilert a ?crit : > When I call MyPrinter.Configure() I can set e. g. the margins for the pages. > > Where can I read / write the values of the dialogue from code? > > Rolf > At the moment you can't, but by using the FullPage property, you can choose between drawing on the full page and drawing inside the margins (i.e. the painting area is the full page during the Draw event handler if FullPage is TRUE, and is the page inside the margins if FullPage is FALSE). Regards, -- Beno?t Minisini From taboege at ...626... Thu Oct 2 21:05:32 2014 From: taboege at ...626... (Tobias Boege) Date: Thu, 2 Oct 2014 21:05:32 +0200 Subject: [Gambas-user] Constant order to process in component creation In-Reply-To: References: Message-ID: <20141002190532.GD691@...2774...> On Thu, 02 Oct 2014, Jorge Carri??n wrote: > I'm creating a new component that appears fine in the IDE. > But I have a problem: > > There is a property who triggers a method when is implemented but it needs > another property for work and this property is processed after the first > one by the IDE > The properties appears in the IDE in alphabetical order, but I don't know > what marks the order of processing in execution time. > > There is a form to say the compilator that should process (I mean to > trigger the write() method of the property) a property before another? > I don't understand. Can you show some code or draw a diagram to tell us what you want? Specifically: what do you mean by "processing" properties (what has the IDE to do with it?) and their "order of processing in execution time"? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From charlie at ...2793... Thu Oct 2 22:37:06 2014 From: charlie at ...2793... (Charlie) Date: Thu, 2 Oct 2014 20:37:06 +0000 (UTC) Subject: [Gambas-user] ERROR when I put a GridView on the Form References: <1412189855.75710.YahooMailBasic@...3269...> Message-ID: Ru Vuott yahoo.it> writes: > > Hello, > > when I set the GRIDVIEW on the Form an error-notice window is raised: > > *************************************************************************** *** > This application has raised an unexpected error and must abort. > [13] Null object. > ScrollArea.DrawingArea_Draw.417 > *************************************************************************** *** > > I do not understand .... > > Here 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=3953M > [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 > > Regards > vuott > > ------------------------------------------------------------------------- ----- > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://pubads.g.doubleclick.net/gampad/clk? id=154622311&iu=/4140/ostg.clktrk > Hi, I suggest you use the latest stable version of Gambas which is 3.5.4 as the version 3.5.90 is for testing only and is expected to be buggy. Remove your existing ppa, then in Terminal run the following: - sudo apt-get remove --purge gambas3 sudo add-apt-repository ppa:gambas-team/gambas3 sudo apt-get update sudo apt-get install gambas3 Hope that helps. Charlie From shordi at ...626... Thu Oct 2 22:56:29 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Thu, 2 Oct 2014 22:56:29 +0200 Subject: [Gambas-user] Constant order to process in component creation In-Reply-To: <20141002190532.GD691@...2774...> References: <20141002190532.GD691@...2774...> Message-ID: Excuse my poor English. What I mean with "processing properties" is the execution of triggered methods _read and _write of the propertie. What I mean is somenthing like that: Export Inherits TableView Public Const _Properties As String = "*,conexion,sqlstring" Property conexion As Connection Property sqlstring As String Private $conexion As Connection Private $sqlstring As String Public Sub fill_the_grid() $conexion.Exec($sqlstring) ... etc. .... End Public Function conexion_read() As Connection Return $conexion End Public Sub conexion_Write(Value As Connection) $conexion = Value End Public Function sqlstring_read() As String Return $sqlstring End Public Sub sqlstring_write(value As String) $sqlstring = value fill_the_grid() End Both properties, conexion and sqlstring, are filled with its values in the IDE in design time. When run the program, somtimes the sqlstring_write sub is launched before conexion_write() sub. And then, obviously there are a error in $conexion.Exec($sqlstring) line... Some times If I change the size of the form or if I add som controls more to the form, it works fine. There is a way to force the conexion property to be filled before de sqlstring property? Hope this time I've been more clear. Regards 2014-10-02 21:05 GMT+02:00 Tobias Boege : > On Thu, 02 Oct 2014, Jorge Carri??n wrote: > > I'm creating a new component that appears fine in the IDE. > > But I have a problem: > > > > There is a property who triggers a method when is implemented but it > needs > > another property for work and this property is processed after the first > > one by the IDE > > The properties appears in the IDE in alphabetical order, but I don't know > > what marks the order of processing in execution time. > > > > There is a form to say the compilator that should process (I mean to > > trigger the write() method of the property) a property before another? > > > > I don't understand. Can you show some code or draw a diagram to tell us > what > you want? > > Specifically: what do you mean by "processing" properties (what has the IDE > to do with it?) and their "order of processing in execution time"? > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&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... Thu Oct 2 23:18:25 2014 From: taboege at ...626... (Tobias Boege) Date: Thu, 2 Oct 2014 23:18:25 +0200 Subject: [Gambas-user] Constant order to process in component creation In-Reply-To: References: <20141002190532.GD691@...2774...> Message-ID: <20141002211825.GE691@...2774...> On Thu, 02 Oct 2014, Jorge Carri??n wrote: > Excuse my poor English. What I mean with "processing properties" is the > execution of triggered methods _read and _write of the propertie. > What I mean is somenthing like that: > > Export > > Inherits TableView > > Public Const _Properties As String = "*,conexion,sqlstring" > > Property conexion As Connection > Property sqlstring As String > > Private $conexion As Connection > Private $sqlstring As String > > Public Sub fill_the_grid() > > $conexion.Exec($sqlstring) > ... > etc. > .... > > End > > Public Function conexion_read() As Connection > > Return $conexion > > End > Public Sub conexion_Write(Value As Connection) > > $conexion = Value > > End > > Public Function sqlstring_read() As String > > Return $sqlstring > > End > Public Sub sqlstring_write(value As String) > > $sqlstring = value > fill_the_grid() > > End > > > Both properties, conexion and sqlstring, are filled with its values in the > IDE in design time. > When run the program, somtimes the sqlstring_write sub is launched before > conexion_write() sub. And then, obviously there are a error in > $conexion.Exec($sqlstring) line... > Some times If I change the size of the form or if I add som controls more > to the form, it works fine. > > There is a way to force the conexion property to be filled before de > sqlstring property? > > Hope this time I've been more clear. > Yes, it was. (Let me make a quick note on vocabulary here before I proceed: you said you programmed a "component" but "component" in the narrower sense around Gambas means a sort of shared library (the gb.* things you link to your project, like gb.qt4). Your class above _may_ be part of a component but you are actually talking about what we normally call a "control", i.e. a class which can be put on a graphical form. I know people who call both things "component" but this often leads to confusion. And your question revolves around that single class, and whether it's part of a component is irrelevant here. Remember the 4 C's: classes, controls, components and confusion :-)) About your question: If I was you, I wouldn't want to rely on a specific order of execution. What if the user sets conexion = Null *mid-execution*? You need to handle the case $conexion = Null in your fill_the_grid(): Public Sub fill_the_grid() If Not $conexion Or If Not $conexion.Opened Then Return ' Do nothing $conexion.Exec($sqlstring) ' etc. End Similarly, maybe $sqlstring should get a sensible default value since IIRC an empty Exec() also throws an error. Does this help you? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Thu Oct 2 23:39:23 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 02 Oct 2014 23:39:23 +0200 Subject: [Gambas-user] ERROR when I put a GridView on the Form In-Reply-To: <1412189855.75710.YahooMailBasic@...3269...> References: <1412189855.75710.YahooMailBasic@...3269...> Message-ID: <542DC60B.20104@...1...> Le 01/10/2014 20:57, Ru Vuott a ?crit : > Hello, > > when I set the GRIDVIEW on the Form an error-notice window is raised: > > ****************************************************************************** > This application has raised an unexpected error and must abort. > [13] Null object. > ScrollArea.DrawingArea_Draw.417 > ****************************************************************************** > > I do not understand .... > > > Here 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=3953M > [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 > > Regards > vuott > Try the latest development version (rev. #6518) and tell me if it works for you. Regards, -- Beno?t Minisini From gambas at ...1... Thu Oct 2 23:39:52 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 02 Oct 2014 23:39:52 +0200 Subject: [Gambas-user] Screenshots gambas.sourceforge.net 404 In-Reply-To: <542BA37A.4030007@...3340...> References: <542BA37A.4030007@...3340...> Message-ID: <542DC628.7050405@...1...> Le 01/10/2014 08:47, Christof Thalhofer a ?crit : > Hi, > > all links to screenshots in > http://gambas.sourceforge.net/en/main.html > point to nonexisting files. > > Alles Gute > > Christof Thalhofer > It works for me. -- Beno?t Minisini From gambas at ...1... Thu Oct 2 23:42:48 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 02 Oct 2014 23:42:48 +0200 Subject: [Gambas-user] Constant order to process in component creation In-Reply-To: <20141002211825.GE691@...2774...> References: <20141002190532.GD691@...2774...> <20141002211825.GE691@...2774...> Message-ID: <542DC6D8.4020308@...1...> Le 02/10/2014 23:18, Tobias Boege a ?crit : > On Thu, 02 Oct 2014, Jorge Carri??n wrote: > ... Yep. You can't rely on property initialization order, this is a bug in your code if you do that. The properties of a control must be "set-able" in any order. If your control requires that at least two or more properties must be set to run correctly, you have to check that in your code each time on of those properties is set. Regards, -- Beno?t Minisini From shordi at ...626... Thu Oct 2 23:42:48 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Thu, 2 Oct 2014 23:42:48 +0200 Subject: [Gambas-user] Constant order to process in component creation In-Reply-To: <20141002211825.GE691@...2774...> References: <20141002190532.GD691@...2774...> <20141002211825.GE691@...2774...> Message-ID: >Does this help you? Yes Tobi it's helpfull. >About your question: If I was you, I wouldn't want to rely on a specific >order of execution. What if the user sets conexion = Null *mid-execution*? >You need to handle the case $conexion = Null in your fill_the_grid(): Usually I allways set the code for handling the exceptions of bad use of users but, since this time the values of properties are set in design time, I think that shoulden't be necessary control errors in execution time... But you are right. I must control that user change the value by code (or lost the database or something like that). Thank you very much. Regards 2014-10-02 23:18 GMT+02:00 Tobias Boege : > On Thu, 02 Oct 2014, Jorge Carri??n wrote: > > Excuse my poor English. What I mean with "processing properties" is the > > execution of triggered methods _read and _write of the propertie. > > What I mean is somenthing like that: > > > > Export > > > > Inherits TableView > > > > Public Const _Properties As String = "*,conexion,sqlstring" > > > > Property conexion As Connection > > Property sqlstring As String > > > > Private $conexion As Connection > > Private $sqlstring As String > > > > Public Sub fill_the_grid() > > > > $conexion.Exec($sqlstring) > > ... > > etc. > > .... > > > > End > > > > Public Function conexion_read() As Connection > > > > Return $conexion > > > > End > > Public Sub conexion_Write(Value As Connection) > > > > $conexion = Value > > > > End > > > > Public Function sqlstring_read() As String > > > > Return $sqlstring > > > > End > > Public Sub sqlstring_write(value As String) > > > > $sqlstring = value > > fill_the_grid() > > > > End > > > > > > Both properties, conexion and sqlstring, are filled with its values in > the > > IDE in design time. > > When run the program, somtimes the sqlstring_write sub is launched before > > conexion_write() sub. And then, obviously there are a error in > > $conexion.Exec($sqlstring) line... > > Some times If I change the size of the form or if I add som controls more > > to the form, it works fine. > > > > There is a way to force the conexion property to be filled before de > > sqlstring property? > > > > Hope this time I've been more clear. > > > > Yes, it was. (Let me make a quick note on vocabulary here before I proceed: > you said you programmed a "component" but "component" in the narrower sense > around Gambas means a sort of shared library (the gb.* things you link to > your project, like gb.qt4). Your class above _may_ be part of a component > but you are actually talking about what we normally call a "control", i.e. > a class which can be put on a graphical form. I know people who call both > things "component" but this often leads to confusion. And your question > revolves around that single class, and whether it's part of a component is > irrelevant here. Remember the 4 C's: classes, controls, components and > confusion :-)) > > About your question: If I was you, I wouldn't want to rely on a specific > order of execution. What if the user sets conexion = Null *mid-execution*? > You need to handle the case $conexion = Null in your fill_the_grid(): > > Public Sub fill_the_grid() > If Not $conexion Or If Not $conexion.Opened Then Return ' Do nothing > $conexion.Exec($sqlstring) > ' etc. > End > > Similarly, maybe $sqlstring should get a sensible default value since IIRC > an empty Exec() also throws an error. > > Does this help you? > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&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... Fri Oct 3 00:43:37 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Fri, 3 Oct 2014 00:43:37 +0200 Subject: [Gambas-user] Constant order to process in component creation In-Reply-To: <542DC6D8.4020308@...1...> References: <20141002190532.GD691@...2774...> <20141002211825.GE691@...2774...> <542DC6D8.4020308@...1...> Message-ID: Ok. Thanks a lot, Benoit. Regards 2014-10-02 23:42 GMT+02:00 Beno?t Minisini : > Le 02/10/2014 23:18, Tobias Boege a ?crit : > > On Thu, 02 Oct 2014, Jorge Carri??n wrote: > > ... > > Yep. You can't rely on property initialization order, this is a bug in > your code if you do that. > > The properties of a control must be "set-able" in any order. If your > control requires that at least two or more properties must be set to run > correctly, you have to check that in your code each time on of those > properties is set. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From vuott at ...325... Fri Oct 3 01:14:26 2014 From: vuott at ...325... (Ru Vuott) Date: Fri, 3 Oct 2014 00:14:26 +0100 Subject: [Gambas-user] ERROR when I put a GridView on the Form In-Reply-To: <542DC60B.20104@...1...> Message-ID: <1412291666.53503.YahooMailBasic@...3269...> Ooook, Beno?t, now it works. Bye vuott -------------------------------------------- Gio 2/10/14, Beno?t Minisini ha scritto: Oggetto: Re: [Gambas-user] ERROR when I put a GridView on the Form A: "mailing list for gambas users" Data: Gioved? 2 ottobre 2014, 23:39 Le 01/10/2014 20:57, Ru Vuott a ?crit : > Hello, > > when I set the GRIDVIEW on the Form an error-notice window is raised: > > ****************************************************************************** >???This application has raised an unexpected error and must abort. >? ? [13] Null object. >? ? ScrollArea.DrawingArea_Draw.417 > ****************************************************************************** > > I do not understand .... > > > Here 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=3953M > [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 > > Regards > vuott > Try the latest development version (rev. #6518) and tell me if it works for you. Regards, -- Beno?t Minisini ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From mckaygerhard at ...626... Fri Oct 3 01:56:35 2014 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Thu, 2 Oct 2014 19:26:35 -0430 Subject: [Gambas-user] Screenshots gambas.sourceforge.net 404 Message-ID: i'm confirme too... i'm try to load a wiki page (odbc related how to) and the picture examples are not loaded Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From gambas at ...1... Fri Oct 3 02:25:11 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 03 Oct 2014 02:25:11 +0200 Subject: [Gambas-user] Screenshots gambas.sourceforge.net 404 In-Reply-To: References: Message-ID: <542DECE7.20308@...1...> Le 03/10/2014 01:56, PICCORO McKAY Lenz a ?crit : > i'm confirme too... > > i'm try to load a wiki page (odbc related how to) and the picture examples > are not loaded > We were talking about screenshots from gambas.sourceforge.net, not the ODBC page of the wiki. -- Beno?t Minisini From bbruen at ...2308... Fri Oct 3 04:47:39 2014 From: bbruen at ...2308... (B Bruen) Date: Fri, 3 Oct 2014 12:17:39 +0930 Subject: [Gambas-user] TextArea Pop-up Menu on right click In-Reply-To: <542D60E0.2040006@...1...> References: <542A70F8.50908@...221...> <542AB021.7090107@...1...> <542D54D2.3090308@...221...> <542D60E0.2040006@...1...> Message-ID: <20141003121739.2d92041232814dfe5b4e9baf@...2308...> On Thu, 02 Oct 2014 16:27:44 +0200 Beno?t Minisini wrote: > Le 02/10/2014 15:36, Rolf-Werner Eilert a ?crit : > > > > > > Am 30.09.2014 15:29, schrieb Beno?t Minisini: > >> Le 30/09/2014 10:59, Rolf-Werner Eilert a ?crit : > >>> Hi, > >>> > >>> TextArea produces a pop-up menu when right-clicking on it. What can I do > >>> to get rid of this behavious, i. e. when I do not want the user to be > >>> able to manipulate the text via the pop-up menu? > >>> > >>> Thanks for your ideas! > >>> > >>> Rolf > >>> > >> > >> Either set the "PopupMenu" property, or implement the "Menu" event handler. > >> > >> Regards, > >> > > > > Hi Benoit, I tried both but to no avail. Even if I give an existing > > menu, the standard menu (with Paste and Copy) will pop up. And it is > > this menu I would like to avoid (because the students use it to fleece > > the teacher) ;) > > > > Rolf > > > > Sorry, I told you what I wanted to achieve with the 'Menu' event > handler. But by looking at the code, I see that it does not behave > correctly, and it does not even behave the same between gb.qt4 and gb.gtk. > > I will fix that for 3.6. > > As for PopupMenu, it works for me provided that you don't implement the > Menu event handler! > > Regards, > > -- > Beno?t Minisini > Hi Beno?t, I'd just like to confirm your intentions here. As far as I know, under QT4, I have used that "non-existent menu" trick quite few times. I confirm (again under QT4) that a) setting the control popup-menu name to a non-existent menu kills the standard popup, unless b) I implement a MyControl_Menu method with STOP EVENT. In which case c) the standard menu appears. (even if the control has a popup menu name ???) To me there is three options: 1) status quo, if the menu does not exist, nothing happens 2) fix the STOP EVENT issue 3) make the "standard menu" visible in the IDE somehow. Of these, I'd obviously prefer 1. But presumably this would mean fixing QTx?? (But I dont care about that) 2 would require a fair bit of work on my part. 3 I dont even want to think about. So, which way? (or is there other ways?) regards Bruce -- B Bruen From chrisml at ...3340... Fri Oct 3 06:54:28 2014 From: chrisml at ...3340... (Christof Thalhofer) Date: Fri, 03 Oct 2014 06:54:28 +0200 Subject: [Gambas-user] Screenshots gambas.sourceforge.net 404 In-Reply-To: <542DC628.7050405@...1...> (sfid-) References: <542BA37A.4030007@...3340...> <542DC628.7050405@...1...> (sfid-) Message-ID: <542E2C04.5080608@...3340...> Hi Beno?t, Am 02.10.2014 um 23:39 schrieb Beno?t Minisini: >> all links to screenshots in >> http://gambas.sourceforge.net/en/main.html >> point to nonexisting files. > > It works for me. Yes, now it's ok. Strange ... maybe that was a proxy problem with that frame. But now I'm seeing another issue: http://gambas.sourceforge.net/en/main.html has no scrollbar on the right. I'm seeing this with Firefox unter Ubuntu 14.04. Look at the screenshot. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-site.jpg Type: image/jpeg Size: 56197 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From taboege at ...626... Fri Oct 3 12:49:05 2014 From: taboege at ...626... (Tobias Boege) Date: Fri, 3 Oct 2014 12:49:05 +0200 Subject: [Gambas-user] Screenshots gambas.sourceforge.net 404 In-Reply-To: <542E2C04.5080608@...3340...> References: <542BA37A.4030007@...3340...> <542DC628.7050405@...1...> <542E2C04.5080608@...3340...> Message-ID: <20141003104905.GA777@...2774...> On Fri, 03 Oct 2014, Christof Thalhofer wrote: > Hi Beno??t, > > Am 02.10.2014 um 23:39 schrieb Beno??t Minisini: > > >> all links to screenshots in > >> http://gambas.sourceforge.net/en/main.html > >> point to nonexisting files. > > > > It works for me. > > Yes, now it's ok. Strange ... maybe that was a proxy problem with that > frame. But now I'm seeing another issue: > > http://gambas.sourceforge.net/en/main.html > > has no scrollbar on the right. I'm seeing this with Firefox unter Ubuntu > 14.04. Look at the screenshot. > Did it have scrollbars with other configurations? Actually, the page is intended to have no scrollbars and just fade out to the end of the screen. (This is a bit unfortunate for the left frame which contains the navigation, though.) Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Fri Oct 3 14:17:22 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 03 Oct 2014 14:17:22 +0200 Subject: [Gambas-user] Screenshots gambas.sourceforge.net 404 In-Reply-To: <20141003104905.GA777@...2774...> References: <542BA37A.4030007@...3340...> <542DC628.7050405@...1...> <542E2C04.5080608@...3340...> <20141003104905.GA777@...2774...> Message-ID: <542E93D2.3040700@...1...> Le 03/10/2014 12:49, Tobias Boege a ?crit : > On Fri, 03 Oct 2014, Christof Thalhofer wrote: >> Hi Beno??t, >> >> Am 02.10.2014 um 23:39 schrieb Beno??t Minisini: >> >>>> all links to screenshots in >>>> http://gambas.sourceforge.net/en/main.html >>>> point to nonexisting files. >>> >>> It works for me. >> >> Yes, now it's ok. Strange ... maybe that was a proxy problem with that >> frame. But now I'm seeing another issue: >> >> http://gambas.sourceforge.net/en/main.html >> >> has no scrollbar on the right. I'm seeing this with Firefox unter Ubuntu >> 14.04. Look at the screenshot. >> > > Did it have scrollbars with other configurations? > > Actually, the page is intended to have no scrollbars and just fade out to > the end of the screen. (This is a bit unfortunate for the left frame which > contains the navigation, though.) > > Regards, > Tobi > Yep. I'm not a terrible web site maker... :-) -- Beno?t Minisini From chrisml at ...3340... Fri Oct 3 23:33:40 2014 From: chrisml at ...3340... (Christof Thalhofer) Date: Fri, 03 Oct 2014 23:33:40 +0200 Subject: [Gambas-user] Screenshots gambas.sourceforge.net 404 In-Reply-To: <20141003104905.GA777@...2774...> (sfid-) References: <542BA37A.4030007@...3340...> <542DC628.7050405@...1...> <542E2C04.5080608@...3340...> <20141003104905.GA777@...2774...> (sfid-) Message-ID: <542F1634.80008@...3340...> Am 03.10.2014 um 12:49 schrieb Tobias Boege: > Did it have scrollbars with other configurations? I do not know. I missed them. ;-) > Actually, the page is intended to have no scrollbars and just fade out to > the end of the screen. (This is a bit unfortunate for the left frame which > contains the navigation, though.) Also I am not able to scroll with mouse wheel, instead have to click inside the right frame and use arrow keys to scroll. But one has to figure out that the page has to offer something underneath which is only available by a ... hmm ... interesting procedure. Also Frames are really outdated. Nearly no way to copy the real URL. But I think that is all not so very important. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From bbruen at ...2308... Sat Oct 4 01:43:11 2014 From: bbruen at ...2308... (B Bruen) Date: Sat, 4 Oct 2014 09:13:11 +0930 Subject: [Gambas-user] IDE Feature request Message-ID: <20141004091311.8205572fcef045e4d998d9d2@...2308...> When an untrapped error occurs running a project within the IDE the program pauses and the error message appears in the code editor as a popup at the significant line. Would it be possible for the IDE to somehow copy that message to the clipboard? regards Bruce -- B Bruen From bill-lancaster at ...2231... Sat Oct 4 09:22:59 2014 From: bill-lancaster at ...2231... (bill-lancaster) Date: Sat, 4 Oct 2014 00:22:59 -0700 (MST) Subject: [Gambas-user] Tableview behaviour Message-ID: <1412407379549-48583.post@...3046...> The attached example has a tableview with values in column 0, click on one of those values and it goes into column 1. Alternatively a new value may be entered in column 1. It all works fine but the return key causes unwanted data in column 1. Where am I going wrong? TableviewExample.gz -- View this message in context: http://gambas.8142.n7.nabble.com/Tableview-behaviour-tp48583.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...2524... Sat Oct 4 14:35:25 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 04 Oct 2014 12:35:25 +0000 Subject: [Gambas-user] Issue 566 in gambas: Gambas terminates string with '<' character (ASCII 60) Message-ID: <0-6813199134517018827-2306875528578825012-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-3.4.0 Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 566 by kbezdzic... at ...626...: Gambas terminates string with '<' character (ASCII 60) https://code.google.com/p/gambas/issues/detail?id=566 1) When I try to use '<' character in strings, GAMBAS terminates strings in place of first use of this character. 2) Environment: [System] OperatingSystem=Linux Kernel=3.2.0-48-generic-pae Architecture=x86 Distribution=Ubuntu 12.04.2 LTS Desktop=GNOME Theme=QGtk Language=pl_PL.UTF-8 Memory=7942M [Libraries] 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.1 SDL=libSDL-1.2.so.0.11.3 3) Sample code: Message.Info("test References: <542A70F8.50908@...221...> <542AB021.7090107@...1...> <542D54D2.3090308@...221...> <542D60E0.2040006@...1...> <20141003121739.2d92041232814dfe5b4e9baf@...2308...> Message-ID: <542FF1AB.5020200@...1...> Le 03/10/2014 04:47, B Bruen a ?crit : > > Hi Beno?t, > > I'd just like to confirm your intentions here. > > As far as I know, under QT4, I have used that "non-existent menu" > trick quite few times. > > I confirm (again under QT4) that a) setting the control popup-menu > name to a non-existent menu kills the standard popup, unless b) I > implement a MyControl_Menu method with STOP EVENT. In which case c) > the standard menu appears. (even if the control has a popup menu name > ???) > > To me there is three options: 1) status quo, if the menu does not > exist, nothing happens 2) fix the STOP EVENT issue 3) make the > "standard menu" visible in the IDE somehow. > > Of these, I'd obviously prefer 1. But presumably this would mean > fixing QTx?? (But I dont care about that) 2 would require a fair bit > of work on my part. 3 I dont even want to think about. > > So, which way? (or is there other ways?) > > regards Bruce > Here is what I fixed in revision #6519: Now when dealing with a Menu event, the default behaviour of a control is cancelled if: 1) The PopupMenu property is set, even if it is set with a non-existing menu name. 2) Or if the 'Menu' event handler is stopped with STOP EVENT. 3) Or if a popup menu is manually displayed (with the Popup() methid) during the 'Menu' event handler. I think that behaviour is coherent without breaking too much what badly existed before. If there is any problem with that, tell me before I start releasing the 3.6 Regards, -- Beno?t Minisini From vuott at ...325... Sat Oct 4 16:40:54 2014 From: vuott at ...325... (Ru Vuott) Date: Sat, 4 Oct 2014 15:40:54 +0100 Subject: [Gambas-user] Error packets signature Message-ID: <1412433654.16992.YahooMailBasic@...3274...> Hello, our friend, member of italian Gambas forum, tells this problem: the problem concerns the signature of the packets for the following forwarding to launchpad. The compilation works and the packets are regularly created packets: .deb, .orig.tar.gz, .diff.gz, .dsc and .changes He says the packets, unfortunately, are not signed with the "gpg" key, present in the system (but if he does manually by recreating the directories and by giving, the "debuild" works perfectly), and it returns the following error in phase of compilation: *************************************** dh_testdir signfile test_0.0.1-0ubuntu1.dsc gpg: cannot open tty `/dev/tty': Device o indirizzo non esistente dpkg-genchanges >../test_0.0.1-0ubuntu1_i386.changes dpkg-genchanges: not including original source code in upload dpkg-source --after-build test-0.0.1 dpkg-buildpackage: Avviso: failed to sign .dsc and .changes file dpkg-buildpackage: binary and diff upload (original source NOT included) I package sono stati creati in modo corretto. *************************************** Well, how can we help him ? Thanks vuott From gambas at ...2524... Sat Oct 4 16:52:23 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 04 Oct 2014 14:52:23 +0000 Subject: [Gambas-user] Issue 566 in gambas: Gambas terminates string with '<' character (ASCII 60) In-Reply-To: <0-6813199134517018827-2306875528578825012-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-2306875528578825012-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-2306875528578825012-gambas=googlecode.com@...2524...> Updates: Status: Invalid Labels: -Type-Bug -GUI-Any Type-Documentation GUI-GTK Comment #1 on issue 566 by tabo... at ...626...: Gambas terminates string with '<' character (ASCII 60) https://code.google.com/p/gambas/issues/detail?id=566 Did you try: Print "test Message-ID: <1412434593.5908.YahooMailBasic@...3268...> I forgot the informations about his system and Gambas version: [System] Gambas=3.5.4 OperatingSystem=Linux Kernel=3.15.0-pf3-pae Architecture=x86 Distribution=Ubuntu 14.04.1 LTS Desktop=GNOME Theme=QGtk Language=it_IT.UTF-8 Memory=16143M [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 Regards vuott -------------------------------------------- Sab 4/10/14, Ru Vuott ha scritto: Oggetto: [Gambas-user] Error packets signature A: gambas-user at lists.sourceforge.net Data: Sabato 4 ottobre 2014, 16:40 Hello, our friend, member of italian Gambas forum, tells this problem: the problem concerns the signature of the packets for the following forwarding to launchpad. The compilation works and the packets are regularly created packets: .deb, .orig.tar.gz, .diff.gz, .dsc and .changes He says the packets, unfortunately, are not signed with the "gpg" key, present in the system (but if he does manually by recreating the directories and by giving, the "debuild" works perfectly), and it returns the following error in phase of compilation: *************************************** dh_testdir signfile test_0.0.1-0ubuntu1.dsc gpg: cannot open tty `/dev/tty': Device o indirizzo non esistente dpkg-genchanges? >../test_0.0.1-0ubuntu1_i386.changes dpkg-genchanges: not including original source code in upload dpkg-source --after-build test-0.0.1 dpkg-buildpackage: Avviso: failed to sign .dsc and .changes file dpkg-buildpackage: binary and diff upload (original source NOT included) I package sono stati creati in modo corretto. *************************************** Well, how can we help him ? Thanks vuott ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&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... Sat Oct 4 17:12:24 2014 From: taboege at ...626... (Tobias Boege) Date: Sat, 4 Oct 2014 17:12:24 +0200 Subject: [Gambas-user] Feature request: A preview button in the wiki editor Message-ID: <20141004151224.GA674@...2774...> Hi, when I try to update a wiki page, it takes me several (more than I want to admit) tries to get the markup right. For whatever reason. It would be nice, in the favour of cleaner page histories, to have a preview button when editing a page, not only "Save" or "Cancel". Luckily, this can wait until 3.6 is released because very few (if any) care about the wiki source code as long as a good version runs on gambaswiki.org. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Sun Oct 5 17:54:40 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 05 Oct 2014 17:54:40 +0200 Subject: [Gambas-user] Feature request: A preview button in the wiki editor In-Reply-To: <20141004151224.GA674@...2774...> References: <20141004151224.GA674@...2774...> Message-ID: <543169C0.5070301@...1...> Le 04/10/2014 17:12, Tobias Boege a ?crit : > Hi, > > when I try to update a wiki page, it takes me several (more than I want to > admit) tries to get the markup right. For whatever reason. > > It would be nice, in the favour of cleaner page histories, to have a preview > button when editing a page, not only "Save" or "Cancel". > > Luckily, this can wait until 3.6 is released because very few (if any) care > about the wiki source code as long as a good version runs on gambaswiki.org. > > Regards, > Tobi > Done. Maybe it is not tested enough yet, but you will tell me. Regards, -- Beno?t Minisini From taboege at ...626... Sun Oct 5 17:57:03 2014 From: taboege at ...626... (Tobias Boege) Date: Sun, 5 Oct 2014 17:57:03 +0200 Subject: [Gambas-user] Feature request: A preview button in the wiki editor In-Reply-To: <543169C0.5070301@...1...> References: <20141004151224.GA674@...2774...> <543169C0.5070301@...1...> Message-ID: <20141005155703.GA830@...2774...> On Sun, 05 Oct 2014, Beno?t Minisini wrote: > Le 04/10/2014 17:12, Tobias Boege a ?crit : > > Hi, > > > > when I try to update a wiki page, it takes me several (more than I want to > > admit) tries to get the markup right. For whatever reason. > > > > It would be nice, in the favour of cleaner page histories, to have a preview > > button when editing a page, not only "Save" or "Cancel". > > > > Luckily, this can wait until 3.6 is released because very few (if any) care > > about the wiki source code as long as a good version runs on gambaswiki.org. > > > > Regards, > > Tobi > > > > Done. Maybe it is not tested enough yet, but you will tell me. > I will if you regenerate the index of gb.data's wiki page (or whatever you do to make new classes show up in the wiki). Trie and PrioSet are missing, AFAICT which will be in 3.6. Thanks, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Sun Oct 5 18:33:45 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 05 Oct 2014 18:33:45 +0200 Subject: [Gambas-user] Feature request: A preview button in the wiki editor In-Reply-To: <20141005155703.GA830@...2774...> References: <20141004151224.GA674@...2774...> <543169C0.5070301@...1...> <20141005155703.GA830@...2774...> Message-ID: <543172E9.5050906@...1...> Le 05/10/2014 17:57, Tobias Boege a ?crit : > On Sun, 05 Oct 2014, Beno?t Minisini wrote: >> Le 04/10/2014 17:12, Tobias Boege a ?crit : >>> Hi, >>> >>> when I try to update a wiki page, it takes me several (more than I want to >>> admit) tries to get the markup right. For whatever reason. >>> >>> It would be nice, in the favour of cleaner page histories, to have a preview >>> button when editing a page, not only "Save" or "Cancel". >>> >>> Luckily, this can wait until 3.6 is released because very few (if any) care >>> about the wiki source code as long as a good version runs on gambaswiki.org. >>> >>> Regards, >>> Tobi >>> >> >> Done. Maybe it is not tested enough yet, but you will tell me. >> > > I will if you regenerate the index of gb.data's wiki page (or whatever you > do to make new classes show up in the wiki). Trie and PrioSet are missing, > AFAICT which will be in 3.6. > > Thanks, > Tobi > Done. -- Beno?t Minisini From taboege at ...626... Sun Oct 5 18:36:39 2014 From: taboege at ...626... (Tobias Boege) Date: Sun, 5 Oct 2014 18:36:39 +0200 Subject: [Gambas-user] Feature request: A preview button in the wiki editor In-Reply-To: <543172E9.5050906@...1...> References: <20141004151224.GA674@...2774...> <543169C0.5070301@...1...> <20141005155703.GA830@...2774...> <543172E9.5050906@...1...> Message-ID: <20141005163639.GB830@...2774...> On Sun, 05 Oct 2014, Beno?t Minisini wrote: > Le 05/10/2014 17:57, Tobias Boege a ?crit : > > On Sun, 05 Oct 2014, Beno?t Minisini wrote: > >> Le 04/10/2014 17:12, Tobias Boege a ?crit : > >>> Hi, > >>> > >>> when I try to update a wiki page, it takes me several (more than I want to > >>> admit) tries to get the markup right. For whatever reason. > >>> > >>> It would be nice, in the favour of cleaner page histories, to have a preview > >>> button when editing a page, not only "Save" or "Cancel". > >>> > >>> Luckily, this can wait until 3.6 is released because very few (if any) care > >>> about the wiki source code as long as a good version runs on gambaswiki.org. > >>> > >>> Regards, > >>> Tobi > >>> > >> > >> Done. Maybe it is not tested enough yet, but you will tell me. > >> > > > > I will if you regenerate the index of gb.data's wiki page (or whatever you > > do to make new classes show up in the wiki). Trie and PrioSet are missing, > > AFAICT which will be in 3.6. > > > > Thanks, > > Tobi > > > > Done. > Thanks, but one class is missing: PrioSet. It's in the Gambas part of gb.data. BTW: gb.data has a part written in Gambas now. Is that of importance to packagers? Do I have to add information somewhere? IIRC gambas-team's gb.data package did contain the gb.data.gambas file, so _their_ scripts were clever enough to detect it. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Sun Oct 5 18:57:05 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 05 Oct 2014 18:57:05 +0200 Subject: [Gambas-user] Feature request: A preview button in the wiki editor In-Reply-To: <20141005163639.GB830@...2774...> References: <20141004151224.GA674@...2774...> <543169C0.5070301@...1...> <20141005155703.GA830@...2774...> <543172E9.5050906@...1...> <20141005163639.GB830@...2774...> Message-ID: <54317861.80507@...1...> Le 05/10/2014 18:36, Tobias Boege a ?crit : > > Thanks, but one class is missing: PrioSet. It's in the Gambas part of > gb.data. BTW: gb.data has a part written in Gambas now. Is that of > importance to packagers? Do I have to add information somewhere? IIRC > gambas-team's gb.data package did contain the gb.data.gambas file, so > _their_ scripts were clever enough to detect it. > > Regards, > Tobi > It should be better now. -- Beno?t Minisini From taboege at ...626... Sun Oct 5 19:16:33 2014 From: taboege at ...626... (Tobias Boege) Date: Sun, 5 Oct 2014 19:16:33 +0200 Subject: [Gambas-user] Feature request: A preview button in the wiki editor In-Reply-To: <543169C0.5070301@...1...> References: <20141004151224.GA674@...2774...> <543169C0.5070301@...1...> Message-ID: <20141005171633.GC830@...2774...> On Sun, 05 Oct 2014, Beno?t Minisini wrote: > Le 04/10/2014 17:12, Tobias Boege a ?crit : > > Hi, > > > > when I try to update a wiki page, it takes me several (more than I want to > > admit) tries to get the markup right. For whatever reason. > > > > It would be nice, in the favour of cleaner page histories, to have a preview > > button when editing a page, not only "Save" or "Cancel". > > > > Luckily, this can wait until 3.6 is released because very few (if any) care > > about the wiki source code as long as a good version runs on gambaswiki.org. > > > > Regards, > > Tobi > > > > Done. Maybe it is not tested enough yet, but you will tell me. > Everything works very well. Thank you. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From epost at ...3323... Sun Oct 5 21:07:45 2014 From: epost at ...3323... (=?UTF-8?B?SsO4cm4gRXJpayBNw7hybmU=?=) Date: Sun, 05 Oct 2014 21:07:45 +0200 Subject: [Gambas-user] AND and OR Message-ID: <54319701.1070700@...3323...> Why is it not allowed to use AND and OR in the same logical test? From taboege at ...626... Sun Oct 5 21:11:50 2014 From: taboege at ...626... (Tobias Boege) Date: Sun, 5 Oct 2014 21:11:50 +0200 Subject: [Gambas-user] AND and OR In-Reply-To: <54319701.1070700@...3323...> References: <54319701.1070700@...3323...> Message-ID: <20141005191150.GD830@...2774...> On Sun, 05 Oct 2014, J??rn Erik M??rne wrote: > Why is it not allowed to use AND and OR in the same logical test? > It is allowed and works: $ gbx3 -e "(False And Not False) Or (False Or Not False)" True Maybe you refer to the AND IF and OR IF keywords in an IF statement? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From epost at ...3323... Sun Oct 5 22:00:27 2014 From: epost at ...3323... (=?windows-1252?Q?J=F8rn_Erik_M=F8rne?=) Date: Sun, 05 Oct 2014 22:00:27 +0200 Subject: [Gambas-user] AND and OR In-Reply-To: <20141005191150.GD830@...2774...> References: <54319701.1070700@...3323...> <20141005191150.GD830@...2774...> Message-ID: <5431A35B.1090204@...3323...> Den 05. okt. 2014 21:11, skrev Tobias Boege: > On Sun, 05 Oct 2014, J??rn Erik M??rne wrote: >> Why is it not allowed to use AND and OR in the same logical test? >> > It is allowed and works: > > $ gbx3 -e "(False And Not False) Or (False Or Not False)" > True > > Maybe you refer to the AND IF and OR IF keywords in an IF statement? > > Regards, > Tobi > Aha, yes you're right :) Removing an extra IF that had sneaked in was the solution. From willy at ...2734... Sun Oct 5 23:11:48 2014 From: willy at ...2734... (Willy Raets) Date: Sun, 05 Oct 2014 23:11:48 +0200 Subject: [Gambas-user] Possible bug gb.gtk in Gambas 3.5.90 Message-ID: <1412543508.22780.14.camel@...3024...> Hi, I noticed that with Gambas 3.5.90, the TextBox and TextArea do not accept input from keyboard with gb.gtk on LXDE. It works fine with gb.qt4. I haven't noticed this problem on other desktops (even LXDE) but that was all with Gambas 3.5.x. It does not occur on Gambas 3.5.4 on Lubuntu 12.04 - LXDE 0.5.8 with default theme after fresh install. Problem is on Gambas 3.5.90 on Lubuntu 14.04 - LXDE 0.6.1 with default theme after fresh install. Don't know if the problem is 3.5.90 related or LXDE 0.6.1 [System] Gambas=3.5.90 (rev #6516) OperatingSystem=Linux Kernel=3.13.0-36-generic Architecture=x86 Distribution=Ubuntu 14.04.1 LTS Desktop=LXDE Theme=QGtk Language=nl_NL.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 -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From jussi.lahtinen at ...626... Sun Oct 5 23:19:32 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 6 Oct 2014 00:19:32 +0300 Subject: [Gambas-user] AND and OR In-Reply-To: <5431A35B.1090204@...3323...> References: <54319701.1070700@...3323...> <20141005191150.GD830@...2774...> <5431A35B.1090204@...3323...> Message-ID: The extra "if" enables short-circuiting and thus it is very useful in some cases. Example, you can write "if then" structures like this: If hObject <> Null And If hObject.SomeProperty = True Then Without the extra "if" this would fail, if the hObject would be null. Jussi On Sun, Oct 5, 2014 at 11:00 PM, J?rn Erik M?rne wrote: > > Den 05. okt. 2014 21:11, skrev Tobias Boege: > > On Sun, 05 Oct 2014, J??rn Erik M??rne wrote: > >> Why is it not allowed to use AND and OR in the same logical test? > >> > > It is allowed and works: > > > > $ gbx3 -e "(False And Not False) Or (False Or Not False)" > > True > > > > Maybe you refer to the AND IF and OR IF keywords in an IF statement? > > > > Regards, > > Tobi > > > > Aha, yes you're right :) Removing an extra IF that had sneaked in was > the solution. > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From epost at ...3323... Sun Oct 5 23:29:15 2014 From: epost at ...3323... (=?UTF-8?B?SsO4cm4gRXJpayBNw7hybmU=?=) Date: Sun, 05 Oct 2014 23:29:15 +0200 Subject: [Gambas-user] AND and OR In-Reply-To: References: <54319701.1070700@...3323...> <20141005191150.GD830@...2774...> <5431A35B.1090204@...3323...> Message-ID: <5431B82B.80304@...3323...> Den 05. okt. 2014 23:19, skrev Jussi Lahtinen: > The extra "if" enables short-circuiting > and thus it is very > useful in some cases. > > Example, you can write "if then" structures like this: > If hObject <> Null And If hObject.SomeProperty = True Then > > Without the extra "if" this would fail, if the hObject would be null. > > > > Jussi > > > On Sun, Oct 5, 2014 at 11:00 PM, J?rn Erik M?rne > wrote: > >> Den 05. okt. 2014 21:11, skrev Tobias Boege: >>> On Sun, 05 Oct 2014, J??rn Erik M??rne wrote: >>>> Why is it not allowed to use AND and OR in the same logical test? >>>> >>> It is allowed and works: >>> >>> $ gbx3 -e "(False And Not False) Or (False Or Not False)" >>> True >>> >>> Maybe you refer to the AND IF and OR IF keywords in an IF statement? >>> >>> Regards, >>> Tobi >>> >> Aha, yes you're right :) Removing an extra IF that had sneaked in was >> the solution. >> >> >> ------------------------------------------------------------------------------ >> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer >> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports >> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper >> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer >> >> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Ahh! That's great :) Very good to know! Thanks! From gambas at ...1... Mon Oct 6 02:41:17 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 06 Oct 2014 02:41:17 +0200 Subject: [Gambas-user] Possible bug gb.gtk in Gambas 3.5.90 In-Reply-To: <1412543508.22780.14.camel@...3024...> References: <1412543508.22780.14.camel@...3024...> Message-ID: <5431E52D.5080000@...1...> Le 05/10/2014 23:11, Willy Raets a ?crit : > Hi, > > I noticed that with Gambas 3.5.90, the TextBox and TextArea do not > accept input from keyboard with gb.gtk on LXDE. It works fine with > gb.qt4. > I haven't noticed this problem on other desktops (even LXDE) but that > was all with Gambas 3.5.x. > It does not occur on Gambas 3.5.4 on Lubuntu 12.04 - LXDE 0.5.8 with > default theme after fresh install. > > Problem is on Gambas 3.5.90 on Lubuntu 14.04 - LXDE 0.6.1 with default > theme after fresh install. > > Don't know if the problem is 3.5.90 related or LXDE 0.6.1 > > [System] > Gambas=3.5.90 (rev #6516) > OperatingSystem=Linux > Kernel=3.13.0-36-generic > Architecture=x86 > Distribution=Ubuntu 14.04.1 LTS > Desktop=LXDE > Theme=QGtk > Language=nl_NL.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 > > I have just installed lxde on my Ubuntu 14.04, but I didn't succeed in reproducing what you are talking about. Apparently it works on my configuration. Can you give the following details: - A little project example. - Which GTK+ theme do you use? - Which input method do you use? Use the TextBox or TextArea popup menu for that. Thanks. -- Beno?t Minisini From gambas at ...1... Mon Oct 6 02:46:26 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 06 Oct 2014 02:46:26 +0200 Subject: [Gambas-user] Tableview behaviour In-Reply-To: <1412407379549-48583.post@...3046...> References: <1412407379549-48583.post@...3046...> Message-ID: <5431E662.9020903@...1...> Le 04/10/2014 09:22, bill-lancaster a ?crit : > The attached example has a tableview with values in column 0, click on one of > those values and it goes into column 1. Alternatively a new value may be > entered in column 1. > It all works fine but the return key causes unwanted data in column 1. > Where am I going wrong? > TableviewExample.gz > > You get the expected behaviour. When you hit the RETURN key, the Click event is raised for each successive cell until the Click event handler calls the Edit method. This is the only way to find the next editable cell. Regards, -- Beno?t Minisini From gambas at ...1... Mon Oct 6 02:49:13 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 06 Oct 2014 02:49:13 +0200 Subject: [Gambas-user] Strange error after switching PopUpMenu In-Reply-To: <542AC14B.1080501@...221...> References: <542A7AB4.8000605@...221...> <20140930140718.GA1292@...2774...> <20140930141117.GB1292@...2774...> <542AC14B.1080501@...221...> Message-ID: <5431E709.3070808@...1...> Le 30/09/2014 16:42, Rolf-Werner Eilert a ?crit : > > > Am 30.09.2014 16:11, schrieb Tobias Boege: >> On Tue, 30 Sep 2014, Tobias Boege wrote: >>> On Tue, 30 Sep 2014, Rolf-Werner Eilert wrote: >>>> I tried to set the PopUpMenu property in the IDE to the (one and only) >>>> menu "mnDatei" in the project. Suddenly I get this error: >>>> >>>> This application has raised an unexpected >>>> error and must abort. >>>> >>>> Unable to load image. >>>> CFamily.DrawIcon.258 >>>> >>>> and the IDE crashes each time I go into the Form editor. As long as I >>>> stay in the source editor, Gambas keeps running. >>>> >>>> To restore the setting, I edited Form1.form and changed >>>> >>>> {TextArea1 TextArea >>>> . >>>> . >>>> PopupMenu = "" >>>> >>>> So, it's running again, but what would you have done? >>>> >>> >>> I know this error, too (had it 2 or 3 times), and I fixed it exactly >>> as you >>> did. But I could never reproduce any of the occurences, sadly... >>> >> >> Also, my errors likely weren't related to menus. I don't normally >> touch the >> menu editor. >> > > Yes you seem to be right here! > > Although the PopupMenu property has been changed, it still crashes. I > tried around with it a bit and found that when I go with the mouse over > a certain point in the form, it crashes. > > Well, that maybe random, but it might point to the reason at least. > > I attach the project. When you load it, you will land in the source > editor. Switch to Form1.form. Nothing should happen at once. When you > hover with the mouse over the form at about the point where the LCD zero > is, the error occurs. > > Obviously, the form editor looks for an icon it has to show here... > > Rolf > OK, I get it: the Arrangement property of Panel1 is "LeftRight", which is a deprecated value not used anymore. Is this a project converted from Gambas 2? -- Beno?t Minisini From eilert-sprachen at ...221... Mon Oct 6 08:33:26 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 06 Oct 2014 08:33:26 +0200 Subject: [Gambas-user] Strange error after switching PopUpMenu In-Reply-To: <5431E709.3070808@...1...> References: <542A7AB4.8000605@...221...> <20140930140718.GA1292@...2774...> <20140930141117.GB1292@...2774...> <542AC14B.1080501@...221...> <5431E709.3070808@...1...> Message-ID: <543237B6.2010109@...221...> Am 06.10.2014 02:49, schrieb Beno?t Minisini: > Le 30/09/2014 16:42, Rolf-Werner Eilert a ?crit : >> >> >> Am 30.09.2014 16:11, schrieb Tobias Boege: >>> On Tue, 30 Sep 2014, Tobias Boege wrote: >>>> On Tue, 30 Sep 2014, Rolf-Werner Eilert wrote: >>>>> I tried to set the PopUpMenu property in the IDE to the (one and only) >>>>> menu "mnDatei" in the project. Suddenly I get this error: >>>>> >>>>> This application has raised an unexpected >>>>> error and must abort. >>>>> >>>>> Unable to load image. >>>>> CFamily.DrawIcon.258 >>>>> >>>>> and the IDE crashes each time I go into the Form editor. As long as I >>>>> stay in the source editor, Gambas keeps running. >>>>> >>>>> To restore the setting, I edited Form1.form and changed >>>>> >>>>> {TextArea1 TextArea >>>>> . >>>>> . >>>>> PopupMenu = "" >>>>> >>>>> So, it's running again, but what would you have done? >>>>> >>>> >>>> I know this error, too (had it 2 or 3 times), and I fixed it exactly >>>> as you >>>> did. But I could never reproduce any of the occurences, sadly... >>>> >>> >>> Also, my errors likely weren't related to menus. I don't normally >>> touch the >>> menu editor. >>> >> >> Yes you seem to be right here! >> >> Although the PopupMenu property has been changed, it still crashes. I >> tried around with it a bit and found that when I go with the mouse over >> a certain point in the form, it crashes. >> >> Well, that maybe random, but it might point to the reason at least. >> >> I attach the project. When you load it, you will land in the source >> editor. Switch to Form1.form. Nothing should happen at once. When you >> hover with the mouse over the form at about the point where the LCD zero >> is, the error occurs. >> >> Obviously, the form editor looks for an icon it has to show here... >> >> Rolf >> > > OK, I get it: the Arrangement property of Panel1 is "LeftRight", which > is a deprecated value not used anymore. Is this a project converted from > Gambas 2? > Ooops - yes :) Ok, what property should I use instead? I could set it directly in the file, not going the way via the IDE. Thanks for drilling into it so deeply! Rolf From eilert-sprachen at ...221... Mon Oct 6 10:28:50 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 06 Oct 2014 10:28:50 +0200 Subject: [Gambas-user] TextArea Pop-up Menu on right click In-Reply-To: <542FF1AB.5020200@...1...> References: <542A70F8.50908@...221...> <542AB021.7090107@...1...> <542D54D2.3090308@...221...> <542D60E0.2040006@...1...> <20141003121739.2d92041232814dfe5b4e9baf@...2308...> <542FF1AB.5020200@...1...> Message-ID: <543252C2.2020304@...221...> Am 04.10.2014 15:10, schrieb Beno?t Minisini: > Le 03/10/2014 04:47, B Bruen a ?crit : >> >> Hi Beno?t, >> >> I'd just like to confirm your intentions here. >> >> As far as I know, under QT4, I have used that "non-existent menu" >> trick quite few times. >> >> I confirm (again under QT4) that a) setting the control popup-menu >> name to a non-existent menu kills the standard popup, unless b) I >> implement a MyControl_Menu method with STOP EVENT. In which case c) >> the standard menu appears. (even if the control has a popup menu name >> ???) >> >> To me there is three options: 1) status quo, if the menu does not >> exist, nothing happens 2) fix the STOP EVENT issue 3) make the >> "standard menu" visible in the IDE somehow. >> >> Of these, I'd obviously prefer 1. But presumably this would mean >> fixing QTx?? (But I dont care about that) 2 would require a fair bit >> of work on my part. 3 I dont even want to think about. >> >> So, which way? (or is there other ways?) >> >> regards Bruce >> > > Here is what I fixed in revision #6519: > > Now when dealing with a Menu event, the default behaviour of a control > is cancelled if: > > 1) The PopupMenu property is set, even if it is set with a non-existing > menu name. > > 2) Or if the 'Menu' event handler is stopped with STOP EVENT. > > 3) Or if a popup menu is manually displayed (with the Popup() methid) > during the 'Menu' event handler. > > I think that behaviour is coherent without breaking too much what badly > existed before. > > If there is any problem with that, tell me before I start releasing the 3.6 > > Regards, > Thank you for your work! I tried to compile the trunk version, but it stopps here: CXX gb_gtk3_la-gmessage.lo gmessage.cpp: In static member function 'static bool gDialog::selectColor()': gmessage.cpp:692:2: error: 'GtkColorChooserDialog' was not declared in this scope gmessage.cpp:692:25: error: 'dialog' was not declared in this scope gmessage.cpp:697:35: error: expected primary-expression before ')' token gmessage.cpp:697:36: error: expected ';' before 'gtk_color_chooser_dialog_new' gmessage.cpp:699:53: error: 'GTK_COLOR_CHOOSER' was not declared in this scope gmessage.cpp:699:62: error: 'gtk_color_chooser_set_rgba' was not declared in this scope gmessage.cpp:710:62: error: 'gtk_color_chooser_get_rgba' was not declared in this scope make[4]: *** [gb_gtk3_la-gmessage.lo] Fehler 1 make[4]: Leaving directory `/home/tester/Downloads/Gambas3/trunk/gb.gtk3/src' make[3]: *** [all-recursive] Fehler 1 make[3]: Leaving directory `/home/tester/Downloads/Gambas3/trunk/gb.gtk3' make[2]: *** [all] Fehler 2 make[2]: Leaving directory `/home/tester/Downloads/Gambas3/trunk/gb.gtk3' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/home/tester/Downloads/Gambas3/trunk' make: *** [all] Fehler 2 Or is it ready nonetheless? Rolf From willy at ...2734... Mon Oct 6 12:32:30 2014 From: willy at ...2734... (Willy Raets) Date: Mon, 06 Oct 2014 12:32:30 +0200 Subject: [Gambas-user] Possible bug gb.gtk in Gambas 3.5.90 In-Reply-To: <5431E52D.5080000@...1...> References: <1412543508.22780.14.camel@...3024...> <5431E52D.5080000@...1...> Message-ID: <1412591550.3149.16.camel@...3024...> On ma, 2014-10-06 at 02:41 +0200, Beno?t Minisini wrote: > Le 05/10/2014 23:11, Willy Raets a ?crit : > > Hi, > > > > I noticed that with Gambas 3.5.90, the TextBox and TextArea do not > > accept input from keyboard with gb.gtk on LXDE. It works fine with > > gb.qt4. > > I haven't noticed this problem on other desktops (even LXDE) but that > > was all with Gambas 3.5.x. > > It does not occur on Gambas 3.5.4 on Lubuntu 12.04 - LXDE 0.5.8 with > > default theme after fresh install. > > > > Problem is on Gambas 3.5.90 on Lubuntu 14.04 - LXDE 0.6.1 with default > > theme after fresh install. > > > > Don't know if the problem is 3.5.90 related or LXDE 0.6.1 > > > > [System] > > Gambas=3.5.90 (rev #6516) > > OperatingSystem=Linux > > Kernel=3.13.0-36-generic > > Architecture=x86 > > Distribution=Ubuntu 14.04.1 LTS > > Desktop=LXDE > > Theme=QGtk > > Language=nl_NL.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 > > > > > > I have just installed lxde on my Ubuntu 14.04, but I didn't succeed in > reproducing what you are talking about. Apparently it works on my > configuration. Did you install Lubuntu 14.04 or Ubuntu 14.04 with LXDE? My problem is on Lubuntu 14.04 with LXDE 0.6.1 Currently on Gambas 3.5.90 (rev #6519) > > Can you give the following details: > > - A little project example. Attached. BTW, I noticed ValueBox isn't working either. > > - Which GTK+ theme do you use? Lubuntu-Default (see attached screenshot). I tried with 3 other themes as well (Industrial, Lubuntu-dark-panel and Mist), but none of them made input possible. Changing from gb.gtk to gb.gtk3 and no input possible as with gb.gtk. Changing from gb.gtk to gb.qt4 and all works as should. > > - Which input method do you use? Use the TextBox or TextArea popup menu > for that. Keyboard input is impossible. I did notice that with the popup menu I can paste data into TextBox, TextArea and ValueBox. I can also paste data into the controls with keyboard shortcuts (CTRL + V). That all seems to work. When I input from keyboard, there is no error generated. Nothing happens, that is all. > > Thanks. > -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org -------------- next part -------------- A non-text attachment was scrubbed... Name: Lubuntu-14.04-Theme.png Type: image/png Size: 66458 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: TextBoxText-0.0.1.tar.gz Type: application/x-compressed-tar Size: 3978 bytes Desc: not available URL: From gambas at ...2524... Mon Oct 6 19:40:41 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 06 Oct 2014 17:40:41 +0000 Subject: [Gambas-user] Issue 437 in gambas: Add Windows Code Explorer In-Reply-To: <3-6813199134517018827-1477046831407902484-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-1477046831407902484-gambas=googlecode.com@...2524...> <0-6813199134517018827-1477046831407902484-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-1477046831407902484-gambas=googlecode.com@...2524...> Comment #4 on issue 437 by torredel... at ...626...: Add Windows Code Explorer https://code.google.com/p/gambas/issues/detail?id=437 I have made a small example using the command scam, to get the names of the events, methods, variables and line number where it is found in every .class or .module file of the project gambas3. And a treeview, where I show the data. Maybe it could be integrated into the gambas IDE and adding event click on the treeview item, move the cursor editor control to so easily able to navigate through the code. Attachments: AnalisisProyecto-0.0.2.tar.gz 13.2 KB navegador proyecto.png 46.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... Tue Oct 7 00:36:20 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 06 Oct 2014 22:36:20 +0000 Subject: [Gambas-user] Issue 564 in gambas: gambas3 doesn't build with llvm-3.5 [PATCH] In-Reply-To: <3-6813199134517018827-15166494104811778626-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-15166494104811778626-gambas=googlecode.com@...2524...> <0-6813199134517018827-15166494104811778626-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-15166494104811778626-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #4 on issue 564 by benoit.m... at ...626...: gambas3 doesn't build with llvm-3.5 [PATCH] https://code.google.com/p/gambas/issues/detail?id=564 (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 Oct 7 00:37:31 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 06 Oct 2014 22:37:31 +0000 Subject: [Gambas-user] Issue 565 in gambas: Add in preferences settings criterion for automated control names In-Reply-To: <0-6813199134517018827-3778231191627625541-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-3778231191627625541-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-3778231191627625541-gambas=googlecode.com@...2524...> Comment #1 on issue 565 by benoit.m... at ...626...: Add in preferences settings criterion for automated control names https://code.google.com/p/gambas/issues/detail?id=565 This is not a "standard", this is just a description of one naming convention among many others possible. -- 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 Oct 7 01:29:07 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 06 Oct 2014 23:29:07 +0000 Subject: [Gambas-user] Issue 567 in gambas: Recent changes for db collation cause postgresql crash Message-ID: <0-6813199134517018827-1033595361308377000-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 567 by adamn... at ...626...: Recent changes for db collation cause postgresql crash https://code.google.com/p/gambas/issues/detail?id=567 1) Describe the problem. After the recent gb.db changes to support table level charset and collation settings the iteration: For Each hField In hTable.Fields causes the following error ERR: Unable to get field info: ERROR: relation "pg_collation" does not exist LINE 1: ...pg_attrdef.adnum = pg_attribute.attnum) left join pg_collati... At posgres 9.0.17 that relation definitely does not exist. Per column collation support was only added at version 9.1 2) Give information about your system. Use the 'System information' menu in the Gambas IDE, and paste the result there. [System] Gambas=3.6.0 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.8 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.402.0 GTK+3=libgtk-3.so.0.1200.2 GTK+=libgtk-x11-2.0.so.0.2400.22 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.4 3) Provide a little project that reproduces the bug or the crash. na 4) If your project needs a database, try to provide it, or part of it. na 5) Explain clearly how to reproduce the bug or the crash. see above 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 gambas at ...2524... Tue Oct 7 01:38:40 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 06 Oct 2014 23:38:40 +0000 Subject: [Gambas-user] Issue 567 in gambas: Recent changes for db collation cause postgresql crash In-Reply-To: <0-6813199134517018827-1033595361308377000-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-1033595361308377000-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-1033595361308377000-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 567 by benoit.m... at ...626...: Recent changes for db collation cause postgresql crash https://code.google.com/p/gambas/issues/detail?id=567 Damn, I thought collation support was older than that... -- 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 Oct 7 02:09:38 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 07 Oct 2014 00:09:38 +0000 Subject: [Gambas-user] Issue 567 in gambas: Recent changes for db collation cause postgresql crash In-Reply-To: <1-6813199134517018827-1033595361308377000-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-1033595361308377000-gambas=googlecode.com@...2524...> <0-6813199134517018827-1033595361308377000-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-1033595361308377000-gambas=googlecode.com@...2524...> Comment #2 on issue 567 by benoit.m... at ...626...: Recent changes for db collation cause postgresql crash https://code.google.com/p/gambas/issues/detail?id=567 It should be fixed in revision #6520. Please tell me if it is ok for you, as my postgresql version is too recent. -- 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 Oct 7 02:20:12 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 07 Oct 2014 00:20:12 +0000 Subject: [Gambas-user] Issue 557 in gambas: Stack Overflow In-Reply-To: <14-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> References: <14-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <0-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> Message-ID: <15-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #15 on issue 557 by benoit.m... at ...626...: Stack Overflow https://code.google.com/p/gambas/issues/detail?id=557 (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 Oct 7 02:49:03 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 07 Oct 2014 00:49:03 +0000 Subject: [Gambas-user] Issue 567 in gambas: Recent changes for db collation cause postgresql crash In-Reply-To: <2-6813199134517018827-1033595361308377000-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-1033595361308377000-gambas=googlecode.com@...2524...> <0-6813199134517018827-1033595361308377000-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-1033595361308377000-gambas=googlecode.com@...2524...> Comment #3 on issue 567 by adamn... at ...626...: Recent changes for db collation cause postgresql crash https://code.google.com/p/gambas/issues/detail?id=567 Yes, that is good now. 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 bbruen at ...2308... Tue Oct 7 04:25:17 2014 From: bbruen at ...2308... (B Bruen) Date: Tue, 7 Oct 2014 12:55:17 +1030 Subject: [Gambas-user] ICal parser Message-ID: <20141007125517.9f384461da0c44ee4a8a45e2@...2308...> I don't suppose that anyone has an iCal parser utility that they would care to share do they? -- B Bruen From bbruen at ...2308... Tue Oct 7 06:56:41 2014 From: bbruen at ...2308... (B Bruen) Date: Tue, 7 Oct 2014 15:26:41 +1030 Subject: [Gambas-user] help generation for local classes Message-ID: <20141007152641.9085998459092e636316514b@...2308...> I am not sure where this crept in but... The IDE help browser now deems local classes to be non-creatable if they do not contain a _new() method. pic attached -- B Bruen -------------- next part -------------- A non-text attachment was scrubbed... Name: Help browser_031.png Type: image/png Size: 65621 bytes Desc: not available URL: From eilert-sprachen at ...221... Tue Oct 7 11:00:01 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 07 Oct 2014 11:00:01 +0200 Subject: [Gambas-user] Question about making packages Message-ID: <5433AB91.8070708@...221...> Just for fun I tried to make an install package out of one of my projects. Everything ran flawlessly, now there is an .rpm of the binaries and an .rpm of the sources. If I was another user and would download and install the binary package, would Gambas or the interpreter be installed automatically? Would the dependencies be observed, or would I have to care for this myself? I tried to use the file browser and just clicked on the .rpm. Installation was stopped because it didn't find a Gambas3 (I have a self-compiled version running). There is one project which might be nice to distribute for our students, in case they use Linux. That's why I ask. Rolf From willy at ...2734... Tue Oct 7 11:18:44 2014 From: willy at ...2734... (Willy Raets) Date: Tue, 07 Oct 2014 11:18:44 +0200 Subject: [Gambas-user] help generation for local classes In-Reply-To: <20141007152641.9085998459092e636316514b@...2308...> References: <20141007152641.9085998459092e636316514b@...2308...> Message-ID: <1412673524.3168.3.camel@...3024...> On di, 2014-10-07 at 15:26 +1030, B Bruen wrote: > I am not sure where this crept in but... See this thread and you will now where it crept in: http://sourceforge.net/p/gambas/mailman/gambas-user/thread/1411158266.2876.13.camel%40Attilla/#msg32850004 > > The IDE help browser now deems local classes to be non-creatable if they do not contain a _new() method. > pic attached > Well, is the class creatable then, if it has no _new() method? -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From shordi at ...626... Tue Oct 7 11:26:12 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Tue, 7 Oct 2014 11:26:12 +0200 Subject: [Gambas-user] Error with stored Connections Message-ID: I have a Stored connection to a mysqldatabase. If I do doubleClick on it in the IDE it's opened with all tables, views and all it's stuff. Then I have a class named xControles who defines a control that contains this: ... Export Inherits Panel Public Const _Properties As String = "*,hconn{Connection},table" property hConn as conection. .... .... If I put all conection properties (type, host, user, password, name) with code all works fine, but if I select the Stored Connection in the IDE in the control's properties window, I receive this error running the proyect: gb.db: warning: unable to retrieve connection password: xControles/Connection2: Unknown symbol 'Passwords' in class 'Desktop' My project doesn't use the gb.desktop component and I don't have any class "Desktop" It's some sort of expected behavior or I'm doing something wrong? Regards From willy at ...2734... Tue Oct 7 11:27:09 2014 From: willy at ...2734... (Willy Raets) Date: Tue, 07 Oct 2014 11:27:09 +0200 Subject: [Gambas-user] Question about making packages In-Reply-To: <5433AB91.8070708@...221...> References: <5433AB91.8070708@...221...> Message-ID: <1412674029.3168.11.camel@...3024...> On di, 2014-10-07 at 11:00 +0200, Rolf-Werner Eilert wrote: > Just for fun I tried to make an install package out of one of my > projects. Everything ran flawlessly, now there is an .rpm of the > binaries and an .rpm of the sources. > > If I was another user and would download and install the binary package, > would Gambas or the interpreter be installed automatically? Would the > dependencies be observed, or would I have to care for this myself? > > I tried to use the file browser and just clicked on the .rpm. > Installation was stopped because it didn't find a Gambas3 (I have a > self-compiled version running). > > There is one project which might be nice to distribute for our students, > in case they use Linux. That's why I ask. > > Rolf Rolf, the .rpm packages will only install if dependencies are met. This is something the distro's package installers normally check. Dependencies are only met, if a repository is know to you distro that can meet the dependencies by installing the gambas parts the .rpm needs. I don't know what distro you use and thus if a recent Gambas version is available for that distro. I do know that recent versions of Fedora and Mageia have Gambas 3.5.x in their repositories, so there installing the .rmp should work (presuming you did NOT make the .rpm with Gambas 3.5.90). -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From willy at ...2734... Tue Oct 7 11:57:33 2014 From: willy at ...2734... (Willy Raets) Date: Tue, 07 Oct 2014 11:57:33 +0200 Subject: [Gambas-user] Question on ComboBox Message-ID: <1412675853.3168.21.camel@...3024...> When using a combobox, with a lot of elements in there you get a screen full. To me this is NOT very user friendly. I was wondering why it is not allowed to set the MaxLength property for a list that is Read Only? Is there a specific reason, or can it be implemented into Gambas for Read Only lists as well? I want users to select from a ComboBox, pre filled with data from a table (a long list and NOT very user friendly to see on screen). I do not want them to be able to type their own stuff into the combobox , so I need to set it to Read Only. Problem now is that MaxLength property is no longer possible to set!! So, it is either: - a short list (desired) and user can input into combobox (not desired) - a long list (not desired) and user can't input into combobox (desired) -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From willy at ...2734... Tue Oct 7 12:13:22 2014 From: willy at ...2734... (Willy Raets) Date: Tue, 07 Oct 2014 12:13:22 +0200 Subject: [Gambas-user] Question on ComboBox In-Reply-To: <1412675853.3168.21.camel@...3024...> References: <1412675853.3168.21.camel@...3024...> Message-ID: <1412676802.3168.26.camel@...3024...> On di, 2014-10-07 at 11:57 +0200, Willy Raets wrote: > When using a combobox, with a lot of elements in there you get a screen > full. To me this is NOT very user friendly. > > > > I was wondering why it is not allowed to set the MaxLength property for > a list that is Read Only? > Is there a specific reason, or can it be implemented into Gambas for > Read Only lists as well? > > I want users to select from a ComboBox, pre filled with data from a > table (a long list and NOT very user friendly to see on screen). I do > not want them to be able to type their own stuff into the combobox , so > I need to set it to Read Only. > > > Problem now is that MaxLength property is no longer possible to set!! > > So, it is either: > - a short list (desired) and user can input into combobox (not desired) > - a long list (not desired) and user can't input into combobox (desired) > My message accidentally got send when editing it. I still wanted to add this: I know the length of the list of ComboBox was discussed here on the mailing list recently (like a week or so ago) and suggestions like create your own ComboBox where suggested. But now I stumble into a situation where it becomes a problem to me too, so hence the question. Would it not be more logical that Gambas IDE supports limiting the length of the list (read only or not) out of the box (unless there are of course problems with the underlying toolkit to get the job done)? -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From eilert-sprachen at ...221... Tue Oct 7 12:15:58 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 07 Oct 2014 12:15:58 +0200 Subject: [Gambas-user] Question about making packages In-Reply-To: <1412674029.3168.11.camel@...3024...> References: <5433AB91.8070708@...221...> <1412674029.3168.11.camel@...3024...> Message-ID: <5433BD5E.1080603@...221...> Am 07.10.2014 11:27, schrieb Willy Raets: > On di, 2014-10-07 at 11:00 +0200, Rolf-Werner Eilert wrote: >> Just for fun I tried to make an install package out of one of my >> projects. Everything ran flawlessly, now there is an .rpm of the >> binaries and an .rpm of the sources. >> >> If I was another user and would download and install the binary package, >> would Gambas or the interpreter be installed automatically? Would the >> dependencies be observed, or would I have to care for this myself? >> >> I tried to use the file browser and just clicked on the .rpm. >> Installation was stopped because it didn't find a Gambas3 (I have a >> self-compiled version running). >> >> There is one project which might be nice to distribute for our students, >> in case they use Linux. That's why I ask. >> >> Rolf > > Rolf, > the .rpm packages will only install if dependencies are met. This is > something the distro's package installers normally check. > > Dependencies are only met, if a repository is know to you distro that > can meet the dependencies by installing the gambas parts the .rpm needs. > > I don't know what distro you use and thus if a recent Gambas version is > available for that distro. > > I do know that recent versions of Fedora and Mageia have Gambas 3.5.x in > their repositories, so there installing the .rmp should work (presuming > you did NOT make the .rpm with Gambas 3.5.90). > > Yes, I hoped that would be so. The Linux version I tried this on is just too old to have a Gambas3 in the repos I guess. Thanks for confirming that! Rolf From gambas at ...1... Tue Oct 7 13:36:53 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 07 Oct 2014 13:36:53 +0200 Subject: [Gambas-user] help generation for local classes In-Reply-To: <20141007152641.9085998459092e636316514b@...2308...> References: <20141007152641.9085998459092e636316514b@...2308...> Message-ID: <5433D055.9000709@...1...> Le 07/10/2014 06:56, B Bruen a ?crit : > I am not sure where this crept in but... > > The IDE help browser now deems local classes to be non-creatable if they do not contain a _new() method. > pic attached > Mmm... Indeed. -- Beno?t Minisini From gambas at ...1... Tue Oct 7 13:39:37 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 07 Oct 2014 13:39:37 +0200 Subject: [Gambas-user] Question on ComboBox In-Reply-To: <1412676802.3168.26.camel@...3024...> References: <1412675853.3168.21.camel@...3024...> <1412676802.3168.26.camel@...3024...> Message-ID: <5433D0F9.2010001@...1...> Le 07/10/2014 12:13, Willy Raets a ?crit : > On di, 2014-10-07 at 11:57 +0200, Willy Raets wrote: >> When using a combobox, with a lot of elements in there you get a screen >> full. To me this is NOT very user friendly. >> >> >> >> I was wondering why it is not allowed to set the MaxLength property for >> a list that is Read Only? >> Is there a specific reason, or can it be implemented into Gambas for >> Read Only lists as well? >> >> I want users to select from a ComboBox, pre filled with data from a >> table (a long list and NOT very user friendly to see on screen). I do >> not want them to be able to type their own stuff into the combobox , so >> I need to set it to Read Only. >> >> >> Problem now is that MaxLength property is no longer possible to set!! >> >> So, it is either: >> - a short list (desired) and user can input into combobox (not desired) >> - a long list (not desired) and user can't input into combobox (desired) >> > My message accidentally got send when editing it. > I still wanted to add this: > > I know the length of the list of ComboBox was discussed here on the > mailing list recently (like a week or so ago) and suggestions like > create your own ComboBox where suggested. > > But now I stumble into a situation where it becomes a problem to me too, > so hence the question. > > Would it not be more logical that Gambas IDE supports limiting the > length of the list (read only or not) out of the box (unless there are > of course problems with the underlying toolkit to get the job done)? > The ComboBox look and behaviour is entirely managed by the GUI toolkit and theme. Most of GTK+ theme has this weird behaviour with ComboBox. Qt4 don't, unless you use the QGtk widget theme that encapsulates a GTK+ theme inside a QT one. In other words, Gambas cannot do anything against that, unless you rewrite your own ComboBox entirely in Gambas. I will try to do that after the 3.6 release to see if it is possible. Regards, -- Beno?t Minisini From willy at ...2734... Tue Oct 7 14:38:18 2014 From: willy at ...2734... (Willy Raets) Date: Tue, 07 Oct 2014 14:38:18 +0200 Subject: [Gambas-user] Question on ComboBox In-Reply-To: <5433D0F9.2010001@...1...> References: <1412675853.3168.21.camel@...3024...> <1412676802.3168.26.camel@...3024...> <5433D0F9.2010001@...1...> Message-ID: <1412685498.3168.29.camel@...3024...> On di, 2014-10-07 at 13:39 +0200, Beno?t Minisini wrote: > Le 07/10/2014 12:13, Willy Raets a ?crit : > > On di, 2014-10-07 at 11:57 +0200, Willy Raets wrote: > >> When using a combobox, with a lot of elements in there you get a screen > >> full. To me this is NOT very user friendly. > >> > >> > >> > >> I was wondering why it is not allowed to set the MaxLength property for > >> a list that is Read Only? > >> Is there a specific reason, or can it be implemented into Gambas for > >> Read Only lists as well? > >> > >> I want users to select from a ComboBox, pre filled with data from a > >> table (a long list and NOT very user friendly to see on screen). I do > >> not want them to be able to type their own stuff into the combobox , so > >> I need to set it to Read Only. > >> > >> > >> Problem now is that MaxLength property is no longer possible to set!! > >> > >> So, it is either: > >> - a short list (desired) and user can input into combobox (not desired) > >> - a long list (not desired) and user can't input into combobox (desired) > >> > > My message accidentally got send when editing it. > > I still wanted to add this: > > > > I know the length of the list of ComboBox was discussed here on the > > mailing list recently (like a week or so ago) and suggestions like > > create your own ComboBox where suggested. > > > > But now I stumble into a situation where it becomes a problem to me too, > > so hence the question. > > > > Would it not be more logical that Gambas IDE supports limiting the > > length of the list (read only or not) out of the box (unless there are > > of course problems with the underlying toolkit to get the job done)? > > > > The ComboBox look and behaviour is entirely managed by the GUI toolkit > and theme. Most of GTK+ theme has this weird behaviour with ComboBox. > Qt4 don't, unless you use the QGtk widget theme that encapsulates a GTK+ > theme inside a QT one. That explains a lot, as I was using gb.qt4, but the widget theme is indeed QGtk. > > In other words, Gambas cannot do anything against that, unless you > rewrite your own ComboBox entirely in Gambas. > > I will try to do that after the 3.6 release to see if it is possible. I'll be looking forward to that :) Thank you -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From charlie at ...2793... Tue Oct 7 14:47:01 2014 From: charlie at ...2793... (Charlie) Date: Tue, 7 Oct 2014 05:47:01 -0700 (MST) Subject: [Gambas-user] Question on ComboBox In-Reply-To: <5433D0F9.2010001@...1...> References: <1412675853.3168.21.camel@...3024...> <1412676802.3168.26.camel@...3024...> <5433D0F9.2010001@...1...> Message-ID: <1412686021565-48628.post@...3046...> I had a look at this and came up with a possible solution. I have attached NewComboBox code that was created in Gambas 3.5.4. It is not a simple as I would like but may give you some ideas. Charlie NewComboBox.gz -- View this message in context: http://gambas.8142.n7.nabble.com/Question-on-ComboBox-tp48622p48628.html Sent from the gambas-user mailing list archive at Nabble.com. From chrisml at ...3340... Tue Oct 7 15:32:24 2014 From: chrisml at ...3340... (Christof Thalhofer) Date: Tue, 07 Oct 2014 15:32:24 +0200 Subject: [Gambas-user] Question on ComboBox In-Reply-To: <5433D0F9.2010001@...1...> (sfid-) References: <1412675853.3168.21.camel@...3024...> <1412676802.3168.26.camel@...3024...> <5433D0F9.2010001@...1...> (sfid-) Message-ID: <5433EB68.4080907@...3340...> Hi, Am 07.10.2014 um 13:39 schrieb Beno?t Minisini: > The ComboBox look and behaviour is entirely managed by the GUI toolkit > and theme. Most of GTK+ theme has this weird behaviour with ComboBox. > Qt4 don't, unless you use the QGtk widget theme that encapsulates a GTK+ > theme inside a QT one. > > In other words, Gambas cannot do anything against that, unless you > rewrite your own ComboBox entirely in Gambas. > > I will try to do that after the 3.6 release to see if it is possible. Since a couple of weeks (if I have time) I am writing an own ComboBox, which can be filled by a list or a result of a database, has autocomplete, supports read-only or overwrite, has an index and one or more columns. Tobi helped me a lot with that and nearly all functionality is fulfilled now, but it is still alpha (autocompletion still a bit buggy) and no component but just a class. I would like to give it to the Gambas community but licensed as open source with me and our firm as author. Are you interested? I need help to make a real independent component out of the code. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: DegComboBox-0.0.1.tar.gz Type: application/gzip Size: 8505 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From gambas.fr at ...626... Tue Oct 7 19:44:35 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 7 Oct 2014 19:44:35 +0200 Subject: [Gambas-user] Question on ComboBox In-Reply-To: <1412686021565-48628.post@...3046...> References: <1412675853.3168.21.camel@...3024...> <1412676802.3168.26.camel@...3024...> <5433D0F9.2010001@...1...> <1412686021565-48628.post@...3046...> Message-ID: 2014-10-07 14:47 GMT+02:00 Charlie : > I had a look at this and came up with a possible solution. I have attached > NewComboBox code that was created in Gambas 3.5.4. > > It is not a simple as I would like but may give you some ideas. > > Charlie Well Charlie ... how to say that ... :-/ ... why adding a scrollbar to a gridview ???? :-) > > NewComboBox.gz > > > > -- > View this message in context: http://gambas.8142.n7.nabble.com/Question-on-ComboBox-tp48622p48628.html > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas.fr at ...626... Tue Oct 7 19:45:10 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 7 Oct 2014 19:45:10 +0200 Subject: [Gambas-user] ICal parser In-Reply-To: <20141007125517.9f384461da0c44ee4a8a45e2@...2308...> References: <20141007125517.9f384461da0c44ee4a8a45e2@...2308...> Message-ID: ... what is iCal :-P ? 2014-10-07 4:25 GMT+02:00 B Bruen : > I don't suppose that anyone has an iCal parser utility that they would care to share do they? > > -- > B Bruen > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From dl7nb at ...17... Tue Oct 7 20:07:14 2014 From: dl7nb at ...17... (Wolfgang, dl7nb) Date: Tue, 07 Oct 2014 20:07:14 +0200 Subject: [Gambas-user] How to install gambas3 on a banana pi?? In-Reply-To: References: <20141007125517.9f384461da0c44ee4a8a45e2@...2308...> Message-ID: <54342BD2.6090300@...17...> Hello all, In the original Repository of Lubunto for banana pi there is only a Gambas3 3.1.1!! (was a good one a long time ago!) I tried a lot to install Gambas3 3.5.4 on my banana pi (armhf) with lubuntu. Installing from source went completely wrong. Then I tried the ppa:gambas-team/gambas3 Here I get a strange reaction: Some packets show up in version 3.5.4.22~ubuntu14.04.1 while others show version 3.5.3-0trusty3. When I now try to install "Complete visual development environment for Gambas" (Version 3.5.4.22~ubuntu14.04.1) I get several messages that many components can not be installed. This seems to come from the different versions of the gambas3 components. Is there anybody that can explain to me, what I did wrong and how I can solve the problem? Wolfgang From dl7nb at ...17... Tue Oct 7 20:20:08 2014 From: dl7nb at ...17... (Wolfgang, dl7nb) Date: Tue, 07 Oct 2014 20:20:08 +0200 Subject: [Gambas-user] How to install gambas3 on a banana pi?? Message-ID: <54342ED8.6000301@...17...> Hello all, In the original Repository of Lubunto for banana pi there is only a Gambas3 3.1.1!! (was a good one a long time ago!) I tried a lot to install Gambas3 3.5.4 on my banana pi (armhf) with lubuntu. Installing from source went completely wrong. Then I tried the ppa:gambas-team/gambas3 Here I get a strange reaction: Some packets show up in version 3.5.4.22~ubuntu14.04.1 while others show version 3.5.3-0trusty3. When I now try to install "Complete visual development environment for Gambas" (Version 3.5.4.22~ubuntu14.04.1) I get several messages that many components can not be installed. This seems to come from the different versions of the gambas3 components. Is there anybody that can explain to me, what I did wrong and how I can solve the problem? Wolfgang From sebikul at ...626... Tue Oct 7 20:25:32 2014 From: sebikul at ...626... (Sebastian Kulesz) Date: Tue, 7 Oct 2014 15:25:32 -0300 Subject: [Gambas-user] How to install gambas3 on a banana pi?? In-Reply-To: <54342ED8.6000301@...17...> References: <54342ED8.6000301@...17...> Message-ID: It comes from the fact that the Stable PPA does not have ARM builds enabled. Y sent a request to Launchpad to have it enabled, but the first builds will be for Gambas 3.6, as I don't want the x86 and ARM packages to be out of sync. You can try the Daily Builds PPA which has had ARM packages for a few months now. On Tue, Oct 7, 2014 at 3:20 PM, Wolfgang, dl7nb wrote: > Hello all, > > In the original Repository of Lubunto for banana pi there is only a > Gambas3 3.1.1!! (was a good one a long time ago!) > > I tried a lot to install Gambas3 3.5.4 on my banana pi (armhf) with > lubuntu. > Installing from source went completely wrong. > > Then I tried the ppa:gambas-team/gambas3 > > Here I get a strange reaction: > Some packets show up in > version 3.5.4.22~ubuntu14.04.1 > while others show > version 3.5.3-0trusty3. > > When I now try to install "Complete visual development environment for > Gambas" (Version 3.5.4.22~ubuntu14.04.1) I get several messages that > many components can not be installed. This seems to come from the > different versions of the gambas3 components. > > Is there anybody that can explain to me, what I did wrong and how I can > solve the problem? > > Wolfgang > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From dl7nb at ...17... Tue Oct 7 20:59:38 2014 From: dl7nb at ...17... (Wolfgang, dl7nb) Date: Tue, 07 Oct 2014 20:59:38 +0200 Subject: [Gambas-user] How to install gambas3 on a banana pi?? In-Reply-To: References: <54342ED8.6000301@...17...> Message-ID: <5434381A.4070406@...17...> The Daily Builds did the trick! Simple thing - if you know about it :-) ! Thank you Sebastian! Wolfgang Am 07.10.2014 um 20:25 schrieb Sebastian Kulesz: > It comes from the fact that the Stable PPA does not have ARM builds > enabled. Y sent a request to Launchpad to have it enabled, but the first > builds will be for Gambas 3.6, as I don't want the x86 and ARM packages to > be out of sync. You can try the Daily Builds PPA which has had ARM packages > for a few months now. > > On Tue, Oct 7, 2014 at 3:20 PM, Wolfgang, dl7nb wrote: > >> Hello all, >> >> In the original Repository of Lubunto for banana pi there is only a >> Gambas3 3.1.1!! (was a good one a long time ago!) >> >> I tried a lot to install Gambas3 3.5.4 on my banana pi (armhf) with >> lubuntu. >> Installing from source went completely wrong. >> >> Then I tried the ppa:gambas-team/gambas3 >> >> Here I get a strange reaction: >> Some packets show up in >> version 3.5.4.22~ubuntu14.04.1 >> while others show >> version 3.5.3-0trusty3. >> >> When I now try to install "Complete visual development environment for >> Gambas" (Version 3.5.4.22~ubuntu14.04.1) I get several messages that >> many components can not be installed. This seems to come from the >> different versions of the gambas3 components. >> >> Is there anybody that can explain to me, what I did wrong and how I can >> solve the problem? >> >> Wolfgang >> >> >> ------------------------------------------------------------------------------ >> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer >> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports >> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper >> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer >> >> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&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 ...1... Tue Oct 7 23:33:45 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 07 Oct 2014 23:33:45 +0200 Subject: [Gambas-user] help generation for local classes In-Reply-To: <5433D055.9000709@...1...> References: <20141007152641.9085998459092e636316514b@...2308...> <5433D055.9000709@...1...> Message-ID: <54345C39.1060607@...1...> Le 07/10/2014 13:36, Beno?t Minisini a ?crit : > Le 07/10/2014 06:56, B Bruen a ?crit : >> I am not sure where this crept in but... >> >> The IDE help browser now deems local classes to be non-creatable if >> they do not contain a _new() method. >> pic attached >> > > Mmm... Indeed. > It should be fixed in revision #6521. Regards, -- Beno?t Minisini From gambas at ...1... Tue Oct 7 23:36:49 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 07 Oct 2014 23:36:49 +0200 Subject: [Gambas-user] Error with stored Connections In-Reply-To: References: Message-ID: <54345CF1.7050304@...1...> Le 07/10/2014 11:26, Jorge Carri?n a ?crit : > I have a Stored connection to a mysqldatabase. If I do doubleClick on it in > the IDE it's opened with all tables, views and all it's stuff. > > Then I have a class named xControles who defines a control that contains > this: > > ... > > Export > > Inherits Panel > > Public Const _Properties As String = "*,hconn{Connection},table" > > property hConn as conection. > .... > .... > > If I put all conection properties (type, host, user, password, name) with > code all works fine, but if I select the Stored Connection in the IDE in > the control's properties window, I receive this error running the proyect: > > gb.db: warning: unable to retrieve connection password: > xControles/Connection2: Unknown symbol 'Passwords' in class 'Desktop' > > My project doesn't use the gb.desktop component and I don't have any class > "Desktop" > > It's some sort of expected behavior or I'm doing something wrong? > > Regards Which Gambas version do you use? -- Beno?t Minisini From bbruen at ...2308... Wed Oct 8 00:46:14 2014 From: bbruen at ...2308... (B Bruen) Date: Wed, 8 Oct 2014 09:16:14 +1030 Subject: [Gambas-user] ICal parser In-Reply-To: References: <20141007125517.9f384461da0c44ee4a8a45e2@...2308...> Message-ID: <20141008091614.f31eb4fec7fe61e8581e1ca2@...2308...> On Tue, 7 Oct 2014 19:45:10 +0200 Fabien Bodard wrote: > ... what is iCal :-P ? > > 2014-10-07 4:25 GMT+02:00 B Bruen : > > I don't suppose that anyone has an iCal parser utility that they would care to share do they? > > > > -- > > B Bruen > > Further research by moi reveals that I should have called it "vCalendar" or more commonly "iCalendar". It is the unofficial interchange "standard" (and I use that term with the looseness it deserves) for calendaring events, todos, journal entries and free-busy schedules. More at http://en.wikipedia.org/wiki/ICalendar#Technical_specifications etc. I have begun developing a parser - I need it to get scheduled Australian public holidays from google. (Much as I despise using that source, but unfortunately it seems to be the best available :-( ) B -- B Bruen From jusabejusabe at ...626... Wed Oct 8 09:20:41 2014 From: jusabejusabe at ...626... (Julio Sanchez) Date: Wed, 8 Oct 2014 09:20:41 +0200 Subject: [Gambas-user] ICal parser In-Reply-To: <20141008091614.f31eb4fec7fe61e8581e1ca2@...2308...> References: <20141007125517.9f384461da0c44ee4a8a45e2@...2308...> <20141008091614.f31eb4fec7fe61e8581e1ca2@...2308...> Message-ID: B Bruen: Could use the scan order and like patterns http://gambaswiki.org/wiki/lang/scan http://gambaswiki.org/wiki/lang/like , to create various patterns that help you extract the information you need. For what it's guidance, I have a program that gets the names (not all) of the functions, subroutines and variables of a project in gambas3. http://jsbsan.blogspot.com.es/2014/10/explorador-de-proyecto-de-gambas3-uso.html Regards Jsbsan 2014-10-08 0:46 GMT+02:00 B Bruen : > On Tue, 7 Oct 2014 19:45:10 +0200 > Fabien Bodard wrote: > > > ... what is iCal :-P ? > > > > 2014-10-07 4:25 GMT+02:00 B Bruen : > > > I don't suppose that anyone has an iCal parser utility that they would > care to share do they? > > > > > > -- > > > B Bruen > > > > > Further research by moi reveals that I should have called it "vCalendar" > or more commonly "iCalendar". It is the unofficial interchange "standard" > (and I use that term with the looseness it deserves) for calendaring > events, todos, journal entries and free-busy schedules. More at > http://en.wikipedia.org/wiki/ICalendar#Technical_specifications etc. > > I have begun developing a parser - I need it to get scheduled Australian > public holidays from google. (Much as I despise using that source, but > unfortunately it seems to be the best available :-( ) > B > -- > B Bruen > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&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... Wed Oct 8 10:04:29 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Wed, 8 Oct 2014 10:04:29 +0200 Subject: [Gambas-user] Error with stored Connections In-Reply-To: <54345CF1.7050304@...1...> References: <54345CF1.7050304@...1...> Message-ID: 3.5.4 from ppa:Gambas-team. This are my configurations: [System] Gambas=3.5.4 OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86_64 Distribution=Linux Mint 17 Qiana Desktop=GNOME Theme=QGtk Language=es_ES.UTF-8 Memory=5934M [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 2014-10-07 23:36 GMT+02:00 Beno?t Minisini : > Le 07/10/2014 11:26, Jorge Carri?n a ?crit : > > I have a Stored connection to a mysqldatabase. If I do doubleClick on it > in > > the IDE it's opened with all tables, views and all it's stuff. > > > > Then I have a class named xControles who defines a control that contains > > this: > > > > ... > > > > Export > > > > Inherits Panel > > > > Public Const _Properties As String = "*,hconn{Connection},table" > > > > property hConn as conection. > > .... > > .... > > > > If I put all conection properties (type, host, user, password, name) with > > code all works fine, but if I select the Stored Connection in the IDE in > > the control's properties window, I receive this error running the > proyect: > > > > gb.db: warning: unable to retrieve connection password: > > xControles/Connection2: Unknown symbol 'Passwords' in class 'Desktop' > > > > My project doesn't use the gb.desktop component and I don't have any > class > > "Desktop" > > > > It's some sort of expected behavior or I'm doing something wrong? > > > > Regards > > Which Gambas version do you use? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From Karl.Reinl at ...2345... Wed Oct 8 10:35:06 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Wed, 08 Oct 2014 10:35:06 +0200 Subject: [Gambas-user] ICal parser In-Reply-To: <20141008091614.f31eb4fec7fe61e8581e1ca2@...2308...> References: <20141007125517.9f384461da0c44ee4a8a45e2@...2308...> <20141008091614.f31eb4fec7fe61e8581e1ca2@...2308...> Message-ID: <1412757306.3391.8.camel@...40...> Am Mittwoch, den 08.10.2014, 09:16 +1030 schrieb B Bruen: > On Tue, 7 Oct 2014 19:45:10 +0200 > Fabien Bodard wrote: > > > ... what is iCal :-P ? > > > > 2014-10-07 4:25 GMT+02:00 B Bruen : > > > I don't suppose that anyone has an iCal parser utility that they would care to share do they? > > > > > > -- > > > B Bruen > > > > > Further research by moi reveals that I should have called it "vCalendar" or more commonly "iCalendar". It is the unofficial interchange "standard" (and I use that term with the looseness it deserves) for calendaring events, todos, journal entries and free-busy schedules. More at http://en.wikipedia.org/wiki/ICalendar#Technical_specifications etc. > > I have begun developing a parser - I need it to get scheduled Australian public holidays from google. (Much as I despise using that source, but unfortunately it seems to be the best available :-( ) > B Salut B., if you ask for religious holidays, I'v somewhere a project for german holydays per Bundesland (where the religious holidays are calculated after an formula de Gau? based on Easter + the fix one) 'Easter function after Carl Friedrich Gauss (1800). return Value 'Is the date of Easter Sunday in the specified (alternatively: 'Current) year. Scope: 1583 - 8702 -- Amicalement Charlie From gambas.fr at ...626... Wed Oct 8 13:30:18 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 8 Oct 2014 13:30:18 +0200 Subject: [Gambas-user] A suggestion Message-ID: Maybe we can imagin for variable name convention a system that rename the variable with a prefix. As it exist many different convention a thing like theme can be done. So user can use predefined convention or own one or no one. The ide must be able to query the user before renaming (option) Convention must manage global private public and type A not defined type give nothing Actually a global array in ide is $a A string ids Etc Regards, Fabien From willy at ...2734... Wed Oct 8 16:53:20 2014 From: willy at ...2734... (Willy Raets) Date: Wed, 08 Oct 2014 16:53:20 +0200 Subject: [Gambas-user] Possible bug in IDE Message-ID: <1412780000.3173.21.camel@...3024...> Try this at home and see what goes wrong. Both 3.5.4 and 3.5.90 (rev#6521) show this behaviour. 1. Open a project in IDE 2. In project browser - right click 'Sources' - select 'New' - select 'Module' - Click tab 'Existing' - 'Gambas modules (*.module) is the correct filter set 3. Repeat step 2 for Class, Form and Report (if gb.report activated) All should be good so far and correct filters should be shown. 4. In Project browser - right click 'Data' - select 'New' - select 'Image' - click tab 'Existing' - 'Gambas modules (*.module) is the WRONG filter set!! 5. Repeat step 4 for HTML file, Stylesheet, Javascript file and Other You see what goes wrong in the filter. Somehow the filters of Sources are kept. No to make it even odder try this: 1. Open ANOTHER project in IDE (important) 2. In Project browser - right click 'Data' - select 'New' - select 'Image' - click tab 'Existing' - 'Images files (*.png,*jpg,..) is the correct filter set 3. Repeat step 4 for HTML file, Stylesheet, Javascript file and Other All should be good so far and correct filters should be shown. 4. In project browser - right click 'Sources' - select 'New' - select 'Module' - Click tab 'Existing' - 'Images files (*.png,*jpg,..) is the WRONG filter set!! 5. Repeat step 2 for Class, Form and Report (if gb.report activated) You see what goes wrong in the filter. This time the filters of Data are kept. So, filters seem to depend on if you first right clicked 'Sources' or 'Data' in the Project browser. -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From horechuk at ...981... Wed Oct 8 18:20:10 2014 From: horechuk at ...981... (Paul Horechuk) Date: Wed, 08 Oct 2014 12:20:10 -0400 Subject: [Gambas-user] print resolution issues Message-ID: <5435643A.80805@...981...> I have a successful project that formats a sheet of labels on an Avery form and prints directly to an HP OfficeJet 7500 E910. I set the printer width to 850 and length to 1100 with a resolution of 100. These may not be correct for all (PrinterWidth and length are seen as 216 by 279mm), but by setting moveto coordinates within this range, I do get a correct sheet of labels. Problems: On a customer printer with the same version of gambas 3.5.4, the coordinates are stretched so that the labels are stretched by about 50%. This is on a Canon Pixma. Further checking shows a print to file (as PDF) from the printer dialog, resulting in: * vertical resolution is about 1/4 of what it should be * fonts are correctly sized * horizontal positioning is about 1/4 as well * therefore all text is compressed into the upper left * a QR code is about 1/4 the expected size Changing the resolution for a direct print to Pixma has no effect. Changing from 100 to 75 or to 150, results in the same stretched printout. This works as expected on the HP. Suggestions? -- Think Free ... Use Open Source Software From charlie at ...2793... Wed Oct 8 20:43:41 2014 From: charlie at ...2793... (Charlie) Date: Wed, 8 Oct 2014 11:43:41 -0700 (MST) Subject: [Gambas-user] How to catch a bar-code "Enter" Message-ID: <1412793821115-48645.post@...3046...> When reading bar-codes the gun adds an "Enter" at the end. In a spreadsheet if the focus was on cell A1 once the bar-code is read the focus will be in cell A2 as if "Enter" had been pressed. In Gambas using gb.gtk toolkit this works: - .... CatchBarcodeEnter = Key.Code If Key.Code = Key.Enter Or CatchBarcodeEnter = 65293 Then .... It does not work without the 65293 part. This is not recommended as we are warned: - "Never compare the value of this property with a numeric constant, because the key codes may depend on the underlying toolkit. Always use the constants defined in this class!" Do you know how I might get around this? Thanks, Charlie -- View this message in context: http://gambas.8142.n7.nabble.com/How-to-catch-a-bar-code-Enter-tp48645.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Wed Oct 8 21:02:08 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 08 Oct 2014 21:02:08 +0200 Subject: [Gambas-user] How to catch a bar-code "Enter" In-Reply-To: <1412793821115-48645.post@...3046...> References: <1412793821115-48645.post@...3046...> Message-ID: <54358A30.1020003@...1...> Le 08/10/2014 20:43, Charlie a ?crit : > When reading bar-codes the gun adds an "Enter" at the end. In a spreadsheet > if the focus was on cell A1 once the bar-code is read the focus will be in > cell A2 as if "Enter" had been pressed. > > In Gambas using gb.gtk toolkit this works: - > > .... > CatchBarcodeEnter = Key.Code > If Key.Code = Key.Enter Or CatchBarcodeEnter = 65293 Then > .... > > It does not work without the 65293 part. > > This is not recommended as we are warned: - > > "Never compare the value of this property with a numeric constant, because > the key codes may depend on the underlying toolkit. Always use the constants > defined in this class!" > > Do you know how I might get around this? > > Thanks, > > Charlie > 65293 is Key.Return. If you don't want to check both keys (one is the main keyboard, the other is for the numeric pad), just compare Key.Text with "\n". Regards, -- Beno?t Minisini From t.lee.davidson at ...626... Wed Oct 8 23:15:07 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Wed, 08 Oct 2014 17:15:07 -0400 Subject: [Gambas-user] Possible bug in IDE In-Reply-To: <1412780000.3173.21.camel@...3024...> References: <1412780000.3173.21.camel@...3024...> Message-ID: <5435A95B.6000509@...626...> Confirmed with v3.5.4. Except simply opening another project with File->Open_project does not clear the incorrect filters. I have to Quit and re-launch Gambas to clear them. On 10/08/2014 10:53 AM, Willy Raets wrote: > Try this at home and see what goes wrong. > Both 3.5.4 and 3.5.90 (rev#6521) show this behaviour. > > 1. Open a project in IDE > 2. In project browser > - right click 'Sources' > - select 'New' > - select 'Module' > - Click tab 'Existing' > - 'Gambas modules (*.module) is the correct filter set > 3. Repeat step 2 for Class, Form and Report (if gb.report activated) > All should be good so far and correct filters should be shown. > > 4. In Project browser > - right click 'Data' > - select 'New' > - select 'Image' > - click tab 'Existing' > - 'Gambas modules (*.module) is the WRONG filter set!! > 5. Repeat step 4 for HTML file, Stylesheet, Javascript file and Other > You see what goes wrong in the filter. > Somehow the filters of Sources are kept. > > No to make it even odder try this: > 1. Open ANOTHER project in IDE (important) > 2. In Project browser > - right click 'Data' > - select 'New' > - select 'Image' > - click tab 'Existing' > - 'Images files (*.png,*jpg,..) is the correct filter set > 3. Repeat step 4 for HTML file, Stylesheet, Javascript file and Other > All should be good so far and correct filters should be shown. > > 4. In project browser > - right click 'Sources' > - select 'New' > - select 'Module' > - Click tab 'Existing' > - 'Images files (*.png,*jpg,..) is the WRONG filter set!! > 5. Repeat step 2 for Class, Form and Report (if gb.report activated) > You see what goes wrong in the filter. > This time the filters of Data are kept. > > So, filters seem to depend on if you first right clicked 'Sources' or > 'Data' in the Project browser. > From gambas at ...1... Thu Oct 9 01:42:20 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 09 Oct 2014 01:42:20 +0200 Subject: [Gambas-user] Possible bug in IDE In-Reply-To: <5435A95B.6000509@...626...> References: <1412780000.3173.21.camel@...3024...> <5435A95B.6000509@...626...> Message-ID: <5435CBDC.40409@...1...> Le 08/10/2014 23:15, T Lee Davidson a ?crit : > Confirmed with v3.5.4. Except simply opening another project with > File->Open_project does not clear the incorrect filters. I have to Quit > and re-launch Gambas to clear them. > > > On 10/08/2014 10:53 AM, Willy Raets wrote: >> Try this at home and see what goes wrong. >> Both 3.5.4 and 3.5.90 (rev#6521) show this behaviour. >> >> 1. Open a project in IDE >> 2. In project browser >> - right click 'Sources' >> - select 'New' >> - select 'Module' >> - Click tab 'Existing' >> - 'Gambas modules (*.module) is the correct filter set >> 3. Repeat step 2 for Class, Form and Report (if gb.report activated) >> All should be good so far and correct filters should be shown. >> >> 4. In Project browser >> - right click 'Data' >> - select 'New' >> - select 'Image' >> - click tab 'Existing' >> - 'Gambas modules (*.module) is the WRONG filter set!! >> 5. Repeat step 4 for HTML file, Stylesheet, Javascript file and Other >> You see what goes wrong in the filter. >> Somehow the filters of Sources are kept. >> >> No to make it even odder try this: >> 1. Open ANOTHER project in IDE (important) >> 2. In Project browser >> - right click 'Data' >> - select 'New' >> - select 'Image' >> - click tab 'Existing' >> - 'Images files (*.png,*jpg,..) is the correct filter set >> 3. Repeat step 4 for HTML file, Stylesheet, Javascript file and Other >> All should be good so far and correct filters should be shown. >> >> 4. In project browser >> - right click 'Sources' >> - select 'New' >> - select 'Module' >> - Click tab 'Existing' >> - 'Images files (*.png,*jpg,..) is the WRONG filter set!! >> 5. Repeat step 2 for Class, Form and Report (if gb.report activated) >> You see what goes wrong in the filter. >> This time the filters of Data are kept. >> >> So, filters seem to depend on if you first right clicked 'Sources' or >> 'Data' in the Project browser. >> > I fixed the behaviour of that dialog in revision #6522. If you can tell me if it is ok for you... -- Beno?t Minisini From willy at ...2734... Thu Oct 9 02:46:35 2014 From: willy at ...2734... (Willy Raets) Date: Thu, 09 Oct 2014 02:46:35 +0200 Subject: [Gambas-user] Possible bug in IDE In-Reply-To: <5435CBDC.40409@...1...> References: <1412780000.3173.21.camel@...3024...> <5435A95B.6000509@...626...> <5435CBDC.40409@...1...> Message-ID: <1412815595.3230.15.camel@...3024...> On do, 2014-10-09 at 01:42 +0200, Beno?t Minisini wrote: > Le 08/10/2014 23:15, T Lee Davidson a ?crit : > > Confirmed with v3.5.4. Except simply opening another project with > > File->Open_project does not clear the incorrect filters. I have to Quit > > and re-launch Gambas to clear them. > > > > > > On 10/08/2014 10:53 AM, Willy Raets wrote: > >> Try this at home and see what goes wrong. > >> Both 3.5.4 and 3.5.90 (rev#6521) show this behaviour. > >> > >> 1. Open a project in IDE > >> 2. In project browser > >> - right click 'Sources' > >> - select 'New' > >> - select 'Module' > >> - Click tab 'Existing' > >> - 'Gambas modules (*.module) is the correct filter set > >> 3. Repeat step 2 for Class, Form and Report (if gb.report activated) > >> All should be good so far and correct filters should be shown. > >> > >> 4. In Project browser > >> - right click 'Data' > >> - select 'New' > >> - select 'Image' > >> - click tab 'Existing' > >> - 'Gambas modules (*.module) is the WRONG filter set!! > >> 5. Repeat step 4 for HTML file, Stylesheet, Javascript file and Other > >> You see what goes wrong in the filter. > >> Somehow the filters of Sources are kept. > >> > >> No to make it even odder try this: > >> 1. Open ANOTHER project in IDE (important) > >> 2. In Project browser > >> - right click 'Data' > >> - select 'New' > >> - select 'Image' > >> - click tab 'Existing' > >> - 'Images files (*.png,*jpg,..) is the correct filter set > >> 3. Repeat step 4 for HTML file, Stylesheet, Javascript file and Other > >> All should be good so far and correct filters should be shown. > >> > >> 4. In project browser > >> - right click 'Sources' > >> - select 'New' > >> - select 'Module' > >> - Click tab 'Existing' > >> - 'Images files (*.png,*jpg,..) is the WRONG filter set!! > >> 5. Repeat step 2 for Class, Form and Report (if gb.report activated) > >> You see what goes wrong in the filter. > >> This time the filters of Data are kept. > >> > >> So, filters seem to depend on if you first right clicked 'Sources' or > >> 'Data' in the Project browser. > >> > > > > I fixed the behaviour of that dialog in revision #6522. If you can tell > me if it is ok for you... I'll check as soon as Daily builds PPA is updated to rev. #6522 and report back. Thanks. -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From chrisml at ...3340... Thu Oct 9 10:37:30 2014 From: chrisml at ...3340... (Christof Thalhofer) Date: Thu, 09 Oct 2014 10:37:30 +0200 Subject: [Gambas-user] Gambas daily Debian packages require 3.6 Message-ID: <5436494A.8040005@...3340...> Hi, when creating .deb packages with Gambas3 from daily ppa they will not be installed by apt because they depend on version 3.6. From gambas at ...1... Thu Oct 9 10:55:51 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 09 Oct 2014 10:55:51 +0200 Subject: [Gambas-user] Gambas daily Debian packages require 3.6 In-Reply-To: <5436494A.8040005@...3340...> References: <5436494A.8040005@...3340...> Message-ID: <54364D97.5090708@...1...> Le 09/10/2014 10:37, Christof Thalhofer a ?crit : > Hi, > > when creating .deb packages with Gambas3 from daily ppa they will not be > installed by apt because they depend on version 3.6. > > From Debian INFO inside the package: > >> Depends: gambas3-runtime (>= 3.6), gambas3-runtime (<< 3.99.0), >> gambas3-gb-image (>= 3.6), gambas3-gb-image (<< 3.99.0), >> gambas3-gb-qt4 (>= 3.6), gambas3-gb-qt4 (<< 3.99.0), gambas3-gb-form >> (>= 3.6), gambas 3-gb-form (<< 3.99.0), gambas3-gb-compress (>= 3.6), >> gambas3-gb-compress (<< 3.99.0), gambas3-gb-crypt (>= 3.6), >> gambas3-gb-crypt (<< 3.99.0), gambas3-gb-data (>= 3.6), >> gambas3-gb-data (<< 3.99.0), gambas3-g b-db (>= 3.6), gambas3-gb-db >> (<< 3.99.0), gambas3-gb-db-postgresql (>= 3.6), >> gambas3-gb-db-postgresql (<< 3.99.0), gambas3-gb-form-dialog (>= >> 3.6), gambas3-gb-form-dialog (<< 3.99.0), gambas3-gb-settings (>= >> 3.6), gambas3-gb-settings (<< 3.99.0), gambas3-gb-form-mdi (>= 3.6), >> gambas3-gb-form-mdi (<< 3.99.0), gambas3-gb-form-stock (>= 3.6), >> gambas3-gb-form-stock (<< 3.99.0), gambas3-gb-net (>= 3.6), >> gambas3-gb-n et (<< 3.99.0), gambas3-gb-net-curl (>= 3.6), >> gambas3-gb-net-curl (<< 3.99.0), gambas3-gb-openssl (>= 3.6), >> gambas3-gb-openssl (<< 3.99.0), gambas3-gb-pcre (>= 3.6), >> gambas3-gb-pcre (<< 3.99.0), gambas3-gb-q t4-ext (>= 3.6), >> gambas3-gb-qt4-ext (<< 3.99.0), gambas3-gb-qt4-webkit (>= 3.6), >> gambas3-gb-qt4-webkit (<< 3.99.0), gambas3-gb-report (>= 3.6), >> gambas3-gb-report (<< 3.99.0) > > The same that produces this is version: > Version: 3.5.99.1+svn20141009+build16~ubuntu14.04.1 > > > Alles Gute > > Christof Thalhofer > It's normal, 3.6 will be released soon. Revert to an older package version if possible (I don't know), or don't use ppa for making packages of your app. Regards, -- Beno?t Minisini From chrisml at ...3340... Thu Oct 9 11:02:22 2014 From: chrisml at ...3340... (Christof Thalhofer) Date: Thu, 09 Oct 2014 11:02:22 +0200 Subject: [Gambas-user] Gambas daily Debian packages require 3.6 In-Reply-To: <54364D97.5090708@...1...> (sfid-) References: <5436494A.8040005@...3340...> <54364D97.5090708@...1...> (sfid-) Message-ID: <54364F1E.9020404@...3340...> Am 09.10.2014 um 10:55 schrieb Beno?t Minisini: > It's normal, 3.6 will be released soon. Revert to an older package > version if possible (I don't know), or don't use ppa for making packages > of your app. Ok, no problem. I'll wait. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From chrisml at ...3340... Thu Oct 9 11:02:58 2014 From: chrisml at ...3340... (Christof Thalhofer) Date: Thu, 09 Oct 2014 11:02:58 +0200 Subject: [Gambas-user] Question on ComboBox In-Reply-To: <5433EB68.4080907@...3340...> (sfid-) References: <1412675853.3168.21.camel@...3024...> <1412676802.3168.26.camel@...3024...> <5433D0F9.2010001@...1...> (sfid-) <5433EB68.4080907@...3340...> (sfid-) Message-ID: <54364F42.6030007@...3340...> Hi I saw, there was an error in my code (F4 did not work), here it is fixed. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: DegComboBox-0.0.1-2.tar.gz Type: application/gzip Size: 8610 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From jscops at ...11... Thu Oct 9 11:15:25 2014 From: jscops at ...11... (Jack) Date: Thu, 09 Oct 2014 11:15:25 +0200 Subject: [Gambas-user] Question on ComboBox In-Reply-To: <54364F42.6030007@...3340...> References: <1412675853.3168.21.camel@...3024...> <1412676802.3168.26.camel@...3024...> <5433D0F9.2010001@...1...> (sfid-) <5433EB68.4080907@...3340...> (sfid-) <54364F42.6030007@...3340...> Message-ID: <5436522D.6080708@...11...> Le 09/10/2014 11:02, Christof Thalhofer a ?crit : > Hi > > I saw, there was an error in my code (F4 did not work), here it is fixed. > you need to use key.delete instead of key.del -- Cordialement Jacky Tripoteau From chrisml at ...3340... Thu Oct 9 13:15:56 2014 From: chrisml at ...3340... (Christof Thalhofer) Date: Thu, 09 Oct 2014 13:15:56 +0200 Subject: [Gambas-user] Question on ComboBox In-Reply-To: <5436522D.6080708@...11...> (sfid-) References: <1412675853.3168.21.camel@...3024...> <1412676802.3168.26.camel@...3024...> <5433D0F9.2010001@...1...> (sfid-) <5433EB68.4080907@...3340...> (sfid-) <54364F42.6030007@...3340...> <5436522D.6080708@...11...> (sfid-) Message-ID: <54366E6C.1030104@...3340...> Hi, Am 09.10.2014 um 11:15 schrieb Jack: > you need to use key.delete instead of key.del Ok, thanks :-) Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From willy at ...2734... Thu Oct 9 18:04:21 2014 From: willy at ...2734... (Willy Raets) Date: Thu, 09 Oct 2014 18:04:21 +0200 Subject: [Gambas-user] Possible bug in IDE In-Reply-To: <5435CBDC.40409@...1...> References: <1412780000.3173.21.camel@...3024...> <5435A95B.6000509@...626...> <5435CBDC.40409@...1...> Message-ID: <1412870661.3575.0.camel@...3024...> On do, 2014-10-09 at 01:42 +0200, Beno?t Minisini wrote: > Le 08/10/2014 23:15, T Lee Davidson a ?crit : > > Confirmed with v3.5.4. Except simply opening another project with > > File->Open_project does not clear the incorrect filters. I have to Quit > > and re-launch Gambas to clear them. > > > > > > On 10/08/2014 10:53 AM, Willy Raets wrote: > >> Try this at home and see what goes wrong. > >> Both 3.5.4 and 3.5.90 (rev#6521) show this behaviour. > >> > >> 1. Open a project in IDE > >> 2. In project browser > >> - right click 'Sources' > >> - select 'New' > >> - select 'Module' > >> - Click tab 'Existing' > >> - 'Gambas modules (*.module) is the correct filter set > >> 3. Repeat step 2 for Class, Form and Report (if gb.report activated) > >> All should be good so far and correct filters should be shown. > >> > >> 4. In Project browser > >> - right click 'Data' > >> - select 'New' > >> - select 'Image' > >> - click tab 'Existing' > >> - 'Gambas modules (*.module) is the WRONG filter set!! > >> 5. Repeat step 4 for HTML file, Stylesheet, Javascript file and Other > >> You see what goes wrong in the filter. > >> Somehow the filters of Sources are kept. > >> > >> No to make it even odder try this: > >> 1. Open ANOTHER project in IDE (important) > >> 2. In Project browser > >> - right click 'Data' > >> - select 'New' > >> - select 'Image' > >> - click tab 'Existing' > >> - 'Images files (*.png,*jpg,..) is the correct filter set > >> 3. Repeat step 4 for HTML file, Stylesheet, Javascript file and Other > >> All should be good so far and correct filters should be shown. > >> > >> 4. In project browser > >> - right click 'Sources' > >> - select 'New' > >> - select 'Module' > >> - Click tab 'Existing' > >> - 'Images files (*.png,*jpg,..) is the WRONG filter set!! > >> 5. Repeat step 2 for Class, Form and Report (if gb.report activated) > >> You see what goes wrong in the filter. > >> This time the filters of Data are kept. > >> > >> So, filters seem to depend on if you first right clicked 'Sources' or > >> 'Data' in the Project browser. > >> > > > > I fixed the behaviour of that dialog in revision #6522. If you can tell > me if it is ok for you... > I can confirm it is fixed. Thanks again. -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From charlie at ...2793... Thu Oct 9 23:18:05 2014 From: charlie at ...2793... (Charlie) Date: Thu, 9 Oct 2014 14:18:05 -0700 (MST) Subject: [Gambas-user] IDE feature request Message-ID: <1412889485009-48657.post@...3046...> I like the IDE *[Ctrl] + H* and *[Ctrl] + J* split screen options.Getting back to the *No split* screen seems to require *Right click> Advanced > View > No Split.*Would it be possible to have a shortcut key to return to *No split*?Thanks,Charlie -- View this message in context: http://gambas.8142.n7.nabble.com/IDE-feature-request-tp48657.html Sent from the gambas-user mailing list archive at Nabble.com. From taboege at ...626... Thu Oct 9 23:29:33 2014 From: taboege at ...626... (Tobias Boege) Date: Thu, 9 Oct 2014 23:29:33 +0200 Subject: [Gambas-user] IDE feature request In-Reply-To: <1412889485009-48657.post@...3046...> References: <1412889485009-48657.post@...3046...> Message-ID: <20141009212933.GA763@...2774...> On Thu, 09 Oct 2014, Charlie wrote: > I like the IDE *[Ctrl] + H* and *[Ctrl] + J* split screen options.Getting > back to the *No split* screen seems to require *Right click> Advanced > View > > No Split.*Would it be possible to have a shortcut key to return to *No > split*?Thanks,Charlie > Apparently these are "toggle" keys. Ctrl+H to horizontally split, Ctrl+H again to unsplit. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Thu Oct 9 23:33:57 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 09 Oct 2014 23:33:57 +0200 Subject: [Gambas-user] IDE feature request In-Reply-To: <1412889485009-48657.post@...3046...> References: <1412889485009-48657.post@...3046...> Message-ID: <5436FF45.1000701@...1...> Le 09/10/2014 23:18, Charlie a ?crit : > I like the IDE *[Ctrl] + H* and *[Ctrl] + J* split screen options.Getting > back to the *No split* screen seems to require *Right click> Advanced > View >> No Split.*Would it be possible to have a shortcut key to return to *No > split*?Thanks,Charlie > Click on CTRL+H and CTRL+J again. -- Beno?t Minisini From gambas at ...1... Thu Oct 9 23:37:42 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 09 Oct 2014 23:37:42 +0200 Subject: [Gambas-user] print resolution issues In-Reply-To: <5435643A.80805@...981...> References: <5435643A.80805@...981...> Message-ID: <54370026.10200@...1...> Le 08/10/2014 18:20, Paul Horechuk a ?crit : > I have a successful project that formats a sheet of labels on an Avery > form and prints directly to an HP OfficeJet 7500 E910. > > I set the printer width to 850 and length to 1100 with a resolution of > 100. These may not be correct for all (PrinterWidth and length are seen > as 216 by 279mm), but by setting moveto coordinates within this range, I > do get a correct sheet of labels. > > Problems: > > On a customer printer with the same version of gambas 3.5.4, the > coordinates are stretched so that the labels are stretched by about 50%. > This is on a Canon Pixma. > > Further checking shows a print to file (as PDF) from the printer dialog, > resulting in: > > * vertical resolution is about 1/4 of what it should be > * fonts are correctly sized > * horizontal positioning is about 1/4 as well > * therefore all text is compressed into the upper left > * a QR code is about 1/4 the expected size > > > Changing the resolution for a direct print to Pixma has no effect. > Changing from 100 to 75 or to 150, results in the same stretched > printout. This works as expected on the HP. > > Suggestions? > The first thing I can quicky tell you: you must not use the printer resolution when drawing on a printer. If you use it, then something is doomed in your drawing routine, unless you want to draw at the pixel level, for example the thinest possible line (one pixel). Then you need the printer resolution, but this is the only case. Otherwise, in all normal printing routines, printer resolution is not needed. But maybe I didn't understand what you wrote... -- Beno?t Minisini From t.lee.davidson at ...626... Fri Oct 10 00:04:10 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Thu, 09 Oct 2014 18:04:10 -0400 Subject: [Gambas-user] Paint misbehaves on QT when a ValueBox.value is changed (v3.5.4) Message-ID: <5437065A.3090601@...626...> If a form's ValueBox.value is modified, subsequent Paint'ing on a cached DrawingArea of the form doesn't produce the draw when the gb.qt4 component is loaded. It does work if, instead, the gb.gtk component is manually selected in the project. Trying to set the focus back to the DrawingArea, "DrawingArea1.SetFocus", after modifying the ValueBox.value did not help. I have attached an archive of a sample project that shows this. Also, the sample project contains two methods to clear the DrawingArea, because what works for GTK does not work for QT. Is this a bug, or am I doing something wrong? Thanks for any help, Lee P.S. "System informations" reports the Theme as "Oxygen" no matter what desktop theme I have enabled. I have tried the sample project with Air, Aya, Oxygen, and QtCurve-Luna. [System] Gambas=3.5.4 OperatingSystem=Linux Kernel=3.10.54-desktop-2.mga3 Architecture=x86 Distribution=Mageia 3 Desktop=KDE4 Theme=Oxygen Language=en_US.UTF-8 Memory=1005M [Libraries] Cairo=libcairo.so.2.11200.12 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.5.0 GTK+=libgtk-x11-2.0.so.0.2400.17 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.34.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 -------------- next part -------------- A non-text attachment was scrubbed... Name: DrawingTest-0.0.1.tar.gz Type: application/x-gzip Size: 5379 bytes Desc: not available URL: From sebikul at ...626... Fri Oct 10 00:52:11 2014 From: sebikul at ...626... (Sebastian Kulesz) Date: Thu, 9 Oct 2014 19:52:11 -0300 Subject: [Gambas-user] Gambas daily Debian packages require 3.6 In-Reply-To: <54364F1E.9020404@...3340...> References: <5436494A.8040005@...3340...> <54364D97.5090708@...1...> <54364F1E.9020404@...3340...> Message-ID: I just updated the PPA to use the new 3.6.99 unstable version. This should fix your problem Christof. Packages are now versioned using the svn revision (i.e gambas3 - 3.6.99+svn6523+build47~ubuntu12.04.1), so this should make it easier to report new bugs and inform the revision being used. On Thu, Oct 9, 2014 at 6:02 AM, Christof Thalhofer wrote: > Am 09.10.2014 um 10:55 schrieb Beno?t Minisini: > > > It's normal, 3.6 will be released soon. Revert to an older package > > version if possible (I don't know), or don't use ppa for making packages > > of your app. > > Ok, no problem. I'll wait. > > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From charlie at ...2793... Fri Oct 10 01:06:23 2014 From: charlie at ...2793... (Charlie) Date: Thu, 9 Oct 2014 16:06:23 -0700 (MST) Subject: [Gambas-user] IDE feature request In-Reply-To: <5436FF45.1000701@...1...> References: <1412889485009-48657.post@...3046...> <5436FF45.1000701@...1...> Message-ID: <1412895983525-48663.post@...3046...> Thanks but I tried that. If the screen is split horizontally then *[Ctrl] + H does nothing. Pressing [Ctrl] +J will change it to vertical split but nothing I have found will change it to No split. -- View this message in context: http://gambas.8142.n7.nabble.com/IDE-feature-request-tp48657p48663.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Fri Oct 10 01:14:23 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 10 Oct 2014 01:14:23 +0200 Subject: [Gambas-user] Gambas daily Debian packages require 3.6 In-Reply-To: References: <5436494A.8040005@...3340...> <54364D97.5090708@...1...> <54364F1E.9020404@...3340...> Message-ID: <543716CF.2050104@...1...> Le 10/10/2014 00:52, Sebastian Kulesz a ?crit : > I just updated the PPA to use the new 3.6.99 unstable version. This should > fix your problem Christof. The version number for the next unstable version is 3.6.90, not 3.6.99. > Packages are now versioned using the svn revision (i.e gambas3 > - 3.6.99+svn6523+build47~ubuntu12.04.1), so this should make it easier to > report new bugs and inform the revision being used. Good idea! -- Beno?t Minisini From gambas at ...1... Fri Oct 10 01:32:10 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 10 Oct 2014 01:32:10 +0200 Subject: [Gambas-user] Paint misbehaves on QT when a ValueBox.value is changed (v3.5.4) In-Reply-To: <5437065A.3090601@...626...> References: <5437065A.3090601@...626...> Message-ID: <54371AFA.6060901@...1...> Le 10/10/2014 00:04, T Lee Davidson a ?crit : > If a form's ValueBox.value is modified, subsequent Paint'ing on a cached > DrawingArea of the form doesn't produce the draw when the gb.qt4 > component is loaded. It does work if, instead, the gb.gtk component is > manually selected in the project. Trying to set the focus back to the > DrawingArea, "DrawingArea1.SetFocus", after modifying the ValueBox.value > did not help. > > I have attached an archive of a sample project that shows this. > > Also, the sample project contains two methods to clear the DrawingArea, > because what works for GTK does not work for QT. > > Is this a bug, or am I doing something wrong? > > > Thanks for any help, > Lee > > I saw no problem in the drawing, whatever the GUI component (gb.qt4, gb.gtk or gb.gtk3). But I saw that there are bugs in DrawingArea.Clear() in all components! Regards, -- Beno?t Minisini From sebikul at ...626... Fri Oct 10 02:07:26 2014 From: sebikul at ...626... (Sebastian Kulesz) Date: Thu, 9 Oct 2014 21:07:26 -0300 Subject: [Gambas-user] Gambas daily Debian packages require 3.6 In-Reply-To: <543716CF.2050104@...1...> References: <5436494A.8040005@...3340...> <54364D97.5090708@...1...> <54364F1E.9020404@...3340...> <543716CF.2050104@...1...> Message-ID: On Thu, Oct 9, 2014 at 8:14 PM, Beno?t Minisini < gambas at ...1...> wrote: > Le 10/10/2014 00:52, Sebastian Kulesz a ?crit : > > I just updated the PPA to use the new 3.6.99 unstable version. This > should > > fix your problem Christof. > > The version number for the next unstable version is 3.6.90, not 3.6.99. > For some reason i've been using that number for unstable releases for some time now. Is there really a reason to fix it? Being a lower version number, i would have to delete and rebuild all the packages. I have also added Utopic packages to prepare for it's stable release. If somebody is up for testing you can start using it now. Please report if everything works! > > > Packages are now versioned using the svn revision (i.e gambas3 > > - 3.6.99+svn6523+build47~ubuntu12.04.1), so this should make it easier to > > report new bugs and inform the revision being used. > > Good idea! > I wanted to do that since the beginning! It was a bug [0] with launchpad build system that went unfixed for two years that prevented me doing that. Because of the lower version number that the change would induce, i had to wait until now to implement it. ;) [0] https://bugs.launchpad.net/launchpad-buildd/+bug/915505 > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From kevinfishburne at ...1887... Fri Oct 10 03:55:38 2014 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Thu, 09 Oct 2014 21:55:38 -0400 Subject: [Gambas-user] "search" and "search & replace" work on any file in project directory Message-ID: <54373C9A.7070108@...1887...> I have static game data in my project directory so it'll be contained within the compiled .gambas executable. When I use "Search" or "Search & Replace" it goes though Wavefront obj model files, wav files, etc., which is a bit dangerous as well as slow. Perhaps GAMBAS should only perform these operations on files contained within the "Sources" section of the main project tree (the leftmost pane in the IDE), ignoring those in the "Project" and "Data" sections. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From t.lee.davidson at ...626... Fri Oct 10 05:40:38 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Thu, 09 Oct 2014 23:40:38 -0400 Subject: [Gambas-user] Paint misbehaves on QT when a ValueBox.value is changed (v3.5.4) In-Reply-To: <54371AFA.6060901@...1...> References: <5437065A.3090601@...626...> <54371AFA.6060901@...1...> Message-ID: <54375536.8070201@...626...> On 10/09/2014 07:32 PM, Beno?t Minisini wrote: > Le 10/10/2014 00:04, T Lee Davidson a ?crit : >> If a form's ValueBox.value is modified, subsequent Paint'ing on a cached >> DrawingArea of the form doesn't produce the draw when the gb.qt4 >> component is loaded. It does work if, instead, the gb.gtk component is >> manually selected in the project. Trying to set the focus back to the >> DrawingArea, "DrawingArea1.SetFocus", after modifying the ValueBox.value >> did not help. >> >> I have attached an archive of a sample project that shows this. >> >> Also, the sample project contains two methods to clear the DrawingArea, >> because what works for GTK does not work for QT. >> >> Is this a bug, or am I doing something wrong? >> >> >> Thanks for any help, >> Lee >> >> > > I saw no problem in the drawing, whatever the GUI component (gb.qt4, > gb.gtk or gb.gtk3). But I saw that there are bugs in DrawingArea.Clear() > in all components! > > Regards, > Well that's a little disappointing that you weren't able to replicate the issue on your system. On mine, the red line is drawn and then when it comes time for the blue line to be drawn, the red line disappears as if the DrawingArea has been cleared. It's a mystery to me. But, thank you for looking into it. Lee From chrisml at ...3340... Fri Oct 10 06:28:51 2014 From: chrisml at ...3340... (Christof Thalhofer) Date: Fri, 10 Oct 2014 06:28:51 +0200 Subject: [Gambas-user] Gambas daily Debian packages require 3.6 In-Reply-To: (sfid-) References: <5436494A.8040005@...3340...> <54364D97.5090708@...1...> <54364F1E.9020404@...3340...> (sfid-) Message-ID: <54376083.8050300@...3340...> Good Morning Sebastian! Am 10.10.2014 um 00:52 schrieb Sebastian Kulesz: > I just updated the PPA to use the new 3.6.99 unstable version. This should > fix your problem Christof. Super, thank you! But now I'm unsure weather to pull them, because if you switch back to 3.6.90 as Beno?t wanted, I am in the same situation as I am now. Then I have here software written in 3.6.99 which depends on at least 3.6.99 but 3.6.90 installed. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From pata.karlsson at ...626... Fri Oct 10 06:53:24 2014 From: pata.karlsson at ...626... (Patrik Karlsson) Date: Fri, 10 Oct 2014 06:53:24 +0200 Subject: [Gambas-user] IDE feature request In-Reply-To: <1412895983525-48663.post@...3046...> References: <1412889485009-48657.post@...3046...> <5436FF45.1000701@...1...> <1412895983525-48663.post@...3046...> Message-ID: I have the same problem as you. Reported it on this list some time ago. Patrik From bagoneo at ...69... Fri Oct 10 11:04:03 2014 From: bagoneo at ...69... (Gian) Date: Fri, 10 Oct 2014 11:04:03 +0200 Subject: [Gambas-user] print resolution issues In-Reply-To: <54370026.10200@...1...> References: <5435643A.80805@...981...> <54370026.10200@...1...> Message-ID: <5437A103.9050806@...69...> Hello Paul, attached two small demonstrations that might inspire you. gianluigi > Le 08/10/2014 18:20, Paul Horechuk a ?crit : >> I have a successful project that formats a sheet of labels on an Avery >> form and prints directly to an HP OfficeJet 7500 E910. >> >> I set the printer width to 850 and length to 1100 with a resolution of >> 100. These may not be correct for all (PrinterWidth and length are seen >> as 216 by 279mm), but by setting moveto coordinates within this range, I >> do get a correct sheet of labels. >> >> Problems: >> >> On a customer printer with the same version of gambas 3.5.4, the >> coordinates are stretched so that the labels are stretched by about 50%. >> This is on a Canon Pixma. >> >> Further checking shows a print to file (as PDF) from the printer dialog, >> resulting in: >> >> * vertical resolution is about 1/4 of what it should be >> * fonts are correctly sized >> * horizontal positioning is about 1/4 as well >> * therefore all text is compressed into the upper left >> * a QR code is about 1/4 the expected size >> >> >> Changing the resolution for a direct print to Pixma has no effect. >> Changing from 100 to 75 or to 150, results in the same stretched >> printout. This works as expected on the HP. >> >> Suggestions? >> > The first thing I can quicky tell you: you must not use the printer > resolution when drawing on a printer. > > If you use it, then something is doomed in your drawing routine, unless > you want to draw at the pixel level, for example the thinest possible > line (one pixel). Then you need the printer resolution, but this is the > only case. > > Otherwise, in all normal printing routines, printer resolution is not > needed. > > But maybe I didn't understand what you wrote... > -------------- next part -------------- A non-text attachment was scrubbed... Name: QT_Graphics.tar.gz Type: application/gzip Size: 10750 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: GTK_Graphics.tar.gz Type: application/gzip Size: 10174 bytes Desc: not available URL: From t.lee.davidson at ...626... Fri Oct 10 18:13:33 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Fri, 10 Oct 2014 12:13:33 -0400 Subject: [Gambas-user] Paint misbehaves on QT when a ValueBox.value is changed (v3.5.4) In-Reply-To: <54371AFA.6060901@...1...> References: <5437065A.3090601@...626...> <54371AFA.6060901@...1...> Message-ID: <543805AD.60100@...626...> On 10/09/2014 07:32 PM, Beno?t Minisini wrote: > Le 10/10/2014 00:04, T Lee Davidson a ?crit : >> If a form's ValueBox.value is modified, subsequent Paint'ing on a cached >> DrawingArea of the form doesn't produce the draw when the gb.qt4 >> component is loaded. It does work if, instead, the gb.gtk component is >> manually selected in the project. Trying to set the focus back to the >> DrawingArea, "DrawingArea1.SetFocus", after modifying the ValueBox.value >> did not help. >> >> I have attached an archive of a sample project that shows this. >> >> Also, the sample project contains two methods to clear the DrawingArea, >> because what works for GTK does not work for QT. >> >> Is this a bug, or am I doing something wrong? >> >> >> Thanks for any help, >> Lee >> >> > > I saw no problem in the drawing, whatever the GUI component (gb.qt4, > gb.gtk or gb.gtk3). But I saw that there are bugs in DrawingArea.Clear() > in all components! > > Regards, > I have found that, on my system, modifying the value of a TextBox also causes this behavior. However... If I use DrawingArea1.Show after modifying a text or value box, the drawing does indeed show correctly after the method terminates and returns control to the main loop (even though it does not appear to be drawing correctly during the procedure itself). [code] Public Sub btnDraw_Click() 'Line 1 Paint.Begin(DrawingArea1) Paint.Brush = Paint.Color(Color.RGB(255, 0, 0)) Paint.LineWidth = 5 Paint.MoveTo(10, DrawingArea1.Height / 3) Paint.LineTo(DrawingArea1.Width - 10, DrawingArea1.Height / 3) Paint.Stroke Paint.End Debug "Drew red line. Sleeping 2." Sleep 2 ValueBox1.Value = Int(Rnd(100, 999)) '*** ' The line below makes the drawing show correctly after this ' method returns control to main loop. '*** DrawingArea1.Show 'Line 2 Paint.Begin(DrawingArea1) Paint.Brush = Paint.Color(Color.RGB(0, 0, 255)) Paint.LineWidth = 5 Paint.MoveTo(10, DrawingArea1.Height / 3 * 2) Paint.LineTo(DrawingArea1.Width - 10, DrawingArea1.Height / 3 * 2) Paint.Stroke Paint.End Debug "Drew blue line. Sleeping 2." Sleep 2 End [/code] From herberthguzman at ...626... Fri Oct 10 20:02:56 2014 From: herberthguzman at ...626... (herberth guzman) Date: Fri, 10 Oct 2014 12:02:56 -0600 Subject: [Gambas-user] Copy File or Directory (Gambas to Filemanger) Message-ID: Hello I want to tell you that Innova Desktop continues to work I'm debugging the code changing and improving some things. Innova Desktop by Benoit code has improved and changed considerably from version 0.365 to 0.437 current Launcher Panel Config (Sqlite and Settings) MyInnova Widgets I have a problem: I need to copy one (file or directory) from gambas3 and then paste it into any filemanager (nautilus, pcmanfm, dolphin) and also otherwise copy from any filemanger (nautilus, pcmanfm, dolphin) any (file or directory) on my desktop (Form Developed in Gambas3) Innova Desktop. NOT EXEC OR SHELL ["cp", user.home &/file.txt", User.Home &/ "Desktop"] COPY "USER.HOME &/file.txt" TO User.Home &/ "Desktop/" filemanager to gambas3 and gambas3 to filemanager but I can not. is this possible. Help please... Regards Herberth Guzman From gambas at ...1... Fri Oct 10 20:13:28 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 10 Oct 2014 20:13:28 +0200 Subject: [Gambas-user] "search" and "search & replace" work on any file in project directory In-Reply-To: <54373C9A.7070108@...1887...> References: <54373C9A.7070108@...1887...> Message-ID: <543821C8.7060008@...1...> Le 10/10/2014 03:55, Kevin Fishburne a ?crit : > I have static game data in my project directory so it'll be contained > within the compiled .gambas executable. When I use "Search" or "Search & > Replace" it goes though Wavefront obj model files, wav files, etc., > which is a bit dangerous as well as slow. Perhaps GAMBAS should only > perform these operations on files contained within the "Sources" section > of the main project tree (the leftmost pane in the IDE), ignoring those > in the "Project" and "Data" sections. > If it searches those files, this is because you explicitely asked to browse the entire project. But I agree, at the moment the IDE is stupid, as it should ignore non-text files... -- Beno?t Minisini From gambas at ...1... Fri Oct 10 20:22:16 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 10 Oct 2014 20:22:16 +0200 Subject: [Gambas-user] "search" and "search & replace" work on any file in project directory In-Reply-To: <543821C8.7060008@...1...> References: <54373C9A.7070108@...1887...> <543821C8.7060008@...1...> Message-ID: <543823D8.7010907@...1...> Le 10/10/2014 20:13, Beno?t Minisini a ?crit : > Le 10/10/2014 03:55, Kevin Fishburne a ?crit : >> I have static game data in my project directory so it'll be contained >> within the compiled .gambas executable. When I use "Search" or "Search & >> Replace" it goes though Wavefront obj model files, wav files, etc., >> which is a bit dangerous as well as slow. Perhaps GAMBAS should only >> perform these operations on files contained within the "Sources" section >> of the main project tree (the leftmost pane in the IDE), ignoring those >> in the "Project" and "Data" sections. >> > > If it searches those files, this is because you explicitely asked to > browse the entire project. But I agree, at the moment the IDE is stupid, > as it should ignore non-text files... > Fixed in revision #6527. Normally only text files are browsed. It is just that the routine detecting if a file is text or binary cannot be 100% accurate. Regards, -- Beno?t Minisini From horechuk at ...981... Fri Oct 10 21:11:04 2014 From: horechuk at ...981... (Paul Horechuk) Date: Fri, 10 Oct 2014 15:11:04 -0400 Subject: [Gambas-user] print resolution issues In-Reply-To: <54370026.10200@...1...> References: <5435643A.80805@...981...> <54370026.10200@...1...> Message-ID: <54382F48.9090309@...981...> Aparantly, I am trying to draw a the pixel level as I want to precisely position the contents of each label. I open the printer as a drawng area, as in: Public Sub MyPrinter_Begin() ' Only 1 page for now MyPrinter.Count = 1 MyPrinter.Resolution = 100 ' Set to 100 works great. 300 shrinks the print coordinates to 1/3 MyPrinter.FullPage = True End Paint.Begin(MyPrinter) 'Initialize the new DrawingArea to the papersize 'This print routine is designed for Avery #5371 dArea.Width = myPrinter.PaperWidth dArea.Height = myPrinter.PaperHeight ' The size is always returned as millimetres 'Use Cached = True so we can send commands directly to the drawingarea dArea.Cached = True Counter = 1 'Play with the Row, LeftColumn, and RightColumn values if different Avery stock is used. Row = 80 'These values are based on 850x1100, as in 8.5"x11" @ 100 dpi LeftColumn = 68 RightColumn = 420 ' Increment this by 200 for each label. Column = LeftColumn ' toggle between Left and Right for the 2 columns 'Still can't set the font to a particular font, such as Lucidia or Times New Roman, etc. 'It may require a configuration using the FontSelector. 'For now we select the Serif version of the current font. 'Note the documented Font[type, size] does not allow the size parameter. Paint.Font = Font["Serif"] Paint.Font.Bold = False ' Neither does this. All fonts seem too bold QRcounter = Val(TextBox1.Text) ' Get the starting code While Counter <= Val(TextBox2.Text) ' Are we done? ' Set the file to load QRfile = "/tmp/tmpQR" & Str$(QRcounter) & ".png" 'The ImageLoad loads the file as a brush and we have to draw it at the coordinate in a particular size Paint.DrawImage(Image.Load(QRfile), Column + 225, Row - 30, 120, 120) ' These values are offsets from the top left of each label. 'Set the font size for the special Master of the system Paint.Font.Size = 20 Paint.Text("some text", Column, Row) Paint.Font.Size = 12 ... etc. 'Done with this card Counter = Counter + 1 QRcounter = QRcounter + 1 'For a 2x8 arrangement, we switch to the second column, or if we are just finishing the second 'switch back to the first If Column = LeftColumn Then Column = RightColumn Else 'We switched back so now we need the next Row Column = LeftColumn Row = Row + 200 'Play with this to adjust for other Avery form card heights End If Wend 'Make sure everything has been set and locked to the DrawingArea Paint.Stroke 'The page is done Paint.End End Hope this helps. As I mentioned, this process works for the HP, but doesn't seem to be transportable. On 14-10-09 05:37 PM, Beno?t Minisini wrote: > Le 08/10/2014 18:20, Paul Horechuk a ?crit : >> I have a successful project that formats a sheet of labels on an Avery >> form and prints directly to an HP OfficeJet 7500 E910. >> >> I set the printer width to 850 and length to 1100 with a resolution of >> 100. These may not be correct for all (PrinterWidth and length are seen >> as 216 by 279mm), but by setting moveto coordinates within this range, I >> do get a correct sheet of labels. >> >> Problems: >> >> On a customer printer with the same version of gambas 3.5.4, the >> coordinates are stretched so that the labels are stretched by about 50%. >> This is on a Canon Pixma. >> >> Further checking shows a print to file (as PDF) from the printer dialog, >> resulting in: >> >> * vertical resolution is about 1/4 of what it should be >> * fonts are correctly sized >> * horizontal positioning is about 1/4 as well >> * therefore all text is compressed into the upper left >> * a QR code is about 1/4 the expected size >> >> >> Changing the resolution for a direct print to Pixma has no effect. >> Changing from 100 to 75 or to 150, results in the same stretched >> printout. This works as expected on the HP. >> >> Suggestions? >> > The first thing I can quicky tell you: you must not use the printer > resolution when drawing on a printer. > > If you use it, then something is doomed in your drawing routine, unless > you want to draw at the pixel level, for example the thinest possible > line (one pixel). Then you need the printer resolution, but this is the > only case. > > Otherwise, in all normal printing routines, printer resolution is not > needed. > > But maybe I didn't understand what you wrote... > -- Think Free ... Use Open Source Software From horechuk at ...981... Fri Oct 10 21:12:09 2014 From: horechuk at ...981... (Paul Horechuk) Date: Fri, 10 Oct 2014 15:12:09 -0400 Subject: [Gambas-user] print resolution issues In-Reply-To: <5437A103.9050806@...69...> References: <5435643A.80805@...981...> <54370026.10200@...1...> <5437A103.9050806@...69...> Message-ID: <54382F89.7080605@...981...> Thanks. I'll check them out. On 14-10-10 05:04 AM, Gian wrote: > Hello Paul, > > attached two small demonstrations that might inspire you. > gianluigi > > > >> Le 08/10/2014 18:20, Paul Horechuk a ?crit : >>> I have a successful project that formats a sheet of labels on an Avery >>> form and prints directly to an HP OfficeJet 7500 E910. >>> >>> I set the printer width to 850 and length to 1100 with a resolution of >>> 100. These may not be correct for all (PrinterWidth and length are seen >>> as 216 by 279mm), but by setting moveto coordinates within this >>> range, I >>> do get a correct sheet of labels. >>> >>> Problems: >>> >>> On a customer printer with the same version of gambas 3.5.4, the >>> coordinates are stretched so that the labels are stretched by about >>> 50%. >>> This is on a Canon Pixma. >>> >>> Further checking shows a print to file (as PDF) from the printer >>> dialog, >>> resulting in: >>> >>> * vertical resolution is about 1/4 of what it should be >>> * fonts are correctly sized >>> * horizontal positioning is about 1/4 as well >>> * therefore all text is compressed into the upper left >>> * a QR code is about 1/4 the expected size >>> >>> >>> Changing the resolution for a direct print to Pixma has no effect. >>> Changing from 100 to 75 or to 150, results in the same stretched >>> printout. This works as expected on the HP. >>> >>> Suggestions? >>> >> The first thing I can quicky tell you: you must not use the printer >> resolution when drawing on a printer. >> >> If you use it, then something is doomed in your drawing routine, unless >> you want to draw at the pixel level, for example the thinest possible >> line (one pixel). Then you need the printer resolution, but this is the >> only case. >> >> Otherwise, in all normal printing routines, printer resolution is not >> needed. >> >> But maybe I didn't understand what you wrote... >> > > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Think Free ... Use Open Source Software From bagoneo at ...69... Sat Oct 11 00:04:03 2014 From: bagoneo at ...69... (Gian) Date: Sat, 11 Oct 2014 00:04:03 +0200 Subject: [Gambas-user] print resolution issues In-Reply-To: <54382F89.7080605@...981...> References: <5435643A.80805@...981...> <54370026.10200@...1...> <5437A103.9050806@...69...> <54382F89.7080605@...981...> Message-ID: <543857D3.6010400@...69...> Sorry but for my scarce English I did not understand how did you print to your HP. Anyway , I think that if you want to get the same proportions between what you see on the screen and what you print (with millimeter accuracy), have to look to compensation factors. For example with the components gb.qt4 and gb.qt4.ext, I use 0.352778 for change mm in px, I use 72 for print resolution and I use the compensation factor for the font size (see my examples). hope that helps gianluigi PS: But I think that GTK not interested at the resolution. :-) Il 10/10/2014 21:12, Paul Horechuk ha scritto: > Thanks. I'll check them out. > > On 14-10-10 05:04 AM, Gian wrote: >> Hello Paul, >> >> attached two small demonstrations that might inspire you. >> gianluigi >> >> >> >>> Le 08/10/2014 18:20, Paul Horechuk a ?crit : >>>> I have a successful project that formats a sheet of labels on an Avery >>>> form and prints directly to an HP OfficeJet 7500 E910. >>>> >>>> I set the printer width to 850 and length to 1100 with a resolution of >>>> 100. These may not be correct for all (PrinterWidth and length are seen >>>> as 216 by 279mm), but by setting moveto coordinates within this >>>> range, I >>>> do get a correct sheet of labels. >>>> >>>> Problems: >>>> >>>> On a customer printer with the same version of gambas 3.5.4, the >>>> coordinates are stretched so that the labels are stretched by about >>>> 50%. >>>> This is on a Canon Pixma. >>>> >>>> Further checking shows a print to file (as PDF) from the printer >>>> dialog, >>>> resulting in: >>>> >>>> * vertical resolution is about 1/4 of what it should be >>>> * fonts are correctly sized >>>> * horizontal positioning is about 1/4 as well >>>> * therefore all text is compressed into the upper left >>>> * a QR code is about 1/4 the expected size >>>> >>>> >>>> Changing the resolution for a direct print to Pixma has no effect. >>>> Changing from 100 to 75 or to 150, results in the same stretched >>>> printout. This works as expected on the HP. >>>> >>>> Suggestions? >>>> >>> The first thing I can quicky tell you: you must not use the printer >>> resolution when drawing on a printer. >>> >>> If you use it, then something is doomed in your drawing routine, unless >>> you want to draw at the pixel level, for example the thinest possible >>> line (one pixel). Then you need the printer resolution, but this is the >>> only case. >>> >>> Otherwise, in all normal printing routines, printer resolution is not >>> needed. >>> >>> But maybe I didn't understand what you wrote... >>> >> >> >> ------------------------------------------------------------------------------ >> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer >> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports >> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper >> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer >> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk >> >> >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user From t.lee.davidson at ...626... Sat Oct 11 02:31:31 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Fri, 10 Oct 2014 20:31:31 -0400 Subject: [Gambas-user] Wow, Gambas is twice as fast as (Free) Pascal Message-ID: <54387A63.4060809@...626...> I've been looking at Lazarus lately due to its cross-platform compile ability. So... Just for fun I took the Polynom benchmark program from gambaswiki.org/wiki/doc/benchmark and converted it to Free Pascal; then compiled it with the Free Pascal Compiler ('fpc'). Much to my surprise, the *pre-compiled* Pascal program ran twice as slow as the Gambas program that was compiled on-the-fly: `time gbs3 -f -c polynom.gambas` 1250000 1250000 1250000 1250000 1250000 1250000 1250000 1250000 1250000 1250000 real 0m17.904s user 0m9.603s sys 0m0.052s Pre-compiled FP executable: `time ./polynom` 1.25000000000000E+006 1.25000000000000E+006 1.25000000000000E+006 1.25000000000000E+006 1.25000000000000E+006 1.25000000000000E+006 1.25000000000000E+006 1.25000000000000E+006 1.25000000000000E+006 1.25000000000000E+006 real 0m35.247s user 0m20.936s sys 0m0.032s Maybe it's just me, but I think that's impressive. Go Gambas! (Now if only we could target Mono ...) :-) Lee From gambas at ...1... Sat Oct 11 02:50:40 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 11 Oct 2014 02:50:40 +0200 Subject: [Gambas-user] Wow, Gambas is twice as fast as (Free) Pascal In-Reply-To: <54387A63.4060809@...626...> References: <54387A63.4060809@...626...> Message-ID: <54387EE0.9080600@...1...> Le 11/10/2014 02:31, T Lee Davidson a ?crit : > I've been looking at Lazarus lately due to its cross-platform compile > ability. So... > > Just for fun I took the Polynom benchmark program from > gambaswiki.org/wiki/doc/benchmark and converted it to Free Pascal; then > compiled it with the Free Pascal Compiler ('fpc'). > > Much to my surprise, the *pre-compiled* Pascal program ran twice as slow > as the Gambas program that was compiled on-the-fly: > > `time gbs3 -f -c polynom.gambas` > 1250000 > 1250000 > 1250000 > 1250000 > 1250000 > 1250000 > 1250000 > 1250000 > 1250000 > 1250000 > > real 0m17.904s > user 0m9.603s > sys 0m0.052s > > > Pre-compiled FP executable: > `time ./polynom` > 1.25000000000000E+006 > 1.25000000000000E+006 > 1.25000000000000E+006 > 1.25000000000000E+006 > 1.25000000000000E+006 > 1.25000000000000E+006 > 1.25000000000000E+006 > 1.25000000000000E+006 > 1.25000000000000E+006 > 1.25000000000000E+006 > > real 0m35.247s > user 0m20.936s > sys 0m0.032s > > > Maybe it's just me, but I think that's impressive. Go Gambas! > > (Now if only we could target Mono ...) > > :-) > Lee > If the Pascal program does not print the same thing as the Gambas program, then the Pascal program is wrong. Apparently, it uses floating point numbers instead of integers, which could explain why it is slower. Regards, -- Beno?t Minisini From kevinfishburne at ...1887... Sat Oct 11 04:16:05 2014 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Fri, 10 Oct 2014 22:16:05 -0400 Subject: [Gambas-user] "search" and "search & replace" work on any file in project directory In-Reply-To: <543823D8.7010907@...1...> References: <54373C9A.7070108@...1887...> <543821C8.7060008@...1...> <543823D8.7010907@...1...> Message-ID: <543892E5.8070707@...1887...> On 10/10/2014 02:22 PM, Beno?t Minisini wrote: > Le 10/10/2014 20:13, Beno?t Minisini a ?crit : >> Le 10/10/2014 03:55, Kevin Fishburne a ?crit : >>> I have static game data in my project directory so it'll be contained >>> within the compiled .gambas executable. When I use "Search" or "Search & >>> Replace" it goes though Wavefront obj model files, wav files, etc., >>> which is a bit dangerous as well as slow. Perhaps GAMBAS should only >>> perform these operations on files contained within the "Sources" section >>> of the main project tree (the leftmost pane in the IDE), ignoring those >>> in the "Project" and "Data" sections. >>> >> If it searches those files, this is because you explicitely asked to >> browse the entire project. But I agree, at the moment the IDE is stupid, >> as it should ignore non-text files... >> > Fixed in revision #6527. > > Normally only text files are browsed. It is just that the routine > detecting if a file is text or binary cannot be 100% accurate. > > Regards, > Cool, thanks. Amazingly (or not) I just noticed there is a "Source files" option and I'd been choosing "All files". -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From t.lee.davidson at ...626... Sat Oct 11 06:58:06 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sat, 11 Oct 2014 00:58:06 -0400 Subject: [Gambas-user] Wow, Gambas is twice as fast as (Free) Pascal In-Reply-To: <54387EE0.9080600@...1...> References: <54387A63.4060809@...626...> <54387EE0.9080600@...1...> Message-ID: <5438B8DE.6080904@...626...> On 10/10/2014 08:50 PM, Beno?t Minisini wrote: Thank you for trying to explain that to me. But, now I am really confused. As far as I can tell, the Gambas program also uses floating point numbers. The only integers I see used in that program are for an iterator, an array index, and an iterator boundary. Everything else is declared as a Float. ~~~ Sub Test(X As Float) As Float Dim Mu As Float = 10.0 Dim Pu, Su As Float Dim I, J, N As Integer Dim aPoly As New Float[100] N = 500000 For I = 0 To N - 1 For J = 0 To 99 Mu = (Mu + 2.0) / 2.0 aPoly[J] = Mu Next Su = 0.0 For J = 0 To 99 Su = X * Su + aPoly[J] Next Pu += Su Next Return Pu End Dim I as Integer For I = 1 To 10 Print Test(0.2) Next ~~~ What am I missing? From gambas.fr at ...626... Sat Oct 11 13:53:36 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 11 Oct 2014 13:53:36 +0200 Subject: [Gambas-user] Wow, Gambas is twice as fast as (Free) Pascal In-Reply-To: <5438B8DE.6080904@...626...> References: <54387A63.4060809@...626...> <54387EE0.9080600@...1...> <5438B8DE.6080904@...626...> Message-ID: Please show the Pascal code Le 11 oct. 2014 06:58, "T Lee Davidson" a ?crit : > On 10/10/2014 08:50 PM, Beno?t Minisini wrote: > > Thank you for trying to explain that to me. But, now I am really confused. > > As far as I can tell, the Gambas program also uses floating point > numbers. The only integers I see used in that program are for an > iterator, an array index, and an iterator boundary. Everything else is > declared as a Float. > > ~~~ > Sub Test(X As Float) As Float > > Dim Mu As Float = 10.0 > Dim Pu, Su As Float > Dim I, J, N As Integer > Dim aPoly As New Float[100] > > N = 500000 > > For I = 0 To N - 1 > For J = 0 To 99 > Mu = (Mu + 2.0) / 2.0 > aPoly[J] = Mu > Next > Su = 0.0 > For J = 0 To 99 > Su = X * Su + aPoly[J] > Next > Pu += Su > Next > > Return Pu > > End > > Dim I as Integer > > For I = 1 To 10 > Print Test(0.2) > Next > ~~~ > > What am I missing? > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://p.sf.net/sfu/Zoho > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sat Oct 11 14:52:25 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 11 Oct 2014 14:52:25 +0200 Subject: [Gambas-user] Wow, Gambas is twice as fast as (Free) Pascal In-Reply-To: <5438B8DE.6080904@...626...> References: <54387A63.4060809@...626...> <54387EE0.9080600@...1...> <5438B8DE.6080904@...626...> Message-ID: <54392809.7030202@...1...> Le 11/10/2014 06:58, T Lee Davidson a ?crit : > On 10/10/2014 08:50 PM, Beno?t Minisini wrote: > > Thank you for trying to explain that to me. But, now I am really confused. > > As far as I can tell, the Gambas program also uses floating point > numbers. The only integers I see used in that program are for an > iterator, an array index, and an iterator boundary. Everything else is > declared as a Float. > > ~~~ > Sub Test(X As Float) As Float > > Dim Mu As Float = 10.0 > Dim Pu, Su As Float > Dim I, J, N As Integer > Dim aPoly As New Float[100] > > N = 500000 > > For I = 0 To N - 1 > For J = 0 To 99 > Mu = (Mu + 2.0) / 2.0 > aPoly[J] = Mu > Next > Su = 0.0 > For J = 0 To 99 > Su = X * Su + aPoly[J] > Next > Pu += Su > Next > > Return Pu > > End > > Dim I as Integer > > For I = 1 To 10 > Print Test(0.2) > Next > ~~~ > > What am I missing? > You're right, I thought that the number of occurrences was printed, not the result. Always look at the code before answering! :-) Well, as Fabien says, shows the Pascal code. I find strange that a compiled Pascal program is twice slower than an interpreted Gambas program. Or there is something weird in the Lazarus compiler? Regards, -- Beno?t Minisini From gambas at ...1... Sat Oct 11 15:50:29 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 11 Oct 2014 15:50:29 +0200 Subject: [Gambas-user] Strange error after switching PopUpMenu In-Reply-To: <543237B6.2010109@...221...> References: <542A7AB4.8000605@...221...> <20140930140718.GA1292@...2774...> <20140930141117.GB1292@...2774...> <542AC14B.1080501@...221...> <5431E709.3070808@...1...> <543237B6.2010109@...221...> Message-ID: <543935A5.6050304@...1...> Le 06/10/2014 08:33, Rolf-Werner Eilert a ?crit : > > Ooops - yes :) Ok, what property should I use instead? I could set it > directly in the file, not going the way via the IDE. > > Thanks for drilling into it so deeply! > > Rolf > Replace "LeftRight" by "Row". The conversion of these constants is done now in revision #6532. Regards, -- Beno?t Minisini From gambas at ...2524... Sat Oct 11 15:51:26 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 11 Oct 2014 13:51:26 +0000 Subject: [Gambas-user] Issue 567 in gambas: Recent changes for db collation cause postgresql crash In-Reply-To: <3-6813199134517018827-1033595361308377000-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-1033595361308377000-gambas=googlecode.com@...2524...> <0-6813199134517018827-1033595361308377000-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-1033595361308377000-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #4 on issue 567 by benoit.m... at ...626...: Recent changes for db collation cause postgresql crash https://code.google.com/p/gambas/issues/detail?id=567 (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... Sat Oct 11 18:32:47 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sat, 11 Oct 2014 12:32:47 -0400 Subject: [Gambas-user] Wow, Gambas is twice as fast as (Free) Pascal In-Reply-To: <54392809.7030202@...1...> References: <54387A63.4060809@...626...> <54387EE0.9080600@...1...> <5438B8DE.6080904@...626...> <54392809.7030202@...1...> Message-ID: <54395BAF.1030500@...626...> On 10/11/2014 08:52 AM, Beno?t Minisini wrote: > You're right, I thought that the number of occurrences was printed, not > the result. Always look at the code before answering!:-) > > Well, as Fabien says, shows the Pascal code. I find strange that a > compiled Pascal program is twice slower than an interpreted Gambas > program. Or there is something weird in the Lazarus compiler? > > Regards, > > -- Beno?t Minisini I thought it was strange too, Beno?t. But, at the same time, also thought it was highly impressive on Gambas' (and its developers') account. :-) I have tried compiling the Pascal program with {$OPTIMIZATION ON} and also {$RANGECHECKS OFF} (even though that should be the default) with no improvement in performance. Here's the Pascal code: program Polynom; {$mode objfpc} var z : integer; function DoIt(x : double) : double; var Mu : double = 10.0; var Pu, Su : double; var I, J, N : integer; var aPoly : array [0..99] of double; begin N := 500000; Pu := 0; For I := 0 To N-1 do begin For J := 0 To 99 do begin Mu := (Mu + 2.0) / 2.0; aPoly[J] := Mu; end; Su := 0.0; For J := 0 To 99 do begin Su := X * Su + aPoly[J]; end; Pu := Pu + Su; end; DoIt := Pu; end; Begin For z := 1 To 10 do begin writeln( DoIt(0.2) ); end; End. From gambas at ...1... Sat Oct 11 18:58:15 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 11 Oct 2014 18:58:15 +0200 Subject: [Gambas-user] Wow, Gambas is twice as fast as (Free) Pascal In-Reply-To: <54395BAF.1030500@...626...> References: <54387A63.4060809@...626...> <54387EE0.9080600@...1...> <5438B8DE.6080904@...626...> <54392809.7030202@...1...> <54395BAF.1030500@...626...> Message-ID: <543961A7.6060809@...1...> Le 11/10/2014 18:32, T Lee Davidson a ?crit : > > On 10/11/2014 08:52 AM, Beno?t Minisini wrote: >> You're right, I thought that the number of occurrences was printed, not >> the result. Always look at the code before answering!:-) >> >> Well, as Fabien says, shows the Pascal code. I find strange that a >> compiled Pascal program is twice slower than an interpreted Gambas >> program. Or there is something weird in the Lazarus compiler? >> >> Regards, >> >> -- Beno?t Minisini > > I thought it was strange too, Beno?t. But, at the same time, also > thought it was highly impressive on Gambas' (and its developers') > account. :-) > > > I have tried compiling the Pascal program with {$OPTIMIZATION ON} and > also {$RANGECHECKS OFF} (even though that should be the default) with no > improvement in performance. > > Here's the Pascal code: > > program Polynom; > {$mode objfpc} > > var > z : integer; > > function DoIt(x : double) : double; > var Mu : double = 10.0; > var Pu, Su : double; > var I, J, N : integer; > var aPoly : array [0..99] of double; > > begin > N := 500000; > Pu := 0; > > For I := 0 To N-1 do > begin > For J := 0 To 99 do > begin > Mu := (Mu + 2.0) / 2.0; > aPoly[J] := Mu; > end; > Su := 0.0; > For J := 0 To 99 do > begin > Su := X * Su + aPoly[J]; > end; > Pu := Pu + Su; > end; > > DoIt := Pu; > end; > > Begin > > For z := 1 To 10 do > begin > writeln( DoIt(0.2) ); > end; > > End. > It seems to be a perfect equivalent. So Gambas is faster, cool... If you succeed in converting the other benchmarks, I will add them to the wiki. Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Sat Oct 11 20:37:50 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 11 Oct 2014 21:37:50 +0300 Subject: [Gambas-user] Wow, Gambas is twice as fast as (Free) Pascal In-Reply-To: <543961A7.6060809@...1...> References: <54387A63.4060809@...626...> <54387EE0.9080600@...1...> <5438B8DE.6080904@...626...> <54392809.7030202@...1...> <54395BAF.1030500@...626...> <543961A7.6060809@...1...> Message-ID: Something wrong here! Gambas and Pascal are different category programming languages, interpreted and compiled. And thus this is hard to believe. So I had to test this myself. $ time ./polym_g.gambas 1250000 1250000 1250000 1250000 1250000 1250000 1250000 1250000 1250000 1250000 real 1m20.918s user 1m20.814s sys 0m0.077s $ time ./polym 1.25000000000000E+006 1.25000000000000E+006 1.25000000000000E+006 1.25000000000000E+006 1.25000000000000E+006 1.25000000000000E+006 1.25000000000000E+006 1.25000000000000E+006 1.25000000000000E+006 1.25000000000000E+006 real 0m5.395s user 0m5.394s sys 0m0.000s As you can see, my numbers are something completely different. My test was done with Intel Core2 Quad @ 2.83 GHz. And the Pascal version was compiled with "fpc polym.pas". What kind of system ran the Gambas code in 18 seconds!? And yet, how did it spend 7 times more time on the Pascal program than my system!? I try again with latest revision of Gambas later. Jussi On Sat, Oct 11, 2014 at 7:58 PM, Beno?t Minisini < gambas at ...1...> wrote: > Le 11/10/2014 18:32, T Lee Davidson a ?crit : > > > > On 10/11/2014 08:52 AM, Beno?t Minisini wrote: > >> You're right, I thought that the number of occurrences was printed, not > >> the result. Always look at the code before answering!:-) > >> > >> Well, as Fabien says, shows the Pascal code. I find strange that a > >> compiled Pascal program is twice slower than an interpreted Gambas > >> program. Or there is something weird in the Lazarus compiler? > >> > >> Regards, > >> > >> -- Beno?t Minisini > > > > I thought it was strange too, Beno?t. But, at the same time, also > > thought it was highly impressive on Gambas' (and its developers') > > account. :-) > > > > > > I have tried compiling the Pascal program with {$OPTIMIZATION ON} and > > also {$RANGECHECKS OFF} (even though that should be the default) with no > > improvement in performance. > > > > Here's the Pascal code: > > > > program Polynom; > > {$mode objfpc} > > > > var > > z : integer; > > > > function DoIt(x : double) : double; > > var Mu : double = 10.0; > > var Pu, Su : double; > > var I, J, N : integer; > > var aPoly : array [0..99] of double; > > > > begin > > N := 500000; > > Pu := 0; > > > > For I := 0 To N-1 do > > begin > > For J := 0 To 99 do > > begin > > Mu := (Mu + 2.0) / 2.0; > > aPoly[J] := Mu; > > end; > > Su := 0.0; > > For J := 0 To 99 do > > begin > > Su := X * Su + aPoly[J]; > > end; > > Pu := Pu + Su; > > end; > > > > DoIt := Pu; > > end; > > > > Begin > > > > For z := 1 To 10 do > > begin > > writeln( DoIt(0.2) ); > > end; > > > > End. > > > > It seems to be a perfect equivalent. So Gambas is faster, cool... > > If you succeed in converting the other benchmarks, I will add them to > the wiki. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://p.sf.net/sfu/Zoho > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From t.lee.davidson at ...626... Sat Oct 11 21:07:51 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sat, 11 Oct 2014 15:07:51 -0400 Subject: [Gambas-user] Wow, Gambas is twice as fast as (Free) Pascal In-Reply-To: References: <54387A63.4060809@...626...> <54387EE0.9080600@...1...> <5438B8DE.6080904@...626...> <54392809.7030202@...1...> <54395BAF.1030500@...626...> <543961A7.6060809@...1...> Message-ID: <54398007.7030802@...626...> I guess I should have included my system information; just didn't think about it being relevant at the time. Obviously, though, it is. System Info: Intel(R) Pentium(R) 4 CPU 2.40GHz, 1G RAM Mageia 3, Kernel 3.10.54 (KDE4) Gambas 3.5.4 Free Pascal Compiler version 2.6.4 [2014/03/07] for i386 Interestingly, closing my web browser gave me better performance with both, but still a roughly 2:1 difference: Pascal program compiled with `fpc polynom.pas` and then timed: real 0m22.445s user 0m20.875s sys 0m0.014s Gambas program executed with `time gbs3 -f -c polynom.gambas`: real 0m11.303s user 0m10.297s sys 0m0.035s Lee On 10/11/2014 02:37 PM, Jussi Lahtinen wrote: > As you can see, my numbers are something completely different. My test was > done with Intel Core2 Quad @ 2.83 GHz. And the Pascal version was compiled > with "fpc polym.pas". > What kind of system ran the Gambas code in 18 seconds!? And yet, how did it > spend 7 times more time on the Pascal program than my system!? From t.lee.davidson at ...626... Sat Oct 11 21:49:18 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sat, 11 Oct 2014 15:49:18 -0400 Subject: [Gambas-user] Wow, Gambas is twice as fast as (Free) Pascal In-Reply-To: <54398007.7030802@...626...> References: <54387A63.4060809@...626...> <54387EE0.9080600@...1...> <5438B8DE.6080904@...626...> <54392809.7030202@...1...> <54395BAF.1030500@...626...> <543961A7.6060809@...1...> <54398007.7030802@...626...> Message-ID: <543989BE.4030808@...626...> Just to be clear, I did not run 'polynom.gambas' as a script with the she-bang specifying to use 'gbs3' to execute it. That *is* slow. I executed it using gbs3 with the '-f' option invoking the JustInTime compiler. I also just now used the IDE to create a command-line application based on the benchmark, created an executable, and then ran that. That was also so slow (almost 2 minutes to Print the first result) that I did not let the timing test finish. So, it appears that the JIT compiler option is what makes the huge difference -- on my system anyway. On 10/11/2014 03:07 PM, T Lee Davidson wrote: > I guess I should have included my system information; just didn't think > about it being relevant at the time. Obviously, though, it is. > > System Info: > Intel(R) Pentium(R) 4 CPU 2.40GHz, 1G RAM > Mageia 3, Kernel 3.10.54 (KDE4) > Gambas 3.5.4 > Free Pascal Compiler version 2.6.4 [2014/03/07] for i386 > > > Interestingly, closing my web browser gave me better performance with > both, but still a roughly 2:1 difference: > > Pascal program compiled with `fpc polynom.pas` and then timed: > real 0m22.445s > user 0m20.875s > sys 0m0.014s > > Gambas program executed with `time gbs3 -f -c polynom.gambas`: > real 0m11.303s > user 0m10.297s > sys 0m0.035s > > > Lee > > > On 10/11/2014 02:37 PM, Jussi Lahtinen wrote: >> As you can see, my numbers are something completely different. My test >> was >> done with Intel Core2 Quad @ 2.83 GHz. And the Pascal version was >> compiled >> with "fpc polym.pas". >> What kind of system ran the Gambas code in 18 seconds!? And yet, how >> did it >> spend 7 times more time on the Pascal program than my system!? From gambas at ...1... Sat Oct 11 22:39:47 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 11 Oct 2014 22:39:47 +0200 Subject: [Gambas-user] Wow, Gambas is twice as fast as (Free) Pascal In-Reply-To: <543989BE.4030808@...626...> References: <54387A63.4060809@...626...> <54387EE0.9080600@...1...> <5438B8DE.6080904@...626...> <54392809.7030202@...1...> <54395BAF.1030500@...626...> <543961A7.6060809@...1...> <54398007.7030802@...626...> <543989BE.4030808@...626...> Message-ID: <54399593.6080902@...1...> Le 11/10/2014 21:49, T Lee Davidson a ?crit : > Just to be clear, I did not run 'polynom.gambas' as a script with the > she-bang specifying to use 'gbs3' to execute it. That *is* slow. > > I executed it using gbs3 with the '-f' option invoking the JustInTime > compiler. > > I also just now used the IDE to create a command-line application based > on the benchmark, created an executable, and then ran that. That was > also so slow (almost 2 minutes to Print the first result) that I did not > let the timing test finish. > > So, it appears that the JIT compiler option is what makes the huge > difference -- on my system anyway. > Ah ok, sounds more logical. Anyway, if you want to compare Gambas with a compiled language, you should use the JIT compiler. And you must not use it if you compare it with an interpreted-only language. Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Sat Oct 11 23:08:36 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 12 Oct 2014 00:08:36 +0300 Subject: [Gambas-user] Wow, Gambas is twice as fast as (Free) Pascal In-Reply-To: <54399593.6080902@...1...> References: <54387A63.4060809@...626...> <54387EE0.9080600@...1...> <5438B8DE.6080904@...626...> <54392809.7030202@...1...> <54395BAF.1030500@...626...> <543961A7.6060809@...1...> <54398007.7030802@...626...> <543989BE.4030808@...626...> <54399593.6080902@...1...> Message-ID: > Ah ok, sounds more logical. Anyway, if you want to compare Gambas with a > compiled language, you should use the JIT compiler. And you must not use > it if you compare it with an interpreted-only language. > Absolutely, that would make the comparing fair. I'll test later with JIT. Jussi From bbruen at ...2308... Sun Oct 12 00:11:14 2014 From: bbruen at ...2308... (B Bruen) Date: Sun, 12 Oct 2014 08:41:14 +1030 Subject: [Gambas-user] A good idea? In-Reply-To: <20140921084827.09b60035d15df7e5ba297b75@...2308...> References: <20140921075407.b80d2fdcc4ce9951715a35a4@...2308...> <20140920225755.GI887@...2774...> <20140921084827.09b60035d15df7e5ba297b75@...2308...> Message-ID: <20141012084114.95562602c335b6a3a6f1e90b@...2308...> Just an update. This works really well. Thanks Tobi for help in crystallising where I was trying to go with this. So far (I am only working on this part-time - it's a non-income earner but it will save so much time and effort in the future) I have a robust solution for fully-autonomous pop-ups (ones that are fully independent of the application project e.g. "System Information") and quasi-autonomous popups (ones that get information on the application project out of the executable archive e.g. "About Me"). Converting our existing popup components into virtual menu items now takes only a few minutes per component - add a wrapper class that inherits the VMenuItem class, set a few properties, compile and install. I am now working on the best way to handle popup forms that rely on or interact with the dynamic data in the application project. Say a general "EditClient" popup that would be made available in "OrderEntry" or "Invoice" application projects where I want to pass the current Client object to the editor popup and have the application client's object automatically update and refresh when the popup is "Saved". I have a couple of prototypes of different ways to handle this and a few more ideas. Will decide on the best way after a bit more work. Should this work (or when it works) opens up this concept to a wider approach that not only handles what I am now calling "virtual menu items" but also "virtual toolbuttons", and other virtual controls (in the above examplpe, think of a client name buttonbox that handles the entire edit processing within itself, no code needed in the application project). Another idea is to use this approach to provide entire "standard" menus by dragging a virtual control onto a form. This would include, say, File|Edit|View|Tools|Help and all the associated submenus. Just drag the VStandardMenu virtual control onto the form - no need to build these menus via the IDE each time.... rgrds Bruce -- B Bruen From bbruen at ...2308... Sun Oct 12 00:52:09 2014 From: bbruen at ...2308... (B Bruen) Date: Sun, 12 Oct 2014 09:22:09 +1030 Subject: [Gambas-user] (Custom) virtual controls Message-ID: <20141012092209.9743c3b2a798a0901295297a@...2308...> A couple of oddities have emerged from my work in the "A Good Idea?" thread: 1) the _IsVirtual constant - this appears now to be a function? Is the help documentation correct or is this constant/function something I am not understanding? 2) a bit more complex - I have an ancestral class, VMenuItem, that exposes some properties. In the popup wrapper class that inherits VMenuItem I set the values of these properties in the constructor. When I drag the popup virtual control onto a form in the IDE these properties show on the control properties panel, but the values are not shown. Any clues? regards Bruce -- B Bruen From gambas at ...1... Sun Oct 12 01:45:26 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 12 Oct 2014 01:45:26 +0200 Subject: [Gambas-user] (Custom) virtual controls In-Reply-To: <20141012092209.9743c3b2a798a0901295297a@...2308...> References: <20141012092209.9743c3b2a798a0901295297a@...2308...> Message-ID: <5439C116.7030300@...1...> Le 12/10/2014 00:52, B Bruen a ?crit : > A couple of oddities have emerged from my work in the "A Good Idea?" > thread: > > 1) the _IsVirtual constant - this appears now to be a function? Is > the help documentation correct or is this constant/function something > I am not understanding? _IsVirtual is a constant boolean. Where do you see it is a function? > > 2) a bit more complex - I have an ancestral class, VMenuItem, that > exposes some properties. In the popup wrapper class that inherits > VMenuItem I set the values of these properties in the constructor. > When I drag the popup virtual control onto a form in the IDE these > properties show on the control properties panel, but the values are > not shown. Any clues? > > regards Bruce > Putting a custom control on a from in the IDE has nothing to do with instanciating it at runtime. In other words, you must tell the default values of your properties (i.e. the value they have once your control is instanciated) in the _Properties constant, otherwise you won't see them. No magic there! This is normally explained in the wiki. Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Sun Oct 12 02:24:05 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 12 Oct 2014 03:24:05 +0300 Subject: [Gambas-user] Wow, Gambas is twice as fast as (Free) Pascal In-Reply-To: <543989BE.4030808@...626...> References: <54387A63.4060809@...626...> <54387EE0.9080600@...1...> <5438B8DE.6080904@...626...> <54392809.7030202@...1...> <54395BAF.1030500@...626...> <543961A7.6060809@...1...> <54398007.7030802@...626...> <543989BE.4030808@...626...> Message-ID: My cleaning script didn't include "rm -f /usr/local/bin/gbs3" and apparently because of changed paths "make install" didn't overwrite old version. So my gbs3 had version number 3.2.90, and no -f option (it was simply ignored)! Just to warn others, you may want to check whether you too have two versions of gbs3 installed (in /usr/local/bin/gbs3 and in /usr/bin/gbs3). If you do, remove the files, run "sudo make install" again and restart your terminal. $ time gbs3 -c -f polym.gambas 1250000 1250000 1250000 1250000 1250000 1250000 1250000 1250000 1250000 1250000 real 0m4.172s user 0m4.158s sys 0m0.012s $ time ./polym 1.25000000000000E+006 1.25000000000000E+006 1.25000000000000E+006 1.25000000000000E+006 1.25000000000000E+006 1.25000000000000E+006 1.25000000000000E+006 1.25000000000000E+006 1.25000000000000E+006 1.25000000000000E+006 real 0m5.376s user 0m5.374s sys 0m0.000s So, Gambas really is faster in fair comparison! Jussi On Sat, Oct 11, 2014 at 10:49 PM, T Lee Davidson wrote: > Just to be clear, I did not run 'polynom.gambas' as a script with the > she-bang specifying to use 'gbs3' to execute it. That *is* slow. > > I executed it using gbs3 with the '-f' option invoking the JustInTime > compiler. > > I also just now used the IDE to create a command-line application based > on the benchmark, created an executable, and then ran that. That was > also so slow (almost 2 minutes to Print the first result) that I did not > let the timing test finish. > > So, it appears that the JIT compiler option is what makes the huge > difference -- on my system anyway. > > > On 10/11/2014 03:07 PM, T Lee Davidson wrote: > > I guess I should have included my system information; just didn't think > > about it being relevant at the time. Obviously, though, it is. > > > > System Info: > > Intel(R) Pentium(R) 4 CPU 2.40GHz, 1G RAM > > Mageia 3, Kernel 3.10.54 (KDE4) > > Gambas 3.5.4 > > Free Pascal Compiler version 2.6.4 [2014/03/07] for i386 > > > > > > Interestingly, closing my web browser gave me better performance with > > both, but still a roughly 2:1 difference: > > > > Pascal program compiled with `fpc polynom.pas` and then timed: > > real 0m22.445s > > user 0m20.875s > > sys 0m0.014s > > > > Gambas program executed with `time gbs3 -f -c polynom.gambas`: > > real 0m11.303s > > user 0m10.297s > > sys 0m0.035s > > > > > > Lee > > > > > > On 10/11/2014 02:37 PM, Jussi Lahtinen wrote: > >> As you can see, my numbers are something completely different. My test > >> was > >> done with Intel Core2 Quad @ 2.83 GHz. And the Pascal version was > >> compiled > >> with "fpc polym.pas". > >> What kind of system ran the Gambas code in 18 seconds!? And yet, how > >> did it > >> spend 7 times more time on the Pascal program than my system!? > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://p.sf.net/sfu/Zoho > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From vuott at ...325... Sun Oct 12 02:44:37 2014 From: vuott at ...325... (Ru Vuott) Date: Sun, 12 Oct 2014 01:44:37 +0100 Subject: [Gambas-user] Segmentation fault (11) with ImageStat() function Message-ID: <1413074677.53783.YahooMailBasic@...3268...> Hello, by starting from this: http://sourceforge.net/p/gambas/mailman/message/21194093/ I tried this simple code: Public Sub Form_Open() With ImageStat("/tmp/my_image.jpg") Print .Type Print .Width;; .Height;; .Depth End With End Well, I obtain a Segmentation fault (11) error ! ..maybe, is it a bug ? Regards vuott My Gambas SVN revision: #6535 [System] Gambas=3.6.0 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=3953M [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 at ...1... Sun Oct 12 03:23:36 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 12 Oct 2014 03:23:36 +0200 Subject: [Gambas-user] Segmentation fault (11) with ImageStat() function In-Reply-To: <1413074677.53783.YahooMailBasic@...3268...> References: <1413074677.53783.YahooMailBasic@...3268...> Message-ID: <5439D818.9060309@...1...> Le 12/10/2014 02:44, Ru Vuott a ?crit : > Hello, > > by starting from this: > http://sourceforge.net/p/gambas/mailman/message/21194093/ > > I tried this simple code: > > Public Sub Form_Open() > > With ImageStat("/tmp/my_image.jpg") > Print .Type > Print .Width;; .Height;; .Depth > End With > > End > > > Well, I obtain a Segmentation fault (11) error ! > > ..maybe, is it a bug ? > > Regards > vuott > > My Gambas SVN revision: #6535 > Fixed in revision #6536. Regards, -- Beno?t Minisini From bbruen at ...2308... Sun Oct 12 06:06:25 2014 From: bbruen at ...2308... (B Bruen) Date: Sun, 12 Oct 2014 14:36:25 +1030 Subject: [Gambas-user] (Custom) virtual controls In-Reply-To: <5439C116.7030300@...1...> References: <20141012092209.9743c3b2a798a0901295297a@...2308...> <5439C116.7030300@...1...> Message-ID: <20141012143625.abf108d0994c942b044056b2@...2308...> On Sun, 12 Oct 2014 01:45:26 +0200 Beno?t Minisini wrote: > Le 12/10/2014 00:52, B Bruen a ?crit : > > A couple of oddities have emerged from my work in the "A Good Idea?" > > thread: > > > > 1) the _IsVirtual constant - this appears now to be a function? Is > > the help documentation correct or is this constant/function something > > I am not understanding? > > _IsVirtual is a constant boolean. Where do you see it is a function? In the Form_Open() for the application form Print VSysInfos._IsVirtual outputs (Function vSysInfos:12) For what it's worth line 12 of the vSysInfos class is a comment ' Public Const _Properties As String = "*" QT4? > > > > > 2) a bit more complex - I have an ancestral class, VMenuItem, that > > exposes some properties. In the popup wrapper class that inherits > > VMenuItem I set the values of these properties in the constructor. > > When I drag the popup virtual control onto a form in the IDE these > > properties show on the control properties panel, but the values are > > not shown. Any clues? > > > > regards Bruce > > > > Putting a custom control on a from in the IDE has nothing to do with > instanciating it at runtime. > > In other words, you must tell the default values of your properties > (i.e. the value they have once your control is instanciated) in the > _Properties constant, otherwise you won't see them. No magic there! > > This is normally explained in the wiki. > > Regards, > > -- > Beno?t Minisini > Ah, rats. I see now why this doesn't work. Dammit. I don't suppose I could use a Subst() in the constant declaration could I. (Just joking.) regards Bruce -- B Bruen From vuott at ...325... Sun Oct 12 12:06:50 2014 From: vuott at ...325... (Ru Vuott) Date: Sun, 12 Oct 2014 11:06:50 +0100 Subject: [Gambas-user] Segmentation fault (11) with ImageStat() function In-Reply-To: <5439D818.9060309@...1...> Message-ID: <1413108410.5286.YahooMailBasic@...3271...> Optime ! Now it works. regards vuott -------------------------------------------- Dom 12/10/14, Beno?t Minisini ha scritto: Oggetto: Re: [Gambas-user] Segmentation fault (11) with ImageStat() function A: "mailing list for gambas users" Data: Domenica 12 ottobre 2014, 03:23 Le 12/10/2014 02:44, Ru Vuott a ?crit : > Hello, > > by starting from this: > http://sourceforge.net/p/gambas/mailman/message/21194093/ > > I tried this simple code: > > Public Sub Form_Open() > > With ImageStat("/tmp/my_image.jpg") >? ? Print .Type >? ? Print .Width;; .Height;; .Depth > End With > > End > > > Well, I obtain a? Segmentation fault (11)? error ! > > ..maybe, is it a bug ? > > Regards > vuott > > My Gambas SVN revision: #6535 > Fixed in revision #6536. Regards, -- Beno?t Minisini ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://p.sf.net/sfu/Zoho _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From t.lee.davidson at ...626... Sun Oct 12 18:16:20 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sun, 12 Oct 2014 12:16:20 -0400 Subject: [Gambas-user] Wow, Gambas is twice as fast as (Free) Pascal In-Reply-To: References: <54387A63.4060809@...626...> <54387EE0.9080600@...1...> <5438B8DE.6080904@...626...> <54392809.7030202@...1...> <54395BAF.1030500@...626...> <543961A7.6060809@...1...> <54398007.7030802@...626...> <543989BE.4030808@...626...> Message-ID: <543AA954.8080203@...626...> Hey Jussi, I'd like to try figuring out why the Pascal program runs so much slower, relative to Gambas, on my system than on yours. May I ask what version of FPC you are using? On 10/11/2014 08:24 PM, Jussi Lahtinen wrote: > > $ time gbs3 -c -f polym.gambas [snip] > real 0m4.172s > user 0m4.158s > sys 0m0.012s > > > $ time ./polym [snip] > real 0m5.376s > user 0m5.374s > sys 0m0.000s From jussi.lahtinen at ...626... Sun Oct 12 18:28:19 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 12 Oct 2014 19:28:19 +0300 Subject: [Gambas-user] Wow, Gambas is twice as fast as (Free) Pascal In-Reply-To: <543AA954.8080203@...626...> References: <54387A63.4060809@...626...> <54387EE0.9080600@...1...> <5438B8DE.6080904@...626...> <54392809.7030202@...1...> <54395BAF.1030500@...626...> <543961A7.6060809@...1...> <54398007.7030802@...626...> <543989BE.4030808@...626...> <543AA954.8080203@...626...> Message-ID: > May I ask what version of FPC you are using? > 2.6.2-8 [2014/01/22] for x86_64 Jussi From gambas at ...1... Sun Oct 12 19:06:25 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 12 Oct 2014 19:06:25 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.6 Message-ID: <543AB511.1090704@...1...> Hi, I have uploaded the source package of Gambas 3.6 at: http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.0.tar.bz2/download The ChangeLog is available at: http://gambaswiki.org/wiki/doc/release/3.6.0 Please test it and report any problem before I make it official! Thanks in advance. -- Beno?t Minisini From taboege at ...626... Sun Oct 12 19:22:27 2014 From: taboege at ...626... (Tobias Boege) Date: Sun, 12 Oct 2014 19:22:27 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.6 In-Reply-To: <543AB511.1090704@...1...> References: <543AB511.1090704@...1...> Message-ID: <20141012172227.GA767@...2774...> On Sun, 12 Oct 2014, Beno??t Minisini wrote: > The ChangeLog is available at: > > http://gambaswiki.org/wiki/doc/release/3.6.0 > I did three things on that page (see the history): - add the fact that there are Heaps new in gb.data, too, - mention the gb.inotify component, - fix the end of the seealso block. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Sun Oct 12 19:29:55 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 12 Oct 2014 19:29:55 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.6 In-Reply-To: <20141012172227.GA767@...2774...> References: <543AB511.1090704@...1...> <20141012172227.GA767@...2774...> Message-ID: <543ABA93.3@...1...> Le 12/10/2014 19:22, Tobias Boege a ?crit : > On Sun, 12 Oct 2014, Beno??t Minisini wrote: >> The ChangeLog is available at: >> >> http://gambaswiki.org/wiki/doc/release/3.6.0 >> > > I did three things on that page (see the history): > > - add the fact that there are Heaps new in gb.data, too, > - mention the gb.inotify component, > - fix the end of the seealso block. > > Regards, > Tobi > Good! -- Beno?t Minisini From jussi.lahtinen at ...626... Sun Oct 12 20:02:01 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 12 Oct 2014 21:02:01 +0300 Subject: [Gambas-user] Pre-release of Gambas 3.6 In-Reply-To: <543AB511.1090704@...1...> References: <543AB511.1090704@...1...> Message-ID: Everything else passed my test, but JIT causes some problems (this may be old bug). In fact is this bug in LLVM or gbx3? gbx3: /usr/include/llvm/IR/Instructions.h:2098: void llvm::PHINode::addIncoming(llvm::Value*, llvm::BasicBlock*): Assertion `getType() == V->getType() && "All operands to PHI node must be the same type as the PHI node!"' failed. I try to isolate the offending code later. Jussi On Sun, Oct 12, 2014 at 8:06 PM, Beno?t Minisini < gambas at ...1...> wrote: > Hi, > > I have uploaded the source package of Gambas 3.6 at: > > > http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.0.tar.bz2/download > > The ChangeLog is available at: > > http://gambaswiki.org/wiki/doc/release/3.6.0 > > Please test it and report any problem before I make it official! > > Thanks in advance. > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://p.sf.net/sfu/Zoho > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Sun Oct 12 20:09:45 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 12 Oct 2014 21:09:45 +0300 Subject: [Gambas-user] Pre-release of Gambas 3.6 In-Reply-To: References: <543AB511.1090704@...1...> Message-ID: Oh, btw, the drop down menu in IDE for functions and subs doesn't react to keys anymore. Meaning when I open the menu and press "b", it used to jump to functions starting with letter "b". I liked that, can you re-enable it? Jussi On Sun, Oct 12, 2014 at 9:02 PM, Jussi Lahtinen wrote: > Everything else passed my test, but JIT causes some problems (this may be > old bug). In fact is this bug in LLVM or gbx3? > > gbx3: /usr/include/llvm/IR/Instructions.h:2098: void > llvm::PHINode::addIncoming(llvm::Value*, llvm::BasicBlock*): Assertion > `getType() == V->getType() && "All operands to PHI node must be the same > type as the PHI node!"' failed. > > I try to isolate the offending code later. > > > Jussi > > On Sun, Oct 12, 2014 at 8:06 PM, Beno?t Minisini < > gambas at ...1...> wrote: > >> Hi, >> >> I have uploaded the source package of Gambas 3.6 at: >> >> >> http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.0.tar.bz2/download >> >> The ChangeLog is available at: >> >> http://gambaswiki.org/wiki/doc/release/3.6.0 >> >> Please test it and report any problem before I make it official! >> >> Thanks in advance. >> >> -- >> Beno?t Minisini >> >> >> ------------------------------------------------------------------------------ >> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer >> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports >> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper >> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer >> http://p.sf.net/sfu/Zoho >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From sotema at ...626... Sun Oct 12 20:33:40 2014 From: sotema at ...626... (Emanuele Sottocorno) Date: Sun, 12 Oct 2014 20:33:40 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.6 In-Reply-To: References: <543AB511.1090704@...1...> Message-ID: <543AC984.5000103@...626...> Hi Benoit, make fails in gb.sdl: make[3]: ingresso nella directory "/home/emanuele/Gambas/Stable/gambas3-3.6.0/gb.sdl" Making all in src make[4]: ingresso nella directory "/home/emanuele/Gambas/Stable/gambas3-3.6.0/gb.sdl/src" CXX gb_sdl_la-SDLapp.lo CXX gb_sdl_la-SDLcore.lo CXX gb_sdl_la-SDLdebug.lo CXX gb_sdl_la-SDLerror.lo CXX gb_sdl_la-SDLfont.lo SDLfont.cpp:31:26: fatal error: default_font.h: No such file or directory #include "default_font.h" ^ compilation terminated. [System] Gambas=3.6.0 OperatingSystem=Linux Kernel=3.13.0-38-generic Architecture=x86_64 Distribution=Ubuntu 14.04.1 LTS Desktop=GNOME Theme=QGtk Language=it_IT.UTF-8 Memory=3952M [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 Regards, Emanuele From jussi.lahtinen at ...626... Sun Oct 12 21:09:34 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 12 Oct 2014 22:09:34 +0300 Subject: [Gambas-user] JIT bug with complex string substitutions Message-ID: Thanks to unnecessary complexness of Finnish language and my lack of ideas, I have written some monster lines with nested Substs. JIT doesn't seem to like them. I isolated the problem to simplest possible (unusable) case. See attachment. Jussi -------------- next part -------------- A non-text attachment was scrubbed... Name: JIT_bug-0.0.1.tar.gz Type: application/x-gzip Size: 4039 bytes Desc: not available URL: From emil.lenngren at ...626... Sun Oct 12 21:11:08 2014 From: emil.lenngren at ...626... (Emil Lenngren) Date: Sun, 12 Oct 2014 21:11:08 +0200 Subject: [Gambas-user] JIT bug with complex string substitutions In-Reply-To: References: Message-ID: Hi. I'll check. /Emil Den 12 okt 2014 21:09 skrev "Jussi Lahtinen" : > Thanks to unnecessary complexness of Finnish language and my lack of > ideas, I have written some monster lines with nested Substs. JIT doesn't > seem to like them. > I isolated the problem to simplest possible (unusable) case. See > attachment. > > > Jussi > From gambas at ...1... Sun Oct 12 21:55:44 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 12 Oct 2014 21:55:44 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.6 In-Reply-To: <543AC984.5000103@...626...> References: <543AB511.1090704@...1...> <543AC984.5000103@...626...> Message-ID: <543ADCC0.70203@...1...> Le 12/10/2014 20:33, Emanuele Sottocorno a ?crit : > Hi Benoit, > make fails in gb.sdl: > > make[3]: ingresso nella directory > "/home/emanuele/Gambas/Stable/gambas3-3.6.0/gb.sdl" > Making all in src > make[4]: ingresso nella directory > "/home/emanuele/Gambas/Stable/gambas3-3.6.0/gb.sdl/src" > CXX gb_sdl_la-SDLapp.lo > CXX gb_sdl_la-SDLcore.lo > CXX gb_sdl_la-SDLdebug.lo > CXX gb_sdl_la-SDLerror.lo > CXX gb_sdl_la-SDLfont.lo > SDLfont.cpp:31:26: fatal error: default_font.h: No such file or directory > #include "default_font.h" > ^ > compilation terminated. > > [System] > Gambas=3.6.0 > OperatingSystem=Linux > Kernel=3.13.0-38-generic > Architecture=x86_64 > Distribution=Ubuntu 14.04.1 LTS > Desktop=GNOME > Theme=QGtk > Language=it_IT.UTF-8 > Memory=3952M > [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 > > Regards, > > Emanuele > Can you download the source archive again? It should be fixed now. Regards, -- Beno?t Minisini From sotema at ...626... Sun Oct 12 22:31:09 2014 From: sotema at ...626... (Emanuele Sottocorno) Date: Sun, 12 Oct 2014 22:31:09 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.6 In-Reply-To: <543ADCC0.70203@...1...> References: <543AB511.1090704@...1...> <543AC984.5000103@...626...> <543ADCC0.70203@...1...> Message-ID: <543AE50D.1000707@...626...> Il 12/10/2014 21:55, Beno?t Minisini ha scritto: > Le 12/10/2014 20:33, Emanuele Sottocorno a ?crit : >> Hi Benoit, >> make fails in gb.sdl: >> >> make[3]: ingresso nella directory >> "/home/emanuele/Gambas/Stable/gambas3-3.6.0/gb.sdl" >> Making all in src >> make[4]: ingresso nella directory >> "/home/emanuele/Gambas/Stable/gambas3-3.6.0/gb.sdl/src" >> CXX gb_sdl_la-SDLapp.lo >> CXX gb_sdl_la-SDLcore.lo >> CXX gb_sdl_la-SDLdebug.lo >> CXX gb_sdl_la-SDLerror.lo >> CXX gb_sdl_la-SDLfont.lo >> SDLfont.cpp:31:26: fatal error: default_font.h: No such file or directory >> #include "default_font.h" >> ^ >> compilation terminated. >> >> [System] >> Gambas=3.6.0 >> OperatingSystem=Linux >> Kernel=3.13.0-38-generic >> Architecture=x86_64 >> Distribution=Ubuntu 14.04.1 LTS >> Desktop=GNOME >> Theme=QGtk >> Language=it_IT.UTF-8 >> Memory=3952M >> [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 >> >> Regards, >> >> Emanuele >> > Can you download the source archive again? It should be fixed now. > > Regards, > Sorry Benoit, now it fails in /home/emanuele/Gambas/Stable/gambas3-3.6.0/gb.gtk/src make[5]: ingresso nella directory "/home/emanuele/Gambas/Stable/gambas3-3.6.0/gb.gtk/src" CXX gb_gtk_la-gmainwindow.lo gmainwindow.cpp:34:19: fatal error: sm/sm.h: No such file or directory #include "sm/sm.h" From kevinfishburne at ...1887... Sun Oct 12 22:43:04 2014 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sun, 12 Oct 2014 16:43:04 -0400 Subject: [Gambas-user] Pre-release of Gambas 3.6 (Theme Colors) In-Reply-To: <543ADCC0.70203@...1...> References: <543AB511.1090704@...1...> <543AC984.5000103@...626...> <543ADCC0.70203@...1...> Message-ID: <543AE7D8.7020506@...1887...> At least using the "Quick" theme, there are two problems. Demonstrated by the first attachment ("Bad Colors 1.png"), the pop-up message caused by a syntax error is difficult to read. The light blue background color isn't a background color defined in the theme (perhaps it borrows one of the foreground color definitions). Demonstrated by the second attachment ("Bad Colors 2.png"), the background color of the pop-up message caused by a double-click when the program is paused also isn't a background color defined in the theme. I think the simplest solution would be to borrow two existing theme color definitions, keeping their background and foreground pairings. That way, if the pop-ups look like shit, at least it will be obvious by examining the theme color definitions and can be manually corrected by the user. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 -------------- next part -------------- A non-text attachment was scrubbed... Name: BadColors1.png Type: image/png Size: 32037 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: BadColors2.png Type: image/png Size: 27274 bytes Desc: not available URL: From gambas at ...1... Mon Oct 13 01:32:38 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 13 Oct 2014 01:32:38 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.6 In-Reply-To: <543AE50D.1000707@...626...> References: <543AB511.1090704@...1...> <543AC984.5000103@...626...> <543ADCC0.70203@...1...> <543AE50D.1000707@...626...> Message-ID: <543B0F96.50605@...1...> Le 12/10/2014 22:31, Emanuele Sottocorno a ?crit : > Sorry Benoit, > now it fails in /home/emanuele/Gambas/Stable/gambas3-3.6.0/gb.gtk/src > > make[5]: ingresso nella directory > "/home/emanuele/Gambas/Stable/gambas3-3.6.0/gb.gtk/src" > CXX gb_gtk_la-gmainwindow.lo > gmainwindow.cpp:34:19: fatal error: sm/sm.h: No such file or directory > #include "sm/sm.h" > It should be good now! -- Beno?t Minisini From bagoneo at ...69... Mon Oct 13 03:39:34 2014 From: bagoneo at ...69... (Gian) Date: Mon, 13 Oct 2014 03:39:34 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.6 In-Reply-To: <543AB511.1090704@...1...> References: <543AB511.1090704@...1...> Message-ID: <543B2D56.6080601@...69...> Hello Benoit, I extracted the 6543 revision and with library llvm-3.5 installed I get this error: make[4]: ingresso nella directory "/home/vir/3.6/gb.jit/src" CXX gb_jit_la-jit_api.lo CXX gb_jit_la-jit_codegen.lo In file included from jit_codegen.cpp:34:0: jit.h:49:26: fatal error: llvm/IR/CFG.h: No such file or directory #include "llvm/IR/CFG.h" ^ compilation terminated. The above is obtained even with the trunk. Instead eliminating the 3.5, with the library llvm-3.4 I get the installation without errors but with these data: gb.jit is disabled gbi3: warning: component gb.xml.rpc not found Unable to find file: libintl.so Unable to find file: libiconv.so Total warning 192 My system: [System] Gambas=3.6.0 OperatingSystem=Linux Kernel=3.13.0-38-generic Architecture=x86_64 Distribution=Ubuntu 14.04.1 LTS Desktop=GNOME Theme=QGtk Language=it_IT.UTF-8 Memory=4537M [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 Regards and good night gianluigi Il 12/10/2014 19:06, Beno?t Minisini ha scritto: > Hi, > > I have uploaded the source package of Gambas 3.6 at: > > http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.0.tar.bz2/download > > The ChangeLog is available at: > > http://gambaswiki.org/wiki/doc/release/3.6.0 > > Please test it and report any problem before I make it official! > > Thanks in advance. > From sotema at ...626... Mon Oct 13 08:12:16 2014 From: sotema at ...626... (Emanuele Sottocorno) Date: Mon, 13 Oct 2014 08:12:16 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.6 In-Reply-To: <543B0F96.50605@...1...> References: <543AB511.1090704@...1...> <543AC984.5000103@...626...> <543ADCC0.70203@...1...> <543AE50D.1000707@...626...> <543B0F96.50605@...1...> Message-ID: <543B6D40.6010106@...626...> Il 13/10/2014 01:32, Beno?t Minisini ha scritto: > Le 12/10/2014 22:31, Emanuele Sottocorno a ?crit : >> Sorry Benoit, >> now it fails in /home/emanuele/Gambas/Stable/gambas3-3.6.0/gb.gtk/src >> >> make[5]: ingresso nella directory >> "/home/emanuele/Gambas/Stable/gambas3-3.6.0/gb.gtk/src" >> CXX gb_gtk_la-gmainwindow.lo >> gmainwindow.cpp:34:19: fatal error: sm/sm.h: No such file or directory >> #include "sm/sm.h" >> > It should be good now! > Thanks Benoit, it works From eilert-sprachen at ...221... Mon Oct 13 10:23:15 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 13 Oct 2014 10:23:15 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.6 In-Reply-To: <543AB511.1090704@...1...> References: <543AB511.1090704@...1...> Message-ID: <543B8BF3.5010004@...221...> Am 12.10.2014 19:06, schrieb Beno?t Minisini: > Hi, > > I have uploaded the source package of Gambas 3.6 at: > > http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.0.tar.bz2/download > > The ChangeLog is available at: > > http://gambaswiki.org/wiki/doc/release/3.6.0 > > Please test it and report any problem before I make it official! > > Thanks in advance. > Hello Benoit, unfortunately, on my system make stops here: CXX gb_gtk3_la-gmemory.lo CXX gb_gtk3_la-font-parser.lo CXX gb_gtk3_la-gtools.lo CXX gb_gtk3_la-gstock.lo CXX gb_gtk3_la-gfont.lo CXX gb_gtk3_la-gpicture.lo CXX gb_gtk3_la-gdesktop.lo CXX gb_gtk3_la-gmessage.lo gmessage.cpp: In static member function 'static bool gDialog::selectColor()': gmessage.cpp:692:2: error: 'GtkColorChooserDialog' was not declared in this scope gmessage.cpp:692:25: error: 'dialog' was not declared in this scope gmessage.cpp:697:35: error: expected primary-expression before ')' token gmessage.cpp:697:36: error: expected ';' before 'gtk_color_chooser_dialog_new' gmessage.cpp:699:53: error: 'GTK_COLOR_CHOOSER' was not declared in this scope gmessage.cpp:699:62: error: 'gtk_color_chooser_set_rgba' was not declared in this scope gmessage.cpp:710:62: error: 'gtk_color_chooser_get_rgba' was not declared in this scope make[4]: *** [gb_gtk3_la-gmessage.lo] Fehler 1 make[4]: Leaving directory `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3/src' make[3]: *** [all-recursive] Fehler 1 make[3]: Leaving directory `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3' make[2]: *** [all] Fehler 2 make[2]: Leaving directory `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/home/tester/Downloads/Gambas3/gambas3-3.6.0' make: *** [all] Fehler 2 Regards Rolf From gambas at ...1... Mon Oct 13 10:31:45 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Mon, 13 Oct 2014 10:31:45 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.6 In-Reply-To: <543B8BF3.5010004@...221...> References: <543AB511.1090704@...1...> <543B8BF3.5010004@...221...> Message-ID: <543B8DF1.5090501@...1...> Le 13/10/2014 10:23, Rolf-Werner Eilert a ?crit : > > > Am 12.10.2014 19:06, schrieb Beno?t Minisini: >> Hi, >> >> I have uploaded the source package of Gambas 3.6 at: >> >> http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.0.tar.bz2/download >> >> The ChangeLog is available at: >> >> http://gambaswiki.org/wiki/doc/release/3.6.0 >> >> Please test it and report any problem before I make it official! >> >> Thanks in advance. >> > > Hello Benoit, > > unfortunately, on my system... Which is? Please give your system information (especially the GTK+3 version in that case). Regards, -- Beno?t Minisini From ron at ...1740... Mon Oct 13 11:07:42 2014 From: ron at ...1740... (Ron) Date: Mon, 13 Oct 2014 11:07:42 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.6 In-Reply-To: <543B8DF1.5090501@...1...> References: <543AB511.1090704@...1...> <543B8BF3.5010004@...221...> <543B8DF1.5090501@...1...> Message-ID: It builds OK on Ubuntu 14.04.1 LTS 64Bits. But version of gbs3 is not updated. $ gbc3 --version 3.6.0 $ gba3 --version 3.6.0 $ gbi3 --version 3.6.0 $ gbs3 --version 3.5.90 $ which gbc3 /usr/bin/gbc3 $ which gbs3 /usr/bin/gbs3 It has wrong/debug arguments in it's .project file? Arguments="-c\n/home/benoit/comment-at-last-END-bug.gbs3" Regards, Ron. 2014-10-13 10:31 GMT+02:00 Beno?t Minisini : > Le 13/10/2014 10:23, Rolf-Werner Eilert a ?crit : >> >> >> Am 12.10.2014 19:06, schrieb Beno?t Minisini: >>> Hi, >>> >>> I have uploaded the source package of Gambas 3.6 at: >>> >>> http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.0.tar.bz2/download >>> >>> The ChangeLog is available at: >>> >>> http://gambaswiki.org/wiki/doc/release/3.6.0 >>> >>> Please test it and report any problem before I make it official! >>> >>> Thanks in advance. >>> >> >> Hello Benoit, >> >> unfortunately, on my system... > > Which is? Please give your system information (especially the GTK+3 > version in that case). > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://p.sf.net/sfu/Zoho > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bagoneo at ...69... Mon Oct 13 12:41:32 2014 From: bagoneo at ...69... (Gian) Date: Mon, 13 Oct 2014 12:41:32 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.6 In-Reply-To: <543B2D56.6080601@...69...> References: <543AB511.1090704@...1...> <543B2D56.6080601@...69...> Message-ID: <543BAC5C.8040507@...69...> Hello Benoit, I think to have found out where it falls configuring gb.jit: ?This connection can not be used, because the destination "../lib/llvm-3.5/bin/llvm-config 'does not exist.? There is only the executable lli Regards gianluigi Il 13/10/2014 03:39, Gian ha scritto: > Hello Benoit, > > I extracted the 6543 revision and with library llvm-3.5 installed I get > this error: > > make[4]: ingresso nella directory "/home/vir/3.6/gb.jit/src" > > CXX gb_jit_la-jit_api.lo > > CXX gb_jit_la-jit_codegen.lo > > In file included from jit_codegen.cpp:34:0: > > jit.h:49:26: fatal error: llvm/IR/CFG.h: No such file or directory > > #include "llvm/IR/CFG.h" > > ^ > > compilation terminated. > > The above is obtained even with the trunk. > > > Instead eliminating the 3.5, with the library llvm-3.4 I get the > installation without errors but with these data: > > gb.jit is disabled > > gbi3: warning: component gb.xml.rpc not found > > Unable to find file: libintl.so > > Unable to find file: libiconv.so > > Total warning 192 > > > My system: > > > [System] > > Gambas=3.6.0 > > OperatingSystem=Linux > > Kernel=3.13.0-38-generic > > Architecture=x86_64 > > Distribution=Ubuntu 14.04.1 LTS > > Desktop=GNOME > > Theme=QGtk > > Language=it_IT.UTF-8 > > Memory=4537M > > [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 > > > Regards and good night > > gianluigi > > > > Il 12/10/2014 19:06, Beno?t Minisini ha scritto: >> Hi, >> >> I have uploaded the source package of Gambas 3.6 at: >> >> http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.0.tar.bz2/download >> >> The ChangeLog is available at: >> >> http://gambaswiki.org/wiki/doc/release/3.6.0 >> >> Please test it and report any problem before I make it official! >> >> Thanks in advance. >> > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://p.sf.net/sfu/Zoho > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From eilert-sprachen at ...221... Mon Oct 13 13:06:19 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 13 Oct 2014 13:06:19 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.6 In-Reply-To: <543B8DF1.5090501@...1...> References: <543AB511.1090704@...1...> <543B8BF3.5010004@...221...> <543B8DF1.5090501@...1...> Message-ID: <543BB22B.3080207@...221...> Am 13.10.2014 10:31, schrieb Beno?t Minisini: > Le 13/10/2014 10:23, Rolf-Werner Eilert a ?crit : >> >> >> Am 12.10.2014 19:06, schrieb Beno?t Minisini: >>> Hi, >>> >>> I have uploaded the source package of Gambas 3.6 at: >>> >>> http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.0.tar.bz2/download >>> >>> The ChangeLog is available at: >>> >>> http://gambaswiki.org/wiki/doc/release/3.6.0 >>> >>> Please test it and report any problem before I make it official! >>> >>> Thanks in advance. >>> >> >> Hello Benoit, >> >> unfortunately, on my system... > > Which is? Please give your system information (especially the GTK+3 > version in that case). > > Regards, > Yast says 3.2.1 - is that possible? (Older system) Otherwise give me a command to find out. Regards Rolf From shordi at ...626... Mon Oct 13 14:15:22 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Mon, 13 Oct 2014 14:15:22 +0200 Subject: [Gambas-user] A question about SQL field's names in gambas Message-ID: When I do a call to my_conexion.exec method, like this. myresult=myconexion.exec("select `idactuacion`,`iddocumentos`,`fecha`,concat(`nombre`,`extension`) as `Nombre` from `documentos` where `idactuacion`= 288) (Two first fields ar integer, third a date and the rest strings.) Sometimes I receive a result wich have the Fields name as I defined in sql sentence and sometimes I receive a tableName.Fieldname as field name and not even in every field of same sql sentence... I always thought that tablename.fieldname where returned as desambiguation of similar names but that's not so since in the sql there isn't ambiguities. Same sql sentence in phpmyadmin, by example, works fine... How can be controled the fieldsname to be returned? Regards From Karl.Reinl at ...2345... Mon Oct 13 14:32:40 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Mon, 13 Oct 2014 14:32:40 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.6 In-Reply-To: <543AB511.1090704@...1...> References: <543AB511.1090704@...1...> Message-ID: <1413203560.3515.4.camel@...40...> Am Sonntag, den 12.10.2014, 19:06 +0200 schrieb Beno?t Minisini: > Hi, > > I have uploaded the source package of Gambas 3.6 at: > > http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.0.tar.bz2/download > > The ChangeLog is available at: > > http://gambaswiki.org/wiki/doc/release/3.6.0 > > Please test it and report any problem before I make it official! > > Thanks in advance. > Salut Beno?t, here it works fine,but I have a question about this line in configure.log ./config.status: line 1050: ./stamp-h1: Permission denied [System] Gambas=3.6.0 OperatingSystem=Linux Kernel=3.2.0-70-generic Architecture=x86_64 Distribution=Ubuntu 12.04.5 LTS Desktop=GNOME Theme=QGtk Language=de_DE.UTF-8 Memory=992M [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 -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: configure.log Type: text/x-log Size: 273788 bytes Desc: not available URL: From gambas at ...1... Mon Oct 13 14:55:37 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 13 Oct 2014 14:55:37 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.6 In-Reply-To: <1413203560.3515.4.camel@...40...> References: <543AB511.1090704@...1...> <1413203560.3515.4.camel@...40...> Message-ID: <543BCBC9.4080806@...1...> Le 13/10/2014 14:32, Charlie Reinl a ?crit : > Am Sonntag, den 12.10.2014, 19:06 +0200 schrieb Beno?t Minisini: >> Hi, >> >> I have uploaded the source package of Gambas 3.6 at: >> >> http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.0.tar.bz2/download >> >> The ChangeLog is available at: >> >> http://gambaswiki.org/wiki/doc/release/3.6.0 >> >> Please test it and report any problem before I make it official! >> >> Thanks in advance. >> > > Salut Beno?t, > > here it works fine,but I have a question about this line in > configure.log > > ./config.status: line 1050: ./stamp-h1: Permission denied > Usually that means that you did something as root you shouldn't have done! -- Beno?t Minisini From gambas at ...1... Mon Oct 13 18:43:34 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Mon, 13 Oct 2014 18:43:34 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.6 (2) Message-ID: <543C0136.4080302@...1...> Hi, I have uploaded a new pre-release source package of Gambas 3.6 at: http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.0.tar.bz2/download I have fixed the following problems: - Some source files were missing. - ImageStat() does not crash anymore. - Support for LLVM_CONFIG environmental variable is fixed. - LLVM directories should be correctly detected in all cases now. - The IDE editor message tooltip should be readable with dark themes. - The version number of all examples and components has been updated. Please test it and report if you find new problems! Regards, -- Beno?t Minisini From horechuk at ...981... Mon Oct 13 20:22:04 2014 From: horechuk at ...981... (Paul Horechuk) Date: Mon, 13 Oct 2014 14:22:04 -0400 Subject: [Gambas-user] print resolution issues In-Reply-To: <543857D3.6010400@...69...> References: <5435643A.80805@...981...> <54370026.10200@...1...> <5437A103.9050806@...69...> <54382F89.7080605@...981...> <543857D3.6010400@...69...> Message-ID: <543C184C.7010207@...981...> Thank you for the examples. It appears we are doing a similar process. You use 72 as the resolution and with 25.4 mm per inch, you get a factor of 0.352778 (MM_X_PX). I use 100 for the resolution and use the page dimensions of the page in inches to get 850 x 1100 for US letter size. If I change to a res of 72 then I should use 1.38889 as my adjustment factor or rather than dividing by the factor, I would multiply by 72/100 or 0.72. I would then use a page size of 8.5 x 72 or 612 wide and length is 792. Each offset is then multiplid by 0.72. As a result of this, my code does write to a pixel scale, just with a different resolution. Significant? Probably not. However, your code does print OK to a .pdf. Strange. On 14-10-10 06:04 PM, Gian wrote: > Sorry but for my scarce English I did not understand how did you print > to your HP. > > Anyway , I think that if you want to get the same proportions between > what you see on the screen and what you print (with millimeter > accuracy), have to look to compensation factors. > > For example with the components gb.qt4 and gb.qt4.ext, I use 0.352778 > for change mm in px, I use 72 for print resolution and I use the > compensation factor for the font size (see my examples). > > hope that helps > > gianluigi > > PS: But I think that GTK not interested at the resolution. :-) > > > Il 10/10/2014 21:12, Paul Horechuk ha scritto: >> Thanks. I'll check them out. >> >> On 14-10-10 05:04 AM, Gian wrote: >>> Hello Paul, >>> >>> attached two small demonstrations that might inspire you. >>> gianluigi >>> >>> >>> >>>> Le 08/10/2014 18:20, Paul Horechuk a ?crit : >>>>> I have a successful project that formats a sheet of labels on an Avery >>>>> form and prints directly to an HP OfficeJet 7500 E910. >>>>> >>>>> I set the printer width to 850 and length to 1100 with a resolution of >>>>> 100. These may not be correct for all (PrinterWidth and length are seen >>>>> as 216 by 279mm), but by setting moveto coordinates within this >>>>> range, I >>>>> do get a correct sheet of labels. >>>>> >>>>> Problems: >>>>> >>>>> On a customer printer with the same version of gambas 3.5.4, the >>>>> coordinates are stretched so that the labels are stretched by about >>>>> 50%. >>>>> This is on a Canon Pixma. >>>>> >>>>> Further checking shows a print to file (as PDF) from the printer >>>>> dialog, >>>>> resulting in: >>>>> >>>>> * vertical resolution is about 1/4 of what it should be >>>>> * fonts are correctly sized >>>>> * horizontal positioning is about 1/4 as well >>>>> * therefore all text is compressed into the upper left >>>>> * a QR code is about 1/4 the expected size >>>>> >>>>> >>>>> Changing the resolution for a direct print to Pixma has no effect. >>>>> Changing from 100 to 75 or to 150, results in the same stretched >>>>> printout. This works as expected on the HP. >>>>> >>>>> Suggestions? >>>>> >>>> The first thing I can quicky tell you: you must not use the printer >>>> resolution when drawing on a printer. >>>> >>>> If you use it, then something is doomed in your drawing routine, unless >>>> you want to draw at the pixel level, for example the thinest possible >>>> line (one pixel). Then you need the printer resolution, but this is the >>>> only case. >>>> >>>> Otherwise, in all normal printing routines, printer resolution is not >>>> needed. >>>> >>>> But maybe I didn't understand what you wrote... >>>> >>> >>> ------------------------------------------------------------------------------ >>> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer >>> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports >>> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper >>> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer >>> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk >>> >>> >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://p.sf.net/sfu/Zoho > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Think Free ... Use Open Source Software From horechuk at ...981... Mon Oct 13 21:25:29 2014 From: horechuk at ...981... (Paul Horechuk) Date: Mon, 13 Oct 2014 15:25:29 -0400 Subject: [Gambas-user] print resolution issues In-Reply-To: <543C184C.7010207@...981...> References: <5435643A.80805@...981...> <54370026.10200@...1...> <5437A103.9050806@...69...> <54382F89.7080605@...981...> <543857D3.6010400@...69...> <543C184C.7010207@...981...> Message-ID: <543C2729.90602@...981...> It looks like the problem has been resolved. Keeping the same resolution (100), I just moved the .resolution to just after the .configure line, before the printer.begin. This at least fixes the pdf scaling issue and I'm sure it will fix other printer issues as well. Thanks to Gian and Benoit. On 14-10-13 02:22 PM, Paul Horechuk wrote: > Thank you for the examples. > > It appears we are doing a similar process. You use 72 as the resolution > and with 25.4 mm per inch, you get a factor of 0.352778 (MM_X_PX). > > I use 100 for the resolution and use the page dimensions of the page in > inches to get 850 x 1100 for US letter size. If I change to a res of 72 > then I should use 1.38889 as my adjustment factor or rather than > dividing by the factor, I would multiply by 72/100 or 0.72. I would then > use a page size of 8.5 x 72 or 612 wide and length is 792. Each offset > is then multiplid by 0.72. > > As a result of this, my code does write to a pixel scale, just with a > different resolution. Significant? Probably not. However, your code does > print OK to a .pdf. Strange. > > On 14-10-10 06:04 PM, Gian wrote: >> Sorry but for my scarce English I did not understand how did you print >> to your HP. >> >> Anyway , I think that if you want to get the same proportions between >> what you see on the screen and what you print (with millimeter >> accuracy), have to look to compensation factors. >> >> For example with the components gb.qt4 and gb.qt4.ext, I use 0.352778 >> for change mm in px, I use 72 for print resolution and I use the >> compensation factor for the font size (see my examples). >> >> hope that helps >> >> gianluigi >> >> PS: But I think that GTK not interested at the resolution. :-) >> >> >> Il 10/10/2014 21:12, Paul Horechuk ha scritto: >>> Thanks. I'll check them out. >>> >>> On 14-10-10 05:04 AM, Gian wrote: >>>> Hello Paul, >>>> >>>> attached two small demonstrations that might inspire you. >>>> gianluigi >>>> >>>> >>>> >>>>> Le 08/10/2014 18:20, Paul Horechuk a ?crit : >>>>>> I have a successful project that formats a sheet of labels on an Avery >>>>>> form and prints directly to an HP OfficeJet 7500 E910. >>>>>> >>>>>> I set the printer width to 850 and length to 1100 with a resolution of >>>>>> 100. These may not be correct for all (PrinterWidth and length are seen >>>>>> as 216 by 279mm), but by setting moveto coordinates within this >>>>>> range, I >>>>>> do get a correct sheet of labels. >>>>>> >>>>>> Problems: >>>>>> >>>>>> On a customer printer with the same version of gambas 3.5.4, the >>>>>> coordinates are stretched so that the labels are stretched by about >>>>>> 50%. >>>>>> This is on a Canon Pixma. >>>>>> >>>>>> Further checking shows a print to file (as PDF) from the printer >>>>>> dialog, >>>>>> resulting in: >>>>>> >>>>>> * vertical resolution is about 1/4 of what it should be >>>>>> * fonts are correctly sized >>>>>> * horizontal positioning is about 1/4 as well >>>>>> * therefore all text is compressed into the upper left >>>>>> * a QR code is about 1/4 the expected size >>>>>> >>>>>> >>>>>> Changing the resolution for a direct print to Pixma has no effect. >>>>>> Changing from 100 to 75 or to 150, results in the same stretched >>>>>> printout. This works as expected on the HP. >>>>>> >>>>>> Suggestions? >>>>>> >>>>> The first thing I can quicky tell you: you must not use the printer >>>>> resolution when drawing on a printer. >>>>> >>>>> If you use it, then something is doomed in your drawing routine, unless >>>>> you want to draw at the pixel level, for example the thinest possible >>>>> line (one pixel). Then you need the printer resolution, but this is the >>>>> only case. >>>>> >>>>> Otherwise, in all normal printing routines, printer resolution is not >>>>> needed. >>>>> >>>>> But maybe I didn't understand what you wrote... >>>>> >>>> ------------------------------------------------------------------------------ >>>> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer >>>> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports >>>> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper >>>> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer >>>> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk >>>> >>>> >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> ------------------------------------------------------------------------------ >> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer >> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports >> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper >> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer >> http://p.sf.net/sfu/Zoho >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> -- Think Free ... Use Open Source Software From ihaywood3 at ...626... Tue Oct 14 05:56:50 2014 From: ihaywood3 at ...626... (Ian Haywood) Date: Tue, 14 Oct 2014 14:56:50 +1100 Subject: [Gambas-user] Pre-release of Gambas 3.6 (2) In-Reply-To: <543C0136.4080302@...1...> References: <543C0136.4080302@...1...> Message-ID: compiles but lots of warnings on Debian testing make[4]: Entering directory '/home/ian/Downloads/gambas3-3.6.0/gb.desktop.gnome.keyring/src' CC gb_desktop_gnome_keyring_la-main.lo CC gb_desktop_gnome_keyring_la-keyring.lo keyring.c: In function 'get_password': keyring.c:50:5: warning: 'gnome_keyring_attribute_list_append_string' is deprecated (declared at /usr/include/gnome-keyring-1/gnome-keyring.h:145): Use 'g_hash_table_replace' instead [-Wdeprecated-declarations] gnome_keyring_attribute_list_append_string(attributes, ^ keyring.c:53:5: warning: 'gnome_keyring_attribute_list_append_string' is deprecated (declared at /usr/include/gnome-keyring-1/gnome-keyring.h:145): Use 'g_hash_table_replace' instead [-Wdeprecated-declarations] gnome_keyring_attribute_list_append_string(attributes, ^ keyring.c:57:5: warning: 'gnome_keyring_find_items_sync' is deprecated (declared at /usr/include/gnome-keyring-1/gnome-keyring.h:321): Use 'secret_service_search_sync' instead [-Wdeprecated-declarations] result = gnome_keyring_find_items_sync(GNOME_KEYRING_ITEM_GENERIC_SECRET, ^ keyring.c:60:5: warning: 'gnome_keyring_attribute_list_free' is deprecated (declared at /usr/include/gnome-keyring-1/gnome-keyring.h:155): Use 'g_hash_table_unref' instead [-Wdeprecated-declarations] gnome_keyring_attribute_list_free(attributes); ^ keyring.c:74:5: warning: 'gnome_keyring_found_list_free' is deprecated (declared at /usr/include/gnome-keyring-1/gnome-keyring.h:174) [-Wdeprecated-declarations] gnome_keyring_found_list_free(found_list); ^ keyring.c: In function 'set_password': keyring.c:87:5: warning: 'gnome_keyring_attribute_list_append_string' is deprecated (declared at /usr/include/gnome-keyring-1/gnome-keyring.h:145): Use 'g_hash_table_replace' instead [-Wdeprecated-declarations] gnome_keyring_attribute_list_append_string(attributes, ^ keyring.c:90:5: warning: 'gnome_keyring_attribute_list_append_string' is deprecated (declared at /usr/include/gnome-keyring-1/gnome-keyring.h:145): Use 'g_hash_table_replace' instead [-Wdeprecated-declarations] gnome_keyring_attribute_list_append_string(attributes, ^ keyring.c:94:5: warning: 'gnome_keyring_item_create_sync' is deprecated (declared at /usr/include/gnome-keyring-1/gnome-keyring.h:340): Use 'secret_item_create_sync' instead [-Wdeprecated-declarations] result = gnome_keyring_item_create_sync(NULL, ^ keyring.c:101:5: warning: 'gnome_keyring_attribute_list_free' is deprecated (declared at /usr/include/gnome-keyring-1/gnome-keyring.h:155): Use 'g_hash_table_unref' instead [-Wdeprecated-declarations] gnome_keyring_attribute_list_free(attributes); ^ CCLD gb.desktop.gnome.keyring.la make[4]: Entering directory '/home/ian/Downloads/gambas3-3.6.0/gb.jit/src' CXX gb_jit_la-jit_api.lo CXX gb_jit_la-jit_codegen.lo jit_codegen.cpp: In function 'llvm::Value* extract_value(llvm::Value*, int)': jit_codegen.cpp:362:29: warning: narrowing conversion of 'index' from 'int' to 'unsigned int' inside { } [-Wnarrowing] unsigned int arr[] = {index}; ^ jit_codegen.cpp: In function 'llvm::Value* insert_value(llvm::Value*, llvm::Value*, int)': jit_codegen.cpp:367:29: warning: narrowing conversion of 'index' from 'int' to 'unsigned int' inside { } [-Wnarrowing] unsigned int arr[] = {index}; ^ jit_codegen.cpp: In function 'void func_extern_call_variant_vararg(void*, void*, int, TYPE)': jit_codegen.cpp:6655:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(TYPE*)&signature_string[nargs] = return_type; ^ jit_codegen.cpp:6705:44: warning: array subscript has type 'char' [-Wchar-subscripts] ft[i] = extern_types[signature_string[i]]; ^ In file included from jit_codegen.cpp:5060:0: jit_codegen_conv.h: In function 'llvm::Value* JIT_conv_to_variant(Expression*, llvm::Value*, bool, bool*)': jit_codegen_conv.h:93:36: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized] ret = insert_value(ret, data, 1); ^ jit_codegen.cpp: In member function 'virtual llvm::Value* EqExpression::codegen_get_value()': jit_codegen.cpp:3894:29: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] push_value(ret, T_BOOLEAN); ^ jit_codegen.cpp: In member function 'virtual llvm::Value* NotExpression::codegen_get_value()': jit_codegen.cpp:3929:30: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] push_value(ret, T_BOOLEAN); ^ jit_codegen.cpp: In member function 'virtual llvm::Value* LessExpression::codegen_get_value()': jit_codegen.cpp:4001:30: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] push_value(ret, T_BOOLEAN); ^ jit_codegen.cpp: In member function 'virtual llvm::Value* CallExpression::codegen_get_value()': jit_codegen.cpp:2889:80: warning: 'call_addr' may be used uninitialized in this function [-Wmaybe-uninitialized] call_function = builder->CreateBitCast(call_addr, pointer_t(function_type)); ^ jit_codegen.cpp: In member function 'virtual void CallExpression::codegen_on_stack()': jit_codegen.cpp:3042:127: warning: 'object' may be used uninitialized in this function [-Wmaybe-uninitialized] builder->CreateCall3(get_global_function(JR_exec_enter, 'v', "ppi"), fe->effective_class, object, getInteger(32, index)); ^ jit_codegen.cpp: In member function 'virtual llvm::Value* SubrExpression::codegen_get_value()': jit_codegen.cpp:6344:31: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] push_value(ret, T_POINTER); ^ jit_codegen.cpp:5969:64: warning: 'res' may be used uninitialized in this function [-Wmaybe-uninitialized] set_top_value(res, type, extra == 3 || !args[0]->on_stack); ^ jit_codegen.cpp:5900:94: warning: 'res' may be used uninitialized in this function [-Wmaybe-uninitialized] builder->CreateCondBr(builder->CreateAnd(still_inside_string, res), body_block, cont_block); ^ jit_codegen.cpp:682:2: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] phi->addIncoming(ret2, else_block2); ^ jit_codegen.cpp:5689:17: note: 'ret' was declared here llvm::Value* ret; ^ jit_codegen.cpp:5635:64: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] set_top_value(ret, type, args[0]->on_stack ? false : true); ^ jit_codegen.cpp:5612:101: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized] llvm::Value* ret = builder->CreateFAdd(builder->CreateFMul(r, builder->CreateFSub(max, min)), min); ^ jit_codegen.cpp:5612:101: warning: 'min' may be used uninitialized in this function [-Wmaybe-uninitialized] jit_codegen.cpp: At global scope: jit_codegen.cpp:337:21: warning: 'llvm::Value* get_new_struct(llvm::StructType*, llvm::Value*, llvm::Value*, llvm::Value*)' defined but not used [-Wunused-function] static llvm::Value* get_new_struct(llvm::StructType* st, llvm::Value* v1, llvm::Value* v2, llvm::Value* v3){ ^ jit_codegen.cpp:1030:13: warning: 'void codegen_printf(const char*, int)' defined but not used [-Wunused-function] static void codegen_printf(const char* str1, int tal){ ^ jit_codegen.cpp:1034:13: warning: 'void codegen_printf(const char*)' defined but not used [-Wunused-function] static void codegen_printf(const char* str1){ ^ jit_codegen.cpp:1038:13: warning: 'void codegen_printf(const char*, llvm::Value*)' defined but not used [-Wunused-function] static void codegen_printf(const char* str1, llvm::Value* intval){ ^ jit_codegen.cpp:1117:13: warning: 'void borrow_top(TYPE)' defined but not used [-Wunused-function] static void borrow_top(TYPE type){ ^ jit_codegen.cpp:1121:13: warning: 'void release_top(Expression*)' defined but not used [-Wunused-function] static void release_top(Expression* expr){ ^ jit_codegen.cpp:1135:13: warning: 'void release_val(Expression*)' defined but not used [-Wunused-function] static void release_val(Expression* expr){ ^ jit_codegen.cpp:6980:13: warning: 'void JIT_cleanup(llvm::ExecutionEngine**, int)' defined but not used [-Wunused-function] static void JIT_cleanup(llvm::ExecutionEngine** EE, int n_func){ ^ On Tue, Oct 14, 2014 at 3:43 AM, Beno?t Minisini wrote: > Hi, > > I have uploaded a new pre-release source package of Gambas 3.6 at: > > http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.0.tar.bz2/download > > I have fixed the following problems: > > - Some source files were missing. > > - ImageStat() does not crash anymore. > > - Support for LLVM_CONFIG environmental variable is fixed. > > - LLVM directories should be correctly detected in all cases now. > > - The IDE editor message tooltip should be readable with dark themes. > > - The version number of all examples and components has been updated. > > Please test it and report if you find new problems! > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://p.sf.net/sfu/Zoho > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From sotema at ...626... Tue Oct 14 10:06:52 2014 From: sotema at ...626... (Emanuele Sottocorno) Date: Tue, 14 Oct 2014 10:06:52 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.6 (2) In-Reply-To: <543C0136.4080302@...1...> References: <543C0136.4080302@...1...> Message-ID: <543CD99C.1090902@...626...> Il 13/10/2014 18:43, Beno?t Minisini ha scritto: > Hi, > > I have uploaded a new pre-release source package of Gambas 3.6 at: > > http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.0.tar.bz2/download > > I have fixed the following problems: > > - Some source files were missing. > > - ImageStat() does not crash anymore. > > - Support for LLVM_CONFIG environmental variable is fixed. > > - LLVM directories should be correctly detected in all cases now. > > - The IDE editor message tooltip should be readable with dark themes. > > - The version number of all examples and components has been updated. > > Please test it and report if you find new problems! > > Regards, > Everything run fine here: [System] Gambas=3.6.0 OperatingSystem=Linux Kernel=3.13.0-37-generic Architecture=x86_64 Distribution=Ubuntu 14.04.1 LTS Desktop=GNOME Theme=QGtk Language=it_IT.UTF-8 Memory=7836M [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 shordi at ...626... Tue Oct 14 11:10:00 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Tue, 14 Oct 2014 11:10:00 +0200 Subject: [Gambas-user] A question about SQL field's names in gambas In-Reply-To: References: Message-ID: Nobody answer this question, but I want add what I've found in hope that it helps someone who same problem: If your SQL sentence uses a Mysql function as mid, or substring or date_format or whatever, then table name is added to regular resultfields name (with or without alias) and fields who uses the mysql function are returned just with the alias. When you sql sentence is created by the user choosing tables, relationships and fields... this is a mess. Regards. 2014-10-13 14:15 GMT+02:00 Jorge Carri?n : > When I do a call to my_conexion.exec method, like this. > > myresult=myconexion.exec("select > `idactuacion`,`iddocumentos`,`fecha`,concat(`nombre`,`extension`) as > `Nombre` from `documentos` where `idactuacion`= 288) > > (Two first fields ar integer, third a date and the rest strings.) > > Sometimes I receive a result wich have the Fields name as I defined in sql > sentence and sometimes I receive a tableName.Fieldname as field name and > not even in every field of same sql sentence... > > I always thought that tablename.fieldname where returned as desambiguation > of similar names but that's not so since in the sql there isn't ambiguities. > > Same sql sentence in phpmyadmin, by example, works fine... > > > How can be controled the fieldsname to be returned? > > Regards > From eilert-sprachen at ...221... Tue Oct 14 12:29:16 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 14 Oct 2014 12:29:16 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.6 (2) In-Reply-To: <543C0136.4080302@...1...> References: <543C0136.4080302@...1...> Message-ID: <543CFAFC.9020604@...221...> Am 13.10.2014 18:43, schrieb Beno?t Minisini: > Hi, > > I have uploaded a new pre-release source package of Gambas 3.6 at: > > http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.0.tar.bz2/download > > I have fixed the following problems: > > - Some source files were missing. > > - ImageStat() does not crash anymore. > > - Support for LLVM_CONFIG environmental variable is fixed. > > - LLVM directories should be correctly detected in all cases now. > > - The IDE editor message tooltip should be readable with dark themes. > > - The version number of all examples and components has been updated. > > Please test it and report if you find new problems! > > Regards, > Hi Benoit, My make stops here: make[4]: Entering directory `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3/src' CXX gb_gtk3_la-gmemory.lo CXX gb_gtk3_la-font-parser.lo CXX gb_gtk3_la-gtools.lo CXX gb_gtk3_la-gstock.lo CXX gb_gtk3_la-gfont.lo CXX gb_gtk3_la-gpicture.lo CXX gb_gtk3_la-gdesktop.lo CXX gb_gtk3_la-gmessage.lo gmessage.cpp: In static member function 'static bool gDialog::selectColor()': gmessage.cpp:692:2: error: 'GtkColorChooserDialog' was not declared in this scope gmessage.cpp:692:25: error: 'dialog' was not declared in this scope gmessage.cpp:697:35: error: expected primary-expression before ')' token gmessage.cpp:697:36: error: expected ';' before 'gtk_color_chooser_dialog_new' gmessage.cpp:699:53: error: 'GTK_COLOR_CHOOSER' was not declared in this scope gmessage.cpp:699:62: error: 'gtk_color_chooser_set_rgba' was not declared in this scope gmessage.cpp:710:62: error: 'gtk_color_chooser_get_rgba' was not declared in this scope make[4]: *** [gb_gtk3_la-gmessage.lo] Fehler 1 make[4]: Leaving directory `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3/src' make[3]: *** [all-recursive] Fehler 1 make[3]: Leaving directory `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3' make[2]: *** [all] Fehler 2 make[2]: Leaving directory `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/home/tester/Downloads/Gambas3/gambas3-3.6.0' make: *** [all] Fehler 2 And this is the system data: [System] Gambas=3.5.4 OperatingSystem=Linux Kernel=3.1.10-1.19-desktop Architecture=x86_64 Distribution=SuSE openSUSE 12.1 (x86_64) VERSION = 12.1 CODENAME = Asparagus Desktop=KDE Theme=QPlastique Language=de_DE.UTF-8 Memory=20114M [Libraries] Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.3.0.0 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.6.4 GStreamer=libgstreamer-0.10.so.0.29.0 GTK+=libgtk-x11-2.0.so.0.2400.7 Regards Rolf From ron at ...1740... Tue Oct 14 14:28:30 2014 From: ron at ...1740... (Ron) Date: Tue, 14 Oct 2014 14:28:30 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.6 (2) In-Reply-To: <543CFAFC.9020604@...221...> References: <543C0136.4080302@...1...> <543CFAFC.9020604@...221...> Message-ID: New archive runs OK on Ubuntu 14.04, versions are correct now. I have to get used to Copy/Paste being under Edit menu now (at least it seems that the location changed) I get the idea that default alignment of a TextLabel is TopNormal now, is that on purpose? Regards, Ron. 2014-10-14 12:29 GMT+02:00 Rolf-Werner Eilert : > > > Am 13.10.2014 18:43, schrieb Beno?t Minisini: >> Hi, >> >> I have uploaded a new pre-release source package of Gambas 3.6 at: >> >> http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.0.tar.bz2/download >> >> I have fixed the following problems: >> >> - Some source files were missing. >> >> - ImageStat() does not crash anymore. >> >> - Support for LLVM_CONFIG environmental variable is fixed. >> >> - LLVM directories should be correctly detected in all cases now. >> >> - The IDE editor message tooltip should be readable with dark themes. >> >> - The version number of all examples and components has been updated. >> >> Please test it and report if you find new problems! >> >> Regards, >> > > Hi Benoit, > > My make stops here: > > make[4]: Entering directory > `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3/src' > CXX gb_gtk3_la-gmemory.lo > CXX gb_gtk3_la-font-parser.lo > CXX gb_gtk3_la-gtools.lo > CXX gb_gtk3_la-gstock.lo > CXX gb_gtk3_la-gfont.lo > CXX gb_gtk3_la-gpicture.lo > CXX gb_gtk3_la-gdesktop.lo > CXX gb_gtk3_la-gmessage.lo > gmessage.cpp: In static member function 'static bool > gDialog::selectColor()': > gmessage.cpp:692:2: error: 'GtkColorChooserDialog' was not declared in > this scope > gmessage.cpp:692:25: error: 'dialog' was not declared in this scope > gmessage.cpp:697:35: error: expected primary-expression before ')' token > gmessage.cpp:697:36: error: expected ';' before > 'gtk_color_chooser_dialog_new' > gmessage.cpp:699:53: error: 'GTK_COLOR_CHOOSER' was not declared in this > scope > gmessage.cpp:699:62: error: 'gtk_color_chooser_set_rgba' was not > declared in this scope > gmessage.cpp:710:62: error: 'gtk_color_chooser_get_rgba' was not > declared in this scope > make[4]: *** [gb_gtk3_la-gmessage.lo] Fehler 1 > make[4]: Leaving directory > `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3/src' > make[3]: *** [all-recursive] Fehler 1 > make[3]: Leaving directory > `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3' > make[2]: *** [all] Fehler 2 > make[2]: Leaving directory > `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3' > make[1]: *** [all-recursive] Fehler 1 > make[1]: Leaving directory `/home/tester/Downloads/Gambas3/gambas3-3.6.0' > make: *** [all] Fehler 2 > > And this is the system data: > > [System] > Gambas=3.5.4 > OperatingSystem=Linux > Kernel=3.1.10-1.19-desktop > Architecture=x86_64 > Distribution=SuSE openSUSE 12.1 (x86_64) > VERSION = 12.1 > CODENAME = Asparagus > Desktop=KDE > Theme=QPlastique > Language=de_DE.UTF-8 > Memory=20114M > [Libraries] > Cairo=libcairo.so.2.11000.2 > Curl=libcurl.so.3.0.0 > Curl=libcurl.so.4.2.0 > DBus=libdbus-1.so.3.6.4 > GStreamer=libgstreamer-0.10.so.0.29.0 > GTK+=libgtk-x11-2.0.so.0.2400.7 > > Regards > Rolf > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Tue Oct 14 14:37:58 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 14 Oct 2014 14:37:58 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.6 (2) In-Reply-To: <543CFAFC.9020604@...221...> References: <543C0136.4080302@...1...> <543CFAFC.9020604@...221...> Message-ID: <543D1926.9090700@...1...> Le 14/10/2014 12:29, Rolf-Werner Eilert a ?crit : > > > Am 13.10.2014 18:43, schrieb Beno?t Minisini: >> Hi, >> >> I have uploaded a new pre-release source package of Gambas 3.6 at: >> >> http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.0.tar.bz2/download >> >> I have fixed the following problems: >> >> - Some source files were missing. >> >> - ImageStat() does not crash anymore. >> >> - Support for LLVM_CONFIG environmental variable is fixed. >> >> - LLVM directories should be correctly detected in all cases now. >> >> - The IDE editor message tooltip should be readable with dark themes. >> >> - The version number of all examples and components has been updated. >> >> Please test it and report if you find new problems! >> >> Regards, >> > > Hi Benoit, > > My make stops here: > > make[4]: Entering directory > `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3/src' > CXX gb_gtk3_la-gmemory.lo > CXX gb_gtk3_la-font-parser.lo > CXX gb_gtk3_la-gtools.lo > CXX gb_gtk3_la-gstock.lo > CXX gb_gtk3_la-gfont.lo > CXX gb_gtk3_la-gpicture.lo > CXX gb_gtk3_la-gdesktop.lo > CXX gb_gtk3_la-gmessage.lo > gmessage.cpp: In static member function 'static bool > gDialog::selectColor()': > gmessage.cpp:692:2: error: 'GtkColorChooserDialog' was not declared in > this scope > gmessage.cpp:692:25: error: 'dialog' was not declared in this scope > gmessage.cpp:697:35: error: expected primary-expression before ')' token > gmessage.cpp:697:36: error: expected ';' before > 'gtk_color_chooser_dialog_new' > gmessage.cpp:699:53: error: 'GTK_COLOR_CHOOSER' was not declared in this > scope > gmessage.cpp:699:62: error: 'gtk_color_chooser_set_rgba' was not > declared in this scope > gmessage.cpp:710:62: error: 'gtk_color_chooser_get_rgba' was not > declared in this scope > make[4]: *** [gb_gtk3_la-gmessage.lo] Fehler 1 > make[4]: Leaving directory > `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3/src' > make[3]: *** [all-recursive] Fehler 1 > make[3]: Leaving directory > `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3' > make[2]: *** [all] Fehler 2 > make[2]: Leaving directory > `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3' > make[1]: *** [all-recursive] Fehler 1 > make[1]: Leaving directory `/home/tester/Downloads/Gambas3/gambas3-3.6.0' > make: *** [all] Fehler 2 > > And this is the system data: > > [System] > Gambas=3.5.4 > OperatingSystem=Linux > Kernel=3.1.10-1.19-desktop > Architecture=x86_64 > Distribution=SuSE openSUSE 12.1 (x86_64) > VERSION = 12.1 > CODENAME = Asparagus > Desktop=KDE > Theme=QPlastique > Language=de_DE.UTF-8 > Memory=20114M > [Libraries] > Cairo=libcairo.so.2.11000.2 > Curl=libcurl.so.3.0.0 > Curl=libcurl.so.4.2.0 > DBus=libdbus-1.so.3.6.4 > GStreamer=libgstreamer-0.10.so.0.29.0 > GTK+=libgtk-x11-2.0.so.0.2400.7 > > Regards > Rolf > Can you find your version of GTK+3? This is written in its binary package name, or you have to find the full name of the "libgtk-3.so" library file. Thanks. -- Beno?t Minisini From gambas at ...1... Tue Oct 14 14:39:39 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 14 Oct 2014 14:39:39 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.6 (2) In-Reply-To: References: <543C0136.4080302@...1...> <543CFAFC.9020604@...221...> Message-ID: <543D198B.8070609@...1...> Le 14/10/2014 14:28, Ron a ?crit : > New archive runs OK on Ubuntu 14.04, versions are correct now. > > I have to get used to Copy/Paste being under Edit menu now (at least > it seems that the location changed) I did that so that I can eventually put the "Edit" menu on the top menu bar, as in other softwares. > > I get the idea that default alignment of a TextLabel is TopNormal now, > is that on purpose? Mmm, it was always intended to be like that. But they were bugs about that I think in previous versions. Regards, -- Beno?t Minisini From gambas at ...1... Tue Oct 14 14:58:08 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 14 Oct 2014 14:58:08 +0200 Subject: [Gambas-user] A question about SQL field's names in gambas In-Reply-To: References: Message-ID: <543D1DE0.2070005@...1...> Le 14/10/2014 11:10, Jorge Carri?n a ?crit : > Nobody answer this question, but I want add what I've found in hope that it > helps someone who same problem: > > If your SQL sentence uses a Mysql function So you use MySQL. You didn't tell that in your first mail, how can we guess? > as mid, or substring or > date_format or whatever, then table name is added to regular resultfields > name (with or without alias) and fields who uses the mysql function are > returned just with the alias. > When you sql sentence is created by the user choosing tables, relationships > and fields... this is a mess. > > Regards. The table is always added to the field name if there are different tables used in the result, to avoid possible ambiguity. The problem is that it is not necessary if all field names are differents. Regards, -- Beno?t Minisini From ron at ...1740... Tue Oct 14 15:32:52 2014 From: ron at ...1740... (Ron) Date: Tue, 14 Oct 2014 15:32:52 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.6 (2) In-Reply-To: <543D198B.8070609@...1...> References: <543C0136.4080302@...1...> <543CFAFC.9020604@...221...> <543D198B.8070609@...1...> Message-ID: >> I get the idea that default alignment of a TextLabel is TopNormal now, >> is that on purpose? > > Mmm, it was always intended to be like that. But they were bugs about > that I think in previous versions. But this way it doesn't align with a textBox that you place behind it, it looks really bad... See attachment. I always have to adjust alignment to 'Normal' Please unfix the bug ;P Regards, Ron. -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot from 2014-10-14 15:31:29.png Type: image/png Size: 3444 bytes Desc: not available URL: From taboege at ...626... Tue Oct 14 15:34:20 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 14 Oct 2014 15:34:20 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.6 (2) In-Reply-To: References: <543C0136.4080302@...1...> <543CFAFC.9020604@...221...> <543D198B.8070609@...1...> Message-ID: <20141014133420.GA728@...2774...> On Tue, 14 Oct 2014, Ron wrote: > >> I get the idea that default alignment of a TextLabel is TopNormal now, > >> is that on purpose? > > > > Mmm, it was always intended to be like that. But they were bugs about > > that I think in previous versions. > > But this way it doesn't align with a textBox that you place behind it, > it looks really bad... > See attachment. > I always have to adjust alignment to 'Normal' > And you can't use a Label to label your TextBox? -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From ron at ...1740... Tue Oct 14 15:44:58 2014 From: ron at ...1740... (Ron) Date: Tue, 14 Oct 2014 15:44:58 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.6 (2) In-Reply-To: <20141014133420.GA728@...2774...> References: <543C0136.4080302@...1...> <543CFAFC.9020604@...221...> <543D198B.8070609@...1...> <20141014133420.GA728@...2774...> Message-ID: Yes I can do that... ;P 2014-10-14 15:34 GMT+02:00 Tobias Boege : > On Tue, 14 Oct 2014, Ron wrote: >> >> I get the idea that default alignment of a TextLabel is TopNormal now, >> >> is that on purpose? >> > >> > Mmm, it was always intended to be like that. But they were bugs about >> > that I think in previous versions. >> >> But this way it doesn't align with a textBox that you place behind it, >> it looks really bad... >> See attachment. >> I always have to adjust alignment to 'Normal' >> > > And you can't use a Label to label your TextBox? > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas.fr at ...626... Tue Oct 14 17:08:57 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 14 Oct 2014 17:08:57 +0200 Subject: [Gambas-user] print resolution issues Message-ID: Correctly ...--- > well Le 14 oct. 2014 13:59, gambas.fr at ...626... a ?crit : Yes configure reset many properties For labels you can use gb.report too. It manage resolutions correctly. Le 13 oct. 2014 21:26, "Paul Horechuk" a ?crit : It looks like the problem has been resolved. Keeping the same resolution (100), I just moved the .resolution to just after the .configure line, before the printer.begin. This at least fixes the pdf scaling issue and I'm sure it will fix other printer issues as well. Thanks to Gian and Benoit. On 14-10-13 02:22 PM, Paul Horechuk wrote: > Thank you for the examples. > > It appears we are doing a similar process. You use 72 as the resolution > and with 25.4 mm per inch, you get a factor of 0.352778 (MM_X_PX). > > I use 100 for the resolution and use the page dimensions of the page in > inches to get 850 x 1100 for US letter size. If I change to a res of 72 > then I should use 1.38889 as my adjustment factor or rather than > dividing by the factor, I would multiply by 72/100 or 0.72. I would then > use a page size of 8.5 x 72 or 612 wide and length is 792. Each offset > is then multiplid by 0.72. > > As a result of this, my code does write to a pixel scale, just with a > different resolution. Significant? Probably not. However, your code does > print OK to a .pdf. Strange. > > On 14-10-10 06:04 PM, Gian wrote: >> Sorry but for my scarce English I did not understand how did you print >> to your HP. >> >> Anyway , I think that if you want to get the same proportions between >> what you see on the screen and what you print (with millimeter >> accuracy), have to look to compensation factors. >> >> For example with the components gb.qt4 and gb.qt4.ext, I use 0.352778 >> for change mm in px, I use 72 for print resolution and I use the >> compensation factor for the font size (see my examples). >> >> hope that helps >> >> gianluigi >> >> PS: But I think that GTK not interested at the resolution. :-) >> >> >> Il 10/10/2014 21:12, Paul Horechuk ha scritto: >>> Thanks. I'll check them out. >>> >>> On 14-10-10 05:04 AM, Gian wrote: >>>> Hello Paul, >>>> >>>> attached two small demonstrations that might inspire you. >>>> gianluigi >>>> >>>> >>>> >>>>> Le 08/10/2014 18:20, Paul Horechuk a ?crit : >>>>>> I have a successful project that formats a sheet of labels on an Avery >>>>>> form and prints directly to an HP OfficeJet 7500 E910. >>>>>> >>>>>> I set the printer width to 850 and length to 1100 with a resolution of >>>>>> 100. These may not be correct for all (PrinterWidth and length are seen >>>>>> as 216 by 279mm), but by setting moveto coordinates within this >>>>>> range, I >>>>>> do get a correct sheet of labels. >>>>>> >>>>>> Problems: >>>>>> >>>>>> On a customer printer with the same version of gambas 3.5.4, the >>>>>> coordinates are stretched so that the labels are stretched by about >>>>>> 50%. >>>>>> This is on a Canon Pixma. >>>>>> >>>>>> Further checking shows a print to file (as PDF) from the printer >>>>>> dialog, >>>>>> resulting in: >>>>>> >>>>>> * vertical resolution is about 1/4 of what it should be >>>>>> * fonts are correctly sized >>>>>> * horizontal positioning is about 1/4 as well >>>>>> * therefore all text is compressed into the upper left >>>>>> * a QR code is about 1/4 the expected size >>>>>> >>>>>> >>>>>> Changing the resolution for a direct print to Pixma has no effect. >>>>>> Changing from 100 to 75 or to 150, results in the same stretched >>>>>> printout. This works as expected on the HP. >>>>>> >>>>>> Suggestions? >>>>>> >>>>> The first thing I can quicky tell you: you must not use the printer >>>>> resolution when drawing on a printer. >>>>> >>>>> If you use it, then something is doomed in your drawing routine, unless >>>>> you want to draw at the pixel level, for example the thinest possible >>>>> line (one pixel). Then you need the printer resolution, but this is the >>>>> only case. >>>>> >>>>> Otherwise, in all normal printing routines, printer resolution is not >>>>> needed. >>>>> >>>>> But maybe I didn't understand what you wrote... >>>>> >>>> ------------------------------------------------------------------------------ >>>> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer >>>> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports >>>> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper >>>> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer >>>> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk >>>> >>>> >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> ------------------------------------------------------------------------------ >> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer >> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports >> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper >> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer >> http://p.sf.net/sfu/Zoho >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> -- Think Free ... Use Open Source Software ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas.fr at ...626... Tue Oct 14 17:08:57 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 14 Oct 2014 17:08:57 +0200 Subject: [Gambas-user] print resolution issues In-Reply-To: <543C2729.90602@...981...> References: <5435643A.80805@...981...> <54370026.10200@...1...> <5437A103.9050806@...69...> <54382F89.7080605@...981...> <543857D3.6010400@...69...> <543C184C.7010207@...981...> <543C2729.90602@...981...> Message-ID: Yes configure reset many properties For labels you can use gb.report too. It manage resolutions correctly. Le 13 oct. 2014 21:26, "Paul Horechuk" a ?crit : > It looks like the problem has been resolved. Keeping the same resolution > (100), I just moved the .resolution to just after the .configure line, > before the printer.begin. This at least fixes the pdf scaling issue and > I'm sure it will fix other printer issues as well. > > Thanks to Gian and Benoit. > > On 14-10-13 02:22 PM, Paul Horechuk wrote: > > Thank you for the examples. > > > > It appears we are doing a similar process. You use 72 as the resolution > > and with 25.4 mm per inch, you get a factor of 0.352778 (MM_X_PX). > > > > I use 100 for the resolution and use the page dimensions of the page in > > inches to get 850 x 1100 for US letter size. If I change to a res of 72 > > then I should use 1.38889 as my adjustment factor or rather than > > dividing by the factor, I would multiply by 72/100 or 0.72. I would then > > use a page size of 8.5 x 72 or 612 wide and length is 792. Each offset > > is then multiplid by 0.72. > > > > As a result of this, my code does write to a pixel scale, just with a > > different resolution. Significant? Probably not. However, your code does > > print OK to a .pdf. Strange. > > > > On 14-10-10 06:04 PM, Gian wrote: > >> Sorry but for my scarce English I did not understand how did you print > >> to your HP. > >> > >> Anyway , I think that if you want to get the same proportions between > >> what you see on the screen and what you print (with millimeter > >> accuracy), have to look to compensation factors. > >> > >> For example with the components gb.qt4 and gb.qt4.ext, I use 0.352778 > >> for change mm in px, I use 72 for print resolution and I use the > >> compensation factor for the font size (see my examples). > >> > >> hope that helps > >> > >> gianluigi > >> > >> PS: But I think that GTK not interested at the resolution. :-) > >> > >> > >> Il 10/10/2014 21:12, Paul Horechuk ha scritto: > >>> Thanks. I'll check them out. > >>> > >>> On 14-10-10 05:04 AM, Gian wrote: > >>>> Hello Paul, > >>>> > >>>> attached two small demonstrations that might inspire you. > >>>> gianluigi > >>>> > >>>> > >>>> > >>>>> Le 08/10/2014 18:20, Paul Horechuk a ?crit : > >>>>>> I have a successful project that formats a sheet of labels on an > Avery > >>>>>> form and prints directly to an HP OfficeJet 7500 E910. > >>>>>> > >>>>>> I set the printer width to 850 and length to 1100 with a resolution > of > >>>>>> 100. These may not be correct for all (PrinterWidth and length are > seen > >>>>>> as 216 by 279mm), but by setting moveto coordinates within this > >>>>>> range, I > >>>>>> do get a correct sheet of labels. > >>>>>> > >>>>>> Problems: > >>>>>> > >>>>>> On a customer printer with the same version of gambas 3.5.4, the > >>>>>> coordinates are stretched so that the labels are stretched by about > >>>>>> 50%. > >>>>>> This is on a Canon Pixma. > >>>>>> > >>>>>> Further checking shows a print to file (as PDF) from the printer > >>>>>> dialog, > >>>>>> resulting in: > >>>>>> > >>>>>> * vertical resolution is about 1/4 of what it should be > >>>>>> * fonts are correctly sized > >>>>>> * horizontal positioning is about 1/4 as well > >>>>>> * therefore all text is compressed into the upper left > >>>>>> * a QR code is about 1/4 the expected size > >>>>>> > >>>>>> > >>>>>> Changing the resolution for a direct print to Pixma has no effect. > >>>>>> Changing from 100 to 75 or to 150, results in the same stretched > >>>>>> printout. This works as expected on the HP. > >>>>>> > >>>>>> Suggestions? > >>>>>> > >>>>> The first thing I can quicky tell you: you must not use the printer > >>>>> resolution when drawing on a printer. > >>>>> > >>>>> If you use it, then something is doomed in your drawing routine, > unless > >>>>> you want to draw at the pixel level, for example the thinest possible > >>>>> line (one pixel). Then you need the printer resolution, but this is > the > >>>>> only case. > >>>>> > >>>>> Otherwise, in all normal printing routines, printer resolution is not > >>>>> needed. > >>>>> > >>>>> But maybe I didn't understand what you wrote... > >>>>> > >>>> > ------------------------------------------------------------------------------ > >>>> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > >>>> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS > Reports > >>>> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > >>>> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > >>>> > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > >>>> > >>>> > >>>> _______________________________________________ > >>>> Gambas-user mailing list > >>>> Gambas-user at lists.sourceforge.net > >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > ------------------------------------------------------------------------------ > >> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > >> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > >> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > >> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > >> http://p.sf.net/sfu/Zoho > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > -- > Think Free ... > Use Open Source Software > > > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From eilert-sprachen at ...221... Tue Oct 14 18:07:23 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 14 Oct 2014 18:07:23 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.6 (2) In-Reply-To: <543D1926.9090700@...1...> References: <543C0136.4080302@...1...> <543CFAFC.9020604@...221...> <543D1926.9090700@...1...> Message-ID: <543D4A3B.3020502@...221...> Am 14.10.2014 14:37, schrieb Beno?t Minisini: > Le 14/10/2014 12:29, Rolf-Werner Eilert a ?crit : >> >> >> Am 13.10.2014 18:43, schrieb Beno?t Minisini: >>> Hi, >>> >>> I have uploaded a new pre-release source package of Gambas 3.6 at: >>> >>> http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.0.tar.bz2/download >>> >>> I have fixed the following problems: >>> >>> - Some source files were missing. >>> >>> - ImageStat() does not crash anymore. >>> >>> - Support for LLVM_CONFIG environmental variable is fixed. >>> >>> - LLVM directories should be correctly detected in all cases now. >>> >>> - The IDE editor message tooltip should be readable with dark themes. >>> >>> - The version number of all examples and components has been updated. >>> >>> Please test it and report if you find new problems! >>> >>> Regards, >>> >> >> Hi Benoit, >> >> My make stops here: >> >> make[4]: Entering directory >> `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3/src' >> CXX gb_gtk3_la-gmemory.lo >> CXX gb_gtk3_la-font-parser.lo >> CXX gb_gtk3_la-gtools.lo >> CXX gb_gtk3_la-gstock.lo >> CXX gb_gtk3_la-gfont.lo >> CXX gb_gtk3_la-gpicture.lo >> CXX gb_gtk3_la-gdesktop.lo >> CXX gb_gtk3_la-gmessage.lo >> gmessage.cpp: In static member function 'static bool >> gDialog::selectColor()': >> gmessage.cpp:692:2: error: 'GtkColorChooserDialog' was not declared in >> this scope >> gmessage.cpp:692:25: error: 'dialog' was not declared in this scope >> gmessage.cpp:697:35: error: expected primary-expression before ')' token >> gmessage.cpp:697:36: error: expected ';' before >> 'gtk_color_chooser_dialog_new' >> gmessage.cpp:699:53: error: 'GTK_COLOR_CHOOSER' was not declared in this >> scope >> gmessage.cpp:699:62: error: 'gtk_color_chooser_set_rgba' was not >> declared in this scope >> gmessage.cpp:710:62: error: 'gtk_color_chooser_get_rgba' was not >> declared in this scope >> make[4]: *** [gb_gtk3_la-gmessage.lo] Fehler 1 >> make[4]: Leaving directory >> `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3/src' >> make[3]: *** [all-recursive] Fehler 1 >> make[3]: Leaving directory >> `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3' >> make[2]: *** [all] Fehler 2 >> make[2]: Leaving directory >> `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3' >> make[1]: *** [all-recursive] Fehler 1 >> make[1]: Leaving directory `/home/tester/Downloads/Gambas3/gambas3-3.6.0' >> make: *** [all] Fehler 2 >> >> And this is the system data: >> >> [System] >> Gambas=3.5.4 >> OperatingSystem=Linux >> Kernel=3.1.10-1.19-desktop >> Architecture=x86_64 >> Distribution=SuSE openSUSE 12.1 (x86_64) >> VERSION = 12.1 >> CODENAME = Asparagus >> Desktop=KDE >> Theme=QPlastique >> Language=de_DE.UTF-8 >> Memory=20114M >> [Libraries] >> Cairo=libcairo.so.2.11000.2 >> Curl=libcurl.so.3.0.0 >> Curl=libcurl.so.4.2.0 >> DBus=libdbus-1.so.3.6.4 >> GStreamer=libgstreamer-0.10.so.0.29.0 >> GTK+=libgtk-x11-2.0.so.0.2400.7 >> >> Regards >> Rolf >> > > Can you find your version of GTK+3? This is written in its binary > package name, or you have to find the full name of the "libgtk-3.so" > library file. > > Thanks. > Yast says 3.2.1 The file I found is /usr/lib64/libgtk-3.so.0.200.1 Does this help you? Regards Rolf From gambas at ...1... Tue Oct 14 18:09:51 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 14 Oct 2014 18:09:51 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.6 (2) In-Reply-To: <543D4A3B.3020502@...221...> References: <543C0136.4080302@...1...> <543CFAFC.9020604@...221...> <543D1926.9090700@...1...> <543D4A3B.3020502@...221...> Message-ID: <543D4ACF.6080207@...1...> Le 14/10/2014 18:07, Rolf-Werner Eilert a ?crit : > > > Am 14.10.2014 14:37, schrieb Beno?t Minisini: >> Le 14/10/2014 12:29, Rolf-Werner Eilert a ?crit : >>> >>> >>> Am 13.10.2014 18:43, schrieb Beno?t Minisini: >>>> Hi, >>>> >>>> I have uploaded a new pre-release source package of Gambas 3.6 at: >>>> >>>> http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.0.tar.bz2/download >>>> >>>> I have fixed the following problems: >>>> >>>> - Some source files were missing. >>>> >>>> - ImageStat() does not crash anymore. >>>> >>>> - Support for LLVM_CONFIG environmental variable is fixed. >>>> >>>> - LLVM directories should be correctly detected in all cases now. >>>> >>>> - The IDE editor message tooltip should be readable with dark themes. >>>> >>>> - The version number of all examples and components has been updated. >>>> >>>> Please test it and report if you find new problems! >>>> >>>> Regards, >>>> >>> >>> Hi Benoit, >>> >>> My make stops here: >>> >>> make[4]: Entering directory >>> `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3/src' >>> CXX gb_gtk3_la-gmemory.lo >>> CXX gb_gtk3_la-font-parser.lo >>> CXX gb_gtk3_la-gtools.lo >>> CXX gb_gtk3_la-gstock.lo >>> CXX gb_gtk3_la-gfont.lo >>> CXX gb_gtk3_la-gpicture.lo >>> CXX gb_gtk3_la-gdesktop.lo >>> CXX gb_gtk3_la-gmessage.lo >>> gmessage.cpp: In static member function 'static bool >>> gDialog::selectColor()': >>> gmessage.cpp:692:2: error: 'GtkColorChooserDialog' was not declared in >>> this scope >>> gmessage.cpp:692:25: error: 'dialog' was not declared in this scope >>> gmessage.cpp:697:35: error: expected primary-expression before ')' token >>> gmessage.cpp:697:36: error: expected ';' before >>> 'gtk_color_chooser_dialog_new' >>> gmessage.cpp:699:53: error: 'GTK_COLOR_CHOOSER' was not declared in this >>> scope >>> gmessage.cpp:699:62: error: 'gtk_color_chooser_set_rgba' was not >>> declared in this scope >>> gmessage.cpp:710:62: error: 'gtk_color_chooser_get_rgba' was not >>> declared in this scope >>> make[4]: *** [gb_gtk3_la-gmessage.lo] Fehler 1 >>> make[4]: Leaving directory >>> `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3/src' >>> make[3]: *** [all-recursive] Fehler 1 >>> make[3]: Leaving directory >>> `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3' >>> make[2]: *** [all] Fehler 2 >>> make[2]: Leaving directory >>> `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3' >>> make[1]: *** [all-recursive] Fehler 1 >>> make[1]: Leaving directory `/home/tester/Downloads/Gambas3/gambas3-3.6.0' >>> make: *** [all] Fehler 2 >>> >>> And this is the system data: >>> >>> [System] >>> Gambas=3.5.4 >>> OperatingSystem=Linux >>> Kernel=3.1.10-1.19-desktop >>> Architecture=x86_64 >>> Distribution=SuSE openSUSE 12.1 (x86_64) >>> VERSION = 12.1 >>> CODENAME = Asparagus >>> Desktop=KDE >>> Theme=QPlastique >>> Language=de_DE.UTF-8 >>> Memory=20114M >>> [Libraries] >>> Cairo=libcairo.so.2.11000.2 >>> Curl=libcurl.so.3.0.0 >>> Curl=libcurl.so.4.2.0 >>> DBus=libdbus-1.so.3.6.4 >>> GStreamer=libgstreamer-0.10.so.0.29.0 >>> GTK+=libgtk-x11-2.0.so.0.2400.7 >>> >>> Regards >>> Rolf >>> >> >> Can you find your version of GTK+3? This is written in its binary >> package name, or you have to find the full name of the "libgtk-3.so" >> library file. >> >> Thanks. >> > > Yast says 3.2.1 > > The file I found is /usr/lib64/libgtk-3.so.0.200.1 > > Does this help you? > > Regards > Rolf > So it's old? Maybe I should add a minimum version for gb.gtk3... GTK+3 is not really finished. -- Beno?t Minisini From shordi at ...626... Tue Oct 14 18:20:44 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Tue, 14 Oct 2014 18:20:44 +0200 Subject: [Gambas-user] A question about SQL field's names in gambas In-Reply-To: <543D1DE0.2070005@...1...> References: <543D1DE0.2070005@...1...> Message-ID: Ok. Thanks a lot. Regards. 2014-10-14 14:58 GMT+02:00 Beno?t Minisini : > Le 14/10/2014 11:10, Jorge Carri?n a ?crit : > > Nobody answer this question, but I want add what I've found in hope that > it > > helps someone who same problem: > > > > If your SQL sentence uses a Mysql function > > So you use MySQL. You didn't tell that in your first mail, how can we > guess? > > > as mid, or substring or > > date_format or whatever, then table name is added to regular resultfields > > name (with or without alias) and fields who uses the mysql function are > > returned just with the alias. > > When you sql sentence is created by the user choosing tables, > relationships > > and fields... this is a mess. > > > > Regards. > > The table is always added to the field name if there are different > tables used in the result, to avoid possible ambiguity. > > The problem is that it is not necessary if all field names are differents. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bagoneo at ...69... Tue Oct 14 18:51:58 2014 From: bagoneo at ...69... (Gian) Date: Tue, 14 Oct 2014 18:51:58 +0200 Subject: [Gambas-user] print resolution issues In-Reply-To: References: Message-ID: <543D54AE.4000407@...69...> Hi Paul, my little program QT_Graphics will work well? Have you tried to see if the proportions between video, pdf and printing on paper are correct? If the answers are yes, what prevents you to use 72 as resolution in your print Sub? You do not even convert millimeters into inches because they already use inches as measure, you just have to convert inches to millimeters for the measurements of paper in print Sub. Please note that if you using 72 of printing resolution, you have corresponding measures both pdf and paper print. Give it a try: print a large written size 80 with LibreOffice, measure his height and width, after draws in a DrawingArea a rectangle with those measures and an inscription inside the rectangle of 80 size, remembering to use the compensation function (0.744). Then try to do the same with resolution 100 and your factors and so you can see what suits you best. gianluigi Il 14/10/2014 17:08, Fabien Bodard ha scritto: > Correctly ...--- > well > Le 14 oct. 2014 13:59, gambas.fr at ...626... a ?crit : > > Yes configure reset many properties > > For labels you can use gb.report too. It manage resolutions correctly. > Le 13 oct. 2014 21:26, "Paul Horechuk" a ?crit : > > It looks like the problem has been resolved. Keeping the same resolution > (100), I just moved the .resolution to just after the .configure line, > before the printer.begin. This at least fixes the pdf scaling issue and > I'm sure it will fix other printer issues as well. > > Thanks to Gian and Benoit. > > On 14-10-13 02:22 PM, Paul Horechuk wrote: >> Thank you for the examples. >> >> It appears we are doing a similar process. You use 72 as the resolution >> and with 25.4 mm per inch, you get a factor of 0.352778 (MM_X_PX). >> >> I use 100 for the resolution and use the page dimensions of the page in >> inches to get 850 x 1100 for US letter size. If I change to a res of 72 >> then I should use 1.38889 as my adjustment factor or rather than >> dividing by the factor, I would multiply by 72/100 or 0.72. I would then >> use a page size of 8.5 x 72 or 612 wide and length is 792. Each offset >> is then multiplid by 0.72. >> >> As a result of this, my code does write to a pixel scale, just with a >> different resolution. Significant? Probably not. However, your code does >> print OK to a .pdf. Strange. >> >> On 14-10-10 06:04 PM, Gian wrote: >>> Sorry but for my scarce English I did not understand how did you print >>> to your HP. >>> >>> Anyway , I think that if you want to get the same proportions between >>> what you see on the screen and what you print (with millimeter >>> accuracy), have to look to compensation factors. >>> >>> For example with the components gb.qt4 and gb.qt4.ext, I use 0.352778 >>> for change mm in px, I use 72 for print resolution and I use the >>> compensation factor for the font size (see my examples). >>> >>> hope that helps >>> >>> gianluigi >>> >>> PS: But I think that GTK not interested at the resolution. :-) >>> >>> >>> Il 10/10/2014 21:12, Paul Horechuk ha scritto: >>>> Thanks. I'll check them out. >>>> >>>> On 14-10-10 05:04 AM, Gian wrote: >>>>> Hello Paul, >>>>> >>>>> attached two small demonstrations that might inspire you. >>>>> gianluigi >>>>> >>>>> >>>>> >>>>>> Le 08/10/2014 18:20, Paul Horechuk a ?crit : >>>>>>> I have a successful project that formats a sheet of labels on an > Avery >>>>>>> form and prints directly to an HP OfficeJet 7500 E910. >>>>>>> >>>>>>> I set the printer width to 850 and length to 1100 with a resolution > of >>>>>>> 100. These may not be correct for all (PrinterWidth and length are > seen >>>>>>> as 216 by 279mm), but by setting moveto coordinates within this >>>>>>> range, I >>>>>>> do get a correct sheet of labels. >>>>>>> >>>>>>> Problems: >>>>>>> >>>>>>> On a customer printer with the same version of gambas 3.5.4, the >>>>>>> coordinates are stretched so that the labels are stretched by about >>>>>>> 50%. >>>>>>> This is on a Canon Pixma. >>>>>>> >>>>>>> Further checking shows a print to file (as PDF) from the printer >>>>>>> dialog, >>>>>>> resulting in: >>>>>>> >>>>>>> * vertical resolution is about 1/4 of what it should be >>>>>>> * fonts are correctly sized >>>>>>> * horizontal positioning is about 1/4 as well >>>>>>> * therefore all text is compressed into the upper left >>>>>>> * a QR code is about 1/4 the expected size >>>>>>> >>>>>>> >>>>>>> Changing the resolution for a direct print to Pixma has no effect. >>>>>>> Changing from 100 to 75 or to 150, results in the same stretched >>>>>>> printout. This works as expected on the HP. >>>>>>> >>>>>>> Suggestions? >>>>>>> >>>>>> The first thing I can quicky tell you: you must not use the printer >>>>>> resolution when drawing on a printer. >>>>>> >>>>>> If you use it, then something is doomed in your drawing routine, > unless >>>>>> you want to draw at the pixel level, for example the thinest possible >>>>>> line (one pixel). Then you need the printer resolution, but this is > the >>>>>> only case. >>>>>> >>>>>> Otherwise, in all normal printing routines, printer resolution is not >>>>>> needed. >>>>>> >>>>>> But maybe I didn't understand what you wrote... >>>>>> > ------------------------------------------------------------------------------ >>>>> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer >>>>> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS > Reports >>>>> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper >>>>> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer >>>>> > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk >>>>> >>>>> _______________________________________________ >>>>> Gambas-user mailing list >>>>> Gambas-user at lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ >>> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer >>> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports >>> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper >>> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer >>> http://p.sf.net/sfu/Zoho >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> > -- > Think Free ... > Use Open Source Software > > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From karl.reinl at ...9... Tue Oct 14 22:17:37 2014 From: karl.reinl at ...9... (Karl Reinl) Date: Tue, 14 Oct 2014 22:17:37 +0200 Subject: [Gambas-user] looping Constants Message-ID: <1413317857.3552.6.camel@...40...> Salut Beno?t, since gambas1 (works still on 3.5.4) I loop the Align Symbols like this For Each sAlignText In Class(Align).Symbols now with 3.6 I got an Error, a bug? or witch feature I missed. -- Amicalement Charlie From ihaywood at ...1979... Wed Oct 15 05:19:24 2014 From: ihaywood at ...1979... (Ian Haywood) Date: Wed, 15 Oct 2014 14:19:24 +1100 Subject: [Gambas-user] Fwd: Pre-release of Gambas 3.6 (2) In-Reply-To: References: <543C0136.4080302@...1...> Message-ID: compiles but lots of warnings on Debian testing make[4]: Entering directory '/home/ian/Downloads/gambas3-3.6.0/gb.desktop.gnome.keyring/src' CC gb_desktop_gnome_keyring_la-main.lo CC gb_desktop_gnome_keyring_la-keyring.lo keyring.c: In function 'get_password': keyring.c:50:5: warning: 'gnome_keyring_attribute_list_append_string' is deprecated (declared at /usr/include/gnome-keyring-1/gnome-keyring.h:145): Use 'g_hash_table_replace' instead [-Wdeprecated-declarations] gnome_keyring_attribute_list_append_string(attributes, ^ keyring.c:53:5: warning: 'gnome_keyring_attribute_list_append_string' is deprecated (declared at /usr/include/gnome-keyring-1/gnome-keyring.h:145): Use 'g_hash_table_replace' instead [-Wdeprecated-declarations] gnome_keyring_attribute_list_append_string(attributes, ^ keyring.c:57:5: warning: 'gnome_keyring_find_items_sync' is deprecated (declared at /usr/include/gnome-keyring-1/gnome-keyring.h:321): Use 'secret_service_search_sync' instead [-Wdeprecated-declarations] result = gnome_keyring_find_items_sync(GNOME_KEYRING_ITEM_GENERIC_SECRET, ^ keyring.c:60:5: warning: 'gnome_keyring_attribute_list_free' is deprecated (declared at /usr/include/gnome-keyring-1/gnome-keyring.h:155): Use 'g_hash_table_unref' instead [-Wdeprecated-declarations] gnome_keyring_attribute_list_free(attributes); ^ keyring.c:74:5: warning: 'gnome_keyring_found_list_free' is deprecated (declared at /usr/include/gnome-keyring-1/gnome-keyring.h:174) [-Wdeprecated-declarations] gnome_keyring_found_list_free(found_list); ^ keyring.c: In function 'set_password': keyring.c:87:5: warning: 'gnome_keyring_attribute_list_append_string' is deprecated (declared at /usr/include/gnome-keyring-1/gnome-keyring.h:145): Use 'g_hash_table_replace' instead [-Wdeprecated-declarations] gnome_keyring_attribute_list_append_string(attributes, ^ keyring.c:90:5: warning: 'gnome_keyring_attribute_list_append_string' is deprecated (declared at /usr/include/gnome-keyring-1/gnome-keyring.h:145): Use 'g_hash_table_replace' instead [-Wdeprecated-declarations] gnome_keyring_attribute_list_append_string(attributes, ^ keyring.c:94:5: warning: 'gnome_keyring_item_create_sync' is deprecated (declared at /usr/include/gnome-keyring-1/gnome-keyring.h:340): Use 'secret_item_create_sync' instead [-Wdeprecated-declarations] result = gnome_keyring_item_create_sync(NULL, ^ keyring.c:101:5: warning: 'gnome_keyring_attribute_list_free' is deprecated (declared at /usr/include/gnome-keyring-1/gnome-keyring.h:155): Use 'g_hash_table_unref' instead [-Wdeprecated-declarations] gnome_keyring_attribute_list_free(attributes); ^ CCLD gb.desktop.gnome.keyring.la make[4]: Entering directory '/home/ian/Downloads/gambas3-3.6.0/gb.jit/src' CXX gb_jit_la-jit_api.lo CXX gb_jit_la-jit_codegen.lo jit_codegen.cpp: In function 'llvm::Value* extract_value(llvm::Value*, int)': jit_codegen.cpp:362:29: warning: narrowing conversion of 'index' from 'int' to 'unsigned int' inside { } [-Wnarrowing] unsigned int arr[] = {index}; ^ jit_codegen.cpp: In function 'llvm::Value* insert_value(llvm::Value*, llvm::Value*, int)': jit_codegen.cpp:367:29: warning: narrowing conversion of 'index' from 'int' to 'unsigned int' inside { } [-Wnarrowing] unsigned int arr[] = {index}; ^ jit_codegen.cpp: In function 'void func_extern_call_variant_vararg(void*, void*, int, TYPE)': jit_codegen.cpp:6655:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(TYPE*)&signature_string[nargs] = return_type; ^ jit_codegen.cpp:6705:44: warning: array subscript has type 'char' [-Wchar-subscripts] ft[i] = extern_types[signature_string[i]]; ^ In file included from jit_codegen.cpp:5060:0: jit_codegen_conv.h: In function 'llvm::Value* JIT_conv_to_variant(Expression*, llvm::Value*, bool, bool*)': jit_codegen_conv.h:93:36: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized] ret = insert_value(ret, data, 1); ^ jit_codegen.cpp: In member function 'virtual llvm::Value* EqExpression::codegen_get_value()': jit_codegen.cpp:3894:29: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] push_value(ret, T_BOOLEAN); ^ jit_codegen.cpp: In member function 'virtual llvm::Value* NotExpression::codegen_get_value()': jit_codegen.cpp:3929:30: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] push_value(ret, T_BOOLEAN); ^ jit_codegen.cpp: In member function 'virtual llvm::Value* LessExpression::codegen_get_value()': jit_codegen.cpp:4001:30: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] push_value(ret, T_BOOLEAN); ^ jit_codegen.cpp: In member function 'virtual llvm::Value* CallExpression::codegen_get_value()': jit_codegen.cpp:2889:80: warning: 'call_addr' may be used uninitialized in this function [-Wmaybe-uninitialized] call_function = builder->CreateBitCast(call_addr, pointer_t(function_type)); ^ jit_codegen.cpp: In member function 'virtual void CallExpression::codegen_on_stack()': jit_codegen.cpp:3042:127: warning: 'object' may be used uninitialized in this function [-Wmaybe-uninitialized] builder->CreateCall3(get_global_function(JR_exec_enter, 'v', "ppi"), fe->effective_class, object, getInteger(32, index)); ^ jit_codegen.cpp: In member function 'virtual llvm::Value* SubrExpression::codegen_get_value()': jit_codegen.cpp:6344:31: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] push_value(ret, T_POINTER); ^ jit_codegen.cpp:5969:64: warning: 'res' may be used uninitialized in this function [-Wmaybe-uninitialized] set_top_value(res, type, extra == 3 || !args[0]->on_stack); ^ jit_codegen.cpp:5900:94: warning: 'res' may be used uninitialized in this function [-Wmaybe-uninitialized] builder->CreateCondBr(builder->CreateAnd(still_inside_string, res), body_block, cont_block); ^ jit_codegen.cpp:682:2: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] phi->addIncoming(ret2, else_block2); ^ jit_codegen.cpp:5689:17: note: 'ret' was declared here llvm::Value* ret; ^ jit_codegen.cpp:5635:64: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] set_top_value(ret, type, args[0]->on_stack ? false : true); ^ jit_codegen.cpp:5612:101: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized] llvm::Value* ret = builder->CreateFAdd(builder->CreateFMul(r, builder->CreateFSub(max, min)), min); ^ jit_codegen.cpp:5612:101: warning: 'min' may be used uninitialized in this function [-Wmaybe-uninitialized] jit_codegen.cpp: At global scope: jit_codegen.cpp:337:21: warning: 'llvm::Value* get_new_struct(llvm::StructType*, llvm::Value*, llvm::Value*, llvm::Value*)' defined but not used [-Wunused-function] static llvm::Value* get_new_struct(llvm::StructType* st, llvm::Value* v1, llvm::Value* v2, llvm::Value* v3){ ^ jit_codegen.cpp:1030:13: warning: 'void codegen_printf(const char*, int)' defined but not used [-Wunused-function] static void codegen_printf(const char* str1, int tal){ ^ jit_codegen.cpp:1034:13: warning: 'void codegen_printf(const char*)' defined but not used [-Wunused-function] static void codegen_printf(const char* str1){ ^ jit_codegen.cpp:1038:13: warning: 'void codegen_printf(const char*, llvm::Value*)' defined but not used [-Wunused-function] static void codegen_printf(const char* str1, llvm::Value* intval){ ^ jit_codegen.cpp:1117:13: warning: 'void borrow_top(TYPE)' defined but not used [-Wunused-function] static void borrow_top(TYPE type){ ^ jit_codegen.cpp:1121:13: warning: 'void release_top(Expression*)' defined but not used [-Wunused-function] static void release_top(Expression* expr){ ^ jit_codegen.cpp:1135:13: warning: 'void release_val(Expression*)' defined but not used [-Wunused-function] static void release_val(Expression* expr){ ^ jit_codegen.cpp:6980:13: warning: 'void JIT_cleanup(llvm::ExecutionEngine**, int)' defined but not used [-Wunused-function] static void JIT_cleanup(llvm::ExecutionEngine** EE, int n_func){ ^ On Tue, Oct 14, 2014 at 3:43 AM, Beno?t Minisini wrote: > Hi, > > I have uploaded a new pre-release source package of Gambas 3.6 at: > > http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.0.tar.bz2/download > > I have fixed the following problems: > > - Some source files were missing. > > - ImageStat() does not crash anymore. > > - Support for LLVM_CONFIG environmental variable is fixed. > > - LLVM directories should be correctly detected in all cases now. > > - The IDE editor message tooltip should be readable with dark themes. > > - The version number of all examples and components has been updated. > > Please test it and report if you find new problems! > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://p.sf.net/sfu/Zoho > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From eilert-sprachen at ...221... Wed Oct 15 08:51:03 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 15 Oct 2014 08:51:03 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.6 (2) In-Reply-To: <543D4ACF.6080207@...1...> References: <543C0136.4080302@...1...> <543CFAFC.9020604@...221...> <543D1926.9090700@...1...> <543D4A3B.3020502@...221...> <543D4ACF.6080207@...1...> Message-ID: <543E1957.8080901@...221...> Am 14.10.2014 18:09, schrieb Beno?t Minisini: > Le 14/10/2014 18:07, Rolf-Werner Eilert a ?crit : >> >> >> Am 14.10.2014 14:37, schrieb Beno?t Minisini: >>> Le 14/10/2014 12:29, Rolf-Werner Eilert a ?crit : >>>> >>>> >>>> Am 13.10.2014 18:43, schrieb Beno?t Minisini: >>>>> Hi, >>>>> >>>>> I have uploaded a new pre-release source package of Gambas 3.6 at: >>>>> >>>>> http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.0.tar.bz2/download >>>>> >>>>> I have fixed the following problems: >>>>> >>>>> - Some source files were missing. >>>>> >>>>> - ImageStat() does not crash anymore. >>>>> >>>>> - Support for LLVM_CONFIG environmental variable is fixed. >>>>> >>>>> - LLVM directories should be correctly detected in all cases now. >>>>> >>>>> - The IDE editor message tooltip should be readable with dark themes. >>>>> >>>>> - The version number of all examples and components has been updated. >>>>> >>>>> Please test it and report if you find new problems! >>>>> >>>>> Regards, >>>>> >>>> >>>> Hi Benoit, >>>> >>>> My make stops here: >>>> >>>> make[4]: Entering directory >>>> `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3/src' >>>> CXX gb_gtk3_la-gmemory.lo >>>> CXX gb_gtk3_la-font-parser.lo >>>> CXX gb_gtk3_la-gtools.lo >>>> CXX gb_gtk3_la-gstock.lo >>>> CXX gb_gtk3_la-gfont.lo >>>> CXX gb_gtk3_la-gpicture.lo >>>> CXX gb_gtk3_la-gdesktop.lo >>>> CXX gb_gtk3_la-gmessage.lo >>>> gmessage.cpp: In static member function 'static bool >>>> gDialog::selectColor()': >>>> gmessage.cpp:692:2: error: 'GtkColorChooserDialog' was not declared in >>>> this scope >>>> gmessage.cpp:692:25: error: 'dialog' was not declared in this scope >>>> gmessage.cpp:697:35: error: expected primary-expression before ')' token >>>> gmessage.cpp:697:36: error: expected ';' before >>>> 'gtk_color_chooser_dialog_new' >>>> gmessage.cpp:699:53: error: 'GTK_COLOR_CHOOSER' was not declared in this >>>> scope >>>> gmessage.cpp:699:62: error: 'gtk_color_chooser_set_rgba' was not >>>> declared in this scope >>>> gmessage.cpp:710:62: error: 'gtk_color_chooser_get_rgba' was not >>>> declared in this scope >>>> make[4]: *** [gb_gtk3_la-gmessage.lo] Fehler 1 >>>> make[4]: Leaving directory >>>> `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3/src' >>>> make[3]: *** [all-recursive] Fehler 1 >>>> make[3]: Leaving directory >>>> `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3' >>>> make[2]: *** [all] Fehler 2 >>>> make[2]: Leaving directory >>>> `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3' >>>> make[1]: *** [all-recursive] Fehler 1 >>>> make[1]: Leaving directory `/home/tester/Downloads/Gambas3/gambas3-3.6.0' >>>> make: *** [all] Fehler 2 >>>> >>>> And this is the system data: >>>> >>>> [System] >>>> Gambas=3.5.4 >>>> OperatingSystem=Linux >>>> Kernel=3.1.10-1.19-desktop >>>> Architecture=x86_64 >>>> Distribution=SuSE openSUSE 12.1 (x86_64) >>>> VERSION = 12.1 >>>> CODENAME = Asparagus >>>> Desktop=KDE >>>> Theme=QPlastique >>>> Language=de_DE.UTF-8 >>>> Memory=20114M >>>> [Libraries] >>>> Cairo=libcairo.so.2.11000.2 >>>> Curl=libcurl.so.3.0.0 >>>> Curl=libcurl.so.4.2.0 >>>> DBus=libdbus-1.so.3.6.4 >>>> GStreamer=libgstreamer-0.10.so.0.29.0 >>>> GTK+=libgtk-x11-2.0.so.0.2400.7 >>>> >>>> Regards >>>> Rolf >>>> >>> >>> Can you find your version of GTK+3? This is written in its binary >>> package name, or you have to find the full name of the "libgtk-3.so" >>> library file. >>> >>> Thanks. >>> >> >> Yast says 3.2.1 >> >> The file I found is /usr/lib64/libgtk-3.so.0.200.1 >> >> Does this help you? >> >> Regards >> Rolf >> > > So it's old? Maybe I should add a minimum version for gb.gtk3... GTK+3 > is not really finished. > I installed this Linux on the server in 2012. The problem is that there are so many "specialties" on the system that nothing would run just out of the box. I added a lot of scripts and things that make it handy for our school. Setting up an up-to-date system would take weeks or months until everything would run again. But maybe I could do without gtk+3? Are there any specialties included which would make a Gambas impossible to run without it? Or is there a way to update the libraries somehow? Regards Rolf From gambas at ...1... Wed Oct 15 09:02:22 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 15 Oct 2014 09:02:22 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.6 (2) In-Reply-To: <543E1957.8080901@...221...> References: <543C0136.4080302@...1...> <543CFAFC.9020604@...221...> <543D1926.9090700@...1...> <543D4A3B.3020502@...221...> <543D4ACF.6080207@...1...> <543E1957.8080901@...221...> Message-ID: <543E1BFE.3060001@...1...> Le 15/10/2014 08:51, Rolf-Werner Eilert a ?crit : > > > Am 14.10.2014 18:09, schrieb Beno?t Minisini: >> Le 14/10/2014 18:07, Rolf-Werner Eilert a ?crit : >>> >>> >>> Am 14.10.2014 14:37, schrieb Beno?t Minisini: >>>> Le 14/10/2014 12:29, Rolf-Werner Eilert a ?crit : >>>>> >>>>> >>>>> Am 13.10.2014 18:43, schrieb Beno?t Minisini: >>>>>> Hi, >>>>>> >>>>>> I have uploaded a new pre-release source package of Gambas 3.6 at: >>>>>> >>>>>> http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.0.tar.bz2/download >>>>>> >>>>>> I have fixed the following problems: >>>>>> >>>>>> - Some source files were missing. >>>>>> >>>>>> - ImageStat() does not crash anymore. >>>>>> >>>>>> - Support for LLVM_CONFIG environmental variable is fixed. >>>>>> >>>>>> - LLVM directories should be correctly detected in all cases now. >>>>>> >>>>>> - The IDE editor message tooltip should be readable with dark themes. >>>>>> >>>>>> - The version number of all examples and components has been updated. >>>>>> >>>>>> Please test it and report if you find new problems! >>>>>> >>>>>> Regards, >>>>>> >>>>> >>>>> Hi Benoit, >>>>> >>>>> My make stops here: >>>>> >>>>> make[4]: Entering directory >>>>> `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3/src' >>>>> CXX gb_gtk3_la-gmemory.lo >>>>> CXX gb_gtk3_la-font-parser.lo >>>>> CXX gb_gtk3_la-gtools.lo >>>>> CXX gb_gtk3_la-gstock.lo >>>>> CXX gb_gtk3_la-gfont.lo >>>>> CXX gb_gtk3_la-gpicture.lo >>>>> CXX gb_gtk3_la-gdesktop.lo >>>>> CXX gb_gtk3_la-gmessage.lo >>>>> gmessage.cpp: In static member function 'static bool >>>>> gDialog::selectColor()': >>>>> gmessage.cpp:692:2: error: 'GtkColorChooserDialog' was not declared in >>>>> this scope >>>>> gmessage.cpp:692:25: error: 'dialog' was not declared in this scope >>>>> gmessage.cpp:697:35: error: expected primary-expression before ')' token >>>>> gmessage.cpp:697:36: error: expected ';' before >>>>> 'gtk_color_chooser_dialog_new' >>>>> gmessage.cpp:699:53: error: 'GTK_COLOR_CHOOSER' was not declared in this >>>>> scope >>>>> gmessage.cpp:699:62: error: 'gtk_color_chooser_set_rgba' was not >>>>> declared in this scope >>>>> gmessage.cpp:710:62: error: 'gtk_color_chooser_get_rgba' was not >>>>> declared in this scope >>>>> make[4]: *** [gb_gtk3_la-gmessage.lo] Fehler 1 >>>>> make[4]: Leaving directory >>>>> `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3/src' >>>>> make[3]: *** [all-recursive] Fehler 1 >>>>> make[3]: Leaving directory >>>>> `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3' >>>>> make[2]: *** [all] Fehler 2 >>>>> make[2]: Leaving directory >>>>> `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3' >>>>> make[1]: *** [all-recursive] Fehler 1 >>>>> make[1]: Leaving directory `/home/tester/Downloads/Gambas3/gambas3-3.6.0' >>>>> make: *** [all] Fehler 2 >>>>> >>>>> And this is the system data: >>>>> >>>>> [System] >>>>> Gambas=3.5.4 >>>>> OperatingSystem=Linux >>>>> Kernel=3.1.10-1.19-desktop >>>>> Architecture=x86_64 >>>>> Distribution=SuSE openSUSE 12.1 (x86_64) >>>>> VERSION = 12.1 >>>>> CODENAME = Asparagus >>>>> Desktop=KDE >>>>> Theme=QPlastique >>>>> Language=de_DE.UTF-8 >>>>> Memory=20114M >>>>> [Libraries] >>>>> Cairo=libcairo.so.2.11000.2 >>>>> Curl=libcurl.so.3.0.0 >>>>> Curl=libcurl.so.4.2.0 >>>>> DBus=libdbus-1.so.3.6.4 >>>>> GStreamer=libgstreamer-0.10.so.0.29.0 >>>>> GTK+=libgtk-x11-2.0.so.0.2400.7 >>>>> >>>>> Regards >>>>> Rolf >>>>> >>>> >>>> Can you find your version of GTK+3? This is written in its binary >>>> package name, or you have to find the full name of the "libgtk-3.so" >>>> library file. >>>> >>>> Thanks. >>>> >>> >>> Yast says 3.2.1 >>> >>> The file I found is /usr/lib64/libgtk-3.so.0.200.1 >>> >>> Does this help you? >>> >>> Regards >>> Rolf >>> >> >> So it's old? Maybe I should add a minimum version for gb.gtk3... GTK+3 >> is not really finished. >> > > I installed this Linux on the server in 2012. The problem is that there > are so many "specialties" on the system that nothing would run just out > of the box. I added a lot of scripts and things that make it handy for > our school. Setting up an up-to-date system would take weeks or months > until everything would run again. > > But maybe I could do without gtk+3? Are there any specialties included > which would make a Gambas impossible to run without it? Or is there a > way to update the libraries somehow? > > Regards > Rolf > You should have no use of gb.gtk3. All GUI components (gb.qt4, gb.gtk, gb.gtk3) have the same interface, and so they are interchangeable. Well, this is not always true because of bugs or minor differences, it's... 95% true. You can disable the component at compilation time with ./configure --disable-gtk3. Regards, -- Beno?t Minisini From eilert-sprachen at ...221... Wed Oct 15 10:09:00 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 15 Oct 2014 10:09:00 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.6 (2) In-Reply-To: <543E1BFE.3060001@...1...> References: <543C0136.4080302@...1...> <543CFAFC.9020604@...221...> <543D1926.9090700@...1...> <543D4A3B.3020502@...221...> <543D4ACF.6080207@...1...> <543E1957.8080901@...221...> <543E1BFE.3060001@...1...> Message-ID: <543E2B9C.2030003@...221...> Am 15.10.2014 09:02, schrieb Beno?t Minisini: > Le 15/10/2014 08:51, Rolf-Werner Eilert a ?crit : >> >> >> Am 14.10.2014 18:09, schrieb Beno?t Minisini: >>> Le 14/10/2014 18:07, Rolf-Werner Eilert a ?crit : >>>> >>>> >>>> Am 14.10.2014 14:37, schrieb Beno?t Minisini: >>>>> Le 14/10/2014 12:29, Rolf-Werner Eilert a ?crit : >>>>>> >>>>>> >>>>>> Am 13.10.2014 18:43, schrieb Beno?t Minisini: >>>>>>> Hi, >>>>>>> >>>>>>> I have uploaded a new pre-release source package of Gambas 3.6 at: >>>>>>> >>>>>>> http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.0.tar.bz2/download >>>>>>> >>>>>>> I have fixed the following problems: >>>>>>> >>>>>>> - Some source files were missing. >>>>>>> >>>>>>> - ImageStat() does not crash anymore. >>>>>>> >>>>>>> - Support for LLVM_CONFIG environmental variable is fixed. >>>>>>> >>>>>>> - LLVM directories should be correctly detected in all cases now. >>>>>>> >>>>>>> - The IDE editor message tooltip should be readable with dark themes. >>>>>>> >>>>>>> - The version number of all examples and components has been updated. >>>>>>> >>>>>>> Please test it and report if you find new problems! >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>> >>>>>> Hi Benoit, >>>>>> >>>>>> My make stops here: >>>>>> >>>>>> make[4]: Entering directory >>>>>> `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3/src' >>>>>> CXX gb_gtk3_la-gmemory.lo >>>>>> CXX gb_gtk3_la-font-parser.lo >>>>>> CXX gb_gtk3_la-gtools.lo >>>>>> CXX gb_gtk3_la-gstock.lo >>>>>> CXX gb_gtk3_la-gfont.lo >>>>>> CXX gb_gtk3_la-gpicture.lo >>>>>> CXX gb_gtk3_la-gdesktop.lo >>>>>> CXX gb_gtk3_la-gmessage.lo >>>>>> gmessage.cpp: In static member function 'static bool >>>>>> gDialog::selectColor()': >>>>>> gmessage.cpp:692:2: error: 'GtkColorChooserDialog' was not declared in >>>>>> this scope >>>>>> gmessage.cpp:692:25: error: 'dialog' was not declared in this scope >>>>>> gmessage.cpp:697:35: error: expected primary-expression before ')' token >>>>>> gmessage.cpp:697:36: error: expected ';' before >>>>>> 'gtk_color_chooser_dialog_new' >>>>>> gmessage.cpp:699:53: error: 'GTK_COLOR_CHOOSER' was not declared in this >>>>>> scope >>>>>> gmessage.cpp:699:62: error: 'gtk_color_chooser_set_rgba' was not >>>>>> declared in this scope >>>>>> gmessage.cpp:710:62: error: 'gtk_color_chooser_get_rgba' was not >>>>>> declared in this scope >>>>>> make[4]: *** [gb_gtk3_la-gmessage.lo] Fehler 1 >>>>>> make[4]: Leaving directory >>>>>> `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3/src' >>>>>> make[3]: *** [all-recursive] Fehler 1 >>>>>> make[3]: Leaving directory >>>>>> `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3' >>>>>> make[2]: *** [all] Fehler 2 >>>>>> make[2]: Leaving directory >>>>>> `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3' >>>>>> make[1]: *** [all-recursive] Fehler 1 >>>>>> make[1]: Leaving directory `/home/tester/Downloads/Gambas3/gambas3-3.6.0' >>>>>> make: *** [all] Fehler 2 >>>>>> >>>>>> And this is the system data: >>>>>> >>>>>> [System] >>>>>> Gambas=3.5.4 >>>>>> OperatingSystem=Linux >>>>>> Kernel=3.1.10-1.19-desktop >>>>>> Architecture=x86_64 >>>>>> Distribution=SuSE openSUSE 12.1 (x86_64) >>>>>> VERSION = 12.1 >>>>>> CODENAME = Asparagus >>>>>> Desktop=KDE >>>>>> Theme=QPlastique >>>>>> Language=de_DE.UTF-8 >>>>>> Memory=20114M >>>>>> [Libraries] >>>>>> Cairo=libcairo.so.2.11000.2 >>>>>> Curl=libcurl.so.3.0.0 >>>>>> Curl=libcurl.so.4.2.0 >>>>>> DBus=libdbus-1.so.3.6.4 >>>>>> GStreamer=libgstreamer-0.10.so.0.29.0 >>>>>> GTK+=libgtk-x11-2.0.so.0.2400.7 >>>>>> >>>>>> Regards >>>>>> Rolf >>>>>> >>>>> >>>>> Can you find your version of GTK+3? This is written in its binary >>>>> package name, or you have to find the full name of the "libgtk-3.so" >>>>> library file. >>>>> >>>>> Thanks. >>>>> >>>> >>>> Yast says 3.2.1 >>>> >>>> The file I found is /usr/lib64/libgtk-3.so.0.200.1 >>>> >>>> Does this help you? >>>> >>>> Regards >>>> Rolf >>>> >>> >>> So it's old? Maybe I should add a minimum version for gb.gtk3... GTK+3 >>> is not really finished. >>> >> >> I installed this Linux on the server in 2012. The problem is that there >> are so many "specialties" on the system that nothing would run just out >> of the box. I added a lot of scripts and things that make it handy for >> our school. Setting up an up-to-date system would take weeks or months >> until everything would run again. >> >> But maybe I could do without gtk+3? Are there any specialties included >> which would make a Gambas impossible to run without it? Or is there a >> way to update the libraries somehow? >> >> Regards >> Rolf >> > > You should have no use of gb.gtk3. All GUI components (gb.qt4, gb.gtk, > gb.gtk3) have the same interface, and so they are interchangeable. Well, > this is not always true because of bugs or minor differences, it's... > 95% true. > > You can disable the component at compilation time with ./configure > --disable-gtk3. > > Regards, > Thank you for that hint: This way it compiles flawlessly. And now the popup menu problem is solved, too. Don't know if I can live without GTK completely, but as I mainly use Qt anyway it shouldn't be too bad. On vera bien... Regards Rolf From karl.reinl at ...9... Wed Oct 15 10:57:39 2014 From: karl.reinl at ...9... (Karl Reinl) Date: Wed, 15 Oct 2014 10:57:39 +0200 Subject: [Gambas-user] svn Version shows 3.6 Message-ID: <1413363459.3396.4.camel@...40...> Salut Beno?t, the svn Version rev.6552 shows 3.6 is that correct ? And there is no version warning any more, while working with the IDE -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto vom 2014-10-15 10:47:21.png Type: image/png Size: 78172 bytes Desc: not available URL: From gambas at ...1... Wed Oct 15 11:00:16 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 15 Oct 2014 11:00:16 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.6 (2) In-Reply-To: <543E2B9C.2030003@...221...> References: <543C0136.4080302@...1...> <543CFAFC.9020604@...221...> <543D1926.9090700@...1...> <543D4A3B.3020502@...221...> <543D4ACF.6080207@...1...> <543E1957.8080901@...221...> <543E1BFE.3060001@...1...> <543E2B9C.2030003@...221...> Message-ID: <543E37A0.2090106@...1...> Le 15/10/2014 10:09, Rolf-Werner Eilert a ?crit : > > Thank you for that hint: This way it compiles flawlessly. And now the > popup menu problem is solved, too. > > Don't know if I can live without GTK completely, but as I mainly use Qt > anyway it shouldn't be too bad. On vera bien... > > Regards > Rolf > You can use GTK+2. The only problem is that your GTK+3 version is too old. I just have to add a version test to prevent gb.gtk3 compilation in that case. Regards, -- Beno?t Minisini From gambas at ...1... Wed Oct 15 11:16:44 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 15 Oct 2014 11:16:44 +0200 Subject: [Gambas-user] svn Version shows 3.6 In-Reply-To: <1413363459.3396.4.camel@...40...> References: <1413363459.3396.4.camel@...40...> Message-ID: <543E3B7C.3000907@...1...> Le 15/10/2014 10:57, Karl Reinl a ?crit : > Salut Beno?t, > > the svn Version rev.6552 shows 3.6 is that correct ? > > And there is no version warning any more, while working with the IDE > > Didn't you see some posts about "Pre-release of Gambas 3.6"? -- Beno?t Minisini From karl.reinl at ...9... Wed Oct 15 11:39:00 2014 From: karl.reinl at ...9... (Karl Reinl) Date: Wed, 15 Oct 2014 11:39:00 +0200 Subject: [Gambas-user] svn Version shows 3.6 In-Reply-To: <543E3B7C.3000907@...1...> References: <1413363459.3396.4.camel@...40...> <543E3B7C.3000907@...1...> Message-ID: <1413365940.3396.13.camel@...40...> Am Mittwoch, den 15.10.2014, 11:16 +0200 schrieb Beno?t Minisini: > Le 15/10/2014 10:57, Karl Reinl a ?crit : > > Salut Beno?t, > > > > the svn Version rev.6552 shows 3.6 is that correct ? > > > > And there is no version warning any more, while working with the IDE > > > > > > Didn't you see some posts about "Pre-release of Gambas 3.6"? > Salut Beno?t, of course I saw, but I think/thought that touches the source package of Gambas 3.6 at sfn. Because I had never noticed that, during release update. Thanks for the enlightenment. -- Amicalement Charlie From willy at ...2734... Wed Oct 15 13:48:54 2014 From: willy at ...2734... (Willy Raets) Date: Wed, 15 Oct 2014 13:48:54 +0200 Subject: [Gambas-user] SMTP error in Gambas 3.6.0 (rev#6552) Message-ID: <1413373734.23949.14.camel@...3024...> Hi, I've been testing smpt on Gambas 3.6.0 (rev#6552). I use the exact same settings as I do in my mail client Evolution (see screenshot smtp-settings-evolution.png), but Gambas smtp fails with error: 'Unable to send mail:Unable to connect to the SMTP server:EHLO command failed' (see attached screenshot smtp-error.png) The form shown on screenshot is part of a Gambas library that user can use to set their mail settings so the library can use those settings to send me error reports. The info filled in in the textboxes is stored in Settings and used from there in the code below. (see screenshot smtp-settings.png -> I placed xxxx on real date for the screenshot, but real info was used for the test) This is the code for the Test button, that tests the connection, but returns above error: Public Sub btnTest_Click() Dim hMail As New SmtpClient Dim sMessage As String Dim iL, iE As Integer Dim bMailSend As Boolean Inc Application.Busy Settings.Save $bIsChanged = False Wait hMail.To.Add(Settings["LibGb3DevAid/mailfrom"]) hMail.From = Settings["LibGb3DevAid/mailfrom"] hMail.Host = Settings["LibGb3DevAid/smtp"] hMail.Port = Settings["LibGb3DevAid/port"] If Settings["LibGb3DevAid/authenticate"] = -1 Then hMail.User = Settings["LibGb3DevAid/user"] hMail.Password = Settings["LibGb3DevAid/password"] Endif If Not IsNull(Settings["LibGb3DevAid/encrypt"]) Then hMail.Encrypt = Settings["LibGb3DevAid/encrypt"] Else hMail.Encrypt = 0 Endif hMail.Subject = ("Test connection of your mail settings") hMail.Add(Subst(("You have succesfuly send a mail using mail settings in application &1."), Local.DefaultAppName)) hMail.Send bMailSend = True Finally Dec Application.Busy If bMailSend Then sMessage = Subst(("Check you &1 mailbox to see if the test mail has been send correctly."), Settings["LibGb3DevAid/mailfrom"]) Message.Info(sMessage) Endif Catch bMailSend = False If Len(Error.Text) > 70 Then iL = Int(Len(Error.Text) / 2) iE = InStr(Error.Text, " ", iL) sMessage = Left(Error.Text, iE) sMessage &= "\n" & Mid(Error.Text, iE + 1, Len(Error.Text) - iE) sMessage &= ("\n\nConnection test failed!!") Else sMessage = Error.Text & ("\n\nConnection test failed!!") Endif Message.Info(sMessage) Error.Clear End It is quite important to me that this works in Gambas 3.6, so I hope it can be solved before final 3.6 release. If needed to help solve the problem I can make a mail address at the server for testing purposes. -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org -------------- next part -------------- A non-text attachment was scrubbed... Name: smtp-error.png Type: image/png Size: 72576 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smtp-settings.png Type: image/png Size: 60928 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smtp-settings-evolution.png Type: image/png Size: 51180 bytes Desc: not available URL: From gambas at ...1... Wed Oct 15 13:54:01 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 15 Oct 2014 13:54:01 +0200 Subject: [Gambas-user] SMTP error in Gambas 3.6.0 (rev#6552) In-Reply-To: <1413373734.23949.14.camel@...3024...> References: <1413373734.23949.14.camel@...3024...> Message-ID: <543E6059.8020405@...1...> Le 15/10/2014 13:48, Willy Raets a ?crit : > Hi, > > I've been testing smpt on Gambas 3.6.0 (rev#6552). > > I use the exact same settings as I do in my mail client Evolution (see > screenshot smtp-settings-evolution.png), but Gambas smtp fails with > error: > > 'Unable to send mail:Unable to connect to the SMTP server:EHLO command > failed' (see attached screenshot smtp-error.png) > > The form shown on screenshot is part of a Gambas library that user can > use to set their mail settings so the library can use those settings to > send me error reports. > > The info filled in in the textboxes is stored in Settings and used from > there in the code below. (see screenshot smtp-settings.png -> I placed > xxxx on real date for the screenshot, but real info was used for the > test) > > This is the code for the Test button, that tests the connection, but > returns above error: > > Public Sub btnTest_Click() > > Dim hMail As New SmtpClient > Dim sMessage As String > Dim iL, iE As Integer > Dim bMailSend As Boolean > Inc Application.Busy > Settings.Save > $bIsChanged = False > Wait > hMail.To.Add(Settings["LibGb3DevAid/mailfrom"]) > hMail.From = Settings["LibGb3DevAid/mailfrom"] > hMail.Host = Settings["LibGb3DevAid/smtp"] > hMail.Port = Settings["LibGb3DevAid/port"] > If Settings["LibGb3DevAid/authenticate"] = -1 Then > hMail.User = Settings["LibGb3DevAid/user"] > hMail.Password = Settings["LibGb3DevAid/password"] > Endif > If Not IsNull(Settings["LibGb3DevAid/encrypt"]) Then > hMail.Encrypt = Settings["LibGb3DevAid/encrypt"] > Else > hMail.Encrypt = 0 > Endif > hMail.Subject = ("Test connection of your mail settings") > hMail.Add(Subst(("You have succesfuly send a mail using mail settings > in application &1."), Local.DefaultAppName)) > hMail.Send > bMailSend = True > > Finally > Dec Application.Busy > If bMailSend Then > sMessage = Subst(("Check you &1 mailbox to see if the test mail > has been send correctly."), Settings["LibGb3DevAid/mailfrom"]) > Message.Info(sMessage) > Endif > > Catch > bMailSend = False > If Len(Error.Text) > 70 Then > iL = Int(Len(Error.Text) / 2) > iE = InStr(Error.Text, " ", iL) > sMessage = Left(Error.Text, iE) > sMessage &= "\n" & Mid(Error.Text, iE + 1, Len(Error.Text) - iE) > sMessage &= ("\n\nConnection test failed!!") > Else > sMessage = Error.Text & ("\n\nConnection test failed!!") > Endif > Message.Info(sMessage) > Error.Clear > > End > > It is quite important to me that this works in Gambas 3.6, so I hope it > can be solved before final 3.6 release. > > If needed to help solve the problem I can make a mail address at the > server for testing purposes. > Yes, give me a mail address and send me a project that send a mail that fails on your computer And what do you get if you set the Debug property to TRUE? -- Beno?t Minisini From willy at ...2734... Wed Oct 15 14:28:03 2014 From: willy at ...2734... (Willy Raets) Date: Wed, 15 Oct 2014 14:28:03 +0200 Subject: [Gambas-user] SMTP error in Gambas 3.6.0 (rev#6552) In-Reply-To: <543E6059.8020405@...1...> References: <1413373734.23949.14.camel@...3024...> <543E6059.8020405@...1...> Message-ID: <1413376083.23949.18.camel@...3024...> On wo, 2014-10-15 at 13:54 +0200, Beno?t Minisini wrote: > Le 15/10/2014 13:48, Willy Raets a ?crit : > > Hi, > > > > I've been testing smpt on Gambas 3.6.0 (rev#6552). > > > > I use the exact same settings as I do in my mail client Evolution (see > > screenshot smtp-settings-evolution.png), but Gambas smtp fails with > > error: > > > > 'Unable to send mail:Unable to connect to the SMTP server:EHLO command > > failed' (see attached screenshot smtp-error.png) > > > > The form shown on screenshot is part of a Gambas library that user can > > use to set their mail settings so the library can use those settings to > > send me error reports. > > > > The info filled in in the textboxes is stored in Settings and used from > > there in the code below. (see screenshot smtp-settings.png -> I placed > > xxxx on real date for the screenshot, but real info was used for the > > test) > > > > This is the code for the Test button, that tests the connection, but > > returns above error: > > > > Public Sub btnTest_Click() > > > > Dim hMail As New SmtpClient > > Dim sMessage As String > > Dim iL, iE As Integer > > Dim bMailSend As Boolean > > Inc Application.Busy > > Settings.Save > > $bIsChanged = False > > Wait > > hMail.To.Add(Settings["LibGb3DevAid/mailfrom"]) > > hMail.From = Settings["LibGb3DevAid/mailfrom"] > > hMail.Host = Settings["LibGb3DevAid/smtp"] > > hMail.Port = Settings["LibGb3DevAid/port"] > > If Settings["LibGb3DevAid/authenticate"] = -1 Then > > hMail.User = Settings["LibGb3DevAid/user"] > > hMail.Password = Settings["LibGb3DevAid/password"] > > Endif > > If Not IsNull(Settings["LibGb3DevAid/encrypt"]) Then > > hMail.Encrypt = Settings["LibGb3DevAid/encrypt"] > > Else > > hMail.Encrypt = 0 > > Endif > > hMail.Subject = ("Test connection of your mail settings") > > hMail.Add(Subst(("You have succesfuly send a mail using mail settings > > in application &1."), Local.DefaultAppName)) > > hMail.Send > > bMailSend = True > > > > Finally > > Dec Application.Busy > > If bMailSend Then > > sMessage = Subst(("Check you &1 mailbox to see if the test mail > > has been send correctly."), Settings["LibGb3DevAid/mailfrom"]) > > Message.Info(sMessage) > > Endif > > > > Catch > > bMailSend = False > > If Len(Error.Text) > 70 Then > > iL = Int(Len(Error.Text) / 2) > > iE = InStr(Error.Text, " ", iL) > > sMessage = Left(Error.Text, iE) > > sMessage &= "\n" & Mid(Error.Text, iE + 1, Len(Error.Text) - iE) > > sMessage &= ("\n\nConnection test failed!!") > > Else > > sMessage = Error.Text & ("\n\nConnection test failed!!") > > Endif > > Message.Info(sMessage) > > Error.Clear > > > > End > > > > It is quite important to me that this works in Gambas 3.6, so I hope it > > can be solved before final 3.6 release. > > > > If needed to help solve the problem I can make a mail address at the > > server for testing purposes. > > > > Yes, give me a mail address and send me a project that send a mail that > fails on your computer I have made a simplified test project where you can replicate the problem. I used the original form and code from my library and threw out all unneeded controls and code. I did test it again and error remains the same, so seems I have replicated the problem in the attached project. I will now make you a mail address on the mail server and send you all details in a private mail. > > And what do you get if you set the Debug property to TRUE? > Forgot to try :( -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org -------------- next part -------------- A non-text attachment was scrubbed... Name: MailTester-0.0.1.tar.gz Type: application/x-compressed-tar Size: 6436 bytes Desc: not available URL: From willy at ...2734... Wed Oct 15 17:32:43 2014 From: willy at ...2734... (Willy Raets) Date: Wed, 15 Oct 2014 17:32:43 +0200 Subject: [Gambas-user] SMTP error in Gambas 3.6.0 (rev#6552) In-Reply-To: <1413376083.23949.18.camel@...3024...> References: <1413373734.23949.14.camel@...3024...> <543E6059.8020405@...1...> <1413376083.23949.18.camel@...3024...> Message-ID: <1413387163.23949.37.camel@...3024...> On wo, 2014-10-15 at 14:28 +0200, Willy Raets wrote:: > I have made a simplified test project where you can replicate the > problem. I used the original form and code from my library and threw out > all unneeded controls and code. Made a small mistake in btnTest_Click() event when adapting and simplifying the code from my Gambas library to this MailTest application: Replace hMail.Password = Settings[MailTest/password] by hMail.Password = tbxPass.Text if you want a password to be passed to the mail server. It doesn't solve the error, so error seems to happen before authentication takes place. -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From taboege at ...626... Wed Oct 15 20:04:34 2014 From: taboege at ...626... (Tobias Boege) Date: Wed, 15 Oct 2014 20:04:34 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.6 (2) In-Reply-To: <543C0136.4080302@...1...> References: <543C0136.4080302@...1...> Message-ID: <20141015180434.GA1148@...2774...> On Mon, 13 Oct 2014, Beno??t Minisini wrote: > Please test it and report if you find new problems! > Hans reports back: "until now it works flawlessly with a variety of projects". Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Thu Oct 16 17:41:07 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Thu, 16 Oct 2014 17:41:07 +0200 Subject: [Gambas-user] Official release of Gambas 3.6 Message-ID: <543FE713.9010407@...1...> Hi, After almost on year since the last major version, and many last-minute bug fixes, Gambas 3.6 has just been officially released! This new release fixes 459 bugs, adds 465 new features and 22 optimizations. Some of the main changes are: - A new open project dialog in the IDE. - Support for session management. - Offline help automatically downloaded from the wiki. - Single-file mode for the IDE. - Support for transparent windows. - Shadowed text drawing routines. - New controls: Spinner, SwitchButton, DirBox, FontBox. - gb.gtk3 is a new GUI component based on GTK+ 3. - gb.inotify is a new component to monitor filesystem events with Linux inotify interface. - gb.markdown is a new component that implements the Gambas Markdown syntax. - The gb.net.smtp component has been entirely rewritten in Gambas and fixed. See the Release Notes for the list of all new features and bug fixes. Now let's start hacking for Gambas 3.7. The main goal now is making a dedicated Gambas software repository. In the meantime, enjoy it! -- Beno?t Minisini From chrisml at ...3340... Thu Oct 16 18:44:37 2014 From: chrisml at ...3340... (Christof Thalhofer) Date: Thu, 16 Oct 2014 18:44:37 +0200 Subject: [Gambas-user] Official release of Gambas 3.6 In-Reply-To: <543FE713.9010407@...1...> (sfid-) References: <543FE713.9010407@...1...> (sfid-) Message-ID: <543FF5F5.6010307@...3340...> Am 16.10.2014 um 17:41 schrieb Beno?t Minisini: > Hi, > > After almost on year since the last major version, and many last-minute > bug fixes, Gambas 3.6 has just been officially released! Bravo! Congratulations! > In the meantime, enjoy it! Yes! I enjoy Gambas very much! The language is really easy to understand and to program, it's powerful and the IDE is clear, fast, functional and very intelligent designed. Many thanks to all of you! Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From shordi at ...626... Thu Oct 16 19:07:04 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Thu, 16 Oct 2014 19:07:04 +0200 Subject: [Gambas-user] Official release of Gambas 3.6 In-Reply-To: <543FE713.9010407@...1...> References: <543FE713.9010407@...1...> Message-ID: Thank you very much, Benoit. Great Work! Regards 2014-10-16 17:41 GMT+02:00 Beno?t Minisini : > Hi, > > After almost on year since the last major version, and many last-minute > bug fixes, Gambas 3.6 has just been officially released! > > This new release fixes 459 bugs, adds 465 new features and 22 > optimizations. > > Some of the main changes are: > > - A new open project dialog in the IDE. > - Support for session management. > - Offline help automatically downloaded from the wiki. > - Single-file mode for the IDE. > - Support for transparent windows. > - Shadowed text drawing routines. > - New controls: Spinner, SwitchButton, DirBox, FontBox. > - gb.gtk3 is a new GUI component based on GTK+ 3. > - gb.inotify is a new component to monitor filesystem events with Linux > inotify interface. > - gb.markdown is a new component that implements the Gambas Markdown > syntax. > - The gb.net.smtp component has been entirely rewritten in Gambas and > fixed. > > See the Release Notes for the list of all new features and bug fixes. > > Now let's start hacking for Gambas 3.7. The main goal now is making a > dedicated Gambas software repository. > > In the meantime, enjoy it! > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sebikul at ...626... Thu Oct 16 19:44:47 2014 From: sebikul at ...626... (Sebastian Kulesz) Date: Thu, 16 Oct 2014 14:44:47 -0300 Subject: [Gambas-user] Official release of Gambas 3.6 In-Reply-To: <543FE713.9010407@...1...> References: <543FE713.9010407@...1...> Message-ID: Great news! I will have the stable PPA updated tonight with armhf builds included ;) On Oct 16, 2014 12:42 PM, "Beno?t Minisini" wrote: > Hi, > > After almost on year since the last major version, and many last-minute > bug fixes, Gambas 3.6 has just been officially released! > > This new release fixes 459 bugs, adds 465 new features and 22 > optimizations. > > Some of the main changes are: > > - A new open project dialog in the IDE. > - Support for session management. > - Offline help automatically downloaded from the wiki. > - Single-file mode for the IDE. > - Support for transparent windows. > - Shadowed text drawing routines. > - New controls: Spinner, SwitchButton, DirBox, FontBox. > - gb.gtk3 is a new GUI component based on GTK+ 3. > - gb.inotify is a new component to monitor filesystem events with Linux > inotify interface. > - gb.markdown is a new component that implements the Gambas Markdown > syntax. > - The gb.net.smtp component has been entirely rewritten in Gambas and > fixed. > > See the Release Notes for the list of all new features and bug fixes. > > Now let's start hacking for Gambas 3.7. The main goal now is making a > dedicated Gambas software repository. > > In the meantime, enjoy it! > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Thu Oct 16 19:56:46 2014 From: taboege at ...626... (Tobias Boege) Date: Thu, 16 Oct 2014 19:56:46 +0200 Subject: [Gambas-user] Gambas PR Message-ID: <20141016175645.GA2655@...2774...> Hi list, 4tionov (Christof Thalhofer) suggested in the Gambas-Club(.de) that Gambas (major?) releases could be presented in articles in different online magazines, as it happens with other programming languages (as I was told). I think this is one of the rare Gambas promotion ideas that is simple and potentially effective. Now, I carry this to the mailing list for two reasons: 1. I'm not a commit log oracle -- and I think there is no such person: I cannot make a good sentence out of a bunch of, say, commit logs for gb.report or gb.web, simply because I never used these components in my life and don't know what certain changes mean. I would propose that developers *try* to assemble notes for release articles as they do commits. Looking at commit volumes, this shouldn't be a problem for anyone except Benoit whose commits we can examine later on. The notes should be something easy comprehensible, from a bird's-eye view on the component, one to three sentences, I guess? The release notes are a good start, but I fear they're not detailed enough and lack (historic) context, like "Why this thing? How was it before?". The complete Changelog is too detailed and lacks context most of the time. 2. If we have such an article for a release in any language, we have articles for every language, right? I bet there are also non-German online magazines out there... (Although maybe we shouldn't spam the same article to everything that resembles a magazine!) What do you think? I try to assemble some (likely really only *some*) notes about 3.6 tomorrow and Christof (who has professional experience) offered to do the editing/wording. Anyone who can help? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From senex at ...3380... Thu Oct 16 18:56:15 2014 From: senex at ...3380... (senex at ...3380...) Date: Thu, 16 Oct 2014 17:56:15 +0100 Subject: [Gambas-user] Just rejoined Message-ID: <20141016175615.0594f765@...3381...> I used Gambas version 2 for some time a year or so ago. Now that version 3 is here I have installed it via the PPA and will see how I get on. It certainly looks very good. Regards Neil From shordi at ...626... Thu Oct 16 20:04:17 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Thu, 16 Oct 2014 20:04:17 +0200 Subject: [Gambas-user] Official release of Gambas 3.6 In-Reply-To: References: <543FE713.9010407@...1...> Message-ID: Thanks Sebas, the stable is fundamental for us... Regards 2014-10-16 19:44 GMT+02:00 Sebastian Kulesz : > Great news! > > I will have the stable PPA updated tonight with armhf builds included ;) > On Oct 16, 2014 12:42 PM, "Beno?t Minisini" > wrote: > > > Hi, > > > > After almost on year since the last major version, and many last-minute > > bug fixes, Gambas 3.6 has just been officially released! > > > > This new release fixes 459 bugs, adds 465 new features and 22 > > optimizations. > > > > Some of the main changes are: > > > > - A new open project dialog in the IDE. > > - Support for session management. > > - Offline help automatically downloaded from the wiki. > > - Single-file mode for the IDE. > > - Support for transparent windows. > > - Shadowed text drawing routines. > > - New controls: Spinner, SwitchButton, DirBox, FontBox. > > - gb.gtk3 is a new GUI component based on GTK+ 3. > > - gb.inotify is a new component to monitor filesystem events with Linux > > inotify interface. > > - gb.markdown is a new component that implements the Gambas Markdown > > syntax. > > - The gb.net.smtp component has been entirely rewritten in Gambas and > > fixed. > > > > See the Release Notes for the list of all new features and bug fixes. > > > > Now let's start hacking for Gambas 3.7. The main goal now is making a > > dedicated Gambas software repository. > > > > In the meantime, enjoy it! > > > > -- > > Beno?t Minisini > > > > > > > ------------------------------------------------------------------------------ > > Comprehensive Server Monitoring with Site24x7. > > Monitor 10 servers for $9/Month. > > Get alerted through email, SMS, voice calls or mobile push notifications. > > Take corrective actions from your mobile device. > > http://p.sf.net/sfu/Zoho > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Thu Oct 16 20:06:28 2014 From: taboege at ...626... (Tobias Boege) Date: Thu, 16 Oct 2014 20:06:28 +0200 Subject: [Gambas-user] Just rejoined In-Reply-To: <20141016175615.0594f765@...3381...> References: <20141016175615.0594f765@...3381...> Message-ID: <20141016180628.GB2655@...2774...> On Thu, 16 Oct 2014, senex at ...3380... wrote: > I used Gambas version 2 for some time a year or so ago. Now that > version 3 is here I have installed it via the PPA and will see how I > get on. It certainly looks very good. > Nice to hear but you could have had Gambas 3 since 2012 ;-) -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Thu Oct 16 20:08:43 2014 From: taboege at ...626... (Tobias Boege) Date: Thu, 16 Oct 2014 20:08:43 +0200 Subject: [Gambas-user] Gambas PR In-Reply-To: <20141016175645.GA2655@...2774...> References: <20141016175645.GA2655@...2774...> Message-ID: <20141016180843.GC2655@...2774...> On Thu, 16 Oct 2014, Tobias Boege wrote: > Hi list, > > 4tionov (Christof Thalhofer) suggested in the Gambas-Club(.de) that Gambas > (major?) releases Hrrm. I meant "minor", of course. The question is if every *bugfix* release demands an article, too. Major and minor ones are important enough IMHO. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From olivier.cruilles at ...614... Thu Oct 16 22:24:42 2014 From: olivier.cruilles at ...614... (Yahoo) Date: Thu, 16 Oct 2014 16:24:42 -0400 Subject: [Gambas-user] Official release of Gambas 3.6 In-Reply-To: <543FE713.9010407@...1...> References: <543FE713.9010407@...1...> Message-ID: <254BCF33-13E4-45BA-890B-0FAE4CC40D98@...614...> Thanks you Benoit for all this work. Olivier Cruilles > Le 16 oct. 2014 ? 11:41, Beno?t Minisini a ?crit : > > Hi, > > After almost on year since the last major version, and many last-minute > bug fixes, Gambas 3.6 has just been officially released! > > This new release fixes 459 bugs, adds 465 new features and 22 optimizations. > > Some of the main changes are: > > - A new open project dialog in the IDE. > - Support for session management. > - Offline help automatically downloaded from the wiki. > - Single-file mode for the IDE. > - Support for transparent windows. > - Shadowed text drawing routines. > - New controls: Spinner, SwitchButton, DirBox, FontBox. > - gb.gtk3 is a new GUI component based on GTK+ 3. > - gb.inotify is a new component to monitor filesystem events with Linux > inotify interface. > - gb.markdown is a new component that implements the Gambas Markdown syntax. > - The gb.net.smtp component has been entirely rewritten in Gambas and fixed. > > See the Release Notes for the list of all new features and bug fixes. > > Now let's start hacking for Gambas 3.7. The main goal now is making a > dedicated Gambas software repository. > > In the meantime, enjoy it! > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From chrisml at ...3340... Thu Oct 16 23:35:33 2014 From: chrisml at ...3340... (Christof Thalhofer) Date: Thu, 16 Oct 2014 23:35:33 +0200 Subject: [Gambas-user] Official release of Gambas 3.6 In-Reply-To: (sfid-) References: <543FE713.9010407@...1...> (sfid-) Message-ID: <54403A25.5020909@...3340...> Hi, Am 16.10.2014 um 19:44 schrieb Sebastian Kulesz: > Great news! > > I will have the stable PPA updated tonight with armhf builds included ;) Cool! I was waiting for that. :-) Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From sebikul at ...626... Fri Oct 17 01:33:26 2014 From: sebikul at ...626... (Sebastian Kulesz) Date: Thu, 16 Oct 2014 20:33:26 -0300 Subject: [Gambas-user] Official release of Gambas 3.6 In-Reply-To: <54403A25.5020909@...3340...> References: <543FE713.9010407@...1...> <54403A25.5020909@...3340...> Message-ID: I would like to know if there is any interest in having a Beta repository too. I know we already have two, but major releases of gambas are months apart and I have read some cases where the bug being fixed was breaking a project. This beta repository would use the latest code from the stable branch, which includes bug fixes merged since the latest stable release. It would be almost the same as the Stable PPA is now, but with bug fixes backported. If you have any interest please let me know! On Oct 16, 2014 6:36 PM, "Christof Thalhofer" wrote: > Hi, > > Am 16.10.2014 um 19:44 schrieb Sebastian Kulesz: > > Great news! > > > > I will have the stable PPA updated tonight with armhf builds included ;) > > Cool! I was waiting for that. :-) > > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From bbruen at ...2308... Fri Oct 17 01:24:08 2014 From: bbruen at ...2308... (B Bruen) Date: Fri, 17 Oct 2014 09:54:08 +1030 Subject: [Gambas-user] A sad event Message-ID: <20141017095408.8fd99810d50d4bf74498ec2b@...2308...> Dear Gambas friends, My apologies for writing this, but I just have to "get it off my chest". We at Paddys-Hill have been deeply shocked this week by the tragic death of a young 19 year old jockey due to injuries received after a fall in a local race. http://www.abc.net.au/news/2014-10-16/jockey-killed-after-fall-at-murray-bridge-race/5817266 Although not associated with paddys-hill, Caitlin Forrest was a known and well respected young rider to our small community of customers. Further, Caitlin was a child of this small town where we are located. The local township community and the local thoroughbred racing community have been shaken to the core by this event. Again my apologies for having troubled you with this. regards Bruce -- B Bruen From rterry at ...1823... Fri Oct 17 03:36:43 2014 From: rterry at ...1823... (richard terry) Date: Fri, 17 Oct 2014 12:36:43 +1100 Subject: [Gambas-user] A sad event In-Reply-To: <20141017095408.8fd99810d50d4bf74498ec2b@...2308...> References: <20141017095408.8fd99810d50d4bf74498ec2b@...2308...> Message-ID: <544072AB.8040803@...1823...> On 17/10/14 10:24, B Bruen wrote: > Dear Gambas friends, > > My apologies for writing this, but I just have to "get it off my chest". > > We at Paddys-Hill have been deeply shocked this week by the tragic death of a young 19 year old jockey due to injuries received after a fall in a local race. > > http://www.abc.net.au/news/2014-10-16/jockey-killed-after-fall-at-murray-bridge-race/5817266 > > Although not associated with paddys-hill, Caitlin Forrest was a known and well respected young rider to our small community of customers. Further, Caitlin was a child of this small town where we are located. The local township community and the local thoroughbred racing community have been shaken to the core by this event. > > Again my apologies for having troubled you with this. > > regards > Bruce > Have already noted this in the media - heart felt sympathies - I felt sad when I read about this. For those working in general practice as I do, we see many similar tragedies involving health of young and old and they stay in your memory as the decades roll by - the individuals and their faces remain with you like a trail of ghosts that for some reason one becomes even more aware of as time passes. I guess is must be similar for those in the armed services who lose their mates in war. Regards Richard From kevinfishburne at ...1887... Fri Oct 17 04:06:44 2014 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Thu, 16 Oct 2014 22:06:44 -0400 Subject: [Gambas-user] Official release of Gambas 3.6 In-Reply-To: References: <543FE713.9010407@...1...> <54403A25.5020909@...3340...> Message-ID: <544079B4.7050704@...1887...> On 10/16/2014 07:33 PM, Sebastian Kulesz wrote: > I would like to know if there is any interest in having a Beta repository > too. I know we already have two, but major releases of gambas are months > apart and I have read some cases where the bug being fixed was breaking a > project. > > This beta repository would use the latest code from the stable branch, > which includes bug fixes merged since the latest stable release. It would > be almost the same as the Stable PPA is now, but with bug fixes backported. > > If you have any interest please let me know! I'm 100% for that. I think it should be a priority for all major open source projects. It seems every time there's a new release of anything, you get 50% new cool features and 50% cool new bugs. The idea of a "bug fix only" build lying between the "stable" and "daily" builds is the best idea since sliced bread. :) -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From kevinfishburne at ...1887... Fri Oct 17 04:10:47 2014 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Thu, 16 Oct 2014 22:10:47 -0400 Subject: [Gambas-user] A sad event In-Reply-To: <544072AB.8040803@...1823...> References: <20141017095408.8fd99810d50d4bf74498ec2b@...2308...> <544072AB.8040803@...1823...> Message-ID: <54407AA7.1040103@...1887...> On 10/16/2014 09:36 PM, richard terry wrote: > On 17/10/14 10:24, B Bruen wrote: >> Dear Gambas friends, >> >> My apologies for writing this, but I just have to "get it off my chest". >> >> We at Paddys-Hill have been deeply shocked this week by the tragic death of a young 19 year old jockey due to injuries received after a fall in a local race. >> >> http://www.abc.net.au/news/2014-10-16/jockey-killed-after-fall-at-murray-bridge-race/5817266 >> >> Although not associated with paddys-hill, Caitlin Forrest was a known and well respected young rider to our small community of customers. Further, Caitlin was a child of this small town where we are located. The local township community and the local thoroughbred racing community have been shaken to the core by this event. >> >> Again my apologies for having troubled you with this. >> >> regards >> Bruce >> > Have already noted this in the media - heart felt sympathies - I felt > sad when I read about this. For those working in general practice as I > do, we see many similar tragedies involving health of young and old and > they stay in your memory as the decades roll by - the individuals and > their faces remain with you like a trail of ghosts that for some > reason one becomes even more aware of as time passes. I guess is must be > similar for those in the armed services who lose their mates in war. > > Regards > > Richard My sympathies. If there's one thing I've learned it's that life is fragile. Having a young child makes one recognize that even more. This doesn't apply in Caitlin's case, but people really need to slow down and act with a little more care. It doesn't take much for someone to just be gone. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From t.lee.davidson at ...626... Fri Oct 17 06:49:57 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Fri, 17 Oct 2014 00:49:57 -0400 Subject: [Gambas-user] Update: Re: Wow, Gambas is twice as fast as (Free) Pascal In-Reply-To: References: <54387A63.4060809@...626...> <54387EE0.9080600@...1...> <5438B8DE.6080904@...626...> <54392809.7030202@...1...> <54395BAF.1030500@...626...> <543961A7.6060809@...1...> <54398007.7030802@...626...> <543989BE.4030808@...626...> Message-ID: <54409FF5.5000108@...626...> I feel responsible to make a correction. After further research, I have discovered that Gambas, doing the Polynomial benchmark, is not faster than the pre-compiled Free Pascal program. I thought it might be prudent, before adding any Pascal benchmarks to the Wiki, to see if there might be some way to optimize the compilation of the Pascal program -- which is usually the case for just about any compiled language. Plus, I thought there might be something wrong with my system's Free Pascal Compiler (FPC) configuration that made my relative results so disparate from Jussi's. So I took the little Polynomial benchmark, and my results thus far, to the Free Pascal forum. With their assistance, I had gotten the performance ratio between the Pascal program and the Gambas program down to 1.37:1 on my system, which was real close to Jussi's performance ratio of 1.29:1 (5.376s / 4.172s). I was satisfied with that. They, on the other hand, apparently were not ;-) Long story short, FPC can make use of a unit (similar to a Gambas module) for floating point code. FPC for the x86-64 automatically uses this unit for floating point code due to the fact that all x86-64 CPUs support it. I, on the other hand, had to specifically tell the compiler to use that unit so the FPU on my Pentium4 could be utilized. That combined with what they call Level 2 optimization, for this particular program, significantly increased the performance of the compiled Pascal program. Anyone so inclined can read more about Level 1-3 optimizations at http://www.freepascal.org/docs-html/prog/progse49.html#x255-26800011.3 A 64-bit sytem user would need compile only with: `fpc -O2 polynom.pas` But I had to use (the SSE2 unit): `fpc -Cfsse2 -O2 polynom.pas` Here are my latest results with program output omitted. The Pascal program: $ time ./polynom [...] real 0m9.910s user 0m8.685s sys 0m0.031s The Gambas program, first run: $ time gbs3 -f polynom.gambas [...] real 0m12.573s user 0m9.607s sys 0m0.083s The Gambas program, second run (making use of the compile cache?): $ time gbs3 -f polynom.gambas [...] real 0m11.143s user 0m9.717s sys 0m0.046s So Gambas is still right up there in performance :-) Well, taking out compile time, and for this particular program. Is there still a place for Pascal program benchmarks on the Wiki? ;-) If so, I'll try to work on that when I can manage to find some "play" time. Lee On 10/11/2014 08:24 PM, Jussi Lahtinen wrote: > My cleaning script didn't include "rm -f /usr/local/bin/gbs3" and > apparently because of changed paths "make install" didn't overwrite old > version. So my gbs3 had version number 3.2.90, and no -f option (it was > simply ignored)! > Just to warn others, you may want to check whether you too have two > versions of gbs3 installed (in /usr/local/bin/gbs3 and in /usr/bin/gbs3). > If you do, remove the files, run "sudo make install" again and restart your > terminal. > > $ time gbs3 -c -f polym.gambas > 1250000 > 1250000 > 1250000 > 1250000 > 1250000 > 1250000 > 1250000 > 1250000 > 1250000 > 1250000 > > real 0m4.172s > user 0m4.158s > sys 0m0.012s > > > $ time ./polym > 1.25000000000000E+006 > 1.25000000000000E+006 > 1.25000000000000E+006 > 1.25000000000000E+006 > 1.25000000000000E+006 > 1.25000000000000E+006 > 1.25000000000000E+006 > 1.25000000000000E+006 > 1.25000000000000E+006 > 1.25000000000000E+006 > > real 0m5.376s > user 0m5.374s > sys 0m0.000s > > > So, Gambas really is faster in fair comparison! > > > > > Jussi > > From gambas at ...1... Fri Oct 17 07:42:27 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 17 Oct 2014 07:42:27 +0200 Subject: [Gambas-user] Update: Re: Wow, Gambas is twice as fast as (Free) Pascal In-Reply-To: <54409FF5.5000108@...626...> References: <54387A63.4060809@...626...> <54387EE0.9080600@...1...> <5438B8DE.6080904@...626...> <54392809.7030202@...1...> <54395BAF.1030500@...626...> <543961A7.6060809@...1...> <54398007.7030802@...626...> <543989BE.4030808@...626...> <54409FF5.5000108@...626...> Message-ID: <5440AC43.5040408@...1...> Le 17/10/2014 06:49, T Lee Davidson a ?crit : > I feel responsible to make a correction. After further research, I have > discovered that Gambas, doing the Polynomial benchmark, is not faster > than the pre-compiled Free Pascal program. > > I thought it might be prudent, before adding any Pascal benchmarks to > the Wiki, to see if there might be some way to optimize the compilation > of the Pascal program -- which is usually the case for just about any > compiled language. Plus, I thought there might be something wrong with > my system's Free Pascal Compiler (FPC) configuration that made my > relative results so disparate from Jussi's. So I took the little > Polynomial benchmark, and my results thus far, to the Free Pascal forum. > > With their assistance, I had gotten the performance ratio between the > Pascal program and the Gambas program down to 1.37:1 on my system, which > was real close to Jussi's performance ratio of 1.29:1 (5.376s / 4.172s). > I was satisfied with that. > > They, on the other hand, apparently were not ;-) > > Long story short, FPC can make use of a unit (similar to a Gambas > module) for floating point code. FPC for the x86-64 automatically uses > this unit for floating point code due to the fact that all x86-64 CPUs > support it. I, on the other hand, had to specifically tell the compiler > to use that unit so the FPU on my Pentium4 could be utilized. That > combined with what they call Level 2 optimization, for this particular > program, significantly increased the performance of the compiled Pascal > program. > > Anyone so inclined can read more about Level 1-3 optimizations at > http://www.freepascal.org/docs-html/prog/progse49.html#x255-26800011.3 > > > A 64-bit sytem user would need compile only with: > `fpc -O2 polynom.pas` > > But I had to use (the SSE2 unit): > `fpc -Cfsse2 -O2 polynom.pas` > > Here are my latest results with program output omitted. > > The Pascal program: > $ time ./polynom > [...] > real 0m9.910s > user 0m8.685s > sys 0m0.031s > > The Gambas program, first run: > $ time gbs3 -f polynom.gambas > [...] > real 0m12.573s > user 0m9.607s > sys 0m0.083s > > The Gambas program, second run (making use of the compile cache?): > $ time gbs3 -f polynom.gambas > [...] > real 0m11.143s > user 0m9.717s > sys 0m0.046s > > > So Gambas is still right up there in performance :-) Well, taking out > compile time, and for this particular program. > > > Is there still a place for Pascal program benchmarks on the Wiki? ;-) If > so, I'll try to work on that when I can manage to find some "play" time. > Yes, of course. If you succeed in writing the benchmarks in Pascal (they are not so complex), and in compiling it "correctly", just send me the source files and tell me exactly how to compile them: I will run them on my machine (this is the reference), and I will update the wiki. Regards, -- Beno?t Minisini From gary.emms at ...626... Fri Oct 17 08:43:36 2014 From: gary.emms at ...626... (Gary Emms) Date: Fri, 17 Oct 2014 07:43:36 +0100 Subject: [Gambas-user] A sad event In-Reply-To: <20141017095408.8fd99810d50d4bf74498ec2b@...2308...> References: <20141017095408.8fd99810d50d4bf74498ec2b@...2308...> Message-ID: <5440BA98.6020106@...626...> I don't think that you need to apologize. I also live in an area where there are many stables and I have friends in Lambourn, which is only a few miles away. I can understand how you feel and am sorry for your community, and his family's, loss Gary On 17/10/14 00:24, B Bruen wrote: > Dear Gambas friends, > > My apologies for writing this, but I just have to "get it off my chest". > > We at Paddys-Hill have been deeply shocked this week by the tragic death of a young 19 year old jockey due to injuries received after a fall in a local race. > > http://www.abc.net.au/news/2014-10-16/jockey-killed-after-fall-at-murray-bridge-race/5817266 > > Although not associated with paddys-hill, Caitlin Forrest was a known and well respected young rider to our small community of customers. Further, Caitlin was a child of this small town where we are located. The local township community and the local thoroughbred racing community have been shaken to the core by this event. > > Again my apologies for having troubled you with this. > > regards > Bruce > From willy at ...2734... Fri Oct 17 13:04:49 2014 From: willy at ...2734... (Willy Raets) Date: Fri, 17 Oct 2014 13:04:49 +0200 Subject: [Gambas-user] Incomplete documentation in Wiki Message-ID: <1413543889.2329.2.camel@...3024...> Hi, The new Spinner control is documented in the Wiki But the Wiki the pages for the new controls SwitchButton, DirBox and FontBox are missing. Maybe someone can take care that these new controls are documented? -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From senex at ...3380... Fri Oct 17 13:24:50 2014 From: senex at ...3380... (senex at ...3380...) Date: Fri, 17 Oct 2014 12:24:50 +0100 Subject: [Gambas-user] Returned to the fold Message-ID: <20141017122450.06a2e05c@...3381...> Just rejoined. I used Gambas v 2 some time ago and liked it. I have had a break, and now that v 3 is going well I have decided to install it again and see how I get on with it. I have worked with computers for more years than I care to remember, and solely with Linux for the last 15 years. Currently I am running Xubuntu 14.04, which is working well for me. Regards Neil From taboege at ...626... Fri Oct 17 16:29:51 2014 From: taboege at ...626... (Tobias Boege) Date: Fri, 17 Oct 2014 16:29:51 +0200 Subject: [Gambas-user] Drag and drop inconsistent across toolkits Message-ID: <20141017142951.GB851@...2774...> Hi, there is a project attached which tries to implement some drag and drop. The archive has gb.qt4 as graphical component but let me start with its behaviour under gb.gui: - drag from SourceLabel und SourceTextBox and drop on Destination work, - if I do three drag and drops: (i) from SourceLabel, (ii) from SourceTextBox, (iii) from SourceLabel again, I get an error "Undergoing drag". At step (ii) I see a warning in the console: (DragData:2084): GLib-GObject-WARNING **: gsignal.c:2580: instance '0x14170a0' has no handler with id '138' When I change the component to gb.qt4, I get the following: - drag from SourceTextBox does not work automatically anymore, I have to code it myself (losing the ability to select text in it), - no errors or warnings. The project is from another Gambas user and on his system (don't know what it is -- does it matter?), the project with gb.gui does: - drag from SourceTextBox works automatically, drag from SourceLabel doesn't work, even when coded (as in the attached project). Is there anything I can say to him about this? My system: [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.15.8-1-ARCH Architecture=x86_64 Distribution=arch Desktop=? Theme=QWindows Language=en_GB.UTF-8 Memory=3758M [Libraries] Cairo=libcairo.so.2.11200.16 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.2 DBus=libdbus-1.so.3.8.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.400.0 GTK+3=libgtk-3.so.0.1200.2 GTK+=libgtk-x11-2.0.so.0.2400.13 GTK+=libgtk-x11-2.0.so.0.2400.24 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.35.0.0 Poppler=libpoppler.so.46.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 which looks awful. I only know for sure that I need two different versions of Poppler and GStreamer to keep all my applications satisfied. But two GTK+2 versions? :-/ Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: DragData-0.0.2.tar.gz Type: application/octet-stream Size: 4200 bytes Desc: not available URL: From gambas.fr at ...626... Fri Oct 17 17:21:01 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 17 Oct 2014 17:21:01 +0200 Subject: [Gambas-user] Returned to the fold In-Reply-To: <20141017122450.06a2e05c@...3381...> References: <20141017122450.06a2e05c@...3381...> Message-ID: you're welcome 2014-10-17 13:24 GMT+02:00 : > Just rejoined. I used Gambas v 2 some time ago and liked it. I have had > a break, and now that v 3 is going well I have decided to install it > again and see how I get on with it. > > I have worked with computers for more years than I care to remember, > and solely with Linux for the last 15 years. Currently I am running > Xubuntu 14.04, which is working well for me. > > Regards > > Neil > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From epost at ...3323... Fri Oct 17 18:44:45 2014 From: epost at ...3323... (=?utf-8?q?J=C3=B8rn_Erik_M=C3=B8rne_ ?=) Date: Fri, 17 Oct 2014 16:44:45 -0000 Subject: [Gambas-user] Drag and drop inconsistent across toolkits In-Reply-To: <20141017142951.GB851@...2774...> References: <20141017142951.GB851@...2774...> Message-ID: <20141017164215-1833-68728-mailpile@...3383...> Tobias Boege wrote: > Hi, > > there is a project attached which tries to implement some drag and drop. > The > archive has gb.qt4 as graphical component but let me start with its > behaviour > under gb.gui: > > - drag from SourceLabel und SourceTextBox and drop on Destination work, > - if I do three drag and drops: (i) from SourceLabel, (ii) from > SourceTextBox, (iii) from SourceLabel again, I get an error "Undergoing > drag". At step (ii) I see a warning in the console: > > (DragData:2084): GLib-GObject-WARNING **: gsignal.c:2580: instance '0x14170a0' has no handler with id '138' > > When I change the component to gb.qt4, I get the following: > > - drag from SourceTextBox does not work automatically anymore, I have to > code it myself (losing the ability to select text in it), > - no errors or warnings. > > The project is from another Gambas user and on his system (don't know > what > it is -- does it matter?), the project with gb.gui does: > > - drag from SourceTextBox works automatically, drag from SourceLabel > doesn't work, even when coded (as in the attached project). > > Is there anything I can say to him about this? > > My system: > > [System] > Gambas=3.5.90 > OperatingSystem=Linux > Kernel=3.15.8-1-ARCH > Architecture=x86_64 > Distribution=arch > Desktop=? > Theme=QWindows > Language=en_GB.UTF-8 > Memory=3758M > [Libraries] > Cairo=libcairo.so.2.11200.16 > Curl=libcurl.so.4.3.0 > DBus=libdbus-1.so.3.7.2 > DBus=libdbus-1.so.3.8.6 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.400.0 > GTK+3=libgtk-3.so.0.1200.2 > GTK+=libgtk-x11-2.0.so.0.2400.13 > GTK+=libgtk-x11-2.0.so.0.2400.24 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.35.0.0 > Poppler=libpoppler.so.46.0.0 > Qt4=libQtCore.so.4.8.6 > SDL=libSDL-1.2.so.0.11.4 > > which looks awful. I only know for sure that I need two different > versions > of Poppler and GStreamer to keep all my applications satisfied. But two > GTK+2 versions? :-/ > > Regards, > Tobi > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push > notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho_______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- I also just recently found that drag/drop with gb.gui (most likely GTK) is buggy. I have to drag/drop several times to get it to work, while under gb.qt it just works. Find my project attached. In the same project, when dropping a document on the trashcan I get an Error which I don't know is a bug a correct behaviour? It says: "Control is being draged" Kind regards J?rn Erik From epost at ...3323... Fri Oct 17 19:05:02 2014 From: epost at ...3323... (epost at ...3323...) Date: Fri, 17 Oct 2014 19:05:02 +0200 Subject: [Gambas-user] Drag and drop inconsistent across toolkits In-Reply-To: <20141017164215-1833-68728-mailpile@...3383...> References: <20141017142951.GB851@...2774...> <20141017164215-1833-68728-mailpile@...3383...> Message-ID: Den 2014-10-17 18:44, skrev J?rn Erik M?rne: > Tobias Boege wrote: >> Hi, >> >> there is a project attached which tries to implement some drag and >> drop. >> The >> archive has gb.qt4 as graphical component but let me start with its >> behaviour >> under gb.gui: >> >> - drag from SourceLabel und SourceTextBox and drop on Destination >> work, >> - if I do three drag and drops: (i) from SourceLabel, (ii) from >> SourceTextBox, (iii) from SourceLabel again, I get an error >> "Undergoing >> drag". At step (ii) I see a warning in the console: >> >> (DragData:2084): GLib-GObject-WARNING **: gsignal.c:2580: >> instance '0x14170a0' has no handler with id '138' >> >> When I change the component to gb.qt4, I get the following: >> >> - drag from SourceTextBox does not work automatically anymore, I have >> to >> code it myself (losing the ability to select text in it), >> - no errors or warnings. >> >> The project is from another Gambas user and on his system (don't know >> what >> it is -- does it matter?), the project with gb.gui does: >> >> - drag from SourceTextBox works automatically, drag from SourceLabel >> doesn't work, even when coded (as in the attached project). >> >> Is there anything I can say to him about this? >> >> My system: >> >> [System] >> Gambas=3.5.90 >> OperatingSystem=Linux >> Kernel=3.15.8-1-ARCH >> Architecture=x86_64 >> Distribution=arch >> Desktop=? >> Theme=QWindows >> Language=en_GB.UTF-8 >> Memory=3758M >> [Libraries] >> Cairo=libcairo.so.2.11200.16 >> Curl=libcurl.so.4.3.0 >> DBus=libdbus-1.so.3.7.2 >> DBus=libdbus-1.so.3.8.6 >> GStreamer=libgstreamer-0.10.so.0.30.0 >> GStreamer=libgstreamer-1.0.so.0.400.0 >> GTK+3=libgtk-3.so.0.1200.2 >> GTK+=libgtk-x11-2.0.so.0.2400.13 >> GTK+=libgtk-x11-2.0.so.0.2400.24 >> OpenGL=libGL.so.1.2.0 >> Poppler=libpoppler.so.35.0.0 >> Poppler=libpoppler.so.46.0.0 >> Qt4=libQtCore.so.4.8.6 >> SDL=libSDL-1.2.so.0.11.4 >> >> which looks awful. I only know for sure that I need two different >> versions >> of Poppler and GStreamer to keep all my applications satisfied. But >> two >> GTK+2 versions? :-/ >> >> Regards, >> Tobi >> Looks like the attachment got lost, here it is! -------------- next part -------------- A non-text attachment was scrubbed... Name: PDF-Join-0.0.1.tar.gz Type: application/x-gzip Size: 16291 bytes Desc: not available URL: From t.lee.davidson at ...626... Fri Oct 17 19:29:50 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Fri, 17 Oct 2014 13:29:50 -0400 Subject: [Gambas-user] Attempted build of v3.6.0 RPM fails due to DejaVuSans.ttf require Message-ID: <5441520E.80606@...626...> I am trying to build a RPM of Gambas 3.6.0 on my Mageia 3 system, because I prefer to use package management instead of the configure-make-install process. I successfully built a v3.5.4 RPM by grabbing the Source RPM from the Mageia development repository (Cauldron). However, v3.6.0 is not yet there. So I grabbed the SPEC file from that SRPM (http://svnweb.mageia.org/packages/cauldron/gambas3/current/SPECS/gambas3.spec) and modified it slightly for v3.6.0. The package seems to build just fine, but %install fails trying to create a symlink to /usr/share/fonts/TTF/dejavu/DejaVuSans.ttf within the ~/rpmbuild/BUILDROOT/gambas3-3.6.0-1.mga3.i386/usr/share/gambas3/gb.sdl/ directory, since that directory does not exist after the build. Apparently DejaVuSans.ttf was at one time required by the SDL component? Whether or not it was ever required, is it required today by v3.6.0? Can I safely remove that requirement from the SPEC file? From pata.karlsson at ...626... Fri Oct 17 19:41:23 2014 From: pata.karlsson at ...626... (Patrik Karlsson) Date: Fri, 17 Oct 2014 19:41:23 +0200 Subject: [Gambas-user] No Global Menu in Ubuntu Message-ID: Hi, I have just updated to Gambas 3.6 from the gambas-team ppa and discovered that Gambas does not longer support Global Menu in Ubuntu when using GB_GUI=gb.qt4. I can not make the IDE export the menus and my own apps only exports the menu with gb.gtk and gb.gtk3. Is this possible to fix in Gambas or is it a Ubuntu thing? Does it work for other ubuntu users? [System] Gambas=3.6.0 OperatingSystem=Linux Kernel=3.13.0-37-generic Architecture=x86_64 Distribution=Ubuntu 14.04.1 LTS Desktop=GNOME Theme=QGtk Language=C Memory=7911M [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 taboege at ...626... Fri Oct 17 20:04:08 2014 From: taboege at ...626... (Tobias Boege) Date: Fri, 17 Oct 2014 20:04:08 +0200 Subject: [Gambas-user] Attempted build of v3.6.0 RPM fails due to DejaVuSans.ttf require In-Reply-To: <5441520E.80606@...626...> References: <5441520E.80606@...626...> Message-ID: <20141017180408.GC851@...2774...> On Fri, 17 Oct 2014, T Lee Davidson wrote: > I am trying to build a RPM of Gambas 3.6.0 on my Mageia 3 system, > because I prefer to use package management instead of the > configure-make-install process. > > I successfully built a v3.5.4 RPM by grabbing the Source RPM from the > Mageia development repository (Cauldron). However, v3.6.0 is not yet there. > > So I grabbed the SPEC file from that SRPM > (http://svnweb.mageia.org/packages/cauldron/gambas3/current/SPECS/gambas3.spec) > and modified it slightly for v3.6.0. > > The package seems to build just fine, but %install fails trying to > create a symlink to /usr/share/fonts/TTF/dejavu/DejaVuSans.ttf within > the > ~/rpmbuild/BUILDROOT/gambas3-3.6.0-1.mga3.i386/usr/share/gambas3/gb.sdl/ > directory, since that directory does not exist after the build. > > Apparently DejaVuSans.ttf was at one time required by the SDL component? > > Whether or not it was ever required, is it required today by v3.6.0? Can > I safely remove that requirement from the SPEC file? > There were things done to that file. Quoting the commit logs (in excerpts): --8<------------------------------------------------------------------------ Revision: 5933 [GB.SDL] * NEW: Rename the default SDL font file as "_default.ttf" to prevent packaging conflicts. Added Paths: ----------- gambas/trunk/gb.sdl/src/data/_default.ttf Removed Paths: ------------- gambas/trunk/gb.sdl/src/data/DejaVuSans.ttf --8<------------------------------------------------------------------------ Revision: 5937 [GB.SDL] * NEW: Use the Gambas monospace font as SDL default font now. Added Paths: ----------- gambas/trunk/gb.sdl/src/data/_default.bdf Removed Paths: ------------- gambas/trunk/gb.sdl/src/data/_default.ttf --8<------------------------------------------------------------------------ Maybe you can go further from here? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambasperryman at ...626... Fri Oct 17 20:15:55 2014 From: gambasperryman at ...626... (Michael Perryman) Date: Fri, 17 Oct 2014 19:15:55 +0100 Subject: [Gambas-user] 'GTK_IS_WIDGET (widget)' failed Only after installing Gambas3.6.0 Message-ID: This afternoon I saw Gambas 3.6.0 available as as an update, & installed it. My program was working without problems using Gambas 3.5. It has a form with 4 text labels, 4 test boxes, 2 buttons, & a progress bar. As soon as the form loads I get the following error message in the console. The message can only be cleared by closing & reopening Gambas. (FindWptsGUI:2758): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 'GTK_IS_WIDGET (widget)' failed Once it has occurred if I drag the window border to resize it, the same message repeats a very large number of times. I tried loading an old version from backup so as to ensure that I had not accidentally changed the program. The old version showed exactly the same error message. 1) Has anyone else had the problem? 2) As this appears to be a GTK problem, does anyone have any idea how I can resolve the problem. [System] Gambas=3.6.0 OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86_64 Distribution=Linux Mint 17 Qiana Desktop=MATE Theme=QGtk Language=en_GB.UTF-8 Memory=7863M [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 t.lee.davidson at ...626... Fri Oct 17 20:30:15 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Fri, 17 Oct 2014 14:30:15 -0400 Subject: [Gambas-user] Attempted build of v3.6.0 RPM fails due to DejaVuSans.ttf require In-Reply-To: <20141017180408.GC851@...2774...> References: <5441520E.80606@...626...> <20141017180408.GC851@...2774...> Message-ID: <54416037.4070706@...626...> On 10/17/2014 02:04 PM, Tobias Boege wrote: > > There were things done to that file. Quoting the commit logs (in excerpts): > > --8<------------------------------------------------------------------------ > Revision: 5933 > [GB.SDL] > * NEW: Rename the default SDL font file as "_default.ttf" to prevent > packaging conflicts. > > Added Paths: > ----------- > gambas/trunk/gb.sdl/src/data/_default.ttf > > Removed Paths: > ------------- > gambas/trunk/gb.sdl/src/data/DejaVuSans.ttf > > --8<------------------------------------------------------------------------ > Revision: 5937 > [GB.SDL] > * NEW: Use the Gambas monospace font as SDL default font now. > > Added Paths: > ----------- > gambas/trunk/gb.sdl/src/data/_default.bdf > > Removed Paths: > ------------- > gambas/trunk/gb.sdl/src/data/_default.ttf > --8<------------------------------------------------------------------------ > > Maybe you can go further from here? > > Regards, > Tobi > Thank you for your response, Tobi. I need to learn how to use SourceForge. Did you go to http://sourceforge.net/p/gambas/code/HEAD/tree/ and then click "Browse Commits"? Is there a way to search them? In browsing the commits, I found [r6390]: "* NEW: The default font is now embedded in the library." I think that means I can safely remove the references to that external font in the SPEC file. I will try that. Thanks again. -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From taboege at ...626... Fri Oct 17 20:35:22 2014 From: taboege at ...626... (Tobias Boege) Date: Fri, 17 Oct 2014 20:35:22 +0200 Subject: [Gambas-user] Attempted build of v3.6.0 RPM fails due to DejaVuSans.ttf require In-Reply-To: <54416037.4070706@...626...> References: <5441520E.80606@...626...> <20141017180408.GC851@...2774...> <54416037.4070706@...626...> Message-ID: <20141017183522.GD851@...2774...> On Fri, 17 Oct 2014, T Lee Davidson wrote: > On 10/17/2014 02:04 PM, Tobias Boege wrote: > > > > There were things done to that file. Quoting the commit logs (in excerpts): > > > > --8<------------------------------------------------------------------------ > > Revision: 5933 > > [GB.SDL] > > * NEW: Rename the default SDL font file as "_default.ttf" to prevent > > packaging conflicts. > > > > Added Paths: > > ----------- > > gambas/trunk/gb.sdl/src/data/_default.ttf > > > > Removed Paths: > > ------------- > > gambas/trunk/gb.sdl/src/data/DejaVuSans.ttf > > > > --8<------------------------------------------------------------------------ > > Revision: 5937 > > [GB.SDL] > > * NEW: Use the Gambas monospace font as SDL default font now. > > > > Added Paths: > > ----------- > > gambas/trunk/gb.sdl/src/data/_default.bdf > > > > Removed Paths: > > ------------- > > gambas/trunk/gb.sdl/src/data/_default.ttf > > --8<------------------------------------------------------------------------ > > > > Maybe you can go further from here? > > > > Regards, > > Tobi > > > > Thank you for your response, Tobi. > > I need to learn how to use SourceForge. Did you go to > http://sourceforge.net/p/gambas/code/HEAD/tree/ and then click "Browse > Commits"? Is there a way to search them? > I'm subscribed to the gambas-devel-svn mailing list, so I receive a mail whenever a commit is made. I normally use my mail program to grep through those commit mails. There should be an archive of this mailing list on SF which allows searches... If you have a "local" copy of the Gambas repository, you could also grep the output of "svn log" but that requires fetching the logs from the server (plus ssh authentication in my case) and is slower than grepping my maildir. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From ian.roper at ...1974... Sat Oct 18 00:03:20 2014 From: ian.roper at ...1974... (Ian) Date: Sat, 18 Oct 2014 06:03:20 +0800 Subject: [Gambas-user] Incomplete documentation in Wiki In-Reply-To: <1413543889.2329.2.camel@...3024...> References: <1413543889.2329.2.camel@...3024...> Message-ID: <54419228.1070707@...1974...> Greetings all, Is there a way to automatically scan through the code base and give a list of control elements that are missing documentation ? It would be a good reference to have on the Wiki - a "things to do" list for those who want to contribute. Cheers, Ian Roper On 17/10/14 19:04, Willy Raets wrote: > Hi, > > The new Spinner control is documented in the Wiki > But the Wiki the pages for the new controls SwitchButton, DirBox and > FontBox are missing. > > Maybe someone can take care that these new controls are documented? > From taboege at ...626... Sat Oct 18 00:03:36 2014 From: taboege at ...626... (Tobias Boege) Date: Sat, 18 Oct 2014 00:03:36 +0200 Subject: [Gambas-user] Incomplete documentation in Wiki In-Reply-To: <54419228.1070707@...1974...> References: <1413543889.2329.2.camel@...3024...> <54419228.1070707@...1974...> Message-ID: <20141017220336.GE851@...2774...> On Sat, 18 Oct 2014, Ian wrote: > Greetings all, > Is there a way to automatically scan through the code base and give a > list of control elements that are missing documentation ? > It would be a good reference to have on the Wiki - a "things to do" list > for those who want to contribute. > Like the TODO page [0] which lists all classes lacking documentation? :-) [0] http://gambaswiki.org/wiki/translate -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Sat Oct 18 00:18:40 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 18 Oct 2014 00:18:40 +0200 Subject: [Gambas-user] Attempted build of v3.6.0 RPM fails due to DejaVuSans.ttf require In-Reply-To: <5441520E.80606@...626...> References: <5441520E.80606@...626...> Message-ID: <544195C0.2080606@...1...> Le 17/10/2014 19:29, T Lee Davidson a ?crit : > I am trying to build a RPM of Gambas 3.6.0 on my Mageia 3 system, > because I prefer to use package management instead of the > configure-make-install process. > > I successfully built a v3.5.4 RPM by grabbing the Source RPM from the > Mageia development repository (Cauldron). However, v3.6.0 is not yet there. > > So I grabbed the SPEC file from that SRPM > (http://svnweb.mageia.org/packages/cauldron/gambas3/current/SPECS/gambas3.spec) > and modified it slightly for v3.6.0. > > The package seems to build just fine, but %install fails trying to > create a symlink to /usr/share/fonts/TTF/dejavu/DejaVuSans.ttf within > the > ~/rpmbuild/BUILDROOT/gambas3-3.6.0-1.mga3.i386/usr/share/gambas3/gb.sdl/ > directory, since that directory does not exist after the build. > > Apparently DejaVuSans.ttf was at one time required by the SDL component? > > Whether or not it was ever required, is it required today by v3.6.0? Can > I safely remove that requirement from the SPEC file? > Yes. This font was used as a default font for gb.sdl. It has been replaced by a custom bitmap font integrated inside the gb.sdl sources, to remove this dependency. Regards, -- Beno?t Minisini From gambas at ...1... Sat Oct 18 00:50:07 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 18 Oct 2014 00:50:07 +0200 Subject: [Gambas-user] 'GTK_IS_WIDGET (widget)' failed Only after installing Gambas3.6.0 In-Reply-To: References: Message-ID: <54419D1F.4020000@...1...> Le 17/10/2014 20:15, Michael Perryman a ?crit : > This afternoon I saw Gambas 3.6.0 available as as an update, & installed it. > > My program was working without problems using Gambas 3.5. > > It has a form with 4 text labels, 4 test boxes, 2 buttons, & a progress bar. > > As soon as the form loads I get the following error message in the > console. The message can only be cleared by closing & reopening Gambas. > > > (FindWptsGUI:2758): Gtk-CRITICAL **: IA__gtk_widget_get_direction: > assertion 'GTK_IS_WIDGET (widget)' failed > > > Once it has occurred if I drag the window border to resize it, the same > message repeats a very large number of times. > > I tried loading an old version from backup so as to ensure that I had not > accidentally changed the program. > The old version showed exactly the same error message. > > 1) Has anyone else had the problem? > > 2) As this appears to be a GTK problem, does anyone have any idea how I > can resolve the problem. > > [System] > Gambas=3.6.0 > OperatingSystem=Linux > Kernel=3.13.0-24-generic > Architecture=x86_64 > Distribution=Linux Mint 17 Qiana > Desktop=MATE > Theme=QGtk > Language=en_GB.UTF-8 > Memory=7863M > [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 I need a project that reproduces that bug to be able to fix it. Regards, -- Beno?t Minisini From herberthguzman at ...626... Sat Oct 18 04:50:24 2014 From: herberthguzman at ...626... (herberth guzman) Date: Fri, 17 Oct 2014 20:50:24 -0600 Subject: [Gambas-user] Rename File (IconView + MOVE) Message-ID: Hi in the development version Gambas 3.6 to rename a file from a IconView worked well. Install Gambas 3.6 the stable version and displays an error. "not enough arguments" the code I use is: Move Directory & $sLastName To Directory & ivwDesktop.Current.Text If I open the example Explorer and use the F2 key displays the same error. "not enough arguments" How I can fix it. Regards Herberth Guzman From herberthguzman at ...626... Sat Oct 18 05:01:20 2014 From: herberthguzman at ...626... (herberth guzman) Date: Fri, 17 Oct 2014 21:01:20 -0600 Subject: [Gambas-user] Error Copy File gb.gtk or gb.gtk3 Message-ID: Hi To copy from Gambas3.6 (Iconview + Directory) with gb.qt a filemanager (Dolphin, Pcmanfm, Nautilus) works well. But gb.gtk gb.gtk3 or no work. code: sName_Paste = ivwDesktop.Current.Text sPath_Source = Directory & sName_Paste clsClipboard.Copy(sPath_Source, "text/uri-list") How I can fix it. Thanks and Regards Herberth Guzman From t.lee.davidson at ...626... Sat Oct 18 08:27:31 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sat, 18 Oct 2014 02:27:31 -0400 Subject: [Gambas-user] Attempted build of v3.6.0 RPM fails due to DejaVuSans.ttf require In-Reply-To: <544195C0.2080606@...1...> References: <5441520E.80606@...626...> <544195C0.2080606@...1...> Message-ID: <54420853.5030306@...626...> On 10/17/2014 06:18 PM, Beno?t Minisini wrote: > Yes. This font was used as a default font for gb.sdl. It has been > replaced by a custom bitmap font integrated inside the gb.sdl sources, > to remove this dependency. > > Regards, > > -- Beno?t Minisini Thank you Beno?t and Tobi for your help. After a few build-edit-clean cycles, I was finally successful in building a Gambas 3.6.0 RPM for Mageia! In addition to removing the footprints of the deprecated external font requirement, I also had to make a few modifications of the SPEC file to accommodate the new components and find parents for some "orphan" files that were included in the source but not packaged by that file. But, I now have a working Gambas 3.6.0 on my Mageia 3 box that I can manage with my package manager. Yay! For anyone else using Mageia, you can read a summary of my short journey, which includes step-by-step instructions to build a 3.6.0 RPM on Mageia, at https://forums.mageia.org/en/viewtopic.php?f=8&t=8598&p=52267#p52291 -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From gambas at ...2524... Sat Oct 18 10:59:37 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 18 Oct 2014 08:59:37 +0000 Subject: [Gambas-user] Issue 568 in gambas: Exec fails to run scripts Message-ID: <0-6813199134517018827-9091553641493949727-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 568 by mradcli... at ...626...: Exec fails to run scripts https://code.google.com/p/gambas/issues/detail?id=568 I have the following code in one of my projects filename is a string which contains the full path to a video file which the program needs to retrieve data from, but seems to fall over only when I attempt to run a script. Dim strOutput As String Dim params As New String[] With params .Add("/tmp/getData.sh") .Add(filename) End With Exec Params To strOutput which fails with "Cannot run child process: Cannot run executable: exec format error" followed by details of the class and line where the error occurred. This code was written originally in 3.5.4 where it works perfectly and only fails after an upgrade to 3.6 Moreover if I run a command (say chmod) then the exec works perfectly. [System] Gambas=3.6.0 OperatingSystem=Linux Kernel=3.2.0-70-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=LXDE Theme=QGtk Language=en_US.UTF-8 Memory=496M [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+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 -- 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... Sat Oct 18 14:30:15 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 18 Oct 2014 12:30:15 +0000 Subject: [Gambas-user] Issue 569 in gambas: Replace$ doenst work. Message-ID: <0-6813199134517018827-8308984978656470687-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-TRUNK Type-Bug Priority-Medium OpSys-Linux Dist-Ubuntu Arch-Any Desktop-Any GUI-Any New issue 569 by cmelissa... at ...626...: Replace$ doenst work. https://code.google.com/p/gambas/issues/detail?id=569 1) Replace$ doesnt work e.g. in the following code replace space with underscore: ''''''''' CODE START '''''''''' Public Sub btnNew_Click() 'click the New Account button. Dim myProfile As String myProfile = InputBox(("Profile Name"), ("Enter new profile name")) Replace(myProfile, " ", "_") ' Replace$(myProfile, " ", "_") doesn't work either message(myProfile) End ''''''''' END OF CODE 2)System Info: [System] Gambas=3.6.0 OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86 Distribution=Linux Mint 17 Qiana Desktop=GNOME Theme=QGtk Language=el_GR.UTF-8 Memory=1761M [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 3) Provide a little project that reproduces the bug. go to: https://github.com/cograss/Git4all/GMB_Bug_Report download the branch in a zip file or: clone project in an empty folder by runing in a terminal "git clone https://github.com/cograss/Git4all/GMB_Bug_Report" in a terminal. Run Project click on menu: Settings > GitHUB Account. in the form click on "New Account" button. write a string with space in it. Bug reproduced (The combobox.text contains spaces). 4) It doesn't need any databases. 5) How to reproduce: a.Create a Button in an empty form. b.Doubleclick button to open code of button_Click c.Declare a String variable. (e.g. Dim myString As String) d.Assign a string containing spaces. (e.g. myString = "test space") e.Use Replace$ to replace spaces in string. (e.g. Replace(myString," ","_") f.Use message or any other, to see contents of string. (e.g. message(myString) Thank you for reading this bug 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... Sat Oct 18 14:38:06 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 18 Oct 2014 12:38:06 +0000 Subject: [Gambas-user] Issue 569 in gambas: Replace$ doenst work. In-Reply-To: <0-6813199134517018827-8308984978656470687-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-8308984978656470687-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-8308984978656470687-gambas=googlecode.com@...2524...> Updates: Status: Invalid Labels: -OpSys-Linux -Dist-Ubuntu OpSys-Any Dist-Any Comment #1 on issue 569 by tabo... at ...626...: Replace$ doenst work. https://code.google.com/p/gambas/issues/detail?id=569 Replace$() does not modify its argument, it returns a value instead (because it is a function and not a method). To get your string without spaces into the myString variable, do: myString = Replace$(myString, " ", "_") -- 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 Oct 18 15:39:19 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 18 Oct 2014 15:39:19 +0200 Subject: [Gambas-user] Rename File (IconView + MOVE) In-Reply-To: References: Message-ID: <54426D87.9090100@...1...> Le 18/10/2014 04:50, herberth guzman a ?crit : > Hi > > in the development version Gambas 3.6 to rename a file from a IconView > worked well. > > Install Gambas 3.6 the stable version and displays an error. > "not enough arguments" > > the code I use is: > Move Directory & $sLastName To Directory & ivwDesktop.Current.Text > > If I open the example Explorer and use the F2 key displays the same error. > "not enough arguments" > > How I can fix it. > > Regards > > Herberth Guzman This is fixed in revision #6559. Regards, -- Beno?t Minisini From ron at ...1740... Sat Oct 18 15:59:32 2014 From: ron at ...1740... (Ron) Date: Sat, 18 Oct 2014 15:59:32 +0200 Subject: [Gambas-user] Drag and drop inconsistent across toolkits In-Reply-To: References: <20141017142951.GB851@...2774...> <20141017164215-1833-68728-mailpile@...3383...> Message-ID: I have to drag a control on my form a few time until it sticks... Is this related? Ubuntu 14.04.1 Regards, Ron. 2014-10-17 19:05 GMT+02:00 : > Den 2014-10-17 18:44, skrev J?rn Erik M?rne: > >> Tobias Boege wrote: >>> >>> Hi, >>> >>> there is a project attached which tries to implement some drag and drop. >>> The >>> archive has gb.qt4 as graphical component but let me start with its >>> behaviour >>> under gb.gui: >>> >>> - drag from SourceLabel und SourceTextBox and drop on Destination work, >>> - if I do three drag and drops: (i) from SourceLabel, (ii) from >>> SourceTextBox, (iii) from SourceLabel again, I get an error >>> "Undergoing >>> drag". At step (ii) I see a warning in the console: >>> >>> (DragData:2084): GLib-GObject-WARNING **: gsignal.c:2580: instance >>> '0x14170a0' has no handler with id '138' >>> >>> When I change the component to gb.qt4, I get the following: >>> >>> - drag from SourceTextBox does not work automatically anymore, I have to >>> code it myself (losing the ability to select text in it), >>> - no errors or warnings. >>> >>> The project is from another Gambas user and on his system (don't know >>> what >>> it is -- does it matter?), the project with gb.gui does: >>> >>> - drag from SourceTextBox works automatically, drag from SourceLabel >>> doesn't work, even when coded (as in the attached project). >>> >>> Is there anything I can say to him about this? >>> >>> My system: >>> >>> [System] >>> Gambas=3.5.90 >>> OperatingSystem=Linux >>> Kernel=3.15.8-1-ARCH >>> Architecture=x86_64 >>> Distribution=arch >>> Desktop=? >>> Theme=QWindows >>> Language=en_GB.UTF-8 >>> Memory=3758M >>> [Libraries] >>> Cairo=libcairo.so.2.11200.16 >>> Curl=libcurl.so.4.3.0 >>> DBus=libdbus-1.so.3.7.2 >>> DBus=libdbus-1.so.3.8.6 >>> GStreamer=libgstreamer-0.10.so.0.30.0 >>> GStreamer=libgstreamer-1.0.so.0.400.0 >>> GTK+3=libgtk-3.so.0.1200.2 >>> GTK+=libgtk-x11-2.0.so.0.2400.13 >>> GTK+=libgtk-x11-2.0.so.0.2400.24 >>> OpenGL=libGL.so.1.2.0 >>> Poppler=libpoppler.so.35.0.0 >>> Poppler=libpoppler.so.46.0.0 >>> Qt4=libQtCore.so.4.8.6 >>> SDL=libSDL-1.2.so.0.11.4 >>> >>> which looks awful. I only know for sure that I need two different >>> versions >>> of Poppler and GStreamer to keep all my applications satisfied. But two >>> GTK+2 versions? :-/ >>> >>> Regards, >>> Tobi >>> > > Looks like the attachment got lost, here it is! > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From epost at ...3323... Sat Oct 18 16:01:23 2014 From: epost at ...3323... (=?UTF-8?B?SsO4cm4gRXJpayBNw7hybmU=?=) Date: Sat, 18 Oct 2014 16:01:23 +0200 Subject: [Gambas-user] Drag and drop inconsistent across toolkits In-Reply-To: References: <20141017142951.GB851@...2774...> <20141017164215-1833-68728-mailpile@...3383...> Message-ID: <544272B3.3020405@...3323...> Den 18. okt. 2014 15:59, skrev Ron: > I have to drag a control on my form a few time until it sticks... > Is this related? > > Ubuntu 14.04.1 This is often also my experience... From gambas at ...1... Sat Oct 18 20:14:06 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 18 Oct 2014 20:14:06 +0200 Subject: [Gambas-user] Drag and drop inconsistent across toolkits In-Reply-To: <20141017142951.GB851@...2774...> References: <20141017142951.GB851@...2774...> Message-ID: <5442ADEE.1020602@...1...> Le 17/10/2014 16:29, Tobias Boege a ?crit : > Hi, > > there is a project attached which tries to implement some drag and drop. The > archive has gb.qt4 as graphical component but let me start with its behaviour > under gb.gui: > > - drag from SourceLabel und SourceTextBox and drop on Destination work, > - if I do three drag and drops: (i) from SourceLabel, (ii) from > SourceTextBox, (iii) from SourceLabel again, I get an error "Undergoing > drag". At step (ii) I see a warning in the console: > > (DragData:2084): GLib-GObject-WARNING **: gsignal.c:2580: instance '0x14170a0' has no handler with id '138' > > When I change the component to gb.qt4, I get the following: > > - drag from SourceTextBox does not work automatically anymore, I have to > code it myself (losing the ability to select text in it), > - no errors or warnings. > > The project is from another Gambas user and on his system (don't know what > it is -- does it matter?), the project with gb.gui does: > > - drag from SourceTextBox works automatically, drag from SourceLabel > doesn't work, even when coded (as in the attached project). > > Is there anything I can say to him about this? > I have started to fix drag and drop in gb.gtk and gb.gtk3. Normally, your example should work as expected both with gb.gtk and gb.gtk3. The fix may have a bad side effect with automatic mouse grabs on button press in gb.gtk3. People will tell me. As for gb.qt4, I don't understand why dnd is not automatic anymore with TextBox. If you replace the TextBox by a TextArea, it works. I noticed that behaviour in some other textboxes (QLineEdit Qt4 widget) in KDE programs, but not all! There is also a bug I couldn't reproduce at will with gb.qt4: If, in your example, I repeatedly and alternatively drag from the Label and from the TextBox, I can make the destination widget disappear and the program crash. Regards, -- Beno?t Minisini From gambas at ...2524... Sat Oct 18 20:25:35 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 18 Oct 2014 18:25:35 +0000 Subject: [Gambas-user] Issue 568 in gambas: Exec fails to run scripts In-Reply-To: <0-6813199134517018827-9091553641493949727-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-9091553641493949727-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-9091553641493949727-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Labels: -Version Version-TRUNK Comment #1 on issue 568 by benoit.m... at ...626...: Exec fails to run scripts https://code.google.com/p/gambas/issues/detail?id=568 I cannot reproduce that. Please provide your project and your getData.sh script. -- 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 Oct 18 22:04:56 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 18 Oct 2014 22:04:56 +0200 Subject: [Gambas-user] Error Copy File gb.gtk or gb.gtk3 In-Reply-To: References: Message-ID: <5442C7E8.4040300@...1...> Le 18/10/2014 05:01, herberth guzman a ?crit : > Hi > > To copy from Gambas3.6 (Iconview + Directory) with gb.qt a filemanager > (Dolphin, Pcmanfm, Nautilus) works well. > > But gb.gtk gb.gtk3 or no work. > code: > > sName_Paste = ivwDesktop.Current.Text > sPath_Source = Directory & sName_Paste > clsClipboard.Copy(sPath_Source, "text/uri-list") > > > How I can fix it. > > Thanks and Regards > > > Herberth Guzman The bug is fixed in revision #6562. Regards, -- Beno?t Minisini From gambas at ...1... Sat Oct 18 22:06:50 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 18 Oct 2014 22:06:50 +0200 Subject: [Gambas-user] Paint misbehaves on QT when a ValueBox.value is changed (v3.5.4) In-Reply-To: <54375536.8070201@...626...> References: <5437065A.3090601@...626...> <54371AFA.6060901@...1...> <54375536.8070201@...626...> Message-ID: <5442C85A.1070708@...1...> Le 10/10/2014 05:40, T Lee Davidson a ?crit : > > > On 10/09/2014 07:32 PM, Beno?t Minisini wrote: >> Le 10/10/2014 00:04, T Lee Davidson a ?crit : >>> If a form's ValueBox.value is modified, subsequent Paint'ing on a cached >>> DrawingArea of the form doesn't produce the draw when the gb.qt4 >>> component is loaded. It does work if, instead, the gb.gtk component is >>> manually selected in the project. Trying to set the focus back to the >>> DrawingArea, "DrawingArea1.SetFocus", after modifying the ValueBox.value >>> did not help. >>> >>> I have attached an archive of a sample project that shows this. >>> >>> Also, the sample project contains two methods to clear the DrawingArea, >>> because what works for GTK does not work for QT. >>> >>> Is this a bug, or am I doing something wrong? >>> >>> >>> Thanks for any help, >>> Lee >>> >>> >> >> I saw no problem in the drawing, whatever the GUI component (gb.qt4, >> gb.gtk or gb.gtk3). But I saw that there are bugs in DrawingArea.Clear() >> in all components! >> >> Regards, >> > > Well that's a little disappointing that you weren't able to replicate > the issue on your system. On mine, the red line is drawn and then when > it comes time for the blue line to be drawn, the red line disappears as > if the DrawingArea has been cleared. It's a mystery to me. > > But, thank you for looking into it. > > Lee > Did the 3.6 version fix your probelm or not? -- Beno?t Minisini From gambas at ...1... Sat Oct 18 22:09:06 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 18 Oct 2014 22:09:06 +0200 Subject: [Gambas-user] R: Error packets signature - BIS In-Reply-To: <1412434593.5908.YahooMailBasic@...3268...> References: <1412434593.5908.YahooMailBasic@...3268...> Message-ID: <5442C8E2.2030603@...1...> Le 04/10/2014 16:56, Ru Vuott a ?crit : > I forgot the informations about his system and Gambas version: > > [System] > Gambas=3.5.4 > OperatingSystem=Linux > Kernel=3.15.0-pf3-pae > Architecture=x86 > Distribution=Ubuntu 14.04.1 LTS > Desktop=GNOME > Theme=QGtk > Language=it_IT.UTF-8 > Memory=16143M > [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 > > Regards > vuott > > > > > > -------------------------------------------- > Sab 4/10/14, Ru Vuott ha scritto: > > Oggetto: [Gambas-user] Error packets signature > A: gambas-user at lists.sourceforge.net > Data: Sabato 4 ottobre 2014, 16:40 > > Hello, > > our friend, member of italian Gambas forum, tells this > problem: > the problem concerns the signature of the packets for the > following forwarding to launchpad. > The compilation works and the packets are regularly created > packets: .deb, .orig.tar.gz, .diff.gz, .dsc and .changes > He says the packets, unfortunately, are not signed with the > "gpg" key, present in the system (but if he does manually by > recreating the directories and by giving, the "debuild" > works perfectly), and it returns the following error in > phase of compilation: > *************************************** > dh_testdir > signfile test_0.0.1-0ubuntu1.dsc > gpg: cannot open tty `/dev/tty': Device o indirizzo non > esistente > dpkg-genchanges > >../test_0.0.1-0ubuntu1_i386.changes > > dpkg-genchanges: not including original source code in > upload > dpkg-source --after-build test-0.0.1 > dpkg-buildpackage: Avviso: failed to sign .dsc and .changes > file > dpkg-buildpackage: binary and diff upload (original source > NOT included) > I package sono stati creati in modo corretto. > *************************************** > > Well, how can we help him ? > > Thanks > vuott > Does it help if he runs the gambas3 IDE from a terminal? -- Beno?t Minisini From gambas at ...1... Sat Oct 18 22:14:49 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 18 Oct 2014 22:14:49 +0200 Subject: [Gambas-user] Missing Keyword in Wiki In-Reply-To: References: Message-ID: <5442CA39.3030206@...1...> Le 13/09/2014 23:04, Randall Morgan a ?crit : > This is just an FYI for the Wiki maintainers. > > The "Each" keyword is missing from the Language index page. It can be found > in the Loop Constructs page but should be added to the Language Index page > as well. That will give users a quick way to find it. > Keyword added. Regards, -- Beno?t Minisini From senex at ...3380... Sat Oct 18 23:32:51 2014 From: senex at ...3380... (senex at ...3380...) Date: Sat, 18 Oct 2014 22:32:51 +0100 Subject: [Gambas-user] Strange error message Message-ID: <20141018223251.6c405d30@...3381...> I have installed Gambas v 3.6 on to Xubuntu. Then I started to set up a new project. This was mainly to test how well I remembered working previously with version 2. When I ran a test I saw an error message on the console ... .gtkrc-2.0:1: error: unexpected character '\342', expected string constant So I checked out the .gtkrc file style ?xfdesktop-icon-view? { XfdesktopIconView::label-alpha = 0 fg[NORMAL] = ?#fafa06? fg[SELECTED] = ?#fafa06? fg[ACTIVE] = ?#fafa06? } widget_class ?*XfdesktopIconView*? style ?xfdesktop-icon-view? Just a normal file to set some colours. Now I am baffled, although the test file still seems to run OK. If anyone can point me in the right direction I would be very grateful, Thanks Neil From vuott at ...325... Sat Oct 18 23:40:42 2014 From: vuott at ...325... (Ru Vuott) Date: Sat, 18 Oct 2014 22:40:42 +0100 Subject: [Gambas-user] ERROR with revision 6562 Message-ID: <1413668442.14519.YahooMailBasic@...3274...> Hello, updating my Gambas3 with revision 6562 via SVN, I obtained this error: ************************************************************************************************************************************** In file included from /usr/include/gtk-3.0/gtk/gtkwidget.h:35:0, from /usr/include/gtk-3.0/gtk/gtkapplication.h:27, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:33, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from widgets.h:34, from gdrag.cpp:32: /usr/include/gtk-3.0/gtk/gtktypes.h:41:16: error: forward declaration of 'GtkSelectionData {aka struct _GtkSelectionData}' typedef struct _GtkSelectionData GtkSelectionData; ^ make[4]: *** [gb_gtk3_la-gdrag.lo] Error 1 make[4]: Leaving directory `/home/vuott/trunk/gb.gtk3/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/vuott/trunk/gb.gtk3' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/vuott/trunk/gb.gtk3' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/vuott/trunk' make: *** [all] Error 2 ************************************************************************************************************************************** Regards vuott From vuott at ...325... Sat Oct 18 23:45:32 2014 From: vuott at ...325... (Ru Vuott) Date: Sat, 18 Oct 2014 22:45:32 +0100 Subject: [Gambas-user] R: Error packets signature - BIS In-Reply-To: <5442C8E2.2030603@...1...> Message-ID: <1413668732.64838.YahooMailBasic@...3269...> Hello, Beno?t, I comunicated your question to our friend. We'll wait for his answer... Bye vuott -------------------------------------------- Sab 18/10/14, Beno?t Minisini ha scritto: Oggetto: Re: [Gambas-user] R: Error packets signature - BIS A: "mailing list for gambas users" Data: Sabato 18 ottobre 2014, 22:09 Le 04/10/2014 16:56, Ru Vuott a ?crit : > I forgot the informations about his system and Gambas version: > > [System] > Gambas=3.5.4 > OperatingSystem=Linux > Kernel=3.15.0-pf3-pae > Architecture=x86 > Distribution=Ubuntu 14.04.1 LTS > Desktop=GNOME > Theme=QGtk > Language=it_IT.UTF-8 > Memory=16143M > [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 > > Regards > vuott > > > > > > -------------------------------------------- > Sab 4/10/14, Ru Vuott ha scritto: > >???Oggetto: [Gambas-user] Error packets signature >???A: gambas-user at lists.sourceforge.net >???Data: Sabato 4 ottobre 2014, 16:40 > >???Hello, > >???our friend, member of italian Gambas forum, tells this >???problem: >???the problem concerns the signature of the packets for the >???following forwarding to launchpad. >???The compilation works and the packets are regularly created >???packets: .deb, .orig.tar.gz, .diff.gz, .dsc and .changes >???He says the packets, unfortunately, are not signed with the >???"gpg" key, present in the system (but if he does manually by >???recreating the directories and by giving, the "debuild" >???works perfectly), and it returns the following error in >???phase of compilation: >???*************************************** >???dh_testdir >? ? signfile test_0.0.1-0ubuntu1.dsc >???gpg: cannot open tty `/dev/tty': Device o indirizzo non >???esistente >? ? dpkg-genchanges >???>../test_0.0.1-0ubuntu1_i386.changes > >???dpkg-genchanges: not including original source code in >???upload >? ? dpkg-source --after-build test-0.0.1 >???dpkg-buildpackage: Avviso: failed to sign .dsc and .changes >???file >???dpkg-buildpackage: binary and diff upload (original source >???NOT included) >???I package sono stati creati in modo corretto. >???*************************************** > >???Well, how can we help him ? > >???Thanks >???vuott > Does it help if he runs the gambas3 IDE from a terminal? -- Beno?t Minisini ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From vuott at ...325... Sat Oct 18 23:50:51 2014 From: vuott at ...325... (Ru Vuott) Date: Sat, 18 Oct 2014 22:50:51 +0100 Subject: [Gambas-user] R: ERROR with revision 6562 In-Reply-To: <1413668442.14519.YahooMailBasic@...3274...> Message-ID: <1413669051.1704.YahooMailBasic@...3273...> Here the complete result about making in gb.gtk3: Making all in gb.gtk3 make[2]: Entering directory `/home/vuott/trunk/gb.gtk3' make all-recursive make[3]: Entering directory `/home/vuott/trunk/gb.gtk3' Making all in src make[4]: Entering directory `/home/vuott/trunk/gb.gtk3/src' CXX gb_gtk3_la-gdrag.lo gdrag.cpp: In function 'void cb_get_text(GtkClipboard*, GtkSelectionData*, guint, gpointer)': gdrag.cpp:148:45: error: invalid use of incomplete type 'GtkSelectionData {aka struct _GtkSelectionData}' gtk_selection_data_set(selection, selection->target, 8, (guchar *)text, strlen((char *)text)); ^ In file included from /usr/include/gtk-3.0/gtk/gtkwidget.h:35:0, from /usr/include/gtk-3.0/gtk/gtkapplication.h:27, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:33, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from widgets.h:34, from gdrag.cpp:32: /usr/include/gtk-3.0/gtk/gtktypes.h:41:16: error: forward declaration of 'GtkSelectionData {aka struct _GtkSelectionData}' typedef struct _GtkSelectionData GtkSelectionData; ^ make[4]: *** [gb_gtk3_la-gdrag.lo] Error 1 make[4]: Leaving directory `/home/vuott/trunk/gb.gtk3/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/vuott/trunk/gb.gtk3' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/vuott/trunk/gb.gtk3' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/vuott/trunk' make: *** [all] Error 2 ============================================================================= Regards vuott -------------------------------------------- Sab 18/10/14, Ru Vuott ha scritto: Oggetto: [Gambas-user] ERROR with revision 6562 A: gambas-user at lists.sourceforge.net Data: Sabato 18 ottobre 2014, 23:40 Hello, updating my Gambas3 with revision 6562 via SVN, I obtained this error: ************************************************************************************************************************************** In file included from /usr/include/gtk-3.0/gtk/gtkwidget.h:35:0, ? ? ? ? ? ? ? ???from /usr/include/gtk-3.0/gtk/gtkapplication.h:27, ? ? ? ? ? ? ? ???from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, ? ? ? ? ? ? ? ???from /usr/include/gtk-3.0/gtk/gtkdialog.h:33, ? ? ? ? ? ? ? ???from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, ? ? ? ? ? ? ? ???from /usr/include/gtk-3.0/gtk/gtk.h:31, ? ? ? ? ? ? ? ???from widgets.h:34, ? ? ? ? ? ? ? ???from gdrag.cpp:32: /usr/include/gtk-3.0/gtk/gtktypes.h:41:16: error: forward declaration of 'GtkSelectionData {aka struct _GtkSelectionData}' typedef struct _GtkSelectionData? ? ???GtkSelectionData; ? ? ? ? ? ? ? ? ^ make[4]: *** [gb_gtk3_la-gdrag.lo] Error 1 make[4]: Leaving directory `/home/vuott/trunk/gb.gtk3/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/vuott/trunk/gb.gtk3' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/vuott/trunk/gb.gtk3' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/vuott/trunk' make: *** [all] Error 2 ************************************************************************************************************************************** Regards vuott ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From t.lee.davidson at ...626... Sun Oct 19 00:11:17 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sat, 18 Oct 2014 18:11:17 -0400 Subject: [Gambas-user] Paint misbehaves on QT when a ValueBox.value is changed (v3.5.4) In-Reply-To: <5442C85A.1070708@...1...> References: <5437065A.3090601@...626...> <54371AFA.6060901@...1...> <54375536.8070201@...626...> <5442C85A.1070708@...1...> Message-ID: <5442E585.6090004@...626...> On 10/18/2014 04:06 PM, Beno?t Minisini wrote: >> Well that's a little disappointing that you weren't able to replicate >> >the issue on your system. On mine, the red line is drawn and then when >> >it comes time for the blue line to be drawn, the red line disappears as >> >if the DrawingArea has been cleared. It's a mystery to me. >> > >> >But, thank you for looking into it. >> > >> >Lee >> > > Did the 3.6 version fix your probelm or not? > > -- Beno?t Minisini I was curious about that too, Beno?t. And, it was the first thing I tested after getting 3.6 installed. I didn't report my findings, because I had no idea that you would have remembered. But you did! :-) Did 3.6 fix the problem? Partially. DrawingArea.Clear now works with both QT4 and GTK(2). But I still need to call DrawingArea.Show to get the drawing to display properly after any modification of a TextBox or ValueBox control's Value property. (Note: DrawingArea.Cache = True) Just FYI: If I wrap each line draw in a Paint.Begin/End structure, the first line will be displayed until the second line's Paint.End is called. As so in pseudo-code: Paint.Begin Draw red line Paint.End Modify ValueBox.Value Paint.Begin Draw blue line Paint.End 'The red line disappears here and blue line is not displayed If I do not wrap each line in its own block as in: Paint.Begin Draw red line Modify ValueBox.Value Draw blue line Paint.End then nothing is displayed unless I call DrawingArea.Show after Painting. I can provide a project if you wish, but I think calling DrawingArea.Show is a very workable solution. And, thank you for remembering. -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From gambas at ...1... Sun Oct 19 00:27:29 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 19 Oct 2014 00:27:29 +0200 Subject: [Gambas-user] R: ERROR with revision 6562 In-Reply-To: <1413669051.1704.YahooMailBasic@...3273...> References: <1413669051.1704.YahooMailBasic@...3273...> Message-ID: <5442E951.4070103@...1...> Le 18/10/2014 23:50, Ru Vuott a ?crit : > Here the complete result about making in gb.gtk3: > > > Making all in gb.gtk3 > make[2]: Entering directory `/home/vuott/trunk/gb.gtk3' > make all-recursive > make[3]: Entering directory `/home/vuott/trunk/gb.gtk3' > Making all in src > make[4]: Entering directory `/home/vuott/trunk/gb.gtk3/src' > CXX gb_gtk3_la-gdrag.lo > gdrag.cpp: In function 'void cb_get_text(GtkClipboard*, GtkSelectionData*, guint, gpointer)': > gdrag.cpp:148:45: error: invalid use of incomplete type 'GtkSelectionData {aka struct _GtkSelectionData}' > gtk_selection_data_set(selection, selection->target, 8, (guchar *)text, strlen((char *)text)); > ^ > In file included from /usr/include/gtk-3.0/gtk/gtkwidget.h:35:0, > from /usr/include/gtk-3.0/gtk/gtkapplication.h:27, > from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, > from /usr/include/gtk-3.0/gtk/gtkdialog.h:33, > from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, > from /usr/include/gtk-3.0/gtk/gtk.h:31, > from widgets.h:34, > from gdrag.cpp:32: > /usr/include/gtk-3.0/gtk/gtktypes.h:41:16: error: forward declaration of 'GtkSelectionData {aka struct _GtkSelectionData}' > typedef struct _GtkSelectionData GtkSelectionData; > ^ > make[4]: *** [gb_gtk3_la-gdrag.lo] Error 1 > make[4]: Leaving directory `/home/vuott/trunk/gb.gtk3/src' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/home/vuott/trunk/gb.gtk3' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/home/vuott/trunk/gb.gtk3' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/vuott/trunk' > make: *** [all] Error 2 > > ============================================================================= > > Regards > vuott > > > > > > > -------------------------------------------- > Sab 18/10/14, Ru Vuott ha scritto: > > Oggetto: [Gambas-user] ERROR with revision 6562 > A: gambas-user at lists.sourceforge.net > Data: Sabato 18 ottobre 2014, 23:40 > > Hello, > > updating my Gambas3 with revision 6562 via SVN, I obtained > this error: > > ************************************************************************************************************************************** > In file included from > /usr/include/gtk-3.0/gtk/gtkwidget.h:35:0, > > from > /usr/include/gtk-3.0/gtk/gtkapplication.h:27, > > from > /usr/include/gtk-3.0/gtk/gtkwindow.h:33, > > from > /usr/include/gtk-3.0/gtk/gtkdialog.h:33, > > from > /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, > > from /usr/include/gtk-3.0/gtk/gtk.h:31, > > from widgets.h:34, > > from gdrag.cpp:32: > /usr/include/gtk-3.0/gtk/gtktypes.h:41:16: error: forward > declaration of 'GtkSelectionData {aka struct > _GtkSelectionData}' > typedef struct _GtkSelectionData > GtkSelectionData; > ^ > make[4]: *** [gb_gtk3_la-gdrag.lo] Error 1 > make[4]: Leaving directory `/home/vuott/trunk/gb.gtk3/src' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/home/vuott/trunk/gb.gtk3' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/home/vuott/trunk/gb.gtk3' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/vuott/trunk' > make: *** [all] Error 2 > ************************************************************************************************************************************** > > Regards > vuott > Is it better with revision #6563? -- Beno?t Minisini From gambas at ...1... Sun Oct 19 00:29:07 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 19 Oct 2014 00:29:07 +0200 Subject: [Gambas-user] Paint misbehaves on QT when a ValueBox.value is changed (v3.5.4) In-Reply-To: <5442E585.6090004@...626...> References: <5437065A.3090601@...626...> <54371AFA.6060901@...1...> <54375536.8070201@...626...> <5442C85A.1070708@...1...> <5442E585.6090004@...626...> Message-ID: <5442E9B3.9080306@...1...> Le 19/10/2014 00:11, T Lee Davidson a ?crit : > On 10/18/2014 04:06 PM, Beno?t Minisini wrote: >>> Well that's a little disappointing that you weren't able to replicate >>>> the issue on your system. On mine, the red line is drawn and then when >>>> it comes time for the blue line to be drawn, the red line disappears as >>>> if the DrawingArea has been cleared. It's a mystery to me. >>>> >>>> But, thank you for looking into it. >>>> >>>> Lee >>>> >> Did the 3.6 version fix your probelm or not? >> >> -- Beno?t Minisini > > I was curious about that too, Beno?t. And, it was the first thing I > tested after getting 3.6 installed. I didn't report my findings, because > I had no idea that you would have remembered. But you did! :-) > > Did 3.6 fix the problem? > > Partially. DrawingArea.Clear now works with both QT4 and GTK(2). > > But I still need to call DrawingArea.Show to get the drawing to display > properly after any modification of a TextBox or ValueBox control's Value > property. (Note: DrawingArea.Cache = True) > > Just FYI: If I wrap each line draw in a Paint.Begin/End structure, the > first line will be displayed until the second line's Paint.End is > called. As so in pseudo-code: > Paint.Begin > Draw red line > Paint.End > Modify ValueBox.Value > Paint.Begin > Draw blue line > Paint.End 'The red line disappears here and blue line is not displayed > > If I do not wrap each line in its own block as in: > Paint.Begin > Draw red line > Modify ValueBox.Value > Draw blue line > Paint.End > > then nothing is displayed unless I call DrawingArea.Show after Painting. > > I can provide a project if you wish, but I think calling > DrawingArea.Show is a very workable solution. > > And, thank you for remembering. > > Yes, I need your project to test again. And remind me which version of GTK+ exactly you use. Regards, -- Beno?t Minisini From t.lee.davidson at ...626... Sun Oct 19 00:33:02 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sat, 18 Oct 2014 18:33:02 -0400 Subject: [Gambas-user] Strange error message In-Reply-To: <20141018223251.6c405d30@...3381...> References: <20141018223251.6c405d30@...3381...> Message-ID: <5442EA9E.9000703@...626...> It looks as thought there might be a special character hidden somewhere in that file. You can check the file encoding to make sure it is not some bastard encoding with the command-line: `file .gtkrc-2.0:1` You can also view special characters in a text file with the VI editor. `vi .gtkrc-2.0:1` Then type ":set list" to show special characters. ":set nolist" turns that off, and ":q" quits out of VI. You might be able to 'fix' it by simply loading it up into a visual text editor, manually setting its encoding, and saving it. HTH -- Lee __________ "Artificial Intelligence is no match for natural stupidity." On 10/18/2014 05:32 PM, senex at ...3380... wrote: > I have installed Gambas v 3.6 on to Xubuntu. Then I started to set up a > new project. This was mainly to test how well I remembered working > previously with version 2. When I ran a test I saw an error message on > the console ... > > .gtkrc-2.0:1: error: unexpected character '\342', expected string > constant > > So I checked out the .gtkrc file > > style ?xfdesktop-icon-view? { > XfdesktopIconView::label-alpha = 0 > > fg[NORMAL] = ?#fafa06? > fg[SELECTED] = ?#fafa06? > fg[ACTIVE] = ?#fafa06? > } > > widget_class ?*XfdesktopIconView*? style ?xfdesktop-icon-view? > > Just a normal file to set some colours. Now I am baffled, although the > test file still seems to run OK. If anyone can point me in the right > direction I would be very grateful, > > Thanks > > Neil > > > > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From t.lee.davidson at ...626... Sun Oct 19 00:52:46 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sat, 18 Oct 2014 18:52:46 -0400 Subject: [Gambas-user] Paint misbehaves on QT when a ValueBox.value is changed (v3.5.4) In-Reply-To: <5442E9B3.9080306@...1...> References: <5437065A.3090601@...626...> <54371AFA.6060901@...1...> <54375536.8070201@...626...> <5442C85A.1070708@...1...> <5442E585.6090004@...626...> <5442E9B3.9080306@...1...> Message-ID: <5442EF3E.30202@...626...> On 10/18/2014 06:29 PM, Beno?t Minisini wrote: > Yes, I need your project to test again. And remind me which version of > GTK+ exactly you use. > > Regards, > > -- Beno?t Minisini I have to assume this project uses gtk+2.0. I did not package gb.gtk3 in my RPM build SPEC file since I didn't think of it. And, the build process did not give me any errors about gtk3 files being included but not packaged; even though libgtk+3_0 and libgtk+3.0-devel are installed. Also, Project->Properties->Components does not list gb.gtk3 as an available component; only gb.gtk. Project attached. -- Lee __________ "Artificial Intelligence is no match for natural stupidity." -------------- next part -------------- A non-text attachment was scrubbed... Name: PaintTest-0.0.1.tar.gz Type: application/x-gzip Size: 4435 bytes Desc: not available URL: From ian.roper at ...1974... Sun Oct 19 00:52:52 2014 From: ian.roper at ...1974... (Ian) Date: Sun, 19 Oct 2014 06:52:52 +0800 Subject: [Gambas-user] Incomplete documentation in Wiki In-Reply-To: <20141017220336.GE851@...2774...> References: <1413543889.2329.2.camel@...3024...> <54419228.1070707@...1974...> <20141017220336.GE851@...2774...> Message-ID: <5442EF44.2080709@...1974...> Excellent - thanks Tobias. Looking at the (rather large) list , it occurred to me that it would be good have have the same high level view of all Gambas components that are documented ? Understand we have links to the high level components and can drill down on the Gambas web site but this view as a single page is quite educational - I've seen controls and attributes in the link you supplied that I had never used before and gives me a far greater idea of what's possible. Just a thought. Cheers, Ian. On 18/10/14 06:03, Tobias Boege wrote: > On Sat, 18 Oct 2014, Ian wrote: >> Greetings all, >> Is there a way to automatically scan through the code base and give a >> list of control elements that are missing documentation ? >> It would be a good reference to have on the Wiki - a "things to do" list >> for those who want to contribute. >> > Like the TODO page [0] which lists all classes lacking documentation? :-) > > [0] http://gambaswiki.org/wiki/translate > From vuott at ...325... Sun Oct 19 01:17:07 2014 From: vuott at ...325... (Ru Vuott) Date: Sun, 19 Oct 2014 00:17:07 +0100 Subject: [Gambas-user] R: ERROR with revision 6562 In-Reply-To: <5442E951.4070103@...1...> Message-ID: <1413674227.8994.YahooMailBasic@...3273...> Yes, Beno?t, now it works. Regards vuottt -------------------------------------------- Dom 19/10/14, Beno?t Minisini ha scritto: Oggetto: Re: [Gambas-user] R: ERROR with revision 6562 A: "mailing list for gambas users" Data: Domenica 19 ottobre 2014, 00:27 Le 18/10/2014 23:50, Ru Vuott a ?crit : > Here the complete result about making in gb.gtk3: > > > Making all in gb.gtk3 > make[2]: Entering directory `/home/vuott/trunk/gb.gtk3' > make? all-recursive > make[3]: Entering directory `/home/vuott/trunk/gb.gtk3' > Making all in src > make[4]: Entering directory `/home/vuott/trunk/gb.gtk3/src' >? ? CXX? ? ? gb_gtk3_la-gdrag.lo > gdrag.cpp: In function 'void cb_get_text(GtkClipboard*, GtkSelectionData*, guint, gpointer)': > gdrag.cpp:148:45: error: invalid use of incomplete type 'GtkSelectionData {aka struct _GtkSelectionData}' >? ? gtk_selection_data_set(selection, selection->target, 8, (guchar *)text, strlen((char *)text)); >? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ???^ > In file included from /usr/include/gtk-3.0/gtk/gtkwidget.h:35:0, >? ? ? ? ? ? ? ? ???from /usr/include/gtk-3.0/gtk/gtkapplication.h:27, >? ? ? ? ? ? ? ? ???from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, >? ? ? ? ? ? ? ? ???from /usr/include/gtk-3.0/gtk/gtkdialog.h:33, >? ? ? ? ? ? ? ? ???from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, >? ? ? ? ? ? ? ? ???from /usr/include/gtk-3.0/gtk/gtk.h:31, >? ? ? ? ? ? ? ? ???from widgets.h:34, >? ? ? ? ? ? ? ? ???from gdrag.cpp:32: > /usr/include/gtk-3.0/gtk/gtktypes.h:41:16: error: forward declaration of 'GtkSelectionData {aka struct _GtkSelectionData}' >???typedef struct _GtkSelectionData? ? ???GtkSelectionData; >? ? ? ? ? ? ? ? ? ^ > make[4]: *** [gb_gtk3_la-gdrag.lo] Error 1 > make[4]: Leaving directory `/home/vuott/trunk/gb.gtk3/src' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/home/vuott/trunk/gb.gtk3' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/home/vuott/trunk/gb.gtk3' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/vuott/trunk' > make: *** [all] Error 2 > > ============================================================================= > > Regards > vuott > > > > > > > -------------------------------------------- > Sab 18/10/14, Ru Vuott ha scritto: > >???Oggetto: [Gambas-user] ERROR with revision 6562 >???A: gambas-user at lists.sourceforge.net >???Data: Sabato 18 ottobre 2014, 23:40 > >???Hello, > >???updating my Gambas3 with revision 6562 via SVN, I obtained >???this error: > >???************************************************************************************************************************************** >???In file included from >???/usr/include/gtk-3.0/gtk/gtkwidget.h:35:0, > >? ? ? from >???/usr/include/gtk-3.0/gtk/gtkapplication.h:27, > >? ? ? from >???/usr/include/gtk-3.0/gtk/gtkwindow.h:33, > >? ? ? from >???/usr/include/gtk-3.0/gtk/gtkdialog.h:33, > >? ? ? from >???/usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, > >? ? ? from /usr/include/gtk-3.0/gtk/gtk.h:31, > >? ? ? from widgets.h:34, > >? ? ? from gdrag.cpp:32: >???/usr/include/gtk-3.0/gtk/gtktypes.h:41:16: error: forward >???declaration of 'GtkSelectionData {aka struct >???_GtkSelectionData}' >? ? typedef struct _GtkSelectionData >? ? ? GtkSelectionData; >? ? ? ? ? ? ? ? ???^ >???make[4]: *** [gb_gtk3_la-gdrag.lo] Error 1 >???make[4]: Leaving directory `/home/vuott/trunk/gb.gtk3/src' >???make[3]: *** [all-recursive] Error 1 >???make[3]: Leaving directory `/home/vuott/trunk/gb.gtk3' >???make[2]: *** [all] Error 2 >???make[2]: Leaving directory `/home/vuott/trunk/gb.gtk3' >???make[1]: *** [all-recursive] Error 1 >???make[1]: Leaving directory `/home/vuott/trunk' >???make: *** [all] Error 2 >???************************************************************************************************************************************** > >???Regards >???vuott > Is it better with revision #6563? -- Beno?t Minisini ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From mmcg29440 at ...3163... Sun Oct 19 01:08:48 2014 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Sat, 18 Oct 2014 19:08:48 -0400 Subject: [Gambas-user] How to update Gambas 3.5.4 to 3.6 Message-ID: Hello, Will Gambas 3.5.4 upgrade to 3.6 automatically? If not what is the correct way to update it? Thanks, Marty From t.lee.davidson at ...626... Sun Oct 19 01:51:29 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sat, 18 Oct 2014 19:51:29 -0400 Subject: [Gambas-user] How to update Gambas 3.5.4 to 3.6 In-Reply-To: References: Message-ID: <5442FD01.10803@...626...> No, it will not upgrade itself automatically. You can find instructions for compilation and installation here: http://gambaswiki.org/wiki/install There is also a section there containing instructions for specific distributions. It is basically a configure-make-install process. I don't follow the Debian/Ubuntu community, but I believe there is a package repository maintained by one of our list members (PPA?) for those Linux flavors. Also, if you are using a rpm-based system, you may be able to build a RPM package for your distro. -- Lee __________ "Artificial Intelligence is no match for natural stupidity." On 10/18/2014 07:08 PM, Martin McGlensey wrote: > Hello, > > > > Will Gambas 3.5.4 upgrade to 3.6 automatically? If not what is the correct > way to update it? > > > > Thanks, > > Marty > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From vuott at ...325... Sun Oct 19 14:26:43 2014 From: vuott at ...325... (Ru Vuott) Date: Sun, 19 Oct 2014 13:26:43 +0100 Subject: [Gambas-user] Error packets signature Message-ID: <1413721603.70373.YahooMailBasic@...3271...> Well, he answered he tried to run from Terminal, but he doesn't get good results. Regards vuott > Does it help if he runs the gambas3 IDE from a terminal? > > -- > Beno?t Minisini From gambas at ...1... Sun Oct 19 14:50:37 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 19 Oct 2014 14:50:37 +0200 Subject: [Gambas-user] Error packets signature In-Reply-To: <1413721603.70373.YahooMailBasic@...3271...> References: <1413721603.70373.YahooMailBasic@...3271...> Message-ID: <5443B39D.6000106@...1...> Le 19/10/2014 14:26, Ru Vuott a ?crit : > Well, he answered he tried to run from Terminal, but he doesn't get good results. > > Regards > vuott > Can you have more details? -- Beno?t Minisini From gambas at ...1... Sun Oct 19 15:38:31 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 19 Oct 2014 15:38:31 +0200 Subject: [Gambas-user] Error packets signature In-Reply-To: <5443B39D.6000106@...1...> References: <1413721603.70373.YahooMailBasic@...3271...> <5443B39D.6000106@...1...> Message-ID: <5443BED7.1090008@...1...> Le 19/10/2014 14:50, Beno?t Minisini a ?crit : > Le 19/10/2014 14:26, Ru Vuott a ?crit : >> Well, he answered he tried to run from Terminal, but he doesn't get >> good results. >> >> Regards >> vuott >> > > Can you have more details? > Can your friend try revision #6564? -- Beno?t Minisini From senex at ...3380... Sun Oct 19 16:16:28 2014 From: senex at ...3380... (senex at ...3380...) Date: Sun, 19 Oct 2014 15:16:28 +0100 Subject: [Gambas-user] Strange error message In-Reply-To: <5442EA9E.9000703@...626...> References: <20141018223251.6c405d30@...3381...> <5442EA9E.9000703@...626...> Message-ID: <20141019151628.5091f6b5@...3381...> On Sat, 18 Oct 2014 18:33:02 -0400 T Lee Davidson wrote: > It looks as thought there might be a special character hidden > somewhere in that file. > > You can check the file encoding to make sure it is not some bastard > encoding with the command-line: `file .gtkrc-2.0:1` > > You can also view special characters in a text file with the VI > editor. `vi .gtkrc-2.0:1` > Then type ":set list" to show special characters. > ":set nolist" turns that off, and > ":q" quits out of VI. > > You might be able to 'fix' it by simply loading it up into a visual > text editor, manually setting its encoding, and saving it. > > HTH > Thanks, that was a good suggestion about a rogue character somewhere in that file. Since it was a small file I did it more simply. I printed it off first. Then I renamed the original version with the suffix old. Then I typed it in again using gedit text editor and saved it. Now the error message has gone. Regards Neil From mmcg29440 at ...3163... Sun Oct 19 16:24:55 2014 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Sun, 19 Oct 2014 10:24:55 -0400 Subject: [Gambas-user] Installation of Gambas 3.6 from PPA Message-ID: Hello, If I install from the ppa must I uninstall 3.5.4 before installing 3.6 and if so how? I assume apps written with 3.5.4 are compatible with 3.6. Thanks for your responses. Marty From a.baudrez at ...626... Sun Oct 19 16:27:56 2014 From: a.baudrez at ...626... (Alain Baudrez) Date: Sun, 19 Oct 2014 16:27:56 +0200 Subject: [Gambas-user] Read only terminal in 3.6 Message-ID: When debugging an application, I set a breakpoint at a certain line and then when the execution stops, I switch to the Terminal on the bottom of the IDE and use it to check on things in my program. That worked fine in the 3.5x series. Since I have the 3.6 installed, the terminal seems to be read-only. The fonttype for the terminal in the preferences is read-only too. Not being able to use the terminal in the IDE hampers me quite a lot while debugging code. Anyone else have the same problem or is it just me? [System] Gambas=3.6.0 OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86_64 Distribution=Linux Mint 17 Qiana Desktop=KDE4 Theme=Oxygen Language=nl_BE.UTF-8 Memory=3686M [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 taboege at ...626... Sun Oct 19 16:29:07 2014 From: taboege at ...626... (Tobias Boege) Date: Sun, 19 Oct 2014 16:29:07 +0200 Subject: [Gambas-user] Read only terminal in 3.6 In-Reply-To: References: Message-ID: <20141019142907.GB863@...2774...> On Sun, 19 Oct 2014, Alain Baudrez wrote: > When debugging an application, I set a breakpoint at a certain line and > then when the execution stops, I switch to the Terminal on the bottom of > the IDE and use it to check on things in my program. That worked fine in > the 3.5x series. > > Since I have the 3.6 installed, the terminal seems to be read-only. The > fonttype for the terminal in the preferences is read-only too. > > Not being able to use the terminal in the IDE hampers me quite a lot while > debugging code. > > > Anyone else have the same problem or is it just me? > Did you notice that there is a textbox below the console? Is it read-only, too? Only *then* we have a problem. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Sun Oct 19 16:37:04 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 19 Oct 2014 16:37:04 +0200 Subject: [Gambas-user] Installation of Gambas 3.6 from PPA In-Reply-To: References: Message-ID: <5443CC90.3080808@...1...> Le 19/10/2014 16:24, Martin McGlensey a ?crit : > Hello, > > > > If I install from the ppa must I uninstall 3.5.4 before installing 3.6 and > if so how? I assume apps written with 3.5.4 are compatible with 3.6. Thanks > for your responses. > > > > Marty > The safer is to uninstall the old version. I think you can safely upgrade only if you always install from the same ppa. Regards, -- Beno?t Minisini From gambas at ...1... Sun Oct 19 16:37:54 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 19 Oct 2014 16:37:54 +0200 Subject: [Gambas-user] Read only terminal in 3.6 In-Reply-To: References: Message-ID: <5443CCC2.5060005@...1...> Le 19/10/2014 16:27, Alain Baudrez a ?crit : > When debugging an application, I set a breakpoint at a certain line and > then when the execution stops, I switch to the Terminal on the bottom of > the IDE and use it to check on things in my program. That worked fine in > the 3.5x series. > > Since I have the 3.6 installed, the terminal seems to be read-only. The > fonttype for the terminal in the preferences is read-only too. > > Not being able to use the terminal in the IDE hampers me quite a lot while > debugging code. > > > Anyone else have the same problem or is it just me? > > You now enter your expressions in the edit field just below the terminal. Regards, -- Beno?t Minisini From a.baudrez at ...626... Sun Oct 19 17:54:59 2014 From: a.baudrez at ...626... (Alain Baudrez) Date: Sun, 19 Oct 2014 17:54:59 +0200 Subject: [Gambas-user] Read only terminal in 3.6 In-Reply-To: <5443CCC2.5060005@...1...> References: <5443CCC2.5060005@...1...> Message-ID: 2014-10-19 16:37 GMT+02:00 Beno?t Minisini : > > You now enter your expressions in the edit field just below the terminal. > > Never noticed it. It is so small :) OK. I can use that, but it is not an improvement I think. I noticed that scrolling back through the history in the textbox with a mouse does not work. I have to set the 'Echo' on to see my commands in the terminal, so i can select and paste them with the mouse and then I am back where I left off in the 3.5 series, except that inputting is now through the mini textbox and the rest is readonly... There must have been a reason you did this, but it slows down my work. Will take time for me to get used to working that way. From mmcg29440 at ...3163... Sun Oct 19 18:38:49 2014 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Sun, 19 Oct 2014 12:38:49 -0400 Subject: [Gambas-user] Upgrading to 3.6 Message-ID: Benoit, Thanks for your response. From your comments I understand that I can update from the Gambas Team ppa as that is the one I used to install 3.5. Is that correct? I do not know the commands needed to uninstall 3.5. Is there a procedure posted for this? If I upgrade from the ppa will I now have both Gambas 3.5 and 3.6 or just 3.5? Sorry very new to Linux and need simple answers. Thanks for all your work on Gambas. I use it now instead of VB. Gambas is a much better product. Regards, Marty From Karl.Reinl at ...2345... Sun Oct 19 19:53:30 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 19 Oct 2014 19:53:30 +0200 Subject: [Gambas-user] Upgrading to 3.6 In-Reply-To: References: Message-ID: <1413741210.3410.7.camel@...40...> Am Sonntag, den 19.10.2014, 12:38 -0400 schrieb Martin McGlensey: > Benoit, > > > > Thanks for your response. From your comments I understand that I can update > from the Gambas Team ppa as that is the one I used to install 3.5. Is that > correct? I do not know the commands needed to uninstall 3.5. Is there a > procedure posted for this? If I upgrade from the ppa will I now have both > Gambas 3.5 and 3.6 or just 3.5? Sorry very new to Linux and need simple > answers. > > > > Thanks for all your work on Gambas. I use it now instead of VB. Gambas is a > much better product. > > > > Regards, > > Marty Salut Marty, you can use apt-get to remove 3.5.4 and then install 3.6 or just update also via apt.get. Read here :https://launchpad.net/~gambas-team/+archive/ubuntu/gambas3 -- Amicalement Charlie From jusabejusabe at ...626... Sun Oct 19 22:25:13 2014 From: jusabejusabe at ...626... (Julio Sanchez) Date: Sun, 19 Oct 2014 22:25:13 +0200 Subject: [Gambas-user] IA: three board game line. Message-ID: Board game, to play against human or human-computer. Hope you like: http://jsbsan.blogspot.com.es/2014/10/juego-tres-en-linea-ejemplo-de.html Made in gambas3.5.4, negamax algorithm with pruning Greetings Julio From willy at ...2734... Mon Oct 20 00:28:31 2014 From: willy at ...2734... (Willy Raets) Date: Mon, 20 Oct 2014 00:28:31 +0200 Subject: [Gambas-user] Upgrading to 3.6 In-Reply-To: References: Message-ID: <1413757711.12405.24.camel@...3024...> On zo, 2014-10-19 at 12:38 -0400, Martin McGlensey wrote: > Benoit, > > > > Thanks for your response. From your comments I understand that I can update > from the Gambas Team ppa as that is the one I used to install 3.5. Is that > correct? I do not know the commands needed to uninstall 3.5. Is there a > procedure posted for this? If I upgrade from the ppa will I now have both > Gambas 3.5 and 3.6 or just 3.5? Sorry very new to Linux and need simple > answers. Since you have 3.5.4 from PPA Gambas Team you can keep it simple. No removal needed, but you might need to do a two step install (in some cases). Do this: sudo apt-get update sudo apt-get upgrade If before typing Y in last command you see some gambas3 packages are kept back write their names down. In case above is done and some package where kept back do sudo apt-get install This will install the last missing packages. You should now have a working Gambas 3.6 version. > > > > Thanks for all your work on Gambas. I use it now instead of VB. Gambas is a > much better product. I agree on that with you :) -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From shordi at ...626... Mon Oct 20 11:08:43 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Mon, 20 Oct 2014 11:08:43 +0200 Subject: [Gambas-user] Gambas 3.6 unable to deal with Connections Message-ID: Create a new proyect. Add components gb.db, gb.db.sqlite and gb.db.mysql Create a new connection and fill the parameters. Ide crash. If trying to open a Connection created with Gambas 3.5 then gives a signal 11. I'm in troubles with this. All my client has upgraded to gambas-team 3.6 version. Help. From shordi at ...626... Mon Oct 20 11:15:06 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Mon, 20 Oct 2014 11:15:06 +0200 Subject: [Gambas-user] Gambas 3.6 unable to deal with Connections In-Reply-To: References: Message-ID: Sorry. This morning I do a apt-get update and upgrade and Gambas3.6 was updated in my office's computer. But there a few packets that has not updated, I don't know why. After send the prior message I received the "updates pending" message from updates manager. I'v updated and all works fine now. Sorry about the noise. Regards. 2014-10-20 11:08 GMT+02:00 Jorge Carri?n : > Create a new proyect. > > Add components gb.db, gb.db.sqlite and gb.db.mysql > > Create a new connection and fill the parameters. > > Ide crash. > > If trying to open a Connection created with Gambas 3.5 then gives a signal > 11. > > I'm in troubles with this. All my client has upgraded to gambas-team 3.6 > version. > > Help. > > > From bill-lancaster at ...2231... Mon Oct 20 14:14:40 2014 From: bill-lancaster at ...2231... (bill-lancaster) Date: Mon, 20 Oct 2014 05:14:40 -0700 (MST) Subject: [Gambas-user] Problem running mplayer from EXEC Message-ID: <1413807280473-48844.post@...3046...> this code:- Exec ["mplayer", "/folder/somemusic.mp3"] runs ok, but when trying to capture the mplayer ouput by adding] 'For Read As "Process_Run"', mplayer doesn't run and this message is displayed. in Sub Process_Run_Read() MPlayer 1.1-4.8 (C) 2000-2012 MPlayer Team Terminal type `unknown' is not defined. Playing /folder/somemusic.mp3. libavformat version 54.20.4 (external) Mismatching header version 54.20.3 libavformat file format detected. Any ideas would be welcome. Kubuntu 14.04 (64b) Gambas 3.5.3 -- View this message in context: http://gambas.8142.n7.nabble.com/Problem-running-mplayer-from-EXEC-tp48844.html Sent from the gambas-user mailing list archive at Nabble.com. From taboege at ...626... Mon Oct 20 14:23:34 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 20 Oct 2014 14:23:34 +0200 Subject: [Gambas-user] Problem running mplayer from EXEC In-Reply-To: <1413807280473-48844.post@...3046...> References: <1413807280473-48844.post@...3046...> Message-ID: <20141020122334.GB1166@...2774...> On Mon, 20 Oct 2014, bill-lancaster wrote: > > this code:- > > Exec ["mplayer", "/folder/somemusic.mp3"] > > runs ok, but when trying to capture the mplayer ouput by adding] 'For Read > As "Process_Run"', mplayer doesn't run and this message is displayed. in Sub > Process_Run_Read() > > MPlayer 1.1-4.8 (C) 2000-2012 MPlayer Team > > Terminal type `unknown' is not defined. > > Playing /folder/somemusic.mp3. > > libavformat version 54.20.4 (external) > Mismatching header version 54.20.3 > > libavformat file format detected. > > Any ideas would be welcome. > Seems like mplayer wants a terminal to do its things, you know, like this line A: 8.6 (08.6) of 334.0 (05:34.0) 0.8% which it keeps updated constantly. It needs a terminal to update data on screen (the notion of a "screen" basically implies that there is a terminal involved). If you use FOR READ, Gambas connects the mplayer process to a pipe which isn't a terminal. Try FOR INPUT instead, which will create a pseudo-terminal, and see if that is enough for mplayer. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bill-lancaster at ...2231... Mon Oct 20 15:09:54 2014 From: bill-lancaster at ...2231... (bill-lancaster) Date: Mon, 20 Oct 2014 06:09:54 -0700 (MST) Subject: [Gambas-user] Problem running mplayer from EXEC In-Reply-To: <20141020122334.GB1166@...2774...> References: <1413807280473-48844.post@...3046...> <20141020122334.GB1166@...2774...> Message-ID: <1413810594625-48846.post@...3046...> Thanks Tobias that produced a result - the file plays and mplayers output is captured. However, I used to get a handy measure of progress but now:- A: 0.1 V:-9223372036854775808.0 A-V: 0.000 ct: -nan 0/ 0 ??% ??% ??,?% A: 0.1 V:-9223372036854775808.0 A-V: 0.000 ct: -nan 0/ 0 ??% ??% ??,?% A: 0.1 V:-9223372036854775808.0 A-V: 0.000 ct: -nan 0/ 0 ??% ??% ??,?% A: 0.1 V:-9223372036854775808.0 A-V: 0.000 ct: -nan 0/ 0 ??% ??% ??,?% A: 0.1 V:-9223372036854775808.0 A-V: 0.000 ct: -nan 0/ 0 ??% ??% ??,?% A: 0.1 V:-9223372036854775808.0 A-V: 0.000 ct: -nan 0/ 0 ??% ??% ??,?% Until recently, For Read Write As "Process_Run" worked fine but I don't if its since upgrading Kubuntu or Gambas -- View this message in context: http://gambas.8142.n7.nabble.com/Problem-running-mplayer-from-EXEC-tp48844p48846.html Sent from the gambas-user mailing list archive at Nabble.com. From eilert-sprachen at ...221... Mon Oct 20 15:30:53 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 20 Oct 2014 15:30:53 +0200 Subject: [Gambas-user] Font size vs. Paint.Scale Message-ID: <54450E8D.2080905@...221...> Hi, just browsed the help text for the Paint system, and found this. It sounds contradictory to me: BEWARE: The font size, as returned by Paint.Font.Size, is an absolute size. Its unit is the typographic point. A typographic point is 1/72 of an inch, i.e. about 0,353 mm. [Ok up to here, but now:] BUT: The font size will be modified according to the paint matrix (i.e. if you use Paint.Scale, Paint.Translate, Paint.Rotate...) [That doesn't make sense to me] The tip is to use Paint.Scale to have a coordinate system like mm or cm for instance. The font size, however, would have to stay reliable in either case: regardless of if I look at a line as 20 mm or 2 cm, the letters above this line would have to be the same size. Only if I used the paint matrix to "enlarge" or "decrease" the whole page in size (e. g. A5 - A4), I would have to ensure that each element of the page still fits in size. Don't know if it was meant this way... Or did I get this completely wrong? Rolf From chrisml at ...3340... Mon Oct 20 16:21:14 2014 From: chrisml at ...3340... (Christof Thalhofer) Date: Mon, 20 Oct 2014 16:21:14 +0200 Subject: [Gambas-user] DegComboBox Message-ID: <54451A5A.1010300@...3340...> Hi, I've published our improved ComboBox for lists and databases on Github. Feel free to fork and improve it: https://github.com/Deganius/DegComboBox There are some things to do: https://github.com/Deganius/DegComboBox/blob/master/TODO.md Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From gambas at ...1... Mon Oct 20 16:31:56 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 20 Oct 2014 16:31:56 +0200 Subject: [Gambas-user] Problem running mplayer from EXEC In-Reply-To: <1413810594625-48846.post@...3046...> References: <1413807280473-48844.post@...3046...> <20141020122334.GB1166@...2774...> <1413810594625-48846.post@...3046...> Message-ID: <54451CDC.9040303@...1...> Le 20/10/2014 15:09, bill-lancaster a ?crit : > Thanks Tobias that produced a result - the file plays and mplayers output is > captured. > However, I used to get a handy measure of progress but now:- > > A: 0.1 V:-9223372036854775808.0 A-V: 0.000 ct: -nan 0/ 0 ??% ??% > ??,?% > A: 0.1 V:-9223372036854775808.0 A-V: 0.000 ct: -nan 0/ 0 ??% ??% > ??,?% > A: 0.1 V:-9223372036854775808.0 A-V: 0.000 ct: -nan 0/ 0 ??% ??% > ??,?% > A: 0.1 V:-9223372036854775808.0 A-V: 0.000 ct: -nan 0/ 0 ??% ??% > ??,?% > A: 0.1 V:-9223372036854775808.0 A-V: 0.000 ct: -nan 0/ 0 ??% ??% > ??,?% > A: 0.1 V:-9223372036854775808.0 A-V: 0.000 ct: -nan 0/ 0 ??% ??% > ??,?% > > Until recently, For Read Write As "Process_Run" worked fine but I don't if > its since upgrading Kubuntu or Gambas > I have uploaded a new version of the MoviePlayer example in revision #6569. It embeds mplayer to play movies, and it works with gb.qt4, gb.gtk and gb.gtk3. For gb.gtk, you need the bug fix of that revision. Regards, -- Beno?t Minisini From gambas.fr at ...626... Mon Oct 20 17:53:23 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 20 Oct 2014 17:53:23 +0200 Subject: [Gambas-user] Font size vs. Paint.Scale In-Reply-To: <54450E8D.2080905@...221...> References: <54450E8D.2080905@...221...> Message-ID: Le 20 oct. 2014 15:32, "Rolf-Werner Eilert" a ?crit : > > Hi, > > just browsed the help text for the Paint system, and found this. It > sounds contradictory to me: > > BEWARE: The font size, as returned by Paint.Font.Size, is an absolute size. > Its unit is the typographic point. > A typographic point is 1/72 of an inch, i.e. about 0,353 mm. > > [Ok up to here, but now:] > > > BUT: The font size will be modified according to the paint matrix (i.e. > if you use Paint.Scale, Paint.Translate, Paint.Rotate...) > > [That doesn't make sense to me] > > The tip is to use Paint.Scale to have a coordinate system like mm or cm > for instance. The font size, however, would have to stay reliable in > either case: regardless of if I look at a line as 20 mm or 2 cm, the > letters above this line would have to be the same size. > > Only if I used the paint matrix to "enlarge" or "decrease" the whole > page in size (e. g. A5 - A4), I would have to ensure that each element > of the page still fits in size. Don't know if it was meant this way... > > Or did I get this completely wrong? > > Rolf > > ------------------------------------ If you use paint matrix the letter will change their size My way in gb.report is to redraw all and just change the arrange computing. So all th? lines and boxes and texts are maintain their size. Even on b5 or A3. Well as well the content is reordered and the pagecount recomputed. From taboege at ...626... Mon Oct 20 21:26:27 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 20 Oct 2014 21:26:27 +0200 Subject: [Gambas-user] SmallWiki example Message-ID: <20141020192627.GE1166@...2774...> Hi Benoit, the SmallWiki example in 3.6 contains a copy of gb.markdown. IIRC this was because people wanted to test it before the component was easily available. But now, these redundant sources should go away, right? And gb.markdown needs to be added to its dependencies. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Mon Oct 20 21:51:42 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 20 Oct 2014 21:51:42 +0200 Subject: [Gambas-user] SmallWiki example In-Reply-To: <20141020192627.GE1166@...2774...> References: <20141020192627.GE1166@...2774...> Message-ID: <544567CE.1050004@...1...> Le 20/10/2014 21:26, Tobias Boege a ?crit : > Hi Benoit, > > the SmallWiki example in 3.6 contains a copy of gb.markdown. IIRC this was > because people wanted to test it before the component was easily available. > But now, these redundant sources should go away, right? And gb.markdown > needs to be added to its dependencies. > > Regards, > Tobi > Yep. -- Beno?t Minisini From bill-lancaster at ...2231... Mon Oct 20 23:35:37 2014 From: bill-lancaster at ...2231... (bill-lancaster) Date: Mon, 20 Oct 2014 14:35:37 -0700 (MST) Subject: [Gambas-user] Problem running mplayer from EXEC In-Reply-To: <54451CDC.9040303@...1...> References: <1413807280473-48844.post@...3046...> <20141020122334.GB1166@...2774...> <1413810594625-48846.post@...3046...> <54451CDC.9040303@...1...> Message-ID: <1413840937989-48853.post@...3046...> Thank you Beno?t , I'll get on to it! -- View this message in context: http://gambas.8142.n7.nabble.com/Problem-running-mplayer-from-EXEC-tp48844p48853.html Sent from the gambas-user mailing list archive at Nabble.com. From eilert-sprachen at ...221... Tue Oct 21 11:04:34 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 21 Oct 2014 11:04:34 +0200 Subject: [Gambas-user] Font size vs. Paint.Scale In-Reply-To: References: <54450E8D.2080905@...221...> Message-ID: <544621A2.8010603@...221...> Am 20.10.2014 17:53, schrieb Fabien Bodard: > Le 20 oct. 2014 15:32, "Rolf-Werner Eilert" a > ?crit : >> >> Hi, >> >> just browsed the help text for the Paint system, and found this. It >> sounds contradictory to me: >> >> BEWARE: The font size, as returned by Paint.Font.Size, is an absolute > size. >> Its unit is the typographic point. >> A typographic point is 1/72 of an inch, i.e. about 0,353 mm. >> >> [Ok up to here, but now:] >> >> >> BUT: The font size will be modified according to the paint matrix (i.e. >> if you use Paint.Scale, Paint.Translate, Paint.Rotate...) >> >> [That doesn't make sense to me] >> >> The tip is to use Paint.Scale to have a coordinate system like mm or cm >> for instance. The font size, however, would have to stay reliable in >> either case: regardless of if I look at a line as 20 mm or 2 cm, the >> letters above this line would have to be the same size. >> >> Only if I used the paint matrix to "enlarge" or "decrease" the whole >> page in size (e. g. A5 - A4), I would have to ensure that each element >> of the page still fits in size. Don't know if it was meant this way... >> >> Or did I get this completely wrong? >> >> Rolf >> >> ------------------------------------ > If you use paint matrix the letter will change their size > My way in gb.report is to redraw all and just change the arrange computing. > > So all th? lines and boxes and texts are maintain their size. Even on b5 or > A3. Well as well the content is reordered and the pagecount recomputed. Yes, then I got it right I think. Thank you, Fabien, I'll see what comes up to my mind next :) Rolf From gambas at ...2524... Tue Oct 21 12:01:30 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 21 Oct 2014 10:01:30 +0000 Subject: [Gambas-user] Issue 568 in gambas: Exec fails to run scripts In-Reply-To: <1-6813199134517018827-9091553641493949727-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-9091553641493949727-gambas=googlecode.com@...2524...> <0-6813199134517018827-9091553641493949727-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-9091553641493949727-gambas=googlecode.com@...2524...> Comment #2 on issue 568 by mradcli... at ...626...: Exec fails to run scripts https://code.google.com/p/gambas/issues/detail?id=568 Here is a project from my failing Gambas installation. I've also included a screen shot showing the error. I don't know if it is significant but the machine was installed using the Gambos iso (Alpha three) which ships with Gambas 3.5.3. Following installation the machine ran a number of upgrades including moving from 3.5.3 to 3.5.4. When the machine upgraded from 3.5.4 to 3.5.6 the attached project fails to execute the script although it will still run commands such as chmod. Hope this helps M Attachments: Gambas3.6Error.rar 209 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.fr at ...626... Tue Oct 21 15:26:43 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 21 Oct 2014 15:26:43 +0200 Subject: [Gambas-user] Font size vs. Paint.Scale In-Reply-To: <544621A2.8010603@...221...> References: <54450E8D.2080905@...221...> <544621A2.8010603@...221...> Message-ID: O Le 21 oct. 2014 11:05, "Rolf-Werner Eilert" - sprachen @t- online.de > a ?crit : > > > > Am 20.10.2014 17:53, schrieb Fabien Bodard: > > Le 20 oct. 2014 15:32, "Rolf-Werner Eilert" - sprachen @t- online.de > a > > ?crit : > >> > >> Hi, > >> > >> just browsed the help text for the Paint system, and found this. It > >> sounds contradictory to me: > >> > >> BEWARE: The font size, as returned by Paint.Font.Size, is an absolute > > size. > >> Its unit is the typographic point. > >> A typographic point is 1/72 of an inch, i.e. about 0,353 mm. > >> > >> [Ok up to here, but now:] > >> > >> > >> BUT: The font size will be modified according to the paint matrix (i.e. > >> if you use Paint.Scale, Paint.Translate, Paint.Rotate...) > >> > >> [That doesn't make sense to me] > >> > >> The tip is to use Paint.Scale to have a coordinate system like mm or cm > >> for instance. The font size, however, would have to stay reliable in > >> either case: regardless of if I look at a line as 20 mm or 2 cm, the > >> letters above this line would have to be the same size. > >> > >> Only if I used the paint matrix to "enlarge" or "decrease" the whole > >> page in size (e. g. A5 - A4), I would have to ensure that each element > >> of the page still fits in size. Don't know if it was meant this way... > >> > >> Or did I get this completely wrong? > >> > >> Rolf > >> > >> ------------------------------------ > > If you use paint matrix the letter will change their size > > My way in gb.report is to redraw all and just change the arrange computing. > > > > So all th? lines and boxes and texts are maintain their size. Even on b5 or > > A3. Well as well the content is reordered and the pagecount recomputed. > > Yes, then I got it right I think. > > Thank you, Fabien, I'll see what comes up to my mind next :) > > Rolf > Then maybe gb.report can match your needs. What do you want to achieve ? In few weeks I will have time to improve and rewrite parts of gb.report and document the full component. I need mote feed back and user needs info. I think my component can do many things. More than users actually known I can do thing like photo album patterns, labels printing, invoices, rendering naps, maps list, array. Near all that can be done by managing printer by yourself but more simply > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. >http:// p.sf.net / sfu / Zoho > _______________________________________________ > Gambas-user mailing list >Gambas-user@ lists.sourceforge.net >https:// lists.sourceforge.net /lists/ listinfo /gambas-user From sylvanloch at ...626... Tue Oct 21 15:57:10 2014 From: sylvanloch at ...626... (Barry) Date: Tue, 21 Oct 2014 21:57:10 +0800 Subject: [Gambas-user] Import qbasic Message-ID: <54466636.2050801@...626...> Hello I have a package written in qbasic which is run from command line and then controlled by a menu program. I would like to import programs to gambas with the intent of running using the GUI and developing extra capabilities to the package. I know I have a lot of work to do to achieve this but I really don't want to rewrite the whole package. Could I please have a few pointers to get started. Barry From mckaygerhard at ...626... Tue Oct 21 16:13:23 2014 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Tue, 21 Oct 2014 09:43:23 -0430 Subject: [Gambas-user] Pre-release of Gambas 3.6 (2) Message-ID: > From: Beno?t Minisini > > Setting up an up-to-date system would take weeks or months > until everything would run again. > > remember that i have same problem, due i support still debian lenny and squeeze, does still gambas 3.6 compiles in debian lenny or squeeze? (i have gstreamer 1.X and llvm backported) > > You can disable the component at compilation time with ./configure > --disable-gtk3. > all new features of gtk2 or qt interfaces works ? i hope due gtk3 compatibility are ugly > > From gambas at ...2524... Tue Oct 21 16:16:38 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 21 Oct 2014 14:16:38 +0000 Subject: [Gambas-user] Issue 570 in gambas: ValueBox does not prevent text entry Message-ID: <0-6813199134517018827-6625138948507788917-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-TRUNK Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 570 by char... at ...2793...: ValueBox does not prevent text entry https://code.google.com/p/gambas/issues/detail?id=570 1) Problem: - ValueBox does not prevent text entry when using GTK2 or GTK3. It seems to work OK using QT. 2) System information: - [System] Gambas=3.6.0 OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86_64 Distribution=Linux Mint 17 Qiana Desktop=GNOME Theme=QGtk Language=en_GB.UTF-8 Memory=7880M [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 3) Provide a little project that reproduces the bug: - Attached Attachments: ValueBoxBug.tar.gz 4.9 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 mckaygerhard at ...626... Tue Oct 21 16:25:04 2014 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Tue, 21 Oct 2014 09:55:04 -0430 Subject: [Gambas-user] Release goals for 3.7 / 4.0 Message-ID: Date: Thu, 16 Oct 2014 17:41:07 +0200 From: Beno?t Minisini Now let's start hacking for Gambas 3.7. > > *The main goal now is making a dedicated Gambas software repository.* > I think for gambas 3.7 the changes between versions must stop (preferable), so then the repository can be able to stable across time.. i note in mocosoft like proyects that manyority of programs (99% excepts for frameworks versions implementations) works between versions of visual basic ... in gambas only older can compile and run with newer but newer mades does not compiles or run in olders, ok its similaqr to .net framework dependency but i refers to source codee.. in mayority of jobs, manpowers must concentrate in funtional parts of proyect , and tecnical parts goes to second plane and be abstract behing the funtional parts.. if i must have in constant update of my code respect the changes of gambas ... my concentration in funtional part does not goes well .. due in enterprices the time its a mandatory vector with no fallback point From gambas at ...1... Tue Oct 21 16:38:11 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 21 Oct 2014 16:38:11 +0200 Subject: [Gambas-user] Release goals for 3.7 / 4.0 In-Reply-To: References: Message-ID: <54466FD3.60100@...1...> Le 21/10/2014 16:25, PICCORO McKAY Lenz a ?crit : > Date: Thu, 16 Oct 2014 17:41:07 +0200 > From: Beno?t Minisini > > Now let's start hacking for Gambas 3.7. > > > >> >> *The main goal now is making a dedicated Gambas software repository.* >> > > I think for gambas 3.7 the changes between versions must stop (preferable), > so then the repository can be able to stable across time.. > > i note in mocosoft like proyects that manyority of programs (99% excepts > for frameworks versions implementations) works between versions of visual > basic ... > > in gambas only older can compile and run with newer but newer mades does > not compiles or run in olders, ok its similaqr to .net framework dependency > but i refers to source codee.. > > in mayority of jobs, manpowers must concentrate in funtional parts of > proyect , and tecnical parts goes to second plane and be abstract behing > the funtional parts.. > > if i must have in constant update of my code respect the changes of gambas > ... my concentration in funtional part does not goes well .. due in > enterprices the time its a mandatory vector with no fallback point The rule is the following: A program made with Gambas 3.X will work with all Gambas 3.Y where Y >= X, except if your program relies on the bad behaviour of a bug that is fixed in a new version. You have to do with that rule, as I don't see any other rule that allows me to continue working on it. Regards, -- Beno?t Minisini From gambas.fr at ...626... Tue Oct 21 17:30:18 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 21 Oct 2014 17:30:18 +0200 Subject: [Gambas-user] Release goals for 3.7 / 4.0 In-Reply-To: <54466FD3.60100@...1...> References: <54466FD3.60100@...1...> Message-ID: 2014-10-21 16:38 GMT+02:00 Beno?t Minisini : > Le 21/10/2014 16:25, PICCORO McKAY Lenz a ?crit : >> Date: Thu, 16 Oct 2014 17:41:07 +0200 >> From: Beno?t Minisini >> >> Now let's start hacking for Gambas 3.7. >> >> >> >>> >>> *The main goal now is making a dedicated Gambas software repository.* >>> >> >> I think for gambas 3.7 the changes between versions must stop (preferable), >> so then the repository can be able to stable across time.. >> >> i note in mocosoft like proyects that manyority of programs (99% excepts >> for frameworks versions implementations) works between versions of visual >> basic ... >> >> in gambas only older can compile and run with newer but newer mades does >> not compiles or run in olders, ok its similaqr to .net framework dependency >> but i refers to source codee.. >> >> in mayority of jobs, manpowers must concentrate in funtional parts of >> proyect , and tecnical parts goes to second plane and be abstract behing >> the funtional parts.. >> >> if i must have in constant update of my code respect the changes of gambas >> ... my concentration in funtional part does not goes well .. due in >> enterprices the time its a mandatory vector with no fallback point > > The rule is the following: A program made with Gambas 3.X will work with > all Gambas 3.Y where Y >= X, except if your program relies on the bad > behaviour of a bug that is fixed in a new version. > > You have to do with that rule, as I don't see any other rule that allows > me to continue working on it. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user So a program made with gambas 3.7 will work with gambas 3.8, 3.9, 3.98... well but not with 3.99 it's the gb4 pre release ;-) -- Fabien Bodard From pata.karlsson at ...626... Tue Oct 21 17:47:33 2014 From: pata.karlsson at ...626... (Patrik Karlsson) Date: Tue, 21 Oct 2014 17:47:33 +0200 Subject: [Gambas-user] No Global Menu in Ubuntu In-Reply-To: References: Message-ID: 2014-10-17 19:41 GMT+02:00 Patrik Karlsson : > Hi, > > I have just updated to Gambas 3.6 from the gambas-team ppa and discovered > that Gambas does not longer support Global Menu in Ubuntu when using > GB_GUI=gb.qt4. > > I can not make the IDE export the menus and my own apps only exports the > menu with gb.gtk and gb.gtk3. > > Is this possible to fix in Gambas or is it a Ubuntu thing? > > Does it work for other ubuntu users? > > > [System] > Gambas=3.6.0 > OperatingSystem=Linux > Kernel=3.13.0-37-generic > Architecture=x86_64 > Distribution=Ubuntu 14.04.1 LTS > Desktop=GNOME > Theme=QGtk > Language=C > Memory=7911M > [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 > Hi, it's me again. :) Am I the only Ubuntu (Unity) user on this list having problem with menus? Or am I the only Ubuntu (Unity) user on this list with Gambas 3.6? I really do like to get rid of that menu bar... From Karl.Reinl at ...2345... Tue Oct 21 17:50:56 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Tue, 21 Oct 2014 17:50:56 +0200 Subject: [Gambas-user] Release goals for 3.7 / 4.0 In-Reply-To: <54466FD3.60100@...1...> References: <54466FD3.60100@...1...> Message-ID: <1413906656.3454.9.camel@...40...> Am Dienstag, den 21.10.2014, 16:38 +0200 schrieb Beno?t Minisini: > The rule is the following: A program made with Gambas 3.X will work with > all Gambas 3.Y where Y >= X, except if your program relies on the bad > behaviour of a bug that is fixed in a new version. Salut Beno?t, exist somewhere a list of such 'bad behaviours' and 'closed holes'. Ex: Class(Align).Symbols worked till version 3.5.4, now you have to write Classes["Align"].Symbols If not, a list for that would be helpful, no! -- Amicalement Charlie From gambas at ...1... Tue Oct 21 18:02:18 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 21 Oct 2014 18:02:18 +0200 Subject: [Gambas-user] No Global Menu in Ubuntu In-Reply-To: References: Message-ID: <5446838A.80704@...1...> Le 21/10/2014 17:47, Patrik Karlsson a ?crit : > 2014-10-17 19:41 GMT+02:00 Patrik Karlsson : > >> Hi, >> >> I have just updated to Gambas 3.6 from the gambas-team ppa and discovered >> that Gambas does not longer support Global Menu in Ubuntu when using >> GB_GUI=gb.qt4. >> >> I can not make the IDE export the menus and my own apps only exports the >> menu with gb.gtk and gb.gtk3. >> >> Is this possible to fix in Gambas or is it a Ubuntu thing? >> >> Does it work for other ubuntu users? >> >> >> [System] >> Gambas=3.6.0 >> OperatingSystem=Linux >> Kernel=3.13.0-37-generic >> Architecture=x86_64 >> Distribution=Ubuntu 14.04.1 LTS >> Desktop=GNOME >> Theme=QGtk >> Language=C >> Memory=7911M >> [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 >> > > Hi, it's me again. :) > > Am I the only Ubuntu (Unity) user on this list having problem with menus? > Or am I the only Ubuntu (Unity) user on this list with Gambas 3.6? > > I really do like to get rid of that menu bar... Maybe Qt4 does not support exporting its menu bar through the Unity protocol? I don't know actually, as I use KDE... -- Beno?t Minisini From johny.provoost at ...27... Tue Oct 21 18:40:30 2014 From: johny.provoost at ...27... (Johny Provoost) Date: Tue, 21 Oct 2014 18:40:30 +0200 Subject: [Gambas-user] No Global Menu in Ubuntu In-Reply-To: References: Message-ID: <54468C7E.3050307@...27...> Op 21-10-14 om 17:47 schreef Patrik Karlsson: > > Hi, it's me again. :) > > Am I the only Ubuntu (Unity) user on this list having problem with menus? > Or am I the only Ubuntu (Unity) user on this list with Gambas 3.6? > > I really do like to get rid of that menu bar... > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > No you don't Patrik. I have it too, but I don't mind. -- *Vriendelijke Groeten* *Johny Provoost* *mailto: johny.provoost at ...27... * *mailto: johny.provoost at ...626... * *Website:* *http://www.johnyprovoost.net* From pata.karlsson at ...626... Tue Oct 21 18:45:59 2014 From: pata.karlsson at ...626... (Patrik Karlsson) Date: Tue, 21 Oct 2014 18:45:59 +0200 Subject: [Gambas-user] No Global Menu in Ubuntu In-Reply-To: <5446838A.80704@...1...> References: <5446838A.80704@...1...> Message-ID: 2014-10-21 18:02 GMT+02:00 Beno?t Minisini : > Le 21/10/2014 17:47, Patrik Karlsson a ?crit : > > 2014-10-17 19:41 GMT+02:00 Patrik Karlsson : > > > >> Hi, > >> > >> I have just updated to Gambas 3.6 from the gambas-team ppa and > discovered > >> that Gambas does not longer support Global Menu in Ubuntu when using > >> GB_GUI=gb.qt4. > >> > >> I can not make the IDE export the menus and my own apps only exports the > >> menu with gb.gtk and gb.gtk3. > >> > >> Is this possible to fix in Gambas or is it a Ubuntu thing? > >> > >> Does it work for other ubuntu users? > >> > >> > >> [System] > >> Gambas=3.6.0 > >> OperatingSystem=Linux > >> Kernel=3.13.0-37-generic > >> Architecture=x86_64 > >> Distribution=Ubuntu 14.04.1 LTS > >> Desktop=GNOME > >> Theme=QGtk > >> Language=C > >> Memory=7911M > >> [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 > >> > > > > Hi, it's me again. :) > > > > Am I the only Ubuntu (Unity) user on this list having problem with menus? > > Or am I the only Ubuntu (Unity) user on this list with Gambas 3.6? > > > > I really do like to get rid of that menu bar... > > Maybe Qt4 does not support exporting its menu bar through the Unity > protocol? I don't know actually, as I use KDE... > Well it did in 3.5.4 so what has changed in Gambas that could change the menu? From gambas.fr at ...626... Tue Oct 21 18:47:12 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 21 Oct 2014 18:47:12 +0200 Subject: [Gambas-user] Import qbasic In-Reply-To: <54466636.2050801@...626...> References: <54466636.2050801@...626...> Message-ID: well ... Gambas is more near from VB than QBasic. I think you will have some work to do. Maybe the best will be to create a module, and then copy the whole file.bas in it. Then procedure by procedure you will have to convert some parts. 2014-10-21 15:57 GMT+02:00 Barry : > Hello > > I have a package written in qbasic which is run from command line and > then controlled by a menu program. I would like to import programs to > gambas with the intent of running using the GUI and developing extra > capabilities to the package. I know I have a lot of work to do to > achieve this but I really don't want to rewrite the whole package. Could > I please have a few pointers to get started. > > Barry > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From pata.karlsson at ...626... Tue Oct 21 18:47:16 2014 From: pata.karlsson at ...626... (Patrik Karlsson) Date: Tue, 21 Oct 2014 18:47:16 +0200 Subject: [Gambas-user] No Global Menu in Ubuntu In-Reply-To: <54468C7E.3050307@...27...> References: <54468C7E.3050307@...27...> Message-ID: 2014-10-21 18:40 GMT+02:00 Johny Provoost : > > Op 21-10-14 om 17:47 schreef Patrik Karlsson: > > > > Hi, it's me again. :) > > > > Am I the only Ubuntu (Unity) user on this list having problem with menus? > > Or am I the only Ubuntu (Unity) user on this list with Gambas 3.6? > > > > I really do like to get rid of that menu bar... > > No you don't Patrik. I have it too, but I don't mind. > > Thank you, that's good to know, I think. :) From t.lee.davidson at ...626... Tue Oct 21 18:53:34 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Tue, 21 Oct 2014 12:53:34 -0400 Subject: [Gambas-user] Import qbasic In-Reply-To: <54466636.2050801@...626...> References: <54466636.2050801@...626...> Message-ID: <54468F8E.5050308@...626...> On 10/21/2014 09:57 AM, Barry wrote: > Hello > > I have a package written in qbasic which is run from command line and > then controlled by a menu program. I would like to import programs to > gambas with the intent of running using the GUI and developing extra > capabilities to the package. I know I have a lot of work to do to > achieve this but I really don't want to rewrite the whole package. Could > I please have a few pointers to get started. > > Barry > Hello Barry, It might be difficult to give you useful pointers to get you started without knowing, among other things, how familiar you are with GUI programming -- and Gambas in particular. Since Gambas is similar to Visual Basic, you may find some pointers by doing a web search for "convert qbasic to visual basic". And then combine that info with the info at: http://gambaswiki.org/wiki/doc/diffvb Creating a form for each of the tasks your menu handles may work for you. You will find information on Menu at: http://gambaswiki.org/wiki/comp/gb.qt4 -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From gambas.fr at ...626... Tue Oct 21 18:54:35 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 21 Oct 2014 18:54:35 +0200 Subject: [Gambas-user] No Global Menu in Ubuntu In-Reply-To: <54468C7E.3050307@...27...> References: <54468C7E.3050307@...27...> Message-ID: It seem to be rellated to DBusMenu... 2014-10-21 18:40 GMT+02:00 Johny Provoost : > > Op 21-10-14 om 17:47 schreef Patrik Karlsson: >> >> Hi, it's me again. :) >> >> Am I the only Ubuntu (Unity) user on this list having problem with menus? >> Or am I the only Ubuntu (Unity) user on this list with Gambas 3.6? >> >> I really do like to get rid of that menu bar... >> ------------------------------------------------------------------------------ >> Comprehensive Server Monitoring with Site24x7. >> Monitor 10 servers for $9/Month. >> Get alerted through email, SMS, voice calls or mobile push notifications. >> Take corrective actions from your mobile device. >> http://p.sf.net/sfu/Zoho >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > No you don't Patrik. I have it too, but I don't mind. > -- > > > > *Vriendelijke Groeten* > > *Johny Provoost* > > *mailto: johny.provoost at ...27... * > > *mailto: johny.provoost at ...626... * > > *Website:* *http://www.johnyprovoost.net* > > > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From girardhenri at ...67... Tue Oct 21 19:48:25 2014 From: girardhenri at ...67... (GH) Date: Tue, 21 Oct 2014 19:48:25 +0200 Subject: [Gambas-user] No Global Menu in Ubuntu In-Reply-To: References: <54468C7E.3050307@...27...> Message-ID: In fact I installed mate-desktop to have the theme I like best. No problem with menu bar anymore ! lol Le 21/10/2014 18:47, Patrik Karlsson a ?crit : > 2014-10-21 18:40 GMT+02:00 Johny Provoost : > >> Op 21-10-14 om 17:47 schreef Patrik Karlsson: >>> Hi, it's me again. :) >>> >>> Am I the only Ubuntu (Unity) user on this list having problem with menus? >>> Or am I the only Ubuntu (Unity) user on this list with Gambas 3.6? >>> >>> I really do like to get rid of that menu bar... >> No you don't Patrik. I have it too, but I don't mind. >> >> > Thank you, that's good to know, I think. :) > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From jusabejusabe at ...626... Tue Oct 21 20:01:47 2014 From: jusabejusabe at ...626... (Julio Sanchez) Date: Tue, 21 Oct 2014 20:01:47 +0200 Subject: [Gambas-user] Import qbasic In-Reply-To: <54468F8E.5050308@...626...> References: <54466636.2050801@...626...> <54468F8E.5050308@...626...> Message-ID: T Lee Davidson: I have a simple example of using menus, explained with screen shots and source code. They are in Spanish: http://cursogambas.blogspot.com.es/2014/04/menus-y-menus-popups.html Besides this the book also,http://beginnersguidetogambas.com/, which can guide you Regards Julio 2014-10-21 18:53 GMT+02:00 T Lee Davidson : > On 10/21/2014 09:57 AM, Barry wrote: > > Hello > > > > I have a package written in qbasic which is run from command line and > > then controlled by a menu program. I would like to import programs to > > gambas with the intent of running using the GUI and developing extra > > capabilities to the package. I know I have a lot of work to do to > > achieve this but I really don't want to rewrite the whole package. Could > > I please have a few pointers to get started. > > > > Barry > > > > Hello Barry, > > It might be difficult to give you useful pointers to get you started > without knowing, among other things, how familiar you are with GUI > programming -- and Gambas in particular. > > Since Gambas is similar to Visual Basic, you may find some pointers by > doing a web search for "convert qbasic to visual basic". And then > combine that info with the info at: > http://gambaswiki.org/wiki/doc/diffvb > > Creating a form for each of the tasks your menu handles may work for > you. You will find information on Menu at: > http://gambaswiki.org/wiki/comp/gb.qt4 > > > -- > Lee > __________ > > "Artificial Intelligence is no match for natural stupidity." > > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jusabejusabe at ...626... Tue Oct 21 20:03:00 2014 From: jusabejusabe at ...626... (Julio Sanchez) Date: Tue, 21 Oct 2014 20:03:00 +0200 Subject: [Gambas-user] Import qbasic In-Reply-To: References: <54466636.2050801@...626...> <54468F8E.5050308@...626...> Message-ID: Sorry, the message was for Barry 2014-10-21 20:01 GMT+02:00 Julio Sanchez : > T Lee Davidson: > I have a simple example of using menus, explained with screen shots and > source code. They are in Spanish: > http://cursogambas.blogspot.com.es/2014/04/menus-y-menus-popups.html > > Besides this the book also,http://beginnersguidetogambas.com/, which can > guide you > > Regards > > Julio > > 2014-10-21 18:53 GMT+02:00 T Lee Davidson : > >> On 10/21/2014 09:57 AM, Barry wrote: >> > Hello >> > >> > I have a package written in qbasic which is run from command line and >> > then controlled by a menu program. I would like to import programs to >> > gambas with the intent of running using the GUI and developing extra >> > capabilities to the package. I know I have a lot of work to do to >> > achieve this but I really don't want to rewrite the whole package. Could >> > I please have a few pointers to get started. >> > >> > Barry >> > >> >> Hello Barry, >> >> It might be difficult to give you useful pointers to get you started >> without knowing, among other things, how familiar you are with GUI >> programming -- and Gambas in particular. >> >> Since Gambas is similar to Visual Basic, you may find some pointers by >> doing a web search for "convert qbasic to visual basic". And then >> combine that info with the info at: >> http://gambaswiki.org/wiki/doc/diffvb >> >> Creating a form for each of the tasks your menu handles may work for >> you. You will find information on Menu at: >> http://gambaswiki.org/wiki/comp/gb.qt4 >> >> >> -- >> Lee >> __________ >> >> "Artificial Intelligence is no match for natural stupidity." >> >> >> ------------------------------------------------------------------------------ >> Comprehensive Server Monitoring with Site24x7. >> Monitor 10 servers for $9/Month. >> Get alerted through email, SMS, voice calls or mobile push notifications. >> Take corrective actions from your mobile device. >> http://p.sf.net/sfu/Zoho >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From gambas at ...2524... Tue Oct 21 20:08:29 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 21 Oct 2014 18:08:29 +0000 Subject: [Gambas-user] Issue 568 in gambas: Exec fails to run scripts In-Reply-To: <2-6813199134517018827-9091553641493949727-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-9091553641493949727-gambas=googlecode.com@...2524...> <0-6813199134517018827-9091553641493949727-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-9091553641493949727-gambas=googlecode.com@...2524...> Comment #3 on issue 568 by benoit.m... at ...626...: Exec fails to run scripts https://code.google.com/p/gambas/issues/detail?id=568 That program works perfectly there. But I don't know why, normally because your script must have a "she-bang" to be an executable script. I.e. it must start with "#!/bin/sh" (replace "sh" with your favorite shell). I guess there is a system configuration that enable executable files without shebang to be executed on my Ubuntu system. Try to add a shebang and see if your script starts without the error message. -- 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... Tue Oct 21 20:22:18 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 21 Oct 2014 20:22:18 +0200 Subject: [Gambas-user] Release goals for 3.7 / 4.0 In-Reply-To: References: Message-ID: <20141021182218.GA1392@...2774...> On Tue, 21 Oct 2014, PICCORO McKAY Lenz wrote: > I think for gambas 3.7 the changes between versions must stop (preferable), > so then the repository can be able to stable across time.. > > i note in mocosoft like proyects that manyority of programs (99% excepts > for frameworks versions implementations) works between versions of visual > basic ... > > in gambas only older can compile and run with newer but newer mades does > not compiles or run in olders, ok its similaqr to .net framework dependency > but i refers to source codee.. > > in mayority of jobs, manpowers must concentrate in funtional parts of > proyect , and tecnical parts goes to second plane and be abstract behing > the funtional parts.. > > if i must have in constant update of my code respect the changes of gambas > ... my concentration in funtional part does not goes well .. due in > enterprices the time its a mandatory vector with no fallback point How about you *pretend* that Gambas stops changing by fixing a Gambas version for your projects? I see, the server my personal university webspace lies on runs on a kernel based on 2.6.18, with an apache which shows a 2.2.3 version number. I personally run TDE 3.5.13 (although R14 on another machine) which was *installed* on my system in 2012. (Maybe I shouldn't say that... :-)) I don't see how a code freeze would help Gambas in particular. It's not a project with that overwhelmingly many contributions per time. I didn't experience a svn conflict in over two years (as a measure of scattered changes) and at no time too many open bug reports -- which means that developers are responsive, i.e. *not locked up* adding features. And just because it's code freeze time, doesn't mean more bug reports will arrive from people. So, as I see it, this means a code freeze brings useless relaxation on the project's progress. (And progress is allegedly a good thing. You don't usually (at least where I'm from) hear people say "man, I stick to Gambas 3.2, from there it gets only worse".) But I really don't know about these management-ish decisions. I'm widely open for arguments and corrections here! All I want to say is, from my personal point of view, *if* someone is just too lazy to change some bits[*] in your software once a year (because that was the time between 3.5 and 3.6!), that's really not a valid reason to proclaim a stop on active development. Regards, Tobi [*] I can't remember fatal changes from 3.5 to 3.6... But I may be wrong here, too. It's been an entire year! If you want, please list a few of the incompatibilities you encountered through the versions. If I take the changes done from 3.5 to 3.6 on the official examples as a measure of how compatibility-breaking the version transition was over time, I can say that it wasn't much. This is yet another spot where unit testing would be a good thing to have! :-) -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...2524... Tue Oct 21 20:47:44 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 21 Oct 2014 18:47:44 +0000 Subject: [Gambas-user] Issue 568 in gambas: Exec fails to run scripts In-Reply-To: <3-6813199134517018827-9091553641493949727-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-9091553641493949727-gambas=googlecode.com@...2524...> <0-6813199134517018827-9091553641493949727-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-9091553641493949727-gambas=googlecode.com@...2524...> Comment #4 on issue 568 by mradcli... at ...626...: Exec fails to run scripts https://code.google.com/p/gambas/issues/detail?id=568 In nearly 20 years working on unix machines I have never had use "she-bang" in scripts but then I am fairly new to Ubuntu so there you go. As you predicted changing the script did in fact solve the problem :-) Thanks M -- 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 Oct 21 21:21:44 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 21 Oct 2014 19:21:44 +0000 Subject: [Gambas-user] Issue 568 in gambas: Exec fails to run scripts In-Reply-To: <4-6813199134517018827-9091553641493949727-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-9091553641493949727-gambas=googlecode.com@...2524...> <0-6813199134517018827-9091553641493949727-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-9091553641493949727-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #5 on issue 568 by benoit.m... at ...626...: Exec fails to run scripts https://code.google.com/p/gambas/issues/detail?id=568 Because you usually run scripts from a shell, that does that for you automatically. But when using the EXEC instruction, programs are run directly, without a shell. If you need to run program through a shell, you have to use the SHELL instruction. But, of course, things become slower to start then. -- 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... Tue Oct 21 21:33:35 2014 From: karl.reinl at ...9... (Karl Reinl) Date: Tue, 21 Oct 2014 21:33:35 +0200 Subject: [Gambas-user] something for the wishlist 'a Combobox with ensurevisible center' Message-ID: <1413920015.3454.38.camel@...40...> Salut Beno?t, Combobox with 'EnsureVisible centered' by that I mean, that if my value would be in the last line, instead, appears in the Center of the list display and so making the following entries visible, if present at all. -- Amicalement Charlie From gambas at ...1... Tue Oct 21 21:42:54 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 21 Oct 2014 21:42:54 +0200 Subject: [Gambas-user] something for the wishlist 'a Combobox with ensurevisible center' In-Reply-To: <1413920015.3454.38.camel@...40...> References: <1413920015.3454.38.camel@...40...> Message-ID: <5446B73E.1060102@...1...> Le 21/10/2014 21:33, Karl Reinl a ?crit : > Salut Beno?t, > > Combobox with 'EnsureVisible centered' by that I mean, that if my value > would be in the last line, instead, appears in the Center of the list > display and so making the following entries visible, if present at all. > ComboBox is entirely implemented in the underlying GUI toolkit, I cannot change it. Regards, -- Beno?t Minisini From taboege at ...626... Tue Oct 21 21:52:33 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 21 Oct 2014 21:52:33 +0200 Subject: [Gambas-user] something for the wishlist 'a Combobox with ensurevisible center' In-Reply-To: <5446B73E.1060102@...1...> References: <1413920015.3454.38.camel@...40...> <5446B73E.1060102@...1...> Message-ID: <20141021195233.GB1392@...2774...> On Tue, 21 Oct 2014, Beno??t Minisini wrote: > Le 21/10/2014 21:33, Karl Reinl a ??crit : > > Salut Beno??t, > > > > Combobox with 'EnsureVisible centered' by that I mean, that if my value > > would be in the last line, instead, appears in the Center of the list > > display and so making the following entries visible, if present at all. > > > > ComboBox is entirely implemented in the underlying GUI toolkit, I cannot > change it. > There is a ComboBox being implemented in Gambas by Christof Thalhofer (and friends?). He wrote about it here recently. Because it is built anew on top of other controls, I bet you can add whatever you want to it. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From chrisml at ...3340... Tue Oct 21 23:01:35 2014 From: chrisml at ...3340... (Christof Thalhofer) Date: Tue, 21 Oct 2014 23:01:35 +0200 Subject: [Gambas-user] something for the wishlist 'a Combobox with ensurevisible center' In-Reply-To: <20141021195233.GB1392@...2774...> (sfid-) References: <1413920015.3454.38.camel@...40...> <5446B73E.1060102@...1...> <20141021195233.GB1392@...2774...> (sfid-) Message-ID: <5446C9AF.8070808@...3340...> Am 21.10.2014 um 21:52 schrieb Tobias Boege: > There is a ComboBox being implemented in Gambas by Christof Thalhofer (and > friends?). That was my fault ;-) > He wrote about it here recently. Because it is built anew on top > of other controls, I bet you can add whatever you want to it. Yes. But it's pre-alpha and still has a lot of bugs regarding editing the text for search which is entered by the user. I still think about rewriting the code that is responsible for that. But here the combobox works in production code resonably well for what it was intended. So I am not under real pressure. I think, what Charlie wants, goes above what I had in mind when writing the combobox. As I understood Charlie thinks about an additional horizontal walk through the list. I am not sure wheather such features should be included als long as the basic functionality (enter text, change it, search for occurences in the list, walk vertically through the list by keyboard or mouse) is not fully complete. But it's on Github now and can easily been forked. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From gambas at ...2524... Wed Oct 22 09:21:33 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 22 Oct 2014 07:21:33 +0000 Subject: [Gambas-user] Issue 571 in gambas: Building packages on NTFS partitions fails Message-ID: <0-6813199134517018827-7984875810922728783-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 571 by computer... at ...626...: Building packages on NTFS partitions fails https://code.google.com/p/gambas/issues/detail?id=571 Creating installation packages with the destination directory on NTFS partitions fails. The NTFS partition is mounted. Using the absolute mount path and not the symbolic link does not make a difference. In particular, the Debian package building fails due to right issues (NTFS does not properly support Linux right properties). Please build in /tmp and copy the packages to the destination when ready. /tmp is usually on a Linux-friendly file system, so this will solve the problem. I have experienced this with earlier versions too, and changing the destination directory also solves the problem (but that's not what the user would want). -- 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... Wed Oct 22 11:18:13 2014 From: karl.reinl at ...9... (Karl Reinl) Date: Wed, 22 Oct 2014 11:18:13 +0200 Subject: [Gambas-user] Desktop.SendKeys, in version 3.6 Message-ID: <1413969493.3519.6.camel@...40...> Salut Beno?t, the 01/07/2014 with revision #6357 you repaired the Desktop.SendKeys, in version 3.6 I don't find the Sendkeys anymore. Nothing in Changlog for 3.6 (searched Sendkey) Only a sendkey in x11. Is Desktop.SendKeys gone? -- Amicalement Charlie From shordi at ...626... Wed Oct 22 12:49:36 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Wed, 22 Oct 2014 12:49:36 +0200 Subject: [Gambas-user] About SMTP component Message-ID: I've a problem with gambas 3.6 Smtpclient (with previous versions too). perhaps I don't understand very well the SMTP protocol or I don't undestand what some propertis of SmtpClient are, but If someone can help me I'll appreciate it very much: I use this function to send eMails: Public Sub enviarmail(aTo As String[], cSubject As String, cTexto As String, cFrom As String, Optional aAttacheds As String[], Optional bcc As String[]) Dim SmtpC As New SmtpClient Dim s, fich, mime, fname As String SmtpC.debug = True SmtpC.host = mcomun.mailserver["host"] SmtpC.user = mcomun.mailserver["user"] SmtpC.password = mcomun.mailserver["password"] SmtpC.From = cFrom For Each s In aTo SmtpC.To.Add(s) Next SmtpC.Subject = cSubject SmtpC.Body = cTexto SmtpC.Alternative = False ''Not sure about this is for If Not IsNull(aAttacheds) Then For Each fich In aAttacheds Exec ["file", "-bi", fich] To mime mime = Left(mime, InStr(mime, ";") - 1) fname = Right(fich, - RInStr(fich, "/")) SmtpC.Add(File.Load(fich), mime, fname) Next Endif If Not IsNull(bcc) Then For Each s In bcc SmtpC.bcc.Add(s) Next Endif SmtpC.Encrypt = Net.SSL SmtpC.send End All works fine, but when a text file is attached the content of file is showed under the .Body content. Sending the same file with Thunderbird, The content of the message is both the same, except this, relative to attachement: Content-Type: text/plain; charset=UTF-8; name="ftp.txt" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="ftp.txt" The message that send the smtp client has: Content-Type: text/plain; name="sirigamin.txt" Content-Transfer-Encoding: quoted-printable Content-Length: 13 abcdefghijklmn Seems that Gambas smtpclient doesn't base64 encode the file attached if is plain/text... Is this a expected behavior? Can it be changed or the encode forced? Thanks in advance From chrisml at ...3340... Wed Oct 22 13:31:06 2014 From: chrisml at ...3340... (Christof Thalhofer) Date: Wed, 22 Oct 2014 13:31:06 +0200 Subject: [Gambas-user] Official release of Gambas 3.6 In-Reply-To: <543FE713.9010407@...1...> (sfid-) References: <543FE713.9010407@...1...> (sfid-) Message-ID: <5447957A.5020209@...3340...> Hi Beno?t, Am 16.10.2014 um 17:41 schrieb Beno?t Minisini: > Now let's start hacking for Gambas 3.7. The main goal now is making a > dedicated Gambas software repository. A software repository is definately a thing Gambas needs. My question is: Why not use Github (or an own Git server). And also: Why not switch over to Git? Git has great advantages over SVN, is widely used, evaluated and well known. If there are now efforts to do an own software repo, I think the energy is invested best in future development, if Git will be used instead an outdated technology or reinventing the wheel. Alles Gute Christof Thalhofer -- [x] nail here for new monitor -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From aballespin at ...626... Wed Oct 22 14:07:06 2014 From: aballespin at ...626... (Alejandro) Date: Wed, 22 Oct 2014 09:07:06 -0300 Subject: [Gambas-user] [CRASH REPORT] Consultorio_01_ULTIMO Message-ID: <54479DEA.5010704@...626...> Hello, Damned, my program crashed Gambas! From willy at ...2734... Wed Oct 22 16:29:25 2014 From: willy at ...2734... (Willy Raets) Date: Wed, 22 Oct 2014 16:29:25 +0200 Subject: [Gambas-user] About SMTP component In-Reply-To: References: Message-ID: <1413988165.3501.54.camel@...3024...> On wo, 2014-10-22 at 12:49 +0200, Jorge Carri?n wrote: > I've a problem with gambas 3.6 Smtpclient (with previous versions too). > perhaps I don't understand very well the SMTP protocol or I don't undestand > what some propertis of SmtpClient are, but If someone can help me I'll > appreciate it very much: I have added a source archive with application MailTester 1. It allows you to test mail with the settings entered in the form fields. Note that these are saved as setings (using gb.settings) and the password is stored in keyring (using gb.desktop) except for attachment path. 2. It also allows you to browse for an attachment and add it to the test mail. 3. It sends the mail to your from mail address and adds some body content to let you know it worked. 4. If using authentication it needs Gambas 3.6 at least (as authentication was still buggy pre 3.6) > > I use this function to send eMails: > > Public Sub enviarmail(aTo As String[], cSubject As String, cTexto As > String, cFrom As String, Optional aAttacheds As String[], Optional bcc As > String[]) > > Dim SmtpC As New SmtpClient > Dim s, fich, mime, fname As String > > SmtpC.debug = True > SmtpC.host = mcomun.mailserver["host"] > SmtpC.user = mcomun.mailserver["user"] > SmtpC.password = mcomun.mailserver["password"] > SmtpC.From = cFrom > For Each s In aTo > SmtpC.To.Add(s) > Next > SmtpC.Subject = cSubject > SmtpC.Body = cTexto > SmtpC.Alternative = False ''Not sure about this is for > If Not IsNull(aAttacheds) Then > For Each fich In aAttacheds > Exec ["file", "-bi", fich] To mime > mime = Left(mime, InStr(mime, ";") - 1) > fname = Right(fich, - RInStr(fich, "/")) > SmtpC.Add(File.Load(fich), mime, fname) > Next > Endif > If Not IsNull(bcc) Then > For Each s In bcc > SmtpC.bcc.Add(s) > Next > Endif > SmtpC.Encrypt = Net.SSL > SmtpC.send > > End You can test MailTester and if it works for you compare the code to yours. I have tested this with .png, .tar, .txt and .deb attachments and they are all nicely added. I also attached a screenshot of one of the test mails received. Hope this will help. -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org -------------- next part -------------- A non-text attachment was scrubbed... Name: MailRecieved.png Type: image/png Size: 21316 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: MailTester-0.0.2.tar.gz Type: application/x-compressed-tar Size: 6923 bytes Desc: not available URL: From willy at ...2734... Wed Oct 22 16:57:39 2014 From: willy at ...2734... (Willy Raets) Date: Wed, 22 Oct 2014 16:57:39 +0200 Subject: [Gambas-user] gb.report question Message-ID: <1413989859.3501.65.camel@...3024...> Hi all, I have a report that exists of 3 'blocks of data' that are fed by 3 different result sets from a MySql database. All works fine as long as all result sets have data. Now, one of the results sets CAN be empty (this is intentional and just means that the block of data for that result set should not be shown on the report). This is where my trouble starts :) The code is in the _new event of the Report. I first do check the result (let's name it rResult) for data, but next have no idea on how to continue If rResult.Count = 0 Then 'here I need to prevent the ReportLabels from having their data event 'triggered as that leads to an error because of no result Else .... Endif So, how to I get the ReportLabels belonging to the rResult to not run their _Data event? -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From shordi at ...626... Wed Oct 22 18:10:22 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Wed, 22 Oct 2014 18:10:22 +0200 Subject: [Gambas-user] About SMTP component In-Reply-To: <1413988165.3501.54.camel@...3024...> References: <1413988165.3501.54.camel@...3024...> Message-ID: Willy, thank you for your response. With Mailtester the same situation occurs that with my function: If you attach a text file, it is enconded as "cuoted printable" (what is the same that "no enconded as all") and the text from inside the file is shown under the message .Body... 2014-10-22 16:29 GMT+02:00 Willy Raets : > On wo, 2014-10-22 at 12:49 +0200, Jorge Carri?n wrote: > > I've a problem with gambas 3.6 Smtpclient (with previous versions too). > > perhaps I don't understand very well the SMTP protocol or I don't > undestand > > what some propertis of SmtpClient are, but If someone can help me I'll > > appreciate it very much: > > I have added a source archive with application MailTester > > 1. It allows you to test mail with the settings entered in the form > fields. Note that these are saved as setings (using gb.settings) and the > password is stored in keyring (using gb.desktop) except for attachment > path. > > 2. It also allows you to browse for an attachment and add it to the test > mail. > > 3. It sends the mail to your from mail address and adds some body > content to let you know it worked. > > 4. If using authentication it needs Gambas 3.6 at least (as > authentication was still buggy pre 3.6) > > > > > > I use this function to send eMails: > > > > Public Sub enviarmail(aTo As String[], cSubject As String, cTexto As > > String, cFrom As String, Optional aAttacheds As String[], Optional bcc As > > String[]) > > > > Dim SmtpC As New SmtpClient > > Dim s, fich, mime, fname As String > > > > SmtpC.debug = True > > SmtpC.host = mcomun.mailserver["host"] > > SmtpC.user = mcomun.mailserver["user"] > > SmtpC.password = mcomun.mailserver["password"] > > SmtpC.From = cFrom > > For Each s In aTo > > SmtpC.To.Add(s) > > Next > > SmtpC.Subject = cSubject > > SmtpC.Body = cTexto > > SmtpC.Alternative = False ''Not sure about this is for > > If Not IsNull(aAttacheds) Then > > For Each fich In aAttacheds > > Exec ["file", "-bi", fich] To mime > > mime = Left(mime, InStr(mime, ";") - 1) > > fname = Right(fich, - RInStr(fich, "/")) > > SmtpC.Add(File.Load(fich), mime, fname) > > Next > > Endif > > If Not IsNull(bcc) Then > > For Each s In bcc > > SmtpC.bcc.Add(s) > > Next > > Endif > > SmtpC.Encrypt = Net.SSL > > SmtpC.send > > > > End > > You can test MailTester and if it works for you compare the code to > yours. > > I have tested this with .png, .tar, .txt and .deb attachments and they > are all nicely added. > > I also attached a screenshot of one of the test mails received. > > > Hope this will help. > > -- > Kind regards, > > Willy (aka gbWilly) > > http://gambasshowcase.org/ > http://howtogambas.org > http://gambos.org > > > > > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From willy at ...2734... Wed Oct 22 18:35:08 2014 From: willy at ...2734... (Willy Raets) Date: Wed, 22 Oct 2014 18:35:08 +0200 Subject: [Gambas-user] About SMTP component In-Reply-To: References: <1413988165.3501.54.camel@...3024...> Message-ID: <1413995708.3501.71.camel@...3024...> On wo, 2014-10-22 at 18:10 +0200, Jorge Carri?n wrote: > Willy, thank you for your response. > > With Mailtester the same situation occurs that with my function: If > you attach a text file, it is enconded as "cuoted printable" (what is > the same that "no enconded as all") and the text from inside the file > is shown under the message .Body... I have taken a closer look and I do notice one difference between 3.5.4 and 3.6 With gb.smpt 3.5.4 I get the mail in my inbox and see a paperclip icon indicating an attachment. With gb.smtp 3.6 there is no longer a paperclip icon in my inbox. But the content appears the same, and the attachment is there in the same way as with 3.5.4 (so really attached and not part of the content as happened with some pre 3.5.4 version, don't remember the version) So apparently, something is different under the hood.. -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From shordi at ...626... Wed Oct 22 18:39:31 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Wed, 22 Oct 2014 18:39:31 +0200 Subject: [Gambas-user] About simbolic links in .src Message-ID: I remember to read some messages in this list about to have folder's simbolic links inside de .src folder of the proyect with all that clases and modules we often use in all our proyects. I try this and work fine, but don't remenber (neither find) what were the problems that such practices produced. In .deb making, perhaps? someone remember? I don't like surprises when I'll be in a hurry to solve a bug or something... Regards From ron at ...1740... Wed Oct 22 18:59:05 2014 From: ron at ...1740... (Ron) Date: Wed, 22 Oct 2014 18:59:05 +0200 Subject: [Gambas-user] About simbolic links in .src In-Reply-To: References: Message-ID: I think you still cannot edit the files linked to by the symbolic links... It's by design, would be nice if it wasn't (or an option in project) 2014-10-22 18:39 GMT+02:00 Jorge Carri?n : > I remember to read some messages in this list about to have folder's > simbolic links inside de .src folder of the proyect with all that clases > and modules we often use in all our proyects. > I try this and work fine, but don't remenber (neither find) what were the > problems that such practices produced. > > In .deb making, perhaps? someone remember? I don't like surprises when I'll > be in a hurry to solve a bug or something... > > Regards > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From Karl.Reinl at ...2345... Wed Oct 22 19:12:51 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Wed, 22 Oct 2014 19:12:51 +0200 Subject: [Gambas-user] About simbolic links in .src In-Reply-To: References: Message-ID: <1413997971.3647.7.camel@...40...> Am Mittwoch, den 22.10.2014, 18:39 +0200 schrieb Jorge Carri?n: > I remember to read some messages in this list about to have folder's > simbolic links inside de .src folder of the proyect with all that clases > and modules we often use in all our proyects. > I try this and work fine, but don't remenber (neither find) what were the > problems that such practices produced. > > In .deb making, perhaps? someone remember? I don't like surprises when I'll > be in a hurry to solve a bug or something... > > Regards Salut Jorge, maybe you talk also about my mails. I like to work that way because I find source-code while debugging, I don't when it is in a library. The Problem I wrote about, which persists in version 3.6 is when opened in a project, where it is added as link, it will be locked, and since july 2014 they are no more unlocked when close file or IDE. I made a change in my IDE (see attachment) -- Amicalement Charlie -------------- next part -------------- An embedded message was scrubbed... From: Charlie Reinl Subject: Re: [Gambas-user] DEVELOPMENT ENVIRONMENT using the file write permissions changes Date: Thu, 17 Jul 2014 17:33:18 +0200 Size: 3778 URL: From shordi at ...626... Wed Oct 22 19:26:06 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Wed, 22 Oct 2014 19:26:06 +0200 Subject: [Gambas-user] About simbolic links in .src In-Reply-To: <1413997971.3647.7.camel@...40...> References: <1413997971.3647.7.camel@...40...> Message-ID: Ok. I see. Don't seem to me a big issue, at last the code in the simlinks is -shoul be- "frozen code". I mean that is used by a lot of proyects (no sense to do simlinks if you only use it in one proyect) and don't should be modified, I think, so easely, at risk of harm other proyects... If doesn't have more Issues than this I think I'll be using this way. Thanks for your answers. Regards. 2014-10-22 19:12 GMT+02:00 Charlie Reinl : > Am Mittwoch, den 22.10.2014, 18:39 +0200 schrieb Jorge Carri?n: > > I remember to read some messages in this list about to have folder's > > simbolic links inside de .src folder of the proyect with all that clases > > and modules we often use in all our proyects. > > I try this and work fine, but don't remenber (neither find) what were the > > problems that such practices produced. > > > > In .deb making, perhaps? someone remember? I don't like surprises when > I'll > > be in a hurry to solve a bug or something... > > > > Regards > > Salut Jorge, > > maybe you talk also about my mails. > I like to work that way because I find source-code while debugging, I > don't when it is in a library. > The Problem I wrote about, which persists in version 3.6 is when opened > in a project, where it is added as link, it will be locked, and since > july 2014 they are no more unlocked when close file or IDE. > > I made a change in my IDE (see attachment) > > -- > Amicalement > Charlie > > > ---------- Mensaje reenviado ---------- > From: Charlie Reinl > To: gambas-user at lists.sourceforge.net > Cc: > Date: Thu, 17 Jul 2014 17:33:18 +0200 > Subject: Re: [Gambas-user] DEVELOPMENT ENVIRONMENT using the file write > permissions changes > 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 > > > > ------------------------------------------------------------------------------ > 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 > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From t.lee.davidson at ...626... Wed Oct 22 21:40:03 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Wed, 22 Oct 2014 15:40:03 -0400 Subject: [Gambas-user] About SMTP component In-Reply-To: References: Message-ID: <54480813.1090002@...626...> Jorge, I took your code and modified it only enough to use a form to populate the relevant data; all else remained the same. Testing it showed that the attachment was indeed sent as "Content-Transfer-Encoding: quoted-printable". But, that does not appear to be a problem; at least with my Thunderbird. The attachment was sent as a true attachment (showing the paperclip) and not included in the message body. Perhaps Base64 encoding is not required for plain text and, hence, the reason Gambas does not bother with it. -- Lee __________ "Artificial Intelligence is no match for natural stupidity." On 10/22/2014 06:49 AM, Jorge Carri?n wrote: > I've a problem with gambas 3.6 Smtpclient (with previous versions too). > perhaps I don't understand very well the SMTP protocol or I don't undestand > what some propertis of SmtpClient are, but If someone can help me I'll > appreciate it very much: > > I use this function to send eMails: > > Public Sub enviarmail(aTo As String[], cSubject As String, cTexto As > String, cFrom As String, Optional aAttacheds As String[], Optional bcc As > String[]) > > Dim SmtpC As New SmtpClient > Dim s, fich, mime, fname As String > > SmtpC.debug = True > SmtpC.host = mcomun.mailserver["host"] > SmtpC.user = mcomun.mailserver["user"] > SmtpC.password = mcomun.mailserver["password"] > SmtpC.From = cFrom > For Each s In aTo > SmtpC.To.Add(s) > Next > SmtpC.Subject = cSubject > SmtpC.Body = cTexto > SmtpC.Alternative = False ''Not sure about this is for > If Not IsNull(aAttacheds) Then > For Each fich In aAttacheds > Exec ["file", "-bi", fich] To mime > mime = Left(mime, InStr(mime, ";") - 1) > fname = Right(fich, - RInStr(fich, "/")) > SmtpC.Add(File.Load(fich), mime, fname) > Next > Endif > If Not IsNull(bcc) Then > For Each s In bcc > SmtpC.bcc.Add(s) > Next > Endif > SmtpC.Encrypt = Net.SSL > SmtpC.send > > End > > All works fine, but when a text file is attached the content of file is > showed under the .Body content. Sending the same file with Thunderbird, The > content of the message is both the same, except this, relative to > attachement: > > Content-Type: text/plain; charset=UTF-8; > name="ftp.txt" > Content-Transfer-Encoding: base64 > Content-Disposition: attachment; > filename="ftp.txt" > > The message that send the smtp client has: > > Content-Type: text/plain; name="sirigamin.txt" > Content-Transfer-Encoding: quoted-printable > Content-Length: 13 > > abcdefghijklmn > > Seems that Gambas smtpclient doesn't base64 encode the file attached if is > plain/text... > Is this a expected behavior? Can it be changed or the encode forced? > > Thanks in advance > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Wed Oct 22 21:51:45 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 22 Oct 2014 21:51:45 +0200 Subject: [Gambas-user] About SMTP component In-Reply-To: <54480813.1090002@...626...> References: <54480813.1090002@...626...> Message-ID: <54480AD1.9050102@...1...> Le 22/10/2014 21:40, T Lee Davidson a ?crit : > Jorge, > > I took your code and modified it only enough to use a form to populate > the relevant data; all else remained the same. > > Testing it showed that the attachment was indeed sent as > "Content-Transfer-Encoding: quoted-printable". > > But, that does not appear to be a problem; at least with my Thunderbird. > The attachment was sent as a true attachment (showing the paperclip) and > not included in the message body. > > Perhaps Base64 encoding is not required for plain text and, hence, the > reason Gambas does not bother with it. > > The encoding format is not related at all with how the mail client displays a mail part: as attachment or inside the mail. Curiously, there is no concept of "mail body" in the MIME message format. Mail clients usually take the first part that is text or HTML as the body. But I think you can help him by using the "Content-Disposition" header. I will make some tests as soon as I have time. Regards, -- Beno?t Minisini From gambas at ...1... Wed Oct 22 21:53:55 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 22 Oct 2014 21:53:55 +0200 Subject: [Gambas-user] Desktop.SendKeys, in version 3.6 In-Reply-To: <1413969493.3519.6.camel@...40...> References: <1413969493.3519.6.camel@...40...> Message-ID: <54480B53.2030604@...1...> Le 22/10/2014 11:18, Karl Reinl a ?crit : > Salut Beno?t, > > the 01/07/2014 with revision #6357 you repaired the > Desktop.SendKeys, in version 3.6 I don't find the Sendkeys > anymore. > Nothing in Changlog for 3.6 (searched Sendkey) > Only a sendkey in x11. > > Is Desktop.SendKeys gone? > I am seeing Desktop.SendKeys in the gb.desktop component of Gambas 3.6... It didn't move. Are you sure you does not see it? -- Beno?t Minisini From karl.reinl at ...9... Wed Oct 22 22:20:35 2014 From: karl.reinl at ...9... (Karl Reinl) Date: Wed, 22 Oct 2014 22:20:35 +0200 Subject: [Gambas-user] Desktop.SendKeys, in version 3.6 In-Reply-To: <54480B53.2030604@...1...> References: <1413969493.3519.6.camel@...40...> <54480B53.2030604@...1...> Message-ID: <1414009235.3647.11.camel@...40...> Am Mittwoch, den 22.10.2014, 21:53 +0200 schrieb Beno?t Minisini: > Le 22/10/2014 11:18, Karl Reinl a ?crit : > > Salut Beno?t, > > > > the 01/07/2014 with revision #6357 you repaired the > > Desktop.SendKeys, in version 3.6 I don't find the Sendkeys > > anymore. > > Nothing in Changlog for 3.6 (searched Sendkey) > > Only a sendkey in x11. > > > > Is Desktop.SendKeys gone? > > > > I am seeing Desktop.SendKeys in the gb.desktop component of Gambas > 3.6... It didn't move. > > Are you sure you does not see it? > Salut Beno?t, no, I can't see SendKeys, to prove the screenshot attached. The Systeminfos: [System] Gambas=3.6.0 OperatingSystem=Linux Kernel=3.2.0-70-generic Architecture=x86 Distribution=Ubuntu 12.04.5 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 -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto vom 2014-10-22 22:15:11.png Type: image/png Size: 27523 bytes Desc: not available URL: From karl.reinl at ...9... Wed Oct 22 22:34:39 2014 From: karl.reinl at ...9... (Karl Reinl) Date: Wed, 22 Oct 2014 22:34:39 +0200 Subject: [Gambas-user] Desktop.SendKeys, in version 3.6 In-Reply-To: <54480B53.2030604@...1...> References: <1413969493.3519.6.camel@...40...> <54480B53.2030604@...1...> Message-ID: <1414010079.3647.16.camel@...40...> Am Mittwoch, den 22.10.2014, 21:53 +0200 schrieb Beno?t Minisini: > Le 22/10/2014 11:18, Karl Reinl a ?crit : > > Salut Beno?t, > > > > the 01/07/2014 with revision #6357 you repaired the > > Desktop.SendKeys, in version 3.6 I don't find the Sendkeys > > anymore. > > Nothing in Changlog for 3.6 (searched Sendkey) > > Only a sendkey in x11. > > > > Is Desktop.SendKeys gone? > > > > I am seeing Desktop.SendKeys in the gb.desktop component of Gambas > 3.6... It didn't move. > > Are you sure you does not see it? > Salut Beno?t, no, I can't see SendKeys, to prove a 2nd screenshot attached. Its version 3.6 from svn rev 6558 add the logs too. The Systeminfos: [System] Gambas=3.6.0 OperatingSystem=Linux Kernel=3.2.0-70-generic Architecture=x86 Distribution=Ubuntu 12.04.5 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 -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto vom 2014-10-22 22:26:05.png Type: image/png Size: 21584 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: rev.6558.tar.bz2 Type: application/x-bzip-compressed-tar Size: 22304 bytes Desc: not available URL: From karl.reinl at ...9... Wed Oct 22 22:44:12 2014 From: karl.reinl at ...9... (Karl Reinl) Date: Wed, 22 Oct 2014 22:44:12 +0200 Subject: [Gambas-user] Desktop.SendKeys, in version 3.6 In-Reply-To: <54480B53.2030604@...1...> References: <1413969493.3519.6.camel@...40...> <54480B53.2030604@...1...> Message-ID: <1414010652.3647.19.camel@...40...> Am Mittwoch, den 22.10.2014, 21:53 +0200 schrieb Beno?t Minisini: > Le 22/10/2014 11:18, Karl Reinl a ?crit : > > Salut Beno?t, > > > > the 01/07/2014 with revision #6357 you repaired the > > Desktop.SendKeys, in version 3.6 I don't find the Sendkeys > > anymore. > > Nothing in Changlog for 3.6 (searched Sendkey) > > Only a sendkey in x11. > > > > Is Desktop.SendKeys gone? > > > > I am seeing Desktop.SendKeys in the gb.desktop component of Gambas > 3.6... It didn't move. > > Are you sure you does not see it? > Salut Beno?t, no, I can't see SendKeys, to prove a 3e screenshot attached. Sorry for the typo, but no symbol present. The Systeminfos: [System] Gambas=3.6.0 OperatingSystem=Linux Kernel=3.2.0-70-generic Architecture=x86 Distribution=Ubuntu 12.04.5 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 -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto vom 2014-10-22 22:39:53.png Type: image/png Size: 22575 bytes Desc: not available URL: From gambas.fr at ...626... Thu Oct 23 07:37:29 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 23 Oct 2014 07:37:29 +0200 Subject: [Gambas-user] gb.report question In-Reply-To: <1413989859.3501.65.camel@...3024...> References: <1413989859.3501.65.camel@...3024...> Message-ID: Van toi sens me en example ? Le 22 oct. 2014 16:58, "Willy Raets" a ?crit : > Hi all, > > I have a report that exists of 3 'blocks of data' that are fed by 3 > different result sets from a MySql database. > > All works fine as long as all result sets have data. > > Now, one of the results sets CAN be empty (this is intentional and just > means that the block of data for that result set should not be shown on > the report). > > This is where my trouble starts :) > > The code is in the _new event of the Report. > I first do check the result (let's name it rResult) for data, but next > have no idea on how to continue > > If rResult.Count = 0 Then > 'here I need to prevent the ReportLabels from having their data event > 'triggered as that leads to an error because of no result > > Else > .... > > Endif > > So, how to I get the ReportLabels belonging to the rResult to not run > their _Data event? > > -- > Kind regards, > > Willy (aka gbWilly) > > http://gambasshowcase.org/ > http://howtogambas.org > http://gambos.org > > > > > > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From shordi at ...626... Thu Oct 23 09:48:45 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Thu, 23 Oct 2014 09:48:45 +0200 Subject: [Gambas-user] About SMTP component In-Reply-To: <54480813.1090002@...626...> References: <54480813.1090002@...626...> Message-ID: Lee, Yes, the my function works, it's only the related way of show in email readers what doesn't like me. Sometimes we have to send large text files and it's ugly to see that in thunderbird... Is nota a big issue, I suppouse. "Perfection is reserved for gods", isn't it?. Thanks for the response. Regards. 2014-10-22 21:40 GMT+02:00 T Lee Davidson : > Jorge, > > I took your code and modified it only enough to use a form to populate > the relevant data; all else remained the same. > > Testing it showed that the attachment was indeed sent as > "Content-Transfer-Encoding: quoted-printable". > > But, that does not appear to be a problem; at least with my Thunderbird. > The attachment was sent as a true attachment (showing the paperclip) and > not included in the message body. > > Perhaps Base64 encoding is not required for plain text and, hence, the > reason Gambas does not bother with it. > > > -- > Lee > __________ > > "Artificial Intelligence is no match for natural stupidity." > > > On 10/22/2014 06:49 AM, Jorge Carri?n wrote: > > I've a problem with gambas 3.6 Smtpclient (with previous versions too). > > perhaps I don't understand very well the SMTP protocol or I don't > undestand > > what some propertis of SmtpClient are, but If someone can help me I'll > > appreciate it very much: > > > > I use this function to send eMails: > > > > Public Sub enviarmail(aTo As String[], cSubject As String, cTexto As > > String, cFrom As String, Optional aAttacheds As String[], Optional bcc As > > String[]) > > > > Dim SmtpC As New SmtpClient > > Dim s, fich, mime, fname As String > > > > SmtpC.debug = True > > SmtpC.host = mcomun.mailserver["host"] > > SmtpC.user = mcomun.mailserver["user"] > > SmtpC.password = mcomun.mailserver["password"] > > SmtpC.From = cFrom > > For Each s In aTo > > SmtpC.To.Add(s) > > Next > > SmtpC.Subject = cSubject > > SmtpC.Body = cTexto > > SmtpC.Alternative = False ''Not sure about this is for > > If Not IsNull(aAttacheds) Then > > For Each fich In aAttacheds > > Exec ["file", "-bi", fich] To mime > > mime = Left(mime, InStr(mime, ";") - 1) > > fname = Right(fich, - RInStr(fich, "/")) > > SmtpC.Add(File.Load(fich), mime, fname) > > Next > > Endif > > If Not IsNull(bcc) Then > > For Each s In bcc > > SmtpC.bcc.Add(s) > > Next > > Endif > > SmtpC.Encrypt = Net.SSL > > SmtpC.send > > > > End > > > > All works fine, but when a text file is attached the content of file is > > showed under the .Body content. Sending the same file with Thunderbird, > The > > content of the message is both the same, except this, relative to > > attachement: > > > > Content-Type: text/plain; charset=UTF-8; > > name="ftp.txt" > > Content-Transfer-Encoding: base64 > > Content-Disposition: attachment; > > filename="ftp.txt" > > > > The message that send the smtp client has: > > > > Content-Type: text/plain; name="sirigamin.txt" > > Content-Transfer-Encoding: quoted-printable > > Content-Length: 13 > > > > abcdefghijklmn > > > > Seems that Gambas smtpclient doesn't base64 encode the file attached if > is > > plain/text... > > Is this a expected behavior? Can it be changed or the encode forced? > > > > Thanks in advance > > > ------------------------------------------------------------------------------ > > Comprehensive Server Monitoring with Site24x7. > > Monitor 10 servers for $9/Month. > > Get alerted through email, SMS, voice calls or mobile push notifications. > > Take corrective actions from your mobile device. > > http://p.sf.net/sfu/Zoho > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From shordi at ...626... Thu Oct 23 10:03:52 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Thu, 23 Oct 2014 10:03:52 +0200 Subject: [Gambas-user] About SMTP component In-Reply-To: <54480AD1.9050102@...1...> References: <54480813.1090002@...626...> <54480AD1.9050102@...1...> Message-ID: Benoit, Thanks for the answer. I >Curiously, there is no concept of "mail body" in the MIME message format. I knew that, but SmtpClient offers it and its easy way to send a message. At this point there is another property that isn't clear for me: the .Alternative property. I've read, don't remember where, that is a information passed to old email clients who hasn't reading .html capacities. If you set it a True and send a text content as first part of MIME, the second part is sopused to be the HTML version of the first part. However I do not see any difference between use it as True or False. I mention it because, if it is so, when the .Alternative is True the message should be 1.- text of message 2.- HTML version of same text 3.- attached files, and if .Alternative is False then should be: 1.- text 2.- attached file. Or is .Alternative something obsolete or I don't understand nothing and all this is a mess.... :D:D:D >But I think you can help him by using the "Content-Disposition" header. How can it be implemented? I haven't seen any way in SmtpClient. Regards 2014-10-22 21:51 GMT+02:00 Beno?t Minisini : > Le 22/10/2014 21:40, T Lee Davidson a ?crit : > > Jorge, > > > > I took your code and modified it only enough to use a form to populate > > the relevant data; all else remained the same. > > > > Testing it showed that the attachment was indeed sent as > > "Content-Transfer-Encoding: quoted-printable". > > > > But, that does not appear to be a problem; at least with my Thunderbird. > > The attachment was sent as a true attachment (showing the paperclip) and > > not included in the message body. > > > > Perhaps Base64 encoding is not required for plain text and, hence, the > > reason Gambas does not bother with it. > > > > > > The encoding format is not related at all with how the mail client > displays a mail part: as attachment or inside the mail. > > Curiously, there is no concept of "mail body" in the MIME message format. > > Mail clients usually take the first part that is text or HTML as the > body. But I think you can help him by using the "Content-Disposition" > header. > > I will make some tests as soon as I have time. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From ihaywood3 at ...626... Thu Oct 23 12:49:46 2014 From: ihaywood3 at ...626... (Ian Haywood) Date: Thu, 23 Oct 2014 21:49:46 +1100 Subject: [Gambas-user] Release goals for 3.7 / 4.0 In-Reply-To: <54466FD3.60100@...1...> References: <54466FD3.60100@...1...> Message-ID: On Wed, Oct 22, 2014 at 1:38 AM, Beno?t Minisini wrote: > Le 21/10/2014 16:25, PICCORO McKAY Lenz a ?crit : > The rule is the following: A program made with Gambas 3.X will work with > all Gambas 3.Y where Y >= X, except if your program relies on the bad > behaviour of a bug that is fixed in a new version. the issue is developers usually have a bleeding-edge version, so when they compile gambas binaries, they won't work on older versions of the runtime that some distros (*cough* debian *cough*) use. what I have done is produce a source debian package that then gets compiled using gbc3 on the command line (just like building a C program) with whatever version is on that debian version. > You have to do with that rule, as I don't see any other rule that allows > me to continue working on it. ideally "back-compiling" to older versions as an option in the IDE, but I appreciate that would be quite hard to do, your time may be more usefully spent on other things. Ian From gambas.fr at ...626... Thu Oct 23 14:48:38 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 23 Oct 2014 14:48:38 +0200 Subject: [Gambas-user] Release goals for 3.7 / 4.0 In-Reply-To: References: <54466FD3.60100@...1...> Message-ID: > ideally "back-compiling" to older versions as an option in the IDE, > but I appreciate that would be quite hard to do, your > time may be more usefully spent on other things. > Ianld sound a good idea. It will resolve the problem ... But is it complex to do ?. Or maybe gambas package should embed multiple compiler. -- Fabien Bodard From sbungay at ...3301... Thu Oct 23 15:11:07 2014 From: sbungay at ...3301... (Stephen) Date: Thu, 23 Oct 2014 09:11:07 -0400 Subject: [Gambas-user] Release goals for 3.7 / 4.0 In-Reply-To: <54466FD3.60100@...1...> References: <54466FD3.60100@...1...> Message-ID: <5448FE6B.1020205@...3301...> On 10/21/2014 10:38 AM, Beno?t Minisini wrote: > Le 21/10/2014 16:25, PICCORO McKAY Lenz a ?crit : >> Date: Thu, 16 Oct 2014 17:41:07 +0200 >> From: Beno?t Minisini >> >> Now let's start hacking for Gambas 3.7. >> >> >> >>> *The main goal now is making a dedicated Gambas software repository.* >>> >> I think for gambas 3.7 the changes between versions must stop (preferable), >> so then the repository can be able to stable across time.. >> >> i note in mocosoft like proyects that manyority of programs (99% excepts >> for frameworks versions implementations) works between versions of visual >> basic ... >> >> in gambas only older can compile and run with newer but newer mades does >> not compiles or run in olders, ok its similaqr to .net framework dependency >> but i refers to source codee.. >> >> in mayority of jobs, manpowers must concentrate in funtional parts of >> proyect , and tecnical parts goes to second plane and be abstract behing >> the funtional parts.. >> >> if i must have in constant update of my code respect the changes of gambas >> ... my concentration in funtional part does not goes well .. due in >> enterprices the time its a mandatory vector with no fallback point > The rule is the following: A program made with Gambas 3.X will work with > all Gambas 3.Y where Y>= X, except if your program relies on the bad > behaviour of a bug that is fixed in a new version. > > You have to do with that rule, as I don't see any other rule that allows > me to continue working on it. > > Regards, > That is a very sensible rule. -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site Information Systems From ron at ...1740... Thu Oct 23 17:20:47 2014 From: ron at ...1740... (Ron) Date: Thu, 23 Oct 2014 17:20:47 +0200 Subject: [Gambas-user] Release goals for 3.7 / 4.0 In-Reply-To: References: <54466FD3.60100@...1...> Message-ID: Maybe we should have some Mike this? Ifdef System.Version >= 3.6.0 then ' do special new code.. Else ' something else Endif Regards, Ron Op 23 okt. 2014 14:49 schreef "Fabien Bodard" : > > ideally "back-compiling" to older versions as an option in the IDE, > > but I appreciate that would be quite hard to do, your > > time may be more usefully spent on other things. > > > > Ianld > sound a good idea. It will resolve the problem ... But is it complex > to do ?. Or maybe gambas package should embed multiple compiler. > > -- > Fabien Bodard > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Thu Oct 23 17:22:06 2014 From: taboege at ...626... (Tobias Boege) Date: Thu, 23 Oct 2014 17:22:06 +0200 Subject: [Gambas-user] Release goals for 3.7 / 4.0 In-Reply-To: References: <54466FD3.60100@...1...> Message-ID: <20141023152206.GA546@...2774...> On Thu, 23 Oct 2014, Ron wrote: > Maybe we should have some Mike this? > > Ifdef System.Version >= 3.6.0 then > ' do special new code.. > Else > ' something else > Endif > Do you mean System.FullVersion? -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Thu Oct 23 17:29:46 2014 From: taboege at ...626... (Tobias Boege) Date: Thu, 23 Oct 2014 17:29:46 +0200 Subject: [Gambas-user] Release goals for 3.7 / 4.0 In-Reply-To: <20141023152206.GA546@...2774...> References: <54466FD3.60100@...1...> <20141023152206.GA546@...2774...> Message-ID: <20141023152946.GB546@...2774...> On Thu, 23 Oct 2014, Tobias Boege wrote: > On Thu, 23 Oct 2014, Ron wrote: > > Maybe we should have some Mike this? > > > > Ifdef System.Version >= 3.6.0 then > > ' do special new code.. > > Else > > ' something else > > Endif > > > > Do you mean System.FullVersion? > Or better yet (in some sense): #If Gambas >= "3.6.0" ' Current code #Else ' Past code #Endif which *compiles* only the needed code. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From shordi at ...626... Thu Oct 23 18:54:15 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Thu, 23 Oct 2014 18:54:15 +0200 Subject: [Gambas-user] SmtpClient icon lost in Gambas 3.6 IDE Message-ID: Since yesterdey I've noticed that SmtpClient icon is not shown in ide controls window. (See picture attached) I don't know if this happens since 3.6 actualization of is a posterior issue. My System information: [System] Gambas=3.6.0 OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86_64 Distribution=Linux Mint 17 Qiana Desktop=GNOME Theme=QCleanlooks Language=es_ES.UTF-8 Memory=7968M [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 Some clue? -------------- next part -------------- A non-text attachment was scrubbed... Name: logos.png Type: image/png Size: 17175 bytes Desc: not available URL: From gambas.fr at ...626... Thu Oct 23 19:19:27 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 23 Oct 2014 19:19:27 +0200 Subject: [Gambas-user] Release goals for 3.7 / 4.0 In-Reply-To: <20141023152946.GB546@...2774...> References: <54466FD3.60100@...1...> <20141023152206.GA546@...2774...> <20141023152946.GB546@...2774...> Message-ID: Le 23 oct. 2014 17:33, "Tobias Boege" a ?crit : > > On Thu, 23 Oct 2014, Tobias Boege wrote: > > On Thu, 23 Oct 2014, Ron wrote: > > > Maybe we should have some Mike this? > > > > > > Ifdef System.Version >= 3.6.0 then > > > ' do special new code.. > > > Else > > > ' something else > > > Endif > > > > > > > Do you mean System.FullVersion? > > > > Or better yet (in some sense): > > #If Gambas >= "3.6.0" > ' Current code > #Else > ' Past code > #Endif > > which *compiles* only the needed code. It need a recompilation... So it doesnt solve the problem for binaries Tobias > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From jussi.lahtinen at ...626... Thu Oct 23 22:12:20 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 23 Oct 2014 23:12:20 +0300 Subject: [Gambas-user] Desktop.SendKeys, in version 3.6 In-Reply-To: <1414010652.3647.19.camel@...40...> References: <1413969493.3519.6.camel@...40...> <54480B53.2030604@...1...> <1414010652.3647.19.camel@...40...> Message-ID: At least with latest revision (6569) Sendkeys is present. How did you install Gambas on your system? Jussi On Wed, Oct 22, 2014 at 11:44 PM, Karl Reinl wrote: > Am Mittwoch, den 22.10.2014, 21:53 +0200 schrieb Beno?t Minisini: > > Le 22/10/2014 11:18, Karl Reinl a ?crit : > > > Salut Beno?t, > > > > > > the 01/07/2014 with revision #6357 you repaired the > > > Desktop.SendKeys, in version 3.6 I don't find the Sendkeys > > > anymore. > > > Nothing in Changlog for 3.6 (searched Sendkey) > > > Only a sendkey in x11. > > > > > > Is Desktop.SendKeys gone? > > > > > > > I am seeing Desktop.SendKeys in the gb.desktop component of Gambas > > 3.6... It didn't move. > > > > Are you sure you does not see it? > > > Salut Beno?t, > > no, I can't see SendKeys, to prove a 3e screenshot attached. > > Sorry for the typo, but no symbol present. > > The Systeminfos: > > [System] > Gambas=3.6.0 > OperatingSystem=Linux > Kernel=3.2.0-70-generic > Architecture=x86 > Distribution=Ubuntu 12.04.5 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 > > > -- > Amicalement > Charlie > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From karl.reinl at ...9... Thu Oct 23 23:50:57 2014 From: karl.reinl at ...9... (Karl Reinl) Date: Thu, 23 Oct 2014 23:50:57 +0200 Subject: [Gambas-user] Desktop.SendKeys, in version 3.6 In-Reply-To: References: <1413969493.3519.6.camel@...40...> <54480B53.2030604@...1...> <1414010652.3647.19.camel@...40...> Message-ID: <1414101057.3488.11.camel@...40...> Am Donnerstag, den 23.10.2014, 23:12 +0300 schrieb Jussi Lahtinen: > At least with latest revision (6569) Sendkeys is present. > > How did you install Gambas on your system? > > > Jussi --8<------------------------------------------- Salut Jussi, it is revision (6568) I use svn, while rev6569 is latest will give a try, same time I upgrade a VM 12.04.x to 14.04-x to see, if that is the cause. Version 3.6 just finished, this is not the cause, no 'Desktop.Sendkeys' svn Version rev6569 also just finished, this also is not the cause, no 'Desktop.Sendkeys' at all. Also not a problem gtk/qt4, no more Ideas. Will set up a 14.04 lts Ubuntu and install 3.6, to see if that finds my lost Sendkeys? -- Amicalement Charlie From karl.reinl at ...9... Fri Oct 24 00:19:21 2014 From: karl.reinl at ...9... (Karl Reinl) Date: Fri, 24 Oct 2014 00:19:21 +0200 Subject: [Gambas-user] Desktop.SendKeys, in version 3.6 In-Reply-To: References: <1413969493.3519.6.camel@...40...> <54480B53.2030604@...1...> <1414010652.3647.19.camel@...40...> Message-ID: <1414102761.3488.15.camel@...40...> Am Donnerstag, den 23.10.2014, 23:12 +0300 schrieb Jussi Lahtinen: > At least with latest revision (6569) Sendkeys is present. > > How did you install Gambas on your system? > > > Jussi ------------8<--------------------------------------------- Salut, my box and the VM are both less or more 'lubuntu' in it. Anybody using lubuntu having version 3.6 or svn and no problems with Desktop.Sendkeys() ? -- Amicalement Charlie From jussi.lahtinen at ...626... Fri Oct 24 01:13:04 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 24 Oct 2014 02:13:04 +0300 Subject: [Gambas-user] Desktop.SendKeys, in version 3.6 In-Reply-To: <1414101057.3488.11.camel@...40...> References: <1413969493.3519.6.camel@...40...> <54480B53.2030604@...1...> <1414010652.3647.19.camel@...40...> <1414101057.3488.11.camel@...40...> Message-ID: Have you looked at compiling logs? Anything fishy there? My system is xubuntu 14.04. Jussi On Fri, Oct 24, 2014 at 12:50 AM, Karl Reinl wrote: > Am Donnerstag, den 23.10.2014, 23:12 +0300 schrieb Jussi Lahtinen: > > At least with latest revision (6569) Sendkeys is present. > > > > How did you install Gambas on your system? > > > > > > Jussi > --8<------------------------------------------- > > Salut Jussi, > > it is revision (6568) I use svn, while rev6569 is latest will give a > try, same time I upgrade a VM 12.04.x to 14.04-x to see, if that is the > cause. > Version 3.6 just finished, this is not the cause, no 'Desktop.Sendkeys' > svn Version rev6569 also just finished, this also is not the cause, no > 'Desktop.Sendkeys' at all. > > Also not a problem gtk/qt4, no more Ideas. > > Will set up a 14.04 lts Ubuntu and install 3.6, to see if that finds my > lost Sendkeys? > -- > Amicalement > Charlie > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From vuott at ...325... Fri Oct 24 09:33:27 2014 From: vuott at ...325... (Ru Vuott) Date: Fri, 24 Oct 2014 08:33:27 +0100 Subject: [Gambas-user] Error packets signature In-Reply-To: <5443BED7.1090008@...1...> Message-ID: <1414136007.72516.YahooMailBasic@...3274...> Hello Beno?t, our friend tells when Gambas prepares the packet, it reaches the signature of the first file (.dsc) and here it puts on like to "think". He supposes that, to this point, it should ask him the password of signature, but - he tells - any request doesn't appears, and the IDE jams in waiting for. Regards vuott ------- Dom 19/10/14, Beno?t Minisini ha scritto: Oggetto: Re: [Gambas-user] Error packets signature A: "mailing list for gambas users" Data: Domenica 19 ottobre 2014, 15:38 Le 19/10/2014 14:50, Beno?t Minisini a ?crit : > Le 19/10/2014 14:26, Ru Vuott a ?crit : >> Well, he answered he tried to run from Terminal, but he doesn't get >> good results. >> >> Regards >> vuott >> > > Can you have more details? > Can your friend try revision #6564? -- Beno?t Minisini ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From shordi at ...626... Fri Oct 24 10:57:03 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Fri, 24 Oct 2014 10:57:03 +0200 Subject: [Gambas-user] Awkward warning message with Connections Message-ID: When a MySQL connection is stored in Connections class, its password can't be retrieved as normal for security purpouses, I guess. Not problem with that, you always can supply the password before opening it, but, when the project is launched always appears this warning before you can supply the password to the connection. gb.db: warning: proyect_name/connection_name: unable to retrieve connection password: Unable to get password Is there some way to prevent this? Regards From taboege at ...626... Fri Oct 24 12:10:01 2014 From: taboege at ...626... (Tobias Boege) Date: Fri, 24 Oct 2014 12:10:01 +0200 Subject: [Gambas-user] Window minimum dimensions Message-ID: <20141024101001.GA545@...2774...> Hi list, did anyone succeed in restricting a window to minimum dimensions, like "my window shall not be smaller than (w,h) = (100,100)". I tried quite some variations of the same idea: Private $iMinW As Integer Private $iMinH As Integer Public Sub Form_Resize() Me.W = Max(Me.W, $iMinW) Me.H = Max(Me.H, $iMinH) End but they have no effect at all on my system. On anyone else's? Is this not supposed to work? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Fri Oct 24 17:00:17 2014 From: taboege at ...626... (Tobias Boege) Date: Fri, 24 Oct 2014 17:00:17 +0200 Subject: [Gambas-user] SwitchButton with "OFF" when Enabled gets False Message-ID: <20141024150017.GB545@...2774...> Hi Benoit, gb.form's SwitchButton's DrawingArea_Draw() contains this: 80 If $fValue > 0 Then 81 If $iBg = Color.Default Then 82 iCol = Color.SelectedBackground 83 Else 84 iCol = $iBg 85 Endif 86 If Not Me.Enabled Then iCol = Color.Desaturate(Color.Merge(iCol, Color.ButtonBackground)) 87 iCol = Color.SetAlpha(iCol, 255 * (1 - $fValue)) 88 Else 89 iCol = Color.Default 90 Endif So Enabled = False has no effect (on iCol) when the button is "OFF". This looks like it's intentional but it makes the control appear differently when it is disabled, depending on whether it is ON or OFF... Why? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Fri Oct 24 17:07:39 2014 From: taboege at ...626... (Tobias Boege) Date: Fri, 24 Oct 2014 17:07:39 +0200 Subject: [Gambas-user] Tip #14 (EMBED) Message-ID: <20141024150739.GC545@...2774...> Hi, I received a question about tip #14 in the IDE. Indeed it contains some unnecessary complication: --8<--[ tips.en ]----------------------------------------------------------- 254 Dim hSuperControl As MyForm 255 ' Create a dialog 256 hForm = New MyDialog 257 ' Insert a form into this dialog 258 ' Note that this form takes two parameters before the container 259 hSuperControl = New MyForm(Param1, Param2, MyDialog) 260 ' Moves and resizes the form 261 hSuperControl.Move(8, 8, 128, 64) --8<------------------------------------------------------------------------ If someone tries to arrange a project around this snippet to test it, they may fail at the two additional parameters to MyForm. They don't seem relevant to the topic of embedding a form into a container. Remove them? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas.fr at ...626... Fri Oct 24 17:46:53 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 24 Oct 2014 17:46:53 +0200 Subject: [Gambas-user] Window minimum dimensions In-Reply-To: <20141024101001.GA545@...2774...> References: <20141024101001.GA545@...2774...> Message-ID: Normally it will work on tool boxes 2014-10-24 12:10 GMT+02:00 Tobias Boege : > Hi list, > > did anyone succeed in restricting a window to minimum dimensions, like "my > window shall not be smaller than (w,h) = (100,100)". > > I tried quite some variations of the same idea: > > Private $iMinW As Integer > Private $iMinH As Integer > > Public Sub Form_Resize() > Me.W = Max(Me.W, $iMinW) > Me.H = Max(Me.H, $iMinH) > End > > but they have no effect at all on my system. On anyone else's? Is this not > supposed to work? > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------------------------ > _______________________________________________ > 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... Fri Oct 24 17:49:04 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 24 Oct 2014 17:49:04 +0200 Subject: [Gambas-user] SwitchButton with "OFF" when Enabled gets False In-Reply-To: <20141024150017.GB545@...2774...> References: <20141024150017.GB545@...2774...> Message-ID: Well it might be an error .... i remember the logical chain to have a well rendered widget need some concentration 2014-10-24 17:00 GMT+02:00 Tobias Boege : > Hi Benoit, > > gb.form's SwitchButton's DrawingArea_Draw() contains this: > > 80 If $fValue > 0 Then > 81 If $iBg = Color.Default Then > 82 iCol = Color.SelectedBackground > 83 Else > 84 iCol = $iBg > 85 Endif > 86 If Not Me.Enabled Then iCol = Color.Desaturate(Color.Merge(iCol, Color.ButtonBackground)) > 87 iCol = Color.SetAlpha(iCol, 255 * (1 - $fValue)) > 88 Else > 89 iCol = Color.Default > 90 Endif > > So Enabled = False has no effect (on iCol) when the button is "OFF". This > looks like it's intentional but it makes the control appear differently when > it is disabled, depending on whether it is ON or OFF... Why? > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------------------------ > _______________________________________________ > 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... Fri Oct 24 17:53:19 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 24 Oct 2014 17:53:19 +0200 Subject: [Gambas-user] Tip #14 (EMBED) In-Reply-To: <20141024150739.GC545@...2774...> References: <20141024150739.GC545@...2774...> Message-ID: It wil be more easier without the param1, param2 that have no really needs to be 2014-10-24 17:07 GMT+02:00 Tobias Boege : > Hi, > > I received a question about tip #14 in the IDE. Indeed it contains some > unnecessary complication: > > --8<--[ tips.en ]----------------------------------------------------------- > 254 Dim hSuperControl As MyForm > 255 ' Create a dialog > 256 hForm = New MyDialog > 257 ' Insert a form into this dialog > 258 ' Note that this form takes two parameters before the container > 259 hSuperControl = New MyForm(Param1, Param2, MyDialog) > 260 ' Moves and resizes the form > 261 hSuperControl.Move(8, 8, 128, 64) > --8<------------------------------------------------------------------------ > > If someone tries to arrange a project around this snippet to test it, they > may fail at the two additional parameters to MyForm. They don't seem > relevant to the topic of embedding a form into a container. Remove them? > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas at ...1... Fri Oct 24 19:18:39 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 24 Oct 2014 19:18:39 +0200 Subject: [Gambas-user] Window minimum dimensions In-Reply-To: <20141024101001.GA545@...2774...> References: <20141024101001.GA545@...2774...> Message-ID: <544A89EF.5030904@...1...> Le 24/10/2014 12:10, Tobias Boege a ?crit : > Hi list, > > did anyone succeed in restricting a window to minimum dimensions, like "my > window shall not be smaller than (w,h) = (100,100)". > > I tried quite some variations of the same idea: > > Private $iMinW As Integer > Private $iMinH As Integer > > Public Sub Form_Resize() > Me.W = Max(Me.W, $iMinW) > Me.H = Max(Me.H, $iMinH) > End > > but they have no effect at all on my system. On anyone else's? Is this not > supposed to work? > > Regards, > Tobi > It's only internally supported for modal windows: the initial size of a modal window becomes automatically its minimal size. -- Beno?t Minisini From taboege at ...626... Fri Oct 24 20:20:47 2014 From: taboege at ...626... (Tobias Boege) Date: Fri, 24 Oct 2014 20:20:47 +0200 Subject: [Gambas-user] Window minimum dimensions In-Reply-To: <544A89EF.5030904@...1...> References: <20141024101001.GA545@...2774...> <544A89EF.5030904@...1...> Message-ID: <20141024182047.GG545@...2774...> On Fri, 24 Oct 2014, Beno?t Minisini wrote: > Le 24/10/2014 12:10, Tobias Boege a ?crit : > > Hi list, > > > > did anyone succeed in restricting a window to minimum dimensions, like "my > > window shall not be smaller than (w,h) = (100,100)". > > > > I tried quite some variations of the same idea: > > > > Private $iMinW As Integer > > Private $iMinH As Integer > > > > Public Sub Form_Resize() > > Me.W = Max(Me.W, $iMinW) > > Me.H = Max(Me.H, $iMinH) > > End > > > > but they have no effect at all on my system. On anyone else's? Is this not > > supposed to work? > > > > Regards, > > Tobi > > > > It's only internally supported for modal windows: the initial size of a > modal window becomes automatically its minimal size. > It seems (from a quick search of someone who has no idea of QT or GTK programming) you can set minimum dimensions in QT and GTK. Do you think it's good to add corresponding properties to Gambas' Window (and would you do it)? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...2524... Sat Oct 25 06:12:46 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 25 Oct 2014 04:12:46 +0000 Subject: [Gambas-user] Issue 572 in gambas: Gambas will not compile Message-ID: <0-6813199134517018827-1304318832118271093-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 572 by ptaylor2... at ...626...: Gambas will not compile https://code.google.com/p/gambas/issues/detail?id=572 I am having a issue with compiling the current version of Gambas on the current version of Debian wheezy. I read through all the messages posted in the mailist and that all the required library files are installed. I also tried installing all the different distribution available from the web site. Maybe someone can please tell me how I can fix this issue? I ran this to install it from the source code. ./reconf-all && ./configure -C && make && sudo make install Compiling Multimedia/WaveGenerator/... gbc: error: Component not found: gb.media Compiling Multimedia/WebCam/... OK Compiling Networking/ClientSocket/... OK Compiling Networking/DnsClient/... OK Compiling Networking/HTTPGet/... OK Compiling Networking/HTTPPost/... OK Compiling Networking/POPMailbox/... OK Compiling Networking/SerialPort/... OK Compiling Networking/ServerSocket/... OK Compiling Networking/UDPServerClient/... OK Compiling Networking/WebBrowser/... OK Compiling OpenGL/3DWebCam/... OK Compiling OpenGL/GambasGears/... OK Compiling OpenGL/Md2Model/... OK Compiling OpenGL/NeHeTutorial/... OK Compiling OpenGL/NeHeTutorialShell/... OK Compiling OpenGL/PDFPresentation/... OK Compiling OpenGL/TunnelSDL/... OK Compiling Printing/Printing/... OK Compiling Printing/ReportExample/... OK Compiling Web/SmallWiki/... OK make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/home/phil/install3/trunk/examples' make[1]: Leaving directory `/home/phil/install3/trunk/examples' Making install in . make[1]: Entering directory `/home/phil/install3/trunk' make[2]: Entering directory `/home/phil/install3/trunk' || || Unable to compile gb.media.form || make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/home/phil/install3/trunk' make[1]: Leaving directory `/home/phil/install3/trunk' root at ...57...:/home/phil/install3/trunk# -- 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... Sat Oct 25 06:42:52 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 25 Oct 2014 04:42:52 +0000 Subject: [Gambas-user] Issue 572 in gambas: Gambas will not compile In-Reply-To: <0-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> Comment #1 on issue 572 by ptaylor2... at ...626...: Gambas will not compile https://code.google.com/p/gambas/issues/detail?id=572 Here is update on what I did I followed the steps here http://howtogambas.org/data/attachment.php?id=43&keep_session=1518467502&for_session=1e00d6bc86700b41f2c357a3cabba0a1 sudo apt-get update sudo apt-get install build-essential autoconf libbz2-dev libfbclient2 libmysqlclient-dev unixodbc- dev libpq-dev libsqlite0-dev libsqlite3-dev libglib2.0-dev libgtk2.0-dev libldap2-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 libbonobo2-dev libcos4-dev libomniorb4-dev librsvg2- dev libpoppler-dev libpoppler-glib-dev libpoppler-private-dev libasound2-dev libesd0-dev libdirectfb-dev libaa1-dev libxtst-dev libffi-dev kdelibs5-dev firebird-dev libqt4-dev libglew-dev libimlib2-dev libv4l-dev libsdl-ttf2.0-dev libgnome-keyring-dev libgdk-pixbuf2.0-dev linux-libc-dev libgsl0-dev libncurses5-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libcairo2- dev libgmime-2.6-dev llvm-3.1-dev ./reconf-all ./configure -C make sudo make install I got the error message included above. -- 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 pata.karlsson at ...626... Sat Oct 25 07:31:03 2014 From: pata.karlsson at ...626... (Patrik Karlsson) Date: Sat, 25 Oct 2014 07:31:03 +0200 Subject: [Gambas-user] No Global Menu in Ubuntu In-Reply-To: <5446838A.80704@...1...> References: <5446838A.80704@...1...> Message-ID: 2014-10-21 18:02 GMT+02:00 Beno?t Minisini : > Le 21/10/2014 17:47, Patrik Karlsson a ?crit : > > 2014-10-17 19:41 GMT+02:00 Patrik Karlsson : > > > >> Hi, > >> > >> I have just updated to Gambas 3.6 from the gambas-team ppa and > discovered > >> that Gambas does not longer support Global Menu in Ubuntu when using > >> GB_GUI=gb.qt4. > >> > >> I can not make the IDE export the menus and my own apps only exports the > >> menu with gb.gtk and gb.gtk3. > > Maybe Qt4 does not support exporting its menu bar through the Unity > protocol? I don't know actually, as I use KDE... > > Hi Beno?t, I have just tested this in Ubuntu 14.10 and the problem is still there. I have also tested in KDE and Gambas does not export the menu in KDE. Is it possible to take a look at this? From bagoneo at ...69... Sat Oct 25 13:38:37 2014 From: bagoneo at ...69... (Gian) Date: Sat, 25 Oct 2014 13:38:37 +0200 Subject: [Gambas-user] Cannot Make executable Message-ID: <544B8BBD.7010107@...69...> Hello everyone, A friend of ours of Italian forum has encountered this problem after installing the new 3.6.0 The previous version 3.5.4 well worked. Any suggestions Thankyou gianluigi This is the error: Cannot Make executable gba:ERROR Cannot create temporaney archive file: /home/miei_progetti Project.MakeExecutable.3024 her system: [System] Gambas=3.6.0 OperatingSystem=Linux Kernel=3.13.0-37-generic Architecture=x86_64 Distribution=Ubuntu 12.04.5 LTS Desktop=GNOME Theme=QCleanlooks Language=it_IT.UTF-8 Memory=7976M [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+3=libgtk-3.so.0.400.2 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 From gambas at ...1... Sat Oct 25 13:49:48 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 25 Oct 2014 13:49:48 +0200 Subject: [Gambas-user] Cannot Make executable In-Reply-To: <544B8BBD.7010107@...69...> References: <544B8BBD.7010107@...69...> Message-ID: <544B8E5C.50606@...1...> Le 25/10/2014 13:38, Gian a ?crit : > Hello everyone, > A friend of ours of Italian forum has encountered this problem after > installing the new 3.6.0 > The previous version 3.5.4 well worked. > Any suggestions > > Thankyou > gianluigi > > > This is the error: > > Cannot Make executable > > gba:ERROR Cannot create temporaney archive file: /home/miei_progetti > > Project.MakeExecutable.3024 > That means there is a problem on its '/home/miei_progetti' directory, probably an authorization problem. Check the directory. Regards, -- Beno?t Minisini From bagoneo at ...69... Sat Oct 25 13:57:35 2014 From: bagoneo at ...69... (Gian) Date: Sat, 25 Oct 2014 13:57:35 +0200 Subject: [Gambas-user] Cannot Make executable In-Reply-To: <544B8E5C.50606@...1...> References: <544B8BBD.7010107@...69...> <544B8E5C.50606@...1...> Message-ID: <544B902F.7020102@...69...> Il 25/10/2014 13:49, Beno?t Minisini ha scritto: > That means there is a problem on its '/home/miei_progetti' directory, > probably an authorization problem. Check the directory. > > Regards, Hi Benoit, Thanks for the quick reply, forwarding to our friend gianluigi From gambas at ...1... Sat Oct 25 14:15:36 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 25 Oct 2014 14:15:36 +0200 Subject: [Gambas-user] No Global Menu in Ubuntu In-Reply-To: References: <5446838A.80704@...1...> Message-ID: <544B9468.5050300@...1...> Le 25/10/2014 07:31, Patrik Karlsson a ?crit : > 2014-10-21 18:02 GMT+02:00 Beno?t Minisini : > >> Le 21/10/2014 17:47, Patrik Karlsson a ?crit : >>> 2014-10-17 19:41 GMT+02:00 Patrik Karlsson : >>> >>>> Hi, >>>> >>>> I have just updated to Gambas 3.6 from the gambas-team ppa and >> discovered >>>> that Gambas does not longer support Global Menu in Ubuntu when using >>>> GB_GUI=gb.qt4. >>>> >>>> I can not make the IDE export the menus and my own apps only exports the >>>> menu with gb.gtk and gb.gtk3. >> >> Maybe Qt4 does not support exporting its menu bar through the Unity >> protocol? I don't know actually, as I use KDE... >> >> Hi Beno?t, > > I have just tested this in Ubuntu 14.10 and the problem is still there. I > have also tested in KDE and Gambas does not export the menu in KDE. > > Is it possible to take a look at this? Apparently the Ubuntu patch that make Qt application export their menu is not very clever. It works with most applications, but not with the Gambas IDE. I found a workaround in revision #6573. It is enabled only if you explicitely hide the menus, and then restart the IDE. Otherwise, you can explicitely set the 'APPMENU_DISPLAY_BOTH' environment variable to '1' before starting the IDE. Tell me if it works for you. Regards, -- Beno?t Minisini From gambas at ...2524... Sat Oct 25 16:07:01 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 25 Oct 2014 14:07:01 +0000 Subject: [Gambas-user] Issue 573 in gambas: Ignore .fuse_hidden files while building an autotools package Message-ID: <0-6813199134517018827-13999927721225640493-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Enhancement Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 573 by computer... at ...626...: Ignore .fuse_hidden files while building an autotools package https://code.google.com/p/gambas/issues/detail?id=573 An autotools package created by Gambas should not contain .fuse_hidden files. http://askubuntu.com/questions/493198/what-is-a-fuse-hidden-file-and-why-do-they-exist -- 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 Oct 25 16:33:15 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 25 Oct 2014 16:33:15 +0200 Subject: [Gambas-user] SwitchButton with "OFF" when Enabled gets False In-Reply-To: References: <20141024150017.GB545@...2774...> Message-ID: <544BB4AB.7050805@...1...> Le 24/10/2014 17:49, Fabien Bodard a ?crit : > Well it might be an error .... i remember the logical chain to have a > well rendered widget need some concentration > > 2014-10-24 17:00 GMT+02:00 Tobias Boege : >> Hi Benoit, >> >> gb.form's SwitchButton's DrawingArea_Draw() contains this: >> >> 80 If $fValue > 0 Then >> 81 If $iBg = Color.Default Then >> 82 iCol = Color.SelectedBackground >> 83 Else >> 84 iCol = $iBg >> 85 Endif >> 86 If Not Me.Enabled Then iCol = Color.Desaturate(Color.Merge(iCol, Color.ButtonBackground)) >> 87 iCol = Color.SetAlpha(iCol, 255 * (1 - $fValue)) >> 88 Else >> 89 iCol = Color.Default >> 90 Endif >> >> So Enabled = False has no effect (on iCol) when the button is "OFF". This >> looks like it's intentional but it makes the control appear differently when >> it is disabled, depending on whether it is ON or OFF... Why? >> >> Regards, >> Tobi >> I fixed that in revision #6574. Regards, -- Beno?t Minisini From gambas at ...1... Sat Oct 25 16:36:22 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 25 Oct 2014 16:36:22 +0200 Subject: [Gambas-user] Awkward warning message with Connections In-Reply-To: References: Message-ID: <544BB566.5060302@...1...> Le 24/10/2014 10:57, Jorge Carri?n a ?crit : > When a MySQL connection is stored in Connections class, its password can't > be retrieved as normal for security purpouses, I guess. > > Not problem with that, you always can supply the password before opening > it, but, when the project is launched always appears this warning before > you can supply the password to the connection. > > gb.db: warning: proyect_name/connection_name: unable to retrieve connection > password: Unable to get password > > Is there some way to prevent this? > > Regards In revision #6575, I display the warning message only if the gb.desktop component has been actually loaded. This will be backported to the 3.6.1 release. Regards, -- Beno?t Minisini From gambas at ...1... Sat Oct 25 16:37:46 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 25 Oct 2014 16:37:46 +0200 Subject: [Gambas-user] Error packets signature In-Reply-To: <1414136007.72516.YahooMailBasic@...3274...> References: <1414136007.72516.YahooMailBasic@...3274...> Message-ID: <544BB5BA.8060001@...1...> Le 24/10/2014 09:33, Ru Vuott a ?crit : > Hello Beno?t, > > our friend tells when Gambas prepares the packet, it reaches the signature of the first file (.dsc) and here it puts on like to "think". > He supposes that, to this point, it should ask him the password of signature, but - he tells - any request doesn't appears, and the IDE jams in waiting for. > > Regards > vuott > I see... So we need an option to run the packager inside a true virtual terminal. I will try to see if it is possible. Regards, -- Beno?t Minisini From gambas at ...1... Sat Oct 25 16:38:23 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 25 Oct 2014 16:38:23 +0200 Subject: [Gambas-user] SmtpClient icon lost in Gambas 3.6 IDE In-Reply-To: References: Message-ID: <544BB5DF.9010501@...1...> Le 23/10/2014 18:54, Jorge Carri?n a ?crit : > Since yesterdey I've noticed that SmtpClient icon is not shown in ide > controls window. (See picture attached) > I don't know if this happens since 3.6 actualization of is a posterior > issue. > > My System information: > > [System] > Gambas=3.6.0 > OperatingSystem=Linux > Kernel=3.13.0-24-generic > Architecture=x86_64 > Distribution=Linux Mint 17 Qiana > Desktop=GNOME > Theme=QCleanlooks > Language=es_ES.UTF-8 > Memory=7968M > [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 > > Some clue? > There is something weird in your Gambas installation. How did you install it? -- Beno?t Minisini From gambas at ...1... Sat Oct 25 16:40:13 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 25 Oct 2014 16:40:13 +0200 Subject: [Gambas-user] About SMTP component In-Reply-To: References: <54480813.1090002@...626...> Message-ID: <544BB64D.20503@...1...> Le 23/10/2014 09:48, Jorge Carri?n a ?crit : > Lee, > Yes, the my function works, it's only the related way of show in email > readers what doesn't like me. Sometimes we have to send large text files > and it's ugly to see that in thunderbird... > Is nota a big issue, I suppouse. "Perfection is reserved for gods", isn't > it?. > > Thanks for the response. > > Regards. > > 2014-10-22 21:40 GMT+02:00 T Lee Davidson : > >> Jorge, >> In revision #6574, I added a "Content-Disposition" header to each attachment to tell him if it should be "inlined" (when you don't give an explicit name to the attachment with the Add method) or "attached" (when you give an explicit name). But apparently it has no effect in my Thunderbird. Can you tell me if it has an effect for you? -- Beno?t Minisini From gambas at ...2524... Sat Oct 25 16:46:55 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 25 Oct 2014 14:46:55 +0000 Subject: [Gambas-user] Issue 572 in gambas: Gambas will not compile In-Reply-To: <1-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> <0-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> Comment #2 on issue 572 by ptaylor2... at ...626...: Gambas will not compile https://code.google.com/p/gambas/issues/detail?id=572 I was able to load gambas3 from from the debian file list but when I try and run it I am getting this. gambas3 ERROR: #2: Cannot load class '.Table.Fields': Cannot load parent class: Cannot load class '.SubCollection': Unable to load class file -- 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... Sat Oct 25 17:06:08 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 25 Oct 2014 15:06:08 +0000 Subject: [Gambas-user] Issue 572 in gambas: Gambas will not compile In-Reply-To: <2-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> <0-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> Comment #3 on issue 572 by tabo... at ...626...: Gambas will not compile https://code.google.com/p/gambas/issues/detail?id=572 These errors are really weird. We need your compile logs, as per http://gambaswiki.org/wiki/doc/report#t3. Please drop the "-C" switch from the ./configure call when you do that. Also note that the book you are referring to was last updated in Sep 2013. Its author, however, updated the official Debian installation page in the wiki only two months ago: http://gambaswiki.org/wiki/install/debian. -- 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 sebikul at ...626... Sat Oct 25 17:14:25 2014 From: sebikul at ...626... (Sebastian Kulesz) Date: Sat, 25 Oct 2014 12:14:25 -0300 Subject: [Gambas-user] SmtpClient icon lost in Gambas 3.6 IDE In-Reply-To: <544BB5DF.9010501@...1...> References: <544BB5DF.9010501@...1...> Message-ID: I think it was a mistake on my side. If you are using any of the PPAs, i missed the control directory for gb.net.smtp and gb.net.pop3 between all the changes. It is fixed now, the Stable PPA is building a new release (only packaging fixes, no code backported), and it will be available in the Daily PPA with the next set of builds. I'm sorry for that, and thanks for pointing it out! On Sat, Oct 25, 2014 at 11:38 AM, Beno?t Minisini < gambas at ...1...> wrote: > Le 23/10/2014 18:54, Jorge Carri?n a ?crit : > > Since yesterdey I've noticed that SmtpClient icon is not shown in ide > > controls window. (See picture attached) > > I don't know if this happens since 3.6 actualization of is a posterior > > issue. > > > > My System information: > > > > [System] > > Gambas=3.6.0 > > OperatingSystem=Linux > > Kernel=3.13.0-24-generic > > Architecture=x86_64 > > Distribution=Linux Mint 17 Qiana > > Desktop=GNOME > > Theme=QCleanlooks > > Language=es_ES.UTF-8 > > Memory=7968M > > [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 > > > > Some clue? > > > > There is something weird in your Gambas installation. How did you > install it? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From ea7dfh at ...2382... Sat Oct 25 18:14:37 2014 From: ea7dfh at ...2382... (Jesus) Date: Sat, 25 Oct 2014 18:14:37 +0200 Subject: [Gambas-user] Window minimum dimensions In-Reply-To: <20141024182047.GG545@...2774...> References: <20141024101001.GA545@...2774...> <544A89EF.5030904@...1...> <20141024182047.GG545@...2774...> Message-ID: <544BCC6D.5010909@...2382...> El 24/10/14 a las 20:20, Tobias Boege escribi?: Do you think > it's good to add corresponding properties to Gambas' Window (and would > you do it)? > > Regards, > Tobi > Absolutely... Please Beno?t, do it ;-) -- Jesus Guardon From gambas at ...2524... Sat Oct 25 20:54:20 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 25 Oct 2014 18:54:20 +0000 Subject: [Gambas-user] Issue 572 in gambas: Gambas will not compile In-Reply-To: <3-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> <0-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> Comment #4 on issue 572 by ptaylor2... at ...626...: Gambas will not compile https://code.google.com/p/gambas/issues/detail?id=572 I did not compile it I installed it using apt-get install filename. I can I figure out how to fix this issue please? -- 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 jusabejusabe at ...626... Sat Oct 25 20:57:51 2014 From: jusabejusabe at ...626... (Julio Sanchez) Date: Sat, 25 Oct 2014 20:57:51 +0200 Subject: [Gambas-user] Translation hot. Message-ID: Would need it programming from the IDE, you could choose and change the language of the application I was doing, to see how the translation of the text strings in forms is. Is it possible? Or need to implement it? Gambas3.5.4 use. Regards Julio From gambas at ...2524... Sat Oct 25 21:09:22 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 25 Oct 2014 19:09:22 +0000 Subject: [Gambas-user] Issue 572 in gambas: Gambas will not compile In-Reply-To: <4-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> <0-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> Comment #5 on issue 572 by tabo... at ...626...: Gambas will not compile https://code.google.com/p/gambas/issues/detail?id=572 Wait... Your first two messages clearly state (and show!) that you tried to compile Gambas from source. [ As a side note, you shouldn't try this as root, as your first messages shows you did. ] I can't help you if you don't say what you are doing. If you only want Gambas to run on your system, you should install binary packages from your distribution. The necessary commands should be here: http://gambaswiki.org/wiki/install/debian. -- 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... Sat Oct 25 21:17:44 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 25 Oct 2014 19:17:44 +0000 Subject: [Gambas-user] Issue 572 in gambas: Gambas will not compile In-Reply-To: <5-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> <0-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> Comment #6 on issue 572 by ptaylor2... at ...626...: Gambas will not compile https://code.google.com/p/gambas/issues/detail?id=572 The first time I tried to compile gambas but it failed then I installed it on debian using the apt-get install gambas3. -- 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 shordi at ...626... Sat Oct 25 21:30:33 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Sat, 25 Oct 2014 21:30:33 +0200 Subject: [Gambas-user] Awkward warning message with Connections In-Reply-To: <544BB566.5060302@...1...> References: <544BB566.5060302@...1...> Message-ID: Thanks Benoit. Good work. 2014-10-25 16:36 GMT+02:00 Beno?t Minisini : > Le 24/10/2014 10:57, Jorge Carri?n a ?crit : > > When a MySQL connection is stored in Connections class, its password > can't > > be retrieved as normal for security purpouses, I guess. > > > > Not problem with that, you always can supply the password before opening > > it, but, when the project is launched always appears this warning before > > you can supply the password to the connection. > > > > gb.db: warning: proyect_name/connection_name: unable to retrieve > connection > > password: Unable to get password > > > > Is there some way to prevent this? > > > > Regards > > In revision #6575, I display the warning message only if the gb.desktop > component has been actually loaded. This will be backported to the 3.6.1 > release. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From shordi at ...626... Sat Oct 25 21:32:54 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Sat, 25 Oct 2014 21:32:54 +0200 Subject: [Gambas-user] SmtpClient icon lost in Gambas 3.6 IDE In-Reply-To: <544BB5DF.9010501@...1...> References: <544BB5DF.9010501@...1...> Message-ID: I updated from 3.54 of Stable repository of Sebikull/gambas-team. Must uninstall and reinstall, then? Regards 2014-10-25 16:38 GMT+02:00 Beno?t Minisini : > Le 23/10/2014 18:54, Jorge Carri?n a ?crit : > > Since yesterdey I've noticed that SmtpClient icon is not shown in ide > > controls window. (See picture attached) > > I don't know if this happens since 3.6 actualization of is a posterior > > issue. > > > > My System information: > > > > [System] > > Gambas=3.6.0 > > OperatingSystem=Linux > > Kernel=3.13.0-24-generic > > Architecture=x86_64 > > Distribution=Linux Mint 17 Qiana > > Desktop=GNOME > > Theme=QCleanlooks > > Language=es_ES.UTF-8 > > Memory=7968M > > [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 > > > > Some clue? > > > > There is something weird in your Gambas installation. How did you > install it? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From shordi at ...626... Sat Oct 25 21:38:41 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Sat, 25 Oct 2014 21:38:41 +0200 Subject: [Gambas-user] About SMTP component In-Reply-To: <544BB64D.20503@...1...> References: <54480813.1090002@...626...> <544BB64D.20503@...1...> Message-ID: Is hard for me. I only use the stable version, because all our developments are based in it. Should I uninstall ppa:gambas-team and install the daily or someone can test it? Regards. 2014-10-25 16:40 GMT+02:00 Beno?t Minisini : > Le 23/10/2014 09:48, Jorge Carri?n a ?crit : > > Lee, > > Yes, the my function works, it's only the related way of show in email > > readers what doesn't like me. Sometimes we have to send large text files > > and it's ugly to see that in thunderbird... > > Is nota a big issue, I suppouse. "Perfection is reserved for gods", isn't > > it?. > > > > Thanks for the response. > > > > Regards. > > > > 2014-10-22 21:40 GMT+02:00 T Lee Davidson : > > > >> Jorge, > >> > > In revision #6574, I added a "Content-Disposition" header to each > attachment to tell him if it should be "inlined" (when you don't give an > explicit name to the attachment with the Add method) or "attached" (when > you give an explicit name). > > But apparently it has no effect in my Thunderbird. > > Can you tell me if it has an effect for you? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sebikul at ...626... Sat Oct 25 21:39:03 2014 From: sebikul at ...626... (Sebastian Kulesz) Date: Sat, 25 Oct 2014 16:39:03 -0300 Subject: [Gambas-user] SmtpClient icon lost in Gambas 3.6 IDE In-Reply-To: References: <544BB5DF.9010501@...1...> Message-ID: You must update to Gambas 3.6. I don't support 3.5 any more. It shouldn't even be available, you must be using a discontinued version of Ubuntu or one of its derivatives On Oct 25, 2014 4:34 PM, "Jorge Carri?n" wrote: > I updated from 3.54 of Stable repository of Sebikull/gambas-team. > > Must uninstall and reinstall, then? > > Regards > > 2014-10-25 16:38 GMT+02:00 Beno?t Minisini : > > > Le 23/10/2014 18:54, Jorge Carri?n a ?crit : > > > Since yesterdey I've noticed that SmtpClient icon is not shown in ide > > > controls window. (See picture attached) > > > I don't know if this happens since 3.6 actualization of is a posterior > > > issue. > > > > > > My System information: > > > > > > [System] > > > Gambas=3.6.0 > > > OperatingSystem=Linux > > > Kernel=3.13.0-24-generic > > > Architecture=x86_64 > > > Distribution=Linux Mint 17 Qiana > > > Desktop=GNOME > > > Theme=QCleanlooks > > > Language=es_ES.UTF-8 > > > Memory=7968M > > > [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 > > > > > > Some clue? > > > > > > > There is something weird in your Gambas installation. How did you > > install it? > > > > -- > > Beno?t Minisini > > > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From shordi at ...626... Sat Oct 25 21:40:02 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Sat, 25 Oct 2014 21:40:02 +0200 Subject: [Gambas-user] SmtpClient icon lost in Gambas 3.6 IDE In-Reply-To: References: <544BB5DF.9010501@...1...> Message-ID: Thanks Sebasti?n. Regards 2014-10-25 17:14 GMT+02:00 Sebastian Kulesz : > I think it was a mistake on my side. If you are using any of the PPAs, i > missed the control directory for gb.net.smtp and gb.net.pop3 between all > the changes. > > It is fixed now, the Stable PPA is building a new release (only packaging > fixes, no code backported), and it will be available in the Daily PPA with > the next set of builds. > > I'm sorry for that, and thanks for pointing it out! > > On Sat, Oct 25, 2014 at 11:38 AM, Beno?t Minisini < > gambas at ...1...> wrote: > > > Le 23/10/2014 18:54, Jorge Carri?n a ?crit : > > > Since yesterdey I've noticed that SmtpClient icon is not shown in ide > > > controls window. (See picture attached) > > > I don't know if this happens since 3.6 actualization of is a posterior > > > issue. > > > > > > My System information: > > > > > > [System] > > > Gambas=3.6.0 > > > OperatingSystem=Linux > > > Kernel=3.13.0-24-generic > > > Architecture=x86_64 > > > Distribution=Linux Mint 17 Qiana > > > Desktop=GNOME > > > Theme=QCleanlooks > > > Language=es_ES.UTF-8 > > > Memory=7968M > > > [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 > > > > > > Some clue? > > > > > > > There is something weird in your Gambas installation. How did you > > install it? > > > > -- > > Beno?t Minisini > > > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Sat Oct 25 21:49:57 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 25 Oct 2014 19:49:57 +0000 Subject: [Gambas-user] Issue 572 in gambas: Gambas will not compile In-Reply-To: <6-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> <0-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> Comment #7 on issue 572 by tabo... at ...626...: Gambas will not compile https://code.google.com/p/gambas/issues/detail?id=572 Hmm, I guess you didn't uninstall your failed compilation attempt? It *may* be that the Gambas interpreter from your distribution loads components from your compilation attempt (and that they're incompatible). This could explain the error in your comment #2. Try this: 1. Go to the directory you tried to *compile* Gambas from. If you don't have it anymore, get the source archive again and run $ ./reconf-all && ./configure there. No make or make install needed this time. 2. As root, do # make uninstall 3. Reinstall Gambas via apt-get. -- 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 willy at ...2734... Sat Oct 25 23:14:08 2014 From: willy at ...2734... (Willy Raets) Date: Sat, 25 Oct 2014 23:14:08 +0200 Subject: [Gambas-user] gb.report question In-Reply-To: References: <1413989859.3501.65.camel@...3024...> Message-ID: <1414271648.8324.0.camel@...3024...> On do, 2014-10-23 at 07:37 +0200, Fabien Bodard wrote: > Van toi sens me en example I'll try to come up an example for you. > -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From Karl.Reinl at ...2345... Sat Oct 25 23:40:00 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sat, 25 Oct 2014 23:40:00 +0200 Subject: [Gambas-user] Desktop.SendKeys, in version 3.6 In-Reply-To: References: <1413969493.3519.6.camel@...40...> <54480B53.2030604@...1...> <1414010652.3647.19.camel@...40...> <1414101057.3488.11.camel@...40...> Message-ID: <1414273200.3457.5.camel@...40...> Salut, is anybody out there with a Ubuntu, having made dist-upgrade 12.04.x LTS to 14.04.1 LTS, with gambas3 3.6 and has Desktop.SendKeys working? -- Amicalement Charlie From gambas at ...1... Sat Oct 25 23:49:30 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 25 Oct 2014 23:49:30 +0200 Subject: [Gambas-user] Desktop.SendKeys, in version 3.6 In-Reply-To: <1414273200.3457.5.camel@...40...> References: <1413969493.3519.6.camel@...40...> <54480B53.2030604@...1...> <1414010652.3647.19.camel@...40...> <1414101057.3488.11.camel@...40...> <1414273200.3457.5.camel@...40...> Message-ID: <544C1AEA.4010704@...1...> Le 25/10/2014 23:40, Charlie Reinl a ?crit : > Salut, > > is anybody out there with a Ubuntu, having made dist-upgrade 12.04.x LTS > to 14.04.1 LTS, with gambas3 3.6 and has Desktop.SendKeys working? > Did you try to clean up your system from everything related to Gambas (i.e. removing all packages, then removing by hand if they still exist '/usr/share/gambas3', '/usr/lib/gambas3', '/usr/bin/gambas3', '/usr/bin/gb{x,c,a,w,s}3'? -- Beno?t Minisini From gambas at ...1... Sat Oct 25 23:50:03 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 25 Oct 2014 23:50:03 +0200 Subject: [Gambas-user] Desktop.SendKeys, in version 3.6 In-Reply-To: <544C1AEA.4010704@...1...> References: <1413969493.3519.6.camel@...40...> <54480B53.2030604@...1...> <1414010652.3647.19.camel@...40...> <1414101057.3488.11.camel@...40...> <1414273200.3457.5.camel@...40...> <544C1AEA.4010704@...1...> Message-ID: <544C1B0B.4060908@...1...> Le 25/10/2014 23:49, Beno?t Minisini a ?crit : > Le 25/10/2014 23:40, Charlie Reinl a ?crit : >> Salut, >> >> is anybody out there with a Ubuntu, having made dist-upgrade 12.04.x LTS >> to 14.04.1 LTS, with gambas3 3.6 and has Desktop.SendKeys working? >> > > Did you try to clean up your system from everything related to Gambas > (i.e. removing all packages, then removing by hand if they still exist > '/usr/share/gambas3', '/usr/lib/gambas3', '/usr/bin/gambas3', > '/usr/bin/gb{x,c,a,w,s}3'? > ... And then compiling/reinstalling from scratch (of course.)? -- Beno?t Minisini From Karl.Reinl at ...2345... Sun Oct 26 00:20:12 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 26 Oct 2014 00:20:12 +0200 Subject: [Gambas-user] Desktop.SendKeys, in version 3.6 In-Reply-To: <544C1B0B.4060908@...1...> References: <1413969493.3519.6.camel@...40...> <54480B53.2030604@...1...> <1414010652.3647.19.camel@...40...> <1414101057.3488.11.camel@...40...> <1414273200.3457.5.camel@...40...> <544C1AEA.4010704@...1...> <544C1B0B.4060908@...1...> Message-ID: <1414275612.24709.10.camel@...40...> Am Samstag, den 25.10.2014, 23:50 +0200 schrieb Beno?t Minisini: > Le 25/10/2014 23:49, Beno?t Minisini a ?crit : > > Le 25/10/2014 23:40, Charlie Reinl a ?crit : > >> Salut, > >> > >> is anybody out there with a Ubuntu, having made dist-upgrade 12.04.x LTS > >> to 14.04.1 LTS, with gambas3 3.6 and has Desktop.SendKeys working? > >> > > > > Did you try to clean up your system from everything related to Gambas > > (i.e. removing all packages, then removing by hand if they still exist > > '/usr/share/gambas3', '/usr/lib/gambas3', '/usr/bin/gambas3', > > '/usr/bin/gb{x,c,a,w,s}3'? > > > > ... And then compiling/reinstalling from scratch (of course.)? > Salut Beno?t, yes I cleaned up (but only a 'make uninstall') and I set up from scratch and I re-run the apt-get for the packages list from "Gambas 3 (version >= 3.5. or /trunk version)" found at the shrine. I made this for 3 computers (see attachment) I also have the logs for this. -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: SendKeys-gambas3-3.6.ods Type: application/vnd.oasis.opendocument.spreadsheet Size: 22387 bytes Desc: not available URL: From gambas at ...2524... Sun Oct 26 01:09:04 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 25 Oct 2014 23:09:04 +0000 Subject: [Gambas-user] Issue 572 in gambas: Gambas will not compile In-Reply-To: <7-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> References: <7-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> <0-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> Message-ID: <8-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> Comment #8 on issue 572 by ptaylor2... at ...626...: Gambas will not compile https://code.google.com/p/gambas/issues/detail?id=572 I did that then I typed apt-get remove gambas3 apt-get install gambas3 When I try and exec the program I get this: gambas3 /usr/bin/env: gbr3: No such file or directory -- 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 ian.roper at ...1974... Sun Oct 26 09:02:28 2014 From: ian.roper at ...1974... (Ian) Date: Sun, 26 Oct 2014 16:02:28 +0800 Subject: [Gambas-user] Gtk-CRITICAL messages. Message-ID: <544CAA94.10302@...1974...> I was testing why this error message appears.... "(ApplicationName:6831): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 'GTK_IS_WIDGET (widget)' failed" It occurred every time the mouse passed over a control. Not sure if it is fixable or a just a GTK interface thing. [System] Gambas=3.6.0 OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86_64 Distribution=Linux Mint 17 Qiana Desktop=GNOME Theme=QGtk Language=en_AU.UTF-8 Memory=7858M [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 Cheers Ian. From shordi at ...626... Sun Oct 26 11:43:55 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Sun, 26 Oct 2014 11:43:55 +0100 Subject: [Gambas-user] Gtk-CRITICAL messages. In-Reply-To: <544CAA94.10302@...1974...> References: <544CAA94.10302@...1974...> Message-ID: Try to change the qt4 theme with qtconfig, fron default (who uses gtk functions) to another who doesn't. It works for me. Regards 2014-10-26 9:02 GMT+01:00 Ian : > I was testing why this error message appears.... > > "(ApplicationName:6831): Gtk-CRITICAL **: IA__gtk_widget_get_direction: > assertion 'GTK_IS_WIDGET (widget)' failed" > > It occurred every time the mouse passed over a control. > > Not sure if it is fixable or a just a GTK interface thing. > > [System] > Gambas=3.6.0 > OperatingSystem=Linux > Kernel=3.13.0-24-generic > Architecture=x86_64 > Distribution=Linux Mint 17 Qiana > Desktop=GNOME > Theme=QGtk > Language=en_AU.UTF-8 > Memory=7858M > [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 > > Cheers Ian. > > > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From Karl.Reinl at ...2345... Sun Oct 26 21:37:27 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 26 Oct 2014 21:37:27 +0100 Subject: [Gambas-user] SOLVED Desktop.SendKeys, in version 3.6 In-Reply-To: <544C1B0B.4060908@...1...> References: <1413969493.3519.6.camel@...40...> <54480B53.2030604@...1...> <1414010652.3647.19.camel@...40...> <1414101057.3488.11.camel@...40...> <1414273200.3457.5.camel@...40...> <544C1AEA.4010704@...1...> <544C1B0B.4060908@...1...> Message-ID: <1414355847.3426.7.camel@...40...> SOLVED Salut Beno?t, Finally, I found the error. Me or maybe even you, at least gambas. The attached Screen shows the Desktop properties/methods/constance if the component gb.desktop IS NOT ADDED to the project. Imagine the rest, and tell me why that is like this. Why do we have two different Desktops ? -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto vom 2014-10-22 22:15:11.png Type: image/png Size: 27523 bytes Desc: not available URL: From mckaygerhard at ...626... Sun Oct 26 23:32:26 2014 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sun, 26 Oct 2014 18:02:26 -0430 Subject: [Gambas-user] Release goals for 3.7 / 4.0 Message-ID: From: Beno?t Minisini > I think for gambas 3.7 the changes between versions must stop > (preferable), > > so then the repository can be able to stable across time.. The rule is the following: A program made with Gambas 3.X will work with > all Gambas 3.Y where Y >= X, except if your program relies on the bad > behaviour of a bug that is fixed in a new version. > You have to do with that rule, as I don't see any other rule that allows > me to continue working on it. > ok u have right, but for example, if some one made a good utility tht's usefully for my enterprise but its made in new gambas components.. i'hvn alowed to use in my gambas 3.4 now gambas have the desktop part wth lot of features, some of my manpowers made components with newer version recent 3.6 and i must revise and return to redone the work with older 3.4 due we use gambas for some daemons and some cgi progrms (is the best for window migratng without re-learn) > > if i must have in constant update of my code respect the changes of gambas > ... my concentration in funtional part does not goes well .. due in > enterprices the time its a mandatory vector with no fallback point or well another point its that gambas can be compiled all new features in any distribution that still server, for example, we still use squeeze and lenny on many servers, of course we use it in my job with some well patcheds up to date packages made in home.. (and we think about offer a repo for that) currently gabmas 3.4 and 3.5 compiles almost all in squeeze, on lenny nly mis media and jit i'm afraid that next releases will not compiles in squeeze at leats From gambas at ...1... Mon Oct 27 00:27:35 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Mon, 27 Oct 2014 00:27:35 +0100 Subject: [Gambas-user] About the Gambas software repository Message-ID: <544D8367.7090906@...1...> Hi, With revision #6583, you can start to play with the Gambas software repository, as known as the "Gambas farm server". This is a Gambas project located in '/trunk/app/src/gambas-farm-server'. To install a Gambas farm server, you have to: - Compile the gambas-farm-server project and make an executable from it. - Install that executable a CGI script on your HTTP server. It must be run through the '/farm' path. I.e. if your server is "my-gambas-farm.org", then the URL to access the CGI script must be "http://my-gambas-server/farm". The executable is less than 20 Kb, not very big isn't it? - Install a database server, mysql or postgresql. I have tested with postgresql. - Create a "~/.config/gambas3/gambas-farm-server.conf" settings file manually, in the user directory associated with the user running the CGI script (usually it's the http server user). - The syntax of the settings file is: [SMTP] Host= Port= User= Password= Encrypt= ("SSL", "TLS" or nothing) [Database] Type= User= Password= Everything is optional except the SMTP server and the Database type. - Configure your database server so that the CGI user can connect. Enter the information in the settings file. - Create a database named "gambas3_farm". - Initialize the database (i.e. create the tables) by running: $ gambas-farm-server.gambas -init-db directly from the command-line. It will use the information provided in the settings file to connect to the database. If everything went weel, you are ready! Anyway, I have setup a farm server on the wiki (gambaswiki.org) for testing. The IDE option dialog has now a "Publishing" panel to define the different publishing servers, and to register a new user to any server. Registering a new user uses the e-mail defined in the 'Identity' panel: the server sends a e-mail with a link inside. You click on that link to activate your account. There is a publishing dialog in the 'Project' menu for publishing your software on any farm server listed in the option dialog, provided that you provide a valid user and password. A published project (named "software") can have tags. These are english words that are registered in the publishing server. Automatic completion of these tags is provided by requesting the server in real-time. The goal is to avoid similar equivalent tags. Test that if you want, and please report any problem. Beware that this is very-early-not-well-tested development! There is no program to search the software on a farm server yet, and to install it on your system. This is the next goal: the "Gambas software installer". You can find a better name and tell me if you want. Here are my thoughts about that: - You select the software you want by searching the farm server by specifying part of the name, tags, and sorting the software by vote, downloads, or upload date. - You can vote for a software, or cancel your vote, provided that you are a registered user on a farm. Searching and downloading does not require to be registered. - Only source packages are stored on the server. - The software will be installed in your home directory (in a not yet decided directory), then compile. - Software will have dependencies on other softwares, like a package manager. The installer will have to be able to manage those dependencies. - With the help of Gambas users, we can imagine that the installer will be able to install the Gambas binary packages of components required by the software (asking the root password, running apt-get/yum/urpmi..., all that in a beautiful GUI). If not possible, a message will warn for components not installed on the system. - The IDE open project box will automatically list the software installed on the system, so that you can open their sources and play with them. - The Gambas examples will be move to the final official farm server. Tell me what you think, your ideas, if you want to help by writing the installer so that I can do something else... :-) I will make a documentation of the HTTP server protocol soon. Regards, -- Beno?t Minisini From shordi at ...626... Mon Oct 27 04:56:54 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Mon, 27 Oct 2014 04:56:54 +0100 Subject: [Gambas-user] A little question about propagation of events and ShowModal. Message-ID: I have a User help routine based in Key F1 keyrelease. The code is in form FMain Form_KeyRelease() Event. This event is nicely propagated to all forms in FMain.Controls collection and all works fine. Today I've noticed that doesn't work on modal forms (opened with ShowModal). If copy/paste the FMain code to Form_KeyRelease of modal form all works again but I thought that ShowModal it's only related with the way that "Visual Focus" (if such thing exists) is managed. In ShowModal a form is non-dependant of FMain? I mean, by example: can FMain be closed since a showmodal form? If a showmodal form open a new form an closed himself after, the form created is closed too? This are things that I could try in a moment, but I don't know if that gives me the solution to the question: What means, really, Showmodal? (Perhaps 5 A.M. o'clock its not the best time to make this questions...) Regards From bbruen at ...2308... Mon Oct 27 06:26:42 2014 From: bbruen at ...2308... (B Bruen) Date: Mon, 27 Oct 2014 15:56:42 +1030 Subject: [Gambas-user] About the Gambas software repository In-Reply-To: <544D8367.7090906@...1...> References: <544D8367.7090906@...1...> Message-ID: <20141027155642.94aa99d0fc7badf22d92ccb6@...2308...> On Mon, 27 Oct 2014 00:27:35 +0100 Beno?t Minisini wrote: > Hi, > > With revision #6583, you can start to play with the Gambas software > repository, as known as the "Gambas farm server". > > This is a Gambas project located in '/trunk/app/src/gambas-farm-server'. > > To install a Gambas farm server, you have to: > > - Compile the gambas-farm-server project and make an executable from it. > > - Install that executable a CGI script on your HTTP server. It must be > run through the '/farm' path. I.e. if your server is > "my-gambas-farm.org", then the URL to access the CGI script must be > "http://my-gambas-server/farm". The executable is less than 20 Kb, not > very big isn't it? > > - Install a database server, mysql or postgresql. I have tested with > postgresql. > > - Create a "~/.config/gambas3/gambas-farm-server.conf" settings file > manually, in the user directory associated with the user running the CGI > script (usually it's the http server user). > > - The syntax of the settings file is: > > [SMTP] > Host= > Port= > User= > Password= > Encrypt= ("SSL", "TLS" or nothing) > [Database] > Type= > User= > Password= > > Everything is optional except the SMTP server and the Database type. > > - Configure your database server so that the CGI user can connect. Enter > the information in the settings file. > > - Create a database named "gambas3_farm". > > - Initialize the database (i.e. create the tables) by running: > > $ gambas-farm-server.gambas -init-db > > directly from the command-line. It will use the information provided in > the settings file to connect to the database. > > If everything went weel, you are ready! > > Anyway, I have setup a farm server on the wiki (gambaswiki.org) for testing. > > The IDE option dialog has now a "Publishing" panel to define the > different publishing servers, and to register a new user to any server. > > Registering a new user uses the e-mail defined in the 'Identity' panel: > the server sends a e-mail with a link inside. You click on that link to > activate your account. > > There is a publishing dialog in the 'Project' menu for publishing your > software on any farm server listed in the option dialog, provided that > you provide a valid user and password. > > A published project (named "software") can have tags. These are english > words that are registered in the publishing server. > > Automatic completion of these tags is provided by requesting the server > in real-time. The goal is to avoid similar equivalent tags. > > Test that if you want, and please report any problem. Beware that this > is very-early-not-well-tested development! > > There is no program to search the software on a farm server yet, and to > install it on your system. This is the next goal: the "Gambas software > installer". You can find a better name and tell me if you want. > > Here are my thoughts about that: > > - You select the software you want by searching the farm server by > specifying part of the name, tags, and sorting the software by vote, > downloads, or upload date. > > - You can vote for a software, or cancel your vote, provided that you > are a registered user on a farm. Searching and downloading does not > require to be registered. > > - Only source packages are stored on the server. > > - The software will be installed in your home directory (in a not yet > decided directory), then compile. > > - Software will have dependencies on other softwares, like a package > manager. The installer will have to be able to manage those dependencies. > > - With the help of Gambas users, we can imagine that the installer will > be able to install the Gambas binary packages of components required by > the software (asking the root password, running apt-get/yum/urpmi..., > all that in a beautiful GUI). If not possible, a message will warn for > components not installed on the system. > > - The IDE open project box will automatically list the software > installed on the system, so that you can open their sources and play > with them. > > - The Gambas examples will be move to the final official farm server. > > Tell me what you think, your ideas, if you want to help by writing the > installer so that I can do something else... :-) > > I will make a documentation of the HTTP server protocol soon. > > Regards, > > -- > Beno?t Minisini > Hi Beno?t, I have tried using the gambaswiki.org and it all (registration and upload) seems to work fine. Pity I can't see the result yet :-( Here's a couple of thoughts based on our experiences at Paddys-Hill 1) We need to have multiple versions of a project available, e.g. a "stable" and an "experimental" version. Will the farm server support this? 2) Due to that we also need occasionally to be able to "remove" a version from the server. 3) We tried some years ago to support binary packages for all the different distro bases. But it just meant more work than necessary. Since then we just use autotools packages. We haven't had any problems with that at any of our clients. 4) I have a tool that allows the user to inspect and install downloaded autotools packages with a "single click". It copes with multiple versions. If you are interested I can send the project (It will need some "thinning down" to remove the local component dependencies). I have included a couple of screenshots regards Bruce -- B Bruen -------------- next part -------------- A non-text attachment was scrubbed... Name: Library Info & Manager (FMain)_1.png Type: image/png Size: 62864 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Library Info & Manager (FMain)_2.png Type: image/png Size: 70759 bytes Desc: not available URL: From gambas at ...2524... Mon Oct 27 07:04:53 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 27 Oct 2014 06:04:53 +0000 Subject: [Gambas-user] Issue 572 in gambas: Gambas will not compile In-Reply-To: <8-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> References: <8-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> <0-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> Message-ID: <9-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> Comment #9 on issue 572 by ptaylor2... at ...626...: Gambas will not compile https://code.google.com/p/gambas/issues/detail?id=572 I checked the gambas3-dev??.deb file for Debian Wheezy and their is no file gbr3 in the debian package. How can I fix this issue please? -- 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 Oct 27 09:39:00 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 27 Oct 2014 08:39:00 +0000 Subject: [Gambas-user] Issue 572 in gambas: Gambas will not compile In-Reply-To: <9-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> References: <9-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> <0-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> Message-ID: <10-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> Comment #10 on issue 572 by tabo... at ...626...: Gambas will not compile https://code.google.com/p/gambas/issues/detail?id=572 I have no idea about Debian packages (or Gambas packages in general). I came here to answer your questions about *compilation* of Gambas. If you are really sure that you picked the correct packages, the installation went properly and want a quick fix you can add gbr3 on your own. It is just a symlink to the interpreter. As root, do: # ln -s gbx3 /usr/bin/gbr3 *But* I recommend you instead come to the mailing list[0]. There are Debian users who can maybe help you. [0] https://lists.sourceforge.net/lists/listinfo/gambas-user -- 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 pata.karlsson at ...626... Mon Oct 27 20:25:19 2014 From: pata.karlsson at ...626... (Patrik Karlsson) Date: Mon, 27 Oct 2014 20:25:19 +0100 Subject: [Gambas-user] No Global Menu in Ubuntu In-Reply-To: <544B9468.5050300@...1...> References: <5446838A.80704@...1...> <544B9468.5050300@...1...> Message-ID: Thank you! I did a quick test in Ubuntu 14.10 as a virtual machine and installed Gambas from the daily ppa. The IDE and a simple app works as expected. Looking forward to the fix in my production environment. 2014-10-25 14:15 GMT+02:00 Beno?t Minisini : > Le 25/10/2014 07:31, Patrik Karlsson a ?crit : > > 2014-10-21 18:02 GMT+02:00 Beno?t Minisini >: > > > >> Le 21/10/2014 17:47, Patrik Karlsson a ?crit : > >>> 2014-10-17 19:41 GMT+02:00 Patrik Karlsson : > >>> > >>>> Hi, > >>>> > >>>> I have just updated to Gambas 3.6 from the gambas-team ppa and > >> discovered > >>>> that Gambas does not longer support Global Menu in Ubuntu when using > >>>> GB_GUI=gb.qt4. > >>>> > >>>> I can not make the IDE export the menus and my own apps only exports > the > >>>> menu with gb.gtk and gb.gtk3. > >> > >> Maybe Qt4 does not support exporting its menu bar through the Unity > >> protocol? I don't know actually, as I use KDE... > >> > >> Hi Beno?t, > > > > I have just tested this in Ubuntu 14.10 and the problem is still there. I > > have also tested in KDE and Gambas does not export the menu in KDE. > > > > Is it possible to take a look at this? > > Apparently the Ubuntu patch that make Qt application export their menu > is not very clever. It works with most applications, but not with the > Gambas IDE. > > I found a workaround in revision #6573. It is enabled only if you > explicitely hide the menus, and then restart the IDE. > > Otherwise, you can explicitely set the 'APPMENU_DISPLAY_BOTH' > environment variable to '1' before starting the IDE. > > Tell me if it works for you. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Mon Oct 27 20:29:08 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 27 Oct 2014 19:29:08 +0000 Subject: [Gambas-user] Issue 574 in gambas: Form editor crash Gambas 3.6.0 (nasty one) Message-ID: <0-6813199134517018827-11453826180338930298-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 574 by r... at ...1740...: Form editor crash Gambas 3.6.0 (nasty one) https://code.google.com/p/gambas/issues/detail?id=574 1) Describe the problem. When deleting an object (I think it has to be in a frame, not sure) and undoing it then deleting it again cause the to IDE crash, and deletes the form contents. 2) Give information about your system. Use the 'System information' menu in the Gambas IDE, and paste the result there. [System] Gambas=3.6.0 OperatingSystem=Linux Kernel=3.13.0-37-generic Architecture=x86_64 Distribution=Ubuntu 14.04.1 LTS Desktop=GNOME Theme=QGtk Language=en_US.UTF-8 Memory=7953M [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 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. NA 5) Explain clearly how to reproduce the bug or the crash. Open project, delete an form control from upper frame, for example a txtRegex box, then undo (ctrl-Z) then delete again. it crashes, see error as attachement, and you form file is corrupt, empty.. has bitten me twice ;-( 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: crash.png 18.9 KB CrashFormEdit-0.0.1.tar.gz 4.8 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... Mon Oct 27 21:10:29 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 27 Oct 2014 20:10:29 +0000 Subject: [Gambas-user] Issue 574 in gambas: Form editor crash Gambas 3.6.0 (nasty one) In-Reply-To: <0-6813199134517018827-11453826180338930298-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-11453826180338930298-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-11453826180338930298-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-3.6.0 Comment #1 on issue 574 by benoit.m... at ...626...: Form editor crash Gambas 3.6.0 (nasty one) https://code.google.com/p/gambas/issues/detail?id=574 (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... Mon Oct 27 21:12:30 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 27 Oct 2014 20:12:30 +0000 Subject: [Gambas-user] Issue 574 in gambas: Form editor crash Gambas 3.6.0 (nasty one) In-Reply-To: <1-6813199134517018827-11453826180338930298-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-11453826180338930298-gambas=googlecode.com@...2524...> <0-6813199134517018827-11453826180338930298-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-11453826180338930298-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 574 by benoit.m... at ...626...: Form editor crash Gambas 3.6.0 (nasty one) https://code.google.com/p/gambas/issues/detail?id=574 Fixed in revision #6584. -- 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 Oct 27 21:16:42 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 27 Oct 2014 20:16:42 +0000 Subject: [Gambas-user] Issue 571 in gambas: Building packages on NTFS partitions fails In-Reply-To: <0-6813199134517018827-7984875810922728783-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-7984875810922728783-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-7984875810922728783-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-3.6.0 Comment #1 on issue 571 by benoit.m... at ...626...: Building packages on NTFS partitions fails https://code.google.com/p/gambas/issues/detail?id=571 (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... Mon Oct 27 21:18:33 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 27 Oct 2014 20:18:33 +0000 Subject: [Gambas-user] Issue 570 in gambas: ValueBox does not prevent text entry In-Reply-To: <0-6813199134517018827-6625138948507788917-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-6625138948507788917-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-6625138948507788917-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version-TRUNK Version-3.6.0 Comment #1 on issue 570 by benoit.m... at ...626...: ValueBox does not prevent text entry https://code.google.com/p/gambas/issues/detail?id=570 (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 Oct 28 00:45:12 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 27 Oct 2014 23:45:12 +0000 Subject: [Gambas-user] Issue 570 in gambas: ValueBox does not prevent text entry In-Reply-To: <1-6813199134517018827-6625138948507788917-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-6625138948507788917-gambas=googlecode.com@...2524...> <0-6813199134517018827-6625138948507788917-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-6625138948507788917-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 570 by benoit.m... at ...626...: ValueBox does not prevent text entry https://code.google.com/p/gambas/issues/detail?id=570 It should be fixed in revision #6585. Please confirm if you can, as I have to release Gambas 3.6.1 as soon as possible to fix these blocking bugs. -- 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 Oct 28 00:46:12 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 27 Oct 2014 23:46:12 +0000 Subject: [Gambas-user] Issue 538 in gambas: KeyPress event in gb.GTK duplicate event gambas 3.5.3 In-Reply-To: <1-6813199134517018827-7342891880280723871-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-7342891880280723871-gambas=googlecode.com@...2524...> <0-6813199134517018827-7342891880280723871-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-7342891880280723871-gambas=googlecode.com@...2524...> Comment #2 on issue 538 by benoit.m... at ...626...: KeyPress event in gb.GTK duplicate event gambas 3.5.3 https://code.google.com/p/gambas/issues/detail?id=538 The behavior of revision #6585 should be better, and the fix will be backported in Gambas 3.6.1. If you can check it and report, that would be cool. -- 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 Oct 28 00:47:12 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 27 Oct 2014 23:47:12 +0000 Subject: [Gambas-user] Issue 538 in gambas: KeyPress event in gb.GTK duplicate event gambas 3.5.3 In-Reply-To: <2-6813199134517018827-7342891880280723871-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-7342891880280723871-gambas=googlecode.com@...2524...> <0-6813199134517018827-7342891880280723871-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-7342891880280723871-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #3 on issue 538 by benoit.m... at ...626...: KeyPress event in gb.GTK duplicate event gambas 3.5.3 https://code.google.com/p/gambas/issues/detail?id=538 (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 ...1... Tue Oct 28 00:56:55 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 28 Oct 2014 00:56:55 +0100 Subject: [Gambas-user] A little question about propagation of events and ShowModal. In-Reply-To: References: Message-ID: <544EDBC7.7050104@...1...> Le 27/10/2014 04:56, Jorge Carri?n a ?crit : > I have a User help routine based in Key F1 keyrelease. > The code is in form FMain Form_KeyRelease() Event. > This event is nicely propagated to all forms in FMain.Controls collection > and all works fine. > Today I've noticed that doesn't work on modal forms (opened with ShowModal). > > If copy/paste the FMain code to Form_KeyRelease of modal form all works > again but I thought that ShowModal it's only related with the way that > "Visual Focus" (if such thing exists) is managed. > > In ShowModal a form is non-dependant of FMain? I mean, by example: can > FMain be closed since a showmodal form? > If a showmodal form open a new form an closed himself after, the form > created is closed too? > > This are things that I could try in a moment, but I don't know if that > gives me the solution to the question: > > What means, really, Showmodal? > > (Perhaps 5 A.M. o'clock its not the best time to make this questions...) > > Regards "Modal" means that the window takes all the mouse and keyboard events of the application (it has its own event loop). A window cannot be closed if there is a "child" modal window open. The modal window must be closed first. As for your history about Form_KeyRelease, I don't understand what you are talking about. Please be more descriptive. Regards, -- Beno?t Minisini From gambas3 at ...3385... Tue Oct 28 01:59:07 2014 From: gambas3 at ...3385... (gambas3 at ...3385...) Date: Mon, 27 Oct 2014 20:59:07 -0400 Subject: [Gambas-user] Installed Gambas3 using the current version of Debian Wheezy Message-ID: Reported by ptaylor2... at ...626... [5], Oct 24 (2 days ago) I am having a issue with compiling the current version of Gambas on the current version of Debian wheezy. I read through all the messages posted in the mailist and that all the required library files are installed. I also tried installing all the different distribution available from the web site. Maybe someone can please tell me how I can fix this issue? I ran this to install it from the source code. ./reconf-all && ./configure -C && make && sudo make install Compiling Multimedia/WaveGenerator/... gbc: error: Component not found: gb.media Compiling Multimedia/WebCam/... OK Compiling Networking/ClientSocket/... OK Compiling Networking/DnsClient/... OK Compiling Networking/HTTPGet/... OK Compiling Networking/HTTPPost/... OK Compiling Networking/POPMailbox/... OK Compiling Networking/SerialPort/... OK Compiling Networking/ServerSocket/... OK Compiling Networking/UDPServerClient/... OK Compiling Networking/WebBrowser/... OK Compiling OpenGL/3DWebCam/... OK Compiling OpenGL/GambasGears/... OK Compiling OpenGL/Md2Model/... OK Compiling OpenGL/NeHeTutorial/... OK Compiling OpenGL/NeHeTutorialShell/... OK Compiling OpenGL/PDFPresentation/... OK Compiling OpenGL/TunnelSDL/... OK Compiling Printing/Printing/... OK Compiling Printing/ReportExample/... OK Compiling Web/SmallWiki/... OK make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/home/phil/install3/trunk/examples' make[1]: Leaving directory `/home/phil/install3/trunk/examples' Making install in . make[1]: Entering directory `/home/phil/install3/trunk' make[2]: Entering directory `/home/phil/install3/trunk' || || Unable to compile gb.media.form || make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/home/phil/install3/trunk' make[1]: Leaving directory `/home/phil/install3/trunk' root at ...57...:/home/phil/install3/trunk# Oct 24 (2 days ago) Delete comment [6] #1 [7] ptaylor2... at ...626... [5] Here is update on what I did I followed the steps here http://howtogambas.org/data/attachment.php?id=43&keep_session=1518467502&for_session=1e00d6bc86700b41f2c357a3cabba0a1 [1] sudo apt-get update sudo apt-get install build-essential autoconf libbz2-dev libfbclient2 libmysqlclient-dev unixodbc- dev libpq-dev libsqlite0-dev libsqlite3-dev libglib2.0-dev libgtk2.0-dev libldap2-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 libbonobo2-dev libcos4-dev libomniorb4-dev librsvg2- dev libpoppler-dev libpoppler-glib-dev libpoppler-private-dev libasound2-dev libesd0-dev libdirectfb-dev libaa1-dev libxtst-dev libffi-dev kdelibs5-dev firebird-dev libqt4-dev libglew-dev libimlib2-dev libv4l-dev libsdl-ttf2.0-dev libgnome-keyring-dev libgdk-pixbuf2.0-dev linux-libc-dev libgsl0-dev libncurses5-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libcairo2- dev libgmime-2.6-dev llvm-3.1-dev ./reconf-all ./configure -C make sudo make install I got the error message included above. Oct 25 (2 days ago) Delete comment [6] #2 [8] ptaylor2... at ...626... [5] I was able to load gambas3 from from the debian file list but when I try and run it I am getting this. gambas3 ERROR: #2: Cannot load class '.Table.Fields': Cannot load parent class: Cannot load class '.SubCollection': Unable to load class file Oct 25 (2 days ago) Project Member #3 [9] tabo... at ...626... [10] These errors are really weird. We need your compile logs, as per http://gambaswiki.org/wiki/doc/report#t3 [2]. Please drop the "-C" switch from the ./configure call when you do that. Also note that the book you are referring to was last updated in Sep 2013. Its author, however, updated the official Debian installation page in the wiki only two months ago: http://gambaswiki.org/wiki/install/debian [3]. Oct 25 (2 days ago) Delete comment [6] #4 [11] ptaylor2... at ...626... [5] I did not compile it I installed it using apt-get install filename. I can I figure out how to fix this issue please? Oct 25 (2 days ago) Project Member #5 [12] tabo... at ...626... [10] Wait... Your first two messages clearly state (and show!) that you tried to compile Gambas from source. [ As a side note, you shouldn't try this as root, as your first messages shows you did. ] I can't help you if you don't say what you are doing. If you only want Gambas to run on your system, you should install binary packages from your distribution. The necessary commands should be here: http://gambaswiki.org/wiki/install/debian [3]. Oct 25 (2 days ago) Delete comment [6] #6 [13] ptaylor2... at ...626... [5] The first time I tried to compile gambas but it failed then I installed it on debian using the apt-get install gambas3. Oct 25 (2 days ago) Project Member #7 [14] tabo... at ...626... [10] Hmm, I guess you didn't uninstall your failed compilation attempt? It *may* be that the Gambas interpreter from your distribution loads components from your compilation attempt (and that they're incompatible). This could explain the error in your comment #2. Try this: 1. Go to the directory you tried to *compile* Gambas from. If you don't have it anymore, get the source archive again and run $ ./reconf-all && ./configure there. No make or make install needed this time. 2. As root, do # make uninstall 3. Reinstall Gambas via apt-get. Oct 25 (2 days ago) Delete comment [6] #8 [15] ptaylor2... at ...626... [5] I did that then I typed apt-get remove gambas3 apt-get install gambas3 When I try and exec the program I get this: gambas3 /usr/bin/env: gbr3: No such file or directory Yesterday (18 hours ago) Delete comment [6] #9 [16] ptaylor2... at ...626... [5] I checked the gambas3-dev??.deb file for Debian Wheezy and their is no file gbr3 in the debian package. How can I fix this issue please? Today (16 hours ago) Project Member #10 [17] tabo... at ...626... [10] I have no idea about Debian packages (or Gambas packages in general). I came here to answer your questions about *compilation* of Gambas. If you are really sure that you picked the correct packages, the installation went properly and want a quick fix you can add gbr3 on your own. It is just a symlink to the interpreter. As root, do: # ln -s gbx3 /usr/bin/gbr3 *But* I recommend you instead come to the mailing list[0]. There are Debian users who can maybe help you. [0] https://lists.sourceforge.net/lists/listinfo/gambas-user [4] Links: ------ [1] http://howtogambas.org/data/attachment.php?id=43&keep_session=1518467502&for_session=1e00d6bc86700b41f2c357a3cabba0a1 [2] http://gambaswiki.org/wiki/doc/report#t3 [3] http://gambaswiki.org/wiki/install/debian [4] https://lists.sourceforge.net/lists/listinfo/gambas-user [5] https://code.google.com/u/105015131119699565715/ [6] https://code.google.com/p/gambas/issues/detail?can=2&start=0&num=100&q=&colspec=ID%20Opened%20Modified%20Version%20Type%20Status%20Priority%20Summary%20GUI%20Desktop%20Arch%20Reporter%20Owner&groupby=&sort=&id=572# [7] https://code.google.com/p/gambas/issues/detail?id=572#c1 [8] https://code.google.com/p/gambas/issues/detail?id=572#c2 [9] https://code.google.com/p/gambas/issues/detail?id=572#c3 [10] https://code.google.com/u/102019053183405509569/ [11] https://code.google.com/p/gambas/issues/detail?id=572#c4 [12] https://code.google.com/p/gambas/issues/detail?id=572#c5 [13] https://code.google.com/p/gambas/issues/detail?id=572#c6 [14] https://code.google.com/p/gambas/issues/detail?id=572#c7 [15] https://code.google.com/p/gambas/issues/detail?id=572#c8 [16] https://code.google.com/p/gambas/issues/detail?id=572#c9 [17] https://code.google.com/p/gambas/issues/detail?id=572#c10 From gambas at ...1... Tue Oct 28 03:06:10 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 28 Oct 2014 03:06:10 +0100 Subject: [Gambas-user] Installed Gambas3 using the current version of Debian Wheezy In-Reply-To: References: Message-ID: <544EFA12.7000907@...1...> Le 28/10/2014 01:59, gambas3 at ...3385... a ?crit : > > > Reported by ptaylor2... at ...626... [5], Oct 24 (2 days ago) > > I am > having a issue with compiling the current version of Gambas on the > current version of Debian wheezy. I read through all the messages posted > in the mailist and that all the required library files are installed. > > I > also tried installing all the different distribution available from the > web site. Maybe someone can please tell me how I can fix this issue? > > I > ran this to install it from the source code. > > ./reconf-all && > ./configure -C && make && sudo make install > > Compiling > Multimedia/WaveGenerator/... > gbc: error: Component not found: > gb.media > Compiling Multimedia/WebCam/... > OK > Compiling > Networking/ClientSocket/... > OK > Compiling > Networking/DnsClient/... > OK > Compiling > Networking/HTTPGet/... > OK > Compiling Networking/HTTPPost/... > OK > Compiling > Networking/POPMailbox/... > OK > Compiling > Networking/SerialPort/... > OK > Compiling > Networking/ServerSocket/... > OK > Compiling > Networking/UDPServerClient/... > OK > Compiling > Networking/WebBrowser/... > OK > Compiling OpenGL/3DWebCam/... > OK > Compiling > OpenGL/GambasGears/... > OK > Compiling OpenGL/Md2Model/... > OK > Compiling > OpenGL/NeHeTutorial/... > OK > Compiling > OpenGL/NeHeTutorialShell/... > OK > Compiling > OpenGL/PDFPresentation/... > OK > Compiling > OpenGL/TunnelSDL/... > OK > Compiling Printing/Printing/... > OK > Compiling > Printing/ReportExample/... > OK > Compiling Web/SmallWiki/... > OK > make[2]: > Nothing to be done for `install-data-am'. > make[2]: Leaving directory > `/home/phil/install3/trunk/examples' > make[1]: Leaving directory > `/home/phil/install3/trunk/examples' > Making install in . > make[1]: > Entering directory `/home/phil/install3/trunk' > make[2]: Entering > directory `/home/phil/install3/trunk' > > || > || Unable to compile > gb.media.form > || > > make[2]: Nothing to be done for > `install-data-am'. > make[2]: Leaving directory > `/home/phil/install3/trunk' > make[1]: Leaving directory > `/home/phil/install3/trunk' > root at ...57...:/home/phil/install3/trunk# > You must provide the full output of the configuration/make/install process done from scratch, not just a few lines. At the moment, I just can guess that GStreamer 1.0 development packages are not installed on your system. Regards, -- Beno?t Minisini From shordi at ...626... Tue Oct 28 10:03:23 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Tue, 28 Oct 2014 10:03:23 +0100 Subject: [Gambas-user] A little question about propagation of events and ShowModal. In-Reply-To: <544EDBC7.7050104@...1...> References: <544EDBC7.7050104@...1...> Message-ID: >"Modal" means that the window takes all the mouse and keyboard events of >the application (it has its own event loop). Thay explain all my troubles. It's clear now. >A window cannot be closed if there is a "child" modal window open. The >modal window must be closed first. Ok with that >As for your history about Form_KeyRelease, I don't understand what you >are talking about. Please be more descriptive. It's simple: on fMain, the F1 key open a contextual help for the user based on wich control has the Focus. This event is propagated to all forms opened from fMain Menu and works fine (you give me the clue about how this can be done a few months ago). But I haven't noticed that it isn't propagated in Modal opened forms, so I didn't know if that were a 3.6 issue or a expected behaviour. Your answer makes all clear. Thanks Benoit. Regards 2014-10-28 0:56 GMT+01:00 Beno?t Minisini : > Le 27/10/2014 04:56, Jorge Carri?n a ?crit : > > I have a User help routine based in Key F1 keyrelease. > > The code is in form FMain Form_KeyRelease() Event. > > This event is nicely propagated to all forms in FMain.Controls collection > > and all works fine. > > Today I've noticed that doesn't work on modal forms (opened with > ShowModal). > > > > If copy/paste the FMain code to Form_KeyRelease of modal form all works > > again but I thought that ShowModal it's only related with the way that > > "Visual Focus" (if such thing exists) is managed. > > > > In ShowModal a form is non-dependant of FMain? I mean, by example: can > > FMain be closed since a showmodal form? > > If a showmodal form open a new form an closed himself after, the form > > created is closed too? > > > > This are things that I could try in a moment, but I don't know if that > > gives me the solution to the question: > > > > What means, really, Showmodal? > > > > (Perhaps 5 A.M. o'clock its not the best time to make this questions...) > > > > Regards > > "Modal" means that the window takes all the mouse and keyboard events of > the application (it has its own event loop). > > A window cannot be closed if there is a "child" modal window open. The > modal window must be closed first. > > As for your history about Form_KeyRelease, I don't understand what you > are talking about. Please be more descriptive. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Tue Oct 28 14:12:21 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 28 Oct 2014 13:12:21 +0000 Subject: [Gambas-user] Issue 575 in gambas: Clipboard change Message-ID: <0-6813199134517018827-18088642861222023502-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 575 by flynetin... at ...626...: Clipboard change https://code.google.com/p/gambas/issues/detail?id=575 1) clipboard returns a different object to that returned in previous versions 2) [System] Gambas=3.6.90 OperatingSystem=Linux Kernel=3.13.0-38-generic Architecture=x86 Distribution=Ubuntu 14.04.1 LTS Desktop=GNOME Theme=QGtk Language=es_AR.UTF-8 Memory=3781M [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.13.0.0 Poppler=libpoppler.so.19.0.0 Poppler=libpoppler.so.44.0.0 Poppler=libpoppler.so.5.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 3) Public Sub leerdelpp(rejilla As TableView, Optional titulos As Boolean = False) 'rejilla: es el tableview donde se van a escribir los datos 'titulos: 0: sin titulo, -1 titulo contiene la 1o fila Dim lineas As String[] Dim linea_procesada As String Dim columnas As String[] Dim a As Integer Dim c As Integer Dim portapapeles As String Dim finlinea As String Dim fincolumna As String rejilla.Clear() rejilla.Rows.Count = 0 finlinea = "\n" 'retorno de carro (separa las filas) fincolumna = "\t" 'tabulador (separa las colunas) portapapeles = Clipboard.Paste() lineas = Split(portapapeles, finlinea) rejilla.Rows.Count = lineas.Max For a = 0 To lineas.Max - 1 linea_procesada = lineas[a] columnas = Split(linea_procesada, fincolumna) For c = 0 To columnas.Max If a = 0 And titulos Then rejilla.Columns[c].Title = columnas[c] Else If titulos Then rejilla[a - 1, c].Text = columnas[c] Else rejilla[a, c].Text = columnas[c] Endif Endif Next 'c Next 'a End 4) 5) The above function work properly on a tableview pasting clipboard contents obtained from a table in a spreadsheet in previous versions. Since the new version returns error. Required string obtained object in Clipboard.Paste() -- 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 Oct 28 16:41:42 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 28 Oct 2014 15:41:42 +0000 Subject: [Gambas-user] Issue 570 in gambas: ValueBox does not prevent text entry In-Reply-To: <2-6813199134517018827-6625138948507788917-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-6625138948507788917-gambas=googlecode.com@...2524...> <0-6813199134517018827-6625138948507788917-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-6625138948507788917-gambas=googlecode.com@...2524...> Comment #3 on issue 570 by char... at ...2793...: ValueBox does not prevent text entry https://code.google.com/p/gambas/issues/detail?id=570 Always happy to help but how do I tell which "Revision" I have? The link "It should be fixed in revision #6585 ." does not work. I was on Gambas 3.6.0-23 and just updated to 3.6.0-23.27 and the problem still exists. -- 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 Oct 28 17:12:15 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 28 Oct 2014 16:12:15 +0000 Subject: [Gambas-user] Issue 570 in gambas: ValueBox does not prevent text entry In-Reply-To: <3-6813199134517018827-6625138948507788917-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-6625138948507788917-gambas=googlecode.com@...2524...> <0-6813199134517018827-6625138948507788917-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-6625138948507788917-gambas=googlecode.com@...2524...> Comment #4 on issue 570 by gambas... at ...626...: ValueBox does not prevent text entry https://code.google.com/p/gambas/issues/detail?id=570 The problem is fixed on the SVN version ... If you want quick fixes you need to use it or for ubuntu for example use daily built packages. -- 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 shordi at ...626... Wed Oct 29 11:39:30 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Wed, 29 Oct 2014 11:39:30 +0100 Subject: [Gambas-user] Problem with subversion. IDE Crash. Message-ID: I have a proyect in a subversion repository in http://forge.gambas-es.org/svn/gbftp Then, with gambas 3.6, click in "new proyect", then in "Subversion Stored Application" (The last option of menu). Select a folder named gbftp (the same name of proyect) on my hard disk. Put the url and all seems work: gambas says "proyect succesfully created" but then, instead of open it, says that Proyect doesn't exist. I search in the disk and the proyect is there, open it and all is ok but when clik on "Version Control" of "Proyect" menu the ide Crash without any message. My system information: [System] Gambas=3.6.0 OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86_64 Distribution=Linux Mint 17 Qiana Desktop=GNOME Theme=QCleanlooks Language=es_ES.UTF-8 Memory=7968M [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 Regards From gambas at ...2524... Wed Oct 29 11:54:05 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 29 Oct 2014 10:54:05 +0000 Subject: [Gambas-user] Issue 575 in gambas: Clipboard change In-Reply-To: <0-6813199134517018827-18088642861222023502-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-18088642861222023502-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-18088642861222023502-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Comment #1 on issue 575 by benoit.m... at ...626...: Clipboard change https://code.google.com/p/gambas/issues/detail?id=575 The problem is that an application can put many different objects in the clipboard, and Clipboard.Paste() just takes the first one, which may not be the same all the time... First solution: do provide the MIME type of the data in the Clipboard.Paste() optional argument. Second solution: enumerate the clipboard contents using the Clipboard.Formats property that run a string array of all different MIME types stored in the clipboard. That way, you can see which one is the first. Please report the result of these two tests so that I can see if it is a Gambas bug, or just that your spreadsheet (which one???) stores things in the clipboard differently as before. P.S. Always send a full project archive! There, for example, I cannot know which GUI component you are actually using. -- 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 Oct 29 11:55:05 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 29 Oct 2014 10:55:05 +0000 Subject: [Gambas-user] Issue 572 in gambas: Gambas will not compile In-Reply-To: <10-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> References: <10-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> <0-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> Message-ID: <11-6813199134517018827-1304318832118271093-gambas=googlecode.com@...2524...> Updates: Status: Invalid Comment #11 on issue 572 by benoit.m... at ...626...: Gambas will not compile https://code.google.com/p/gambas/issues/detail?id=572 Please report compilation problems on the mailing-list. This place is for bugs only. -- 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 Oct 29 17:27:05 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 29 Oct 2014 16:27:05 +0000 Subject: [Gambas-user] Issue 575 in gambas: Clipboard change In-Reply-To: <1-6813199134517018827-18088642861222023502-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-18088642861222023502-gambas=googlecode.com@...2524...> <0-6813199134517018827-18088642861222023502-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-18088642861222023502-gambas=googlecode.com@...2524...> Comment #2 on issue 575 by t.lee.da... at ...626...: Clipboard change https://code.google.com/p/gambas/issues/detail?id=575 Sometimes, Clipboard.Paste does not take the top item. For instance, if I have Klipper (Version 0.9.7) configured to not ignore selections (as in screenshot 'gb-klipper-config-shot'), text that is highlighted, but *not* copied, will appear on the clipboard. All the text items in screenshot 'gb-clipboard-shot' were not copied there, but appeared there only through highlighting the text. The image was deliberately copied. Clipboard.Paste is "confused" by this. It seems to "think" the top item is text, as shown in screenshot 'gb-formats-shot' after a click on "Formats". But is obviously trying to Paste the image, as shown in screenshot 'gb-error-shot' after a click on "Top Item". I must wonder if this isn't an issue with the clipboard management tool instead of a Gambas issue. [System] Gambas=3.6.0 OperatingSystem=Linux Kernel=3.10.54-desktop-2.mga3 Architecture=x86 Distribution=Mageia 3 Desktop=KDE4 Theme=Oxygen Language=en_US.UTF-8 Memory=1005M [Libraries] Cairo=libcairo.so.2.11200.12 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.5.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.34.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 Attachments: gb-klipper-config-shot.jpg 44.5 KB gb-clipboard-shot.jpg 30.1 KB gb-formats-shot.jpg 14.8 KB gb-error-shot.jpg 40.5 KB ClipboardPaste-0.0.1.tar.gz 4.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 Oct 29 22:37:03 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 29 Oct 2014 21:37:03 +0000 Subject: [Gambas-user] Issue 575 in gambas: Clipboard change In-Reply-To: <2-6813199134517018827-18088642861222023502-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-18088642861222023502-gambas=googlecode.com@...2524...> <0-6813199134517018827-18088642861222023502-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-18088642861222023502-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-3.6.0 Comment #3 on issue 575 by benoit.m... at ...626...: Clipboard change https://code.google.com/p/gambas/issues/detail?id=575 OK, I see 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... Wed Oct 29 22:38:03 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 29 Oct 2014 21:38:03 +0000 Subject: [Gambas-user] Issue 571 in gambas: Building packages on NTFS partitions fails In-Reply-To: <1-6813199134517018827-7984875810922728783-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-7984875810922728783-gambas=googlecode.com@...2524...> <0-6813199134517018827-7984875810922728783-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-7984875810922728783-gambas=googlecode.com@...2524...> Updates: Labels: -Priority-Medium Priority-Low Comment #2 on issue 571 by benoit.m... at ...626...: Building packages on NTFS partitions fails https://code.google.com/p/gambas/issues/detail?id=571 (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... Wed Oct 29 22:50:30 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 29 Oct 2014 21:50:30 +0000 Subject: [Gambas-user] Issue 575 in gambas: Clipboard change In-Reply-To: <3-6813199134517018827-18088642861222023502-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-18088642861222023502-gambas=googlecode.com@...2524...> <0-6813199134517018827-18088642861222023502-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-18088642861222023502-gambas=googlecode.com@...2524...> Comment #4 on issue 575 by benoit.m... at ...626...: Clipboard change https://code.google.com/p/gambas/issues/detail?id=575 Can you try revision #6587 and tell me if it now works for you? -- 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 sebikul at ...626... Thu Oct 30 13:15:54 2014 From: sebikul at ...626... (Sebastian Kulesz) Date: Thu, 30 Oct 2014 09:15:54 -0300 Subject: [Gambas-user] Beta PPA In-Reply-To: References: Message-ID: Hey! As i mentioned when Gambas 3.6 was released, i had the idea of making a beta PPA for those of you who needed bugfixes backported immediately, but couldn't use the Daily PPA because you also needed some kind of stability. If you fall in this category, you can now add ppa:gambas-team/gambas-beta to your sources.list. It includes the latest fixes backported a few hours ago, and will be built and updated automatically when new bugfixes are included. As always, the command you have to execute is: $ sudo add-apt-repository ppa:gambas-team/gambas-beta Enjoy! From chrisml at ...3340... Thu Oct 30 14:13:58 2014 From: chrisml at ...3340... (Christof Thalhofer) Date: Thu, 30 Oct 2014 14:13:58 +0100 Subject: [Gambas-user] Beta PPA In-Reply-To: (sfid-) References: (sfid-) Message-ID: <54523996.50405@...3340...> Hi Sebastian, Am 30.10.2014 um 13:15 schrieb Sebastian Kulesz: > If you fall in this category, you can now add ppa:gambas-team/gambas-beta > to your sources.list. It includes the latest fixes backported a few hours > ago, and will be built and updated automatically when new bugfixes are > included. That's very cool. Thank you! Alles Gute Christof Thalhofer -- [x] nail here for new monitor -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From gambas at ...1... Thu Oct 30 14:33:23 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 30 Oct 2014 14:33:23 +0100 Subject: [Gambas-user] Problem with subversion. IDE Crash. In-Reply-To: References: Message-ID: <54523E23.6070808@...1...> Le 29/10/2014 11:39, Jorge Carri?n a ?crit : > I have a proyect in a subversion repository in > > http://forge.gambas-es.org/svn/gbftp > > Then, with gambas 3.6, click in "new proyect", then in "Subversion Stored > Application" (The last option of menu). > > Select a folder named gbftp (the same name of proyect) on my hard disk. Put > the url and all seems work: > gambas says "proyect succesfully created" but then, instead of open it, > says that Proyect doesn't exist. > > I search in the disk and the proyect is there, open it and all is ok but > when clik on "Version Control" of "Proyect" menu the ide Crash without any > message. > When doing the checkout, we don't get the project directory, but directly the files inside. It can't work, as the project directory is what must be put in the subversion repository. On the other end, the IDE should be more resistant when it does not get what it expects... -- Beno?t Minisini From Karl.Reinl at ...2345... Thu Oct 30 15:15:06 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Thu, 30 Oct 2014 15:15:06 +0100 Subject: [Gambas-user] About the Gambas software repository In-Reply-To: <544D8367.7090906@...1...> References: <544D8367.7090906@...1...> Message-ID: <1414678506.3575.4.camel@...40...> Am Montag, den 27.10.2014, 00:27 +0100 schrieb Beno?t Minisini: Salut Beno?t, > With revision #6583, you can start to play with the Gambas software > repository, as known as the "Gambas farm server". > - Install that executable a CGI script on your HTTP server. It must be > run through the '/farm' path. I.e. if your server is > "my-gambas-farm.org", then the URL to access the CGI script must be > "http://my-gambas-server/farm". The executable is less than 20 Kb, not > very big isn't it? do I need to run a extra HTTP-server or is the gambas embedded HTTP server enough? -- Amicalement Charlie From gambas at ...1... Thu Oct 30 15:26:39 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Thu, 30 Oct 2014 15:26:39 +0100 Subject: [Gambas-user] About the Gambas software repository In-Reply-To: <1414678506.3575.4.camel@...40...> References: <544D8367.7090906@...1...> <1414678506.3575.4.camel@...40...> Message-ID: <54524A9F.9080406@...1...> Le 30/10/2014 15:15, Charlie Reinl a ?crit : > Am Montag, den 27.10.2014, 00:27 +0100 schrieb Beno?t Minisini: > > Salut Beno?t, > >> With revision #6583, you can start to play with the Gambas software >> repository, as known as the "Gambas farm server". > >> - Install that executable a CGI script on your HTTP server. It must be >> run through the '/farm' path. I.e. if your server is >> "my-gambas-farm.org", then the URL to access the CGI script must be >> "http://my-gambas-server/farm". The executable is less than 20 Kb, not >> very big isn't it? > > do I need to run a extra HTTP-server or is the gambas embedded HTTP > server enough? > It should be enough, but it is something to test! :-) -- Beno?t Minisini From taboege at ...626... Thu Oct 30 18:31:52 2014 From: taboege at ...626... (Tobias Boege) Date: Thu, 30 Oct 2014 18:31:52 +0100 Subject: [Gambas-user] Beta PPA In-Reply-To: References: Message-ID: <20141030173152.GB886@...2774...> On Thu, 30 Oct 2014, Sebastian Kulesz wrote: > Hey! > > As i mentioned when Gambas 3.6 was released, i had the idea of making a > beta PPA for those of you who needed bugfixes backported immediately, but > couldn't use the Daily PPA because you also needed some kind of stability. > So the beta repository is the latest stable version plus bugfixes? How do you distinguish between new-feature commits and bugfix commits from trunk? I look specifically at commit r5778 as an example which has various items, and at least two of each type: --8<----------------------------------------------------------------------- * BUG: Fix possible bugs when [...] * BUG: Really erase old elements [...] * OPT: Current and the enumerators [...] * OPT: Remove workaround code [...] * NEW: Expose List.Current as a [...] * NEW: List.Value is what [...] * NEW: Add List.Current.Index and [...] * NEW: Add a List.AutoNormalize property [...] * NEW: Add List.MoveTo() to point Current [...] * NEW: List.Current.Is{First,Last,Valid} [...] --8<----------------------------------------------------------------------- Would this be picked for beta from your system or not? How would I make commits that play together with your system? And what happens when a bugfix commit builds on top of a new feature, i.e. can't be applied? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Thu Oct 30 18:48:21 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 30 Oct 2014 18:48:21 +0100 Subject: [Gambas-user] Beta PPA In-Reply-To: <20141030173152.GB886@...2774...> References: <20141030173152.GB886@...2774...> Message-ID: <545279E5.4030804@...1...> Le 30/10/2014 18:31, Tobias Boege a ?crit : > On Thu, 30 Oct 2014, Sebastian Kulesz wrote: >> Hey! >> >> As i mentioned when Gambas 3.6 was released, i had the idea of making a >> beta PPA for those of you who needed bugfixes backported immediately, but >> couldn't use the Daily PPA because you also needed some kind of stability. >> > > So the beta repository is the latest stable version plus bugfixes? How do > you distinguish between new-feature commits and bugfix commits from trunk? > > I look specifically at commit r5778 as an example which has various items, > and at least two of each type: > > --8<----------------------------------------------------------------------- > * BUG: Fix possible bugs when [...] > * BUG: Really erase old elements [...] > * OPT: Current and the enumerators [...] > * OPT: Remove workaround code [...] > * NEW: Expose List.Current as a [...] > * NEW: List.Value is what [...] > * NEW: Add List.Current.Index and [...] > * NEW: Add a List.AutoNormalize property [...] > * NEW: Add List.MoveTo() to point Current [...] > * NEW: List.Current.Is{First,Last,Valid} [...] > --8<----------------------------------------------------------------------- > > Would this be picked for beta from your system or not? How would I make > commits that play together with your system? > > And what happens when a bugfix commit builds on top of a new feature, i.e. > can't be applied? > > Regards, > Tobi > Good questions. For example, I'm currently backporting bugfixes that are "backport-able" to /branches/3.6, and when I'm done I'm making a 3.6.1 from it. I suggest that "beta" should be a development revision a few weeks in the past (for example) that has no big problem. Regards, -- Beno?t Minisini From sebikul at ...626... Thu Oct 30 19:54:21 2014 From: sebikul at ...626... (Sebastian Kulesz) Date: Thu, 30 Oct 2014 15:54:21 -0300 Subject: [Gambas-user] Beta PPA In-Reply-To: <545279E5.4030804@...1...> References: <20141030173152.GB886@...2774...> <545279E5.4030804@...1...> Message-ID: Actually, it is compiled using the latest code from the 3.6 branch, so code committed to /trunk and not backported to /branches/3.6 should not interfere at all. I can't use /trunk from a few weeks because there can be breaking changes which could brake the build anytime. Only the code you backport is included, and a new commit to the 3.6 branch triggers a new build. On Oct 30, 2014 2:49 PM, "Beno?t Minisini" wrote: > Le 30/10/2014 18:31, Tobias Boege a ?crit : > > On Thu, 30 Oct 2014, Sebastian Kulesz wrote: > >> Hey! > >> > >> As i mentioned when Gambas 3.6 was released, i had the idea of making a > >> beta PPA for those of you who needed bugfixes backported immediately, > but > >> couldn't use the Daily PPA because you also needed some kind of > stability. > >> > > > > So the beta repository is the latest stable version plus bugfixes? How do > > you distinguish between new-feature commits and bugfix commits from > trunk? > > > > I look specifically at commit r5778 as an example which has various > items, > > and at least two of each type: > > > > > --8<----------------------------------------------------------------------- > > * BUG: Fix possible bugs when [...] > > * BUG: Really erase old elements [...] > > * OPT: Current and the enumerators [...] > > * OPT: Remove workaround code [...] > > * NEW: Expose List.Current as a [...] > > * NEW: List.Value is what [...] > > * NEW: Add List.Current.Index and [...] > > * NEW: Add a List.AutoNormalize property [...] > > * NEW: Add List.MoveTo() to point Current [...] > > * NEW: List.Current.Is{First,Last,Valid} [...] > > > --8<----------------------------------------------------------------------- > > > > Would this be picked for beta from your system or not? How would I make > > commits that play together with your system? > > > > And what happens when a bugfix commit builds on top of a new feature, > i.e. > > can't be applied? > > > > Regards, > > Tobi > > > > Good questions. > > For example, I'm currently backporting bugfixes that are "backport-able" > to /branches/3.6, and when I'm done I'm making a 3.6.1 from it. > > I suggest that "beta" should be a development revision a few weeks in > the past (for example) that has no big problem. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From kevinfishburne at ...1887... Thu Oct 30 20:55:58 2014 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Thu, 30 Oct 2014 15:55:58 -0400 Subject: [Gambas-user] About the Gambas software repository (2) In-Reply-To: <544D8367.7090906@...1...> References: <544D8367.7090906@...1...> Message-ID: <545297CE.2030709@...1887...> On 10/26/2014 07:27 PM, Beno?t Minisini wrote: > Hi, > > With revision #6583, you can start to play with the Gambas software > repository, as known as the "Gambas farm server". > > This is a Gambas project located in '/trunk/app/src/gambas-farm-server'. > > To install a Gambas farm server, you have to: > > - Compile the gambas-farm-server project and make an executable from it. > > - Install that executable a CGI script on your HTTP server. It must be > run through the '/farm' path. I.e. if your server is > "my-gambas-farm.org", then the URL to access the CGI script must be > "http://my-gambas-server/farm". The executable is less than 20 Kb, not > very big isn't it? > > - Install a database server, mysql or postgresql. I have tested with > postgresql. > > - Create a "~/.config/gambas3/gambas-farm-server.conf" settings file > manually, in the user directory associated with the user running the CGI > script (usually it's the http server user). > > - The syntax of the settings file is: > > [SMTP] > Host= > Port= > User= > Password= > Encrypt= ("SSL", "TLS" or nothing) > [Database] > Type= > User= > Password= > > Everything is optional except the SMTP server and the Database type. > > - Configure your database server so that the CGI user can connect. Enter > the information in the settings file. > > - Create a database named "gambas3_farm". > > - Initialize the database (i.e. create the tables) by running: > > $ gambas-farm-server.gambas -init-db > > directly from the command-line. It will use the information provided in > the settings file to connect to the database. > > If everything went weel, you are ready! > > Anyway, I have setup a farm server on the wiki (gambaswiki.org) for testing. > > The IDE option dialog has now a "Publishing" panel to define the > different publishing servers, and to register a new user to any server. > > Registering a new user uses the e-mail defined in the 'Identity' panel: > the server sends a e-mail with a link inside. You click on that link to > activate your account. > > There is a publishing dialog in the 'Project' menu for publishing your > software on any farm server listed in the option dialog, provided that > you provide a valid user and password. > > A published project (named "software") can have tags. These are english > words that are registered in the publishing server. > > Automatic completion of these tags is provided by requesting the server > in real-time. The goal is to avoid similar equivalent tags. > > Test that if you want, and please report any problem. Beware that this > is very-early-not-well-tested development! > > There is no program to search the software on a farm server yet, and to > install it on your system. This is the next goal: the "Gambas software > installer". You can find a better name and tell me if you want. > > Here are my thoughts about that: > > - You select the software you want by searching the farm server by > specifying part of the name, tags, and sorting the software by vote, > downloads, or upload date. > > - You can vote for a software, or cancel your vote, provided that you > are a registered user on a farm. Searching and downloading does not > require to be registered. > > - Only source packages are stored on the server. > > - The software will be installed in your home directory (in a not yet > decided directory), then compile. > > - Software will have dependencies on other softwares, like a package > manager. The installer will have to be able to manage those dependencies. > > - With the help of Gambas users, we can imagine that the installer will > be able to install the Gambas binary packages of components required by > the software (asking the root password, running apt-get/yum/urpmi..., > all that in a beautiful GUI). If not possible, a message will warn for > components not installed on the system. > > - The IDE open project box will automatically list the software > installed on the system, so that you can open their sources and play > with them. > > - The Gambas examples will be move to the final official farm server. > > Tell me what you think, your ideas, if you want to help by writing the > installer so that I can do something else... :-) > > I will make a documentation of the HTTP server protocol soon. > > Regards, > If this is what I think it is, if well-implemented this could really put GAMBAS on the map with respect to Linux users who aren't programmers or sys admins (users in the purest sense) and increase the dev base. Perhaps I misinterpreted your description, but it sounds like a digital distribution service like Steam, except web-based and anyone can set up their own repository. If this is the case, I strongly suggest considering the implementation of payment options (PayPal, for example). I think the holy trinity of GAMBAS adoption (other than the obvious, which I shall not mention again!) is: 1) Great language and IDE (done!) 2) Dead-simple end user distribution mechanism (sounds like what is being proposed with the software repo) 3) Painless method for devs to get paid for their apps As crass as point three may sound, especially to people like us who use OSS nearly exclusively, I think it's necessary. Some of us (like myself) would like to write GAMBAS applications full-time and not die of starvation in the process. Also, think of what happened with mobile apps (Google Play and the App Store). Once devs saw they could make money the floodgates opened. This could happen on a smaller scale with GAMBAS. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From vuott at ...325... Thu Oct 30 22:58:03 2014 From: vuott at ...325... (Ru Vuott) Date: Thu, 30 Oct 2014 21:58:03 +0000 Subject: [Gambas-user] Conflict discovered in file.... Message-ID: <1414706283.60587.YahooMailBasic@...3269...> Hello, updating Gambas with rev. #6593, I have this message: Conflict discovered in file 'trunk/comp/src/gb.eval.highlight/.startup'. 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: s What choose do you suggest ? Thanks vuott From taboege at ...626... Thu Oct 30 23:20:22 2014 From: taboege at ...626... (Tobias Boege) Date: Thu, 30 Oct 2014 23:20:22 +0100 Subject: [Gambas-user] Conflict discovered in file.... In-Reply-To: <1414706283.60587.YahooMailBasic@...3269...> References: <1414706283.60587.YahooMailBasic@...3269...> Message-ID: <20141030222022.GC886@...2774...> On Thu, 30 Oct 2014, Ru Vuott wrote: > Hello, > > updating Gambas with rev. #6593, I have this message: > > > Conflict discovered in file 'trunk/comp/src/gb.eval.highlight/.startup'. > 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: s > > > What choose do you suggest ? > I'm not a svn expert but if you didn't change the file, you should be fine with "tc". In any case, it shouldn't matter because .startup is a generated file, created by the compiler. It carries no new information and you can just go and regenerate it. This begs the question why it is versioned in the first place... Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Thu Oct 30 23:41:09 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 30 Oct 2014 23:41:09 +0100 Subject: [Gambas-user] Conflict discovered in file.... In-Reply-To: <20141030222022.GC886@...2774...> References: <1414706283.60587.YahooMailBasic@...3269...> <20141030222022.GC886@...2774...> Message-ID: <5452BE85.9080006@...1...> Le 30/10/2014 23:20, Tobias Boege a ?crit : > On Thu, 30 Oct 2014, Ru Vuott wrote: >> Hello, >> >> updating Gambas with rev. #6593, I have this message: >> >> >> Conflict discovered in file 'trunk/comp/src/gb.eval.highlight/.startup'. >> 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: s >> >> >> What choose do you suggest ? >> > > I'm not a svn expert but if you didn't change the file, you should be fine > with "tc". > > In any case, it shouldn't matter because .startup is a generated file, > created by the compiler. It carries no new information and you can just go > and regenerate it. This begs the question why it is versioned in the first > place... > > Regards, > Tobi > It's a bug, that file should not be in the repository. I will fix that... -- Beno?t Minisini From bbruen at ...2308... Fri Oct 31 00:39:37 2014 From: bbruen at ...2308... (B Bruen) Date: Fri, 31 Oct 2014 10:09:37 +1030 Subject: [Gambas-user] A real big enhancement request Message-ID: <20141031100937.cb3f3f30478258211857441e@...2308...> This request is based on some of the stuff we do and also on quite a few other threads over the past while. It seems that quite a few advanced Gambas users would like/need to access files in the executable archives for various reasons. This includes Kevin, who wants to include static music files (?); ourselves, who want to access sqlite database(in read only mode, of course) and another the details I can't recall. Another example, (specifically for us) is accessing the Gambas files, for example .project and .info and etc. While accessing images and text files in the executable archive using relative pathing is quite good the above examples are a bit of a PITA involving shelling "gba -x commands" and/or pipes etc. My request, Beno?t, is that you consider something that would make using files in the executable archive, both the data files and the Gambas infrastructure files a bit easier.... best regards Bruce -- B Bruen From bbruen at ...2308... Fri Oct 31 01:01:52 2014 From: bbruen at ...2308... (B Bruen) Date: Fri, 31 Oct 2014 10:31:52 +1030 Subject: [Gambas-user] Conflict discovered in file.... In-Reply-To: <5452BE85.9080006@...1...> References: <1414706283.60587.YahooMailBasic@...3269...> <20141030222022.GC886@...2774...> <5452BE85.9080006@...1...> Message-ID: <20141031103152.bb8eae2c093d23bd1336166b@...2308...> On Thu, 30 Oct 2014 23:41:09 +0100 Beno?t Minisini wrote: > Le 30/10/2014 23:20, Tobias Boege a ?crit : > > On Thu, 30 Oct 2014, Ru Vuott wrote: > >> Hello, > >> > >> updating Gambas with rev. #6593, I have this message: > >> > >> > >> Conflict discovered in file 'trunk/comp/src/gb.eval.highlight/.startup'. > >> 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: s > >> > >> > >> What choose do you suggest ? > >> > > > > I'm not a svn expert but if you didn't change the file, you should be fine > > with "tc". > > > > In any case, it shouldn't matter because .startup is a generated file, > > created by the compiler. It carries no new information and you can just go > > and regenerate it. This begs the question why it is versioned in the first > > place... > > > > Regards, > > Tobi > > > > It's a bug, that file should not be in the repository. I will fix that... > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user The .startup file is in quite a few of the components... -- B Bruen From taboege at ...626... Fri Oct 31 01:16:47 2014 From: taboege at ...626... (Tobias Boege) Date: Fri, 31 Oct 2014 01:16:47 +0100 Subject: [Gambas-user] Conflict discovered in file.... In-Reply-To: <20141031103152.bb8eae2c093d23bd1336166b@...2308...> References: <1414706283.60587.YahooMailBasic@...3269...> <20141030222022.GC886@...2774...> <5452BE85.9080006@...1...> <20141031103152.bb8eae2c093d23bd1336166b@...2308...> Message-ID: <20141031001647.GF886@...2774...> On Fri, 31 Oct 2014, B Bruen wrote: > On Thu, 30 Oct 2014 23:41:09 +0100 > Beno?t Minisini wrote: > > > Le 30/10/2014 23:20, Tobias Boege a ?crit : > > > On Thu, 30 Oct 2014, Ru Vuott wrote: > > >> Hello, > > >> > > >> updating Gambas with rev. #6593, I have this message: > > >> > > >> > > >> Conflict discovered in file 'trunk/comp/src/gb.eval.highlight/.startup'. > > >> 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: s > > >> > > >> > > >> What choose do you suggest ? > > >> > > > > > > I'm not a svn expert but if you didn't change the file, you should be fine > > > with "tc". > > > > > > In any case, it shouldn't matter because .startup is a generated file, > > > created by the compiler. It carries no new information and you can just go > > > and regenerate it. This begs the question why it is versioned in the first > > > place... > > > > > > Regards, > > > Tobi > > > > > > > It's a bug, that file should not be in the repository. I will fix that... > > > > -- > > Beno?t Minisini > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > The .startup file is in quite a few of the components... Specifically: $ svn ls -R | grep \\.startup | xargs dirname app/other/MakeWebSite app/src/gambas-wiki app/src/gambas3-farm-server app/src/gb.wiki comp/src/gb.args comp/src/gb.desktop comp/src/gb.eval.highlight comp/src/gb.gui.base comp/src/gb.logging comp/src/gb.map comp/src/gb.markdown comp/src/gb.media.form comp/src/gb.mysql comp/src/gb.net.pop3 comp/src/gb.net.smtp examples/examples/{a lot} [...] gb.gsl/Test/test gb.net.curl/src/gb.net.curl main/lib/db/gb.db To remove them, I can safely do on my local copy: $ find -name .startup -exec rm \{\} \; As always with "find ... -exec rm ..." commands, you should check the files found on your side beforehand. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From vuott at ...325... Fri Oct 31 16:48:42 2014 From: vuott at ...325... (Ru Vuott) Date: Fri, 31 Oct 2014 15:48:42 +0000 Subject: [Gambas-user] Conflict discovered in file.... In-Reply-To: <5452BE85.9080006@...1...> Message-ID: <1414770522.46451.YahooMailBasic@...3271...> Hello, well, re-starting from Terminal ~ $ svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk a message suggests me to run: make clean So, I run ~ $ /trunkmake clean and then I started again from ~ $ svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk and so on. It worked. Thanks at all. vuott -------------------------------------------- Gio 30/10/14, Beno?t Minisini ha scritto: Oggetto: Re: [Gambas-user] Conflict discovered in file.... A: "mailing list for gambas users" Data: Gioved? 30 ottobre 2014, 23:41 Le 30/10/2014 23:20, Tobias Boege a ?crit : > On Thu, 30 Oct 2014, Ru Vuott wrote: >> Hello, >> >> updating Gambas with? rev. #6593, I have this message: >> >> >> Conflict discovered in file 'trunk/comp/src/gb.eval.highlight/.startup'. >> 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: s >> >> >> What choose do you suggest ? >> > > I'm not a svn expert but if you didn't change the file, you should be fine > with "tc". > > In any case, it shouldn't matter because .startup is a generated file, > created by the compiler. It carries no new information and you can just go > and regenerate it. This begs the question why it is versioned in the first > place... > > Regards, > Tobi > It's a bug, that file should not be in the repository. I will fix that... -- 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... Fri Oct 31 17:33:49 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 31 Oct 2014 17:33:49 +0100 Subject: [Gambas-user] gb.jit crash Message-ID: <5453B9ED.2030703@...1...> Hi Emil, The following little project segfaults when the jit compiler is requested. If you can look at it... -- Beno?t Minisini -------------- next part -------------- A non-text attachment was scrubbed... Name: test-jit-0.0.1.tar.gz Type: application/gzip Size: 6337 bytes Desc: not available URL: From emil.lenngren at ...626... Fri Oct 31 21:40:54 2014 From: emil.lenngren at ...626... (Emil Lenngren) Date: Fri, 31 Oct 2014 21:40:54 +0100 Subject: [Gambas-user] gb.jit crash In-Reply-To: <5453B9ED.2030703@...1...> References: <5453B9ED.2030703@...1...> Message-ID: Hi! Actually this will also fail: Dim a As Integer[] a = ["1"] The problem is with the "new" _convert mechanism, introduced in http://sourceforge.net/p/gambas/code/4908/. The JIT code expects the older API, which therefore crash... I haven't found out how much refactor needs to be done to support this kind of conversion yet. I'll see if I can fix this, but it might take some time cause I'm quite busy right now. /Emil 2014-10-31 17:33 GMT+01:00 Beno?t Minisini : > Hi Emil, > > The following little project segfaults when the jit compiler is requested. > > If you can look at it... > > -- > Beno?t Minisini > From gambas at ...1... Fri Oct 31 21:49:56 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 31 Oct 2014 21:49:56 +0100 Subject: [Gambas-user] gb.jit crash In-Reply-To: References: <5453B9ED.2030703@...1...> Message-ID: <5453F5F4.4000703@...1...> Le 31/10/2014 21:40, Emil Lenngren a ?crit : > Hi! > Actually this will also fail: > > Dim a As Integer[] > a = ["1"] > > The problem is with the "new" _convert mechanism, introduced in > http://sourceforge.net/p/gambas/code/4908/. The JIT code expects the older > API, which therefore crash... > I haven't found out how much refactor needs to be done to support this kind > of conversion yet. I'll see if I can fix this, but it might take some time > cause I'm quite busy right now. > > /Emil > You mean that the "VALUE_convert()" interpreter function had been "just-in-timed"? -- Beno?t Minisini From emil.lenngren at ...626... Fri Oct 31 21:55:13 2014 From: emil.lenngren at ...626... (Emil Lenngren) Date: Fri, 31 Oct 2014 21:55:13 +0100 Subject: [Gambas-user] gb.jit crash In-Reply-To: <5453F5F4.4000703@...1...> References: <5453B9ED.2030703@...1...> <5453F5F4.4000703@...1...> Message-ID: The problem is the signature of the _convert functions in the classes. Before they were OBJECT* _convert(CLASS* src, CLASS* class) but now they are bool _convert(CLASS* src, CLASS* class, VALUE* value). The JIT calls the function using the first one. 2014-10-31 21:49 GMT+01:00 Beno?t Minisini : > Le 31/10/2014 21:40, Emil Lenngren a ?crit : > > Hi! > > Actually this will also fail: > > > > Dim a As Integer[] > > a = ["1"] > > > > The problem is with the "new" _convert mechanism, introduced in > > http://sourceforge.net/p/gambas/code/4908/. The JIT code expects the > older > > API, which therefore crash... > > I haven't found out how much refactor needs to be done to support this > kind > > of conversion yet. I'll see if I can fix this, but it might take some > time > > cause I'm quite busy right now. > > > > /Emil > > > > You mean that the "VALUE_convert()" interpreter function had been > "just-in-timed"? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From emil.lenngren at ...626... Fri Oct 31 21:56:54 2014 From: emil.lenngren at ...626... (Emil Lenngren) Date: Fri, 31 Oct 2014 21:56:54 +0100 Subject: [Gambas-user] gb.jit crash In-Reply-To: References: <5453B9ED.2030703@...1...> <5453F5F4.4000703@...1...> Message-ID: And this is done in the function JR_object_cast in gb_runtime.c, which is called from jitted code when objects are converted to other object types. 2014-10-31 21:55 GMT+01:00 Emil Lenngren : > The problem is the signature of the _convert functions in the classes. > Before they were OBJECT* _convert(CLASS* src, CLASS* class) but now they > are bool _convert(CLASS* src, CLASS* class, VALUE* value). The JIT calls > the function using the first one. > > 2014-10-31 21:49 GMT+01:00 Beno?t Minisini : > >> Le 31/10/2014 21:40, Emil Lenngren a ?crit : >> > Hi! >> > Actually this will also fail: >> > >> > Dim a As Integer[] >> > a = ["1"] >> > >> > The problem is with the "new" _convert mechanism, introduced in >> > http://sourceforge.net/p/gambas/code/4908/. The JIT code expects the >> older >> > API, which therefore crash... >> > I haven't found out how much refactor needs to be done to support this >> kind >> > of conversion yet. I'll see if I can fix this, but it might take some >> time >> > cause I'm quite busy right now. >> > >> > /Emil >> > >> >> You mean that the "VALUE_convert()" interpreter function had been >> "just-in-timed"? >> >> -- >> 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... Fri Oct 31 22:08:59 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 31 Oct 2014 22:08:59 +0100 Subject: [Gambas-user] gb.jit crash In-Reply-To: References: <5453B9ED.2030703@...1...> <5453F5F4.4000703@...1...> Message-ID: <5453FA6B.3040501@...1...> Le 31/10/2014 21:56, Emil Lenngren a ?crit : > And this is done in the function JR_object_cast in gb_runtime.c, which is > called from jitted code when objects are converted to other object types. > OK, I see it... mmm... -- Beno?t Minisini From emil.lenngren at ...626... Fri Oct 31 22:59:22 2014 From: emil.lenngren at ...626... (Emil Lenngren) Date: Fri, 31 Oct 2014 22:59:22 +0100 Subject: [Gambas-user] JIT bug with complex string substitutions In-Reply-To: References: Message-ID: Hi. There was a problem with the IIf function. If you had two strings as the last two arguments, but one of them was a string constant, but not the other, it failed. I fixed this in the latest revision. /Emil 2014-10-12 21:11 GMT+02:00 Emil Lenngren : > Hi. I'll check. > > /Emil > Den 12 okt 2014 21:09 skrev "Jussi Lahtinen" : > >> Thanks to unnecessary complexness of Finnish language and my lack of >> ideas, I have written some monster lines with nested Substs. JIT doesn't >> seem to like them. >> I isolated the problem to simplest possible (unusable) case. See >> attachment. >> >> >> Jussi >> > From vuott at ...325... Fri Oct 31 23:02:29 2014 From: vuott at ...325... (Ru Vuott) Date: Fri, 31 Oct 2014 22:02:29 +0000 Subject: [Gambas-user] Conflict discovered in file.... In-Reply-To: <1414770522.46451.YahooMailBasic@...3271...> Message-ID: <1414792949.32090.YahooMailBasic@...3269...> Uhmmmm..... no, I suppose I didn't solve the problem. Well, now trying updating I obtain this message: ~ $ svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details) svn: E155004: Working copy '/home/vuott/trunk' locked. svn: E155004: '/home/vuott/trunk' is already locked. What's this "lock" ? How do I solve the problem ? :-( Regards vuott -------------------------------------------- Ven 31/10/14, Ru Vuott ha scritto: Oggetto: Re: [Gambas-user] Conflict discovered in file.... A: "mailing list for gambas users" Data: Venerd? 31 ottobre 2014, 16:48 Hello, well, re-starting from Terminal ~ $ svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk a message suggests me to run: make clean So, I run ~ $ /trunkmake clean and then I started again from ~ $ svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk and so on. It worked. Thanks at all. vuott -------------------------------------------- Gio 30/10/14, Beno?t Minisini ha scritto: Oggetto: Re: [Gambas-user] Conflict discovered in file.... A: "mailing list for gambas users" Data: Gioved? 30 ottobre 2014, 23:41 Le 30/10/2014 23:20, Tobias Boege a ?crit : > On Thu, 30 Oct 2014, Ru Vuott wrote: >> Hello, >> >> updating Gambas with? rev. #6593, I have this message: >> >> >> Conflict discovered in file 'trunk/comp/src/gb.eval.highlight/.startup'. >> 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: s >> >> >> What choose do you suggest ? >> > > I'm not a svn expert but if you didn't change the file, you should be fine > with "tc". > > In any case, it shouldn't matter because .startup is a generated file, > created by the compiler. It carries no new information and you can just go > and regenerate it. This begs the question why it is versioned in the first > place... > > Regards, > Tobi > It's a bug, that file should not be in the repository. I will fix that... -- Beno?t Minisini ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Fri Oct 31 23:23:43 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 31 Oct 2014 23:23:43 +0100 Subject: [Gambas-user] Conflict discovered in file.... In-Reply-To: <1414792949.32090.YahooMailBasic@...3269...> References: <1414792949.32090.YahooMailBasic@...3269...> Message-ID: <54540BEF.2050509@...1...> Le 31/10/2014 23:02, Ru Vuott a ?crit : > Uhmmmm..... no, I suppose I didn't solve the problem. > > Well, now trying updating I obtain this message: > > ~ $ svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk > svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details) > svn: E155004: Working copy '/home/vuott/trunk' locked. > svn: E155004: '/home/vuott/trunk' is already locked. > > > What's this "lock" ? > > How do I solve the problem ? :-( > > Regards > vuott > A local repository is locked when a svn command has been brutally aborted, or if a svn commit is currently running (for example). If you are sure that you didn't start a svn command somewhere, do what it tells: 'svn cleanup'. It will remove the lock. -- Beno?t Minisini From vuott at ...325... Fri Oct 31 23:48:07 2014 From: vuott at ...325... (Ru Vuott) Date: Fri, 31 Oct 2014 22:48:07 +0000 Subject: [Gambas-user] Conflict discovered in file.... In-Reply-To: <54540BEF.2050509@...1...> Message-ID: <1414795687.21364.YahooMailBasic@...3273...> Thanks. vuott -------------------------------------------- Ven 31/10/14, Beno?t Minisini ha scritto: Oggetto: Re: [Gambas-user] Conflict discovered in file.... A: "mailing list for gambas users" Data: Venerd? 31 ottobre 2014, 23:23 Le 31/10/2014 23:02, Ru Vuott a ?crit : > Uhmmmm..... no, I suppose I didn't solve the problem. > > Well, now trying updating I obtain this message: > > ~ $ svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk > svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details) > svn: E155004: Working copy '/home/vuott/trunk' locked. > svn: E155004: '/home/vuott/trunk' is already locked. > > > What's this "lock" ? > > How do I solve the problem ?? :-( > > Regards > vuott > A local repository is locked when a svn command has been brutally aborted, or if a svn commit is currently running (for example). If you are sure that you didn't start a svn command somewhere, do what it tells: 'svn cleanup'. It will remove the lock. -- Beno?t Minisini ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user