From willy at ...3474... Tue Dec 1 12:36:09 2015 From: willy at ...3474... (willy at ...3474...) Date: Tue, 01 Dec 2015 12:36:09 +0100 Subject: [Gambas-user] Wizard question Message-ID: <7f15dc8dbd99593460dea4c9b5b2911d@...3474...> Hi all, I'm currently working on a Wizard and have a question. The thing with this specific wizard is that once a user starts the wizard, he/she should run through the whole wizard, so no canceling halfway. For this I would need to be able to disable (or even better make invisible) the Cancel button, but I can't figure out how to do this. Is it even possible? If not, I'll have to work around the issue with letting the Cancel event call the Form_Close() method (where closing the wizard before it finished is stopped). But it would look better to visualize the Cancel can't be used I.M.H.O. Thankx, gbWilly From johny.provoost at ...27... Tue Dec 1 14:32:18 2015 From: johny.provoost at ...27... (Johny Provoost) Date: Tue, 1 Dec 2015 14:32:18 +0100 Subject: [Gambas-user] Wizard question In-Reply-To: <7f15dc8dbd99593460dea4c9b5b2911d@...3474...> References: <7f15dc8dbd99593460dea4c9b5b2911d@...3474...> Message-ID: <565DA162.7050806@...27...> Op 01-12-15 om 12:36 schreef [1]willy at ...3474...: Hi all, I'm currently working on a Wizard and have a question. The thing with this specific wizard is that once a user starts the wizard, he/she should run through the whole wizard, so no canceling halfway. For this I would need to be able to disable (or even better make invisible) the Cancel button, but I can't figure out how to do this. Is it even possible? If not, I'll have to work around the issue with letting the Cancel event call the Form_Close() method (where closing the wizard before it finished is stopped). But it would look better to visualize the Cancel can't be used I.M.H.O. Thankx, gbWilly is 'myform.mybutton.visible=false' not working? -- Vriendelijke Groeten Johny Provoost mailto: [2]johny.provoost at ...27... mailto: [3]johny.provoost at ...626... Website: [4]http://www.johnyprovoost.net References 1. mailto:willy at ...3474... 2. mailto:johny.provoost at ...27... 3. mailto:johny.provoost at ...626... 4. http://www.johnyprovoost.net/ From eilert-sprachen at ...221... Tue Dec 1 15:36:40 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 01 Dec 2015 15:36:40 +0100 Subject: [Gambas-user] R: GridView and RichText In-Reply-To: <1748549097.18927348.1448627540705.JavaMail.yahoo@...3424...> References: <1748549097.18927348.1448627540705.JavaMail.yahoo.ref@...3424...> <1748549097.18927348.1448627540705.JavaMail.yahoo@...3424...> Message-ID: <565DB078.3010301@...221...> Thanks for your answer, this was what lead me to the solution: Am 27.11.2015 13:32, schrieb Ru Vuott: > If (Row = 1) And (Column = 1) Then GridView1.Data.Background = Color.SetAlpha(&FF0000, 240) > If (Row = 1) And (Column = 2) Then GridView1.Data.Background = Color.SetAlpha(&FFFF00, 240) > > GridView1.Data.RichText = s[Row, Column] > In the original, there was GridView.Data.Text = ... If .... Then GridView.Data.RichText = ... i. e. the "Text" property overrides any RichText written later. Regards Rolf From eilert-sprachen at ...221... Tue Dec 1 15:40:05 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 01 Dec 2015 15:40:05 +0100 Subject: [Gambas-user] Sending a landscape PDF to printer In-Reply-To: <565C31ED.3050508@...221...> References: <565C31ED.3050508@...221...> Message-ID: <565DB145.1060500@...221...> Without waiting for an answer, I found a workaround for this: pdftk will rotate any landscape documents "1-endwest", so they are printed as usual. If anyone here is interested in the code, you're welcome of course :) Regards Rolf Am 30.11.2015 12:24, schrieb Rolf-Werner Eilert: > Gambas can produce landscape A4 PDF documents. > > I have three PDF viewers, and they show and print these documents as > landscape. No problem. > > Now I tried to send these PDFs to the printer from the Gambas program > via Exec and lp or kprinter, but it doesn't print landscape. Commandline > directly the same. > > Has anyone here had this problem and knows a way to solve this problem? > What might be wrong in these documents that the pdf viewers see > landscape, and the printer does not? > > (One workaround might be to call a pdf-viewer in case of landscape and > let the user print from there, but it's really just a workaround) > > Regards > Rolf > > > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Tue Dec 1 17:02:37 2015 From: taboege at ...626... (Tobias Boege) Date: Tue, 1 Dec 2015 17:02:37 +0100 Subject: [Gambas-user] Wizard question In-Reply-To: <7f15dc8dbd99593460dea4c9b5b2911d@...3474...> References: <7f15dc8dbd99593460dea4c9b5b2911d@...3474...> Message-ID: <20151201160237.GA1195@...2774...> On Tue, 01 Dec 2015, willy at ...3474... wrote: > Hi all, > > I'm currently working on a Wizard and have a question. > > The thing with this specific wizard is that once a user starts the > wizard, he/she should run through the whole wizard, so no canceling > halfway. > > For this I would need to be able to disable (or even better make > invisible) the Cancel button, but I can't figure out how to do this. Is > it even possible? > > If not, I'll have to work around the issue with letting the Cancel event > call the Form_Close() method (where closing the wizard before it > finished is stopped). > But it would look better to visualize the Cancel can't be used I.M.H.O. > This seems like an efficient workaround (compared to writing your own Wizard based on the code from gb.form): You set Wizard.ShowButton = False and place two buttons (to move to the next and previous step) below the Wizard and make them look like the two on the Wizard. With Wizard.MoveNext() and Wizard.MovePrev() they also behave like the buttons on the Wizard. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From willy at ...3474... Tue Dec 1 22:28:09 2015 From: willy at ...3474... (willy at ...3474...) Date: Tue, 01 Dec 2015 22:28:09 +0100 Subject: [Gambas-user] Wizard question In-Reply-To: <565DA162.7050806@...27...> References: <7f15dc8dbd99593460dea4c9b5b2911d@...3474...> <565DA162.7050806@...27...> Message-ID: On 2015-12-01 14:32, Johny Provoost wrote: > Op 01-12-15 om 12:36 schreef [1]willy at ...3474...: > > Hi all, > > I'm currently working on a Wizard and have a question. > > The thing with this specific wizard is that once a user starts the > wizard, he/she should run through the whole wizard, so no canceling > halfway. > > For this I would need to be able to disable (or even better make > invisible) the Cancel button, but I can't figure out how to do this. Is > it even possible? > > If not, I'll have to work around the issue with letting the Cancel > event > call the Form_Close() method (where closing the wizard before it > finished is stopped). > But it would look better to visualize the Cancel can't be used I.M.H.O. > > Thankx, > > gbWilly > > is 'myform.mybutton.visible=false' not working? Hi Johny, The buttons are part of the wizard control (a predefined Gambas control), so they can't be set individualy. I can only make the entire wizard invisible, but that doesn't make a lot of sense :) Toch bedankt, gbWilly From willy at ...3474... Tue Dec 1 22:35:28 2015 From: willy at ...3474... (willy at ...3474...) Date: Tue, 01 Dec 2015 22:35:28 +0100 Subject: [Gambas-user] Wizard question In-Reply-To: <20151201160237.GA1195@...2774...> References: <7f15dc8dbd99593460dea4c9b5b2911d@...3474...> <20151201160237.GA1195@...2774...> Message-ID: On 2015-12-01 17:02, Tobias Boege wrote: > On Tue, 01 Dec 2015, willy at ...3474... wrote: >> Hi all, >> >> I'm currently working on a Wizard and have a question. >> >> The thing with this specific wizard is that once a user starts the >> wizard, he/she should run through the whole wizard, so no canceling >> halfway. >> >> For this I would need to be able to disable (or even better make >> invisible) the Cancel button, but I can't figure out how to do this. >> Is >> it even possible? >> >> If not, I'll have to work around the issue with letting the Cancel >> event >> call the Form_Close() method (where closing the wizard before it >> finished is stopped). >> But it would look better to visualize the Cancel can't be used >> I.M.H.O. >> > > This seems like an efficient workaround (compared to writing your own > Wizard based on the code from gb.form): Hi Tobi, That is what I was thinking as well :) > > You set Wizard.ShowButton = False and place two buttons (to move to the > next and previous step) below the Wizard and make them look like the > two > on the Wizard. With Wizard.MoveNext() and Wizard.MovePrev() they also > behave like the buttons on the Wizard. I might give this a try as well, looks interesting. I have to say, up untill a short while ago I didn't use the wizard. Kind of got used to building my own for each specific situation. Recently I've used it to make two different wizards and I like it a lot. It is a really handy control, once you figure out how to work with it. I'm loving it :) > > Regards, > Tobi Regards, gbWilly From willy at ...3474... Tue Dec 1 22:37:19 2015 From: willy at ...3474... (willy at ...3474...) Date: Tue, 01 Dec 2015 22:37:19 +0100 Subject: [Gambas-user] Sending a landscape PDF to printer In-Reply-To: <565DB145.1060500@...221...> References: <565C31ED.3050508@...221...> <565DB145.1060500@...221...> Message-ID: On 2015-12-01 15:40, Rolf-Werner Eilert wrote: > Without waiting for an answer, I found a workaround for this: > > pdftk will rotate any landscape documents "1-endwest", so they are > printed as usual. > > If anyone here is interested in the code, you're welcome of course :) > > Regards > Rolf Hi Rolf, I'm curious in the code. I forsee I will be needing it as well in some near future situations. Regards, gbWilly From moviga at ...3488... Wed Dec 2 00:00:02 2015 From: moviga at ...3488... (Moviga Technologies) Date: Wed, 02 Dec 2015 00:00:02 +0100 Subject: [Gambas-user] Wizard question In-Reply-To: <7f15dc8dbd99593460dea4c9b5b2911d@...3474...> References: <7f15dc8dbd99593460dea4c9b5b2911d@...3474...> Message-ID: Can't you just find the .children[] index and hide it? From taboege at ...626... Wed Dec 2 00:12:16 2015 From: taboege at ...626... (Tobias Boege) Date: Wed, 2 Dec 2015 00:12:16 +0100 Subject: [Gambas-user] Wizard question In-Reply-To: References: <7f15dc8dbd99593460dea4c9b5b2911d@...3474...> Message-ID: <20151201231216.GA23612@...2774...> On Wed, 02 Dec 2015, Moviga Technologies wrote: > Can't you just find the .children[] index and hide it? Whenever I see somebody doing this, part of me wants to commit a silly change (like changing the name of a control, or whatever bit of information their algorithm uses to find the correct child) and break their application with the next release. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From moviga at ...3488... Wed Dec 2 00:41:42 2015 From: moviga at ...3488... (Moviga Technologies) Date: Wed, 02 Dec 2015 00:41:42 +0100 Subject: [Gambas-user] Wizard question In-Reply-To: <20151201231216.GA23612@...2774...> References: <7f15dc8dbd99593460dea4c9b5b2911d@...3474...> <20151201231216.GA23612@...2774...> Message-ID: > Whenever I see somebody doing this, part of me wants to commit a silly > change (like changing the name of a control, or whatever bit of > information > their algorithm uses to find the correct child) and break their > application > with the next release. I'd say, discipline that part and listen to the other part(s) that doesn't want to do that, and all will be fine :) From adamnt42 at ...626... Wed Dec 2 01:30:14 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Wed, 2 Dec 2015 11:00:14 +1030 Subject: [Gambas-user] Wizard question In-Reply-To: <20151201231216.GA23612@...2774...> References: <7f15dc8dbd99593460dea4c9b5b2911d@...3474...> <20151201231216.GA23612@...2774...> Message-ID: <20151202110014.06ed5bec90e0b4f27e85e11e@...626...> On Wed, 2 Dec 2015 00:12:16 +0100 Tobias Boege wrote: > On Wed, 02 Dec 2015, Moviga Technologies wrote: > > Can't you just find the .children[] index and hide it? > > Whenever I see somebody doing this, part of me wants to commit a silly > change (like changing the name of a control, or whatever bit of information > their algorithm uses to find the correct child) and break their application > with the next release. > > Regards, > Tobi > Ha-ha, you evil child! :-) (But then, I could have used you on some testing contracts we had some years ago!) On the other hand I could question the wisdom of implementing a non-cancel-able wizard? But then again, there is a case for some further study here... One presumes that the reason for preventing a cancel is that having reached step X, the subject of the wizard may be left, at best, in an indeterminate state and at worst in an unstable state. There is a fairly good example in the IDE. The packaging wizard can be cancelled at any step, but changes made in the early steps are "committed" to the .project file. Now, to me, this is a good thing as it let's me set up some things deliberately in the .project file (such as vendor information and licensing) at the early stage of development and these will be used later on when I really want to package the project. On the other hand, if I select the "vendor-prefixing" option and then cancel, then it seems to always be set whether I want it or not..... N.B, This is just an observation, not a criticism. In the back of my mind there is a little voice that keeps saying, "If you are going to provide a wizard, then don't commit anything until the final step" and another that says "... but you'd better provide a way to set / configure values for the attributes covered by the wizard elsewhere!" cheers bruce -- B Bruen From adamnt42 at ...626... Wed Dec 2 04:36:20 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Wed, 2 Dec 2015 14:06:20 +1030 Subject: [Gambas-user] Egads! A new (nasty) error message Message-ID: <20151202140620.ca39fdcf7c815a14ce1e7168@...626...> Generally lately, I'm getting the following error in "random" places: [42] System error #27: File too large. Que? bruce -- B Bruen From buster6seven at ...626... Wed Dec 2 04:50:52 2015 From: buster6seven at ...626... (Buster Seven) Date: Wed, 2 Dec 2015 14:50:52 +1100 Subject: [Gambas-user] gb.report Message-ID: i'm using gb.report and I would like to save a pdf file automatically generated from my program without out user input ! is this possible? thanks Shane From eilert-sprachen at ...221... Wed Dec 2 08:40:10 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 02 Dec 2015 08:40:10 +0100 Subject: [Gambas-user] Sending a landscape PDF to printer In-Reply-To: References: <565C31ED.3050508@...221...> <565DB145.1060500@...221...> Message-ID: <565EA05A.5050801@...221...> Am 01.12.2015 22:37, schrieb willy at ...3474...: > On 2015-12-01 15:40, Rolf-Werner Eilert wrote: >> Without waiting for an answer, I found a workaround for this: >> >> pdftk will rotate any landscape documents "1-endwest", so they are >> printed as usual. >> >> If anyone here is interested in the code, you're welcome of course :) >> >> Regards >> Rolf > Hi Rolf, > > I'm curious in the code. I forsee I will be needing it as well in some > near future situations. > > Regards, > > gbWilly > Okay, here you go ;) My program produces PDFs which are stored under the client's name to be able to see who I have printed something for. When it is a landscape document, a flag is set which can be asked for in the end. This is the original piece of code: If Querdruck = True Then Exec ["pdftk", Replace$(feld[1], "~", User.Home), "cat", "1-endW", "output", User.Home &/ "karteitmp/quer.pdf"] Wait Exec ["kprinter", "--nodialog", "-d", drucker.Name, "-#", AnzahlKopien, User.Home &/ "karteitmp/quer.pdf"] Wait Else Exec ["kprinter", "--nodialog", "-d", drucker.Name, "-#", AnzahlKopien, Replace$(feld[1], "~", User.Home)] Wait End If To make things easier, this is a more readable version: If Landscape = True Then Exec ["pdftk", , "cat", "1-endW", "output", ] Wait Then I use kprinter to print, but lp would do the same. Strange enough, my landscape PDFs are recognized as landscape by any PDF viewer, and printed as landscapes from there. But when you send them to the printing system, landscape is lost (or they are not turned round, respectively). 1-endW means page 1 thru last page westward. There may be later versions of pdftk which use "east" and "west" etc. instead of a single letter. Hope this helps you on... Regards Rolf From gambas.fr at ...626... Wed Dec 2 10:37:10 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 2 Dec 2015 10:37:10 +0100 Subject: [Gambas-user] gb.report In-Reply-To: References: Message-ID: Do you use gb.report or gb.report2 ? Le 2 d?c. 2015 04:52, "Buster Seven" a ?crit : > i'm using gb.report and I would like to save a pdf file automatically > generated from my program without out user input ! is this possible? > > > thanks Shane > > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple > OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From fgores at ...174... Wed Dec 2 10:43:35 2015 From: fgores at ...174... (Frank) Date: Wed, 2 Dec 2015 10:43:35 +0100 Subject: [Gambas-user] gb.report In-Reply-To: References: Message-ID: <565EBD47.3090107@...174...> this is how I did it: Public Sub savepdf() Dim path As String Dim hReport1 As New Rpt Dim hprinter As New Printer path = "/home/me/Gambas/projecten/project/" & name & ".pdf" hprinter.Orientation = Printer.Portrait hprinter.Resolution = Desktop.Resolution hprinter.Paper = Printer.A4 hprinter.OutputFile = path hReport1.Print(hprinter) Message.Info("something is saved") End brgds, Frank Op 02-12-15 om 10:37 schreef Fabien Bodard: > Do you use gb.report or gb.report2 ? > Le 2 d?c. 2015 04:52, "Buster Seven" a ?crit : > >> i'm using gb.report and I would like to save a pdf file automatically >> generated from my program without out user input ! is this possible? >> >> >> thanks Shane >> >> ------------------------------------------------------------------------------ >> Go from Idea to Many App Stores Faster with Intel(R) XDK >> Give your users amazing mobile app experiences with Intel(R) XDK. >> Use one codebase in this all-in-one HTML5 development environment. >> Design, debug & build mobile apps & 2D/3D high-impact games for multiple >> OSs. >> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas.fr at ...626... Wed Dec 2 11:59:53 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 2 Dec 2015 11:59:53 +0100 Subject: [Gambas-user] gb.report In-Reply-To: <565EBD47.3090107@...174...> References: <565EBD47.3090107@...174...> Message-ID: Report users ? Happy to meet you ! Have you any feed back about this components or some needs ? I have drawn this component for my need but to polish it I need more user feedback. What are you using it for ? What kind of widget miss you ? Or anything else can help me to improve this component Le 2 d?c. 2015 10:45, "Frank" a ?crit : > this is how I did it: > > Public Sub savepdf() > > Dim path As String > Dim hReport1 As New Rpt > Dim hprinter As New Printer > > path = "/home/me/Gambas/projecten/project/" & name & ".pdf" > > hprinter.Orientation = Printer.Portrait > hprinter.Resolution = Desktop.Resolution > hprinter.Paper = Printer.A4 > hprinter.OutputFile = path > hReport1.Print(hprinter) > > Message.Info("something is saved") > > End > > > brgds, > > Frank > > Op 02-12-15 om 10:37 schreef Fabien Bodard: > > Do you use gb.report or gb.report2 ? > > Le 2 d?c. 2015 04:52, "Buster Seven" a ?crit : > > > >> i'm using gb.report and I would like to save a pdf file automatically > >> generated from my program without out user input ! is this possible? > >> > >> > >> thanks Shane > >> > >> > ------------------------------------------------------------------------------ > >> Go from Idea to Many App Stores Faster with Intel(R) XDK > >> Give your users amazing mobile app experiences with Intel(R) XDK. > >> Use one codebase in this all-in-one HTML5 development environment. > >> Design, debug & build mobile apps & 2D/3D high-impact games for multiple > >> OSs. > >> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > ------------------------------------------------------------------------------ > > Go from Idea to Many App Stores Faster with Intel(R) XDK > > Give your users amazing mobile app experiences with Intel(R) XDK. > > Use one codebase in this all-in-one HTML5 development environment. > > Design, debug & build mobile apps & 2D/3D high-impact games for multiple > OSs. > > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple > OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From moviga at ...3488... Wed Dec 2 12:00:08 2015 From: moviga at ...3488... (Moviga Technologies) Date: Wed, 02 Dec 2015 12:00:08 +0100 Subject: [Gambas-user] Farm's thumnails are terrible Message-ID: <47405da46f946211dfe8a3a1917c5dba@...3488...> The thumbnails at the farm has such a low resolution that it is just a big haze... could you upp the resolution a tad Beno?t? From fgores at ...174... Wed Dec 2 12:21:57 2015 From: fgores at ...174... (Frank) Date: Wed, 2 Dec 2015 12:21:57 +0100 Subject: [Gambas-user] gb.report In-Reply-To: References: <565EBD47.3090107@...174...> Message-ID: <565ED455.4080405@...174...> Hi Fabien, Yes I use it. I created a accountingprogram where I store customers, contracts, work done and bills in a MYSQL database. Every month I create a bill and store it as PDF in a local folder: I create a report and show it with .preview(), on closing I let the program store the .pdf as shown below automatically. It works fine for me this way at the moment. At the moment I am trying to create a html-email message automatically with the bill in the messagebody so I can send the bill via email...... Frank On 02.12.2015 11:59, Fabien Bodard wrote: > Report users ? > > Happy to meet you ! > > Have you any feed back about this components or some needs ? > > I have drawn this component for my need but to polish it I need more user > feedback. > > What are you using it for ? > > What kind of widget miss you ? > > Or anything else can help me to improve this component > Le 2 d?c. 2015 10:45, "Frank" a ?crit : > >> this is how I did it: >> >> Public Sub savepdf() >> >> Dim path As String >> Dim hReport1 As New Rpt >> Dim hprinter As New Printer >> >> path = "/home/me/Gambas/projecten/project/" & name & ".pdf" >> >> hprinter.Orientation = Printer.Portrait >> hprinter.Resolution = Desktop.Resolution >> hprinter.Paper = Printer.A4 >> hprinter.OutputFile = path >> hReport1.Print(hprinter) >> >> Message.Info("something is saved") >> >> End >> >> >> brgds, >> >> Frank >> >> Op 02-12-15 om 10:37 schreef Fabien Bodard: >>> Do you use gb.report or gb.report2 ? >>> Le 2 d?c. 2015 04:52, "Buster Seven" a ?crit : >>> >>>> i'm using gb.report and I would like to save a pdf file automatically >>>> generated from my program without out user input ! is this possible? >>>> >>>> >>>> thanks Shane >>>> >>>> >> ------------------------------------------------------------------------------ >>>> Go from Idea to Many App Stores Faster with Intel(R) XDK >>>> Give your users amazing mobile app experiences with Intel(R) XDK. >>>> Use one codebase in this all-in-one HTML5 development environment. >>>> Design, debug & build mobile apps & 2D/3D high-impact games for multiple >>>> OSs. >>>> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> >> ------------------------------------------------------------------------------ >>> Go from Idea to Many App Stores Faster with Intel(R) XDK >>> Give your users amazing mobile app experiences with Intel(R) XDK. >>> Use one codebase in this all-in-one HTML5 development environment. >>> Design, debug & build mobile apps & 2D/3D high-impact games for multiple >> OSs. >>> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> ------------------------------------------------------------------------------ >> Go from Idea to Many App Stores Faster with Intel(R) XDK >> Give your users amazing mobile app experiences with Intel(R) XDK. >> Use one codebase in this all-in-one HTML5 development environment. >> Design, debug & build mobile apps & 2D/3D high-impact games for multiple >> OSs. >> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas.fr at ...626... Wed Dec 2 12:45:26 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 2 Dec 2015 12:45:26 +0100 Subject: [Gambas-user] gb.report In-Reply-To: <565ED455.4080405@...174...> References: <565EBD47.3090107@...174...> <565ED455.4080405@...174...> Message-ID: Le 2 d?c. 2015 12:23, "Frank" a ?crit : > > Hi Fabien, > > Yes I use it. I created a accountingprogram where I store customers, contracts, work done and bills in a MYSQL database. Every month I create a bill and store it as PDF in a local folder: I create a report and show it with .preview(), on closing I let the program store > the .pdf as shown below automatically. It works fine for me this way at the moment. > > At the moment I am trying to create a html-email message automatically with the bill in the messagebody so I can send the bill via email...... > > Frank Gb.report2 ? > > On 02.12.2015 11:59, Fabien Bodard wrote: > > Report users ? > > > > Happy to meet you ! > > > > Have you any feed back about this components or some needs ? > > > > I have drawn this component for my need but to polish it I need more user > > feedback. > > > > What are you using it for ? > > > > What kind of widget miss you ? > > > > Or anything else can help me to improve this component > > Le 2 d?c. 2015 10:45, "Frank" a ?crit : > > > >> this is how I did it: > >> > >> Public Sub savepdf() > >> > >> Dim path As String > >> Dim hReport1 As New Rpt > >> Dim hprinter As New Printer > >> > >> path = "/home/me/Gambas/projecten/project/" & name & ".pdf" > >> > >> hprinter.Orientation = Printer.Portrait > >> hprinter.Resolution = Desktop.Resolution > >> hprinter.Paper = Printer.A4 > >> hprinter.OutputFile = path > >> hReport1.Print(hprinter) > >> > >> Message.Info("something is saved") > >> > >> End > >> > >> > >> brgds, > >> > >> Frank > >> > >> Op 02-12-15 om 10:37 schreef Fabien Bodard: > >>> Do you use gb.report or gb.report2 ? > >>> Le 2 d?c. 2015 04:52, "Buster Seven" a ?crit : > >>> > >>>> i'm using gb.report and I would like to save a pdf file automatically > >>>> generated from my program without out user input ! is this possible? > >>>> > >>>> > >>>> thanks Shane > >>>> > >>>> > >> ------------------------------------------------------------------------------ > >>>> Go from Idea to Many App Stores Faster with Intel(R) XDK > >>>> Give your users amazing mobile app experiences with Intel(R) XDK. > >>>> Use one codebase in this all-in-one HTML5 development environment. > >>>> Design, debug & build mobile apps & 2D/3D high-impact games for multiple > >>>> OSs. > >>>> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > >>>> _______________________________________________ > >>>> Gambas-user mailing list > >>>> Gambas-user at lists.sourceforge.net > >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>>> > >> ------------------------------------------------------------------------------ > >>> Go from Idea to Many App Stores Faster with Intel(R) XDK > >>> Give your users amazing mobile app experiences with Intel(R) XDK. > >>> Use one codebase in this all-in-one HTML5 development environment. > >>> Design, debug & build mobile apps & 2D/3D high-impact games for multiple > >> OSs. > >>> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > >>> _______________________________________________ > >>> Gambas-user mailing list > >>> Gambas-user at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> > >> ------------------------------------------------------------------------------ > >> Go from Idea to Many App Stores Faster with Intel(R) XDK > >> Give your users amazing mobile app experiences with Intel(R) XDK. > >> Use one codebase in this all-in-one HTML5 development environment. > >> Design, debug & build mobile apps & 2D/3D high-impact games for multiple > >> OSs. > >> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > ------------------------------------------------------------------------------ > > Go from Idea to Many App Stores Faster with Intel(R) XDK > > Give your users amazing mobile app experiences with Intel(R) XDK. > > Use one codebase in this all-in-one HTML5 development environment. > > Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. > > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Wed Dec 2 12:45:58 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 2 Dec 2015 12:45:58 +0100 Subject: [Gambas-user] Farm's thumnails are terrible In-Reply-To: <47405da46f946211dfe8a3a1917c5dba@...3488...> References: <47405da46f946211dfe8a3a1917c5dba@...3488...> Message-ID: <565ED9F6.7040801@...1...> Le 02/12/2015 12:00, Moviga Technologies a ?crit : > > > The thumbnails at the farm has such a low resolution that it is just a > big haze... could you upp the resolution a tad Beno?t? It's for saving bandwith : it's just a thumbnail... -- Beno?t Minisini From rhoct at ...325... Wed Dec 2 13:09:46 2015 From: rhoct at ...325... (roberto) Date: Wed, 2 Dec 2015 13:09:46 +0100 Subject: [Gambas-user] Farm's thumnails are terrible In-Reply-To: <565ED9F6.7040801@...1...> References: <47405da46f946211dfe8a3a1917c5dba@...3488...> <565ED9F6.7040801@...1...> Message-ID: <565EDF8A.8020305@...325...> Hi Beno?t There is a reason why no one answers to my question on the XmlReader? I was wrong in something? Il 02/12/2015 12:45, Beno?t Minisini ha scritto: > Le 02/12/2015 12:00, Moviga Technologies a ?crit : >> >> The thumbnails at the farm has such a low resolution that it is just a >> big haze... could you upp the resolution a tad Beno?t? > It's for saving bandwith : it's just a thumbnail... > From gambas at ...1... Wed Dec 2 13:13:13 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 2 Dec 2015 13:13:13 +0100 Subject: [Gambas-user] Farm's thumnails are terrible In-Reply-To: <565EDF8A.8020305@...325...> References: <47405da46f946211dfe8a3a1917c5dba@...3488...> <565ED9F6.7040801@...1...> <565EDF8A.8020305@...325...> Message-ID: <565EE059.6000203@...1...> Le 02/12/2015 13:09, roberto a ?crit : > Hi Beno?t > > There is a reason why no one answers to my question on the XmlReader? > I was wrong in something? > It's Adrien that deals with Xml components, it's outside of my scope... -- Beno?t Minisini From gambas at ...1... Wed Dec 2 13:14:15 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 2 Dec 2015 13:14:15 +0100 Subject: [Gambas-user] Farm's thumnails are terrible In-Reply-To: <565EE059.6000203@...1...> References: <47405da46f946211dfe8a3a1917c5dba@...3488...> <565ED9F6.7040801@...1...> <565EDF8A.8020305@...325...> <565EE059.6000203@...1...> Message-ID: <565EE097.1040506@...1...> Le 02/12/2015 13:13, Beno?t Minisini a ?crit : > Le 02/12/2015 13:09, roberto a ?crit : >> Hi Beno?t >> >> There is a reason why no one answers to my question on the XmlReader? >> I was wrong in something? >> > > It's Adrien that deals with Xml components, it's outside of my scope... > I suggest that you create an entry in the bug tracker (if not already done), and join a project that allows to reproduce the bug. -- Beno?t Minisini From fgores at ...174... Wed Dec 2 13:17:07 2015 From: fgores at ...174... (fgores) Date: Wed, 2 Dec 2015 13:17:07 +0100 Subject: [Gambas-user] gb.report In-Reply-To: References: <565EBD47.3090107@...174...> <565ED455.4080405@...174...> Message-ID: <9CD5C489-7FCB-4517-AD25-54978C7EAEFB@...174...> Gb.report2 yes Verstuurd vanaf mijn iPad > Op 2 dec. 2015 om 12:45 heeft Fabien Bodard het volgende geschreven: > > Le 2 d?c. 2015 12:23, "Frank" a ?crit : >> >> Hi Fabien, >> >> Yes I use it. I created a accountingprogram where I store customers, > contracts, work done and bills in a MYSQL database. Every month I create a > bill and store it as PDF in a local folder: I create a report and show it > with .preview(), on closing I let the program store >> the .pdf as shown below automatically. It works fine for me this way at > the moment. >> >> At the moment I am trying to create a html-email message automatically > with the bill in the messagebody so I can send the bill via email...... >> >> Frank > Gb.report2 ? >> >>> On 02.12.2015 11:59, Fabien Bodard wrote: >>> Report users ? >>> >>> Happy to meet you ! >>> >>> Have you any feed back about this components or some needs ? >>> >>> I have drawn this component for my need but to polish it I need more > user >>> feedback. >>> >>> What are you using it for ? >>> >>> What kind of widget miss you ? >>> >>> Or anything else can help me to improve this component >>> Le 2 d?c. 2015 10:45, "Frank" a ?crit : >>> >>>> this is how I did it: >>>> >>>> Public Sub savepdf() >>>> >>>> Dim path As String >>>> Dim hReport1 As New Rpt >>>> Dim hprinter As New Printer >>>> >>>> path = "/home/me/Gambas/projecten/project/" & name & ".pdf" >>>> >>>> hprinter.Orientation = Printer.Portrait >>>> hprinter.Resolution = Desktop.Resolution >>>> hprinter.Paper = Printer.A4 >>>> hprinter.OutputFile = path >>>> hReport1.Print(hprinter) >>>> >>>> Message.Info("something is saved") >>>> >>>> End >>>> >>>> >>>> brgds, >>>> >>>> Frank >>>> >>>> Op 02-12-15 om 10:37 schreef Fabien Bodard: >>>>> Do you use gb.report or gb.report2 ? >>>>> Le 2 d?c. 2015 04:52, "Buster Seven" a ?crit > : >>>>> >>>>>> i'm using gb.report and I would like to save a pdf file automatically >>>>>> generated from my program without out user input ! is this possible? >>>>>> >>>>>> >>>>>> thanks Shane > ------------------------------------------------------------------------------ >>>>>> Go from Idea to Many App Stores Faster with Intel(R) XDK >>>>>> Give your users amazing mobile app experiences with Intel(R) XDK. >>>>>> Use one codebase in this all-in-one HTML5 development environment. >>>>>> Design, debug From moviga at ...3488... Wed Dec 2 15:52:28 2015 From: moviga at ...3488... (Moviga Technologies) Date: Wed, 02 Dec 2015 15:52:28 +0100 Subject: [Gambas-user] Farm's thumnails are terrible In-Reply-To: <565ED9F6.7040801@...1...> References: <47405da46f946211dfe8a3a1917c5dba@...3488...> <565ED9F6.7040801@...1...> Message-ID: <833f393817e8d34dbdc9ec32371ce655@...3488...> > It's for saving bandwith : it's just a thumbnail... How about making removing the stretch at least. If the thumbnail is 200x200, and the Farm's thumbnailbox is 900x900, it would be better that the Farm's imagebox is 200x200 as well... IMHO. From bugtracker at ...3416... Wed Dec 2 16:11:55 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 02 Dec 2015 15:11:55 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #848: Keep getting "cannot open file" error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.848&from=L21haW4- Moviga TECHNOLOGIES added an attachment: Moviga-VerticalProgressBar-0.1.1.tar.gz From bugtracker at ...3416... Wed Dec 2 16:12:05 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 02 Dec 2015 15:12:05 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #848: Keep getting "cannot open file" error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.848&from=L21haW4- Moviga TECHNOLOGIES added an attachment: cannot_open_file.png From bugtracker at ...3416... Wed Dec 2 16:12:55 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 02 Dec 2015 15:12:55 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #848: Keep getting "cannot open file" error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.848&from=L21haW4- Comment #1 by Moviga TECHNOLOGIES: I added the project here for convenience. I hope you get the same error with you, because this is pretty annoying. From bugtracker at ...3416... Wed Dec 2 16:15:14 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 02 Dec 2015 15:15:14 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #851: Browse project does not work any longer Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.851&from=L21haW4- Moviga TECHNOLOGIES reported a new bug. Summary ------- Browse project does not work any longer Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- 'Tools -> Browse project' is now doing nothing. I use Dolphin and KDE5 System information ------------------ [System] Gambas=3.8.90 r7493 OperatingSystem=Linux Kernel=4.2.5-1-ARCH Architecture=x86_64 Distribution=arch Desktop=KDE5 Theme=Breeze Language=nb_NO.UTF-8 Memory=9901M [Libraries] Cairo=libcairo.so.2.11400.4 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.5 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.601.0 GTK+2=libgtk-x11-2.0.so.0.2400.28 GTK+3=libgtk-3.so.0.1800.5 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.56.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=/usr/share/xsessions/plasma DISPLAY=:0 GB_GUI=gb.qt5 GS_LIB=/.fonts GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/.gtkrc-2.0:/.config/gtkrc-2.0 GTK_MODULES=canberra-gtk-module GTK_RC_FILES=/etc/gtk/gtkrc:/.gtkrc:/.config/gtkrc HOME= KDE_FULL_SESSION=true KDE_MULTIHEAD=false KDE_SESSION_UID=1000 KDE_SESSION_VERSION=5 LANG=nb_NO.UTF-8 LANGUAGE=nb LOGNAME= MAIL=/var/spool/mail/ MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl PWD= QT_IM_MODULE=compose QT_NO_GLIB=1 SESSION_MANAGER=local/:@/tmp/.ICE-unix/818,unix/:/tmp/.ICE-unix/818 SHELL=/bin/bash SHLVL=1 SSH_ASKPASS=/usr/bin/ksshaskpass TZ=:/etc/localtime USER= XAUTHORITY=/tmp/xauth-1000-_0 XCURSOR_SIZE=0 XCURSOR_THEME=Breeze_Snow XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=KDE XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 XDG_SESSION_TYPE=x11 XDG_VTNR=1 _=/usr/lib/kf5/start_kdeinit_wrapper From bugtracker at ...3416... Wed Dec 2 17:03:14 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 02 Dec 2015 16:03:14 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #848: Keep getting "cannot open file" error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.848&from=L21haW4- Comment #2 by Fabien BODARD: Working great here on a fresh install... ' Copyright (c) 2015 jornmo - moviga at ...3488... Are you sure there is no code from the gb.form component ? From bugtracker at ...3416... Wed Dec 2 17:07:00 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 02 Dec 2015 16:07:00 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #848: Keep getting "cannot open file" error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.848&from=L21haW4- Comment #3 by Fabien BODARD: sorry ... no in fact... but read the code in gb.gui.base it will help you on optimizing your code with the paint class. and don't use an integer for a boolean flag.. From bugtracker at ...3416... Wed Dec 2 17:14:19 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 02 Dec 2015 16:14:19 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #848: Keep getting "cannot open file" error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.848&from=L21haW4- Comment #4 by Moviga TECHNOLOGIES: Thank you for the suggestions. However, I do also get this error sometimes when I try to open the gb.web.form project from trunk. It complains about the WebSeperator. It is somewhat random it seems. From bugtracker at ...3416... Wed Dec 2 20:25:14 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 02 Dec 2015 19:25:14 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #851: Browse project does not work any longer In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.851&from=L21haW4- Comment #1 by Beno?t MINISINI: It works perfectly there. This feature relies on a 'xdg-open' script copied in a temporary directory: can you check that 'xdg-open' works on your system? From bugtracker at ...3416... Wed Dec 2 20:28:55 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 02 Dec 2015 19:28:55 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #851: Browse project does not work any longer In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.851&from=L21haW4- Comment #2 by Moviga TECHNOLOGIES: $ xdg-open ~ launches dolphin in my home directory From bugtracker at ...3416... Wed Dec 2 20:37:04 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 02 Dec 2015 19:37:04 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #848: Keep getting "cannot open file" error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.848&from=L21haW4- Comment #5 by Beno?t MINISINI: Is it better with revision #7496? From bugtracker at ...3416... Wed Dec 2 20:37:21 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 02 Dec 2015 19:37:21 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #848: Keep getting "cannot open file" error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.848&from=L21haW4- Comment #6 by Beno?t MINISINI: Oops, sorry, ignore that last comment! From bugtracker at ...3416... Wed Dec 2 20:37:54 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 02 Dec 2015 19:37:54 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #848: Keep getting "cannot open file" error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.848&from=L21haW4- Comment #7 by Beno?t MINISINI: Finally, don't ignore it. :-) Is it better with revision #7496? From bugtracker at ...3416... Wed Dec 2 20:47:24 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 02 Dec 2015 19:47:24 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #848: Keep getting "cannot open file" error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.848&from=L21haW4- Comment #8 by Moviga TECHNOLOGIES: Now, before I went on installing the newest revision, I thought I should try to open the project once more, and now there is no error... so, I will have to hold on for some time and see if it comes back with the new version. From bugtracker at ...3416... Thu Dec 3 07:02:47 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 03 Dec 2015 06:02:47 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #852: IDE Crash when using Gambas Sofware Farm Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.852&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- IDE Crash when using Gambas Sofware Farm Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Development Environment Description ----------- Reproduce the bug : - select one project and wait until the screenshot picture appears(attach pic-1), press the back button - select one of the "other project", if the spinner has appeared, press the back button (attach pic-2) - wait until less than 20 second and error message show (attach pic-3) [13] Null object.FSoftwareFarm.Software_Screenshot.388 System information ------------------ [System] Gambas=3.8.90 r7496 OperatingSystem=Linux Kernel=3.2.0-88-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=LXDE Theme=Gtk Language=en_US.UTF-8 Memory=494M [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.7.0 GTK+2=libgtk-x11-2.0.so.0.2400.10 GTK+3=libgtk-3.so.0.400.2 OpenGL=libGL.so.96.43.23 Poppler=libpoppler.so.19.0.0 QT4=libQtCore.so.4.8.1 QT5=libQt5Core.so.5.0.2 SDL=libSDL-1.2.so.0.11.3 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-xpmvj25V6h,guid=be71a96f9e366390d6245d360000002c DEFAULTS_PATH=/usr/share/gconf/Lubuntu.default.path DESKTOP_SESSION=Lubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=Lubuntu GNOME_KEYRING_CONTROL=/tmp/keyring-jbkeXd GNOME_KEYRING_PID=1828 HOME= LANG=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/Lubuntu.mandatory.path PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PWD= SAL_USE_VCLPLUGIN=gtk SHELL=/bin/bash SSH_AGENT_PID=1819 SSH_AUTH_SOCK=/tmp/keyring-jbkeXd/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/lubuntu/:/etc/xdg/xdg-Lubuntu:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXDE XDG_DATA_DIRS=/etc/xdg/lubuntu:/usr/share/Lubuntu:/usr/local/share/:/usr/share/:/usr/share:/usr/share/gdm:/var/lib/menu-xdg XDG_MENU_PREFIX=lxde- XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_COOKIE=2d9710af0959f6893eb828f100000008-1449091035.731829-1059360993 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 _LXSESSION_PID=1789 From bugtracker at ...3416... Thu Dec 3 07:03:00 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 03 Dec 2015 06:03:00 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #852: IDE Crash when using Gambas Sofware Farm In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.852&from=L21haW4- Zainudin AHMAD added an attachment: pic-1.png From bugtracker at ...3416... Thu Dec 3 07:03:07 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 03 Dec 2015 06:03:07 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #852: IDE Crash when using Gambas Sofware Farm In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.852&from=L21haW4- Zainudin AHMAD added an attachment: pic-2.png From bugtracker at ...3416... Thu Dec 3 07:03:15 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 03 Dec 2015 06:03:15 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #852: IDE Crash when using Gambas Sofware Farm In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.852&from=L21haW4- Zainudin AHMAD added an attachment: pic-3.png From bugtracker at ...3416... Thu Dec 3 07:22:35 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 03 Dec 2015 06:22:35 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #853: IDE Crash when press the Undo button Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.853&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- IDE Crash when press the Undo button Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Development Environment Description ----------- I get Error message (attach pic-2) : [13] Null object. FForm.SetControlProperty.3808 , when press the Undo button. Reproduce the bug : (attach pic-1) - Add DataView into Form - Press the Undo button this happens with : - DataCheckBox - DataCombo - DataComboView - DataControl - DataView System information ------------------ [System] Gambas=3.8.90 r7496 OperatingSystem=Linux Kernel=3.2.0-88-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=LXDE Theme=Gtk Language=en_US.UTF-8 Memory=494M [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.7.0 GTK+2=libgtk-x11-2.0.so.0.2400.10 GTK+3=libgtk-3.so.0.400.2 OpenGL=libGL.so.96.43.23 Poppler=libpoppler.so.19.0.0 QT4=libQtCore.so.4.8.1 QT5=libQt5Core.so.5.0.2 SDL=libSDL-1.2.so.0.11.3 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-xpmvj25V6h,guid=be71a96f9e366390d6245d360000002c DEFAULTS_PATH=/usr/share/gconf/Lubuntu.default.path DESKTOP_SESSION=Lubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=Lubuntu GNOME_KEYRING_CONTROL=/tmp/keyring-jbkeXd GNOME_KEYRING_PID=1828 HOME= LANG=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/Lubuntu.mandatory.path PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PWD= SAL_USE_VCLPLUGIN=gtk SHELL=/bin/bash SSH_AGENT_PID=1819 SSH_AUTH_SOCK=/tmp/keyring-jbkeXd/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/lubuntu/:/etc/xdg/xdg-Lubuntu:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXDE XDG_DATA_DIRS=/etc/xdg/lubuntu:/usr/share/Lubuntu:/usr/local/share/:/usr/share/:/usr/share:/usr/share/gdm:/var/lib/menu-xdg XDG_MENU_PREFIX=lxde- XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_COOKIE=2d9710af0959f6893eb828f100000008-1449091035.731829-1059360993 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 _LXSESSION_PID=1789 From bugtracker at ...3416... Thu Dec 3 07:22:48 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 03 Dec 2015 06:22:48 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #853: IDE Crash when press the Undo button In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.853&from=L21haW4- Zainudin AHMAD added an attachment: pic-2.png From bugtracker at ...3416... Thu Dec 3 07:22:57 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 03 Dec 2015 06:22:57 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #853: IDE Crash when press the Undo button In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.853&from=L21haW4- Zainudin AHMAD added an attachment: pic-1.png From bugtracker at ...3416... Thu Dec 3 08:36:42 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 03 Dec 2015 07:36:42 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #854: IDE Crash when "Double Click" the Publish button on Publis Software Dialog Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.854&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- IDE Crash when "Double Click" the Publish button on Publis Software Dialog Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Development Environment Description ----------- This happens "without internet connection" Reproduce the bug: - Doble Click the publish button (attach pic-1) I get : Message box already displayed. FarmRequest.WaitFor.207 Sometimes Interpreter Crash (attach gbd.out file) System information ------------------ [System] Gambas=3.8.90 r7496 OperatingSystem=Linux Kernel=3.2.0-88-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=LXDE Theme=Gtk Language=en_US.UTF-8 Memory=494M [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.7.0 GTK+2=libgtk-x11-2.0.so.0.2400.10 GTK+3=libgtk-3.so.0.400.2 OpenGL=libGL.so.96.43.23 Poppler=libpoppler.so.19.0.0 QT4=libQtCore.so.4.8.1 QT5=libQt5Core.so.5.0.2 SDL=libSDL-1.2.so.0.11.3 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-xpmvj25V6h,guid=be71a96f9e366390d6245d360000002c DEFAULTS_PATH=/usr/share/gconf/Lubuntu.default.path DESKTOP_SESSION=Lubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=Lubuntu GNOME_KEYRING_CONTROL=/tmp/keyring-jbkeXd GNOME_KEYRING_PID=1828 HOME= LANG=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/Lubuntu.mandatory.path PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PWD= SAL_USE_VCLPLUGIN=gtk SHELL=/bin/bash SSH_AGENT_PID=1819 SSH_AUTH_SOCK=/tmp/keyring-jbkeXd/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/lubuntu/:/etc/xdg/xdg-Lubuntu:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXDE XDG_DATA_DIRS=/etc/xdg/lubuntu:/usr/share/Lubuntu:/usr/local/share/:/usr/share/:/usr/share:/usr/share/gdm:/var/lib/menu-xdg XDG_MENU_PREFIX=lxde- XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_COOKIE=2d9710af0959f6893eb828f100000008-1449091035.731829-1059360993 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 _LXSESSION_PID=1789 From bugtracker at ...3416... Thu Dec 3 08:36:55 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 03 Dec 2015 07:36:55 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #854: IDE Crash when "Double Click" the Publish button on Publis Software Dialog In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.854&from=L21haW4- Zainudin AHMAD added an attachment: pic-1.png From bugtracker at ...3416... Thu Dec 3 08:37:08 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 03 Dec 2015 07:37:08 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #854: IDE Crash when "Double Click" the Publish button on Publis Software Dialog In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.854&from=L21haW4- Zainudin AHMAD added an attachment: gdb.out From eilert-sprachen at ...221... Thu Dec 3 08:48:40 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 03 Dec 2015 08:48:40 +0100 Subject: [Gambas-user] Gambas IDE slows down to standstill on terminal server Message-ID: <565FF3D8.4050907@...221...> On my terminal server in the office, after having open Gambas IDE for some hours, suddenly the IDE will slow down to nearly standstill. This is reproducable, though I cannot know when it happens. Seems to come faster when I work a lot in the editor. After a minute or so, even mouse events on the whole screen are slowing down, and I had it twice that I had to go to the server room and log in from there and kill gbr3 from the command line to regain access to my terminal. This seems to have to do with the optimazation Benoit has made, see our conversation on the X server. There seems to be some kind of accumulation which stuffs the RAM in my terminal until it starts swapping. I found that killing Firefox at the same time helps the terminal to come back faster, but with a bit of patience I could do without this measure. Although I really don't know if it makes sense to "re-optimize" the IDE for terminal servers (this will be a rare case of usage), I found it worthwhile to mention. Benoit, instead of an automatic switch, would it make sense to provide for a manual override of this feature, e. g. by command line or some option in the .rc file? The few people who are using the IDE on a terminal server might profit from it. (But if this means taking care of a lot of different places in code, I wouldn't bother you with it.) Regards Rolf From eilert-sprachen at ...221... Thu Dec 3 09:21:10 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 03 Dec 2015 09:21:10 +0100 Subject: [Gambas-user] Gambas IDE slows down to standstill on terminal server In-Reply-To: <565FF3D8.4050907@...221...> References: <565FF3D8.4050907@...221...> Message-ID: <565FFB76.3090302@...221...> Am 03.12.2015 08:48, schrieb Rolf-Werner Eilert: > On my terminal server in the office, after having open Gambas IDE for > some hours, suddenly the IDE will slow down to nearly standstill. This > is reproducable, though I cannot know when it happens. Seems to come > faster when I work a lot in the editor. After a minute or so, even mouse > events on the whole screen are slowing down, and I had it twice that I > had to go to the server room and log in from there and kill gbr3 from > the command line to regain access to my terminal. > > This seems to have to do with the optimazation Benoit has made, see our > conversation on the X server. There seems to be some kind of > accumulation which stuffs the RAM in my terminal until it starts swapping. > > I found that killing Firefox at the same time helps the terminal to come > back faster, but with a bit of patience I could do without this measure. > > Although I really don't know if it makes sense to "re-optimize" the IDE > for terminal servers (this will be a rare case of usage), I found it > worthwhile to mention. > > Benoit, instead of an automatic switch, would it make sense to provide > for a manual override of this feature, e. g. by command line or some > option in the .rc file? The few people who are using the IDE on a > terminal server might profit from it. (But if this means taking care of > a lot of different places in code, I wouldn't bother you with it.) > > Regards > Rolf > > Let me quickly add this: I just remembered that about 2 weeks ago, I designed a very wide dialog window. In the IDE, the dialog window would disappear under the properties palette, so I had to slide the window right-left many times. Switching back and forth from the editor, this would stop the IDE several times a day. This was the reason for me to start the discussion with you, Benoit. So it seems to have to do not only with the editor, but maybe a combination of graphical IDE and editor. Or the IDE as a whole. Meanwhile I have worked a lot in some modules, so no graphics, and sometimes I had to let the IDE stand and wait. Even then the error eventually occured, but later. Rolf From ihaywood3 at ...626... Thu Dec 3 11:47:18 2015 From: ihaywood3 at ...626... (Ian Haywood) Date: Thu, 3 Dec 2015 21:47:18 +1100 Subject: [Gambas-user] running IDE with Qt5 Message-ID: is there a way to run the IDE with Qt5 only (not Qt4 at all) The reason is Qt4 webkit is getting pulled out of Debian, so we are not allowed to depend on it anymore. Ian From rterry at ...1823... Thu Dec 3 13:37:57 2015 From: rterry at ...1823... (richard terry) Date: Thu, 3 Dec 2015 23:37:57 +1100 Subject: [Gambas-user] IDE global search question Message-ID: <566037A5.9000200@...1823...> Hi list, I 'm doing some major surgery on my medical records program and wondered if one can use a wildcard search in the project wide search box or regex thanks Richard From gambas at ...1... Thu Dec 3 15:04:35 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 3 Dec 2015 15:04:35 +0100 Subject: [Gambas-user] Gambas IDE slows down to standstill on terminal server In-Reply-To: <565FF3D8.4050907@...221...> References: <565FF3D8.4050907@...221...> Message-ID: <56604BF3.9000405@...1...> Le 03/12/2015 08:48, Rolf-Werner Eilert a ?crit : > On my terminal server in the office, after having open Gambas IDE for > some hours, suddenly the IDE will slow down to nearly standstill. This > is reproducable, though I cannot know when it happens. Seems to come > faster when I work a lot in the editor. After a minute or so, even mouse > events on the whole screen are slowing down, and I had it twice that I > had to go to the server room and log in from there and kill gbr3 from > the command line to regain access to my terminal. > > This seems to have to do with the optimazation Benoit has made, see our > conversation on the X server. There seems to be some kind of > accumulation which stuffs the RAM in my terminal until it starts swapping. I will check, but normally, if a terminal server is detected (i.e. if DISPLAY does not begins with ":"), then all image caches are disabled. What's the value of DISPLAY on your X11 client (i.e. your server)? -- Beno?t Minisini From gambas at ...1... Thu Dec 3 15:05:52 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 3 Dec 2015 15:05:52 +0100 Subject: [Gambas-user] Gambas IDE slows down to standstill on terminal server In-Reply-To: <565FFB76.3090302@...221...> References: <565FF3D8.4050907@...221...> <565FFB76.3090302@...221...> Message-ID: <56604C40.4010503@...1...> Le 03/12/2015 09:21, Rolf-Werner Eilert a ?crit : > > Am 03.12.2015 08:48, schrieb Rolf-Werner Eilert: >> On my terminal server in the office, after having open Gambas IDE for >> some hours, suddenly the IDE will slow down to nearly standstill. This >> is reproducable, though I cannot know when it happens. Seems to come >> faster when I work a lot in the editor. After a minute or so, even mouse >> events on the whole screen are slowing down, and I had it twice that I >> had to go to the server room and log in from there and kill gbr3 from >> the command line to regain access to my terminal. >> >> This seems to have to do with the optimazation Benoit has made, see our >> conversation on the X server. There seems to be some kind of >> accumulation which stuffs the RAM in my terminal until it starts swapping. >> >> I found that killing Firefox at the same time helps the terminal to come >> back faster, but with a bit of patience I could do without this measure. >> >> Although I really don't know if it makes sense to "re-optimize" the IDE >> for terminal servers (this will be a rare case of usage), I found it >> worthwhile to mention. >> >> Benoit, instead of an automatic switch, would it make sense to provide >> for a manual override of this feature, e. g. by command line or some >> option in the .rc file? The few people who are using the IDE on a >> terminal server might profit from it. (But if this means taking care of >> a lot of different places in code, I wouldn't bother you with it.) >> >> Regards >> Rolf >> >> > Let me quickly add this: I just remembered that about 2 weeks ago, I > designed a very wide dialog window. In the IDE, the dialog window would > disappear under the properties palette, so I had to slide the window > right-left many times. Switching back and forth from the editor, this > would stop the IDE several times a day. This was the reason for me to > start the discussion with you, Benoit. > > So it seems to have to do not only with the editor, but maybe a > combination of graphical IDE and editor. Or the IDE as a whole. > Meanwhile I have worked a lot in some modules, so no graphics, and > sometimes I had to let the IDE stand and wait. Even then the error > eventually occured, but later. > > Rolf > Do you run the IDE with QT5 or QT4? QT4 is far more terminal-server friendly than QT5 that uses image buffers everywhere to prevent tearing. Maybe there is a QT env variable to disable that, I don't know... -- Beno?t Minisini From gambas at ...1... Thu Dec 3 15:10:25 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 3 Dec 2015 15:10:25 +0100 Subject: [Gambas-user] running IDE with Qt5 In-Reply-To: References: Message-ID: <56604D51.3080009@...1...> Le 03/12/2015 11:47, Ian Haywood a ?crit : > is there a way to run the IDE with Qt5 only (not Qt4 at all) > The reason is Qt4 webkit is getting pulled out of Debian, so we are > not allowed to depend on it anymore. > > Ian > The algorithm is the following: if GB_GUI is "QT4", then gb.qt4 is used. if GB_GUI is "QT5", then gb.qt5 is used. otherwise, if KDE_FULL_SESSION is "true", then if KDE_SESSION_VERSION is "4", then gb.qt4 is used. if KDE_SESSION_VERSION is "5", then gb.qt5 is used. othewise, gb.qt5 is used. Then, if the component fails to load for any reason (for example if it is not present on the system), the other component is tried. -- Beno?t Minisini From bugtracker at ...3416... Thu Dec 3 16:11:29 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 03 Dec 2015 15:11:29 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #848: Keep getting "cannot open file" error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.848&from=L21haW4- Comment #9 by Moviga TECHNOLOGIES: @FABIEN: I was a bit puzzeled why you directed me to gb.gui.base, because I thought that the progressbar was based on the native QT/GTK one. I am having a look at the code now, and I wonder if there is anything specific you find un-optimized in my code. I see that I havedone some things differently, but after all perhaps not ineffective? From ihaywood3 at ...626... Thu Dec 3 21:27:29 2015 From: ihaywood3 at ...626... (Ian Haywood) Date: Fri, 4 Dec 2015 07:27:29 +1100 Subject: [Gambas-user] running IDE with Qt5 In-Reply-To: <56604D51.3080009@...1...> References: <56604D51.3080009@...1...> Message-ID: On Fri, Dec 4, 2015 at 1:10 AM, Beno?t Minisini wrote: > Le 03/12/2015 11:47, Ian Haywood a ?crit : >> is there a way to run the IDE with Qt5 only (not Qt4 at all) >> The reason is Qt4 webkit is getting pulled out of Debian, so we are >> not allowed to depend on it anymore. >> >> Ian >> > > The algorithm is the following: > > if GB_GUI is "QT4", then gb.qt4 is used. > if GB_GUI is "QT5", then gb.qt5 is used. > otherwise, > if KDE_FULL_SESSION is "true", then > if KDE_SESSION_VERSION is "4", then gb.qt4 is used. > if KDE_SESSION_VERSION is "5", then gb.qt5 is used. > othewise, gb.qt5 is used. I thought so, but I am finding that on 3.8.3 at least, if gb.qt4 and gb.qt5 are both present, gb.qt4 is used (which then fails, as no gb.q4.webkit is present) Removing gb.qt4 from the system is the solution: the IDE then has nbo choice but to run successfully with gb.qt5 Ian From gambas at ...1... Thu Dec 3 21:53:05 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 3 Dec 2015 21:53:05 +0100 Subject: [Gambas-user] running IDE with Qt5 In-Reply-To: References: <56604D51.3080009@...1...> Message-ID: <5660ABB1.7070607@...1...> Le 03/12/2015 21:27, Ian Haywood a ?crit : > On Fri, Dec 4, 2015 at 1:10 AM, Beno?t Minisini > wrote: >> Le 03/12/2015 11:47, Ian Haywood a ?crit : >>> is there a way to run the IDE with Qt5 only (not Qt4 at all) >>> The reason is Qt4 webkit is getting pulled out of Debian, so we are >>> not allowed to depend on it anymore. >>> >>> Ian >>> >> >> The algorithm is the following: >> >> if GB_GUI is "QT4", then gb.qt4 is used. >> if GB_GUI is "QT5", then gb.qt5 is used. >> otherwise, >> if KDE_FULL_SESSION is "true", then >> if KDE_SESSION_VERSION is "4", then gb.qt4 is used. >> if KDE_SESSION_VERSION is "5", then gb.qt5 is used. >> othewise, gb.qt5 is used. > I thought so, but I am finding that on 3.8.3 at least, if gb.qt4 and > gb.qt5 are both present, > gb.qt4 is used (which then fails, as no gb.q4.webkit is present) > Removing gb.qt4 from the system is the solution: the IDE then has nbo > choice but to run successfully with gb.qt5 > > Ian > If you use 'gb.qt4', it's because the algorithm I described decides to use 'gb.qt4', that's all. -- Beno?t Minisini From adamnt42 at ...626... Thu Dec 3 22:39:10 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Fri, 4 Dec 2015 08:09:10 +1030 Subject: [Gambas-user] IDE global search question In-Reply-To: <566037A5.9000200@...1823...> References: <566037A5.9000200@...1823...> Message-ID: <20151204080910.818ba5ae66522b93025ef5d0@...626...> On Thu, 3 Dec 2015 23:37:57 +1100 richard terry wrote: > Hi list, > > I 'm doing some major surgery on my medical records program and wondered > if one can use a wildcard search in the project wide search box or regex > > thanks > > Richard > Yes, you can. Just use the Ctl+F shortcut to open the search dialog. You'll see that one of the Options is Regular Expression (and of course you need to select either Source Files or All Files as the Search In preference). But! (Heehee) You will occasionally get "false positives" in the results. For example, I used *[Pp]roj* as my search string and get all the expected hits, but also hits on "Property..." and "... ProgIcon ..." and a few others. So beware of global replaces. regards bruce -- B Bruen From adamnt42 at ...626... Fri Dec 4 05:58:55 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Fri, 4 Dec 2015 15:28:55 +1030 Subject: [Gambas-user] Egads! A new (nasty) error message In-Reply-To: <20151202140620.ca39fdcf7c815a14ce1e7168@...626...> References: <20151202140620.ca39fdcf7c815a14ce1e7168@...626...> Message-ID: <20151204152855.e8044a53ee8d9f96cf34f7ae@...626...> On Wed, 2 Dec 2015 14:06:20 +1030 "adamnt42 at ...626..." wrote: > Generally lately, I'm getting the following error in "random" places: > [42] System error #27: File too large. > > Que? > > bruce Some more information. This is (still "randomly") happening. Error #27 text should be "Cannot load component" --> (CLUE?) It happens (more frequently) when "/tmp" is on a partition that is getting full (>95% used) and the fattest /tmp user is gambas.500 i.e. me --> (CLUE?) By random places I mean that sometimes it happens when I'm trying to open a project in (another) instance of the IDE and also that the backtrace line that is reported seems (so far) to be entirely "random" i.e. on gambas3 line X where, when I look at that line seems to have nothing to do with file access. However, it does seem to have something to do with loading a component. I have grep'ed the entire source of rev 7495 (both a "pristine" copy and our local mod'ed version) for the string "File too large" with no success :-( I also cannot understand the "[42]" at the beginning of the error message :-( I am in a "maze of twisted little passages that are all different" here, any clues, suggestions gratefully accepted. regards bruce -- B Bruen From taboege at ...626... Fri Dec 4 06:10:10 2015 From: taboege at ...626... (Tobias Boege) Date: Fri, 4 Dec 2015 06:10:10 +0100 Subject: [Gambas-user] Egads! A new (nasty) error message In-Reply-To: <20151204152855.e8044a53ee8d9f96cf34f7ae@...626...> References: <20151202140620.ca39fdcf7c815a14ce1e7168@...626...> <20151204152855.e8044a53ee8d9f96cf34f7ae@...626...> Message-ID: <20151204051010.GA661@...2774...> On Fri, 04 Dec 2015, adamnt42 at ...626... wrote: > On Wed, 2 Dec 2015 14:06:20 +1030 > "adamnt42 at ...626..." wrote: > > > Generally lately, I'm getting the following error in "random" places: > > [42] System error #27: File too large. > > > > Que? > > > > bruce > > Some more information. > > This is (still "randomly") happening. > Error #27 text should be "Cannot load component" --> (CLUE?) > [...] > However, it does seem to have something to do with loading a component. > [...] > I also cannot understand the "[42]" at the beginning of the error message :-( > The 42 is the Gambas error number which is "System error". The 27 is the system error number (errno) which translates (in my C library headers) to EFBIG, i.e. "File too large". Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bugtracker at ...3416... Fri Dec 4 07:37:31 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 06:37:31 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #855: [gb.report2] blank report, use more than 90% resource CPU Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.855&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- [gb.report2] blank report, use more than 90% resource CPU Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : GUI components Description ----------- In my system only show blank report, it's using more than 90% resource CPU (attach pic-1) this happens only with gb.report2, it's fine with gb.report (attach project) System information ------------------ [System] Gambas=3.8.90 r7496 OperatingSystem=Linux Kernel=3.2.0-88-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=LXDE Theme=Gtk Language=en_US.UTF-8 Memory=494M [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.7.0 GTK+2=libgtk-x11-2.0.so.0.2400.10 GTK+3=libgtk-3.so.0.400.2 OpenGL=libGL.so.96.43.23 Poppler=libpoppler.so.19.0.0 QT4=libQtCore.so.4.8.1 QT5=libQt5Core.so.5.0.2 SDL=libSDL-1.2.so.0.11.3 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-xpmvj25V6h,guid=be71a96f9e366390d6245d360000002c DEFAULTS_PATH=/usr/share/gconf/Lubuntu.default.path DESKTOP_SESSION=Lubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=Lubuntu GNOME_KEYRING_CONTROL=/tmp/keyring-jbkeXd GNOME_KEYRING_PID=1828 HOME= LANG=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/Lubuntu.mandatory.path PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PWD= SAL_USE_VCLPLUGIN=gtk SHELL=/bin/bash SSH_AGENT_PID=1819 SSH_AUTH_SOCK=/tmp/keyring-jbkeXd/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/lubuntu/:/etc/xdg/xdg-Lubuntu:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXDE XDG_DATA_DIRS=/etc/xdg/lubuntu:/usr/share/Lubuntu:/usr/local/share/:/usr/share/:/usr/share:/usr/share/gdm:/var/lib/menu-xdg XDG_MENU_PREFIX=lxde- XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_COOKIE=2d9710af0959f6893eb828f100000008-1449091035.731829-1059360993 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 _LXSESSION_PID=1789 From bugtracker at ...3416... Fri Dec 4 07:37:43 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 06:37:43 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #855: [gb.report2] blank report, use more than 90% resource CPU In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.855&from=L21haW4- Zainudin AHMAD added an attachment: pic-1.png From bugtracker at ...3416... Fri Dec 4 07:37:50 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 06:37:50 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #855: [gb.report2] blank report, use more than 90% resource CPU In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.855&from=L21haW4- Zainudin AHMAD added an attachment: test-100Cpu-gb.report2-0.0.1.tar.gz From bugtracker at ...3416... Fri Dec 4 08:02:46 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 07:02:46 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #856: IDE crash when opening report with the report designer Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.856&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- IDE crash when opening report with the report designer Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Development Environment Description ----------- I get Error message : [12] Not an object. CFamilyreport.DrawControl.392 (attach pic-2) Reproduce the bug : - Open this project (attach project) - (attach pic-1) - Rename or Delete the picture - Close IDE and Opened again - Open Report (with report designer) System information ------------------ [System] Gambas=3.8.90 r7496 OperatingSystem=Linux Kernel=3.2.0-88-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=LXDE Theme=Gtk Language=en_US.UTF-8 Memory=494M [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.7.0 GTK+2=libgtk-x11-2.0.so.0.2400.10 GTK+3=libgtk-3.so.0.400.2 OpenGL=libGL.so.96.43.23 Poppler=libpoppler.so.19.0.0 QT4=libQtCore.so.4.8.1 QT5=libQt5Core.so.5.0.2 SDL=libSDL-1.2.so.0.11.3 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-xpmvj25V6h,guid=be71a96f9e366390d6245d360000002c DEFAULTS_PATH=/usr/share/gconf/Lubuntu.default.path DESKTOP_SESSION=Lubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=Lubuntu GNOME_KEYRING_CONTROL=/tmp/keyring-jbkeXd GNOME_KEYRING_PID=1828 HOME= LANG=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/Lubuntu.mandatory.path PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PWD= SAL_USE_VCLPLUGIN=gtk SHELL=/bin/bash SSH_AGENT_PID=1819 SSH_AUTH_SOCK=/tmp/keyring-jbkeXd/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/lubuntu/:/etc/xdg/xdg-Lubuntu:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXDE XDG_DATA_DIRS=/etc/xdg/lubuntu:/usr/share/Lubuntu:/usr/local/share/:/usr/share/:/usr/share:/usr/share/gdm:/var/lib/menu-xdg XDG_MENU_PREFIX=lxde- XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_COOKIE=2d9710af0959f6893eb828f100000008-1449091035.731829-1059360993 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 _LXSESSION_PID=1789 From bugtracker at ...3416... Fri Dec 4 08:02:55 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 07:02:55 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #856: IDE crash when opening report with the report designer In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.856&from=L21haW4- Zainudin AHMAD added an attachment: pic-2.png From bugtracker at ...3416... Fri Dec 4 08:03:03 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 07:03:03 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #856: IDE crash when opening report with the report designer In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.856&from=L21haW4- Zainudin AHMAD added an attachment: test-ReportImageDelete-0.0.1.tar.gz From bugtracker at ...3416... Fri Dec 4 08:03:14 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 07:03:14 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #856: IDE crash when opening report with the report designer In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.856&from=L21haW4- Zainudin AHMAD added an attachment: pic-1.png From bugtracker at ...3416... Fri Dec 4 09:00:47 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 08:00:47 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #857: IDE crash when set image (png type) into ReportSvgImage Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.857&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- IDE crash when set image (png type) into ReportSvgImage Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Development Environment Description ----------- I get Error message : Unable to load SVG file: unable to create renderer. CFamilyreport.DrawControl.401 (attach pic-1) this happens if set image with other type (not SVG) into ReportSvgImage Reproduce the bug : - open project (attach project) - set image property (ReportSvgImage) with other type image. (attach pic-2 and pic-3) System information ------------------ [System] Gambas=3.8.90 r7496 OperatingSystem=Linux Kernel=3.2.0-88-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=LXDE Theme=Gtk Language=en_US.UTF-8 Memory=494M [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.7.0 GTK+2=libgtk-x11-2.0.so.0.2400.10 GTK+3=libgtk-3.so.0.400.2 OpenGL=libGL.so.96.43.23 Poppler=libpoppler.so.19.0.0 QT4=libQtCore.so.4.8.1 QT5=libQt5Core.so.5.0.2 SDL=libSDL-1.2.so.0.11.3 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-xpmvj25V6h,guid=be71a96f9e366390d6245d360000002c DEFAULTS_PATH=/usr/share/gconf/Lubuntu.default.path DESKTOP_SESSION=Lubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=Lubuntu GNOME_KEYRING_CONTROL=/tmp/keyring-jbkeXd GNOME_KEYRING_PID=1828 HOME= LANG=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/Lubuntu.mandatory.path PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PWD= SAL_USE_VCLPLUGIN=gtk SHELL=/bin/bash SSH_AGENT_PID=1819 SSH_AUTH_SOCK=/tmp/keyring-jbkeXd/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/lubuntu/:/etc/xdg/xdg-Lubuntu:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXDE XDG_DATA_DIRS=/etc/xdg/lubuntu:/usr/share/Lubuntu:/usr/local/share/:/usr/share/:/usr/share:/usr/share/gdm:/var/lib/menu-xdg XDG_MENU_PREFIX=lxde- XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_COOKIE=2d9710af0959f6893eb828f100000008-1449091035.731829-1059360993 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 _LXSESSION_PID=1789 From bugtracker at ...3416... Fri Dec 4 09:01:08 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 08:01:08 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #857: IDE crash when set image (png type) into ReportSvgImage In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.857&from=L21haW4- Zainudin AHMAD added an attachment: pic-1.png From bugtracker at ...3416... Fri Dec 4 09:01:49 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 08:01:49 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #857: IDE crash when set image (png type) into ReportSvgImage In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.857&from=L21haW4- Zainudin AHMAD added an attachment: test-ReportSvgImage-0.0.1.tar.gz From bugtracker at ...3416... Fri Dec 4 09:02:48 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 08:02:48 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #857: IDE crash when set image (png type) into ReportSvgImage In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.857&from=L21haW4- Zainudin AHMAD added an attachment: pic-2.png From bugtracker at ...3416... Fri Dec 4 09:03:02 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 08:03:02 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #857: IDE crash when set image (png type) into ReportSvgImage In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.857&from=L21haW4- Zainudin AHMAD added an attachment: pic-3.png From eilert-sprachen at ...221... Fri Dec 4 10:01:56 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Fri, 04 Dec 2015 10:01:56 +0100 Subject: [Gambas-user] Fitting RichtText into several limited areas Message-ID: <56615684.6020703@...221...> Can I somehow predict where a RichText will be too long for a box of text on a page, then cut it there, and let the rest flow into another box? You all know this from DTP programs: you have several text frames, and text is running on from one frame into the next if too long. I guess this isn't possible because there seems to be no intelligent helper function that can handle RichText strings like e. g. UTF-8 strings are handled in contrary to ASCII strings. As far as I can see, RichText is simply a UTF-8 string containing a lot of XML tags. A special Left, Mid or Right function would have to reconstruct these tags for the other part of the string to keep the tags functionable. A workaround would be to extract the pure text and store the tagged values somewhere else until the text has been cut apart. But it would make the whole automatic in RichText senseless. But maybe I just didn't find this functionality? Regards Rolf From gambas at ...1... Fri Dec 4 11:52:12 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 4 Dec 2015 11:52:12 +0100 Subject: [Gambas-user] Egads! A new (nasty) error message In-Reply-To: <20151204152855.e8044a53ee8d9f96cf34f7ae@...626...> References: <20151202140620.ca39fdcf7c815a14ce1e7168@...626...> <20151204152855.e8044a53ee8d9f96cf34f7ae@...626...> Message-ID: <5661705C.4080608@...1...> Le 04/12/2015 05:58, adamnt42 at ...626... a ?crit : > On Wed, 2 Dec 2015 14:06:20 +1030 "adamnt42 at ...626..." > wrote: > >> Generally lately, I'm getting the following error in "random" >> places: [42] System error #27: File too large. >> >> Que? >> >> bruce > > Some more information. > > This is (still "randomly") happening. Error #27 text should be > "Cannot load component" --> (CLUE?) It happens (more frequently) > when "/tmp" is on a partition that is getting full (>95% used) and > the fattest /tmp user is gambas.500 i.e. me --> (CLUE?) No, see Tobias' mail. > > By random places I mean that sometimes it happens when I'm trying to > open a project in (another) instance of the IDE and also that the > backtrace line that is reported seems (so far) to be entirely > "random" i.e. on gambas3 line X where, when I look at that line seems > to have nothing to do with file access. > > However, it does seem to have something to do with loading a > component. > > I have grep'ed the entire source of rev 7495 (both a "pristine" copy > and our local mod'ed version) for the string "File too large" with no > success :-( I also cannot understand the "[42]" at the beginning of > the error message :-( > > I am in a "maze of twisted little passages that are all different" > here, any clues, suggestions gratefully accepted. > > regards bruce > Free space in "/tmp" is mandatory for the interpreter, to load translations. How is "/tmp" configured on your system exactly? And please give the exact error messages you get instead of your interpretation. Regards, -- Beno?t Minisini From bugtracker at ...3416... Fri Dec 4 11:58:46 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 10:58:46 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #851: Browse project does not work any longer In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.851&from=L21haW4- Comment #3 by Beno?t MINISINI: Can you send the contents your xdg-open script? From bugtracker at ...3416... Fri Dec 4 11:58:58 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 10:58:58 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #851: Browse project does not work any longer In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.851&from=L21haW4- Comment #4 by Beno?t MINISINI: Can you send the contents *of* your xdg-open script? From bugtracker at ...3416... Fri Dec 4 12:01:05 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 11:01:05 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #849: The components toolbox is not refreshed as component's class file is modified In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.849&from=L21haW4- Comment #1 by Beno?t MINISINI: It works perfectly here. You just need to compile your project. If it does not work you, then provide a project that allows me to reproduce the bug. From bugtracker at ...3416... Fri Dec 4 12:02:38 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 11:02:38 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #843: [gtk2/gtk3] ActiveWindow event in DesktopWatcher class can't work In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.843&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From vuott at ...325... Fri Dec 4 12:05:11 2015 From: vuott at ...325... (Ru Vuott) Date: Fri, 4 Dec 2015 11:05:11 +0000 (UTC) Subject: [Gambas-user] R: Fitting RichtText into several limited areas References: <1272248329.25009392.1449227111175.JavaMail.yahoo.ref@...3424...> Message-ID: <1272248329.25009392.1449227111175.JavaMail.yahoo@...3424...> Hello, ...could .Font.RichTextWidth() function help you ? vuott -------------------------------------------- Ven 4/12/15, Rolf-Werner Eilert ha scritto: Oggetto: [Gambas-user] Fitting RichtText into several limited areas A: "mailing list for gambas users" Data: Venerd? 4 dicembre 2015, 10:01 Can I somehow predict where a RichText will be too long for a box of text on a page, then cut it there, and let the rest flow into another box? You all know this from DTP programs: you have several text frames, and text is running on from one frame into the next if too long. I guess this isn't possible because there seems to be no intelligent helper function that can handle RichText strings like e. g. UTF-8 strings are handled in contrary to ASCII strings. As far as I can see, RichText is simply a UTF-8 string containing a lot of XML tags. A special Left, Mid or Right function would have to reconstruct these tags for the other part of the string to keep the tags functionable. A workaround would be to extract the pure text and store the tagged values somewhere else until the text has been cut apart. But it would make the whole automatic in RichText senseless. But maybe I just didn't find this functionality? Regards Rolf ------------------------------------------------------------------------------ Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From eilert-sprachen at ...221... Fri Dec 4 13:04:28 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Fri, 04 Dec 2015 13:04:28 +0100 Subject: [Gambas-user] R: Fitting RichtText into several limited areas In-Reply-To: <1272248329.25009392.1449227111175.JavaMail.yahoo@...3424...> References: <1272248329.25009392.1449227111175.JavaMail.yahoo.ref@...3424...> <1272248329.25009392.1449227111175.JavaMail.yahoo@...3424...> Message-ID: <5661814C.5060104@...221...> I don't think so, because it describes the wideth of a single line of richtext. Paint.Richtext or Paint.DrawRichtext accept a Height for the textframe, but it is practically unused. The function goes on drawing beyond this point. This is where you would have to start helping. Let's see what would be necessary to do what I was looking for, something pseudo code: frameLength = 70 'mm sRtext = File.Load("myrichtext") If Paint.RichTextHeight(sRtext) > frameLength Then 'if it stopped drawing at 70 mm Paint.DrawRichText(sRtext, x1, y1, width, frameLength) Paint.DrawRichText(RSTring.Mid(sRtext, RichTextLength(sRtext, frameLength) + 1, x2, y2, W, frameLength) 'like it is now, not stopping, with special cutting function Paint.DrawRichText(RString.Left(sRtext, RichTextLength(sRtext, frameLength)), x1, y1, W, frameLength) Paint.DrawRichText(RString.Mid(sRtext, RichTextLength(sRtext, frameLength) + 1, x2, y2, W, frameLength) Else Paint.DrawRichText(sRtext, x1, y1, width, frameLength) Endif So, this is just phantasy, but does it make it clearer? A class RString would be needed, and a function that finds the position of the last printable character in a RichText of given width. But I know, catenating of these tagged strings would mean interpreting them, it's rather tricky... Regards Rolf Am 04.12.2015 12:05, schrieb Ru Vuott: > Hello, > > ...could .Font.RichTextWidth() function help you ? > > vuott > > > > -------------------------------------------- > Ven 4/12/15, Rolf-Werner Eilert ha scritto: > > Oggetto: [Gambas-user] Fitting RichtText into several limited areas > A: "mailing list for gambas users" > Data: Venerd? 4 dicembre 2015, 10:01 > > Can I somehow predict where a > RichText will be too long for a box of > text on a page, then cut it there, and let the rest flow > into another box? > > You all know this from DTP programs: you have several text > frames, and > text is running on from one frame into the next if too > long. > > I guess this isn't possible because there seems to be no > intelligent > helper function that can handle RichText strings like e. g. > UTF-8 > strings are handled in contrary to ASCII strings. As far as > I can see, > RichText is simply a UTF-8 string containing a lot of XML > tags. A > special Left, Mid or Right function would have to > reconstruct these tags > for the other part of the string to keep the tags > functionable. > > A workaround would be to extract the pure text and store the > tagged > values somewhere else until the text has been cut apart. But > it would > make the whole automatic in RichText senseless. > > But maybe I just didn't find this functionality? > > Regards > Rolf > > > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) > XDK. > Use one codebase in this all-in-one HTML5 development > environment. > Design, debug & build mobile apps & 2D/3D > high-impact games for multiple OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From shordi at ...626... Fri Dec 4 13:15:16 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Fri, 4 Dec 2015 13:15:16 +0100 Subject: [Gambas-user] About Groups of Controls Message-ID: I don't know if its a bug or a expected behaviour, so I ask here first: If you declare a group of toolbuttons this way: for n=1 to 5 bCan = New ToggleButton(hbx) As "CancelItemCola" bCan.Picture = Stock["cancel"] bCan.Height = 22 bCan.Width = 22 bCan.Border = False bCan.tag = True 'col["Path"] bCan.Action = "CancelItemCola" next (I mean with both clauses AS and .Action) When you click one of the buttons, all of them change its values at same time... By erasing or commenting de .Action line all works well, of course... Best Regards. From gambas at ...1... Fri Dec 4 13:40:42 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 4 Dec 2015 13:40:42 +0100 Subject: [Gambas-user] About Groups of Controls In-Reply-To: References: Message-ID: <566189CA.5050202@...1...> Le 04/12/2015 13:15, Jorge Carri?n a ?crit : > I don't know if its a bug or a expected behaviour, so I ask here first: > > If you declare a group of toolbuttons this way: > > for n=1 to 5 > bCan = New ToggleButton(hbx) As "CancelItemCola" > bCan.Picture = Stock["cancel"] > bCan.Height = 22 > bCan.Width = 22 > bCan.Border = False > bCan.tag = True 'col["Path"] > bCan.Action = "CancelItemCola" > next > > (I mean with both clauses AS and .Action) > > When you click one of the buttons, all of them change its values at same > time... > > By erasing or commenting de .Action line all works well, of course... > > Best Regards. This is the normal behaviour. What did you expect? -- Beno?t Minisini From shordi at ...626... Fri Dec 4 13:49:56 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Fri, 4 Dec 2015 13:49:56 +0100 Subject: [Gambas-user] About Groups of Controls In-Reply-To: <566189CA.5050202@...1...> References: <566189CA.5050202@...1...> Message-ID: I didn't expect nothing. It was an accident: I copied and pasted the code with de .Action property line inadvertently from other project and get surprised by the behaviour. Either way I don't understand why this behaviour. I think that should call the _click event and the Action_Activate event, but not the click Event several times... Regards 2015-12-04 13:40 GMT+01:00 Beno?t Minisini : > Le 04/12/2015 13:15, Jorge Carri?n a ?crit : > > I don't know if its a bug or a expected behaviour, so I ask here first: > > > > If you declare a group of toolbuttons this way: > > > > for n=1 to 5 > > bCan = New ToggleButton(hbx) As "CancelItemCola" > > bCan.Picture = Stock["cancel"] > > bCan.Height = 22 > > bCan.Width = 22 > > bCan.Border = False > > bCan.tag = True 'col["Path"] > > bCan.Action = "CancelItemCola" > > next > > > > (I mean with both clauses AS and .Action) > > > > When you click one of the buttons, all of them change its values at same > > time... > > > > By erasing or commenting de .Action line all works well, of course... > > > > Best Regards. > > This is the normal behaviour. What did you expect? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple > OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Fri Dec 4 14:14:38 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 4 Dec 2015 14:14:38 +0100 Subject: [Gambas-user] About Groups of Controls In-Reply-To: References: <566189CA.5050202@...1...> Message-ID: <566191BE.5090909@...1...> Le 04/12/2015 13:49, Jorge Carri?n a ?crit : > I didn't expect nothing. It was an accident: I copied and pasted the code > with de .Action property line inadvertently from other project and get > surprised by the behaviour. > > Either way I don't understand why this behaviour. I think that should call > the _click event and the Action_Activate event, but not the click Event > several times... > > Regards > The Action_Activate is called once when you toggle one of the button, but The Click event is called once for each control sharing the same action. All controls sharing the same action should have the same state: they represent the same action displayed differently at different places. It's mainly useful when you want to associate a menu entry with a toolbar button. Regards, -- Beno?t Minisini From bugtracker at ...3416... Fri Dec 4 14:54:00 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 13:54:00 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #851: Browse project does not work any longer In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.851&from=L21haW4- Comment #5 by Moviga TECHNOLOGIES: Find it attached From bugtracker at ...3416... Fri Dec 4 14:54:09 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 13:54:09 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #851: Browse project does not work any longer In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.851&from=L21haW4- Moviga TECHNOLOGIES added an attachment: xdg-open From mckaygerhard at ...626... Fri Dec 4 15:47:52 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 4 Dec 2015 10:17:52 -0430 Subject: [Gambas-user] does nothing using serial object as class property to implements In-Reply-To: References: Message-ID: The gambas serial implementation has one bug! the Xon/Xoff flow control are not implemented and only are the "Both" that could be confused with! that's why my class does not work! i'll report then now Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2015-11-30 18:26 GMT-04:30 PICCORO McKAY Lenz : > i'm trying t5o use the serial port with a class.. > > but when i try to write to the serial port nothing happened.. only wend > data if i made all the port stuff from the form class > > here the code and the problems in comments: > > '' ************* Begin class serial manager > Private SComm As SerialPort > Public Sub _new() > SComm = New SerialPort As "SComm" > SComm.Speed = 9600 > SComm.Parity = SerialPort.None > SComm.DataBits = SerialPort.Bits8 > SComm.StopBits = SerialPort.Bits1 > SComm.FlowControl = SerialPort.Both > End > Public Function usarpuerto(puerto As String) As Boolean > ' use port name passed > SComm.PortName = puerto > Try > SComm.Open() > If Error Then > Print "Error " & Error.Code & " en " & Error.Text & " ---- " & > Error.Backtrace > Return Null > Endif > ' write to the port > Print #SComm, Chr$(2) & "X" & Chr$(3) > If Error Then > Return False > Endif > ' now close the port > If SComm.Status = Net.Active Then > Try > SComm.Close() > If Error Then > Return Null > Endif > Endif > Return True > End > '' ************ end class serial manager > > '' ************ begin of the from that implements serial class > Public libreria As ClassSerial > > Public Sub Form_Open() > > Dim dispositivo As SerialPort > libreria = New ClassSerial > End > > Public Sub btn_Click() > > libreria.usarpuerto("/dev/ttyS0") > '' here nothings happened on the device > '' but if i code all on the form class works > > End > > '' ************ end of form that implements the class > > > > > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > From mckaygerhard at ...626... Fri Dec 4 15:53:26 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 4 Dec 2015 10:23:26 -0430 Subject: [Gambas-user] new web page at gambas.sourgeforce.net has "fake" links Message-ID: any of the link in the new very good and eye-candie (yes its a great work... a eye candy work, but no more) are unuseless please fixed soon.. thanks in advance! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From gambas at ...1... Fri Dec 4 16:05:01 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 4 Dec 2015 16:05:01 +0100 Subject: [Gambas-user] new web page at gambas.sourgeforce.net has "fake" links In-Reply-To: References: Message-ID: <5661AB9D.7000803@...1...> Le 04/12/2015 15:53, PICCORO McKAY Lenz a ?crit : > any of the link in the new very good and eye-candie (yes its a great > work... a eye candy work, but no more) > are unuseless > > please fixed soon.. thanks in advance! > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com What are you talking about? -- Beno?t Minisini From shordi at ...626... Fri Dec 4 16:49:22 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Fri, 4 Dec 2015 16:49:22 +0100 Subject: [Gambas-user] About Groups of Controls In-Reply-To: <566191BE.5090909@...1...> References: <566189CA.5050202@...1...> <566191BE.5090909@...1...> Message-ID: Oh... ok, then. All that has been an accident... but a instructive accident, I guess... ? Regards 2015-12-04 14:14 GMT+01:00 Beno?t Minisini : > Le 04/12/2015 13:49, Jorge Carri?n a ?crit : > > I didn't expect nothing. It was an accident: I copied and pasted the code > > with de .Action property line inadvertently from other project and get > > surprised by the behaviour. > > > > Either way I don't understand why this behaviour. I think that should > call > > the _click event and the Action_Activate event, but not the click Event > > several times... > > > > Regards > > > > The Action_Activate is called once when you toggle one of the button, > but The Click event is called once for each control sharing the same > action. > > All controls sharing the same action should have the same state: they > represent the same action displayed differently at different places. > > It's mainly useful when you want to associate a menu entry with a > toolbar button. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple > OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From moviga at ...3488... Fri Dec 4 16:50:45 2015 From: moviga at ...3488... (Moviga Technologies) Date: Fri, 04 Dec 2015 16:50:45 +0100 Subject: [Gambas-user] new web page at gambas.sourgeforce.net has "fake" links In-Reply-To: <5661AB9D.7000803@...1...> References: <5661AB9D.7000803@...1...> Message-ID: <498411d692482a5c02904ed580812372@...3488...> I think he means that it is impossible to get the URL to the page one is at currently. It is always: http://gambas.sourceforge.net/en/main.html# no matter where you are. From moviga at ...3488... Fri Dec 4 17:06:04 2015 From: moviga at ...3488... (Moviga Technologies) Date: Fri, 04 Dec 2015 17:06:04 +0100 Subject: [Gambas-user] About Groups of Controls In-Reply-To: References: <566189CA.5050202@...1...> <566191BE.5090909@...1...> Message-ID: <3a892562d47de697dd6cebfdcfdb9831@...3488...> You are perhaps confusing .Action with .Group ? From bugtracker at ...3416... Fri Dec 4 17:07:05 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 16:07:05 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #858: serial port implementation constants are bad and uncompleted!/miscdocumented! Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.858&from=L21haW4- PICCORO LENZ MCKAY reported a new bug. Summary ------- serial port implementation constants are bad and uncompleted!/miscdocumented! Type : Bug Priority : High Gambas version : 3.6 Product : Networking components Description ----------- the documented SerialPort in wiki (both older and newer today wiki documentation ) are lack of responsability the documentation of FlowControl are not property documented, there 5 kinds of opertaion flow controls and only hare valid two http://gambaswiki.org/wiki/comp/gb.net/serialport/flowcontrol here there 4 operational but the lasted "Both" are invalid and also the XonXoff are not implementad or documented.. others constans are also bad.. but that its the most easy to demostrate! user must force with integer to 2 (both for my serial fiscal printer) and in documentation said 3 (SerialPort.Both) http://gambaswiki.org/wiki/comp/gb.net/serialport/both or the documentation are bad or the component are bad! the example are good (or bad depends of the vision of the error) duie are working (or bad documented or translated) THE PROBLEM ARE SINCE GAMBAS 3.4, was tested with 3.5 (debian), 3.6 (debian), 3.8 (ppa stable) i want to said one thing very clear: if gambas not take more seriously the hardware communications will be difficult to include in serius languaje for boog systems such payroal, finger verification, chekpint access.. please take more serously those components that are very important for people, python are ugly and php need more that php! thanks in advance! System information ------------------ [System] Gambas=3.5.4 OperatingSystem=Linux Kernel=4.2.0-0.bpo.1-686-pae Architecture=x86 Distribution=debian 8.2 Desktop=MATE Theme=QGtk Language=es_VE.UTF-8 Memory=1816M [Libraries] Cairo=libcairo.so.2.11400.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.13 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.404.0 GTK+=libgtk-x11-2.0.so.0.2400.25 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.46.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 LATER TESTED WITH THAT : [System] Gambas=3.8.3 OperatingSystem=Linux Kernel=4.2.0-0.bpo.1-686-pae Architecture=x86 Distribution=debian 8.2 Desktop=MATE Theme=Gtk Language=es_VE.UTF-8 Memory=1816M [Libraries] Cairo=libcairo.so.2.11400.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.13 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.404.0 GTK+2=libgtk-x11-2.0.so.0.2400.25 GTK+3=libgtk-3.so.0.1400.5 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.46.0.0 QT4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-jd73IeTFF1,guid=7aa1d82c74a448f8495104775643b436 DESKTOP_SESSION=mate DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=mate GDM_LANG=es_VE.utf8 GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=30090 GPG_AGENT_INFO=/run/user/1001/keyring/gpg:0:1 HOME= LANG=es_VE.UTF-8 LANGUAGE=es_VE:es LOGNAME= MATE_DESKTOP_SESSION_ID=this-is-deprecated PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games PWD= SESSION_MANAGER=local/:@/tmp/.ICE-unix/1086,unix/:/tmp/.ICE-unix/1086 SHELL=/bin/bash SSH_AGENT_PID=1109 SSH_AUTH_SOCK=/run/user/1001/keyring/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CURRENT_DESKTOP=MATE XDG_GREETER_DATA_DIR=/var/lib/lightdm/data/ XDG_RUNTIME_DIR=/run/user/1001 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_ID=1 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_VTNR=7 From bugtracker at ...3416... Fri Dec 4 17:07:50 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 16:07:50 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #858: serial port implementation constants are bad and uncompleted!/miscdocumented! In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.858&from=L21haW4- Comment #1 by PICCORO LENZ MCKAY: please, notify me the commit that solves, to backport the fixed to gambas 3.6 and 3.4 if posible for my own repos! thanks in advance! From mckaygerhard at ...626... Fri Dec 4 17:17:19 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 4 Dec 2015 11:47:19 -0430 Subject: [Gambas-user] new web page at gambas.sourgeforce.net has "fake" links In-Reply-To: <498411d692482a5c02904ed580812372@...3488...> References: <5661AB9D.7000803@...1...> <498411d692482a5c02904ed580812372@...3488...> Message-ID: not, i not mean that! some minuts ago i try to report a bug in serial component, and when i click in the links in the new very eye-candy (oh men looks so good respect previous web, sorry) the links does not work! also i note that i cannot see bugs without login-in the bugtraker, theres any possibiltiy to search a bug without login in!? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2015-12-04 11:20 GMT-04:30 Moviga Technologies : > > > I think he means that it is impossible to get the URL to the page one is > at currently. It is always: > > http://gambas.sourceforge.net/en/main.html# > > no matter where you are. > > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple > OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Fri Dec 4 17:55:33 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 16:55:33 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #849: The components toolbox is not refreshed as component's class file is modified In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.849&from=L21haW4- Comment #2 by Moviga TECHNOLOGIES: I might have done something wrong after all... I will try to investigate more. From shordi at ...626... Fri Dec 4 18:32:17 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Fri, 4 Dec 2015 18:32:17 +0100 Subject: [Gambas-user] About Groups of Controls In-Reply-To: <3a892562d47de697dd6cebfdcfdb9831@...3488...> References: <566189CA.5050202@...1...> <566191BE.5090909@...1...> <3a892562d47de697dd6cebfdcfdb9831@...3488...> Message-ID: I Don't think so. Benoit has explained very well the situation. Accidentally (after a copy & paste code) I included the .Action property after de AS clause. The behaviour did not was I expected at all. But now is all clear. Thanks for the answer. Regards. 2015-12-04 17:06 GMT+01:00 Moviga Technologies : > > > You are perhaps confusing .Action with .Group ? > > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple > OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Fri Dec 4 19:44:01 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 4 Dec 2015 20:44:01 +0200 Subject: [Gambas-user] new web page at gambas.sourgeforce.net has "fake" links In-Reply-To: References: <5661AB9D.7000803@...1...> <498411d692482a5c02904ed580812372@...3488...> Message-ID: I can't find single broken link from the website. Jussi On Fri, Dec 4, 2015 at 6:17 PM, PICCORO McKAY Lenz wrote: > not, i not mean that! > > some minuts ago i try to report a bug in serial component, and when i click > in the links in the new very eye-candy (oh men looks so good respect > previous web, sorry) the links does not work! > > also i note that i cannot see bugs without login-in the bugtraker, theres > any possibiltiy to search a bug without login in!? > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2015-12-04 11:20 GMT-04:30 Moviga Technologies : > > > > > > > I think he means that it is impossible to get the URL to the page one is > > at currently. It is always: > > > > http://gambas.sourceforge.net/en/main.html# > > > > no matter where you are. > > > > > ------------------------------------------------------------------------------ > > Go from Idea to Many App Stores Faster with Intel(R) XDK > > Give your users amazing mobile app experiences with Intel(R) XDK. > > Use one codebase in this all-in-one HTML5 development environment. > > Design, debug & build mobile apps & 2D/3D high-impact games for multiple > > OSs. > > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple > OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mckaygerhard at ...626... Fri Dec 4 20:16:05 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 4 Dec 2015 14:46:05 -0430 Subject: [Gambas-user] new web page at gambas.sourgeforce.net has "fake" links In-Reply-To: References: <5661AB9D.7000803@...1...> <498411d692482a5c02904ed580812372@...3488...> Message-ID: well no problem now.. let it pass the new web looks great.. how can i run my gb.web project outside of the IDE? i jut click "play" and firefox its lauched for use 8080 but for deploy how? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2015-12-04 14:14 GMT-04:30 Jussi Lahtinen : > I can't find single broken link from the website. > > > Jussi > > On Fri, Dec 4, 2015 at 6:17 PM, PICCORO McKAY Lenz > wrote: > >> not, i not mean that! >> >> some minuts ago i try to report a bug in serial component, and when i click >> in the links in the new very eye-candy (oh men looks so good respect >> previous web, sorry) the links does not work! >> >> also i note that i cannot see bugs without login-in the bugtraker, theres >> any possibiltiy to search a bug without login in!? >> >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> 2015-12-04 11:20 GMT-04:30 Moviga Technologies : >> >> > >> > >> > I think he means that it is impossible to get the URL to the page one is >> > at currently. It is always: >> > >> > http://gambas.sourceforge.net/en/main.html# >> > >> > no matter where you are. >> > >> > >> ------------------------------------------------------------------------------ >> > Go from Idea to Many App Stores Faster with Intel(R) XDK >> > Give your users amazing mobile app experiences with Intel(R) XDK. >> > Use one codebase in this all-in-one HTML5 development environment. >> > Design, debug & build mobile apps & 2D/3D high-impact games for multiple >> > OSs. >> > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > >> >> ------------------------------------------------------------------------------ >> Go from Idea to Many App Stores Faster with Intel(R) XDK >> Give your users amazing mobile app experiences with Intel(R) XDK. >> Use one codebase in this all-in-one HTML5 development environment. >> Design, debug & build mobile apps & 2D/3D high-impact games for multiple >> OSs. >> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Fri Dec 4 20:26:18 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 4 Dec 2015 20:26:18 +0100 Subject: [Gambas-user] new web page at gambas.sourgeforce.net has "fake" links In-Reply-To: References: <5661AB9D.7000803@...1...> <498411d692482a5c02904ed580812372@...3488...> Message-ID: <5661E8DA.5030108@...1...> Le 04/12/2015 20:16, PICCORO McKAY Lenz a ?crit : > well no problem now.. let it pass > > the new web looks great.. > > how can i run my gb.web project outside of the IDE? i jut click "play" > and firefox its lauched for use 8080 but for deploy how? > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > Already? gb.web.form is early alpha code... Anyway, the executable of your project is a CGI script that you have to install inside your preferred http server as any other CGI script. I can't say more, it depends on the http server you will use. Regards, -- Beno?t Minisini From mckaygerhard at ...626... Fri Dec 4 20:53:20 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 4 Dec 2015 15:23:20 -0430 Subject: [Gambas-user] new web page at gambas.sourgeforce.net has "fake" links In-Reply-To: <5661E8DA.5030108@...1...> References: <5661AB9D.7000803@...1...> <498411d692482a5c02904ed580812372@...3488...> <5661E8DA.5030108@...1...> Message-ID: umm the compiled program itself its a cgi ? the gb.web.form its a great feature!!!!!! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2015-12-04 14:56 GMT-04:30 Beno?t Minisini : > Le 04/12/2015 20:16, PICCORO McKAY Lenz a ?crit : >> well no problem now.. let it pass >> >> the new web looks great.. >> >> how can i run my gb.web project outside of the IDE? i jut click "play" >> and firefox its lauched for use 8080 but for deploy how? >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> > > Already? gb.web.form is early alpha code... > > Anyway, the executable of your project is a CGI script that you have to > install inside your preferred http server as any other CGI script. I > can't say more, it depends on the http server you will use. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Fri Dec 4 21:00:24 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 4 Dec 2015 21:00:24 +0100 Subject: [Gambas-user] new web page at gambas.sourgeforce.net has "fake" links In-Reply-To: References: <5661AB9D.7000803@...1...> <498411d692482a5c02904ed580812372@...3488...> <5661E8DA.5030108@...1...> Message-ID: <5661F0D8.2010605@...1...> Le 04/12/2015 20:53, PICCORO McKAY Lenz a ?crit : > umm the compiled program itself its a cgi ? > > the gb.web.form its a great feature!!!!!! > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > Yes. And when you check the 'gb.httpd' component, it becomes an autonomous web server with your project embedded as a CGI script inside. I.e. one Gambas program that you just have to run as a global service on your server. This is what is used by the IDE by default when you debug it. Regards, -- Beno?t Minisini From bugtracker at ...3416... Fri Dec 4 21:15:56 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 20:15:56 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #843: [gtk2/gtk3] ActiveWindow event in DesktopWatcher class can't work In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.843&from=L21haW4- Comment #2 by Beno?t MINISINI: Fixed in revision #7497. From bugtracker at ...3416... Fri Dec 4 21:16:40 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 20:16:40 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #843: [gtk2/gtk3] ActiveWindow event in DesktopWatcher class can't work In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.843&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Fri Dec 4 21:57:56 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 20:57:56 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #858: serial port implementation constants are bad and uncompleted!/miscdocumented! In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.858&from=L21haW4- Comment #2 by Beno?t MINISINI: The guy who wrote the component is not there anymore, and I don't use serial port at all. So can you be more precise in your complaints ? It would be far more helpful: - Explain precisely what does not work - Explain precisely which constants are wrong. - Explain what is wrong in the documentation. - Explain what is missing. According to the source code: FlowControl = SerialPort.Hardware means Hardware CRTSCTS. FlowControl = SerialPort.Software means Software IXON + IXOFF + IXANY. FlowControl = SerialPort.Both means both. No idea what that means. From bugtracker at ...3416... Fri Dec 4 22:00:02 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 21:00:02 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #852: IDE Crash when using Gambas Sofware Farm In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.852&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Fri Dec 4 22:15:53 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 21:15:53 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #858: serial port implementation constants are bad and uncompleted!/miscdocumented! In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.858&from=L21haW4- Comment #3 by PICCORO LENZ MCKAY: oh men what a problem, so its difficul to said what are in problem, or the component itselft or the documentation refers! so then i must research to the gambas module implementation and improve the wiki or see if tha tu said are valid! su said: FlowControl = SerialPort.Software means Software IXON + IXOFF + IXANY. <<< setting to that does not work, work only if i put explicy the integer 2 and that you said are not documented ! From adamnt42 at ...626... Fri Dec 4 22:46:33 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Sat, 5 Dec 2015 08:16:33 +1030 Subject: [Gambas-user] Egads! A new (nasty) error message In-Reply-To: <5661705C.4080608@...1...> References: <20151202140620.ca39fdcf7c815a14ce1e7168@...626...> <20151204152855.e8044a53ee8d9f96cf34f7ae@...626...> <5661705C.4080608@...1...> Message-ID: <20151205081633.ec844db296966f93ad7266cd@...626...> On Fri, 4 Dec 2015 11:52:12 +0100 Beno?t Minisini wrote: > Le 04/12/2015 05:58, adamnt42 at ...626... a ?crit : > > On Wed, 2 Dec 2015 14:06:20 +1030 "adamnt42 at ...626..." > > wrote: > > > >> Generally lately, I'm getting the following error in "random" > >> places: [42] System error #27: File too large. > >> > >> Que? > >> > >> bruce > > > > Some more information. > > > > This is (still "randomly") happening. Error #27 text should be > > "Cannot load component" --> (CLUE?) It happens (more frequently) > > when "/tmp" is on a partition that is getting full (>95% used) and > > the fattest /tmp user is gambas.500 i.e. me --> (CLUE?) > > No, see Tobias' mail. > > > > > By random places I mean that sometimes it happens when I'm trying to > > open a project in (another) instance of the IDE and also that the > > backtrace line that is reported seems (so far) to be entirely > > "random" i.e. on gambas3 line X where, when I look at that line seems > > to have nothing to do with file access. > > > > However, it does seem to have something to do with loading a > > component. > > > > I have grep'ed the entire source of rev 7495 (both a "pristine" copy > > and our local mod'ed version) for the string "File too large" with no > > success :-( I also cannot understand the "[42]" at the beginning of > > the error message :-( > > > > I am in a "maze of twisted little passages that are all different" > > here, any clues, suggestions gratefully accepted. > > > > regards bruce > > > > Free space in "/tmp" is mandatory for the interpreter, to load > translations. How is "/tmp" configured on your system exactly? > > And please give the exact error messages you get instead of your > interpretation. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user I think we can stick this on the back-burner for a while. I also think you have hit the right clue, it does appear to be when a (local) component is translatable and it is loaded either by the IDE or the executable when running it outside the IDE. I did not include the full error message including the back trace that is displayed in the message box (or the backtrace in the message area inside the IDE) as it appeared to me to be totally random, e.g. it would indicate different lines in different classes inside the IDE code depending on "how I set my tongue"* when I tried to load the said project. (* hope that is translatable?) One strange thing was, let's say it occurred for project xxx, when I loaded it in the IDE, the IDE would abend after displaying the popup message. But, if I ran the IDE inside the IDE and loaded xxx in there, it didn't fail nor did it show the error. Anyway, I have moved /tmp to a less space constrained partition and that seems to have solved my problem. My original query was : What does the "File too large" error message mean? I guess now it is "Attempt to load (some) file (somewhere) has failed due to insufficient free disk space (or something)" . I went off on the wrong track looking for an oversized file somewhere in a component, wondering what is "too large" . Its pretty ambiguous, like I thought I may have used a huge image file for a Picture property on a control or something, or that maybe there was some data file constraint inside the compiler for files included within the archive..... Never mind. regards bruce -- B Bruen From bugtracker at ...3416... Fri Dec 4 22:49:02 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 21:49:02 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #852: IDE Crash when using Gambas Sofware Farm In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.852&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed in revision #7498. From bugtracker at ...3416... Fri Dec 4 22:49:08 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 21:49:08 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #852: IDE Crash when using Gambas Sofware Farm In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.852&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Fixed. From gambas at ...1... Fri Dec 4 22:54:08 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 4 Dec 2015 22:54:08 +0100 Subject: [Gambas-user] Egads! A new (nasty) error message In-Reply-To: <20151205081633.ec844db296966f93ad7266cd@...626...> References: <20151202140620.ca39fdcf7c815a14ce1e7168@...626...> <20151204152855.e8044a53ee8d9f96cf34f7ae@...626...> <5661705C.4080608@...1...> <20151205081633.ec844db296966f93ad7266cd@...626...> Message-ID: <56620B80.3030401@...1...> Le 04/12/2015 22:46, adamnt42 at ...626... a ?crit : > > > I think we can stick this on the back-burner for a while. I also > think you have hit the right clue, it does appear to be when a > (local) component is translatable and it is loaded either by the IDE > or the executable when running it outside the IDE. I did not include > the full error message including the back trace that is displayed in > the message box (or the backtrace in the message area inside the IDE) > as it appeared to me to be totally random, e.g. it would indicate > different lines in different classes inside the IDE code depending on > "how I set my tongue"* when I tried to load the said project. (* hope > that is translatable?) > /tmp is used for storing all temporary files created by the interpreter. It's not always language files. > One strange thing was, let's say it occurred for project xxx, when I > loaded it in the IDE, the IDE would abend after displaying the popup > message. But, if I ran the IDE inside the IDE and loaded xxx in > there, it didn't fail nor did it show the error. > > Anyway, I have moved /tmp to a less space constrained partition and > that seems to have solved my problem. > > My original query was : What does the "File too large" error message > mean? It does not necessarily means something. I mean, it depends on the system call returning that error. This is the reason why I need the exact error messages returned by the interpreter, and/or the line of code in the project or the IDE that raises that error. Please provide them. Regards, -- Beno?t Minisini From willy at ...3474... Fri Dec 4 23:32:55 2015 From: willy at ...3474... (willy at ...3474...) Date: Fri, 04 Dec 2015 23:32:55 +0100 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #858: serial port implementation constants are bad and uncompleted!/miscdocumented! In-Reply-To: References: Message-ID: <0f19173c64c4229634b890e999aecac3@...3474...> On 2015-12-04 22:15, bugtracker at ...3416... wrote: > http://gambaswiki.org/bugtracker/edit?object=BUG.858&from=L21haW4- > > Comment #3 by PICCORO LENZ MCKAY: > > oh men what a problem, so its difficul to said what are in problem, or > the component itselft or the documentation refers! > > so then i must research to the gambas module implementation and > improve the wiki or see if tha tu said are valid! > > su said: > > FlowControl = SerialPort.Software means Software IXON + IXOFF + IXANY. > <<< setting to that does not work, work only if i put explicy the > integer 2 > > and that you said are not documented ! In the CSerialPort.c file at line 472 it states: // FlowControl : 1->CRTSCTS , 2-> XON/XOFF , 3-> XON/OFF plus CRTSCTS, 0 --> NONE So the constants for FlowControl are: SerialPort.None = 0 SerialPort.Hardware = 1 -> meaning CRTSCTS SerialPort.Software = 2 -> meaning XON/XOFF SerialPort.Both = 3 -> meaning XON/OFF plus CRTSCTS Maybe we just need to add this bit of information (what the constant means) to the docmentation, as it could make sense to developers working with serial ports. Would that help you as well? gbWilly From bugtracker at ...3416... Fri Dec 4 23:40:45 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 22:40:45 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #858: serial port implementation constants are bad and uncompleted!/miscdocumented! In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.858&from=L21haW4- Comment #4 by gbWilly GAMBOS: Would it help you if documentation would have a small addition like this: 'Hardware means CRTSCTS is used for flow control' at: http://gambaswiki.org/wiki/comp/gb.net/serialport/hardware 'Software means XON/XOFF is used for flow control' at: http://gambaswiki.org/wiki/comp/gb.net/serialport/software 'Both means CRTSCTS plus XON/XOFF are used for flow control' at: http://gambaswiki.org/wiki/comp/gb.net/serialport/both Would that make more sense for you in using SerialPort? From bugtracker at ...3416... Fri Dec 4 23:41:23 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 22:41:23 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #853: IDE Crash when press the Undo button In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.853&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Fri Dec 4 23:55:59 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 22:55:59 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #858: serial port implementation constants are bad and uncompleted!/miscdocumented! In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.858&from=L21haW4- Comment #5 by PICCORO LENZ MCKAY: that are more sense for ALL due the example (now gone to a public non-locally in ten internet) does not said nothing around and the wiki also not! i can contribute to the wiki but i post firts here due i not know what are the problem, documentation or gambas module! From bugtracker at ...3416... Fri Dec 4 23:56:58 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 22:56:58 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #858: serial port implementation constants are bad and uncompleted!/miscdocumented! In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.858&from=L21haW4- Comment #6 by PICCORO LENZ MCKAY: but still i must t4est the code again with your suggestions to confirm that! that will not be possible until 12 days! From bugtracker at ...3416... Sat Dec 5 00:23:55 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 23:23:55 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #853: IDE Crash when press the Undo button In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.853&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed in revision #7499. Maybe the fix will trigger some new problems, we will see... From bugtracker at ...3416... Sat Dec 5 00:23:58 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 23:23:58 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #853: IDE Crash when press the Undo button In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.853&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Sat Dec 5 00:27:16 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 23:27:16 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #854: IDE Crash when "Double Click" the Publish button on Publis Software Dialog In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.854&from=L21haW4- Comment #1 by Beno?t MINISINI: I can't reproduce. Why do you "double-click" on the button? From bugtracker at ...3416... Sat Dec 5 00:27:22 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 23:27:22 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #854: IDE Crash when "Double Click" the Publish button on Publis Software Dialog In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.854&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Waiting. From bugtracker at ...3416... Sat Dec 5 00:46:34 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 23:46:34 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #857: IDE crash when set image (png type) into ReportSvgImage In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.857&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Sat Dec 5 00:47:01 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 23:47:01 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #857: IDE crash when set image (png type) into ReportSvgImage In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.857&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed in revision #7500. From bugtracker at ...3416... Sat Dec 5 00:47:04 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 23:47:04 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #857: IDE crash when set image (png type) into ReportSvgImage In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.857&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Sat Dec 5 00:49:09 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 23:49:09 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #856: IDE crash when opening report with the report designer In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.856&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed by revision #7500 too. From bugtracker at ...3416... Sat Dec 5 00:49:12 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Dec 2015 23:49:12 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #856: IDE crash when opening report with the report designer In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.856&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Fixed. From adamnt42 at ...626... Sat Dec 5 00:53:02 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Sat, 5 Dec 2015 10:23:02 +1030 Subject: [Gambas-user] Egads! A new (nasty) error message In-Reply-To: <56620B80.3030401@...1...> References: <20151202140620.ca39fdcf7c815a14ce1e7168@...626...> <20151204152855.e8044a53ee8d9f96cf34f7ae@...626...> <5661705C.4080608@...1...> <20151205081633.ec844db296966f93ad7266cd@...626...> <56620B80.3030401@...1...> Message-ID: <20151205102302.eced464c612bdd32916137ba@...626...> On Fri, 4 Dec 2015 22:54:08 +0100 Beno?t Minisini wrote: > Le 04/12/2015 22:46, adamnt42 at ...626... a ?crit : > > > > > > I think we can stick this on the back-burner for a while. I also > > think you have hit the right clue, it does appear to be when a > > (local) component is translatable and it is loaded either by the IDE > > or the executable when running it outside the IDE. I did not include > > the full error message including the back trace that is displayed in > > the message box (or the backtrace in the message area inside the IDE) > > as it appeared to me to be totally random, e.g. it would indicate > > different lines in different classes inside the IDE code depending on > > "how I set my tongue"* when I tried to load the said project. (* hope > > that is translatable?) > > > > /tmp is used for storing all temporary files created by the interpreter. > It's not always language files. > > > One strange thing was, let's say it occurred for project xxx, when I > > loaded it in the IDE, the IDE would abend after displaying the popup > > message. But, if I ran the IDE inside the IDE and loaded xxx in > > there, it didn't fail nor did it show the error. > > > > Anyway, I have moved /tmp to a less space constrained partition and > > that seems to have solved my problem. > > > > My original query was : What does the "File too large" error message > > mean? > > It does not necessarily means something. I mean, it depends on the > system call returning that error. > > This is the reason why I need the exact error messages returned by the > interpreter, and/or the line of code in the project or the IDE that > raises that error. Please provide them. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user OK, I think I've got this now... The interpreter issues a system call, then gets a fail with an error code "EFBIG". EFBIG (from searching the GNU C library docs) means "File too big; the size of a file would be larger than allowed by the system." which could occur for some number of reasons. In my case, it seems to have occurred because "writing or copying or moving" the said file to the /tmp directory would have (over)filled the partition. So when the interpreter tries to write something to the /tmp directory and there would be not enough room, the system call fails with the EFBIG error code or the specific C library error description "File too large" which is then displayed as "[42] System error #27: File too large." plus the traceback. So, I'm happy. I now understand what was happening. Thanks Beno?t and Tobi. I also understand now why it seemed so random. Given any mix of processes active and using /tmp for their valid purposes, when I tried to invoke a .gambas file or when I tried to load some project in the IDE, it could actually occur at any point during the invocation or load. Special thanks to Tobi for the expanation of the error message - even if it took me ~8 tries and Beno?t's " It does not necessarily means something. I mean, it depends on the system call returning that error." before it finally sunk in. If there is anything positive about this, I will henceforth look at a "[42] System Error #nn" message with a lot more knowledge. Again, thanks guys for the input. best regards bruce -- B Bruen From bugtracker at ...3416... Sat Dec 5 01:10:24 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 00:10:24 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #858: serial port implementation constants are bad and uncompleted!/miscdocumented! In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.858&from=L21haW4- Comment #7 by gbWilly GAMBOS: The SerialPort example has these selections for the Flow control ComboBox1 List property: NONE CRTSCTS XON/XOFF CRTSCTS + XON/XOFF When selecting it uses the ComboBox1/ndex to set the FlowControl property Hence: 0 when selecting NONE 1 when selecting CRTSCTS 2 when selecting XON/XOFF 3 when selecting CRTSCTS + XON/XOFF I guess it is save to conclude that above mentioned additions to the wiki will make stuff clearer, so I've added them to the wiki. If you conclude diffently in 12 days, just post a reply. From buster6seven at ...626... Sat Dec 5 01:24:48 2015 From: buster6seven at ...626... (Buster Seven) Date: Sat, 5 Dec 2015 11:24:48 +1100 Subject: [Gambas-user] gb.report In-Reply-To: <565EBD47.3090107@...174...> References: <565EBD47.3090107@...174...> Message-ID: Tanks Frank Just what i needed. One more question when displaying a report in reportview component how do scale the report down to fit the reportview? thanks shane On Wed, Dec 2, 2015 at 8:43 PM, Frank wrote: > this is how I did it: > > Public Sub savepdf() > > Dim path As String > Dim hReport1 As New Rpt > Dim hprinter As New Printer > > path = "/home/me/Gambas/projecten/project/" & name & ".pdf" > > hprinter.Orientation = Printer.Portrait > hprinter.Resolution = Desktop.Resolution > hprinter.Paper = Printer.A4 > hprinter.OutputFile = path > hReport1.Print(hprinter) > > Message.Info("something is saved") > > End > > > brgds, > > Frank > > Op 02-12-15 om 10:37 schreef Fabien Bodard: > > Do you use gb.report or gb.report2 ? > > Le 2 d?c. 2015 04:52, "Buster Seven" a ?crit : > > > >> i'm using gb.report and I would like to save a pdf file automatically > >> generated from my program without out user input ! is this possible? > >> > >> > >> thanks Shane > >> > >> > ------------------------------------------------------------------------------ > >> Go from Idea to Many App Stores Faster with Intel(R) XDK > >> Give your users amazing mobile app experiences with Intel(R) XDK. > >> Use one codebase in this all-in-one HTML5 development environment. > >> Design, debug & build mobile apps & 2D/3D high-impact games for multiple > >> OSs. > >> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > ------------------------------------------------------------------------------ > > Go from Idea to Many App Stores Faster with Intel(R) XDK > > Give your users amazing mobile app experiences with Intel(R) XDK. > > Use one codebase in this all-in-one HTML5 development environment. > > Design, debug & build mobile apps & 2D/3D high-impact games for multiple > OSs. > > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple > OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Sat Dec 5 01:33:12 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 00:33:12 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #849: The components toolbox is not refreshed as component's class file is modified In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.849&from=L21haW4- Comment #3 by Beno?t MINISINI: I close the bug. Open another one if you can reproduce the issue and get more details. From bugtracker at ...3416... Sat Dec 5 01:33:24 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 00:33:24 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #849: The components toolbox is not refreshed as component's class file is modified In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.849&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Rejected. From bugtracker at ...3416... Sat Dec 5 01:46:39 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 00:46:39 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #855: [gb.report2] blank report, use more than 90% resource CPU In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.855&from=L21haW4- Comment #1 by Beno?t MINISINI: I can't reproduce that. Is it better with revision #7501? Is it better when you uncheck the "Grayscale" check box? From bugtracker at ...3416... Sat Dec 5 01:46:42 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 00:46:42 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #855: [gb.report2] blank report, use more than 90% resource CPU In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.855&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Waiting. From bugtracker at ...3416... Sat Dec 5 01:47:05 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 00:47:05 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #858: serial port implementation constants are bad and uncompleted!/miscdocumented! In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.858&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Sat Dec 5 02:05:27 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 01:05:27 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #851: Browse project does not work any longer In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.851&from=L21haW4- Comment #6 by Beno?t MINISINI: In revision #7502, I have update the xdg-utils scripts embedded into gb.desktop to their latest version. Can you try it and tell me if now it works for you? From bugtracker at ...3416... Sat Dec 5 02:05:30 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 01:05:30 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #851: Browse project does not work any longer In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.851&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Waiting. From gambas.fr at ...626... Sat Dec 5 10:19:19 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 5 Dec 2015 10:19:19 +0100 Subject: [Gambas-user] R: Fitting RichtText into several limited areas In-Reply-To: <5661814C.5060104@...221...> References: <1272248329.25009392.1449227111175.JavaMail.yahoo.ref@...3424...> <1272248329.25009392.1449227111175.JavaMail.yahoo@...3424...> <5661814C.5060104@...221...> Message-ID: So this is my two cents. It's not optimized i should do better if i've time. I will use something like this in a near time for reportLabels. Regards -- Fabien Bodard 2015-12-04 13:04 GMT+01:00 Rolf-Werner Eilert : > I don't think so, because it describes the wideth of a single line of > richtext. > > Paint.Richtext or Paint.DrawRichtext accept a Height for the textframe, > but it is practically unused. The function goes on drawing beyond this > point. This is where you would have to start helping. > > Let's see what would be necessary to do what I was looking for, > something pseudo code: > > frameLength = 70 'mm > > sRtext = File.Load("myrichtext") > > If Paint.RichTextHeight(sRtext) > frameLength Then > > 'if it stopped drawing at 70 mm > Paint.DrawRichText(sRtext, x1, y1, width, frameLength) > Paint.DrawRichText(RSTring.Mid(sRtext, RichTextLength(sRtext, > frameLength) + 1, x2, y2, W, frameLength) > > 'like it is now, not stopping, with special cutting function > Paint.DrawRichText(RString.Left(sRtext, RichTextLength(sRtext, > frameLength)), x1, y1, W, frameLength) > Paint.DrawRichText(RString.Mid(sRtext, RichTextLength(sRtext, > frameLength) + 1, x2, y2, W, frameLength) > > Else > > Paint.DrawRichText(sRtext, x1, y1, width, frameLength) > > Endif > > > So, this is just phantasy, but does it make it clearer? A class RString > would be needed, and a function that finds the position of the last > printable character in a RichText of given width. But I know, catenating > of these tagged strings would mean interpreting them, it's rather tricky... > > Regards > Rolf > > > Am 04.12.2015 12:05, schrieb Ru Vuott: >> Hello, >> >> ...could .Font.RichTextWidth() function help you ? >> >> vuott >> >> >> >> -------------------------------------------- >> Ven 4/12/15, Rolf-Werner Eilert ha scritto: >> >> Oggetto: [Gambas-user] Fitting RichtText into several limited areas >> A: "mailing list for gambas users" >> Data: Venerd? 4 dicembre 2015, 10:01 >> >> Can I somehow predict where a >> RichText will be too long for a box of >> text on a page, then cut it there, and let the rest flow >> into another box? >> >> You all know this from DTP programs: you have several text >> frames, and >> text is running on from one frame into the next if too >> long. >> >> I guess this isn't possible because there seems to be no >> intelligent >> helper function that can handle RichText strings like e. g. >> UTF-8 >> strings are handled in contrary to ASCII strings. As far as >> I can see, >> RichText is simply a UTF-8 string containing a lot of XML >> tags. A >> special Left, Mid or Right function would have to >> reconstruct these tags >> for the other part of the string to keep the tags >> functionable. >> >> A workaround would be to extract the pure text and store the >> tagged >> values somewhere else until the text has been cut apart. But >> it would >> make the whole automatic in RichText senseless. >> >> But maybe I just didn't find this functionality? >> >> Regards >> Rolf >> >> >> ------------------------------------------------------------------------------ >> Go from Idea to Many App Stores Faster with Intel(R) XDK >> Give your users amazing mobile app experiences with Intel(R) >> XDK. >> Use one codebase in this all-in-one HTML5 development >> environment. >> Design, debug & build mobile apps & 2D/3D >> high-impact games for multiple OSs. >> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: RichTextBroke-0.0.1.tar.gz Type: application/x-gzip Size: 13279 bytes Desc: not available URL: From bugtracker at ...3416... Sat Dec 5 11:02:47 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 10:02:47 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #859: Report preview, caption label use English Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.859&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- Report preview, caption label use English Type : Request Priority : Low Gambas version : 3.8.90 (TRUNK) Product : GUI components Description ----------- "Recto Verso" may be can use English (attach pic-1) System information ------------------ [System] Gambas=3.8.90 r7502 OperatingSystem=Linux Kernel=3.2.0-88-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=LXDE Theme=Gtk Language=en_US.UTF-8 Memory=494M [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.7.0 GTK+2=libgtk-x11-2.0.so.0.2400.10 GTK+3=libgtk-3.so.0.400.2 OpenGL=libGL.so.96.43.23 Poppler=libpoppler.so.19.0.0 QT4=libQtCore.so.4.8.1 QT5=libQt5Core.so.5.0.2 SDL=libSDL-1.2.so.0.11.3 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-qxX84QfyAf,guid=c50be0e170e2c96c320721f70000025a DEFAULTS_PATH=/usr/share/gconf/Lubuntu.default.path DESKTOP_SESSION=Lubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=Lubuntu GNOME_KEYRING_CONTROL=/tmp/keyring-1alo8Z GNOME_KEYRING_PID=1761 HOME= LANG=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/Lubuntu.mandatory.path PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PWD= SAL_USE_VCLPLUGIN=gtk SHELL=/bin/bash SSH_AGENT_PID=1752 SSH_AUTH_SOCK=/tmp/keyring-1alo8Z/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/lubuntu/:/etc/xdg/xdg-Lubuntu:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXDE XDG_DATA_DIRS=/etc/xdg/lubuntu:/usr/share/Lubuntu:/usr/local/share/:/usr/share/:/usr/share:/usr/share/gdm:/var/lib/menu-xdg XDG_MENU_PREFIX=lxde- XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_COOKIE=2d9710af0959f6893eb828f100000008-1449307825.422177-2070282672 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 _LXSESSION_PID=1722 From bugtracker at ...3416... Sat Dec 5 11:03:01 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 10:03:01 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #859: Report preview, caption label use English In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.859&from=L21haW4- Zainudin AHMAD added an attachment: pic-1.png From gambas.fr at ...626... Sat Dec 5 11:04:57 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 5 Dec 2015 11:04:57 +0100 Subject: [Gambas-user] R: Fitting RichtText into several limited areas In-Reply-To: References: <1272248329.25009392.1449227111175.JavaMail.yahoo.ref@...3424...> <1272248329.25009392.1449227111175.JavaMail.yahoo@...3424...> <5661814C.5060104@...221...> Message-ID: Hoops an insidious bug . 2015-12-05 10:19 GMT+01:00 Fabien Bodard : > So this is my two cents. It's not optimized i should do better if i've > time. I will use something like this in a near time for reportLabels. > > Regards > -- > Fabien Bodard > > 2015-12-04 13:04 GMT+01:00 Rolf-Werner Eilert : >> I don't think so, because it describes the wideth of a single line of >> richtext. >> >> Paint.Richtext or Paint.DrawRichtext accept a Height for the textframe, >> but it is practically unused. The function goes on drawing beyond this >> point. This is where you would have to start helping. >> >> Let's see what would be necessary to do what I was looking for, >> something pseudo code: >> >> frameLength = 70 'mm >> >> sRtext = File.Load("myrichtext") >> >> If Paint.RichTextHeight(sRtext) > frameLength Then >> >> 'if it stopped drawing at 70 mm >> Paint.DrawRichText(sRtext, x1, y1, width, frameLength) >> Paint.DrawRichText(RSTring.Mid(sRtext, RichTextLength(sRtext, >> frameLength) + 1, x2, y2, W, frameLength) >> >> 'like it is now, not stopping, with special cutting function >> Paint.DrawRichText(RString.Left(sRtext, RichTextLength(sRtext, >> frameLength)), x1, y1, W, frameLength) >> Paint.DrawRichText(RString.Mid(sRtext, RichTextLength(sRtext, >> frameLength) + 1, x2, y2, W, frameLength) >> >> Else >> >> Paint.DrawRichText(sRtext, x1, y1, width, frameLength) >> >> Endif >> >> >> So, this is just phantasy, but does it make it clearer? A class RString >> would be needed, and a function that finds the position of the last >> printable character in a RichText of given width. But I know, catenating >> of these tagged strings would mean interpreting them, it's rather tricky... >> >> Regards >> Rolf >> >> >> Am 04.12.2015 12:05, schrieb Ru Vuott: >>> Hello, >>> >>> ...could .Font.RichTextWidth() function help you ? >>> >>> vuott >>> >>> >>> >>> -------------------------------------------- >>> Ven 4/12/15, Rolf-Werner Eilert ha scritto: >>> >>> Oggetto: [Gambas-user] Fitting RichtText into several limited areas >>> A: "mailing list for gambas users" >>> Data: Venerd? 4 dicembre 2015, 10:01 >>> >>> Can I somehow predict where a >>> RichText will be too long for a box of >>> text on a page, then cut it there, and let the rest flow >>> into another box? >>> >>> You all know this from DTP programs: you have several text >>> frames, and >>> text is running on from one frame into the next if too >>> long. >>> >>> I guess this isn't possible because there seems to be no >>> intelligent >>> helper function that can handle RichText strings like e. g. >>> UTF-8 >>> strings are handled in contrary to ASCII strings. As far as >>> I can see, >>> RichText is simply a UTF-8 string containing a lot of XML >>> tags. A >>> special Left, Mid or Right function would have to >>> reconstruct these tags >>> for the other part of the string to keep the tags >>> functionable. >>> >>> A workaround would be to extract the pure text and store the >>> tagged >>> values somewhere else until the text has been cut apart. But >>> it would >>> make the whole automatic in RichText senseless. >>> >>> But maybe I just didn't find this functionality? >>> >>> Regards >>> Rolf >>> >>> >>> ------------------------------------------------------------------------------ >>> Go from Idea to Many App Stores Faster with Intel(R) XDK >>> Give your users amazing mobile app experiences with Intel(R) >>> XDK. >>> Use one codebase in this all-in-one HTML5 development >>> environment. >>> Design, debug & build mobile apps & 2D/3D >>> high-impact games for multiple OSs. >>> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> >> >> ------------------------------------------------------------------------------ >> Go from Idea to Many App Stores Faster with Intel(R) XDK >> Give your users amazing mobile app experiences with Intel(R) XDK. >> Use one codebase in this all-in-one HTML5 development environment. >> Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. >> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard -- Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: RichTextBroke-0.0.2.tar.gz Type: application/x-gzip Size: 13290 bytes Desc: not available URL: From gambas.fr at ...626... Sat Dec 5 11:10:39 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 5 Dec 2015 11:10:39 +0100 Subject: [Gambas-user] R: Fitting RichtText into several limited areas In-Reply-To: References: <1272248329.25009392.1449227111175.JavaMail.yahoo.ref@...3424...> <1272248329.25009392.1449227111175.JavaMail.yahoo@...3424...> <5661814C.5060104@...221...> Message-ID: re OOpps, I've just see i've forgotten to manage when one line not fit in the area. 2015-12-05 11:04 GMT+01:00 Fabien Bodard : > Hoops an insidious bug . > > 2015-12-05 10:19 GMT+01:00 Fabien Bodard : >> So this is my two cents. It's not optimized i should do better if i've >> time. I will use something like this in a near time for reportLabels. >> >> Regards >> -- >> Fabien Bodard >> >> 2015-12-04 13:04 GMT+01:00 Rolf-Werner Eilert : >>> I don't think so, because it describes the wideth of a single line of >>> richtext. >>> >>> Paint.Richtext or Paint.DrawRichtext accept a Height for the textframe, >>> but it is practically unused. The function goes on drawing beyond this >>> point. This is where you would have to start helping. >>> >>> Let's see what would be necessary to do what I was looking for, >>> something pseudo code: >>> >>> frameLength = 70 'mm >>> >>> sRtext = File.Load("myrichtext") >>> >>> If Paint.RichTextHeight(sRtext) > frameLength Then >>> >>> 'if it stopped drawing at 70 mm >>> Paint.DrawRichText(sRtext, x1, y1, width, frameLength) >>> Paint.DrawRichText(RSTring.Mid(sRtext, RichTextLength(sRtext, >>> frameLength) + 1, x2, y2, W, frameLength) >>> >>> 'like it is now, not stopping, with special cutting function >>> Paint.DrawRichText(RString.Left(sRtext, RichTextLength(sRtext, >>> frameLength)), x1, y1, W, frameLength) >>> Paint.DrawRichText(RString.Mid(sRtext, RichTextLength(sRtext, >>> frameLength) + 1, x2, y2, W, frameLength) >>> >>> Else >>> >>> Paint.DrawRichText(sRtext, x1, y1, width, frameLength) >>> >>> Endif >>> >>> >>> So, this is just phantasy, but does it make it clearer? A class RString >>> would be needed, and a function that finds the position of the last >>> printable character in a RichText of given width. But I know, catenating >>> of these tagged strings would mean interpreting them, it's rather tricky... >>> >>> Regards >>> Rolf >>> >>> >>> Am 04.12.2015 12:05, schrieb Ru Vuott: >>>> Hello, >>>> >>>> ...could .Font.RichTextWidth() function help you ? >>>> >>>> vuott >>>> >>>> >>>> >>>> -------------------------------------------- >>>> Ven 4/12/15, Rolf-Werner Eilert ha scritto: >>>> >>>> Oggetto: [Gambas-user] Fitting RichtText into several limited areas >>>> A: "mailing list for gambas users" >>>> Data: Venerd? 4 dicembre 2015, 10:01 >>>> >>>> Can I somehow predict where a >>>> RichText will be too long for a box of >>>> text on a page, then cut it there, and let the rest flow >>>> into another box? >>>> >>>> You all know this from DTP programs: you have several text >>>> frames, and >>>> text is running on from one frame into the next if too >>>> long. >>>> >>>> I guess this isn't possible because there seems to be no >>>> intelligent >>>> helper function that can handle RichText strings like e. g. >>>> UTF-8 >>>> strings are handled in contrary to ASCII strings. As far as >>>> I can see, >>>> RichText is simply a UTF-8 string containing a lot of XML >>>> tags. A >>>> special Left, Mid or Right function would have to >>>> reconstruct these tags >>>> for the other part of the string to keep the tags >>>> functionable. >>>> >>>> A workaround would be to extract the pure text and store the >>>> tagged >>>> values somewhere else until the text has been cut apart. But >>>> it would >>>> make the whole automatic in RichText senseless. >>>> >>>> But maybe I just didn't find this functionality? >>>> >>>> Regards >>>> Rolf >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Go from Idea to Many App Stores Faster with Intel(R) XDK >>>> Give your users amazing mobile app experiences with Intel(R) >>>> XDK. >>>> Use one codebase in this all-in-one HTML5 development >>>> environment. >>>> Design, debug & build mobile apps & 2D/3D >>>> high-impact games for multiple OSs. >>>> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Go from Idea to Many App Stores Faster with Intel(R) XDK >>> Give your users amazing mobile app experiences with Intel(R) XDK. >>> Use one codebase in this all-in-one HTML5 development environment. >>> Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. >>> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> -- >> Fabien Bodard > > > > -- > Fabien Bodard -- Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: RichTextBroke-0.0.3.tar.gz Type: application/x-gzip Size: 13313 bytes Desc: not available URL: From bugtracker at ...3416... Sat Dec 5 11:12:11 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 10:12:11 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #859: Report preview, caption label use English In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.859&from=L21haW4- Comment #1 by Fabien BODARD: And must be ? From bugtracker at ...3416... Sat Dec 5 11:27:23 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 10:27:23 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #855: [gb.report2] blank report, use more than 90% resource CPU In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.855&from=L21haW4- Comment #2 by Zainudin AHMAD: no different, (r7502) and no better May be it's related with JIT ? (my jit is disable) --- Owww , it's fine with GTK2 and GTK3 this happens only with qt4. I can't believe it ..... this is reality ...... From bugtracker at ...3416... Sat Dec 5 11:43:25 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 10:43:25 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #854: IDE Crash when "Double Click" the Publish button on Publis Software Dialog In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.854&from=L21haW4- Comment #2 by Zainudin AHMAD: just testing :) I will investigate further From bugtracker at ...3416... Sat Dec 5 12:25:40 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 11:25:40 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #855: [gb.report2] blank report, use more than 90% resource CPU In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.855&from=L21haW4- Comment #3 by Beno?t MINISINI: So it's related to painting maybe... Strange, as if the report preview is opened and you don't do anything, it must not do anything either! From bugtracker at ...3416... Sat Dec 5 12:25:47 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 11:25:47 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #855: [gb.report2] blank report, use more than 90% resource CPU Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.855&from=L21haW4- Beno?t MINISINI reported a new bug. Summary ------- [gb.report2] blank report, use more than 90% resource CPU Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : GUI components Description ----------- In my system only show blank report, it's using more than 90% resource CPU (attach pic-1) this happens only with gb.report2, it's fine with gb.report (attach project) System information ------------------ [System] Gambas=3.8.90 r7496 OperatingSystem=Linux Kernel=3.2.0-88-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=LXDE Theme=Gtk Language=en_US.UTF-8 Memory=494M [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.7.0 GTK+2=libgtk-x11-2.0.so.0.2400.10 GTK+3=libgtk-3.so.0.400.2 OpenGL=libGL.so.96.43.23 Poppler=libpoppler.so.19.0.0 QT4=libQtCore.so.4.8.1 QT5=libQt5Core.so.5.0.2 SDL=libSDL-1.2.so.0.11.3 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-xpmvj25V6h,guid=be71a96f9e366390d6245d360000002c DEFAULTS_PATH=/usr/share/gconf/Lubuntu.default.path DESKTOP_SESSION=Lubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=Lubuntu GNOME_KEYRING_CONTROL=/tmp/keyring-jbkeXd GNOME_KEYRING_PID=1828 HOME= LANG=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/Lubuntu.mandatory.path PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PWD= SAL_USE_VCLPLUGIN=gtk SHELL=/bin/bash SSH_AGENT_PID=1819 SSH_AUTH_SOCK=/tmp/keyring-jbkeXd/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/lubuntu/:/etc/xdg/xdg-Lubuntu:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXDE XDG_DATA_DIRS=/etc/xdg/lubuntu:/usr/share/Lubuntu:/usr/local/share/:/usr/share/:/usr/share:/usr/share/gdm:/var/lib/menu-xdg XDG_MENU_PREFIX=lxde- XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_COOKIE=2d9710af0959f6893eb828f100000008-1449091035.731829-1059360993 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 _LXSESSION_PID=1789 From bugtracker at ...3416... Sat Dec 5 13:08:42 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 12:08:42 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #855: [gb.report2] blank report, use more than 90% resource CPU In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.855&from=L21haW4- Comment #4 by Zainudin AHMAD: attach pic-1 attach pic-2 (display data from db) Zainudin AHMAD changed the state of the bug to: . From bugtracker at ...3416... Sat Dec 5 13:08:42 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 12:08:42 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #855: [gb.report2] blank report, use more than 90% resource CPU Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.855&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- [gb.report2] blank report, use more than 90% resource CPU Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : GUI components Description ----------- In my system only show blank report, it's using more than 90% resource CPU (attach pic-1) this happens only with gb.report2, it's fine with gb.report (attach project) System information ------------------ [System] Gambas=3.8.90 r7496 OperatingSystem=Linux Kernel=3.2.0-88-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=LXDE Theme=Gtk Language=en_US.UTF-8 Memory=494M [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.7.0 GTK+2=libgtk-x11-2.0.so.0.2400.10 GTK+3=libgtk-3.so.0.400.2 OpenGL=libGL.so.96.43.23 Poppler=libpoppler.so.19.0.0 QT4=libQtCore.so.4.8.1 QT5=libQt5Core.so.5.0.2 SDL=libSDL-1.2.so.0.11.3 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-xpmvj25V6h,guid=be71a96f9e366390d6245d360000002c DEFAULTS_PATH=/usr/share/gconf/Lubuntu.default.path DESKTOP_SESSION=Lubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=Lubuntu GNOME_KEYRING_CONTROL=/tmp/keyring-jbkeXd GNOME_KEYRING_PID=1828 HOME= LANG=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/Lubuntu.mandatory.path PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PWD= SAL_USE_VCLPLUGIN=gtk SHELL=/bin/bash SSH_AGENT_PID=1819 SSH_AUTH_SOCK=/tmp/keyring-jbkeXd/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/lubuntu/:/etc/xdg/xdg-Lubuntu:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXDE XDG_DATA_DIRS=/etc/xdg/lubuntu:/usr/share/Lubuntu:/usr/local/share/:/usr/share/:/usr/share:/usr/share/gdm:/var/lib/menu-xdg XDG_MENU_PREFIX=lxde- XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_COOKIE=2d9710af0959f6893eb828f100000008-1449091035.731829-1059360993 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 _LXSESSION_PID=1789 From bugtracker at ...3416... Sat Dec 5 13:09:13 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 12:09:13 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #855: [gb.report2] blank report, use more than 90% resource CPU In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.855&from=L21haW4- Zainudin AHMAD added an attachment: pic-1.png From bugtracker at ...3416... Sat Dec 5 13:09:54 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 12:09:54 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #855: [gb.report2] blank report, use more than 90% resource CPU In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.855&from=L21haW4- Zainudin AHMAD added an attachment: pic-2.png From bugtracker at ...3416... Sat Dec 5 13:14:41 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 12:14:41 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #752: Gambas shows - gbx3: warning: trying to watch fd #-1 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.752&from=L21haW4- ADMINISTRATOR changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Sat Dec 5 13:14:43 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 12:14:43 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #809: Gambas looks for Oxygen icon theme on pure KDE5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.809&from=L21haW4- ADMINISTRATOR changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Sat Dec 5 13:14:44 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 12:14:44 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #815: Software Farm: Projects updates In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.815&from=L21haW4- ADMINISTRATOR changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Sat Dec 5 13:14:45 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 12:14:45 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #831: .WebSetting.Cache.Path say some strange things and not work. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.831&from=L21haW4- ADMINISTRATOR changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Sat Dec 5 13:14:47 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 12:14:47 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #851: Browse project does not work any longer In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.851&from=L21haW4- ADMINISTRATOR changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Sat Dec 5 13:14:47 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 12:14:47 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #854: IDE Crash when "Double Click" the Publish button on Publis Software Dialog In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.854&from=L21haW4- ADMINISTRATOR changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Sat Dec 5 15:14:45 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 14:14:45 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #851: Browse project does not work any longer In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.851&from=L21haW4- Comment #7 by Moviga TECHNOLOGIES: It works now! From bugtracker at ...3416... Sat Dec 5 15:17:28 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 14:17:28 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #851: Browse project does not work any longer In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.851&from=L21haW4- Comment #8 by Beno?t MINISINI: Fixed in revision #7502. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Sat Dec 5 15:17:46 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 14:17:46 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #809: Gambas looks for Oxygen icon theme on pure KDE5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.809&from=L21haW4- Comment #6 by Moviga TECHNOLOGIES: I was notified with "ADMINISTRATOR changed the state of the bug to: NeedsInfo." What info do you need now? From bugtracker at ...3416... Sat Dec 5 17:37:41 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 16:37:41 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #809: Gambas looks for Oxygen icon theme on pure KDE5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.809&from=L21haW4- Comment #7 by Beno?t MINISINI: Nothing, I just changed the "Waiting" status into "NeedsInfo", which is more explicit. But you already give some, and I didn't update the bug status. Now I have to see if what you gave me is enough... From bugtracker at ...3416... Sat Dec 5 17:37:47 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 16:37:47 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #809: Gambas looks for Oxygen icon theme on pure KDE5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.809&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Opened. From bugtracker at ...3416... Sat Dec 5 17:37:55 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 16:37:55 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #809: Gambas looks for Oxygen icon theme on pure KDE5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.809&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Working. From bugtracker at ...3416... Sat Dec 5 17:49:32 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 16:49:32 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #855: [gb.report2] blank report, use more than 90% resource CPU In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.855&from=L21haW4- Comment #5 by Fabien BODARD: I have not theses problems here. If you change the paper size does it do someting ? What about the displayed number of pages ? Well on you picture it seem to be fixed so it is not an infinite loop on the layer routine. From bugtracker at ...3416... Sat Dec 5 22:27:56 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 21:27:56 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #855: [gb.report2] blank report, use more than 90% resource CPU In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.855&from=L21haW4- Comment #6 by Shane POWELL: same here [System] Gambas=3.8.3 OperatingSystem=Linux Kernel=3.16.0-38-generic Architecture=x86_64 Distribution=Linux Mint 17.2 Rafaela Desktop=MATE Theme=Gtk Language=en_AU.UTF-8 Memory=3806M [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+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-vAsiRhuKtH,guid=4748928217cf65e49e28ab61565d22d0 DEFAULTS_PATH=/usr/share/gconf/mate.default.path DESKTOP_SESSION=mate DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=mate GDM_XSERVER_LOCATION=local GNOME_KEYRING_CONTROL=/run/user/1000/keyring-SiI9rR GNOME_KEYRING_PID=1982 GPG_AGENT_INFO=/run/user/1000/keyring-SiI9rR/gpg:0:1 HOME=/home/ LANG=en_AU.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path MATE_DESKTOP_SESSION_ID=this-is-deprecated MDMSESSION=mate MDM_LANG=en_AU.UTF-8 MDM_XSERVER_LOCATION=local PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD=/home/ SESSION_MANAGER=local/:@/tmp/.ICE-unix/1639,unix/:/tmp/.ICE-unix/1639 SHELL=/bin/bash SSH_AGENT_PID=1892 SSH_AUTH_SOCK=/run/user/1000/keyring-SiI9rR/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=8 XAUTHORITY=/home//.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg XDG_CURRENT_DESKTOP=MATE XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=139d2632112d070b9e811bbc561842ce-1448944334.439978-1408468348 XDG_SESSION_DESKTOP=mate XDG_SESSION_ID=c1 XDG_VTNR=8 From bugtracker at ...3416... Sat Dec 5 23:45:01 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 22:45:01 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #855: [gb.report2] blank report, use more than 90% resource CPU In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.855&from=L21haW4- Comment #7 by Zainudin AHMAD: @Fabien no difference when changed paper size and page number From bugtracker at ...3416... Sun Dec 6 00:07:57 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 23:07:57 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #860: ReportImage, unknow symbol "FromPixels" in class Report Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.860&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- ReportImage, unknow symbol "FromPixels" in class Report Type : Bug Priority : Low Gambas version : 3.8.90 (TRUNK) Product : GUI components Description ----------- I get message "unknow symbol "FromPixels" in class Report" in stack backtrace (attach pic-2) reproduce the bug: - change stretch property (ReportImage) to Fill or None (attach pic-1) - run project attach project System information ------------------ [System] Gambas=3.8.90 r7502 OperatingSystem=Linux Kernel=3.2.0-88-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=LXDE Theme=Gtk Language=en_US.UTF-8 Memory=494M [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.7.0 GTK+2=libgtk-x11-2.0.so.0.2400.10 GTK+3=libgtk-3.so.0.400.2 OpenGL=libGL.so.96.43.23 Poppler=libpoppler.so.19.0.0 QT4=libQtCore.so.4.8.1 QT5=libQt5Core.so.5.0.2 SDL=libSDL-1.2.so.0.11.3 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-qxX84QfyAf,guid=c50be0e170e2c96c320721f70000025a DEFAULTS_PATH=/usr/share/gconf/Lubuntu.default.path DESKTOP_SESSION=Lubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=Lubuntu GNOME_KEYRING_CONTROL=/tmp/keyring-1alo8Z GNOME_KEYRING_PID=1761 HOME= LANG=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/Lubuntu.mandatory.path PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PWD= SAL_USE_VCLPLUGIN=gtk SHELL=/bin/bash SSH_AGENT_PID=1752 SSH_AUTH_SOCK=/tmp/keyring-1alo8Z/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/lubuntu/:/etc/xdg/xdg-Lubuntu:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXDE XDG_DATA_DIRS=/etc/xdg/lubuntu:/usr/share/Lubuntu:/usr/local/share/:/usr/share/:/usr/share:/usr/share/gdm:/var/lib/menu-xdg XDG_MENU_PREFIX=lxde- XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_COOKIE=2d9710af0959f6893eb828f100000008-1449307825.422177-2070282672 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 _LXSESSION_PID=1722 From bugtracker at ...3416... Sun Dec 6 00:08:14 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 23:08:14 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #860: ReportImage, unknow symbol "FromPixels" in class Report In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.860&from=L21haW4- Zainudin AHMAD added an attachment: pic-2.png From bugtracker at ...3416... Sun Dec 6 00:08:21 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 23:08:21 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #860: ReportImage, unknow symbol "FromPixels" in class Report In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.860&from=L21haW4- Zainudin AHMAD added an attachment: pic-1.png From bugtracker at ...3416... Sun Dec 6 00:08:30 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 23:08:30 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #860: ReportImage, unknow symbol "FromPixels" in class Report In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.860&from=L21haW4- Zainudin AHMAD added an attachment: test-ReportImage-FromPixels-0.0.1.tar.gz From bugtracker at ...3416... Sun Dec 6 00:50:56 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 23:50:56 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #858: serial port implementation constants are bad and uncompleted!/miscdocumented! In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.858&from=L21haW4- Comment #8 by PICCORO LENZ MCKAY: according to the source code cited by benoit >According to the source code: > >FlowControl = SerialPort.Hardware means Hardware CRTSCTS. >FlowControl = SerialPort.Software means Software IXON + IXOFF + IXANY. >FlowControl = SerialPort.Both means both. > >No idea what that means. but the changes made in he wiki are the correct settings, so must be the code commented with docummentation fixed!?? From bugtracker at ...3416... Sun Dec 6 00:57:46 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Dec 2015 23:57:46 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #858: serial port implementation constants are bad and uncompleted!/miscdocumented! In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.858&from=L21haW4- Comment #9 by PICCORO LENZ MCKAY: also i added some notes on the both case to not confuse future new users From mckaygerhard at ...626... Sun Dec 6 01:03:23 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sat, 5 Dec 2015 19:33:23 -0430 Subject: [Gambas-user] running IDE with Qt5 In-Reply-To: <5660ABB1.7070607@...1...> References: <56604D51.3080009@...1...> <5660ABB1.7070607@...1...> Message-ID: set a env variable to QT5 and that's all, of course, all the components in qt5 framework must be set, packages made for some disributions may have some misc but works in general lines 2015-12-03 16:23 GMT-04:30, Beno?t Minisini : > Le 03/12/2015 21:27, Ian Haywood a ?crit : >> On Fri, Dec 4, 2015 at 1:10 AM, Beno?t Minisini >> wrote: >>> Le 03/12/2015 11:47, Ian Haywood a ?crit : >>>> is there a way to run the IDE with Qt5 only (not Qt4 at all) >>>> The reason is Qt4 webkit is getting pulled out of Debian, so we are >>>> not allowed to depend on it anymore. >>>> >>>> Ian >>>> >>> >>> The algorithm is the following: >>> >>> if GB_GUI is "QT4", then gb.qt4 is used. >>> if GB_GUI is "QT5", then gb.qt5 is used. >>> otherwise, >>> if KDE_FULL_SESSION is "true", then >>> if KDE_SESSION_VERSION is "4", then gb.qt4 is used. >>> if KDE_SESSION_VERSION is "5", then gb.qt5 is used. >>> othewise, gb.qt5 is used. >> I thought so, but I am finding that on 3.8.3 at least, if gb.qt4 and >> gb.qt5 are both present, >> gb.qt4 is used (which then fails, as no gb.q4.webkit is present) >> Removing gb.qt4 from the system is the solution: the IDE then has nbo >> choice but to run successfully with gb.qt5 >> >> Ian >> > > If you use 'gb.qt4', it's because the algorithm I described decides to > use 'gb.qt4', that's all. > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple > OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From bugtracker at ...3416... Sun Dec 6 01:14:47 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 06 Dec 2015 00:14:47 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #829: Unable to Insert Time value in postgresql database In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.829&from=L21haW4- Comment #7 by Beno?t MINISINI: In revision #7506, I have implemented the following convention: Gambas date/time values with only the time part are stored in the PostgreSQL database using the minimum date it accepts, i.e. '4713-01-01 BC'. When a timestamp is found in the database using that date, Gambas converts it to a time-only date/time value. Please tell me if it is ok for you, and the fix will be backported to the next stable version. Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Sun Dec 6 01:20:14 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 06 Dec 2015 00:20:14 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #861: browse project using wrong file manager(not default) Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.861&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- browse project using wrong file manager(not default) Type : Bug Priority : Low Gambas version : 3.8.90 (TRUNK) Product : Development Environment Description ----------- I was using lubuntu(lxde) but the default file manager that I use is the dolphin(not pcmanfm). before r7502 everything is fine, now when browse project it's opened PCManFM instead dolphin System information ------------------ [System] Gambas=3.8.90 r7502 OperatingSystem=Linux Kernel=3.2.0-88-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=LXDE Theme=Gtk Language=en_US.UTF-8 Memory=494M [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.7.0 GTK+2=libgtk-x11-2.0.so.0.2400.10 GTK+3=libgtk-3.so.0.400.2 OpenGL=libGL.so.96.43.23 Poppler=libpoppler.so.19.0.0 QT4=libQtCore.so.4.8.1 QT5=libQt5Core.so.5.0.2 SDL=libSDL-1.2.so.0.11.3 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-qxX84QfyAf,guid=c50be0e170e2c96c320721f70000025a DEFAULTS_PATH=/usr/share/gconf/Lubuntu.default.path DESKTOP_SESSION=Lubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=Lubuntu GNOME_KEYRING_CONTROL=/tmp/keyring-1alo8Z GNOME_KEYRING_PID=1761 HOME= LANG=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/Lubuntu.mandatory.path PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PWD= SAL_USE_VCLPLUGIN=gtk SHELL=/bin/bash SSH_AGENT_PID=1752 SSH_AUTH_SOCK=/tmp/keyring-1alo8Z/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/lubuntu/:/etc/xdg/xdg-Lubuntu:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXDE XDG_DATA_DIRS=/etc/xdg/lubuntu:/usr/share/Lubuntu:/usr/local/share/:/usr/share/:/usr/share:/usr/share/gdm:/var/lib/menu-xdg XDG_MENU_PREFIX=lxde- XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_COOKIE=2d9710af0959f6893eb828f100000008-1449307825.422177-2070282672 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 _LXSESSION_PID=1722 From bugtracker at ...3416... Sun Dec 6 01:28:02 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 06 Dec 2015 00:28:02 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #861: browse project using wrong file manager(not default) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.861&from=L21haW4- Comment #1 by Beno?t MINISINI: The file manager is chosen by the xdg-open script that detects the current desktop to decide what to do. How and where do you configure your default file manager? From bugtracker at ...3416... Sun Dec 6 01:54:51 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 06 Dec 2015 00:54:51 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #861: browse project using wrong file manager(not default) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.861&from=L21haW4- Comment #2 by Zainudin AHMAD: xdg-mime default dolphin.desktop inode/directory From ihaywood3 at ...626... Sun Dec 6 04:24:50 2015 From: ihaywood3 at ...626... (Ian Haywood) Date: Sun, 6 Dec 2015 14:24:50 +1100 Subject: [Gambas-user] running IDE with Qt5 In-Reply-To: References: <56604D51.3080009@...1...> <5660ABB1.7070607@...1...> Message-ID: On Sun, Dec 6, 2015 at 11:03 AM, PICCORO McKAY Lenz wrote: > set a env variable to QT5 and that's all, of course, all the > components in qt5 framework must be set, packages made for some > disributions may have some misc but works in general lines when packaging for a distro the interpreter should work "out of the box", users should be able to type "gambas3" or launch form the menus, not "GB_GUI=QT5 gambas3" One solution is to have a wrapper shell script that sets the variable Easier IMHO is to patch main/lib/gui.qt/main.c to prefer qt5 over qt4 which is probably what Debian will end up doing. Ian From dosida at ...626... Sun Dec 6 04:28:35 2015 From: dosida at ...626... (Dimitris Anogiatis) Date: Sat, 5 Dec 2015 20:28:35 -0700 Subject: [Gambas-user] new web page at gambas.sourgeforce.net has "fake" links In-Reply-To: <5661F0D8.2010605@...1...> References: <5661AB9D.7000803@...1...> <498411d692482a5c02904ed580812372@...3488...> <5661E8DA.5030108@...1...> <5661F0D8.2010605@...1...> Message-ID: Just as an FYI there's a couple of typos on the title of the email. It was reported that gambas.sourgeforce.net had fake links when it should have been gambas.sourceforge.net The first URL only has a generic landing page (thus the "fake" links) On Fri, Dec 4, 2015 at 1:00 PM, Beno?t Minisini < gambas at ...1...> wrote: > Le 04/12/2015 20:53, PICCORO McKAY Lenz a ?crit : > > umm the compiled program itself its a cgi ? > > > > the gb.web.form its a great feature!!!!!! > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > > > Yes. > > And when you check the 'gb.httpd' component, it becomes an autonomous > web server with your project embedded as a CGI script inside. I.e. one > Gambas program that you just have to run as a global service on your > server. > > This is what is used by the IDE by default when you debug it. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple > OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sun Dec 6 09:30:56 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 6 Dec 2015 09:30:56 +0100 Subject: [Gambas-user] running IDE with Qt5 In-Reply-To: References: <56604D51.3080009@...1...> <5660ABB1.7070607@...1...> Message-ID: <5663F240.7040106@...1...> Le 06/12/2015 04:24, Ian Haywood a ?crit : > On Sun, Dec 6, 2015 at 11:03 AM, PICCORO McKAY Lenz > wrote: >> set a env variable to QT5 and that's all, of course, all the >> components in qt5 framework must be set, packages made for some >> disributions may have some misc but works in general lines > when packaging for a distro the interpreter should work "out of the > box", users should be > able to type "gambas3" or launch form the menus, not "GB_GUI=QT5 gambas3" > > One solution is to have a wrapper shell script that sets the variable > Easier IMHO is to patch main/lib/gui.qt/main.c to prefer qt5 over qt4 > which is probably what Debian will end up doing. > > Ian > gambas3 is not the interpreter, it's the IDE. Maybe the solution is making the gb.gui.qt component clever. I mean, if a project needs both gb.gui.qt and gb.gui.qt.webkit, it must check both to choose between QT4 ot QT5, not just gb.gui.qt. Regards, -- Beno?t Minisini From mckaygerhard at ...626... Sun Dec 6 14:45:16 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sun, 6 Dec 2015 09:15:16 -0430 Subject: [Gambas-user] New gb.web.form component In-Reply-To: <441d2ebb7bf66a23e822edb09a789f73@...3488...> References: <56417044.601@...1...> <04cb0bd63439d3cd0544bdfaf47907e1@...3488...> <565B6D90.7010907@...1...> <441d2ebb7bf66a23e822edb09a789f73@...3488...> Message-ID: Hi Benoit and others.. there's many things here that must be take carefully 1) take in consideration stabilitiy in words of changes of the web sites/apps, everyday are changing and the browsers force that! the app, javascript, ajax, and those stupids that forces developers to change and change anc change on all the new day always change also.. This can broke the forwad compatibility o gambas, remenber any older gambas app in series will compile in nwe version, example my APP-3.4.0 can be build in gambas 3.8.3 and runs without change, THAT ITS NOT IN THE WEB DEVELOPEMNT wordl! A thing that gambas have its the consistency in development word, aditions and aditions but nothing break the things made in the past! In the web development word that's its not! 2) due the firts fact, the development of that will take more thant xpected, so a idea can be separate the project!, BUT this will means more workload for manpowers and for Benoit! AND NOW SOME NOTES: > create an application entirely in javascript that will be run inside the > browser (like Google docs for example). i dont like, due today the web apps take tooo much cpu process, due that! also on every day changes and the browsers change and the users never have peace, always pending "update" the browser! SO THIS WIL IMPACT IN THE GUI? and in gambas gui of web component? so obviously this will impact in the development and benoit time dedication! CGI IMPORTANT NOTE > Do understand that the web application is a CGI script that must build .... > application. It has performance impact. I improved that, runnig multiple gci apps and interacting between cgi's, the performan problem gone! of course u must programing better logic beetween projects/apps 2015-11-29 17:12 GMT-04:30, Moviga Technologies : > > > It was just starting to resemble the Gambas IDE, so I got curious of how > ambitious you had become ;) Glad to hear that your feet is still on the > ground, haha :) > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From mckaygerhard at ...626... Sun Dec 6 14:50:05 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sun, 6 Dec 2015 09:20:05 -0430 Subject: [Gambas-user] new web page at gambas.sourgeforce.net has "fake" links In-Reply-To: References: <5661AB9D.7000803@...1...> <498411d692482a5c02904ed580812372@...3488...> <5661E8DA.5030108@...1...> <5661F0D8.2010605@...1...> Message-ID: i always have typos inclusivelly in my native languaje, i hate the keyboards!.. th keys are too weaks and i cannot type fast! hey Benoit, i made important notes round the new gb.web.form in development component, please read carefully! 2015-12-05 22:58 GMT-04:30, Dimitris Anogiatis : > Just as an FYI there's a couple of typos on the title of the email. > > It was reported that gambas.sourgeforce.net had fake links > when it should have been gambas.sourceforge.net > > The first URL only has a generic landing page (thus the "fake" links) > > > On Fri, Dec 4, 2015 at 1:00 PM, Beno?t Minisini < > gambas at ...1...> wrote: > >> Le 04/12/2015 20:53, PICCORO McKAY Lenz a ?crit : >> > umm the compiled program itself its a cgi ? >> > >> > the gb.web.form its a great feature!!!!!! >> > Lenz McKAY Gerardo (PICCORO) >> > http://qgqlochekone.blogspot.com >> > >> >> Yes. >> >> And when you check the 'gb.httpd' component, it becomes an autonomous >> web server with your project embedded as a CGI script inside. I.e. one >> Gambas program that you just have to run as a global service on your >> server. >> >> This is what is used by the IDE by default when you debug it. >> >> Regards, >> >> -- >> Beno?t Minisini >> >> >> ------------------------------------------------------------------------------ >> Go from Idea to Many App Stores Faster with Intel(R) XDK >> Give your users amazing mobile app experiences with Intel(R) XDK. >> Use one codebase in this all-in-one HTML5 development environment. >> Design, debug & build mobile apps & 2D/3D high-impact games for multiple >> OSs. >> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple > OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From gambas at ...1... Sun Dec 6 15:21:09 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 6 Dec 2015 15:21:09 +0100 Subject: [Gambas-user] New gb.web.form component In-Reply-To: References: <56417044.601@...1...> <04cb0bd63439d3cd0544bdfaf47907e1@...3488...> <565B6D90.7010907@...1...> <441d2ebb7bf66a23e822edb09a789f73@...3488...> Message-ID: <56644455.6070600@...1...> Le 06/12/2015 14:45, PICCORO McKAY Lenz a ?crit : > Hi Benoit and others.. there's many things here that must be take carefully > > 1) take in consideration stabilitiy in words of changes of the web > sites/apps, everyday are changing and the browsers force that! the > app, javascript, ajax, and those stupids that forces developers to > change and change anc change on all the new day always change also.. > > This can broke the forwad compatibility o gambas, remenber any older > gambas app in series will compile in nwe version, example my APP-3.4.0 > can be build in gambas 3.8.3 and runs without change, THAT ITS NOT IN > THE WEB DEVELOPEMNT wordl! > > A thing that gambas have its the consistency in development word, > aditions and aditions but nothing break the things made in the past! > In the web development word that's its not! > > 2) due the firts fact, the development of that will take more thant > xpected, so a idea can be separate the project!, BUT this will means > more workload for manpowers and for Benoit! Please don't take things too much emotionally. I suggest that you look deeply in the gb.web.form component and understand how it works concretely. As I have already said, the browser is used a bit like a graphical terminal. So if it decides not to be backward-compatible, Gambas cannot do much against that. Exactly like with QT or GTK+. > > > AND NOW SOME NOTES: >> create an application entirely in javascript that will be run inside the >> browser (like Google docs for example). > i dont like, due today the web apps take tooo much cpu process, due > that! also on every day changes and the browsers change and the users > never have peace, always pending "update" the browser! > SO THIS WIL IMPACT IN THE GUI? and in gambas gui of web component? > so obviously this will impact in the development and benoit time dedication! > > CGI IMPORTANT NOTE >> Do understand that the web application is a CGI script that must build > .... >> application. It has performance impact. > > I improved that, runnig multiple gci apps and interacting between > cgi's, the performan problem gone! of course u must programing better > logic beetween projects/apps Please make an effort to make your english more readable. It takes some brain power to put the letters back in order. And then I even don't understand what you are talking about exactly... Anyway, thanks for your interest on gb.web.form! Regards, -- Beno?t Minisini From bugtracker at ...3416... Sun Dec 6 15:21:42 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 06 Dec 2015 14:21:42 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #859: Report preview, caption label use English In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.859&from=L21haW4- Comment #2 by gbWilly GAMBOS: In Dutch we also use 'recto verso', it comes from Latin I presume. I guess in English it would be: 'both sides'. But English is not my mother tongue, so maybe someone native to English can confirm if this is the proper English translation. From bugtracker at ...3416... Sun Dec 6 15:36:12 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 06 Dec 2015 14:36:12 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #858: serial port implementation constants are bad and uncompleted!/miscdocumented! In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.858&from=L21haW4- Comment #10 by gbWilly GAMBOS: So, is everything as expected now for you? Does the code do what the documentation says? In short, can the bug be closed? From mckaygerhard at ...626... Sun Dec 6 16:14:08 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sun, 6 Dec 2015 10:44:08 -0430 Subject: [Gambas-user] running IDE with Qt5 In-Reply-To: <5663F240.7040106@...1...> References: <56604D51.3080009@...1...> <5660ABB1.7070607@...1...> <5663F240.7040106@...1...> Message-ID: on that cases then the distribution mut handle with the problem.. must be a system wide qt main executable like in debian that points to the main qt env by exmple in debian qmake points to qmake-qt4 until squeeze and in wheeze points to qmake-qt5 swo then using a system like that the mantainer must setup a code in the ide and detects the qt main enviroment and lauch the proper component its suppost that linux users are not "M$" users and must know what are doing, like configure & make & make install ....that's the true! so its suppost that in the "automatic case" of distribution the "wrapper" must be handle by the mantainer, on the other cases, like u done, users will ask to upstream developers and ask how to lauch with "X" environment! 2015-12-06 4:00 GMT-04:30, Beno?t Minisini : > Le 06/12/2015 04:24, Ian Haywood a ?crit : >> On Sun, Dec 6, 2015 at 11:03 AM, PICCORO McKAY Lenz >> wrote: >>> set a env variable to QT5 and that's all, of course, all the >>> components in qt5 framework must be set, packages made for some >>> disributions may have some misc but works in general lines >> when packaging for a distro the interpreter should work "out of the >> box", users should be >> able to type "gambas3" or launch form the menus, not "GB_GUI=QT5 gambas3" >> >> One solution is to have a wrapper shell script that sets the variable >> Easier IMHO is to patch main/lib/gui.qt/main.c to prefer qt5 over qt4 >> which is probably what Debian will end up doing. >> >> Ian >> > > gambas3 is not the interpreter, it's the IDE. > > Maybe the solution is making the gb.gui.qt component clever. > > I mean, if a project needs both gb.gui.qt and gb.gui.qt.webkit, it must > check both to choose between QT4 ot QT5, not just gb.gui.qt. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple > OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From bugtracker at ...3416... Mon Dec 7 00:10:23 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 06 Dec 2015 23:10:23 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #854: IDE Crash when "Double Click" the Publish button on Publis Software Dialog In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.854&from=L21haW4- Comment #3 by Zainudin AHMAD: (Part 2) Reproduce the bug : - open gambas3 project - open file FFarmRequest.class - (attach pic-2) # add break point at line 17 and 24 (me.showModal and me.close) # run, open any project and click publish button # when break at line 17 (me.showModal) wait until 10 second (less than 20 second), click run and click run(when break at me.close) - I get message segmentation fault (attach pic-1) I don't have any Idea(for reproduce the bug) after this. From bugtracker at ...3416... Mon Dec 7 00:10:42 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 06 Dec 2015 23:10:42 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #854: IDE Crash when "Double Click" the Publish button on Publis Software Dialog In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.854&from=L21haW4- Zainudin AHMAD added an attachment: pic-2.png From bugtracker at ...3416... Mon Dec 7 00:10:55 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 06 Dec 2015 23:10:55 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #854: IDE Crash when "Double Click" the Publish button on Publis Software Dialog In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.854&from=L21haW4- Zainudin AHMAD added an attachment: pic-1.png From fgores at ...174... Mon Dec 7 10:32:18 2015 From: fgores at ...174... (Frank) Date: Mon, 7 Dec 2015 10:32:18 +0100 Subject: [Gambas-user] gb.report In-Reply-To: References: <565EBD47.3090107@...174...> Message-ID: <56655222.6030303@...174...> with following code I open the .preview() to see how the Report looks like for printing: report1 = New Rptrechnung report1.Preview() if the Report is written right, all elements and text should be visible. the Reportview has a few buttons left below to show the Report in Preview partially, full screen etc....is that what you mean? Frank Op 05-12-15 om 01:24 schreef Buster Seven: > Tanks Frank Just what i needed. > One more question when displaying a report in reportview component how do > scale the report down to fit the reportview? > > thanks shane > > On Wed, Dec 2, 2015 at 8:43 PM, Frank wrote: > >> this is how I did it: >> >> Public Sub savepdf() >> >> Dim path As String >> Dim hReport1 As New Rpt >> Dim hprinter As New Printer >> >> path = "/home/me/Gambas/projecten/project/" & name & ".pdf" >> >> hprinter.Orientation = Printer.Portrait >> hprinter.Resolution = Desktop.Resolution >> hprinter.Paper = Printer.A4 >> hprinter.OutputFile = path >> hReport1.Print(hprinter) >> >> Message.Info("something is saved") >> >> End >> >> >> brgds, >> >> Frank >> >> Op 02-12-15 om 10:37 schreef Fabien Bodard: >>> Do you use gb.report or gb.report2 ? >>> Le 2 d?c. 2015 04:52, "Buster Seven" a ?crit : >>> >>>> i'm using gb.report and I would like to save a pdf file automatically >>>> generated from my program without out user input ! is this possible? >>>> >>>> >>>> thanks Shane >>>> >>>> >> ------------------------------------------------------------------------------ >>>> Go from Idea to Many App Stores Faster with Intel(R) XDK >>>> Give your users amazing mobile app experiences with Intel(R) XDK. >>>> Use one codebase in this all-in-one HTML5 development environment. >>>> Design, debug & build mobile apps & 2D/3D high-impact games for multiple >>>> OSs. >>>> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> >> ------------------------------------------------------------------------------ >>> Go from Idea to Many App Stores Faster with Intel(R) XDK >>> Give your users amazing mobile app experiences with Intel(R) XDK. >>> Use one codebase in this all-in-one HTML5 development environment. >>> Design, debug & build mobile apps & 2D/3D high-impact games for multiple >> OSs. >>> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> ------------------------------------------------------------------------------ >> Go from Idea to Many App Stores Faster with Intel(R) XDK >> Give your users amazing mobile app experiences with Intel(R) XDK. >> Use one codebase in this all-in-one HTML5 development environment. >> Design, debug & build mobile apps & 2D/3D high-impact games for multiple >> OSs. >> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From eilert-sprachen at ...221... Mon Dec 7 10:43:02 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 07 Dec 2015 10:43:02 +0100 Subject: [Gambas-user] Gambas IDE slows down to standstill on terminal server In-Reply-To: <56604C40.4010503@...1...> References: <565FF3D8.4050907@...221...> <565FFB76.3090302@...221...> <56604C40.4010503@...1...> Message-ID: <566554A6.7050804@...221...> Am 03.12.2015 15:05, schrieb Beno?t Minisini: > Le 03/12/2015 09:21, Rolf-Werner Eilert a ?crit : >> Am 03.12.2015 08:48, schrieb Rolf-Werner Eilert: >>> On my terminal server in the office, after having open Gambas IDE for >>> some hours, suddenly the IDE will slow down to nearly standstill. This >>> is reproducable, though I cannot know when it happens. Seems to come >>> faster when I work a lot in the editor. After a minute or so, even mouse >>> events on the whole screen are slowing down, and I had it twice that I >>> had to go to the server room and log in from there and kill gbr3 from >>> the command line to regain access to my terminal. >>> >>> This seems to have to do with the optimazation Benoit has made, see our >>> conversation on the X server. There seems to be some kind of >>> accumulation which stuffs the RAM in my terminal until it starts swapping. >>> >>> I found that killing Firefox at the same time helps the terminal to come >>> back faster, but with a bit of patience I could do without this measure. >>> >>> Although I really don't know if it makes sense to "re-optimize" the IDE >>> for terminal servers (this will be a rare case of usage), I found it >>> worthwhile to mention. >>> >>> Benoit, instead of an automatic switch, would it make sense to provide >>> for a manual override of this feature, e. g. by command line or some >>> option in the .rc file? The few people who are using the IDE on a >>> terminal server might profit from it. (But if this means taking care of >>> a lot of different places in code, I wouldn't bother you with it.) >>> >>> Regards >>> Rolf >>> >>> >> Let me quickly add this: I just remembered that about 2 weeks ago, I >> designed a very wide dialog window. In the IDE, the dialog window would >> disappear under the properties palette, so I had to slide the window >> right-left many times. Switching back and forth from the editor, this >> would stop the IDE several times a day. This was the reason for me to >> start the discussion with you, Benoit. >> >> So it seems to have to do not only with the editor, but maybe a >> combination of graphical IDE and editor. Or the IDE as a whole. >> Meanwhile I have worked a lot in some modules, so no graphics, and >> sometimes I had to let the IDE stand and wait. Even then the error >> eventually occured, but later. >> >> Rolf >> > Do you run the IDE with QT5 or QT4? QT4 is far more terminal-server > friendly than QT5 that uses image buffers everywhere to prevent tearing. > Maybe there is a QT env variable to disable that, I don't know... > Well, it should be a mixture of QT3 and QT4. KDE 3 is the window manager I'm using, but KDE4 is installed as a default on this machine. Regards Rolf From eilert-sprachen at ...221... Mon Dec 7 10:52:03 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 07 Dec 2015 10:52:03 +0100 Subject: [Gambas-user] Gambas IDE slows down to standstill on terminal server In-Reply-To: <56604BF3.9000405@...1...> References: <565FF3D8.4050907@...221...> <56604BF3.9000405@...1...> Message-ID: <566556C3.3010909@...221...> Am 03.12.2015 15:04, schrieb Beno?t Minisini: > Le 03/12/2015 08:48, Rolf-Werner Eilert a ?crit : >> On my terminal server in the office, after having open Gambas IDE for >> some hours, suddenly the IDE will slow down to nearly standstill. This >> is reproducable, though I cannot know when it happens. Seems to come >> faster when I work a lot in the editor. After a minute or so, even mouse >> events on the whole screen are slowing down, and I had it twice that I >> had to go to the server room and log in from there and kill gbr3 from >> the command line to regain access to my terminal. >> >> This seems to have to do with the optimazation Benoit has made, see our >> conversation on the X server. There seems to be some kind of >> accumulation which stuffs the RAM in my terminal until it starts swapping. > I will check, but normally, if a terminal server is detected (i.e. if > DISPLAY does not begins with ":"), then all image caches are disabled. > What's the value of DISPLAY on your X11 client (i.e. your server)? > who says ":0/ws041" echo $DISPLAY says "ws041:0" So if you ask $DISPLAY, your logic should work correctly. Regards Rolf From bugtracker at ...3416... Mon Dec 7 20:10:39 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 07 Dec 2015 19:10:39 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #858: serial port implementation constants are bad and uncompleted!/miscdocumented! In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.858&from=L21haW4- Comment #11 by PICCORO LENZ MCKAY: the bug can be closed when that notes and clarification goes also with comments on the serial module, due that module no have dedicated mantainer must be documented inside also! This will help future manpowers and also clarify due the misctakes was due the code in module itseflt! From buster6seven at ...626... Tue Dec 8 00:46:52 2015 From: buster6seven at ...626... (Buster Seven) Date: Tue, 8 Dec 2015 10:46:52 +1100 Subject: [Gambas-user] gb.report In-Reply-To: <56655222.6030303@...174...> References: <565EBD47.3090107@...174...> <56655222.6030303@...174...> Message-ID: I?m trying to use the reportview component that i add to a form and then display my report without using the preview basically my own preview form with the buttons on it to do what i want before it printed etc On Mon, Dec 7, 2015 at 8:32 PM, Frank wrote: > with following code I open the .preview() to see how the Report looks like > for printing: > > report1 = New Rptrechnung > report1.Preview() > > if the Report is written right, all elements and text should be visible. > the Reportview has a few buttons left below to show the Report in Preview > partially, full screen etc....is that what you mean? > > Frank > > > Op 05-12-15 om 01:24 schreef Buster Seven: > > Tanks Frank Just what i needed. > > One more question when displaying a report in reportview component how do > > scale the report down to fit the reportview? > > > > thanks shane > > > > On Wed, Dec 2, 2015 at 8:43 PM, Frank wrote: > > > >> this is how I did it: > >> > >> Public Sub savepdf() > >> > >> Dim path As String > >> Dim hReport1 As New Rpt > >> Dim hprinter As New Printer > >> > >> path = "/home/me/Gambas/projecten/project/" & name & ".pdf" > >> > >> hprinter.Orientation = Printer.Portrait > >> hprinter.Resolution = Desktop.Resolution > >> hprinter.Paper = Printer.A4 > >> hprinter.OutputFile = path > >> hReport1.Print(hprinter) > >> > >> Message.Info("something is saved") > >> > >> End > >> > >> > >> brgds, > >> > >> Frank > >> > >> Op 02-12-15 om 10:37 schreef Fabien Bodard: > >>> Do you use gb.report or gb.report2 ? > >>> Le 2 d?c. 2015 04:52, "Buster Seven" a ?crit > : > >>> > >>>> i'm using gb.report and I would like to save a pdf file automatically > >>>> generated from my program without out user input ! is this possible? > >>>> > >>>> > >>>> thanks Shane > >>>> > >>>> > >> > ------------------------------------------------------------------------------ > >>>> Go from Idea to Many App Stores Faster with Intel(R) XDK > >>>> Give your users amazing mobile app experiences with Intel(R) XDK. > >>>> Use one codebase in this all-in-one HTML5 development environment. > >>>> Design, debug & build mobile apps & 2D/3D high-impact games for > multiple > >>>> OSs. > >>>> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > >>>> _______________________________________________ > >>>> Gambas-user mailing list > >>>> Gambas-user at lists.sourceforge.net > >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>>> > >> > ------------------------------------------------------------------------------ > >>> Go from Idea to Many App Stores Faster with Intel(R) XDK > >>> Give your users amazing mobile app experiences with Intel(R) XDK. > >>> Use one codebase in this all-in-one HTML5 development environment. > >>> Design, debug & build mobile apps & 2D/3D high-impact games for > multiple > >> OSs. > >>> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > >>> _______________________________________________ > >>> Gambas-user mailing list > >>> Gambas-user at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> > >> > ------------------------------------------------------------------------------ > >> Go from Idea to Many App Stores Faster with Intel(R) XDK > >> Give your users amazing mobile app experiences with Intel(R) XDK. > >> Use one codebase in this all-in-one HTML5 development environment. > >> Design, debug & build mobile apps & 2D/3D high-impact games for multiple > >> OSs. > >> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > ------------------------------------------------------------------------------ > > Go from Idea to Many App Stores Faster with Intel(R) XDK > > Give your users amazing mobile app experiences with Intel(R) XDK. > > Use one codebase in this all-in-one HTML5 development environment. > > Design, debug & build mobile apps & 2D/3D high-impact games for multiple > OSs. > > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple > OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Tue Dec 8 08:02:39 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 08 Dec 2015 07:02:39 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #862: Database Manager, Query editor can't select text with mouse anymore Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.862&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- Database Manager, Query editor can't select text with mouse anymore Type : Bug Priority : Low Gambas version : 3.8.90 (TRUNK) Product : Development Environment Description ----------- Query editor(attach pic-1) can't select text with mouse anymore. it's fine with Gambas 3.7.1 version ---------------------------------- Don't know why when I was commented this code : (attach pic-test) hEditor.Background = hEditor.Styles[Highlight.Background].Color in MTheme module it's seems works, this bug from TextEditor ?? (I have try but I can't isolate with a small project) System information ------------------ [System] Gambas=3.8.90 r7502 OperatingSystem=Linux Kernel=3.2.0-88-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=LXDE Theme=Gtk Language=en_US.UTF-8 Memory=494M [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.7.0 GTK+2=libgtk-x11-2.0.so.0.2400.10 GTK+3=libgtk-3.so.0.400.2 OpenGL=libGL.so.96.43.23 Poppler=libpoppler.so.19.0.0 QT4=libQtCore.so.4.8.1 QT5=libQt5Core.so.5.0.2 SDL=libSDL-1.2.so.0.11.3 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-qxX84QfyAf,guid=c50be0e170e2c96c320721f70000025a DEFAULTS_PATH=/usr/share/gconf/Lubuntu.default.path DESKTOP_SESSION=Lubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=Lubuntu GNOME_KEYRING_CONTROL=/tmp/keyring-1alo8Z GNOME_KEYRING_PID=1761 HOME= LANG=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/Lubuntu.mandatory.path PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PWD= SAL_USE_VCLPLUGIN=gtk SHELL=/bin/bash SSH_AGENT_PID=1752 SSH_AUTH_SOCK=/tmp/keyring-1alo8Z/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/lubuntu/:/etc/xdg/xdg-Lubuntu:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXDE XDG_DATA_DIRS=/etc/xdg/lubuntu:/usr/share/Lubuntu:/usr/local/share/:/usr/share/:/usr/share:/usr/share/gdm:/var/lib/menu-xdg XDG_MENU_PREFIX=lxde- XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_COOKIE=2d9710af0959f6893eb828f100000008-1449307825.422177-2070282672 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 _LXSESSION_PID=1722 From bugtracker at ...3416... Tue Dec 8 08:02:50 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 08 Dec 2015 07:02:50 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #862: Database Manager, Query editor can't select text with mouse anymore In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.862&from=L21haW4- Zainudin AHMAD added an attachment: pic-1.png From bugtracker at ...3416... Tue Dec 8 08:03:03 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 08 Dec 2015 07:03:03 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #862: Database Manager, Query editor can't select text with mouse anymore In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.862&from=L21haW4- Zainudin AHMAD added an attachment: pic-test.png From gambas.fr at ...626... Tue Dec 8 11:42:46 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 8 Dec 2015 11:42:46 +0100 Subject: [Gambas-user] gb.report In-Reply-To: References: <565EBD47.3090107@...174...> <56655222.6030303@...174...> Message-ID: 2015-12-08 0:46 GMT+01:00 Buster Seven : > I?m trying to use the reportview component that i add to a form and then > display my report without using the preview basically > my own preview form with the buttons on it to do what i want before it > printed etc OKay so you have two solution. You can use the reportview widget. Provided by the gb.report2 component. ReportView.Report = hReport Or more hard... you can enforce the report.draw in a drawing area. hReport.scale = 0.5 hreport.Draw(Page) hreport.Scale = 1.0 Get the report size in pixel ? Report.UnitTo(TSizeParse[MyReport.Width].ToInch(), "in", "px") Report.UnitTo(TSizeParse[MyReport.Height].ToInch(), "in", "px") This size depend of the device. By default the desktop one. In fact i've splitted the viewer in 3 part : DocumentView -> ReportView -> FPreview So ReportView is a composite widget that contain a DocumentView and adapt it to the reports specificities. DocumentView is a widget that provide the bases to display images in a multipage documents style, like a pdfviewer or a print preview. It allow to arrange elements in different mode by using the Arrangement property and the column one. To play with it just set the DocumentView.Count property, and the PageHeight/PageWidth. I really need to make the doc. You can also manage the padding arround and the spacing. You can set the layout of each page in the Layout event. Like often with me... powerfull but undocumented From gambas.fr at ...626... Tue Dec 8 11:49:35 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 8 Dec 2015 11:49:35 +0100 Subject: [Gambas-user] gb.report In-Reply-To: References: <565EBD47.3090107@...174...> <56655222.6030303@...174...> Message-ID: You can see an example in the farm ... search : "DocumentView" 2015-12-08 11:42 GMT+01:00 Fabien Bodard : > 2015-12-08 0:46 GMT+01:00 Buster Seven : >> I?m trying to use the reportview component that i add to a form and then >> display my report without using the preview basically >> my own preview form with the buttons on it to do what i want before it >> printed etc > > OKay > > so you have two solution. > > You can use the reportview widget. Provided by the gb.report2 component. > ReportView.Report = hReport > > Or more hard... > > you can enforce the report.draw in a drawing area. > > hReport.scale = 0.5 > hreport.Draw(Page) > hreport.Scale = 1.0 > > Get the report size in pixel ? > > Report.UnitTo(TSizeParse[MyReport.Width].ToInch(), "in", "px") > Report.UnitTo(TSizeParse[MyReport.Height].ToInch(), "in", "px") > > This size depend of the device. > By default the desktop one. > > > In fact i've splitted the viewer in 3 part : > > DocumentView -> ReportView -> FPreview > > So ReportView is a composite widget that contain a DocumentView and > adapt it to the reports specificities. > > DocumentView is a widget that provide the bases to display images in a > multipage documents style, like a pdfviewer or a print preview. > > It allow to arrange elements in different mode by using the > Arrangement property and the column one. > > To play with it just set the DocumentView.Count property, and the > PageHeight/PageWidth. > > I really need to make the doc. > > You can also manage the padding arround and the spacing. > > You can set the layout of each page in the Layout event. > > Like often with me... powerfull but undocumented -- Fabien Bodard From buster6seven at ...626... Tue Dec 8 13:14:01 2015 From: buster6seven at ...626... (Buster Seven) Date: Tue, 8 Dec 2015 23:14:01 +1100 Subject: [Gambas-user] gb.report In-Reply-To: References: <565EBD47.3090107@...174...> <56655222.6030303@...174...> Message-ID: but i can't work out how to load the report into the document view? On Tue, Dec 8, 2015 at 9:49 PM, Fabien Bodard wrote: > You can see an example in the farm ... search : "DocumentView" > > 2015-12-08 11:42 GMT+01:00 Fabien Bodard : > > 2015-12-08 0:46 GMT+01:00 Buster Seven : > >> I?m trying to use the reportview component that i add to a form and then > >> display my report without using the preview basically > >> my own preview form with the buttons on it to do what i want before it > >> printed etc > > > > OKay > > > > so you have two solution. > > > > You can use the reportview widget. Provided by the gb.report2 component. > > ReportView.Report = hReport > > > > Or more hard... > > > > you can enforce the report.draw in a drawing area. > > > > hReport.scale = 0.5 > > hreport.Draw(Page) > > hreport.Scale = 1.0 > > > > Get the report size in pixel ? > > > > Report.UnitTo(TSizeParse[MyReport.Width].ToInch(), "in", "px") > > Report.UnitTo(TSizeParse[MyReport.Height].ToInch(), "in", "px") > > > > This size depend of the device. > > By default the desktop one. > > > > > > In fact i've splitted the viewer in 3 part : > > > > DocumentView -> ReportView -> FPreview > > > > So ReportView is a composite widget that contain a DocumentView and > > adapt it to the reports specificities. > > > > DocumentView is a widget that provide the bases to display images in a > > multipage documents style, like a pdfviewer or a print preview. > > > > It allow to arrange elements in different mode by using the > > Arrangement property and the column one. > > > > To play with it just set the DocumentView.Count property, and the > > PageHeight/PageWidth. > > > > I really need to make the doc. > > > > You can also manage the padding arround and the spacing. > > > > You can set the layout of each page in the Layout event. > > > > Like often with me... powerfull but undocumented > > > > -- > Fabien Bodard > > > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple > OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Tue Dec 8 13:39:11 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 08 Dec 2015 12:39:11 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #829: Unable to Insert Time value in postgresql database In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.829&from=L21haW4- Comment #8 by Safiur RAHMAN: Yes it works now. Thanks From bugtracker at ...3416... Tue Dec 8 13:47:44 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 08 Dec 2015 12:47:44 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #829: Unable to Insert Time value in postgresql database In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.829&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Tue Dec 8 14:37:26 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 08 Dec 2015 13:37:26 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #863: [gb.report2] $NPAGE always result 2 in a first time when report preview appeared Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.863&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- [gb.report2] $NPAGE always result 2 in a first time when report preview appeared Type : Bug Priority : Low Gambas version : 3.8.90 (TRUNK) Product : GUI components Description ----------- $NPAGE always result 2 in a "first time" when report preview appeared. (attach pic-1) System information ------------------ [System] Gambas=3.8.90 r7502 OperatingSystem=Linux Kernel=3.2.0-88-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=LXDE Theme=Gtk Language=en_US.UTF-8 Memory=494M [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.7.0 GTK+2=libgtk-x11-2.0.so.0.2400.10 GTK+3=libgtk-3.so.0.400.2 OpenGL=libGL.so.96.43.23 Poppler=libpoppler.so.19.0.0 QT4=libQtCore.so.4.8.1 QT5=libQt5Core.so.5.0.2 SDL=libSDL-1.2.so.0.11.3 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-qxX84QfyAf,guid=c50be0e170e2c96c320721f70000025a DEFAULTS_PATH=/usr/share/gconf/Lubuntu.default.path DESKTOP_SESSION=Lubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=Lubuntu GNOME_KEYRING_CONTROL=/tmp/keyring-1alo8Z GNOME_KEYRING_PID=1761 HOME= LANG=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/Lubuntu.mandatory.path PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PWD= SAL_USE_VCLPLUGIN=gtk SHELL=/bin/bash SSH_AGENT_PID=1752 SSH_AUTH_SOCK=/tmp/keyring-1alo8Z/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/lubuntu/:/etc/xdg/xdg-Lubuntu:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXDE XDG_DATA_DIRS=/etc/xdg/lubuntu:/usr/share/Lubuntu:/usr/local/share/:/usr/share/:/usr/share:/usr/share/gdm:/var/lib/menu-xdg XDG_MENU_PREFIX=lxde- XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_COOKIE=2d9710af0959f6893eb828f100000008-1449307825.422177-2070282672 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 _LXSESSION_PID=1722 From bugtracker at ...3416... Tue Dec 8 14:37:38 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 08 Dec 2015 13:37:38 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #863: [gb.report2] $NPAGE always result 2 in a first time when report preview appeared In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.863&from=L21haW4- Zainudin AHMAD added an attachment: pic-1.png From bugtracker at ...3416... Tue Dec 8 15:13:52 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 08 Dec 2015 14:13:52 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #859: Report preview, caption label use English In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.859&from=L21haW4- Comment #3 by Zainudin AHMAD: I don't know the best word, may be this link can help : http://en.bab.la/dictionary/french-english/recto-verso http://www.linguee.com/french-english/translation/recto+verso.html From eilert-sprachen at ...221... Tue Dec 8 16:09:14 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 08 Dec 2015 16:09:14 +0100 Subject: [Gambas-user] R: Fitting RichtText into several limited areas In-Reply-To: References: <1272248329.25009392.1449227111175.JavaMail.yahoo.ref@...3424...> <1272248329.25009392.1449227111175.JavaMail.yahoo@...3424...> <5661814C.5060104@...221...> Message-ID: <5666F29A.9010701@...221...> Thank you very much for this code. It shows me some tricks I wasn't aware of, and I could understand how you would "measure" the point where to cut the text to spread it on several boxes. But there is one thing this code does not consider, and that is the way tagged text is interpreted. As an example, you gave me this paragraph:

'if it stopped drawing at 70 mm

Paint.DrawRichText(sRtext, x1, y1, width, frameLength) Paint.DrawRichText(RSTring.Mid(sRtext, RichTextLength(sRtext, frameLength) + 1, x2, y2, W, frameLength) Now, just try to delete the closing tag and set it at the end of the paragraph. The second half of the paragraph lands in the next box, but you will see that (of course) the text is continued in default style there. When you use a file from a RichTextArea, there will be a complete structure of XML, including header, spans, tags etc. You cannot simply cut in between - that would destroy it. Instead, one solution might be to see it like an XML structure of data, and interpret the strings of text only alongside the printed result like you did. When you have to cut such a string, you will have to build up a complete new XML structure with headers and leading tags, but beginning with the formats for this string and with the new part-string. In short: blah This is a first paragraph in bold

and very large

Now, if you cut before the "very large" string, you will have to make a new text with blah

very large

to let this part appear the same way in the new box. So if your algorithm says "a new box has to start in the middle of string 'very large'", you will have to reconstruct all formats and tags for this part of the text plus header etc. and cut it there and place the rest into a new complete XML structure. Your code helps a lot here, but it's unfortunately only half way. Regards Rolf Am 05.12.2015 11:10, schrieb Fabien Bodard: > re OOpps, I've just see i've forgotten to manage when one line not fit > in the area. > > 2015-12-05 11:04 GMT+01:00 Fabien Bodard : >> Hoops an insidious bug . >> >> 2015-12-05 10:19 GMT+01:00 Fabien Bodard : >>> So this is my two cents. It's not optimized i should do better if i've >>> time. I will use something like this in a near time for reportLabels. >>> >>> Regards >>> -- >>> Fabien Bodard >>> >>> 2015-12-04 13:04 GMT+01:00 Rolf-Werner Eilert : >>>> I don't think so, because it describes the wideth of a single line of >>>> richtext. >>>> >>>> Paint.Richtext or Paint.DrawRichtext accept a Height for the textframe, >>>> but it is practically unused. The function goes on drawing beyond this >>>> point. This is where you would have to start helping. >>>> >>>> Let's see what would be necessary to do what I was looking for, >>>> something pseudo code: >>>> >>>> frameLength = 70 'mm >>>> >>>> sRtext = File.Load("myrichtext") >>>> >>>> If Paint.RichTextHeight(sRtext) > frameLength Then >>>> >>>> 'if it stopped drawing at 70 mm >>>> Paint.DrawRichText(sRtext, x1, y1, width, frameLength) >>>> Paint.DrawRichText(RSTring.Mid(sRtext, RichTextLength(sRtext, >>>> frameLength) + 1, x2, y2, W, frameLength) >>>> >>>> 'like it is now, not stopping, with special cutting function >>>> Paint.DrawRichText(RString.Left(sRtext, RichTextLength(sRtext, >>>> frameLength)), x1, y1, W, frameLength) >>>> Paint.DrawRichText(RString.Mid(sRtext, RichTextLength(sRtext, >>>> frameLength) + 1, x2, y2, W, frameLength) >>>> >>>> Else >>>> >>>> Paint.DrawRichText(sRtext, x1, y1, width, frameLength) >>>> >>>> Endif >>>> >>>> >>>> So, this is just phantasy, but does it make it clearer? A class RString >>>> would be needed, and a function that finds the position of the last >>>> printable character in a RichText of given width. But I know, catenating >>>> of these tagged strings would mean interpreting them, it's rather tricky... >>>> >>>> Regards >>>> Rolf >>>> >>>> >>>> Am 04.12.2015 12:05, schrieb Ru Vuott: >>>>> Hello, >>>>> >>>>> ...could .Font.RichTextWidth() function help you ? >>>>> >>>>> vuott >>>>> >>>>> >>>>> >>>>> -------------------------------------------- >>>>> Ven 4/12/15, Rolf-Werner Eilert ha scritto: >>>>> >>>>> Oggetto: [Gambas-user] Fitting RichtText into several limited areas >>>>> A: "mailing list for gambas users" >>>>> Data: Venerd? 4 dicembre 2015, 10:01 >>>>> >>>>> Can I somehow predict where a >>>>> RichText will be too long for a box of >>>>> text on a page, then cut it there, and let the rest flow >>>>> into another box? >>>>> >>>>> You all know this from DTP programs: you have several text >>>>> frames, and >>>>> text is running on from one frame into the next if too >>>>> long. >>>>> >>>>> I guess this isn't possible because there seems to be no >>>>> intelligent >>>>> helper function that can handle RichText strings like e. g. >>>>> UTF-8 >>>>> strings are handled in contrary to ASCII strings. As far as >>>>> I can see, >>>>> RichText is simply a UTF-8 string containing a lot of XML >>>>> tags. A >>>>> special Left, Mid or Right function would have to >>>>> reconstruct these tags >>>>> for the other part of the string to keep the tags >>>>> functionable. >>>>> >>>>> A workaround would be to extract the pure text and store the >>>>> tagged >>>>> values somewhere else until the text has been cut apart. But >>>>> it would >>>>> make the whole automatic in RichText senseless. >>>>> >>>>> But maybe I just didn't find this functionality? >>>>> >>>>> Regards >>>>> Rolf >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Go from Idea to Many App Stores Faster with Intel(R) XDK >>>>> Give your users amazing mobile app experiences with Intel(R) >>>>> XDK. >>>>> Use one codebase in this all-in-one HTML5 development >>>>> environment. >>>>> Design, debug & build mobile apps & 2D/3D >>>>> high-impact games for multiple OSs. >>>>> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 >>>>> _______________________________________________ >>>>> Gambas-user mailing list >>>>> Gambas-user at lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Go from Idea to Many App Stores Faster with Intel(R) XDK >>>> Give your users amazing mobile app experiences with Intel(R) XDK. >>>> Use one codebase in this all-in-one HTML5 development environment. >>>> Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. >>>> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >>> >>> -- >>> Fabien Bodard >> >> >> -- >> Fabien Bodard > > > > > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From mckaygerhard at ...626... Tue Dec 8 18:21:25 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Tue, 8 Dec 2015 12:51:25 -0430 Subject: [Gambas-user] bugtracker need login for only see bugs Message-ID: i noted that i cannot refers a bug of the bugtracker of gambas, of course noted that already all bugs are reported to the maillist, but its difficult to indexing and refers those mails are there a way to access to bugtracker without a login? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From bugtracker at ...3416... Tue Dec 8 20:18:14 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 08 Dec 2015 19:18:14 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #864: Publish to Farm created new entry instead of updating the old one. Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.864&from=L21haW4- Moviga TECHNOLOGIES reported a new bug. Summary ------- Publish to Farm created new entry instead of updating the old one. Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Development Environment Description ----------- When publish VerticalProgressbar to the Farm, it created a new entry instead of updating the old one... System information ------------------ [System] Gambas=3.8.90 r7312 OperatingSystem=Linux Kernel=4.1.6-1-ARCH Architecture=x86_64 Distribution=arch Desktop=KDE5 Theme=Proxy Language=nb_NO.UTF-8 Memory=9901M [Libraries] Cairo=libcairo.so.2.11400.2 Curl=libcurl.so.4.2.0 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.3 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.405.0 GTK+2=libgtk-x11-2.0.so.0.2400.28 GTK+3=libgtk-3.so.0.1600.6 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.52.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.0 SDL=libSDL-1.2.so.0.11.4 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-7rvPN8rlRD,guid=75534cfdb433e848ad9f896a55f965a8 DESKTOP_SESSION=plasma DISPLAY=:0 GB_GUI=gb.qt5 GS_LIB=/.fonts GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/.gtkrc-2.0:/.config/gtkrc-2.0 GTK_MODULES=canberra-gtk-module GTK_RC_FILES=/etc/gtk/gtkrc:/.gtkrc:/.config/gtkrc HOME= KDE_FULL_SESSION=true KDE_MULTIHEAD=false KDE_SESSION_UID=1000 KDE_SESSION_VERSION=5 LANG=nb_NO.UTF-8 LANGUAGE=nb LOGNAME= MAIL=/var/spool/mail/ MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins PAM_KWALLET5_LOGIN=/tmp/kwallet5_.socket PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl PWD= QT_IM_MODULE=compose QT_NO_GLIB=1 SESSION_MANAGER=local/:@/tmp/.ICE-unix/899,unix/:/tmp/.ICE-unix/899 SHELL=/bin/bash SHLVL=1 SSH_ASKPASS=/usr/bin/ksshaskpass TZ=:/etc/localtime USER= XAUTHORITY=/tmp/xauth-1000-_0 XCURSOR_SIZE=0 XCURSOR_THEME=Breeze_Snow XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=KDE XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 XDG_SESSION_TYPE=x11 XDG_VTNR=1 _=/usr/lib/kf5/start_kdeinit_wrapper From bugtracker at ...3416... Tue Dec 8 20:19:03 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 08 Dec 2015 19:19:03 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #865: Publish to Farm dialog does not remember my password Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.865&from=L21haW4- Moviga TECHNOLOGIES reported a new bug. Summary ------- Publish to Farm dialog does not remember my password Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Development Environment Description ----------- Publish to Farm dialog does not remember my password even though I tick the remember password checkbox... System information ------------------ [System] Gambas=3.8.90 r7312 OperatingSystem=Linux Kernel=4.1.6-1-ARCH Architecture=x86_64 Distribution=arch Desktop=KDE5 Theme=Proxy Language=nb_NO.UTF-8 Memory=9901M [Libraries] Cairo=libcairo.so.2.11400.2 Curl=libcurl.so.4.2.0 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.3 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.405.0 GTK+2=libgtk-x11-2.0.so.0.2400.28 GTK+3=libgtk-3.so.0.1600.6 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.52.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.0 SDL=libSDL-1.2.so.0.11.4 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-7rvPN8rlRD,guid=75534cfdb433e848ad9f896a55f965a8 DESKTOP_SESSION=plasma DISPLAY=:0 GB_GUI=gb.qt5 GS_LIB=/.fonts GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/.gtkrc-2.0:/.config/gtkrc-2.0 GTK_MODULES=canberra-gtk-module GTK_RC_FILES=/etc/gtk/gtkrc:/.gtkrc:/.config/gtkrc HOME= KDE_FULL_SESSION=true KDE_MULTIHEAD=false KDE_SESSION_UID=1000 KDE_SESSION_VERSION=5 LANG=nb_NO.UTF-8 LANGUAGE=nb LOGNAME= MAIL=/var/spool/mail/ MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins PAM_KWALLET5_LOGIN=/tmp/kwallet5_.socket PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl PWD= QT_IM_MODULE=compose QT_NO_GLIB=1 SESSION_MANAGER=local/:@/tmp/.ICE-unix/899,unix/:/tmp/.ICE-unix/899 SHELL=/bin/bash SHLVL=1 SSH_ASKPASS=/usr/bin/ksshaskpass TZ=:/etc/localtime USER= XAUTHORITY=/tmp/xauth-1000-_0 XCURSOR_SIZE=0 XCURSOR_THEME=Breeze_Snow XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=KDE XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 XDG_SESSION_TYPE=x11 XDG_VTNR=1 _=/usr/lib/kf5/start_kdeinit_wrapper From gambas.fr at ...626... Tue Dec 8 22:31:36 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 8 Dec 2015 22:31:36 +0100 Subject: [Gambas-user] gb.report In-Reply-To: References: <565EBD47.3090107@...174...> <56655222.6030303@...174...> Message-ID: hum this is an example 2015-12-08 13:14 GMT+01:00 Buster Seven : > but i can't work out how to load the report into the document view? > > > On Tue, Dec 8, 2015 at 9:49 PM, Fabien Bodard wrote: > >> You can see an example in the farm ... search : "DocumentView" >> >> 2015-12-08 11:42 GMT+01:00 Fabien Bodard : >> > 2015-12-08 0:46 GMT+01:00 Buster Seven : >> >> I?m trying to use the reportview component that i add to a form and then >> >> display my report without using the preview basically >> >> my own preview form with the buttons on it to do what i want before it >> >> printed etc >> > >> > OKay >> > >> > so you have two solution. >> > >> > You can use the reportview widget. Provided by the gb.report2 component. >> > ReportView.Report = hReport >> > >> > Or more hard... >> > >> > you can enforce the report.draw in a drawing area. >> > >> > hReport.scale = 0.5 >> > hreport.Draw(Page) >> > hreport.Scale = 1.0 >> > >> > Get the report size in pixel ? >> > >> > Report.UnitTo(TSizeParse[MyReport.Width].ToInch(), "in", "px") >> > Report.UnitTo(TSizeParse[MyReport.Height].ToInch(), "in", "px") >> > >> > This size depend of the device. >> > By default the desktop one. >> > >> > >> > In fact i've splitted the viewer in 3 part : >> > >> > DocumentView -> ReportView -> FPreview >> > >> > So ReportView is a composite widget that contain a DocumentView and >> > adapt it to the reports specificities. >> > >> > DocumentView is a widget that provide the bases to display images in a >> > multipage documents style, like a pdfviewer or a print preview. >> > >> > It allow to arrange elements in different mode by using the >> > Arrangement property and the column one. >> > >> > To play with it just set the DocumentView.Count property, and the >> > PageHeight/PageWidth. >> > >> > I really need to make the doc. >> > >> > You can also manage the padding arround and the spacing. >> > >> > You can set the layout of each page in the Layout event. >> > >> > Like often with me... powerfull but undocumented >> >> >> >> -- >> Fabien Bodard >> >> >> ------------------------------------------------------------------------------ >> Go from Idea to Many App Stores Faster with Intel(R) XDK >> Give your users amazing mobile app experiences with Intel(R) XDK. >> Use one codebase in this all-in-one HTML5 development environment. >> Design, debug & build mobile apps & 2D/3D high-impact games for multiple >> OSs. >> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: demoreport-0.0.1.tar.gz Type: application/x-gzip Size: 12009 bytes Desc: not available URL: From gambas.fr at ...626... Tue Dec 8 22:38:39 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 8 Dec 2015 22:38:39 +0100 Subject: [Gambas-user] R: Fitting RichtText into several limited areas In-Reply-To: <5666F29A.9010701@...221...> References: <1272248329.25009392.1449227111175.JavaMail.yahoo.ref@...3424...> <1272248329.25009392.1449227111175.JavaMail.yahoo@...3424...> <5661814C.5060104@...221...> <5666F29A.9010701@...221...> Message-ID: hum the rich text does not interpret such so complex things. the text line spliting must be only on the
tag. then it's true tat you can have sone tgings like mytext
the other line
and in this case you will hve a problem... to analyse this kind of case you must use the gb.xml component. it will help you to get the opened tags at the split time.then you have just to close these tags and open new ones. ... i think it will cost a lot in time... even if gb.xml is damn faster than libxml 2015-12-08 16:09 GMT+01:00 Rolf-Werner Eilert : > Thank you very much for this code. It shows me some tricks I wasn't > aware of, and I could understand how you would "measure" the point where > to cut the text to spread it on several boxes. > > But there is one thing this code does not consider, and that is the way > tagged text is interpreted. As an example, you gave me this paragraph: > >

'if it stopped drawing at 70 mm

> Paint.DrawRichText(sRtext, x1, y1, width, frameLength) > Paint.DrawRichText(RSTring.Mid(sRtext, RichTextLength(sRtext, > frameLength) + 1, x2, y2, W, frameLength) > > Now, just try to delete the closing tag and set it at the end of the > paragraph. The second half of the paragraph lands in the next box, but > you will see that (of course) the text is continued in default style there. > > When you use a file from a RichTextArea, there will be a complete > structure of XML, including header, spans, tags etc. You > cannot simply cut in between - that would destroy it. > > Instead, one solution might be to see it like an XML structure of data, > and interpret the strings of text only alongside the printed result like > you did. When you have to cut such a string, you will have to build up a > complete new XML structure with headers and leading tags, but beginning > with the formats for this string and with the new part-string. > > In short: > > > > > blah > > > This is a first paragraph in bold

and very large

> > > > Now, if you cut before the "very large" string, you will have to make a > new text with > > > > > blah > > >

very large

> > > > to let this part appear the same way in the new box. > > So if your algorithm says "a new box has to start in the middle of > string 'very large'", you will have to reconstruct all formats and tags > for this part of the text plus header etc. and cut it there and place > the rest into a new complete XML structure. Your code helps a lot here, > but it's unfortunately only half way. > > Regards > Rolf > > > Am 05.12.2015 11:10, schrieb Fabien Bodard: >> re OOpps, I've just see i've forgotten to manage when one line not fit >> in the area. >> >> 2015-12-05 11:04 GMT+01:00 Fabien Bodard : >>> Hoops an insidious bug . >>> >>> 2015-12-05 10:19 GMT+01:00 Fabien Bodard : >>>> So this is my two cents. It's not optimized i should do better if i've >>>> time. I will use something like this in a near time for reportLabels. >>>> >>>> Regards >>>> -- >>>> Fabien Bodard >>>> >>>> 2015-12-04 13:04 GMT+01:00 Rolf-Werner Eilert : >>>>> I don't think so, because it describes the wideth of a single line of >>>>> richtext. >>>>> >>>>> Paint.Richtext or Paint.DrawRichtext accept a Height for the textframe, >>>>> but it is practically unused. The function goes on drawing beyond this >>>>> point. This is where you would have to start helping. >>>>> >>>>> Let's see what would be necessary to do what I was looking for, >>>>> something pseudo code: >>>>> >>>>> frameLength = 70 'mm >>>>> >>>>> sRtext = File.Load("myrichtext") >>>>> >>>>> If Paint.RichTextHeight(sRtext) > frameLength Then >>>>> >>>>> 'if it stopped drawing at 70 mm >>>>> Paint.DrawRichText(sRtext, x1, y1, width, frameLength) >>>>> Paint.DrawRichText(RSTring.Mid(sRtext, RichTextLength(sRtext, >>>>> frameLength) + 1, x2, y2, W, frameLength) >>>>> >>>>> 'like it is now, not stopping, with special cutting function >>>>> Paint.DrawRichText(RString.Left(sRtext, RichTextLength(sRtext, >>>>> frameLength)), x1, y1, W, frameLength) >>>>> Paint.DrawRichText(RString.Mid(sRtext, RichTextLength(sRtext, >>>>> frameLength) + 1, x2, y2, W, frameLength) >>>>> >>>>> Else >>>>> >>>>> Paint.DrawRichText(sRtext, x1, y1, width, frameLength) >>>>> >>>>> Endif >>>>> >>>>> >>>>> So, this is just phantasy, but does it make it clearer? A class RString >>>>> would be needed, and a function that finds the position of the last >>>>> printable character in a RichText of given width. But I know, catenating >>>>> of these tagged strings would mean interpreting them, it's rather tricky... >>>>> >>>>> Regards >>>>> Rolf >>>>> >>>>> >>>>> Am 04.12.2015 12:05, schrieb Ru Vuott: >>>>>> Hello, >>>>>> >>>>>> ...could .Font.RichTextWidth() function help you ? >>>>>> >>>>>> vuott >>>>>> >>>>>> >>>>>> >>>>>> -------------------------------------------- >>>>>> Ven 4/12/15, Rolf-Werner Eilert ha scritto: >>>>>> >>>>>> Oggetto: [Gambas-user] Fitting RichtText into several limited areas >>>>>> A: "mailing list for gambas users" >>>>>> Data: Venerd? 4 dicembre 2015, 10:01 >>>>>> >>>>>> Can I somehow predict where a >>>>>> RichText will be too long for a box of >>>>>> text on a page, then cut it there, and let the rest flow >>>>>> into another box? >>>>>> >>>>>> You all know this from DTP programs: you have several text >>>>>> frames, and >>>>>> text is running on from one frame into the next if too >>>>>> long. >>>>>> >>>>>> I guess this isn't possible because there seems to be no >>>>>> intelligent >>>>>> helper function that can handle RichText strings like e. g. >>>>>> UTF-8 >>>>>> strings are handled in contrary to ASCII strings. As far as >>>>>> I can see, >>>>>> RichText is simply a UTF-8 string containing a lot of XML >>>>>> tags. A >>>>>> special Left, Mid or Right function would have to >>>>>> reconstruct these tags >>>>>> for the other part of the string to keep the tags >>>>>> functionable. >>>>>> >>>>>> A workaround would be to extract the pure text and store the >>>>>> tagged >>>>>> values somewhere else until the text has been cut apart. But >>>>>> it would >>>>>> make the whole automatic in RichText senseless. >>>>>> >>>>>> But maybe I just didn't find this functionality? >>>>>> >>>>>> Regards >>>>>> Rolf >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> Go from Idea to Many App Stores Faster with Intel(R) XDK >>>>>> Give your users amazing mobile app experiences with Intel(R) >>>>>> XDK. >>>>>> Use one codebase in this all-in-one HTML5 development >>>>>> environment. >>>>>> Design, debug & build mobile apps & 2D/3D >>>>>> high-impact games for multiple OSs. >>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 >>>>>> _______________________________________________ >>>>>> Gambas-user mailing list >>>>>> Gambas-user at lists.sourceforge.net >>>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Go from Idea to Many App Stores Faster with Intel(R) XDK >>>>> Give your users amazing mobile app experiences with Intel(R) XDK. >>>>> Use one codebase in this all-in-one HTML5 development environment. >>>>> Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. >>>>> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 >>>>> _______________________________________________ >>>>> Gambas-user mailing list >>>>> Gambas-user at lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> >>>> >>>> -- >>>> Fabien Bodard >>> >>> >>> -- >>> Fabien Bodard >> >> >> >> >> ------------------------------------------------------------------------------ >> Go from Idea to Many App Stores Faster with Intel(R) XDK >> Give your users amazing mobile app experiences with Intel(R) XDK. >> Use one codebase in this all-in-one HTML5 development environment. >> Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. >> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 >> >> >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From bugtracker at ...3416... Tue Dec 8 22:50:11 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 08 Dec 2015 21:50:11 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #863: [gb.report2] $NPAGE always result 2 in a first time when report preview appeared In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.863&from=L21haW4- Comment #1 by Fabien BODARD: THis is normal as the first preview image is generated before the full report layouting. In fact it's an ascynchronous layout. so the layout is done for page one by one during the display and then on time free. Maybe i must to refresh all when the layouting is finished, but it can have a cost on time. I wanted something fast. It's as faster to display a 2 pages report as a 300 pages one. From bugtracker at ...3416... Tue Dec 8 23:37:13 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 08 Dec 2015 22:37:13 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #858: serial port implementation constants are bad and uncompleted!/miscdocumented! In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.858&from=L21haW4- gbWilly GAMBOS changed the state of the bug to: Fixed. From bugtracker at ...3416... Tue Dec 8 23:45:23 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 08 Dec 2015 22:45:23 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #859: Report preview, caption label use English In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.859&from=L21haW4- Comment #4 by gbWilly GAMBOS: 'double-sided' seems better than 'both sides' The choice of recto verso in printer configuration means you want to print on both sides of the paper. From bugtracker at ...3416... Wed Dec 9 00:02:12 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 08 Dec 2015 23:02:12 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #866: Wiki content generation for gb.report Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.866&from=L21haW4- gbWilly GAMBOS reported a new bug. Summary ------- Wiki content generation for gb.report Type : Request Priority : Medium Gambas version : 3.8 Product : Wiki Description ----------- Wasn't there a manner to generate content in the Wiki automatically based on the comments in components? If so, can this be applied for the gb.report component, as several of the properties, methods and events only say 'This symbol does not exist.' See attached picture System information ------------------ Multiple systems: [System] Gambas=3.5.4 OperatingSystem=Linux Kernel=3.16.0-4-586 Architecture=x86 Distribution=debian 8.1 Desktop=LXDE Theme=QWindows Language=en_US.UTF-8 Memory=945M [Libraries] Cairo=libcairo.so.2.11400.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.12 GStreamer=libgstreamer-1.0.so.0.404.0 GTK+=libgtk-x11-2.0.so.0.2400.25 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.46.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 [System] Gambas=3.6.2 OperatingSystem=Linux Kernel=3.16.0-4-586 Architecture=x86 Distribution=debian 8.1 Desktop=LXDE Theme=QWindows Language=en_US.UTF-8 Memory=945M [Libraries] Cairo=libcairo.so.2.11400.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.12 GStreamer=libgstreamer-1.0.so.0.404.0 GTK+3=libgtk-3.so.0.1400.5 GTK+=libgtk-x11-2.0.so.0.2400.25 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.46.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 [System] Gambas=3.7.1 OperatingSystem=Linux Kernel=3.16.0-4-586 Architecture=x86 Distribution=debian 8.1 Desktop=LXDE Theme=QWindows Language=en_US.UTF-8 Memory=945M [Libraries] Cairo=libcairo.so.2.11400.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.12 GStreamer=libgstreamer-1.0.so.0.404.0 GTK+3=libgtk-3.so.0.1400.5 GTK+=libgtk-x11-2.0.so.0.2400.25 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.46.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 [System] Gambas=3.8.90 (rev#7390) OperatingSystem=Linux Kernel=3.19.0-28-generic Architecture=x86 Distribution=Ubuntu 14.04.3 LTS Desktop=LXDE Theme=Gtk Language=en_US.UTF-8 Memory=937M [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+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 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 [Environment] CLUTTER_IM_MODULE=xim DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-d2tYwNrIPc DEFAULTS_PATH=/usr/share/gconf/Lubuntu.default.path DESKTOP_SESSION=Lubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=Lubuntu GDM_LANG=en_US GNOME_KEYRING_CONTROL=/run/user/1000/keyring-Eo5i6s GNOME_KEYRING_PID=1473 GPG_AGENT_INFO=/run/user/1000/keyring-Eo5i6s/gpg:0:1 GTK_IM_MODULE=xim HOME= IM_CONFIG_PHASE=1 INSTANCE= JOB=dbus LANG=en_US.UTF-8 LANGUAGE=en_US LC_ADDRESS=nl_NL.UTF-8 LC_IDENTIFICATION=nl_NL.UTF-8 LC_MEASUREMENT=nl_NL.UTF-8 LC_MONETARY=nl_NL.UTF-8 LC_NAME=nl_NL.UTF-8 LC_NUMERIC=nl_NL.UTF-8 LC_PAPER=nl_NL.UTF-8 LC_TELEPHONE=nl_NL.UTF-8 LC_TIME=nl_NL.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/Lubuntu.mandatory.path PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT4_IM_MODULE=xim QT_IM_MODULE=xim SAL_USE_VCLPLUGIN=gtk SELINUX_INIT=YES SESSION=Lubuntu SESSIONTYPE=lxsession SHELL=/bin/bash SHLVL=0 SSH_AUTH_SOCK=/run/user/1000/keyring-Eo5i6s/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime UPSTART_EVENTS=started xsession UPSTART_INSTANCE= UPSTART_JOB=lxsession UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1329 USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/lubuntu:/etc/xdg/xdg-Lubuntu:/usr/share/upstart/xdg:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXDE XDG_DATA_DIRS=/etc/xdg/lubuntu:/usr/local/share:/usr/share:/usr/share/gdm:/var/lib/menu-xdg:/usr/share/Lubuntu:/usr/local/share/:/usr/share/ XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=lxde- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_VTNR=7 XMODIFIERS=@...3498...=ibus _LXSESSION_PID=1515 From bugtracker at ...3416... Wed Dec 9 00:03:06 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 08 Dec 2015 23:03:06 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #866: Wiki content generation for gb.report In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.866&from=L21haW4- gbWilly GAMBOS added an attachment: Schermafdruk.png From bugtracker at ...3416... Wed Dec 9 00:49:29 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 08 Dec 2015 23:49:29 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #866: Wiki content generation for gb.report In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.866&from=L21haW4- Comment #1 by gbWilly GAMBOS: Nevermind, I see it is a matter of creating those pages manually and using the @{syntax} in there. I'll create the pages as I find and add @{syntax} and some short description. This, so the wiki (and thus help) is more complete. From bugtracker at ...3416... Wed Dec 9 00:49:36 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 08 Dec 2015 23:49:36 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #866: Wiki content generation for gb.report In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.866&from=L21haW4- gbWilly GAMBOS changed the state of the bug to: Fixed. From adamnt42 at ...626... Wed Dec 9 02:05:59 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Wed, 9 Dec 2015 11:35:59 +1030 Subject: [Gambas-user] Query re the form Scaled property Message-ID: <20151209113559.2b5192d544bba110191e3119@...626...> The help for that property says: "If the form and controls dimensions must follow the size of the default font." (loosely corrected to "If true then the form and controls dimensions will follow the size of the default font.") Which "default font" are we talking about here? I assumed (in the case of QT4) that it is the user's "default font" as configured by qtconfig. But now I'm not sure, as no matter where I change "Default" font - for the system, the user, the form or in the IDE preferences - I always get a Desktop.Scale of 7. tia bruce -- B Bruen From gambas at ...1... Wed Dec 9 03:04:21 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 9 Dec 2015 03:04:21 +0100 Subject: [Gambas-user] Query re the form Scaled property In-Reply-To: <20151209113559.2b5192d544bba110191e3119@...626...> References: <20151209113559.2b5192d544bba110191e3119@...626...> Message-ID: <56678C25.5050204@...1...> Le 09/12/2015 02:05, adamnt42 at ...626... a ?crit : > The help for that property says: "If the form and controls dimensions > must follow the size of the default font." (loosely corrected to "If > true then the form and controls dimensions will follow the size of > the default font.") > > Which "default font" are we talking about here? > > I assumed (in the case of QT4) that it is the user's "default font" > as configured by qtconfig. But now I'm not sure, as no matter where I > change "Default" font - for the system, the user, the form or in the > IDE preferences - I always get a Desktop.Scale of 7. > > tia bruce > "Default font" is Application.Font. Regards, -- Beno?t Minisini From adamnt42 at ...626... Wed Dec 9 03:33:05 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Wed, 9 Dec 2015 13:03:05 +1030 Subject: [Gambas-user] Query re the form Scaled property In-Reply-To: <56678C25.5050204@...1...> References: <20151209113559.2b5192d544bba110191e3119@...626...> <56678C25.5050204@...1...> Message-ID: <20151209130305.a50a8153d4f7540fc51be6b1@...626...> On Wed, 9 Dec 2015 03:04:21 +0100 Beno?t Minisini wrote: > Le 09/12/2015 02:05, adamnt42 at ...626... a ?crit : > > The help for that property says: "If the form and controls dimensions > > must follow the size of the default font." (loosely corrected to "If > > true then the form and controls dimensions will follow the size of > > the default font.") > > > > Which "default font" are we talking about here? > > > > I assumed (in the case of QT4) that it is the user's "default font" > > as configured by qtconfig. But now I'm not sure, as no matter where I > > change "Default" font - for the system, the user, the form or in the > > IDE preferences - I always get a Desktop.Scale of 7. > > > > tia bruce > > > > "Default font" is Application.Font. > > Regards, > > -- > Beno?t Minisini > Ah, thank you. Now it all scales properly again. b -- B Bruen From buster6seven at ...626... Wed Dec 9 05:36:59 2015 From: buster6seven at ...626... (Buster Seven) Date: Wed, 9 Dec 2015 15:36:59 +1100 Subject: [Gambas-user] gb.report In-Reply-To: References: <565EBD47.3090107@...174...> <56655222.6030303@...174...> Message-ID: ah so easy with a simple example don?t know why i couldn't work it out ? On Wed, Dec 9, 2015 at 8:31 AM, Fabien Bodard wrote: > hum > > this is an example > > 2015-12-08 13:14 GMT+01:00 Buster Seven : > > but i can't work out how to load the report into the document view? > > > > > > On Tue, Dec 8, 2015 at 9:49 PM, Fabien Bodard > wrote: > > > >> You can see an example in the farm ... search : "DocumentView" > >> > >> 2015-12-08 11:42 GMT+01:00 Fabien Bodard : > >> > 2015-12-08 0:46 GMT+01:00 Buster Seven : > >> >> I?m trying to use the reportview component that i add to a form and > then > >> >> display my report without using the preview basically > >> >> my own preview form with the buttons on it to do what i want before > it > >> >> printed etc > >> > > >> > OKay > >> > > >> > so you have two solution. > >> > > >> > You can use the reportview widget. Provided by the gb.report2 > component. > >> > ReportView.Report = hReport > >> > > >> > Or more hard... > >> > > >> > you can enforce the report.draw in a drawing area. > >> > > >> > hReport.scale = 0.5 > >> > hreport.Draw(Page) > >> > hreport.Scale = 1.0 > >> > > >> > Get the report size in pixel ? > >> > > >> > Report.UnitTo(TSizeParse[MyReport.Width].ToInch(), "in", "px") > >> > Report.UnitTo(TSizeParse[MyReport.Height].ToInch(), "in", "px") > >> > > >> > This size depend of the device. > >> > By default the desktop one. > >> > > >> > > >> > In fact i've splitted the viewer in 3 part : > >> > > >> > DocumentView -> ReportView -> FPreview > >> > > >> > So ReportView is a composite widget that contain a DocumentView and > >> > adapt it to the reports specificities. > >> > > >> > DocumentView is a widget that provide the bases to display images in a > >> > multipage documents style, like a pdfviewer or a print preview. > >> > > >> > It allow to arrange elements in different mode by using the > >> > Arrangement property and the column one. > >> > > >> > To play with it just set the DocumentView.Count property, and the > >> > PageHeight/PageWidth. > >> > > >> > I really need to make the doc. > >> > > >> > You can also manage the padding arround and the spacing. > >> > > >> > You can set the layout of each page in the Layout event. > >> > > >> > Like often with me... powerfull but undocumented > >> > >> > >> > >> -- > >> Fabien Bodard > >> > >> > >> > ------------------------------------------------------------------------------ > >> Go from Idea to Many App Stores Faster with Intel(R) XDK > >> Give your users amazing mobile app experiences with Intel(R) XDK. > >> Use one codebase in this all-in-one HTML5 development environment. > >> Design, debug & build mobile apps & 2D/3D high-impact games for multiple > >> OSs. > >> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > ------------------------------------------------------------------------------ > > Go from Idea to Many App Stores Faster with Intel(R) XDK > > Give your users amazing mobile app experiences with Intel(R) XDK. > > Use one codebase in this all-in-one HTML5 development environment. > > Design, debug & build mobile apps & 2D/3D high-impact games for multiple > OSs. > > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From herberthguzman at ...626... Wed Dec 9 05:54:58 2015 From: herberthguzman at ...626... (herberth guzman) Date: Tue, 8 Dec 2015 22:54:58 -0600 Subject: [Gambas-user] WebImage - Component gb.web.form Message-ID: Hello Benoit Congratulations on the gb.web.form component is wonderful, it's beautiful. I'm playing with the component gb.web.form, I'm working on my project Innova. I would like to Innova-Settings (Desktop Preferences) with gb.web.form and I have some questions: 1-There will be a future WebControl: WebListView WebListBox WebView WebDialog 2-I have problems to display an image on WebImage. If the image is in the project directory ".public/settings/image.png" IT WORKS WELL. But if the image is in User.Home &/ ".config/Innova/Wallpaper/image.png" NOT PICTURED. As I can show the image on WebImage with a string outside the project.? Thank you for your help. Regards Herberth Guzm?n From buster6seven at ...626... Wed Dec 9 09:44:53 2015 From: buster6seven at ...626... (Buster Seven) Date: Wed, 9 Dec 2015 19:44:53 +1100 Subject: [Gambas-user] Gridview Message-ID: I use to be able to do this code GridView1.Font.Strikeout = True and the row in the gridview would be strikedout but it no longer works any ideas. [System] Gambas=3.8.3 OperatingSystem=Linux Kernel=3.16.0-38-generic Architecture=x86_64 Distribution=Linux Mint 17.2 Rafaela Desktop=MATE Theme=Gtk Language=en_AU.UTF-8 Memory=3806M [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+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-fJFsDYEYt1,guid=55c82620eff601a2ac233aa3566759b3 DEFAULTS_PATH=/usr/share/gconf/mate.default.path DESKTOP_SESSION=mate DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=mate GDM_XSERVER_LOCATION=local GNOME_KEYRING_CONTROL=/run/user/1000/keyring-y01wld GNOME_KEYRING_PID=2008 GPG_AGENT_INFO=/run/user/1000/keyring-y01wld/gpg:0:1 HOME=/home/ LANG=en_AU.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path MATE_DESKTOP_SESSION_ID=this-is-deprecated MDMSESSION=mate MDM_LANG=en_AU.UTF-8 MDM_XSERVER_LOCATION=local PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD=/home/ SESSION_MANAGER=local/:@/tmp/.ICE-unix/1382,unix/:/tmp/.ICE-unix/1382 SHELL=/bin/bash SSH_AGENT_PID=1916 SSH_AUTH_SOCK=/run/user/1000/keyring-y01wld/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=8 XAUTHORITY=/home//.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg XDG_CURRENT_DESKTOP=MATE XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=139d2632112d070b9e811bbc561842ce-1449613740.958271-1038001112 XDG_SESSION_DESKTOP=mate XDG_SESSION_ID=c1 XDG_VTNR=8 From eilert-sprachen at ...221... Wed Dec 9 09:54:45 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 09 Dec 2015 09:54:45 +0100 Subject: [Gambas-user] Gridview In-Reply-To: References: Message-ID: <5667EC55.4060308@...221...> Am 09.12.2015 09:44, schrieb Buster Seven: > I use to be able to do this code GridView1.Font.Strikeout = True > and the row in the gridview would be strikedout but it no longer works > any ideas. > > > I just had this problem a few days ago, and after searching for a long time it turned out that I had a lost line with GridView.Data.Text = .... before the line GridView.Data.RichText = .... Maybe a similar thing in your case? Or just try GridView.Data.RichText = "" & myText & "" Regards Rolf From bugtracker at ...3416... Wed Dec 9 14:48:48 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 09 Dec 2015 13:48:48 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #866: Wiki content generation for gb.report In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.866&from=L21haW4- Comment #2 by Fabien BODARD: Cool, I will take a look on you job and complete if needed From gambas.fr at ...626... Wed Dec 9 15:23:31 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 9 Dec 2015 15:23:31 +0100 Subject: [Gambas-user] WebImage - Component gb.web.form In-Reply-To: References: Message-ID: Remember that a cgi can access only to the picture accessible by the server. . The public ones. Or maybe to picture on another part of internet. Le 9 d?c. 2015 05:56, "herberth guzman" a ?crit : > Hello Benoit > > Congratulations on the gb.web.form component is wonderful, it's beautiful. > > I'm playing with the component gb.web.form, I'm working on my project > Innova. > > I would like to Innova-Settings (Desktop Preferences) with gb.web.form and > I have some questions: > > > 1-There will be a future WebControl: > WebListView > WebListBox > WebView > WebDialog > > 2-I have problems to display an image on WebImage. > If the image is in the project directory ".public/settings/image.png" > IT WORKS WELL. > > But if the image is in User.Home &/ > ".config/Innova/Wallpaper/image.png" > NOT PICTURED. > > As I can show the image on WebImage with a string outside the project.? > > Thank you for your help. > Regards > > > Herberth Guzm?n > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Thu Dec 10 00:17:26 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 09 Dec 2015 23:17:26 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #867: Interpreter Crash if any wait command in DrawingArea_Draw event Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.867&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- Interpreter Crash if any wait command in DrawingArea_Draw event Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : QT4 component Description ----------- it's fine with gtk+ and gtk3. I get "QWidget::repaint: Recursive repaint detected" in console when Interpreter crash (attach pic-1) attach project attach gbd.out System information ------------------ [System] Gambas=3.8.90 r7502 OperatingSystem=Linux Kernel=3.2.0-88-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=LXDE Theme=Gtk Language=en_US.UTF-8 Memory=494M [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.7.0 GTK+2=libgtk-x11-2.0.so.0.2400.10 GTK+3=libgtk-3.so.0.400.2 OpenGL=libGL.so.96.43.23 Poppler=libpoppler.so.19.0.0 QT4=libQtCore.so.4.8.1 QT5=libQt5Core.so.5.0.2 SDL=libSDL-1.2.so.0.11.3 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-qxX84QfyAf,guid=c50be0e170e2c96c320721f70000025a DEFAULTS_PATH=/usr/share/gconf/Lubuntu.default.path DESKTOP_SESSION=Lubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=Lubuntu GNOME_KEYRING_CONTROL=/tmp/keyring-1alo8Z GNOME_KEYRING_PID=1761 HOME= LANG=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/Lubuntu.mandatory.path PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PWD= SAL_USE_VCLPLUGIN=gtk SHELL=/bin/bash SSH_AGENT_PID=1752 SSH_AUTH_SOCK=/tmp/keyring-1alo8Z/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/lubuntu/:/etc/xdg/xdg-Lubuntu:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXDE XDG_DATA_DIRS=/etc/xdg/lubuntu:/usr/share/Lubuntu:/usr/local/share/:/usr/share/:/usr/share:/usr/share/gdm:/var/lib/menu-xdg XDG_MENU_PREFIX=lxde- XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_COOKIE=2d9710af0959f6893eb828f100000008-1449307825.422177-2070282672 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 _LXSESSION_PID=1722 From bugtracker at ...3416... Thu Dec 10 00:17:38 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 09 Dec 2015 23:17:38 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #867: Interpreter Crash if any wait command in DrawingArea_Draw event In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.867&from=L21haW4- Zainudin AHMAD added an attachment: pic-1.png From bugtracker at ...3416... Thu Dec 10 00:17:49 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 09 Dec 2015 23:17:49 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #867: Interpreter Crash if any wait command in DrawingArea_Draw event In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.867&from=L21haW4- Zainudin AHMAD added an attachment: test-segFault-RecursiveRepaint-0.0.1.tar.gz From bugtracker at ...3416... Thu Dec 10 00:18:02 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 09 Dec 2015 23:18:02 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #867: Interpreter Crash if any wait command in DrawingArea_Draw event In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.867&from=L21haW4- Zainudin AHMAD added an attachment: gdb.out From bugtracker at ...3416... Thu Dec 10 00:23:54 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 09 Dec 2015 23:23:54 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #866: Wiki content generation for gb.report In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.866&from=L21haW4- Comment #3 by gbWilly GAMBOS: Great, I'll continue creating those pages whenever I have time. I've added a few examples here and there. It would be great if you checked them and where needed add/correct stuff. The Last Changes in the Wiki (http://gambaswiki.org/wiki/changes) will help you get track of what I have been up to. From bugtracker at ...3416... Thu Dec 10 01:26:01 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 10 Dec 2015 00:26:01 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #865: Publish to Farm dialog does not remember my password In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.865&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Thu Dec 10 01:39:12 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 10 Dec 2015 00:39:12 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #854: IDE Crash when "Double Click" the Publish button on Publis Software Dialog In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.854&from=L21haW4- Comment #4 by Beno?t MINISINI: I still can't reproduce it. The Request_Error() event handler is never called. Are you using the very last revision? From bugtracker at ...3416... Thu Dec 10 01:44:04 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 10 Dec 2015 00:44:04 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #865: Publish to Farm dialog does not remember my password In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.865&from=L21haW4- Comment #1 by Beno?t MINISINI: It should be fixed with revision #7508. From bugtracker at ...3416... Thu Dec 10 01:44:25 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 10 Dec 2015 00:44:25 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #865: Publish to Farm dialog does not remember my password In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.865&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Thu Dec 10 02:20:57 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 10 Dec 2015 01:20:57 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #854: IDE Crash when "Double Click" the Publish button on Publis Software Dialog In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.854&from=L21haW4- Comment #5 by Zainudin AHMAD: using : r7502 I will investigate again, but I am not sure I can isolate with small project. From bugtracker at ...3416... Thu Dec 10 02:45:54 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 10 Dec 2015 01:45:54 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #854: IDE Crash when "Double Click" the Publish button on Publis Software Dialog In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.854&from=L21haW4- Comment #6 by Zainudin AHMAD: When try for reproduce the bug your internet connection must "not connected" ? From bugtracker at ...3416... Thu Dec 10 07:32:58 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 10 Dec 2015 06:32:58 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #854: IDE Crash when "Double Click" the Publish button on Publis Software Dialog In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.854&from=L21haW4- Comment #7 by Zainudin AHMAD: (part 3) Reproduce the bug : - run this project (attach project) - click test button - wait and I get segfault attach gdb attach valgrind From bugtracker at ...3416... Thu Dec 10 07:33:22 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 10 Dec 2015 06:33:22 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #854: IDE Crash when "Double Click" the Publish button on Publis Software Dialog In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.854&from=L21haW4- Zainudin AHMAD added an attachment: test-segFault-MessageForm-0.0.1.tar.gz From bugtracker at ...3416... Thu Dec 10 07:33:37 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 10 Dec 2015 06:33:37 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #854: IDE Crash when "Double Click" the Publish button on Publis Software Dialog In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.854&from=L21haW4- Zainudin AHMAD added an attachment: gdb.out From bugtracker at ...3416... Thu Dec 10 07:33:48 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 10 Dec 2015 06:33:48 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #854: IDE Crash when "Double Click" the Publish button on Publis Software Dialog In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.854&from=L21haW4- Zainudin AHMAD added an attachment: valgrind.out From bugtracker at ...3416... Thu Dec 10 07:34:35 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 10 Dec 2015 06:34:35 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #854: IDE Crash when "Double Click" the Publish button on Publis Software Dialog In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.854&from=L21haW4- Comment #8 by Zainudin AHMAD: this happens only with qt4 From eilert-sprachen at ...221... Thu Dec 10 08:37:49 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 10 Dec 2015 08:37:49 +0100 Subject: [Gambas-user] GridView - Width of row header Message-ID: <56692BCD.1060506@...221...> In an older project with Gambas2, I needed to pick the X position of the cells. The GridView has Headers = Both. It seems it started counting with 0 at the first white column, i. e. behind the row header, so never mind how wide the header was, it would always find the correct position. In Gambas3 it seems to start counting with 0 at the leftmost position of the GridView, i. e. on the left side of the row header. So when the width of the header varies, how could I find out the width of the header column, as Column[0] is the first white one? Thanks for your help! Rolf From bugtracker at ...3416... Thu Dec 10 11:21:00 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 10 Dec 2015 10:21:00 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #854: IDE Crash when "Double Click" the Publish button on Publis Software Dialog In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.854&from=L21haW4- Comment #9 by Beno?t MINISINI: Sorry I have no crash with this last project too, and valgrind detects no problem at all while running it. I'm now suspecting a bug in Qt4 that has been fixed in the version I have. Apparently you have Qt 4.8.1, and on Kubuntu 15.10 I have Qt 4.8.6. Maybe you can send your project on the mailing-list and ask people to check it to find others having the same problem? From bugtracker at ...3416... Thu Dec 10 11:22:05 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 10 Dec 2015 10:22:05 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #854: IDE Crash when "Double Click" the Publish button on Publis Software Dialog In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.854&from=L21haW4- Comment #10 by Beno?t MINISINI: ...and yes, I disconnected my internet to do the test. From bugtracker at ...3416... Thu Dec 10 12:45:56 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 10 Dec 2015 11:45:56 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #867: Interpreter Crash if any wait command in DrawingArea_Draw event In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.867&from=L21haW4- Comment #1 by Fabien BODARD: it's not the soluce but i think the wait is for something in the crash From bugtracker at ...3416... Thu Dec 10 16:47:33 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 10 Dec 2015 15:47:33 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #868: Gambas will not start Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.868&from=L21haW4- Moviga TECHNOLOGIES reported a new bug. Summary ------- Gambas will not start Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Development Environment Description ----------- Getting this error now when launching Gambas System information ------------------ [System] Gambas=3.8.90 r7312 OperatingSystem=Linux Kernel=4.1.6-1-ARCH Architecture=x86_64 Distribution=arch Desktop=KDE5 Theme=Proxy Language=nb_NO.UTF-8 Memory=9901M [Libraries] Cairo=libcairo.so.2.11400.2 Curl=libcurl.so.4.2.0 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.3 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.405.0 GTK+2=libgtk-x11-2.0.so.0.2400.28 GTK+3=libgtk-3.so.0.1600.6 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.52.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.0 SDL=libSDL-1.2.so.0.11.4 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-7rvPN8rlRD,guid=75534cfdb433e848ad9f896a55f965a8 DESKTOP_SESSION=plasma DISPLAY=:0 GB_GUI=gb.qt5 GS_LIB=/.fonts GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/.gtkrc-2.0:/.config/gtkrc-2.0 GTK_MODULES=canberra-gtk-module GTK_RC_FILES=/etc/gtk/gtkrc:/.gtkrc:/.config/gtkrc HOME= KDE_FULL_SESSION=true KDE_MULTIHEAD=false KDE_SESSION_UID=1000 KDE_SESSION_VERSION=5 LANG=nb_NO.UTF-8 LANGUAGE=nb LOGNAME= MAIL=/var/spool/mail/ MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins PAM_KWALLET5_LOGIN=/tmp/kwallet5_.socket PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl PWD= QT_IM_MODULE=compose QT_NO_GLIB=1 SESSION_MANAGER=local/:@/tmp/.ICE-unix/899,unix/:/tmp/.ICE-unix/899 SHELL=/bin/bash SHLVL=1 SSH_ASKPASS=/usr/bin/ksshaskpass TZ=:/etc/localtime USER= XAUTHORITY=/tmp/xauth-1000-_0 XCURSOR_SIZE=0 XCURSOR_THEME=Breeze_Snow XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=KDE XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 XDG_SESSION_TYPE=x11 XDG_VTNR=1 _=/usr/lib/kf5/start_kdeinit_wrapper From bugtracker at ...3416... Thu Dec 10 16:47:41 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 10 Dec 2015 15:47:41 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #868: Gambas will not start In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.868&from=L21haW4- Moviga TECHNOLOGIES added an attachment: gambas_error.png From bugtracker at ...3416... Thu Dec 10 16:57:09 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 10 Dec 2015 15:57:09 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #868: Gambas will not start In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.868&from=L21haW4- Comment #1 by Beno?t MINISINI: According to your system information you are using r7312 development version of the interpreter, and we are at r7509. So I guess you have compiled Gambas incorrectly, or made a mix of different versions of Gambas on your system. Beno?t MINISINI changed the state of the bug to: Rejected. From herberthguzman at ...626... Thu Dec 10 17:33:12 2015 From: herberthguzman at ...626... (herberth guzman) Date: Thu, 10 Dec 2015 10:33:12 -0600 Subject: [Gambas-user] WebImage - Component gb.web.form Message-ID: Thanks Fabien, I thought I could mix Gambas_Desktop chains like. I solve my problem, a temporary folder inside the folder management .public, and then save the configuration file .config/Innova/Innova_Settings.config. >Remember that a cgi can access only to the picture accessible by the >server. . The public ones. Or maybe to picture on another part of internet. Le 9 d?c. 2015 05:56, "herberth guzman" a ?crit : > Hello Benoit > > Congratulations on the gb.web.form component is wonderful, it's beautiful. > > I'm playing with the component gb.web.form, I'm working on my project > Innova. > > I would like to Innova-Settings (Desktop Preferences) with gb.web.form and > I have some questions: > > > 1-There will be a future WebControl: > WebListView > WebListBox > WebView > WebDialog > > 2-I have problems to display an image on WebImage. > If the image is in the project directory ".public/settings/image.png" > IT WORKS WELL. > > But if the image is in User.Home &/ > ".config/Innova/Wallpaper/image.png" > NOT PICTURED. > > As I can show the image on WebImage with a string outside the project.? > > Thank you for your help. > Regards > > > Herberth Guzm?n > From mckaygerhard at ...626... Thu Dec 10 18:33:26 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Thu, 10 Dec 2015 13:03:26 -0430 Subject: [Gambas-user] separate each ASCII serial port return caracters Message-ID: i made a program for printers on some countries, thast only works by serial rs232 port computer or USB special converter but i have a problem reading data.. that returns ASCII ooutput control caracters or some numbers in specific positions taking https://web.archive.org/web/20091028133103/http://geocities.com/dtmcbride//tech/charsets/ascii.html#cntrl as references for how can i store EACH result and not the complete string i use the code in the example of serial port: PUBLIC Sport_Read() Dim s as String Read #Sport, s, Lof(Sport) Print "Out: " & s & " - " & Asc(s) END The problem its that the result are not only one ascii, the result buffer return a complete string that have more than one ascii symbol/string so i must separate aech caracter string, but i could'n split either by "^" or print until "ACK" due in firts case can obtain some garbage and in second case can obtain a "NOK" ANY HELP? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From mckaygerhard at ...626... Thu Dec 10 18:39:02 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Thu, 10 Dec 2015 13:09:02 -0430 Subject: [Gambas-user] how print each char/possition in string including spaces Message-ID: of the chari have a String "var1" = "this its a string" how can i print each position/char of the string including the spaces! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From d4t4full at ...626... Thu Dec 10 18:51:55 2015 From: d4t4full at ...626... (ML) Date: Thu, 10 Dec 2015 14:51:55 -0300 Subject: [Gambas-user] how print each char/possition in string including spaces In-Reply-To: References: Message-ID: <5669BBBB.1060908@...626...> Gerardo, I think you speak spanish, I've been to your site. I'll switch to ES-AR. If I'm wrong, then please accept my apologies, tell me, and I'll repost in US-EN. Ten?s que iterar con un FOR-NEXT teniendo en cuenta la longitud del string. Por ejemplo, pon esto en FORM_OPEN: Dim myString As String = "Hello" Dim pointer As Integer = 0 For pointer = 1 To Len(myString) 'Esto ser? MUY molesto, pero sirve para ejemplo. Adem?s myString no es muy largo... ;) Message.Info("Caracter en posici?n " & Str(pointer) & " es '" & Mid(myString, pointer, 1) & "'.") Next El primer caracter en strings en Gambas tiene ?ndice 1. Saludos. *On 2015-12-10 14:39, PICCORO McKAY Lenz wrote:* > of the chari have a String "var1" = "this its a string" > > how can i print each position/char of the string including the spaces! > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From mckaygerhard at ...626... Thu Dec 10 19:19:39 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Thu, 10 Dec 2015 13:49:39 -0430 Subject: [Gambas-user] how print each char/possition in string including spaces In-Reply-To: <5669BBBB.1060908@...626...> References: <5669BBBB.1060908@...626...> Message-ID: 2015-12-10 13:21 GMT-04:30 ML : > Gerardo, > > I think you speak spanish, I've been to your site. I'll switch to ES-AR. YEAH, the mail report correct! > If I'm wrong, then please accept my apologies, tell me, and I'll repost > in US-EN. i'll paste also in US due for others if are need later when we resolved > > Ten?s que iterar con un FOR-NEXT teniendo en cuenta la longitud del > string. Por ejemplo, pon esto en FORM_OPEN: YA lo hice, pero el puerto serial (no se como ponerl e inxluso en el texto en ingles no lo puse) el puerto serial creo solo puede devolver 8 bits Para que tengas una idea, en argentina se emplean impresoras fiscales, y estas devuelven data (todas devuelven distinta data), pero como el serial solo devuelve un byte de 8 gits (creo es asi) es decir una sola palabra, por tanto la impresora "pica" el resultado en dos partes, ese es el primer problema El segundo problema es que la salida son realmente codigos ascii ejemplo: "0" que es : "^B^C^C^C^A^A0 ^A^C^F" En la primera no se ve nada porque son caracteres no imprimibles, pero en geany se pueden ver los caracteres ocultos y en un textbox, la segunda es lo que Print de gambas imprime en la cosola y que vez en la tabla ascii alguna idea? la que tengo es imprimir cada caracter imprimible, pero no puedo hacer split por el "^" porque a veces devuelve un caracter extrano entre estos (todos los kit fiscales lo hacen) > > Dim myString As String = "Hello" > Dim pointer As Integer = 0 > > For pointer = 1 To Len(myString) > 'Esto ser? MUY molesto, pero sirve para ejemplo. Adem?s myString no > es muy largo... ;) > Message.Info("Caracter en posici?n " & Str(pointer) & " es '" & > Mid(myString, pointer, 1) & "'.") > Next > > El primer caracter en strings en Gambas tiene ?ndice 1. > > Saludos. > > *On 2015-12-10 14:39, PICCORO McKAY Lenz wrote:* >> of the chari have a String "var1" = "this its a string" >> >> how can i print each position/char of the string including the spaces! >> >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> 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 jussi.lahtinen at ...626... Thu Dec 10 19:20:33 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 10 Dec 2015 20:20:33 +0200 Subject: [Gambas-user] how print each char/possition in string including spaces In-Reply-To: <5669BBBB.1060908@...626...> References: <5669BBBB.1060908@...626...> Message-ID: I recommend to use String.Len() and String.Mid(), because they can handle unicode characters. Jussi On Thu, Dec 10, 2015 at 7:51 PM, ML wrote: > Gerardo, > > I think you speak spanish, I've been to your site. I'll switch to ES-AR. > If I'm wrong, then please accept my apologies, tell me, and I'll repost > in US-EN. > > Ten?s que iterar con un FOR-NEXT teniendo en cuenta la longitud del > string. Por ejemplo, pon esto en FORM_OPEN: > > Dim myString As String = "Hello" > Dim pointer As Integer = 0 > > For pointer = 1 To Len(myString) > 'Esto ser? MUY molesto, pero sirve para ejemplo. Adem?s myString no > es muy largo... ;) > Message.Info("Caracter en posici?n " & Str(pointer) & " es '" & > Mid(myString, pointer, 1) & "'.") > Next > > El primer caracter en strings en Gambas tiene ?ndice 1. > > Saludos. > > *On 2015-12-10 14:39, PICCORO McKAY Lenz wrote:* > > of the chari have a String "var1" = "this its a string" > > > > how can i print each position/char of the string including the spaces! > > > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > 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... Thu Dec 10 19:23:29 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 10 Dec 2015 19:23:29 +0100 Subject: [Gambas-user] how print each char/possition in string including spaces In-Reply-To: References: <5669BBBB.1060908@...626...> Message-ID: <5669C321.9080607@...1...> Le 10/12/2015 19:19, PICCORO McKAY Lenz a ?crit : > 2015-12-10 13:21 GMT-04:30 ML : >> Gerardo, >> >> I think you speak spanish, I've been to your site. I'll switch to ES-AR. > YEAH, the mail report correct! >> If I'm wrong, then please accept my apologies, tell me, and I'll repost >> in US-EN. > i'll paste also in US due for others if are need later when we resolved >> >> Ten?s que iterar con un FOR-NEXT teniendo en cuenta la longitud del >> string. Por ejemplo, pon esto en FORM_OPEN: > YA lo hice, pero el puerto serial (no se como ponerl e inxluso en el > texto en ingles no lo puse) el puerto serial creo solo puede devolver > 8 bits > > Para que tengas una idea, en argentina se emplean impresoras fiscales, > y estas devuelven data (todas devuelven distinta data), pero como el > serial solo devuelve un byte de 8 gits (creo es asi) es decir una sola > palabra, por tanto la impresora "pica" el resultado en dos partes, ese > es el primer problema > > El segundo problema es que la salida son realmente codigos ascii ejemplo: > "0" > que es : > "^B^C^C^C^A^A0 > ^A^C^F" > En la primera no se ve nada porque son caracteres no imprimibles, pero > en geany se pueden ver los caracteres ocultos y en un textbox, la > segunda es lo que Print de gambas imprime en la cosola y que vez en la > tabla ascii > > alguna idea? la que tengo es imprimir cada caracter imprimible, pero > no puedo hacer split por el "^" porque a veces devuelve un caracter > extrano entre estos (todos los kit fiscales lo hacen) >> >> Dim myString As String = "Hello" >> Dim pointer As Integer = 0 >> >> For pointer = 1 To Len(myString) >> 'Esto ser? MUY molesto, pero sirve para ejemplo. Adem?s myString no >> es muy largo... ;) >> Message.Info("Caracter en posici?n " & Str(pointer) & " es '" & >> Mid(myString, pointer, 1) & "'.") >> Next >> >> El primer caracter en strings en Gambas tiene ?ndice 1. >> >> Saludos. >> >> *On 2015-12-10 14:39, PICCORO McKAY Lenz wrote:* >>> of the chari have a String "var1" = "this its a string" >>> >>> how can i print each position/char of the string including the spaces! >>> >>> Lenz McKAY Gerardo (PICCORO) >>> http://qgqlochekone.blogspot.com >>> Please use english on the mailing-list. It's not that I love that language, but it's the current "lingua franca" that allows everyone to understand the mails! Regards, -- Beno?t Minisini From mckaygerhard at ...626... Thu Dec 10 19:31:55 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Thu, 10 Dec 2015 14:01:55 -0430 Subject: [Gambas-user] how print each char/possition in string including spaces In-Reply-To: References: <5669BBBB.1060908@...626...> Message-ID: hi Jussi 2015-12-10 13:50 GMT-04:30 Jussi Lahtinen : > I recommend to use String.Len() and String.Mid(), because they can handle > unicode characters. > I have tried it. The problem: the data is not always to be returned as expected, sometimes there's a garbage or a carriage return in the string due len of bufer (i think) in the port, i think due the port only can return one byte (i can see a eight chars before a carrige return appears and then print rest of data when used the Print statement) From d4t4full at ...626... Thu Dec 10 20:33:25 2015 From: d4t4full at ...626... (ML) Date: Thu, 10 Dec 2015 16:33:25 -0300 Subject: [Gambas-user] how print each char/possition in string including spaces In-Reply-To: <5669C321.9080607@...1...> References: <5669BBBB.1060908@...626...> <5669C321.9080607@...1...> Message-ID: <5669D385.3010707@...626...> On 2015-12-10 15:23, Beno?t Minisini wrote: > Le 10/12/2015 19:19, PICCORO McKAY Lenz a ?crit : >> 2015-12-10 13:21 GMT-04:30 ML : >>> Gerardo, >>> >>> I think you speak spanish, I've been to your site. I'll switch to ES-AR. >> YEAH, the mail report correct! >>> If I'm wrong, then please accept my apologies, tell me, and I'll repost >>> in US-EN. >> i'll paste also in US due for others if are need later when we resolved >>> Ten?s que iterar con un FOR-NEXT teniendo en cuenta la longitud del >>> string. Por ejemplo, pon esto en FORM_OPEN: >> YA lo hice, pero el puerto serial (no se como ponerl e inxluso en el >> texto en ingles no lo puse) el puerto serial creo solo puede devolver >> 8 bits >> >> Para que tengas una idea, en argentina se emplean impresoras fiscales, >> y estas devuelven data (todas devuelven distinta data), pero como el >> serial solo devuelve un byte de 8 gits (creo es asi) es decir una sola >> palabra, por tanto la impresora "pica" el resultado en dos partes, ese >> es el primer problema >> >> El segundo problema es que la salida son realmente codigos ascii ejemplo: >> "0" >> que es : >> "^B^C^C^C^A^A0 >> ^A^C^F" >> En la primera no se ve nada porque son caracteres no imprimibles, pero >> en geany se pueden ver los caracteres ocultos y en un textbox, la >> segunda es lo que Print de gambas imprime en la cosola y que vez en la >> tabla ascii >> >> alguna idea? la que tengo es imprimir cada caracter imprimible, pero >> no puedo hacer split por el "^" porque a veces devuelve un caracter >> extrano entre estos (todos los kit fiscales lo hacen) >>> Dim myString As String = "Hello" >>> Dim pointer As Integer = 0 >>> For pointer = 1 To Len(myString) >>> 'Esto ser? MUY molesto, pero sirve para ejemplo. Adem?s myString no es muy largo... ;) >>> Message.Info("Caracter en posici?n " & Str(pointer) & " es '" & Mid(myString, pointer, 1) & "'.") >>> Next >>> El primer caracter en strings en Gambas tiene ?ndice 1. >>> Saludos. >>> >>> *On 2015-12-10 14:39, PICCORO McKAY Lenz wrote:* >>>> of the chari have a String "var1" = "this its a string" >>>> how can i print each position/char of the string including the spaces! >>>> Lenz McKAY Gerardo (PICCORO) >>>> http://qgqlochekone.blogspot.com >>>> > Please use english on the mailing-list. It's not that I love that > language, but it's the current "lingua franca" that allows everyone to > understand the mails! > Regards, Sorry, Beno?t. I thought the question was simple enough and tried to make it even simpler by switching language. Gerardo, I know what you mean. Point is, ASCII has printable and non-printable characters. Printable characters are ALWAYS in the &H20 to &H7F range. Anything below &H20 not only is non-printable but also normally used as control characters. Anything above &H7F may or may not print. For example take newline or LineFeed. ASCII code &H0A. Non-printable, but in Linux -and Gambas- you can refer to it as "\n". You can think of the "^" prefix like subtracting &H40 from the next character's ASCII code. What you see as "^A" (analogous to Ctrl-A in the keyboard) refers to ASCII control code SOH (ASCII &H01). It comes from ASC("A") - &H40 = 1: The old teletype CONTROL keys just resetted bit 6 (value is 64, or &H40) of the character key pressed with it. I'm sure you saw "^[" when you press Escape in some (console) programs: ASC("[") - &H40 = &H1B (ASCII ESC). The double-character combination you see is the OS's best effort to make printable something that is not. Try this in Gambas: Dim myString As String = Chr$(27) 'Escape, char &H1B Message.Info("Character '" & myString & "', ASCII code: " & Asc(myString)) myString = "\n" 'Linefeed, char (ASCII &H0A) Message.Info("Character '" & myString & "', ASCII code: " & Asc(myString)) Remember that ASC will only return the ASCII code of the FIRST character in a string. If you need several, you will have to use a loop. I also made Fiscal Printer Drivers. Under my belt are at least Venezuela, Bulgaria, Chile, Panama, Argentina, and even Russia. They are ALL a freaking pain in the lower back, and there are few -if any- standards, as they all depend on crazy laws made by crazier people. Bad news, I made them all in Win/VB6 for my company. Advantage of VB in these cases is the existence of Win-libraries. I never used serial ports in Gambas. I can give it a try, though. But will have to be at least tomorrow. Hope that helped, zxMarce. From bugtracker at ...3416... Thu Dec 10 20:37:23 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 10 Dec 2015 19:37:23 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #867: Interpreter Crash if any wait command in DrawingArea_Draw event In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.867&from=L21haW4- Comment #2 by Beno?t MINISINI: It does not crash with gtk+ and gtk+3, but I think it's just luck. You must not call the event loop during an event triggered from the "outside", because you are creating infinite recursion, which should lead to stack overflow in good cases, and segmentation fault in bad cases. No toolkit allows that. I will analyze where it crashes exactly, and, if possible, I will explicitly forbid repaint events to be called recursively. But as I said before, the problem is not in repaint events only. Beno?t MINISINI changed the state of the bug to: Accepted. From mckaygerhard at ...626... Thu Dec 10 21:27:37 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Thu, 10 Dec 2015 15:57:37 -0430 Subject: [Gambas-user] how print each char/possition in string including spaces In-Reply-To: <5669D385.3010707@...626...> References: <5669BBBB.1060908@...626...> <5669C321.9080607@...1...> <5669D385.3010707@...626...> Message-ID: 2015-12-10 15:03 GMT-04:30 ML : > For example take newline or LineFeed. ASCII code &H0A. Non-printable, > but in Linux -and Gambas- you can refer to it as "\n". I made a loop until Lof(buffer) and the "\n" are not taken same as the ascii u mentioned, but this its minor problem that i can deal later > Remember that ASC will only return the ASCII code of the FIRST character > in a string. If you need several, you will have to use a loop. this is a very important info that i never take in consideration! that's why i always see in console the number "2", due the string always have the STX at begin of the buffer.. .. > You can think of the "^" prefix like subtracting &H40 from the next > character's ASCII code. > What you see as "^A" (analogous to Ctrl-A in the keyboard) refers to > ASCII control code SOH (ASCII &H01). > It comes from ASC("A") - &H40 = 1: The old teletype CONTROL keys just > resetted bit 6 (value is 64, or &H40) of the character key pressed with it. > I'm sure you saw "^[" when you press Escape in some (console) programs: > ASC("[" (ASCII ESC). > > The double-character combination you see is the OS's best effort to make > printable something that is not. So i can made a loop, that prints/add each converted char to a new variable.. but i tried it to made a llop : a) until Lof(Sport) but due data comes something > 8 bits i got two times the event _Read() so i must change to retund each char.. b) i cannot (or i dont know how) return each char, so i return the complete string, but dont work c) try with a while until Len(buffer) but dont work! due the event _Read if the data comes with 8 bits reach two times > Try this in Gambas: > > Dim myString As String = Chr$(27) 'Escape, char &H1B > Message.Info("Character '" & myString & "', ASCII code: " & Asc(myString)) > myString = "\n" 'Linefeed, char (ASCII &H0A) > Message.Info("Character '" & myString & "', ASCII code: " & Asc(myString)) i ask if can made a function to convert each result? by example: 1) the event _Read only returns the string 2) a function that received only when the _Read event will reach with data 3) the function only load a string if are data until receive the ACK or NOK ascii umm but right now i not have idea how in a subfuction trap the _read event... > > I also made Fiscal Printer Drivers. Under my belt are at least > Venezuela, Bulgaria, Chile, Panama, Argentina, and even Russia. > They are ALL a freaking pain in the lower back, and there are few -if > any- standards, as they all depend on crazy laws made by crazier people. > Bad news, I made them all in Win/VB6 for my company. Advantage of VB in > these cases is the existence of Win-libraries. respect that i mail private to you for more specific info and feedback From bugtracker at ...3416... Thu Dec 10 22:24:29 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 10 Dec 2015 21:24:29 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #854: IDE Crash when "Double Click" the Publish button on Publis Software Dialog In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.854&from=L21haW4- Comment #11 by gbWilly GAMBOS: I did not disconnect my internet to test. I didn't get a segfault, but what did happen is that my system was hung. I had to eventually force quit using the power button. System is unsing: QT4=libQtCore.so.4.8.1 (Last system in my systeminformation) From bugtracker at ...3416... Thu Dec 10 23:26:40 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 10 Dec 2015 22:26:40 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #854: IDE Crash when "Double Click" the Publish button on Publis Software Dialog In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.854&from=L21haW4- Comment #12 by Zainudin AHMAD: Thank you gbWill, have tried it in your system using the test project with/without Internet connection is no different. From author.ilmi at ...626... Thu Dec 10 23:53:23 2015 From: author.ilmi at ...626... (zainudin ahmad) Date: Fri, 11 Dec 2015 05:53:23 +0700 Subject: [Gambas-user] need tests together, I get segfault Message-ID: Hi All with this project (attach project) I get segfault message. may be someone have the same problem with me ?? sorry for my english. Thank you. -------------- next part -------------- A non-text attachment was scrubbed... Name: test-segFault-MessageForm-0.0.1.tar.gz Type: application/x-gzip Size: 12021 bytes Desc: not available URL: From bugtracker at ...3416... Fri Dec 11 00:14:53 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 10 Dec 2015 23:14:53 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #867: Interpreter Crash if any wait command in DrawingArea_Draw event In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.867&from=L21haW4- Comment #3 by Beno?t MINISINI: Done in revision #7511. Beno?t MINISINI changed the state of the bug to: Fixed. From eilert-sprachen at ...221... Fri Dec 11 08:54:01 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Fri, 11 Dec 2015 08:54:01 +0100 Subject: [Gambas-user] need tests together, I get segfault In-Reply-To: References: Message-ID: <566A8119.60900@...221...> Hi Ahmad, As far as I can see, it is running ok here: I click Test button, it says "please wait", then come two windows: the window with the title "segfault..." and a message window saying "hola". When I press ok, the other window remains with the button "test". So, where is the problem? Maybe a timing error on your machine? I do not understand the code completely, too many things I normally don't do. Perhaps on your system it wants to write something to an object that doesn't exist at that time? Regards Rolf Am 10.12.2015 23:53, schrieb zainudin ahmad: > Hi All > > with this project (attach project) I get segfault message. > > may be someone have the same problem with me ?? > > sorry for my english. > Thank you. > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From eilert-sprachen at ...221... Fri Dec 11 09:01:17 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Fri, 11 Dec 2015 09:01:17 +0100 Subject: [Gambas-user] Finding all function calls in IDE Message-ID: <566A82CD.3030307@...221...> Hi folks, There are some functions in a program which have too many arguments (arguments which aren't used in the function). I know that these functions are called from a number of places in the program. So if I want to get rid of these superfluous arguments, I would like to find all calls to this function. Is there a way in the IDE to get a list of the calls? Or do I have to do it with trial and error, killing the arguments, starting the program and wait for error messages? Regards Rolf From gambas.fr at ...626... Fri Dec 11 09:31:53 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 11 Dec 2015 09:31:53 +0100 Subject: [Gambas-user] Finding all function calls in IDE In-Reply-To: <566A82CD.3030307@...221...> References: <566A82CD.3030307@...221...> Message-ID: You can use the profiler,that will give you a list of the call then you can do that by hand. make a collection with the name of the arguments: Private hCol as Collection = ["ARG1":0, "ARG2":0,...] MyFunction(arg1, arg2,arg3... if arg1 then Inc hCol["ARG1"] if arg2 then Inc hCol["ARG1"] end Public sub MyForm_Close() for each i in hCol if i = 0 then print hCol.key & " is not used anymore" next end 2015-12-11 9:01 GMT+01:00 Rolf-Werner Eilert : > Hi folks, > > There are some functions in a program which have too many arguments > (arguments which aren't used in the function). I know that these > functions are called from a number of places in the program. > > So if I want to get rid of these superfluous arguments, I would like to > find all calls to this function. Is there a way in the IDE to get a list > of the calls? Or do I have to do it with trial and error, killing the > arguments, starting the program and wait for error messages? > > Regards > Rolf > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From taboege at ...626... Fri Dec 11 10:06:05 2015 From: taboege at ...626... (Tobias Boege) Date: Fri, 11 Dec 2015 10:06:05 +0100 Subject: [Gambas-user] Finding all function calls in IDE In-Reply-To: <566A82CD.3030307@...221...> References: <566A82CD.3030307@...221...> Message-ID: <20151211090605.GA11978@...2774...> On Fri, 11 Dec 2015, Rolf-Werner Eilert wrote: > Hi folks, > > There are some functions in a program which have too many arguments > (arguments which aren't used in the function). I know that these > functions are called from a number of places in the program. > > So if I want to get rid of these superfluous arguments, I would like to > find all calls to this function. Is there a way in the IDE to get a list > of the calls? Or do I have to do it with trial and error, killing the > arguments, starting the program and wait for error messages? > In case you haven't considered it, I'll state the obvious: search for the method's name. Press Ctrl+F, enter the function name and then at "Search in" select "Source files" and click "Browse". The IDE will display a neat list of occurences of the function name and some context from the line where the search string occurs. From that context you can quickly determine if the occurence is relevant. Click on a row in the grid and you jump to the right file and line to make your change. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From eilert-sprachen at ...221... Fri Dec 11 10:09:29 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Fri, 11 Dec 2015 10:09:29 +0100 Subject: [Gambas-user] Finding all function calls in IDE In-Reply-To: References: <566A82CD.3030307@...221...> Message-ID: <566A92C9.6050708@...221...> The profiler is a nice thing :) but it can list only functions that were jumped at during runtime. The same with your function. I've just found a "solution" after all: I jumped to the function and gave its name in the Find list for the whole project. Up comes a list which you can click on. There are couple of lines with comments with the word which didn't count, but I found all calls and could remove the arguments successfully. Regards Rolf Am 11.12.2015 09:31, schrieb Fabien Bodard: > You can use the profiler,that will give you a list of the call > > then you can do that by hand. > > make a collection with the name of the arguments: > > Private hCol as Collection = ["ARG1":0, "ARG2":0,...] > > > > MyFunction(arg1, arg2,arg3... > > if arg1 then Inc hCol["ARG1"] > if arg2 then Inc hCol["ARG1"] > > end > > > Public sub MyForm_Close() > > for each i in hCol > > if i = 0 then print hCol.key & " is not used anymore" > > next > > end > > > > > 2015-12-11 9:01 GMT+01:00 Rolf-Werner Eilert : >> Hi folks, >> >> There are some functions in a program which have too many arguments >> (arguments which aren't used in the function). I know that these >> functions are called from a number of places in the program. >> >> So if I want to get rid of these superfluous arguments, I would like to >> find all calls to this function. Is there a way in the IDE to get a list >> of the calls? Or do I have to do it with trial and error, killing the >> arguments, starting the program and wait for error messages? >> >> Regards >> Rolf >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > From gambas.fr at ...626... Fri Dec 11 10:19:36 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 11 Dec 2015 10:19:36 +0100 Subject: [Gambas-user] Finding all function calls in IDE In-Reply-To: <566A92C9.6050708@...221...> References: <566A82CD.3030307@...221...> <566A92C9.6050708@...221...> Message-ID: 2015-12-11 10:09 GMT+01:00 Rolf-Werner Eilert : > The profiler is a nice thing :) but it can list only functions that were > jumped at during runtime. The same with your function. > > I've just found a "solution" after all: I jumped to the function and > gave its name in the Find list for the whole project. Up comes a list > which you can click on. There are couple of lines with comments with the > word which didn't count, but I found all calls and could remove the > arguments successfully. > > Regards great ! > Rolf > > > Am 11.12.2015 09:31, schrieb Fabien Bodard: >> You can use the profiler,that will give you a list of the call >> >> then you can do that by hand. >> >> make a collection with the name of the arguments: >> >> Private hCol as Collection = ["ARG1":0, "ARG2":0,...] >> >> >> >> MyFunction(arg1, arg2,arg3... >> >> if arg1 then Inc hCol["ARG1"] >> if arg2 then Inc hCol["ARG1"] >> >> end >> >> >> Public sub MyForm_Close() >> >> for each i in hCol >> >> if i = 0 then print hCol.key & " is not used anymore" >> >> next >> >> end >> >> >> >> >> 2015-12-11 9:01 GMT+01:00 Rolf-Werner Eilert : >>> Hi folks, >>> >>> There are some functions in a program which have too many arguments >>> (arguments which aren't used in the function). I know that these >>> functions are called from a number of places in the program. >>> >>> So if I want to get rid of these superfluous arguments, I would like to >>> find all calls to this function. Is there a way in the IDE to get a list >>> of the calls? Or do I have to do it with trial and error, killing the >>> arguments, starting the program and wait for error messages? >>> >>> Regards >>> Rolf >>> >>> >>> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> 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 -- Fabien Bodard From eilert-sprachen at ...221... Fri Dec 11 11:06:23 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Fri, 11 Dec 2015 11:06:23 +0100 Subject: [Gambas-user] Finding all function calls in IDE In-Reply-To: <20151211090605.GA11978@...2774...> References: <566A82CD.3030307@...221...> <20151211090605.GA11978@...2774...> Message-ID: <566AA01F.1010301@...221...> Am 11.12.2015 10:06, schrieb Tobias Boege: > On Fri, 11 Dec 2015, Rolf-Werner Eilert wrote: >> Hi folks, >> >> There are some functions in a program which have too many arguments >> (arguments which aren't used in the function). I know that these >> functions are called from a number of places in the program. >> >> So if I want to get rid of these superfluous arguments, I would like to >> find all calls to this function. Is there a way in the IDE to get a list >> of the calls? Or do I have to do it with trial and error, killing the >> arguments, starting the program and wait for error messages? >> > In case you haven't considered it, I'll state the obvious: search for the > method's name. Press Ctrl+F, enter the function name and then at "Search in" > select "Source files" and click "Browse". > > The IDE will display a neat list of occurences of the function name and some > context from the line where the search string occurs. From that context you > can quickly determine if the occurence is relevant. Click on a row in the > grid and you jump to the right file and line to make your change. > > Regards, > Tobi > Yes :) and I found it, as I wrote to Fabien. Don't know why I didn't find this solution any earlier... Regards Rolf From Karl.Reinl at ...2345... Fri Dec 11 11:20:12 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Fri, 11 Dec 2015 11:20:12 +0100 Subject: [Gambas-user] need tests together, I get segfault In-Reply-To: References: Message-ID: <1449829212.3612.1.camel@...40...> Am Freitag, den 11.12.2015, 05:53 +0700 schrieb zainudin ahmad: > Hi All > > with this project (attach project) I get segfault message. > > may be someone have the same problem with me ?? > > sorry for my english. > Thank you. Salut, got no segfault, but freez my Desktop. [System] Gambas=3.8.90 r7503 OperatingSystem=Linux Kernel=3.2.0-95-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=GNOME Theme=Plastique 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+2=libgtk-x11-2.0.so.0.2400.10 GTK+3=libgtk-3.so.0.400.2 Poppler=libpoppler.so.19.0.0 QT4=libQtCore.so.4.8.1 SDL=libSDL-1.2.so.0.11.3 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-qkJsRVRaA6,guid=0cbf9abe82a4e76ff32051890000008d DEFAULTS_PATH=/usr/share/gconf/gnome-shell.default.path DESKTOP_SESSION=gnome-shell DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=gnome-shell GDM_LANG=de_DE.UTF-8 GIO_LAUNCHED_DESKTOP_FILE=/.local/share/applications/Gambas III.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=3651 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL=/tmp/keyring-WhIKjh GNOME_KEYRING_PID=3204 GPG_AGENT_INFO=/tmp/keyring-WhIKjh/gpg:0:1 GTK_MODULES=canberra-gtk-module HOME= LANG=de_DE.UTF-8 LANGUAGE=de_DE:en LC_MESSAGES=de_DE.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/gnome-shell.mandatory.path PATH=/usr/local/bin:/usr/bin:/bin:/usr/games PWD= QT_ACCESSIBILITY=1 QT_NO_GLIB=1 SESSION_MANAGER=local/:@/tmp/.ICE-unix/3221,unix/:/tmp/.ICE-unix/3221 SHELL=/bin/bash SPEECHD_PORT=7560 SSH_AGENT_PID=3365 SSH_AUTH_SOCK=/tmp/keyring-WhIKjh/ssh TZ=:/etc/localtime UBUNTU_MENUPROXY=libappmenu.so USER= USERNAME= WINDOWPATH=7 XAUTHORITY=/var/run/gdm/auth-for--G4Wbdp/database XDG_CONFIG_DIRS=/etc/xdg/xdg-gnome-shell:/etc/xdg XDG_CURRENT_DESKTOP=GNOME XDG_DATA_DIRS=/usr/share/gnome-shell:/usr/share/gnome:/usr/local/share/:/usr/share/ XDG_SESSION_COOKIE=42f49d43f50733c401e4460348762a43-1449828984.177762-1623961532 -- Amicalement Charlie From eilert-sprachen at ...221... Fri Dec 11 12:13:47 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Fri, 11 Dec 2015 12:13:47 +0100 Subject: [Gambas-user] GridView - Width of row header In-Reply-To: <56692BCD.1060506@...221...> References: <56692BCD.1060506@...221...> Message-ID: <566AAFEB.6070001@...221...> No one here who knows how to achieve this? Regards Rolf Am 10.12.2015 08:37, schrieb Rolf-Werner Eilert: > In an older project with Gambas2, I needed to pick the X position of the > cells. The GridView has Headers = Both. It seems it started counting > with 0 at the first white column, i. e. behind the row header, so never > mind how wide the header was, it would always find the correct position. > > In Gambas3 it seems to start counting with 0 at the leftmost position of > the GridView, i. e. on the left side of the row header. So when the > width of the header varies, how could I find out the width of the header > column, as Column[0] is the first white one? > > Thanks for your help! > > Rolf > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Fri Dec 11 12:39:19 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 11 Dec 2015 12:39:19 +0100 Subject: [Gambas-user] GridView - Width of row header In-Reply-To: <566AAFEB.6070001@...221...> References: <56692BCD.1060506@...221...> <566AAFEB.6070001@...221...> Message-ID: <566AB5E7.4090101@...1...> Le 11/12/2015 12:13, Rolf-Werner Eilert a ?crit : > No one here who knows how to achieve this? > > Regards > Rolf > > Am 10.12.2015 08:37, schrieb Rolf-Werner Eilert: >> In an older project with Gambas2, I needed to pick the X position of the >> cells. The GridView has Headers = Both. It seems it started counting >> with 0 at the first white column, i. e. behind the row header, so never >> mind how wide the header was, it would always find the correct position. >> >> In Gambas3 it seems to start counting with 0 at the leftmost position of >> the GridView, i. e. on the left side of the row header. So when the >> width of the header varies, how could I find out the width of the header >> column, as Column[0] is the first white one? >> >> Thanks for your help! >> >> Rolf >> GridView.Rows.Width returns the width of the row header. GridView.Columns.Height returns the height of the column header. Regards, -- Beno?t Minisini From eilert-sprachen at ...221... Fri Dec 11 13:14:29 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Fri, 11 Dec 2015 13:14:29 +0100 Subject: [Gambas-user] GridView - Width of row header In-Reply-To: <566AB5E7.4090101@...1...> References: <56692BCD.1060506@...221...> <566AAFEB.6070001@...221...> <566AB5E7.4090101@...1...> Message-ID: <566ABE25.1020205@...221...> Am 11.12.2015 12:39, schrieb Beno?t Minisini: > Le 11/12/2015 12:13, Rolf-Werner Eilert a ?crit : >> No one here who knows how to achieve this? >> >> Regards >> Rolf >> >> Am 10.12.2015 08:37, schrieb Rolf-Werner Eilert: >>> In an older project with Gambas2, I needed to pick the X position of the >>> cells. The GridView has Headers = Both. It seems it started counting >>> with 0 at the first white column, i. e. behind the row header, so never >>> mind how wide the header was, it would always find the correct position. >>> >>> In Gambas3 it seems to start counting with 0 at the leftmost position of >>> the GridView, i. e. on the left side of the row header. So when the >>> width of the header varies, how could I find out the width of the header >>> column, as Column[0] is the first white one? >>> >>> Thanks for your help! >>> >>> Rolf >>> > GridView.Rows.Width returns the width of the row header. > GridView.Columns.Height returns the height of the column header. > > Regards, > Arrgh - Thank you! Why didn't I find that? Maybe one reason was that the automatic only shows GridView.Row and reacts only when you type the 's.' "blindly", and then shows the list again. So I couldn't find it from trying. But it's not so logical to have it there. IMHO it would be clearer if all things regarding the headers would appear under a keyword Title or Head[er]. Anyway, I corrected it, and now it runs perfectly :) Have a nice weekend, I'll be back on Monday. Regards Rolf From gambas at ...1... Fri Dec 11 13:18:03 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 11 Dec 2015 13:18:03 +0100 Subject: [Gambas-user] GridView - Width of row header In-Reply-To: <566ABE25.1020205@...221...> References: <56692BCD.1060506@...221...> <566AAFEB.6070001@...221...> <566AB5E7.4090101@...1...> <566ABE25.1020205@...221...> Message-ID: <566ABEFB.5090609@...1...> Le 11/12/2015 13:14, Rolf-Werner Eilert a ?crit : > > Arrgh - Thank you! > > Why didn't I find that? Maybe one reason was that the automatic only > shows GridView.Row and reacts only when you type the 's.' "blindly", and > then shows the list again. So I couldn't find it from trying. > > But it's not so logical to have it there. IMHO it would be clearer if > all things regarding the headers would appear under a keyword Title or > Head[er]. > > Anyway, I corrected it, and now it runs perfectly :) Have a nice > weekend, I'll be back on Monday. > > Regards > Rolf > Actually there is some logic, as the row header width is stored in the internal object that manages the rows and computes that width. Same thing for the column header. Regards, -- Beno?t Minisini From bagonergi at ...626... Fri Dec 11 16:26:17 2015 From: bagonergi at ...626... (Gianluigi) Date: Fri, 11 Dec 2015 16:26:17 +0100 Subject: [Gambas-user] DateChooser strange behavior Message-ID: Why this simple code works only between 1 and 12 of each month? Public Sub DateChooser1_Change() Dim d As Date, s As Integer, valore As String d = Date(DateChooser1.Value) valore = CString(d) s = Week(d) TextBox1.Text = s & " - " & CString(Val(valore)) End Regards Gianluigi From bagonergi at ...626... Fri Dec 11 16:53:30 2015 From: bagonergi at ...626... (Gianluigi) Date: Fri, 11 Dec 2015 16:53:30 +0100 Subject: [Gambas-user] DateChooser strange behavior In-Reply-To: References: Message-ID: Another anomaly Print Now; " -> "; Date(Now) return 11/12/2015 16:47:16 -> 11/12/2015 00:00:00 Regards Gianluigi [System] Gambas=3.8.3 OperatingSystem=Linux Kernel=3.19.0-39-generic Architecture=x86_64 Distribution=Ubuntu 14.04.3 LTS Desktop=GNOME Theme=Gtk Language=it_IT.UTF-8 Memory=15976M [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+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 [Environment] CLUTTER_IM_MODULE=xim COMPIZ_BIN_PATH=/usr/bin/ COMPIZ_CONFIG_PROFILE=ubuntu DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-iZt11q855q DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path DESKTOP_SESSION=ubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=ubuntu GDM_LANG=it GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=5725 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL=/run/user/1000/keyring-gsGwmn GNOME_KEYRING_PID=1372 GPG_AGENT_INFO=/run/user/1000/keyring-gsGwmn/gpg:0:1 GTK_IM_MODULE=ibus GTK_MODULES=overlay-scrollbar:unity-gtk-module HOME=/home/ IM_CONFIG_PHASE=1 INSTANCE= JOB=dbus LANG=it_IT.UTF-8 LANGUAGE=it LOGNAME= MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD=/home/ QT4_IM_MODULE=xim QT_IM_MODULE=ibus QT_QPA_PLATFORMTHEME=appmenu-qt5 SELINUX_INIT=YES SESSION=ubuntu SESSIONTYPE=gnome-session SESSION_MANAGER=local/:@/tmp/.ICE-unix/1420,unix/:/tmp/.ICE-unix/1420 SHELL=/bin/bash SHLVL=0 SSH_AUTH_SOCK=/run/user/1000/keyring-gsGwmn/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1285 USER= XAUTHORITY=/home//.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg XDG_CURRENT_DESKTOP=Unity XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/ XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=gnome- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_ID=c1 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_VTNR=7 XMODIFIERS=@im=ibus 2015-12-11 16:26 GMT+01:00 Gianluigi : > Why this simple code works only between 1 and 12 of each month? > > Public Sub DateChooser1_Change() > Dim d As Date, s As Integer, valore As String > > d = Date(DateChooser1.Value) > valore = CString(d) > s = Week(d) > TextBox1.Text = s & " - " & CString(Val(valore)) > End > > Regards > Gianluigi > From charlie at ...2793... Fri Dec 11 15:53:29 2015 From: charlie at ...2793... (Charlie) Date: Fri, 11 Dec 2015 07:53:29 -0700 (MST) Subject: [Gambas-user] Variation in output Message-ID: <1449845609134-54889.post@...3046...> Can someone have a look at a bug that I have run into. The output inside the IDE is as expected but when made into an executable the output is very different. Output when run in the IDE as expected: - Run_in_IDE.png Output when running as an executable: - Run_as_executable.png Here is a program that will demonstrate the error. Please note that 'inxi' will need to be installed, the 'System information' is at the bottom of the code: - Execute_bug.gz Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/Variation-in-output-tp54889.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Fri Dec 11 17:00:21 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 11 Dec 2015 17:00:21 +0100 Subject: [Gambas-user] DateChooser strange behavior In-Reply-To: References: Message-ID: <566AF315.90405@...1...> Le 11/12/2015 16:26, Gianluigi a ?crit : > Why this simple code works only between 1 and 12 of each month? > > Public Sub DateChooser1_Change() > Dim d As Date, s As Integer, valore As String > > d = Date(DateChooser1.Value) > valore = CString(d) > s = Week(d) > TextBox1.Text = s & " - " & CString(Val(valore)) > End > > Regards > Gianluigi What's your localization? You cannot mix localized (Val) and not-localized (CString) functions without writing rubbish code. -- Beno?t Minisini From gambas at ...1... Fri Dec 11 17:00:50 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 11 Dec 2015 17:00:50 +0100 Subject: [Gambas-user] DateChooser strange behavior In-Reply-To: References: Message-ID: <566AF332.9060301@...1...> Le 11/12/2015 16:53, Gianluigi a ?crit : > Another anomaly > Print Now; " -> "; Date(Now) > return > 11/12/2015 16:47:16 -> 11/12/2015 00:00:00 > Regards > Gianluigi > What's the anomaly? -- Beno?t Minisini From jussi.lahtinen at ...626... Fri Dec 11 18:31:24 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 11 Dec 2015 19:31:24 +0200 Subject: [Gambas-user] Variation in output In-Reply-To: <1449845609134-54889.post@...3046...> References: <1449845609134-54889.post@...3046...> Message-ID: The file (execute_bug.gz) seems to be corrupted, I can't open it. Is that output to terminal? Maybe it is, because of your terminal settings? Jussi On Fri, Dec 11, 2015 at 4:53 PM, Charlie wrote: > Can someone have a look at a bug that I have run into. The output inside > the > IDE is as expected but when made into an executable the output is very > different. > Output when run in the IDE as expected: - Run_in_IDE.png > > Output when running as an executable: - Run_as_executable.png > > Here is a program that will demonstrate the error. Please note that 'inxi' > will need to be installed, the 'System information' is at the bottom of the > code: - Execute_bug.gz > > Thanks > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/Variation-in-output-tp54889.html > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Fri Dec 11 18:34:46 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 11 Dec 2015 19:34:46 +0200 Subject: [Gambas-user] DateChooser strange behavior In-Reply-To: References: Message-ID: Date() returns only date part. See Time(). Jussi On Fri, Dec 11, 2015 at 5:53 PM, Gianluigi wrote: > Another anomaly > Print Now; " -> "; Date(Now) > return > 11/12/2015 16:47:16 -> 11/12/2015 00:00:00 > Regards > Gianluigi > > [System] > Gambas=3.8.3 > OperatingSystem=Linux > Kernel=3.19.0-39-generic > Architecture=x86_64 > Distribution=Ubuntu 14.04.3 LTS > Desktop=GNOME > Theme=Gtk > Language=it_IT.UTF-8 > Memory=15976M > > [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+2=libgtk-x11-2.0.so.0.2400.23 > GTK+3=libgtk-3.so.0.1000.8 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.44.0.0 > QT4=libQtCore.so.4.8.6 > QT5=libQt5Core.so.5.2.1 > SDL=libSDL-1.2.so.0.11.4 > > [Environment] > CLUTTER_IM_MODULE=xim > COMPIZ_BIN_PATH=/usr/bin/ > COMPIZ_CONFIG_PROFILE=ubuntu > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-iZt11q855q > DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path > DESKTOP_SESSION=ubuntu > DISPLAY=:0 > GB_GUI=gb.qt4 > GDMSESSION=ubuntu > GDM_LANG=it > GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop > GIO_LAUNCHED_DESKTOP_FILE_PID=5725 > GNOME_DESKTOP_SESSION_ID=this-is-deprecated > GNOME_KEYRING_CONTROL=/run/user/1000/keyring-gsGwmn > GNOME_KEYRING_PID=1372 > GPG_AGENT_INFO=/run/user/1000/keyring-gsGwmn/gpg:0:1 > GTK_IM_MODULE=ibus > GTK_MODULES=overlay-scrollbar:unity-gtk-module > HOME=/home/ > IM_CONFIG_PHASE=1 > INSTANCE= > JOB=dbus > LANG=it_IT.UTF-8 > LANGUAGE=it > LOGNAME= > MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path > > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games > PWD=/home/ > QT4_IM_MODULE=xim > QT_IM_MODULE=ibus > QT_QPA_PLATFORMTHEME=appmenu-qt5 > SELINUX_INIT=YES > SESSION=ubuntu > SESSIONTYPE=gnome-session > > SESSION_MANAGER=local/:@/tmp/.ICE-unix/1420,unix/:/tmp/.ICE-unix/1420 > SHELL=/bin/bash > SHLVL=0 > SSH_AUTH_SOCK=/run/user/1000/keyring-gsGwmn/ssh > TEXTDOMAIN=im-config > TEXTDOMAINDIR=/usr/share/locale/ > TZ=:/etc/localtime > UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1285 > USER= > XAUTHORITY=/home//.Xauthority > XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg > XDG_CURRENT_DESKTOP=Unity > > XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/ > XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ > XDG_MENU_PREFIX=gnome- > XDG_RUNTIME_DIR=/run/user/1000 > XDG_SEAT=seat0 > XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 > XDG_SESSION_ID=c1 > XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 > XDG_VTNR=7 > XMODIFIERS=@im=ibus > > 2015-12-11 16:26 GMT+01:00 Gianluigi : > > > Why this simple code works only between 1 and 12 of each month? > > > > Public Sub DateChooser1_Change() > > Dim d As Date, s As Integer, valore As String > > > > d = Date(DateChooser1.Value) > > valore = CString(d) > > s = Week(d) > > TextBox1.Text = s & " - " & CString(Val(valore)) > > End > > > > Regards > > Gianluigi > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bagonergi at ...626... Fri Dec 11 19:38:31 2015 From: bagonergi at ...626... (Gianluigi) Date: Fri, 11 Dec 2015 19:38:31 +0100 Subject: [Gambas-user] DateChooser strange behavior In-Reply-To: <566AF315.90405@...1...> References: <566AF315.90405@...1...> Message-ID: OK Benoit, I want to get exactly what you get from 1 to 12. How do I get over the whole month? I mean: If they are in Italy 52 ? 25/12/2015 and if they are in the USA 52 - 12/25/2015 Regards Gianluigi 2015-12-11 17:00 GMT+01:00 Beno?t Minisini : > Le 11/12/2015 16:26, Gianluigi a ?crit : > > Why this simple code works only between 1 and 12 of each month? > > > > Public Sub DateChooser1_Change() > > Dim d As Date, s As Integer, valore As String > > > > d = Date(DateChooser1.Value) > > valore = CString(d) > > s = Week(d) > > TextBox1.Text = s & " - " & CString(Val(valore)) > > End > > > > Regards > > Gianluigi > > What's your localization? > > You cannot mix localized (Val) and not-localized (CString) functions > without writing rubbish code. > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bagonergi at ...626... Fri Dec 11 19:46:52 2015 From: bagonergi at ...626... (Gianluigi) Date: Fri, 11 Dec 2015 19:46:52 +0100 Subject: [Gambas-user] DateChooser strange behavior In-Reply-To: References: Message-ID: If I use "Date" I give only the date and not hours, minutes and seconds although it is written as zero. It is the documentation that says so. Regards Gianluigi 2015-12-11 18:34 GMT+01:00 Jussi Lahtinen : > Date() returns only date part. See Time(). > > > Jussi > > On Fri, Dec 11, 2015 at 5:53 PM, Gianluigi wrote: > > > Another anomaly > > Print Now; " -> "; Date(Now) > > return > > 11/12/2015 16:47:16 -> 11/12/2015 00:00:00 > > Regards > > Gianluigi > > > > [System] > > Gambas=3.8.3 > > OperatingSystem=Linux > > Kernel=3.19.0-39-generic > > Architecture=x86_64 > > Distribution=Ubuntu 14.04.3 LTS > > Desktop=GNOME > > Theme=Gtk > > Language=it_IT.UTF-8 > > Memory=15976M > > > > [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+2=libgtk-x11-2.0.so.0.2400.23 > > GTK+3=libgtk-3.so.0.1000.8 > > OpenGL=libGL.so.1.2.0 > > Poppler=libpoppler.so.44.0.0 > > QT4=libQtCore.so.4.8.6 > > QT5=libQt5Core.so.5.2.1 > > SDL=libSDL-1.2.so.0.11.4 > > > > [Environment] > > CLUTTER_IM_MODULE=xim > > COMPIZ_BIN_PATH=/usr/bin/ > > COMPIZ_CONFIG_PROFILE=ubuntu > > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-iZt11q855q > > DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path > > DESKTOP_SESSION=ubuntu > > DISPLAY=:0 > > GB_GUI=gb.qt4 > > GDMSESSION=ubuntu > > GDM_LANG=it > > GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop > > GIO_LAUNCHED_DESKTOP_FILE_PID=5725 > > GNOME_DESKTOP_SESSION_ID=this-is-deprecated > > GNOME_KEYRING_CONTROL=/run/user/1000/keyring-gsGwmn > > GNOME_KEYRING_PID=1372 > > GPG_AGENT_INFO=/run/user/1000/keyring-gsGwmn/gpg:0:1 > > GTK_IM_MODULE=ibus > > GTK_MODULES=overlay-scrollbar:unity-gtk-module > > HOME=/home/ > > IM_CONFIG_PHASE=1 > > INSTANCE= > > JOB=dbus > > LANG=it_IT.UTF-8 > > LANGUAGE=it > > LOGNAME= > > MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path > > > > > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games > > PWD=/home/ > > QT4_IM_MODULE=xim > > QT_IM_MODULE=ibus > > QT_QPA_PLATFORMTHEME=appmenu-qt5 > > SELINUX_INIT=YES > > SESSION=ubuntu > > SESSIONTYPE=gnome-session > > > > > SESSION_MANAGER=local/:@/tmp/.ICE-unix/1420,unix/:/tmp/.ICE-unix/1420 > > SHELL=/bin/bash > > SHLVL=0 > > SSH_AUTH_SOCK=/run/user/1000/keyring-gsGwmn/ssh > > TEXTDOMAIN=im-config > > TEXTDOMAINDIR=/usr/share/locale/ > > TZ=:/etc/localtime > > UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1285 > > USER= > > XAUTHORITY=/home//.Xauthority > > XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg > > XDG_CURRENT_DESKTOP=Unity > > > > > XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/ > > XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ > > XDG_MENU_PREFIX=gnome- > > XDG_RUNTIME_DIR=/run/user/1000 > > XDG_SEAT=seat0 > > XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 > > XDG_SESSION_ID=c1 > > XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 > > XDG_VTNR=7 > > XMODIFIERS=@im=ibus > > > > 2015-12-11 16:26 GMT+01:00 Gianluigi : > > > > > Why this simple code works only between 1 and 12 of each month? > > > > > > Public Sub DateChooser1_Change() > > > Dim d As Date, s As Integer, valore As String > > > > > > d = Date(DateChooser1.Value) > > > valore = CString(d) > > > s = Week(d) > > > TextBox1.Text = s & " - " & CString(Val(valore)) > > > End > > > > > > Regards > > > Gianluigi > > > > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > 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 bagonergi at ...626... Fri Dec 11 20:06:17 2015 From: bagonergi at ...626... (Gianluigi) Date: Fri, 11 Dec 2015 20:06:17 +0100 Subject: [Gambas-user] DateChooser strange behavior In-Reply-To: References: <566AF315.90405@...1...> Message-ID: Oh I forgot, if property environment on LANG=C;LC_ALL=C my code work well ? Gianluigi 2015-12-11 19:38 GMT+01:00 Gianluigi : > OK Benoit, > I want to get exactly what you get from 1 to 12. > How do I get over the whole month? > I mean: If they are in Italy 52 ? 25/12/2015 and if they are in the USA 52 > - 12/25/2015 > > Regards > Gianluigi > > 2015-12-11 17:00 GMT+01:00 Beno?t Minisini : > >> Le 11/12/2015 16:26, Gianluigi a ?crit : >> > Why this simple code works only between 1 and 12 of each month? >> > >> > Public Sub DateChooser1_Change() >> > Dim d As Date, s As Integer, valore As String >> > >> > d = Date(DateChooser1.Value) >> > valore = CString(d) >> > s = Week(d) >> > TextBox1.Text = s & " - " & CString(Val(valore)) >> > End >> > >> > Regards >> > Gianluigi >> >> What's your localization? >> >> You cannot mix localized (Val) and not-localized (CString) functions >> without writing rubbish code. >> >> -- >> Beno?t Minisini >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From gambas.fr at ...626... Fri Dec 11 20:15:25 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 11 Dec 2015 20:15:25 +0100 Subject: [Gambas-user] Variation in output In-Reply-To: References: <1449845609134-54889.post@...3046...> Message-ID: try to change the charset for outout. 2015-12-11 18:31 GMT+01:00 Jussi Lahtinen : > The file (execute_bug.gz) seems to be corrupted, I can't open it. > Is that output to terminal? Maybe it is, because of your terminal settings? > > > Jussi > > On Fri, Dec 11, 2015 at 4:53 PM, Charlie wrote: > >> Can someone have a look at a bug that I have run into. The output inside >> the >> IDE is as expected but when made into an executable the output is very >> different. >> Output when run in the IDE as expected: - Run_in_IDE.png >> >> Output when running as an executable: - Run_as_executable.png >> >> Here is a program that will demonstrate the error. Please note that 'inxi' >> will need to be installed, the 'System information' is at the bottom of the >> code: - Execute_bug.gz >> >> Thanks >> >> >> >> -- >> View this message in context: >> http://gambas.8142.n7.nabble.com/Variation-in-output-tp54889.html >> Sent from the gambas-user mailing list archive at Nabble.com. >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> 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 -- Fabien Bodard From gambas at ...1... Fri Dec 11 20:28:27 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 11 Dec 2015 20:28:27 +0100 Subject: [Gambas-user] DateChooser strange behavior In-Reply-To: References: <566AF315.90405@...1...> Message-ID: <566B23DB.7050408@...1...> Le 11/12/2015 19:38, Gianluigi a ?crit : > OK Benoit, > I want to get exactly what you get from 1 to 12. > How do I get over the whole month? > I mean: If they are in Italy 52 ? 25/12/2015 and if they are in the USA 52 > - 12/25/2015 > > Regards > Gianluigi > I don't understand what you want to achieve. But please read the documentation about Val(), Str(), CDate() and CStr() to understand the difference between a localized string and a not-localized string. Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Fri Dec 11 20:57:07 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 11 Dec 2015 21:57:07 +0200 Subject: [Gambas-user] DateChooser strange behavior In-Reply-To: References: Message-ID: OK, so you mean this: Print Now; " -> "; Date(Now) ------------------------------ 05/16/2002 15:10:59 -> 05/16/2002 There was some reason for this change... documentation is not accurate in this part. Perhaps it's Print that converts date part to date&time format before displaying it. Jussi On Fri, Dec 11, 2015 at 8:46 PM, Gianluigi wrote: > If I use "Date" I give only the date and not hours, minutes and seconds > although it is written as zero. > It is the documentation that says so. > > Regards > Gianluigi > > 2015-12-11 18:34 GMT+01:00 Jussi Lahtinen : > > > Date() returns only date part. See Time(). > > > > > > Jussi > > > > On Fri, Dec 11, 2015 at 5:53 PM, Gianluigi wrote: > > > > > Another anomaly > > > Print Now; " -> "; Date(Now) > > > return > > > 11/12/2015 16:47:16 -> 11/12/2015 00:00:00 > > > Regards > > > Gianluigi > > > > > > [System] > > > Gambas=3.8.3 > > > OperatingSystem=Linux > > > Kernel=3.19.0-39-generic > > > Architecture=x86_64 > > > Distribution=Ubuntu 14.04.3 LTS > > > Desktop=GNOME > > > Theme=Gtk > > > Language=it_IT.UTF-8 > > > Memory=15976M > > > > > > [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+2=libgtk-x11-2.0.so.0.2400.23 > > > GTK+3=libgtk-3.so.0.1000.8 > > > OpenGL=libGL.so.1.2.0 > > > Poppler=libpoppler.so.44.0.0 > > > QT4=libQtCore.so.4.8.6 > > > QT5=libQt5Core.so.5.2.1 > > > SDL=libSDL-1.2.so.0.11.4 > > > > > > [Environment] > > > CLUTTER_IM_MODULE=xim > > > COMPIZ_BIN_PATH=/usr/bin/ > > > COMPIZ_CONFIG_PROFILE=ubuntu > > > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-iZt11q855q > > > DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path > > > DESKTOP_SESSION=ubuntu > > > DISPLAY=:0 > > > GB_GUI=gb.qt4 > > > GDMSESSION=ubuntu > > > GDM_LANG=it > > > GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop > > > GIO_LAUNCHED_DESKTOP_FILE_PID=5725 > > > GNOME_DESKTOP_SESSION_ID=this-is-deprecated > > > GNOME_KEYRING_CONTROL=/run/user/1000/keyring-gsGwmn > > > GNOME_KEYRING_PID=1372 > > > GPG_AGENT_INFO=/run/user/1000/keyring-gsGwmn/gpg:0:1 > > > GTK_IM_MODULE=ibus > > > GTK_MODULES=overlay-scrollbar:unity-gtk-module > > > HOME=/home/ > > > IM_CONFIG_PHASE=1 > > > INSTANCE= > > > JOB=dbus > > > LANG=it_IT.UTF-8 > > > LANGUAGE=it > > > LOGNAME= > > > MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path > > > > > > > > > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games > > > PWD=/home/ > > > QT4_IM_MODULE=xim > > > QT_IM_MODULE=ibus > > > QT_QPA_PLATFORMTHEME=appmenu-qt5 > > > SELINUX_INIT=YES > > > SESSION=ubuntu > > > SESSIONTYPE=gnome-session > > > > > > > > > SESSION_MANAGER=local/:@/tmp/.ICE-unix/1420,unix/:/tmp/.ICE-unix/1420 > > > SHELL=/bin/bash > > > SHLVL=0 > > > SSH_AUTH_SOCK=/run/user/1000/keyring-gsGwmn/ssh > > > TEXTDOMAIN=im-config > > > TEXTDOMAINDIR=/usr/share/locale/ > > > TZ=:/etc/localtime > > > UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1285 > > > USER= > > > XAUTHORITY=/home//.Xauthority > > > XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg > > > XDG_CURRENT_DESKTOP=Unity > > > > > > > > > XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/ > > > XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ > > > XDG_MENU_PREFIX=gnome- > > > XDG_RUNTIME_DIR=/run/user/1000 > > > XDG_SEAT=seat0 > > > XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 > > > XDG_SESSION_ID=c1 > > > XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 > > > XDG_VTNR=7 > > > XMODIFIERS=@im=ibus > > > > > > 2015-12-11 16:26 GMT+01:00 Gianluigi : > > > > > > > Why this simple code works only between 1 and 12 of each month? > > > > > > > > Public Sub DateChooser1_Change() > > > > Dim d As Date, s As Integer, valore As String > > > > > > > > d = Date(DateChooser1.Value) > > > > valore = CString(d) > > > > s = Week(d) > > > > TextBox1.Text = s & " - " & CString(Val(valore)) > > > > End > > > > > > > > Regards > > > > Gianluigi > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > > > 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 > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bagonergi at ...626... Fri Dec 11 23:22:25 2015 From: bagonergi at ...626... (Gianluigi) Date: Fri, 11 Dec 2015 23:22:25 +0100 Subject: [Gambas-user] DateChooser strange behavior In-Reply-To: <566B23DB.7050408@...1...> References: <566AF315.90405@...1...> <566B23DB.7050408@...1...> Message-ID: Dear Benoit, I apologize for my poor English. I would like to get from the DateChoser localized date. Example: If the code runs on a computer in Italy 25/12/2015 in USA 12/25/2015. Thank you Gianluigi 2015-12-11 20:28 GMT+01:00 Beno?t Minisini : > Le 11/12/2015 19:38, Gianluigi a ?crit : > > OK Benoit, > > I want to get exactly what you get from 1 to 12. > > How do I get over the whole month? > > I mean: If they are in Italy 52 ? 25/12/2015 and if they are in the USA > 52 > > - 12/25/2015 > > > > Regards > > Gianluigi > > > > I don't understand what you want to achieve. > > But please read the documentation about Val(), Str(), CDate() and CStr() > to understand the difference between a localized string and a > not-localized string. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Fri Dec 11 23:40:15 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 12 Dec 2015 00:40:15 +0200 Subject: [Gambas-user] DateChooser strange behavior In-Reply-To: References: <566AF315.90405@...1...> <566B23DB.7050408@...1...> Message-ID: > > Example: If the code runs on a computer in Italy 25/12/2015 in USA > 12/25/2015. > Yes, that will happen automatically, unless you use non-localized functions like CDate(). Jussi From moviga at ...3488... Fri Dec 11 23:48:07 2015 From: moviga at ...3488... (Moviga Technologies) Date: Fri, 11 Dec 2015 23:48:07 +0100 Subject: [Gambas-user] Declaring variables in class header without Public/Private is possible... Message-ID: I was a bit puzzled to find that my program works fine without Public or Private in the variable declarations in the class header. Are they Public or Private, or is this a bug? From gambas at ...1... Fri Dec 11 23:49:50 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 11 Dec 2015 23:49:50 +0100 Subject: [Gambas-user] DateChooser strange behavior In-Reply-To: References: <566AF315.90405@...1...> <566B23DB.7050408@...1...> Message-ID: <566B530E.6040003@...1...> Le 11/12/2015 23:22, Gianluigi a ?crit : > Dear Benoit, > I apologize for my poor English. > I would like to get from the DateChoser localized date. > Example: If the code runs on a computer in Italy 25/12/2015 in USA > 12/25/2015. > Thank you > Gianluigi > Don't confuse a date value and its string representation. The DateChooser returns you a date, and a date is a date. It's up to you to transform it into a localized string representation (Str$ or Format$) or a non-localized string representation (CStr), according to what you need. Regards, -- Beno?t Minisini From gambas at ...1... Fri Dec 11 23:54:40 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 11 Dec 2015 23:54:40 +0100 Subject: [Gambas-user] Declaring variables in class header without Public/Private is possible... In-Reply-To: References: Message-ID: <566B5430.509@...1...> Le 11/12/2015 23:48, Moviga Technologies a ?crit : > > > I was a bit puzzled to find that my program works fine without Public or > Private in the variable declarations in the class header. > > Are they Public or Private, or is this a bug? Things are PRIVATE by default, but it was not necessarily a good idea to allow that. Maybe I should remove that, but it's not backward-compatible, so many programs will not compile anymore. Regards, -- Beno?t Minisini From moviga at ...3488... Fri Dec 11 23:57:27 2015 From: moviga at ...3488... (Moviga Technologies) Date: Fri, 11 Dec 2015 23:57:27 +0100 Subject: [Gambas-user] Declaring variables in class header without Public/Private is possible... In-Reply-To: <566B5430.509@...1...> References: <566B5430.509@...1...> Message-ID: <73c0bed223c83d610cd8148ca2b166be@...3488...> > > Things are PRIVATE by default, but it was not necessarily a good idea > to > allow that. > > Maybe I should remove that, but it's not backward-compatible, so many > programs will not compile anymore. > > Regards, Thank you! You could save it for 4.0. Then you are allowed to make more backward-incompatible changes :) From author.ilmi at ...626... Sat Dec 12 00:03:00 2015 From: author.ilmi at ...626... (zainudin ahmad) Date: Sat, 12 Dec 2015 06:03:00 +0700 Subject: [Gambas-user] Variation in output In-Reply-To: <1449845609134-54889.post@...3046...> References: <1449845609134-54889.post@...3046...> Message-ID: Hi charlie it's fine in my system (attach pic) On Fri, Dec 11, 2015 at 9:53 PM, Charlie wrote: > Can someone have a look at a bug that I have run into. The output inside > the > IDE is as expected but when made into an executable the output is very > different. > Output when run in the IDE as expected: - Run_in_IDE.png > > Output when running as an executable: - Run_as_executable.png > > Here is a program that will demonstrate the error. Please note that 'inxi' > will need to be installed, the 'System information' is at the bottom of the > code: - Execute_bug.gz > > Thanks > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/Variation-in-output-tp54889.html > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- A non-text attachment was scrubbed... Name: pic-test.png Type: image/png Size: 154917 bytes Desc: not available URL: From bagonergi at ...626... Sat Dec 12 00:13:02 2015 From: bagonergi at ...626... (Gianluigi) Date: Sat, 12 Dec 2015 00:13:02 +0100 Subject: [Gambas-user] DateChooser strange behavior In-Reply-To: References: <566AF315.90405@...1...> <566B23DB.7050408@...1...> Message-ID: Thanks Jussi, finally! I never used the DateChooser and I made the mistake of trusting Print. Print DateChooser1.Value --> 11/12/2015 0:00:00 and was looking for a way to get the only date. In the TextBox DateChooser.Value is OK. Now I understand your doubts. Thanks again Gianluigi 2015-12-11 23:40 GMT+01:00 Jussi Lahtinen : > > > > Example: If the code runs on a computer in Italy 25/12/2015 in USA > > 12/25/2015. > > > > Yes, that will happen automatically, unless you use non-localized functions > like CDate(). > > > Jussi > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Sat Dec 12 00:27:56 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 12 Dec 2015 01:27:56 +0200 Subject: [Gambas-user] Variation in output In-Reply-To: References: <1449845609134-54889.post@...3046...> Message-ID: Oh, so it was tar file... I got the project open and if I run it from terminal everything is OK. But if I just double click on the executable I get the gibberish. So, it is not necessarily IDE vs executable, but how it was launched. Output of "$ inxi -n" gives the result with different colors. Maybe the color coding is mixed up somehow... Jussi On Sat, Dec 12, 2015 at 1:03 AM, zainudin ahmad wrote: > Hi charlie > > it's fine in my system (attach pic) > > On Fri, Dec 11, 2015 at 9:53 PM, Charlie wrote: > > > Can someone have a look at a bug that I have run into. The output inside > > the > > IDE is as expected but when made into an executable the output is very > > different. > > Output when run in the IDE as expected: - Run_in_IDE.png > > > > Output when running as an executable: - Run_as_executable.png > > > > Here is a program that will demonstrate the error. Please note that > 'inxi' > > will need to be installed, the 'System information' is at the bottom of > the > > code: - Execute_bug.gz > > > > Thanks > > > > > > > > -- > > View this message in context: > > http://gambas.8142.n7.nabble.com/Variation-in-output-tp54889.html > > Sent from the gambas-user mailing list archive at Nabble.com. > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > 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 jussi.lahtinen at ...626... Sat Dec 12 00:35:30 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 12 Dec 2015 01:35:30 +0200 Subject: [Gambas-user] Variation in output In-Reply-To: References: <1449845609134-54889.post@...3046...> Message-ID: "inxi -n -c0" removes the gibberish, but the MAC address etc are not told, instead it says ""?? Could this be permission problem? Jussi On Sat, Dec 12, 2015 at 1:27 AM, Jussi Lahtinen wrote: > Oh, so it was tar file... I got the project open and if I run it from > terminal everything is OK. > But if I just double click on the executable I get the gibberish. > > So, it is not necessarily IDE vs executable, but how it was launched. > Output of "$ inxi -n" gives the result with different colors. Maybe the > color coding is mixed up somehow... > > > Jussi > > On Sat, Dec 12, 2015 at 1:03 AM, zainudin ahmad > wrote: > >> Hi charlie >> >> it's fine in my system (attach pic) >> >> On Fri, Dec 11, 2015 at 9:53 PM, Charlie wrote: >> >> > Can someone have a look at a bug that I have run into. The output inside >> > the >> > IDE is as expected but when made into an executable the output is very >> > different. >> > Output when run in the IDE as expected: - Run_in_IDE.png >> > >> > Output when running as an executable: - Run_as_executable.png >> > >> > Here is a program that will demonstrate the error. Please note that >> 'inxi' >> > will need to be installed, the 'System information' is at the bottom of >> the >> > code: - Execute_bug.gz >> > >> > Thanks >> > >> > >> > >> > -- >> > View this message in context: >> > http://gambas.8142.n7.nabble.com/Variation-in-output-tp54889.html >> > Sent from the gambas-user mailing list archive at Nabble.com. >> > >> > >> ------------------------------------------------------------------------------ >> > _______________________________________________ >> > 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 bagonergi at ...626... Sat Dec 12 00:44:35 2015 From: bagonergi at ...626... (Gianluigi) Date: Sat, 12 Dec 2015 00:44:35 +0100 Subject: [Gambas-user] DateChooser strange behavior In-Reply-To: <566B530E.6040003@...1...> References: <566AF315.90405@...1...> <566B23DB.7050408@...1...> <566B530E.6040003@...1...> Message-ID: Thanks Benoit, I will keep in good account your recommendations. You and Jussi are really Kind Regards Gianluigi 2015-12-11 23:49 GMT+01:00 Beno?t Minisini : > Le 11/12/2015 23:22, Gianluigi a ?crit : > > Dear Benoit, > > I apologize for my poor English. > > I would like to get from the DateChoser localized date. > > Example: If the code runs on a computer in Italy 25/12/2015 in USA > > 12/25/2015. > > Thank you > > Gianluigi > > > > Don't confuse a date value and its string representation. > > The DateChooser returns you a date, and a date is a date. > > It's up to you to transform it into a localized string representation > (Str$ or Format$) or a non-localized string representation (CStr), > according to what you need. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From author.ilmi at ...626... Sat Dec 12 01:04:10 2015 From: author.ilmi at ...626... (zainudin ahmad) Date: Sat, 12 Dec 2015 07:04:10 +0700 Subject: [Gambas-user] Variation in output In-Reply-To: References: <1449845609134-54889.post@...3046...> Message-ID: you right (attach pic) On Sat, Dec 12, 2015 at 6:27 AM, Jussi Lahtinen wrote: > Oh, so it was tar file... I got the project open and if I run it from > terminal everything is OK. > But if I just double click on the executable I get the gibberish. > > So, it is not necessarily IDE vs executable, but how it was launched. > Output of "$ inxi -n" gives the result with different colors. Maybe the > color coding is mixed up somehow... > > > Jussi > > On Sat, Dec 12, 2015 at 1:03 AM, zainudin ahmad > wrote: > > > Hi charlie > > > > it's fine in my system (attach pic) > > > > On Fri, Dec 11, 2015 at 9:53 PM, Charlie wrote: > > > > > Can someone have a look at a bug that I have run into. The output > inside > > > the > > > IDE is as expected but when made into an executable the output is very > > > different. > > > Output when run in the IDE as expected: - Run_in_IDE.png > > > > > > Output when running as an executable: - Run_as_executable.png > > > > > > Here is a program that will demonstrate the error. Please note that > > 'inxi' > > > will need to be installed, the 'System information' is at the bottom of > > the > > > code: - Execute_bug.gz > > > > > > Thanks > > > > > > > > > > > > -- > > > View this message in context: > > > http://gambas.8142.n7.nabble.com/Variation-in-output-tp54889.html > > > Sent from the gambas-user mailing list archive at Nabble.com. > > > > > > > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > > > 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 > > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- A non-text attachment was scrubbed... Name: pic-test-2.png Type: image/png Size: 33504 bytes Desc: not available URL: From bugtracker at ...3416... Sat Dec 12 02:06:31 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 12 Dec 2015 01:06:31 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #869: Borderless form shows border in qt4 Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.869&from=L21haW4- gbWilly GAMBOS reported a new bug. Summary ------- Borderless form shows border in qt4 Type : Bug Priority : Medium Gambas version : 3.8 Product : QT4 component Description ----------- Up to Gambas 3.7 a form with property border= false didn't show a border (as should) As of Gambas 3.8.0 this doesn't seem to work anymore. Added a source archive and screenshot to demonstrate the problem. I discovered this in my qt4 based Gambas applications, didn't test gtk. Tested this on the last system in my system information, but added the info in the source archive as well System information ------------------ Multiple systems: [System] Gambas=3.5.4 OperatingSystem=Linux Kernel=3.16.0-4-586 Architecture=x86 Distribution=debian 8.1 Desktop=LXDE Theme=QWindows Language=en_US.UTF-8 Memory=945M [Libraries] Cairo=libcairo.so.2.11400.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.12 GStreamer=libgstreamer-1.0.so.0.404.0 GTK+=libgtk-x11-2.0.so.0.2400.25 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.46.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 [System] Gambas=3.6.2 OperatingSystem=Linux Kernel=3.16.0-4-586 Architecture=x86 Distribution=debian 8.1 Desktop=LXDE Theme=QWindows Language=en_US.UTF-8 Memory=945M [Libraries] Cairo=libcairo.so.2.11400.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.12 GStreamer=libgstreamer-1.0.so.0.404.0 GTK+3=libgtk-3.so.0.1400.5 GTK+=libgtk-x11-2.0.so.0.2400.25 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.46.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 [System] Gambas=3.7.1 OperatingSystem=Linux Kernel=3.16.0-4-586 Architecture=x86 Distribution=debian 8.1 Desktop=LXDE Theme=QWindows Language=en_US.UTF-8 Memory=945M [Libraries] Cairo=libcairo.so.2.11400.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.12 GStreamer=libgstreamer-1.0.so.0.404.0 GTK+3=libgtk-3.so.0.1400.5 GTK+=libgtk-x11-2.0.so.0.2400.25 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.46.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 [System] Gambas=3.8.90 (rev#7390) OperatingSystem=Linux Kernel=3.19.0-28-generic Architecture=x86 Distribution=Ubuntu 14.04.3 LTS Desktop=LXDE Theme=Gtk Language=en_US.UTF-8 Memory=937M [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+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 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 [Environment] CLUTTER_IM_MODULE=xim DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-d2tYwNrIPc DEFAULTS_PATH=/usr/share/gconf/Lubuntu.default.path DESKTOP_SESSION=Lubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=Lubuntu GDM_LANG=en_US GNOME_KEYRING_CONTROL=/run/user/1000/keyring-Eo5i6s GNOME_KEYRING_PID=1473 GPG_AGENT_INFO=/run/user/1000/keyring-Eo5i6s/gpg:0:1 GTK_IM_MODULE=xim HOME= IM_CONFIG_PHASE=1 INSTANCE= JOB=dbus LANG=en_US.UTF-8 LANGUAGE=en_US LC_ADDRESS=nl_NL.UTF-8 LC_IDENTIFICATION=nl_NL.UTF-8 LC_MEASUREMENT=nl_NL.UTF-8 LC_MONETARY=nl_NL.UTF-8 LC_NAME=nl_NL.UTF-8 LC_NUMERIC=nl_NL.UTF-8 LC_PAPER=nl_NL.UTF-8 LC_TELEPHONE=nl_NL.UTF-8 LC_TIME=nl_NL.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/Lubuntu.mandatory.path PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT4_IM_MODULE=xim QT_IM_MODULE=xim SAL_USE_VCLPLUGIN=gtk SELINUX_INIT=YES SESSION=Lubuntu SESSIONTYPE=lxsession SHELL=/bin/bash SHLVL=0 SSH_AUTH_SOCK=/run/user/1000/keyring-Eo5i6s/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime UPSTART_EVENTS=started xsession UPSTART_INSTANCE= UPSTART_JOB=lxsession UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1329 USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/lubuntu:/etc/xdg/xdg-Lubuntu:/usr/share/upstart/xdg:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXDE XDG_DATA_DIRS=/etc/xdg/lubuntu:/usr/local/share:/usr/share:/usr/share/gdm:/var/lib/menu-xdg:/usr/share/Lubuntu:/usr/local/share/:/usr/share/ XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=lxde- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_VTNR=7 XMODIFIERS=@...3498...=ibus _LXSESSION_PID=1515 [System] Gambas=3.8.90 (rev#7508) OperatingSystem=Linux Kernel=3.2.0-92-generic Architecture=x86 Distribution=Linux Mint 13 Maya Desktop=MATE Theme=Gtk Language=nl_NL.UTF-8 Memory=2004M [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+2=libgtk-x11-2.0.so.0.2400.10 GTK+3=libgtk-3.so.0.400.2 Poppler=libpoppler.so.19.0.0 QT4=libQtCore.so.4.8.1 SDL=libSDL-1.2.so.0.11.3 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-0u5IGaGXG3,guid=4d001ab8066e9b5d7e5e1f9300000021 DBUS_STARTER_ADDRESS=unix:abstract=/tmp/dbus-0u5IGaGXG3,guid=4d001ab8066e9b5d7e5e1f9300000021 DBUS_STARTER_BUS_TYPE=session DEFAULTS_PATH=/usr/share/gconf/mate.default.path DESKTOP_SESSION=mate DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=mate GDM_XSERVER_LOCATION=local GPG_AGENT_INFO=/tmp/keyring-956Xzu/gpg:0:1 HOME= LANG=nl_NL.UTF-8 LC_ADDRESS=nl_NL.UTF-8 LC_IDENTIFICATION=nl_NL.UTF-8 LC_MEASUREMENT=nl_NL.UTF-8 LC_MONETARY=nl_NL.UTF-8 LC_NAME=nl_NL.UTF-8 LC_NUMERIC=nl_NL.UTF-8 LC_PAPER=nl_NL.UTF-8 LC_TELEPHONE=nl_NL.UTF-8 LC_TIME=nl_NL.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path MATE_DESKTOP_SESSION_ID=this-is-deprecated MATE_KEYRING_CONTROL=/tmp/keyring-956Xzu MDMSESSION=mate MDM_LANG=nl_NL.UTF-8 MDM_XSERVER_LOCATION=local PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PWD= SESSION_MANAGER=local/:@/tmp/.ICE-unix/1741,unix/:/tmp/.ICE-unix/1741 SHELL=/bin/bash SSH_AGENT_PID=1802 SSH_AUTH_SOCK=/tmp/keyring-956Xzu/ssh TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=8 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_SESSION_COOKIE=e227274bb17bcf421ba09f9c00000009-1449781858.809691-713854121 From bugtracker at ...3416... Sat Dec 12 02:06:44 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 12 Dec 2015 01:06:44 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #869: Borderless form shows border in qt4 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.869&from=L21haW4- gbWilly GAMBOS added an attachment: BorderlessForm.png From bugtracker at ...3416... Sat Dec 12 02:07:17 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 12 Dec 2015 01:07:17 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #869: Borderless form shows border in qt4 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.869&from=L21haW4- gbWilly GAMBOS added an attachment: BorderBug-0.0.1.tar.gz From author.ilmi at ...626... Sat Dec 12 02:19:50 2015 From: author.ilmi at ...626... (zainudin ahmad) Date: Sat, 12 Dec 2015 08:19:50 +0700 Subject: [Gambas-user] need tests together, I get segfault In-Reply-To: <566A8119.60900@...221...> References: <566A8119.60900@...221...> Message-ID: the project was only to isolate the bug that I get in my system, so it is still possible the problem only occurs in my system. how about your sys info ? (libqt4 version) thanks for your time On Fri, Dec 11, 2015 at 2:54 PM, Rolf-Werner Eilert < eilert-sprachen at ...221...> wrote: > Hi Ahmad, > > As far as I can see, it is running ok here: I click Test button, it says > "please wait", then come two windows: the window with the title > "segfault..." and a message window saying "hola". When I press ok, the > other window remains with the button "test". > > So, where is the problem? Maybe a timing error on your machine? I do not > understand the code completely, too many things I normally don't do. > Perhaps on your system it wants to write something to an object that > doesn't exist at that time? > > Regards > Rolf > > Am 10.12.2015 23:53, schrieb zainudin ahmad: > > Hi All > > > > with this project (attach project) I get segfault message. > > > > may be someone have the same problem with me ?? > > > > sorry for my english. > > Thank you. > > > > > > > ------------------------------------------------------------------------------ > > > > > > _______________________________________________ > > 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 author.ilmi at ...626... Sat Dec 12 02:25:05 2015 From: author.ilmi at ...626... (zainudin ahmad) Date: Sat, 12 Dec 2015 08:25:05 +0700 Subject: [Gambas-user] need tests together, I get segfault In-Reply-To: <1449829212.3612.1.camel@...40...> References: <1449829212.3612.1.camel@...40...> Message-ID: have the same libqt version but the problem is different Thank you. On Fri, Dec 11, 2015 at 5:20 PM, Charlie Reinl wrote: > Am Freitag, den 11.12.2015, 05:53 +0700 schrieb zainudin ahmad: > > Hi All > > > > with this project (attach project) I get segfault message. > > > > may be someone have the same problem with me ?? > > > > sorry for my english. > > Thank you. > > Salut, > > got no segfault, but freez my Desktop. > > [System] > Gambas=3.8.90 r7503 > OperatingSystem=Linux > Kernel=3.2.0-95-generic > Architecture=x86 > Distribution=Ubuntu 12.04.5 LTS > Desktop=GNOME > Theme=Plastique > 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+2=libgtk-x11-2.0.so.0.2400.10 > GTK+3=libgtk-3.so.0.400.2 > Poppler=libpoppler.so.19.0.0 > QT4=libQtCore.so.4.8.1 > SDL=libSDL-1.2.so.0.11.3 > > [Environment] > > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-qkJsRVRaA6,guid=0cbf9abe82a4e76ff32051890000008d > DEFAULTS_PATH=/usr/share/gconf/gnome-shell.default.path > DESKTOP_SESSION=gnome-shell > DISPLAY=:0.0 > GB_GUI=gb.qt4 > GDMSESSION=gnome-shell > GDM_LANG=de_DE.UTF-8 > GIO_LAUNCHED_DESKTOP_FILE=/.local/share/applications/Gambas > III.desktop > GIO_LAUNCHED_DESKTOP_FILE_PID=3651 > GNOME_DESKTOP_SESSION_ID=this-is-deprecated > GNOME_KEYRING_CONTROL=/tmp/keyring-WhIKjh > GNOME_KEYRING_PID=3204 > GPG_AGENT_INFO=/tmp/keyring-WhIKjh/gpg:0:1 > GTK_MODULES=canberra-gtk-module > HOME= > LANG=de_DE.UTF-8 > LANGUAGE=de_DE:en > LC_MESSAGES=de_DE.UTF-8 > LOGNAME= > MANDATORY_PATH=/usr/share/gconf/gnome-shell.mandatory.path > PATH=/usr/local/bin:/usr/bin:/bin:/usr/games > PWD= > QT_ACCESSIBILITY=1 > QT_NO_GLIB=1 > > SESSION_MANAGER=local/:@/tmp/.ICE-unix/3221,unix/:/tmp/.ICE-unix/3221 > SHELL=/bin/bash > SPEECHD_PORT=7560 > SSH_AGENT_PID=3365 > SSH_AUTH_SOCK=/tmp/keyring-WhIKjh/ssh > TZ=:/etc/localtime > UBUNTU_MENUPROXY=libappmenu.so > USER= > USERNAME= > WINDOWPATH=7 > XAUTHORITY=/var/run/gdm/auth-for--G4Wbdp/database > XDG_CONFIG_DIRS=/etc/xdg/xdg-gnome-shell:/etc/xdg > XDG_CURRENT_DESKTOP=GNOME > > XDG_DATA_DIRS=/usr/share/gnome-shell:/usr/share/gnome:/usr/local/share/:/usr/share/ > > XDG_SESSION_COOKIE=42f49d43f50733c401e4460348762a43-1449828984.177762-1623961532 > > -- > Amicalement > Charlie > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Sat Dec 12 03:13:01 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 12 Dec 2015 02:13:01 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #869: Borderless form shows border in qt4 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.869&from=L21haW4- Comment #1 by Zainudin AHMAD: it's fine(with qt4 or gtk+/gtk3) in my system, with 3.8.1, 3.8.2 and 3.8.3 (I don't have 3.8.0 and qt5) I have some widgets (6 widgets and 7 notes of course without border) and use it every day(login) and it's fine. built with Gambas :) and my pc only one(don't have other). From buster6seven at ...626... Sat Dec 12 05:51:31 2015 From: buster6seven at ...626... (Buster Seven) Date: Sat, 12 Dec 2015 15:51:31 +1100 Subject: [Gambas-user] Gridview In-Reply-To: <5667EC55.4060308@...221...> References: <5667EC55.4060308@...221...> Message-ID: Its not exacly how i want to fix it but i can handle that so is this no longer how it's ment to work? Thanks On Wed, Dec 9, 2015 at 7:54 PM, Rolf-Werner Eilert < eilert-sprachen at ...221...> wrote: > > Am 09.12.2015 09:44, schrieb Buster Seven: > > I use to be able to do this code GridView1.Font.Strikeout = True > > and the row in the gridview would be strikedout but it no longer works > > any ideas. > > > > > > > > I just had this problem a few days ago, and after searching for a long > time it turned out that I had a lost line with > > GridView.Data.Text = .... > > before the line > > GridView.Data.RichText = .... > > Maybe a similar thing in your case? Or just try > > GridView.Data.RichText = "" & myText & "" > > Regards > Rolf > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Sat Dec 12 07:01:14 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 12 Dec 2015 07:01:14 +0100 Subject: [Gambas-user] Gridview In-Reply-To: References: <5667EC55.4060308@...221...> Message-ID: can you send me a short example that show the poblem ... i can't reproduce it 2015-12-12 5:51 GMT+01:00 Buster Seven : > Its not exacly how i want to fix it but i can handle that > so is this no longer how it's ment to work? > > Thanks > > > On Wed, Dec 9, 2015 at 7:54 PM, Rolf-Werner Eilert < > eilert-sprachen at ...221...> wrote: > >> >> Am 09.12.2015 09:44, schrieb Buster Seven: >> > I use to be able to do this code GridView1.Font.Strikeout = True >> > and the row in the gridview would be strikedout but it no longer works >> > any ideas. >> > >> > >> > >> >> I just had this problem a few days ago, and after searching for a long >> time it turned out that I had a lost line with >> >> GridView.Data.Text = .... >> >> before the line >> >> GridView.Data.RichText = .... >> >> Maybe a similar thing in your case? Or just try >> >> GridView.Data.RichText = "" & myText & "" >> >> Regards >> Rolf >> >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> 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 -- Fabien Bodard From bugtracker at ...3416... Sat Dec 12 07:05:26 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 12 Dec 2015 06:05:26 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #869: Borderless form shows border in qt4 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.869&from=L21haW4- Comment #2 by Fabien BODARD: It seem to work if you set resizable to true From adamnt42 at ...626... Sat Dec 12 07:41:01 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Sat, 12 Dec 2015 17:11:01 +1030 Subject: [Gambas-user] Gridview In-Reply-To: References: <5667EC55.4060308@...221...> Message-ID: <20151212171101.445754492d8664723a196659@...626...> On Sat, 12 Dec 2015 07:01:14 +0100 Fabien Bodard wrote: > can you send me a short example that show the poblem ... i can't reproduce it > > 2015-12-12 5:51 GMT+01:00 Buster Seven : > > Its not exacly how i want to fix it but i can handle that > > so is this no longer how it's ment to work? > > > > Thanks > > > > > > On Wed, Dec 9, 2015 at 7:54 PM, Rolf-Werner Eilert < > > eilert-sprachen at ...221...> wrote: > > > >> > >> Am 09.12.2015 09:44, schrieb Buster Seven: > >> > I use to be able to do this code GridView1.Font.Strikeout = True > >> > and the row in the gridview would be strikedout but it no longer works > >> > any ideas. > >> > > >> > > >> > > >> > >> I just had this problem a few days ago, and after searching for a long > >> time it turned out that I had a lost line with > >> > >> GridView.Data.Text = .... > >> > >> before the line > >> > >> GridView.Data.RichText = .... > >> > >> Maybe a similar thing in your case? Or just try > >> > >> GridView.Data.RichText = "" & myText & "" > >> > >> Regards > >> Rolf > >> > >> > >> > >> ------------------------------------------------------------------------------ > >> _______________________________________________ > >> 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 > > > > -- > Fabien Bodard > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Always, check Font.Styles that it does support strikeout. b -- B Bruen From taboege at ...626... Sat Dec 12 08:26:29 2015 From: taboege at ...626... (Tobias Boege) Date: Sat, 12 Dec 2015 08:26:29 +0100 Subject: [Gambas-user] Class header features (was: Declaring variables in class header without Public/Private is possible...) In-Reply-To: <73c0bed223c83d610cd8148ca2b166be@...3488...> References: <566B5430.509@...1...> <73c0bed223c83d610cd8148ca2b166be@...3488...> Message-ID: <20151212072629.GB11978@...2774...> On Fri, 11 Dec 2015, Moviga Technologies wrote: > > > > Things are PRIVATE by default, but it was not necessarily a good idea > > to > > allow that. > > > > Maybe I should remove that, but it's not backward-compatible, so many > > programs will not compile anymore. > > > > Regards, > > Thank you! > You could save it for 4.0. Then you are allowed to make more > backward-incompatible changes :) > While we are speaking of new features for the class header: I regularly want to declare multiple variables in a Private or Public statement like I can with Dim. And sometimes it would save some typing to have a syntax like Property Read Text As String To $sText to declare a property which should have the same effect as Property Text As String Private $sText As String Private Function Text_Read() As String Return $sText End But none of these are urgent. Just wanted to record them :-) Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From charlie at ...2793... Sat Dec 12 07:47:40 2015 From: charlie at ...2793... (Charlie) Date: Fri, 11 Dec 2015 23:47:40 -0700 (MST) Subject: [Gambas-user] Variation in output In-Reply-To: References: <1449845609134-54889.post@...3046...> Message-ID: <1449902860123-54924.post@...3046...> Thanks for looking at this. Regarding the 'Esc' colour characters, the code posted does remove them. I also discovered that when run as an executable there are lots of other characters that are not showing in the IDE like *chr(3)* but these can easily be removed. The main issue for me is why has the some of the data been replaced with *'filter'*. For those having difficulty accessing my code I have attached an uncompressed tar file. Execute_bug.tar -- View this message in context: http://gambas.8142.n7.nabble.com/Variation-in-output-tp54889p54924.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas.fr at ...626... Sat Dec 12 09:00:35 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 12 Dec 2015 09:00:35 +0100 Subject: [Gambas-user] Class header features (was: Declaring variables in class header without Public/Private is possible...) In-Reply-To: <20151212072629.GB11978@...2774...> References: <566B5430.509@...1...> <73c0bed223c83d610cd8148ca2b166be@...3488...> <20151212072629.GB11978@...2774...> Message-ID: 2015-12-12 8:26 GMT+01:00 Tobias Boege : > On Fri, 11 Dec 2015, Moviga Technologies wrote: >> > >> > Things are PRIVATE by default, but it was not necessarily a good idea >> > to >> > allow that. >> > >> > Maybe I should remove that, but it's not backward-compatible, so many >> > programs will not compile anymore. >> > >> > Regards, >> >> Thank you! >> You could save it for 4.0. Then you are allowed to make more >> backward-incompatible changes :) >> > > While we are speaking of new features for the class header: I regularly want > to declare multiple variables in a Private or Public statement like I can > with Dim. And sometimes it would save some typing to have a syntax like > > Property Read Text As String To $sText > > to declare a property which should have the same effect as > > Property Text As String > Private $sText As String > > Private Function Text_Read() As String > Return $sText > End > > But none of these are urgent. Just wanted to record them :-) > > Regards, > Tobi I like it :-) And maybe it can automate the management in case of Property Read and remove the need to wrote the _Read function when it have just to return the value content. > -- > "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 moviga at ...3488... Sat Dec 12 10:38:47 2015 From: moviga at ...3488... (Moviga Technologies) Date: Sat, 12 Dec 2015 10:38:47 +0100 Subject: [Gambas-user] Class header features In-Reply-To: <20151212072629.GB11978@...2774...> References: <566B5430.509@...1...> <73c0bed223c83d610cd8148ca2b166be@...3488...> <20151212072629.GB11978@...2774...> Message-ID: <855b8fe6c4024032569ac5326b24efe0@...3488...> I like that idea Tobi! From charlie at ...2793... Sat Dec 12 10:53:16 2015 From: charlie at ...2793... (Charlie) Date: Sat, 12 Dec 2015 02:53:16 -0700 (MST) Subject: [Gambas-user] Gridview In-Reply-To: <20151212171101.445754492d8664723a196659@...626...> References: <5667EC55.4060308@...221...> <20151212171101.445754492d8664723a196659@...626...> Message-ID: <1449913996314-54927.post@...3046...> This works for me:- /Public Sub Form_Open() Dim sNetwork As String With GridView1 .Columns.Count = 1 .Rows.Count = 1 End With GridView1[0, 0].text = "Hello" GridView1[0, 0].Font.Strikeout = True End/ -- View this message in context: http://gambas.8142.n7.nabble.com/Gridview-tp54834p54927.html Sent from the gambas-user mailing list archive at Nabble.com. From bugtracker at ...3416... Sat Dec 12 11:43:01 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 12 Dec 2015 10:43:01 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #869: Borderless form shows border in qt4 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.869&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From gambas.fr at ...626... Sat Dec 12 11:45:10 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 12 Dec 2015 11:45:10 +0100 Subject: [Gambas-user] Class header features (was: Declaring variables in class header without Public/Private is possible...) In-Reply-To: References: <566B5430.509@...1...> <73c0bed223c83d610cd8148ca2b166be@...3488...> <20151212072629.GB11978@...2774...> Message-ID: gbs3 -e -p '{long[]}a=[1,1]:for {i}ii = 0 to 50:{l}i=a[0]+a[1]:a[0]=a[1]:a[1]=i:print i:next' hermetics 2015-12-12 9:00 GMT+01:00 Fabien Bodard : > 2015-12-12 8:26 GMT+01:00 Tobias Boege : >> On Fri, 11 Dec 2015, Moviga Technologies wrote: >>> > >>> > Things are PRIVATE by default, but it was not necessarily a good idea >>> > to >>> > allow that. >>> > >>> > Maybe I should remove that, but it's not backward-compatible, so many >>> > programs will not compile anymore. >>> > >>> > Regards, >>> >>> Thank you! >>> You could save it for 4.0. Then you are allowed to make more >>> backward-incompatible changes :) >>> >> >> While we are speaking of new features for the class header: I regularly want >> to declare multiple variables in a Private or Public statement like I can >> with Dim. And sometimes it would save some typing to have a syntax like >> >> Property Read Text As String To $sText >> >> to declare a property which should have the same effect as >> >> Property Text As String >> Private $sText As String >> >> Private Function Text_Read() As String >> Return $sText >> End >> >> But none of these are urgent. Just wanted to record them :-) >> >> Regards, >> Tobi > > I like it :-) > > And maybe it can automate the management in case of > Property Read and remove the need to wrote the _Read function when it > have just to return the value content. > > >> -- >> "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 -- Fabien Bodard From charlie at ...2793... Sat Dec 12 11:14:46 2015 From: charlie at ...2793... (Charlie) Date: Sat, 12 Dec 2015 03:14:46 -0700 (MST) Subject: [Gambas-user] need tests together, I get segfault In-Reply-To: References: <1449829212.3612.1.camel@...40...> Message-ID: <1449915286500-54930.post@...3046...> The first time it ran all was OK but after that I got a segmentation fault (11) -- View this message in context: http://gambas.8142.n7.nabble.com/need-tests-together-I-get-segfault-tp54874p54930.html Sent from the gambas-user mailing list archive at Nabble.com. From bugtracker at ...3416... Sat Dec 12 12:00:00 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 12 Dec 2015 11:00:00 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #861: browse project using wrong file manager(not default) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.861&from=L21haW4- Comment #3 by Beno?t MINISINI: In the case of lxde desktop, the xdg-open script always calls PCManFM as soon as it receives a file URL or a file path, and relies on xdg-mime only for other URLs. From bugtracker at ...3416... Sat Dec 12 12:03:07 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 12 Dec 2015 11:03:07 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #870: Editor scrolls when using beautify Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.870&from=L21haW4- Moviga TECHNOLOGIES reported a new bug. Summary ------- Editor scrolls when using beautify Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Development Environment Description ----------- When I hit Ctrl+F the editor often scrolls away from the active line (if the document is long enough, and has many enough "ugly" lines). I would be good if it could stand still and keep the active line at the same place on the screen. System information ------------------ [System] Gambas=3.8.90 r7312 OperatingSystem=Linux Kernel=4.1.6-1-ARCH Architecture=x86_64 Distribution=arch Desktop=KDE5 Theme=Proxy Language=nb_NO.UTF-8 Memory=9901M [Libraries] Cairo=libcairo.so.2.11400.2 Curl=libcurl.so.4.2.0 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.3 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.405.0 GTK+2=libgtk-x11-2.0.so.0.2400.28 GTK+3=libgtk-3.so.0.1600.6 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.52.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.0 SDL=libSDL-1.2.so.0.11.4 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-7rvPN8rlRD,guid=75534cfdb433e848ad9f896a55f965a8 DESKTOP_SESSION=plasma DISPLAY=:0 GB_GUI=gb.qt5 GS_LIB=/.fonts GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/.gtkrc-2.0:/.config/gtkrc-2.0 GTK_MODULES=canberra-gtk-module GTK_RC_FILES=/etc/gtk/gtkrc:/.gtkrc:/.config/gtkrc HOME= KDE_FULL_SESSION=true KDE_MULTIHEAD=false KDE_SESSION_UID=1000 KDE_SESSION_VERSION=5 LANG=nb_NO.UTF-8 LANGUAGE=nb LOGNAME= MAIL=/var/spool/mail/ MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins PAM_KWALLET5_LOGIN=/tmp/kwallet5_.socket PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl PWD= QT_IM_MODULE=compose QT_NO_GLIB=1 SESSION_MANAGER=local/:@/tmp/.ICE-unix/899,unix/:/tmp/.ICE-unix/899 SHELL=/bin/bash SHLVL=1 SSH_ASKPASS=/usr/bin/ksshaskpass TZ=:/etc/localtime USER= XAUTHORITY=/tmp/xauth-1000-_0 XCURSOR_SIZE=0 XCURSOR_THEME=Breeze_Snow XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=KDE XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 XDG_SESSION_TYPE=x11 XDG_VTNR=1 _=/usr/lib/kf5/start_kdeinit_wrapper From bugtracker at ...3416... Sat Dec 12 12:39:50 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 12 Dec 2015 11:39:50 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #869: Borderless form shows border in qt4 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.869&from=L21haW4- Comment #3 by Beno?t MINISINI: It should be fixed in revision #7515. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Sat Dec 12 12:42:03 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 12 Dec 2015 11:42:03 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #862: Database Manager, Query editor can't select text with mouse anymore In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.862&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Sat Dec 12 13:03:41 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 12 Dec 2015 12:03:41 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #862: Database Manager, Query editor can't select text with mouse anymore In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.862&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed in revision #7516. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Sat Dec 12 13:04:30 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 12 Dec 2015 12:04:30 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #870: Editor scrolls when using beautify In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.870&from=L21haW4- Comment #1 by Beno?t MINISINI: No need to create the same bug twice! From bugtracker at ...3416... Sat Dec 12 13:04:44 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 12 Dec 2015 12:04:44 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #870: Editor scrolls when using beautify In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.870&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Duplicate. From bugtracker at ...3416... Sat Dec 12 14:09:10 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 12 Dec 2015 13:09:10 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #870: Editor scrolls when using beautify In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.870&from=L21haW4- Comment #2 by Moviga TECHNOLOGIES: I tried to see if I had made one, but I could not find it... what number was that? From bugtracker at ...3416... Sat Dec 12 14:10:25 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 12 Dec 2015 13:10:25 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #870: Editor scrolls when using beautify In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.870&from=L21haW4- Comment #3 by Moviga TECHNOLOGIES: Perhaps we could get a history list in our profiles :) For both reports and comments? I have dementia light sometimes :) From bugtracker at ...3416... Sat Dec 12 15:47:44 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 12 Dec 2015 14:47:44 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #870: Editor scrolls when using beautify In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.870&from=L21haW4- Comment #4 by Beno?t MINISINI: It's written in the bug, "Duplicate of 790". You can now list "all your bugs" in the bugtracker main page. From bugtracker at ...3416... Sat Dec 12 15:51:07 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 12 Dec 2015 14:51:07 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #870: Editor scrolls when using beautify In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.870&from=L21haW4- Comment #5 by Moviga TECHNOLOGIES: Great! Thanks! From bugtracker at ...3416... Sat Dec 12 23:15:26 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 12 Dec 2015 22:15:26 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #869: Borderless form shows border in qt4 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.869&from=L21haW4- Comment #4 by Zainudin AHMAD: with kwin I get this issue, I forget this about window From jussi.lahtinen at ...626... Sun Dec 13 00:14:26 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 13 Dec 2015 01:14:26 +0200 Subject: [Gambas-user] need tests together, I get segfault In-Reply-To: References: Message-ID: OK I can confirm this with revision 7516. Change "sleep 8" to "sleep 0.5", and click on the test button again if it doesn't crash on first try. Can you file a bug report? [System] Gambas=3.8.90 r7516 OperatingSystem=Linux Kernel=3.13.0-37-generic Architecture=x86_64 Distribution=Linux Mint 17.2 Rafaela Desktop=GNOME Theme=Gtk Language=en_US.UTF-8 Memory=7985M [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+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 [Environment] CLUTTER_BACKEND=x11 CLUTTER_IM_MODULE=xim DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-8hhmMTxEYv,guid=3cf31b1cae8e000720d8092e566c3749 DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path DESKTOP_SESSION=cinnamon DISPLAY=:0.0 GB_GUI=gb.qt4 GB_PROFILE_MAX=1000 GDMSESSION=cinnamon GDM_XSERVER_LOCATION=local GIO_LAUNCHED_DESKTOP_FILE=/Desktop/Gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=13120 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL=/run/user/1000/keyring-a1upHz GPG_AGENT_INFO=/run/user/1000/keyring-a1upHz/gpg:0:1 GTK_IM_MODULE=xim HOME= INSIDE_NEMO_PYTHON= LANG=en_US.UTF-8 LC_ADDRESS=fi_FI.UTF-8 LC_IDENTIFICATION=fi_FI.UTF-8 LC_MEASUREMENT=fi_FI.UTF-8 LC_MONETARY=fi_FI.UTF-8 LC_NAME=fi_FI.UTF-8 LC_NUMERIC=fi_FI.UTF-8 LC_PAPER=fi_FI.UTF-8 LC_TELEPHONE=fi_FI.UTF-8 LC_TIME=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path MDMSESSION=cinnamon MDM_LANG=en_US.UTF-8 MDM_XSERVER_LOCATION=local PAPERSIZE=letter PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT4_IM_MODULE=xim SESSION_MANAGER=local/:@/tmp/.ICE-unix/1746,unix/:/tmp/.ICE-unix/1746 SHELL=/bin/bash SSH_AGENT_PID=1977 SSH_AUTH_SOCK=/run/user/1000/keyring-a1upHz/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=8 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg XDG_CURRENT_DESKTOP=X-Cinnamon XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=5a45fa29109f0ee2389b1b0355283726-1449932616.411621-1638912466 XDG_SESSION_DESKTOP=cinnamon XDG_SESSION_ID=c2 XDG_VTNR=8 XMODIFIERS=@im=none Jussi On Fri, Dec 11, 2015 at 12:53 AM, zainudin ahmad wrote: > Hi All > > with this project (attach project) I get segfault message. > > may be someone have the same problem with me ?? > > sorry for my english. > Thank you. > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From bugtracker at ...3416... Sun Dec 13 00:33:41 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 12 Dec 2015 23:33:41 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #861: browse project using wrong file manager(not default) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.861&from=L21haW4- Comment #4 by Zainudin AHMAD: sorry, this bug from xdg-open (detectDE function) in my system xdg-open can't detect DE correctly (only use $DESKTOP_SESSION for detect DE). so I am use bug feature from xdg-open. From buster6seven at ...626... Sun Dec 13 01:45:47 2015 From: buster6seven at ...626... (Buster Seven) Date: Sun, 13 Dec 2015 11:45:47 +1100 Subject: [Gambas-user] Gridview In-Reply-To: <1449913996314-54927.post@...3046...> References: <5667EC55.4060308@...221...> <20151212171101.445754492d8664723a196659@...626...> <1449913996314-54927.post@...3046...> Message-ID: ok so what i found was first you have to set the text then the strikeout What i was doing was if canceled gridview1.font.strikeout=true end gridview1[0,0].text="hello" this used to work for me and over the whole row now i have to set each column :-( anyway thanks for the example On Sat, Dec 12, 2015 at 8:53 PM, Charlie wrote: > This works for me:- > /Public Sub Form_Open() > Dim sNetwork As String > With GridView1 > .Columns.Count = 1 > .Rows.Count = 1 > End With > GridView1[0, 0].text = "Hello" > GridView1[0, 0].Font.Strikeout = True > End/ > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/Gridview-tp54834p54927.html > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sun Dec 13 18:26:51 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 13 Dec 2015 18:26:51 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.8.4 Message-ID: <566DAA5B.3000207@...1...> Hi, As usual, I have uploaded a pre-version of the Gambas 3.8.4 sources so you can test it before the official release. Download it at: https://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.8.4.tar.bz2/download And please report any problem! Thanks in advance. Regards, -- Beno?t Minisini From taboege at ...626... Sun Dec 13 19:33:33 2015 From: taboege at ...626... (Tobias Boege) Date: Sun, 13 Dec 2015 19:33:33 +0100 Subject: [Gambas-user] Class header features (was: Declaring variables in class header without Public/Private is possible...) In-Reply-To: References: <566B5430.509@...1...> <73c0bed223c83d610cd8148ca2b166be@...3488...> <20151212072629.GB11978@...2774...> Message-ID: <20151213183333.GB775@...2774...> On Sat, 12 Dec 2015, Fabien Bodard wrote: > gbs3 -e -p '{long[]}a=[1,1]:for {i}ii = 0 to > 50:{l}i=a[0]+a[1]:a[0]=a[1]:a[1]=i:print i:next' > > hermetics > I don't know what this has to do with the thread but I'm amazed that this works. As I read it '{i}ii', e.g., is a crude way to declare an integer ii while using it for the first time. You should ever think you know every nasty syntax hack in Gambas... :-) Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Sun Dec 13 19:37:37 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 13 Dec 2015 19:37:37 +0100 Subject: [Gambas-user] Class header features In-Reply-To: <20151213183333.GB775@...2774...> References: <566B5430.509@...1...> <73c0bed223c83d610cd8148ca2b166be@...3488...> <20151212072629.GB11978@...2774...> <20151213183333.GB775@...2774...> Message-ID: <566DBAF1.6080408@...1...> Le 13/12/2015 19:33, Tobias Boege a ?crit : > On Sat, 12 Dec 2015, Fabien Bodard wrote: >> gbs3 -e -p '{long[]}a=[1,1]:for {i}ii = 0 to >> 50:{l}i=a[0]+a[1]:a[0]=a[1]:a[1]=i:print i:next' >> >> hermetics >> > > I don't know what this has to do with the thread but I'm amazed that this > works. As I read it '{i}ii', e.g., is a crude way to declare an integer ii > while using it for the first time. > > You should ever think you know every nasty syntax hack in Gambas... :-) > > Regards, > Tobi > It's just Fabien's thing. I don't think I will ever accept it inside Gambas compiler! -- Beno?t Minisini From gambas.fr at ...626... Sun Dec 13 21:26:06 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 13 Dec 2015 21:26:06 +0100 Subject: [Gambas-user] Class header features (was: Declaring variables in class header without Public/Private is possible...) In-Reply-To: <20151213183333.GB775@...2774...> References: <566B5430.509@...1...> <73c0bed223c83d610cd8148ca2b166be@...3488...> <20151212072629.GB11978@...2774...> <20151213183333.GB775@...2774...> Message-ID: 2015-12-13 19:33 GMT+01:00 Tobias Boege : > On Sat, 12 Dec 2015, Fabien Bodard wrote: >> gbs3 -e -p '{long[]}a=[1,1]:for {i}ii = 0 to >> 50:{l}i=a[0]+a[1]:a[0]=a[1]:a[1]=i:print i:next' >> >> hermetics >> > > I don't know what this has to do with the thread but I'm amazed that this > works. As I read it '{i}ii', e.g., is a crude way to declare an integer ii > while using it for the first time. > > You should ever think you know every nasty syntax hack in Gambas... :-) well it's just a hidden thing i've done to allow me to make some short inline code. This will never exist in other way than this one. i'm always tired of typing code. :-) > 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... Sun Dec 13 21:28:21 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 13 Dec 2015 21:28:21 +0100 Subject: [Gambas-user] Class header features In-Reply-To: <566DBAF1.6080408@...1...> References: <566B5430.509@...1...> <73c0bed223c83d610cd8148ca2b166be@...3488...> <20151212072629.GB11978@...2774...> <20151213183333.GB775@...2774...> <566DBAF1.6080408@...1...> Message-ID: Just i've said before ... i'll never accept it too :-). it's just for inline code. But Tobias idea sound good... no ? 2015-12-13 19:37 GMT+01:00 Beno?t Minisini : > Le 13/12/2015 19:33, Tobias Boege a ?crit : >> On Sat, 12 Dec 2015, Fabien Bodard wrote: >>> gbs3 -e -p '{long[]}a=[1,1]:for {i}ii = 0 to >>> 50:{l}i=a[0]+a[1]:a[0]=a[1]:a[1]=i:print i:next' >>> >>> hermetics >>> >> >> I don't know what this has to do with the thread but I'm amazed that this >> works. As I read it '{i}ii', e.g., is a crude way to declare an integer ii >> while using it for the first time. >> >> You should ever think you know every nasty syntax hack in Gambas... :-) >> >> Regards, >> Tobi >> > > It's just Fabien's thing. I don't think I will ever accept it inside > Gambas compiler! > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas at ...1... Sun Dec 13 21:33:43 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 13 Dec 2015 21:33:43 +0100 Subject: [Gambas-user] Class header features In-Reply-To: References: <566B5430.509@...1...> <73c0bed223c83d610cd8148ca2b166be@...3488...> <20151212072629.GB11978@...2774...> <20151213183333.GB775@...2774...> <566DBAF1.6080408@...1...> Message-ID: <566DD627.2070702@...1...> Le 13/12/2015 21:28, Fabien Bodard a ?crit : > Just i've said before ... i'll never accept it too :-). it's just for > inline code. > > But Tobias idea sound good... no ? > Mmm, yes. But I must find how to implement it correctly... -- Beno?t Minisini From gambas.fr at ...626... Sun Dec 13 21:38:56 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 13 Dec 2015 21:38:56 +0100 Subject: [Gambas-user] Class header features In-Reply-To: <566DD627.2070702@...1...> References: <566B5430.509@...1...> <73c0bed223c83d610cd8148ca2b166be@...3488...> <20151212072629.GB11978@...2774...> <20151213183333.GB775@...2774...> <566DBAF1.6080408@...1...> <566DD627.2070702@...1...> Message-ID: 2015-12-13 21:33 GMT+01:00 Beno?t Minisini : > Le 13/12/2015 21:28, Fabien Bodard a ?crit : >> Just i've said before ... i'll never accept it too :-). it's just for >> inline code. >> >> But Tobias idea sound good... no ? >> > > Mmm, yes. But I must find how to implement it correctly... > > -- > Beno?t Minisini yes... with #DEFINE preprocessor too ... :-P > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From bugtracker at ...3416... Sun Dec 13 23:30:13 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 13 Dec 2015 22:30:13 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #869: Borderless form shows border in qt4 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.869&from=L21haW4- Comment #5 by gbWilly GAMBOS: I can confirm it works. Thanks From author.ilmi at ...626... Mon Dec 14 01:11:49 2015 From: author.ilmi at ...626... (zainudin ahmad) Date: Mon, 14 Dec 2015 07:11:49 +0700 Subject: [Gambas-user] need tests together, I get segfault In-Reply-To: References: Message-ID: Of course (attach project) Thanks, I think this is enough :) On Sun, Dec 13, 2015 at 6:14 AM, Jussi Lahtinen wrote: > OK I can confirm this with revision 7516. > Change "sleep 8" to "sleep 0.5", and click on the test button again if it > doesn't crash on first try. > > Can you file a bug report? > > > [System] > Gambas=3.8.90 r7516 > OperatingSystem=Linux > Kernel=3.13.0-37-generic > Architecture=x86_64 > Distribution=Linux Mint 17.2 Rafaela > Desktop=GNOME > Theme=Gtk > Language=en_US.UTF-8 > Memory=7985M > > [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+2=libgtk-x11-2.0.so.0.2400.23 > GTK+3=libgtk-3.so.0.1000.8 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.44.0.0 > QT4=libQtCore.so.4.8.6 > QT5=libQt5Core.so.5.2.1 > SDL=libSDL-1.2.so.0.11.4 > > [Environment] > CLUTTER_BACKEND=x11 > CLUTTER_IM_MODULE=xim > > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-8hhmMTxEYv,guid=3cf31b1cae8e000720d8092e566c3749 > DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path > DESKTOP_SESSION=cinnamon > DISPLAY=:0.0 > GB_GUI=gb.qt4 > GB_PROFILE_MAX=1000 > GDMSESSION=cinnamon > GDM_XSERVER_LOCATION=local > GIO_LAUNCHED_DESKTOP_FILE=/Desktop/Gambas3.desktop > GIO_LAUNCHED_DESKTOP_FILE_PID=13120 > GNOME_DESKTOP_SESSION_ID=this-is-deprecated > GNOME_KEYRING_CONTROL=/run/user/1000/keyring-a1upHz > GPG_AGENT_INFO=/run/user/1000/keyring-a1upHz/gpg:0:1 > GTK_IM_MODULE=xim > HOME= > INSIDE_NEMO_PYTHON= > LANG=en_US.UTF-8 > LC_ADDRESS=fi_FI.UTF-8 > LC_IDENTIFICATION=fi_FI.UTF-8 > LC_MEASUREMENT=fi_FI.UTF-8 > LC_MONETARY=fi_FI.UTF-8 > LC_NAME=fi_FI.UTF-8 > LC_NUMERIC=fi_FI.UTF-8 > LC_PAPER=fi_FI.UTF-8 > LC_TELEPHONE=fi_FI.UTF-8 > LC_TIME=en_US.UTF-8 > LOGNAME= > MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path > MDMSESSION=cinnamon > MDM_LANG=en_US.UTF-8 > MDM_XSERVER_LOCATION=local > PAPERSIZE=letter > > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games > PWD= > QT4_IM_MODULE=xim > > SESSION_MANAGER=local/:@/tmp/.ICE-unix/1746,unix/:/tmp/.ICE-unix/1746 > SHELL=/bin/bash > SSH_AGENT_PID=1977 > SSH_AUTH_SOCK=/run/user/1000/keyring-a1upHz/ssh > TEXTDOMAIN=im-config > TEXTDOMAINDIR=/usr/share/locale/ > TZ=:/etc/localtime > USER= > USERNAME= > WINDOWPATH=8 > XAUTHORITY=/.Xauthority > XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg > XDG_CURRENT_DESKTOP=X-Cinnamon > > XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/ > XDG_RUNTIME_DIR=/run/user/1000 > XDG_SEAT=seat0 > > XDG_SESSION_COOKIE=5a45fa29109f0ee2389b1b0355283726-1449932616.411621-1638912466 > XDG_SESSION_DESKTOP=cinnamon > XDG_SESSION_ID=c2 > XDG_VTNR=8 > XMODIFIERS=@im=none > > > Jussi > > > On Fri, Dec 11, 2015 at 12:53 AM, zainudin ahmad > wrote: > > > Hi All > > > > with this project (attach project) I get segfault message. > > > > may be someone have the same problem with me ?? > > > > sorry for my english. > > Thank you. > > > > > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > > 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 > -------------- next part -------------- A non-text attachment was scrubbed... Name: test-segFault-MessageForm-0.0.1.tar.gz Type: application/x-gzip Size: 14909 bytes Desc: not available URL: From bugtracker at ...3416... Mon Dec 14 01:16:16 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 14 Dec 2015 00:16:16 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #854: IDE Crash when "Double Click" the Publish button on Publis Software Dialog In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.854&from=L21haW4- Comment #13 by Zainudin AHMAD: I am not alone now :) (attach project) with some sysinfo files inside project From bugtracker at ...3416... Mon Dec 14 01:16:30 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 14 Dec 2015 00:16:30 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #854: IDE Crash when "Double Click" the Publish button on Publis Software Dialog In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.854&from=L21haW4- Zainudin AHMAD added an attachment: test-segFault-MessageForm-0.0.1.tar.gz From author.ilmi at ...626... Mon Dec 14 04:45:13 2015 From: author.ilmi at ...626... (zainudin ahmad) Date: Mon, 14 Dec 2015 10:45:13 +0700 Subject: [Gambas-user] Variation in output In-Reply-To: <1449902860123-54924.post@...3046...> References: <1449845609134-54889.post@...3046...> <1449902860123-54924.post@...3046...> Message-ID: may be you can try option -Z (instead -z) (attach pic) On Sat, Dec 12, 2015 at 1:47 PM, Charlie wrote: > Thanks for looking at this. > Regarding the 'Esc' colour characters, the code posted does remove them. I > also discovered that when run as an executable there are lots of other > characters that are not showing in the IDE like *chr(3)* but these can > easily be removed. > The main issue for me is why has the some of the data been replaced with > *'filter'*. > For those having difficulty accessing my code I have attached an > uncompressed tar file. Execute_bug.tar > > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/Variation-in-output-tp54889p54924.html > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- A non-text attachment was scrubbed... Name: pic-test.png Type: image/png Size: 41555 bytes Desc: not available URL: From sebikul at ...626... Mon Dec 14 05:46:27 2015 From: sebikul at ...626... (Sebastian Kulesz) Date: Mon, 14 Dec 2015 01:46:27 -0300 Subject: [Gambas-user] Pre-release of Gambas 3.8.4 In-Reply-To: <566DAA5B.3000207@...1...> References: <566DAA5B.3000207@...1...> Message-ID: I'm getting the following error when building the Beta PPA. Installing the development environment... Compiling gambas3... CControl.class:767: error: Unknown identifier: sVal The error is in this [0] file. Sorry I can't link to SourceForge, but it won't allow me to select a line. [0] http://bazaar.launchpad.net/~gambas-team/+junk/gambas-3.8branch/view/head:/app/src/gambas3/.src/Editor/Form/CControl.class#L767 On Sun, Dec 13, 2015 at 2:26 PM, Beno?t Minisini < gambas at ...1...> wrote: > Hi, > > As usual, I have uploaded a pre-version of the Gambas 3.8.4 sources so > you can test it before the official release. > > Download it at: > > > https://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.8.4.tar.bz2/download > > And please report any problem! > > Thanks in advance. > > 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 ...1... Mon Dec 14 08:17:06 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 14 Dec 2015 08:17:06 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.8.4 In-Reply-To: References: <566DAA5B.3000207@...1...> Message-ID: <566E6CF2.9020503@...1...> Le 14/12/2015 05:46, Sebastian Kulesz a ?crit : > I'm getting the following error when building the Beta PPA. > > Installing the development environment... > Compiling gambas3... > CControl.class:767: error: Unknown identifier: sVal > > > The error is in this [0] file. Sorry I can't link to SourceForge, but it > won't allow me to select a line. > > [0] > http://bazaar.launchpad.net/~gambas-team/+junk/gambas-3.8branch/view/head:/app/src/gambas3/.src/Editor/Form/CControl.class#L767 > @#%! of svn merge... -- Beno?t Minisini From gambas at ...1... Mon Dec 14 08:38:17 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 14 Dec 2015 08:38:17 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.8.4 In-Reply-To: <566E6CF2.9020503@...1...> References: <566DAA5B.3000207@...1...> <566E6CF2.9020503@...1...> Message-ID: <566E71E9.4020001@...1...> Le 14/12/2015 08:17, Beno?t Minisini a ?crit : > Le 14/12/2015 05:46, Sebastian Kulesz a ?crit : >> I'm getting the following error when building the Beta PPA. >> >> Installing the development environment... >> Compiling gambas3... >> CControl.class:767: error: Unknown identifier: sVal >> >> >> The error is in this [0] file. Sorry I can't link to SourceForge, but it >> won't allow me to select a line. >> >> [0] >> http://bazaar.launchpad.net/~gambas-team/+junk/gambas-3.8branch/view/head:/app/src/gambas3/.src/Editor/Form/CControl.class#L767 >> >> > > @#%! of svn merge... > It's fixed, and the package should compile correctly now. -- Beno?t Minisini From author.ilmi at ...626... Mon Dec 14 09:03:13 2015 From: author.ilmi at ...626... (zainudin ahmad) Date: Mon, 14 Dec 2015 15:03:13 +0700 Subject: [Gambas-user] Pre-release of Gambas 3.8.4 In-Reply-To: <566DAA5B.3000207@...1...> References: <566DAA5B.3000207@...1...> Message-ID: autoreconf: configure.ac: adding subdirectory gb.jit to autoreconf autoreconf: Entering directory `gb.jit' aclocal: installing `m4/libtool.m4' from `/usr/share/aclocal/libtool.m4' aclocal: installing `m4/ltoptions.m4' from `/usr/share/aclocal/ltoptions.m4' aclocal: installing `m4/ltsugar.m4' from `/usr/share/aclocal/ltsugar.m4' aclocal: installing `m4/ltversion.m4' from `/usr/share/aclocal/ltversion.m4' aclocal: installing `m4/lt~obsolete.m4' from `/usr/share/aclocal/lt~obsolete.m4' libtoolize: `./config.guess' is newer: use `--force' to overwrite libtoolize: `./config.sub' is newer: use `--force' to overwrite libtoolize: `./install-sh' is newer: use `--force' to overwrite libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' configure.ac:45: required file `src/Makefile.in' not found autoreconf: automake failed with exit status: 1 src directory no exist ??? On Mon, Dec 14, 2015 at 12:26 AM, Beno?t Minisini < gambas at ...1...> wrote: > Hi, > > As usual, I have uploaded a pre-version of the Gambas 3.8.4 sources so > you can test it before the official release. > > Download it at: > > > https://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.8.4.tar.bz2/download > > And please report any problem! > > Thanks in advance. > > 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 ...1... Mon Dec 14 09:26:49 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 14 Dec 2015 09:26:49 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.8.4 In-Reply-To: References: <566DAA5B.3000207@...1...> Message-ID: <566E7D49.4020307@...1...> Le 14/12/2015 09:03, zainudin ahmad a ?crit : > autoreconf: configure.ac: adding subdirectory gb.jit to autoreconf > autoreconf: Entering directory `gb.jit' > aclocal: installing `m4/libtool.m4' from `/usr/share/aclocal/libtool.m4' > aclocal: installing `m4/ltoptions.m4' from `/usr/share/aclocal/ltoptions.m4' > aclocal: installing `m4/ltsugar.m4' from `/usr/share/aclocal/ltsugar.m4' > aclocal: installing `m4/ltversion.m4' from `/usr/share/aclocal/ltversion.m4' > aclocal: installing `m4/lt~obsolete.m4' from > `/usr/share/aclocal/lt~obsolete.m4' > libtoolize: `./config.guess' is newer: use `--force' to overwrite > libtoolize: `./config.sub' is newer: use `--force' to overwrite > libtoolize: `./install-sh' is newer: use `--force' to overwrite > libtoolize: putting auxiliary files in `.'. > libtoolize: copying file `./ltmain.sh' > configure.ac:45: required file `src/Makefile.in' not found > autoreconf: automake failed with exit status: 1 > > src directory no exist ??? > Are you sure that your source archive was not corrupted? Did you start the compilation with "./reconf-all"? -- Beno?t Minisini From gambas.fr at ...626... Mon Dec 14 09:29:50 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 14 Dec 2015 09:29:50 +0100 Subject: [Gambas-user] Variation in output In-Reply-To: References: <1449845609134-54889.post@...3046...> <1449902860123-54924.post@...3046...> Message-ID: you can use trim first http://gambaswiki.org/wiki/lang/trim?l=fr&nh and then try to see what to remove or remove all string between chr(27) and ";","h","l" well it will not fix all ... my next project concern a little bit that. I'm writting for my own needs a vt100/102 component. That is able to deal easily with vt100 protocol. It's no so powerfull than curse, but it's far more slim and gambas way. I can use my parser to clean vt100 input. 2015-12-14 4:45 GMT+01:00 zainudin ahmad : > may be you can try option -Z (instead -z) > (attach pic) > > On Sat, Dec 12, 2015 at 1:47 PM, Charlie wrote: > >> Thanks for looking at this. >> Regarding the 'Esc' colour characters, the code posted does remove them. I >> also discovered that when run as an executable there are lots of other >> characters that are not showing in the IDE like *chr(3)* but these can >> easily be removed. >> The main issue for me is why has the some of the data been replaced with >> *'filter'*. >> For those having difficulty accessing my code I have attached an >> uncompressed tar file. Execute_bug.tar >> >> >> >> >> -- >> View this message in context: >> http://gambas.8142.n7.nabble.com/Variation-in-output-tp54889p54924.html >> Sent from the gambas-user mailing list archive at Nabble.com. >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> 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 > -- Fabien Bodard From author.ilmi at ...626... Mon Dec 14 09:58:01 2015 From: author.ilmi at ...626... (zainudin ahmad) Date: Mon, 14 Dec 2015 15:58:01 +0700 Subject: [Gambas-user] Pre-release of Gambas 3.8.4 In-Reply-To: <566E7D49.4020307@...1...> References: <566DAA5B.3000207@...1...> <566E7D49.4020307@...1...> Message-ID: attach pic On Mon, Dec 14, 2015 at 3:26 PM, Beno?t Minisini < gambas at ...1...> wrote: > Le 14/12/2015 09:03, zainudin ahmad a ?crit : > > autoreconf: configure.ac: adding subdirectory gb.jit to autoreconf > > autoreconf: Entering directory `gb.jit' > > aclocal: installing `m4/libtool.m4' from `/usr/share/aclocal/libtool.m4' > > aclocal: installing `m4/ltoptions.m4' from > `/usr/share/aclocal/ltoptions.m4' > > aclocal: installing `m4/ltsugar.m4' from `/usr/share/aclocal/ltsugar.m4' > > aclocal: installing `m4/ltversion.m4' from > `/usr/share/aclocal/ltversion.m4' > > aclocal: installing `m4/lt~obsolete.m4' from > > `/usr/share/aclocal/lt~obsolete.m4' > > libtoolize: `./config.guess' is newer: use `--force' to overwrite > > libtoolize: `./config.sub' is newer: use `--force' to overwrite > > libtoolize: `./install-sh' is newer: use `--force' to overwrite > > libtoolize: putting auxiliary files in `.'. > > libtoolize: copying file `./ltmain.sh' > > configure.ac:45: required file `src/Makefile.in' not found > > autoreconf: automake failed with exit status: 1 > > > > src directory no exist ??? > > > > Are you sure that your source archive was not corrupted? > Did you start the compilation with "./reconf-all"? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- A non-text attachment was scrubbed... Name: pic-dir-jit.png Type: image/png Size: 121360 bytes Desc: not available URL: From eilert-sprachen at ...221... Mon Dec 14 10:04:04 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 14 Dec 2015 10:04:04 +0100 Subject: [Gambas-user] Variation in output In-Reply-To: References: <1449845609134-54889.post@...3046...> <1449902860123-54924.post@...3046...> Message-ID: <566E8604.7030800@...221...> Fabien, do you need a real VT terminal to test your component? With RS 232 input wide plug, black and white screen... Would be freaky, wouldn't it? I've got two of those, but with a German keyboard. Regards Rolf Am 14.12.2015 09:29, schrieb Fabien Bodard: > you can use trim first > > http://gambaswiki.org/wiki/lang/trim?l=fr&nh > > and then try to see what to remove > > or remove all string between chr(27) and ";","h","l" > > well it will not fix all ... my next project concern a little bit > that. I'm writting for my own needs a vt100/102 component. That is > able to deal easily with vt100 protocol. > It's no so powerfull than curse, but it's far more slim and gambas > way. I can use my parser to clean vt100 input. > > > > 2015-12-14 4:45 GMT+01:00 zainudin ahmad : >> may be you can try option -Z (instead -z) >> (attach pic) >> >> On Sat, Dec 12, 2015 at 1:47 PM, Charlie wrote: >> >>> Thanks for looking at this. >>> Regarding the 'Esc' colour characters, the code posted does remove them. I >>> also discovered that when run as an executable there are lots of other >>> characters that are not showing in the IDE like *chr(3)* but these can >>> easily be removed. >>> The main issue for me is why has the some of the data been replaced with >>> *'filter'*. >>> For those having difficulty accessing my code I have attached an >>> uncompressed tar file. Execute_bug.tar >>> >>> >>> >>> >>> -- >>> View this message in context: >>> http://gambas.8142.n7.nabble.com/Variation-in-output-tp54889p54924.html >>> Sent from the gambas-user mailing list archive at Nabble.com. >>> >>> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> 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... Mon Dec 14 12:33:11 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 14 Dec 2015 12:33:11 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.8.4 In-Reply-To: References: <566DAA5B.3000207@...1...> <566E7D49.4020307@...1...> Message-ID: <566EA8F7.2070508@...1...> Le 14/12/2015 09:58, zainudin ahmad a ?crit : > attach pic > > On Mon, Dec 14, 2015 at 3:26 PM, Beno?t Minisini < > gambas at ...1...> wrote: > >> Le 14/12/2015 09:03, zainudin ahmad a ?crit : >>> autoreconf: configure.ac: adding subdirectory gb.jit to autoreconf >>> autoreconf: Entering directory `gb.jit' >>> aclocal: installing `m4/libtool.m4' from `/usr/share/aclocal/libtool.m4' >>> aclocal: installing `m4/ltoptions.m4' from >> `/usr/share/aclocal/ltoptions.m4' >>> aclocal: installing `m4/ltsugar.m4' from `/usr/share/aclocal/ltsugar.m4' >>> aclocal: installing `m4/ltversion.m4' from >> `/usr/share/aclocal/ltversion.m4' >>> aclocal: installing `m4/lt~obsolete.m4' from >>> `/usr/share/aclocal/lt~obsolete.m4' >>> libtoolize: `./config.guess' is newer: use `--force' to overwrite >>> libtoolize: `./config.sub' is newer: use `--force' to overwrite >>> libtoolize: `./install-sh' is newer: use `--force' to overwrite >>> libtoolize: putting auxiliary files in `.'. >>> libtoolize: copying file `./ltmain.sh' >>> configure.ac:45: required file `src/Makefile.in' not found >>> autoreconf: automake failed with exit status: 1 >>> >>> src directory no exist ??? >>> >> >> Are you sure that your source archive was not corrupted? >> Did you start the compilation with "./reconf-all"? >> >> -- >> Beno?t Minisini >> OK, it should be fixed now! -- Beno?t Minisini From eilert-sprachen at ...221... Mon Dec 14 12:36:28 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 14 Dec 2015 12:36:28 +0100 Subject: [Gambas-user] GridView - Width of row header In-Reply-To: <566ABEFB.5090609@...1...> References: <56692BCD.1060506@...221...> <566AAFEB.6070001@...221...> <566AB5E7.4090101@...1...> <566ABE25.1020205@...221...> <566ABEFB.5090609@...1...> Message-ID: <566EA9BC.3070905@...221...> Am 11.12.2015 13:18, schrieb Beno?t Minisini: > Le 11/12/2015 13:14, Rolf-Werner Eilert a ?crit : >> Arrgh - Thank you! >> >> Why didn't I find that? Maybe one reason was that the automatic only >> shows GridView.Row and reacts only when you type the 's.' "blindly", and >> then shows the list again. So I couldn't find it from trying. >> >> But it's not so logical to have it there. IMHO it would be clearer if >> all things regarding the headers would appear under a keyword Title or >> Head[er]. >> >> Anyway, I corrected it, and now it runs perfectly :) Have a nice >> weekend, I'll be back on Monday. >> >> Regards >> Rolf >> > Actually there is some logic, as the row header width is stored in the > internal object that manages the rows and computes that width. Same > thing for the column header. > > Regards, > Ok, I can understand that. And where can I set the alignment for the row headers? There is no Rows.Alignment property. Regards Rolf From author.ilmi at ...626... Mon Dec 14 15:31:38 2015 From: author.ilmi at ...626... (zainudin ahmad) Date: Mon, 14 Dec 2015 21:31:38 +0700 Subject: [Gambas-user] Pre-release of Gambas 3.8.4 In-Reply-To: <566EA8F7.2070508@...1...> References: <566DAA5B.3000207@...1...> <566E7D49.4020307@...1...> <566EA8F7.2070508@...1...> Message-ID: thanks, success installed in my system With some Components are disabled (because I used the old lib version): || - gb.jit || - gb.qt5 || - gb.qt5.opengl || - gb.qt5.webkit || - gb.sdl2 || - gb.sdl2.audio at the moment I don't have any problem. On Mon, Dec 14, 2015 at 6:33 PM, Beno?t Minisini < gambas at ...1...> wrote: > Le 14/12/2015 09:58, zainudin ahmad a ?crit : > > attach pic > > > > On Mon, Dec 14, 2015 at 3:26 PM, Beno?t Minisini < > > gambas at ...1...> wrote: > > > >> Le 14/12/2015 09:03, zainudin ahmad a ?crit : > >>> autoreconf: configure.ac: adding subdirectory gb.jit to autoreconf > >>> autoreconf: Entering directory `gb.jit' > >>> aclocal: installing `m4/libtool.m4' from > `/usr/share/aclocal/libtool.m4' > >>> aclocal: installing `m4/ltoptions.m4' from > >> `/usr/share/aclocal/ltoptions.m4' > >>> aclocal: installing `m4/ltsugar.m4' from > `/usr/share/aclocal/ltsugar.m4' > >>> aclocal: installing `m4/ltversion.m4' from > >> `/usr/share/aclocal/ltversion.m4' > >>> aclocal: installing `m4/lt~obsolete.m4' from > >>> `/usr/share/aclocal/lt~obsolete.m4' > >>> libtoolize: `./config.guess' is newer: use `--force' to overwrite > >>> libtoolize: `./config.sub' is newer: use `--force' to overwrite > >>> libtoolize: `./install-sh' is newer: use `--force' to overwrite > >>> libtoolize: putting auxiliary files in `.'. > >>> libtoolize: copying file `./ltmain.sh' > >>> configure.ac:45: required file `src/Makefile.in' not found > >>> autoreconf: automake failed with exit status: 1 > >>> > >>> src directory no exist ??? > >>> > >> > >> Are you sure that your source archive was not corrupted? > >> Did you start the compilation with "./reconf-all"? > >> > >> -- > >> Beno?t Minisini > >> > > OK, it should be fixed now! > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Mon Dec 14 16:39:47 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 14 Dec 2015 16:39:47 +0100 Subject: [Gambas-user] Variation in output In-Reply-To: <566E8604.7030800@...221...> References: <1449845609134-54889.post@...3046...> <1449902860123-54924.post@...3046...> <566E8604.7030800@...221...> Message-ID: 2015-12-14 10:04 GMT+01:00 Rolf-Werner Eilert : > Fabien, do you need a real VT terminal to test your component? With RS > 232 input wide plug, black and white screen... Would be freaky, wouldn't it? > > I've got two of those, but with a German keyboard. OHaaaa !!! Thanks, but XTerm is sufficient :-) > Regards > Rolf > > Am 14.12.2015 09:29, schrieb Fabien Bodard: >> you can use trim first >> >> http://gambaswiki.org/wiki/lang/trim?l=fr&nh >> >> and then try to see what to remove >> >> or remove all string between chr(27) and ";","h","l" >> >> well it will not fix all ... my next project concern a little bit >> that. I'm writting for my own needs a vt100/102 component. That is >> able to deal easily with vt100 protocol. >> It's no so powerfull than curse, but it's far more slim and gambas >> way. I can use my parser to clean vt100 input. >> >> >> >> 2015-12-14 4:45 GMT+01:00 zainudin ahmad : >>> may be you can try option -Z (instead -z) >>> (attach pic) >>> >>> On Sat, Dec 12, 2015 at 1:47 PM, Charlie wrote: >>> >>>> Thanks for looking at this. >>>> Regarding the 'Esc' colour characters, the code posted does remove them. I >>>> also discovered that when run as an executable there are lots of other >>>> characters that are not showing in the IDE like *chr(3)* but these can >>>> easily be removed. >>>> The main issue for me is why has the some of the data been replaced with >>>> *'filter'*. >>>> For those having difficulty accessing my code I have attached an >>>> uncompressed tar file. Execute_bug.tar >>>> >>>> >>>> >>>> >>>> -- >>>> View this message in context: >>>> http://gambas.8142.n7.nabble.com/Variation-in-output-tp54889p54924.html >>>> Sent from the gambas-user mailing list archive at Nabble.com. >>>> >>>> ------------------------------------------------------------------------------ >>>> _______________________________________________ >>>> 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 >>> >> >> > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From eilert-sprachen at ...221... Mon Dec 14 17:50:21 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 14 Dec 2015 17:50:21 +0100 Subject: [Gambas-user] Variation in output In-Reply-To: References: <1449845609134-54889.post@...3046...> <1449902860123-54924.post@...3046...> <566E8604.7030800@...221...> Message-ID: <566EF34D.6090101@...221...> Ok :) Am 14.12.2015 16:39, schrieb Fabien Bodard: > 2015-12-14 10:04 GMT+01:00 Rolf-Werner Eilert : >> Fabien, do you need a real VT terminal to test your component? With RS >> 232 input wide plug, black and white screen... Would be freaky, wouldn't it? >> >> I've got two of those, but with a German keyboard. > OHaaaa !!! > > Thanks, but XTerm is sufficient :-) > > > >> Regards >> Rolf >> >> Am 14.12.2015 09:29, schrieb Fabien Bodard: >>> you can use trim first >>> >>> http://gambaswiki.org/wiki/lang/trim?l=fr&nh >>> >>> and then try to see what to remove >>> >>> or remove all string between chr(27) and ";","h","l" >>> >>> well it will not fix all ... my next project concern a little bit >>> that. I'm writting for my own needs a vt100/102 component. That is >>> able to deal easily with vt100 protocol. >>> It's no so powerfull than curse, but it's far more slim and gambas >>> way. I can use my parser to clean vt100 input. >>> >>> >>> >>> 2015-12-14 4:45 GMT+01:00 zainudin ahmad : >>>> may be you can try option -Z (instead -z) >>>> (attach pic) >>>> >>>> On Sat, Dec 12, 2015 at 1:47 PM, Charlie wrote: >>>> >>>>> Thanks for looking at this. >>>>> Regarding the 'Esc' colour characters, the code posted does remove them. I >>>>> also discovered that when run as an executable there are lots of other >>>>> characters that are not showing in the IDE like *chr(3)* but these can >>>>> easily be removed. >>>>> The main issue for me is why has the some of the data been replaced with >>>>> *'filter'*. >>>>> For those having difficulty accessing my code I have attached an >>>>> uncompressed tar file. Execute_bug.tar >>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> View this message in context: >>>>> http://gambas.8142.n7.nabble.com/Variation-in-output-tp54889p54924.html >>>>> Sent from the gambas-user mailing list archive at Nabble.com. >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> _______________________________________________ >>>>> 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 >>>> >>> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > From mckaygerhard at ...626... Mon Dec 14 19:31:33 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Mon, 14 Dec 2015 14:01:33 -0430 Subject: [Gambas-user] Pre-release of Gambas 3.8.4 In-Reply-To: References: <566DAA5B.3000207@...1...> <566E7D49.4020307@...1...> <566EA8F7.2070508@...1...> Message-ID: hi benoit i sucessfully made a fiscal printer driver with gambas, now i have many questios: in my recent unstable, some Components are disabled (because I used the old lib version): > || - gb.jit this still work with lvvm 3.1? or need explicy >= 3.2, stil can be compiled with 3.0? > || - gb.qt5 > || - gb.qt5.opengl > || - gb.qt5.webkit those means that the qt4 counterparts are deprecated or the release has fixeds for the qt4 components flavors? > || - gb.sdl2 > || - gb.sdl2.audio the sdl 1.2 flavors fo are funtionall? this due i need to backported to debian squeeze and wwheeze!! and last: the code of the serial component was documented with comments to oriented future changes and misconfigurtions respect the wiki documentation? From mckaygerhard at ...626... Mon Dec 14 19:33:43 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Mon, 14 Dec 2015 14:03:43 -0430 Subject: [Gambas-user] an y example of usage gb.logging ? wiki does not have any example Message-ID: any example of usage gb.logging ? wiki does not have any example how can i use that component to send log messages event print messages! remenber that a compiled gambas program does not send to stdout if are running in background, so i need a loggin implementation.. so can i use that component! code example minimal please! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From gambas at ...1... Mon Dec 14 19:38:59 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 14 Dec 2015 19:38:59 +0100 Subject: [Gambas-user] an y example of usage gb.logging ? wiki does not have any example In-Reply-To: References: Message-ID: <566F0CC3.1000801@...1...> Le 14/12/2015 19:33, PICCORO McKAY Lenz a ?crit : > any example of usage gb.logging ? wiki does not have any example > > how can i use that component to send log messages event print messages! > > remenber that a compiled gambas program does not send to stdout if are > running in background, so i need a loggin implementation.. so can i > use that component! > > code example minimal please! > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > System.Log() is the simplest method if you don't need fancy features. -- Beno?t Minisini From mckaygerhard at ...626... Mon Dec 14 19:53:29 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Mon, 14 Dec 2015 14:23:29 -0430 Subject: [Gambas-user] an y example of usage gb.logging ? wiki does not have any example In-Reply-To: <566F0CC3.1000801@...1...> References: <566F0CC3.1000801@...1...> Message-ID: but this need gambas 3.6, i have gambas 3.1 and 3.5 as maximun due i used debian stable (wheeze) Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2015-12-14 14:08 GMT-04:30 Beno?t Minisini : > Le 14/12/2015 19:33, PICCORO McKAY Lenz a ?crit : >> any example of usage gb.logging ? wiki does not have any example >> >> how can i use that component to send log messages event print messages! >> >> remenber that a compiled gambas program does not send to stdout if are >> running in background, so i need a loggin implementation.. so can i >> use that component! >> >> code example minimal please! >> >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> > > System.Log() is the simplest method if you don't need fancy features. > > -- > 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... Mon Dec 14 20:07:39 2015 From: sebikul at ...626... (Sebastian Kulesz) Date: Mon, 14 Dec 2015 19:07:39 +0000 Subject: [Gambas-user] an y example of usage gb.logging ? wiki does not have any example In-Reply-To: References: <566F0CC3.1000801@...1...> Message-ID: I can send you an example project in a few hours if you don't mind waiting. Meanwhile, check out the source code of the component for a mini example on how to use it. -- Puedo mandar un proyecto de ejemplo en unas horas si no te molesta esperar. Mientras tanto, intenta ver el c?digo fuente del componente para un mini ejemplo. On Mon, Dec 14, 2015, 15:55 PICCORO McKAY Lenz wrote: > but this need gambas 3.6, i have gambas 3.1 and 3.5 as maximun due i > used debian stable (wheeze) > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > > 2015-12-14 14:08 GMT-04:30 Beno?t Minisini : > > Le 14/12/2015 19:33, PICCORO McKAY Lenz a ?crit : > >> any example of usage gb.logging ? wiki does not have any example > >> > >> how can i use that component to send log messages event print messages! > >> > >> remenber that a compiled gambas program does not send to stdout if are > >> running in background, so i need a loggin implementation.. so can i > >> use that component! > >> > >> code example minimal please! > >> > >> Lenz McKAY Gerardo (PICCORO) > >> http://qgqlochekone.blogspot.com > >> > > > > System.Log() is the simplest method if you don't need fancy features. > > > > -- > > 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 mckaygerhard at ...626... Mon Dec 14 20:26:00 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Mon, 14 Dec 2015 14:56:00 -0430 Subject: [Gambas-user] an y example of usage gb.logging ? wiki does not have any example In-Reply-To: References: <566F0CC3.1000801@...1...> Message-ID: i'll waith for u sebastian, Meanwhile i search at the code at component in sf svn Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2015-12-14 14:37 GMT-04:30 Sebastian Kulesz : > I can send you an example project in a few hours if you don't mind waiting. > Meanwhile, check out the source code of the component for a mini example on > how to use it. > > -- > > Puedo mandar un proyecto de ejemplo en unas horas si no te molesta esperar. > Mientras tanto, intenta ver el c?digo fuente del componente para un mini > ejemplo. > > On Mon, Dec 14, 2015, 15:55 PICCORO McKAY Lenz > wrote: > >> but this need gambas 3.6, i have gambas 3.1 and 3.5 as maximun due i >> used debian stable (wheeze) >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> >> 2015-12-14 14:08 GMT-04:30 Beno?t Minisini : >> > Le 14/12/2015 19:33, PICCORO McKAY Lenz a ?crit : >> >> any example of usage gb.logging ? wiki does not have any example >> >> >> >> how can i use that component to send log messages event print messages! >> >> >> >> remenber that a compiled gambas program does not send to stdout if are >> >> running in background, so i need a loggin implementation.. so can i >> >> use that component! >> >> >> >> code example minimal please! >> >> >> >> Lenz McKAY Gerardo (PICCORO) >> >> http://qgqlochekone.blogspot.com >> >> >> > >> > System.Log() is the simplest method if you don't need fancy features. >> > >> > -- >> > 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 >> > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From chrisml at ...3340... Mon Dec 14 20:10:42 2015 From: chrisml at ...3340... (Christof Thalhofer) Date: Mon, 14 Dec 2015 20:10:42 +0100 Subject: [Gambas-user] an y example of usage gb.logging ? wiki does not have any example In-Reply-To: References: <566F0CC3.1000801@...1...> Message-ID: <566F1432.2040706@...3340...> Am 14.12.2015 um 19:53 schrieb PICCORO McKAY Lenz: > but this need gambas 3.6, i have gambas 3.1 and 3.5 as maximun due i > used debian stable (wheeze) Then use Shell and the command logger. http://gambaswiki.org/wiki/lang/shell http://www.cyberciti.biz/tips/howto-linux-unix-write-to-syslog.html Alles Gute Christof Thalhofer -- Dies ist keine Signatur From mckaygerhard at ...626... Mon Dec 14 22:34:01 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Mon, 14 Dec 2015 17:04:01 -0430 Subject: [Gambas-user] whats different between "left$" and "left" string functions Message-ID: i can see that documentations returns me as same, but why there's two! so whats different between "left$" and "left" string functions i not programer, but try to implement some hardware this month Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From moviga at ...3488... Mon Dec 14 22:45:00 2015 From: moviga at ...3488... (Moviga Technologies) Date: Mon, 14 Dec 2015 22:45:00 +0100 Subject: [Gambas-user] whats different between "left$" and "left" string functions In-Reply-To: References: Message-ID: <917d51eb361463b2ea4bb6224837ed51@...3488...> They are the same. Beno?t, I've been wanting to ask if we could have an option to turn off one of the sets? As for me, I do not like the ones with dollar signs, but they are normally suggested first by the intellisense, and I have to do an extra down arrow to get to the one that I want. From willy at ...3474... Mon Dec 14 22:52:50 2015 From: willy at ...3474... (willy at ...3474...) Date: Mon, 14 Dec 2015 22:52:50 +0100 Subject: [Gambas-user] Question on gb.gui.qt switcher component and packager Message-ID: Hi, As I have been developing my Gambas3 applications mainly (all except 1) with gb.qt4 component. Now, I am facing a problem with the qt5 being rolled out several recent distro's, when at the same time the older LTS (so, still supported distros) are still on qt4. So, packaging my application with qt4 will not install them on distros with qt5, I presume. Now I noticed that the gb.gui.qt switcher component can help out there. As, I run an older distro that uses qt4, I suppose when using qt-switcher component instead of qt4, the application, when packaged will install on both qt4 and qt5 systems. Am I corrert assuming above? When making a package (debian/ubuntu) of an application with gb.gui.qt switcher component (see screen01) I see that I have 1 .deb package. I like that a lot. But when looking in the control file of the .deb I do not see any dependency on qt? (see screen02) So, how will the distro upon installing know that it needs to use one of the available qt version, instead of gtk or gtk3? Shouldn't there be something in the control file like: gambas3-gb-qt4 (>=3.8) | gambas3-gb-qt5 (>=3.8)) in the sence that one qt excludes the other qt version, but qt will be used for sure and not gtk/gtk3? Thanks, gbWilly -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen01.png Type: image/png Size: 43069 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen02.png Type: image/png Size: 37358 bytes Desc: not available URL: From willy at ...3474... Mon Dec 14 22:54:16 2015 From: willy at ...3474... (willy at ...3474...) Date: Mon, 14 Dec 2015 22:54:16 +0100 Subject: [Gambas-user] whats different between "left$" and "left" string functions In-Reply-To: <917d51eb361463b2ea4bb6224837ed51@...3488...> References: <917d51eb361463b2ea4bb6224837ed51@...3488...> Message-ID: <7a24170ffbb2dc062445797d488ba1bd@...3474...> On 2015-12-14 22:45, Moviga Technologies wrote: > They are the same. > > Beno?t, I've been wanting to ask if we could have an option to turn off > one of the sets? As for me, I do not like the ones with dollar signs, > but they are normally suggested first by the intellisense, and I have > to > do an extra down arrow to get to the one that I want. Same here :) Wouldn't mind if the $-ones would be gone over time. gbWilly From taboege at ...626... Mon Dec 14 22:59:03 2015 From: taboege at ...626... (Tobias Boege) Date: Mon, 14 Dec 2015 22:59:03 +0100 Subject: [Gambas-user] whats different between "left$" and "left" string functions In-Reply-To: <7a24170ffbb2dc062445797d488ba1bd@...3474...> References: <917d51eb361463b2ea4bb6224837ed51@...3488...> <7a24170ffbb2dc062445797d488ba1bd@...3474...> Message-ID: <20151214215903.GE6891@...2774...> On Mon, 14 Dec 2015, willy at ...3474... wrote: > On 2015-12-14 22:45, Moviga Technologies wrote: > > They are the same. > > > > Beno??t, I've been wanting to ask if we could have an option to turn off > > one of the sets? As for me, I do not like the ones with dollar signs, > > but they are normally suggested first by the intellisense, and I have > > to > > do an extra down arrow to get to the one that I want. > > Same here :) > Wouldn't mind if the $-ones would be gone over time. > I'm not sure what my brain thinks of it but my fingers *would* miss them :-) -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From mckaygerhard at ...626... Mon Dec 14 23:01:46 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Mon, 14 Dec 2015 17:31:46 -0430 Subject: [Gambas-user] whats different between "left$" and "left" string functions In-Reply-To: <7a24170ffbb2dc062445797d488ba1bd@...3474...> References: <917d51eb361463b2ea4bb6224837ed51@...3488...> <7a24170ffbb2dc062445797d488ba1bd@...3474...> Message-ID: i think the problem are again in documentation or some misc-information search at documentation seem that the difference are the manipulation respect set of one its for ACII charset and the other seem are for UTF-8 BUT DOCUMENTATIION refers without linking.. i link with a "see also" and "advertise" if i are correct please benoit guide me! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2015-12-14 17:24 GMT-04:30 : > On 2015-12-14 22:45, Moviga Technologies wrote: >> They are the same. >> >> Beno?t, I've been wanting to ask if we could have an option to turn off >> one of the sets? As for me, I do not like the ones with dollar signs, >> but they are normally suggested first by the intellisense, and I have >> to >> do an extra down arrow to get to the one that I want. > > Same here :) > Wouldn't mind if the $-ones would be gone over time. > > gbWilly > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From chrisml at ...3340... Mon Dec 14 23:01:57 2015 From: chrisml at ...3340... (Christof Thalhofer) Date: Mon, 14 Dec 2015 23:01:57 +0100 Subject: [Gambas-user] whats different between "left$" and "left" string functions In-Reply-To: <20151214215903.GE6891@...2774...> References: <917d51eb361463b2ea4bb6224837ed51@...3488...> <7a24170ffbb2dc062445797d488ba1bd@...3474...> <20151214215903.GE6891@...2774...> Message-ID: <566F3C55.1080100@...3340...> Am 14.12.2015 um 22:59 schrieb Tobias Boege: > I'm not sure what my brain thinks of it but my fingers *would* miss them :-) :-) You are young, you can train your finger's behaviour new. Alles Gute Christof Thalhofer -- Dies ist keine Signatur From mckaygerhard at ...626... Mon Dec 14 23:07:32 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Mon, 14 Dec 2015 17:37:32 -0430 Subject: [Gambas-user] whats different between "left$" and "left" string functions In-Reply-To: <566F3C55.1080100@...3340...> References: <917d51eb361463b2ea4bb6224837ed51@...3488...> <7a24170ffbb2dc062445797d488ba1bd@...3474...> <20151214215903.GE6891@...2774...> <566F3C55.1080100@...3340...> Message-ID: i modify for Mid, Mid$ and Left and Left$ the wiki.. seem the difference are the utf-8 respect ascii http://gambaswiki.org/wiki/comp/gb/string/left i added the "see also" and links for ascii counterparts in the utf-8 docs! if i in wrong way benoit guide me Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2015-12-14 17:31 GMT-04:30 Christof Thalhofer : > Am 14.12.2015 um 22:59 schrieb Tobias Boege: > >> I'm not sure what my brain thinks of it but my fingers *would* miss them :-) > > :-) > > You are young, you can train your finger's behaviour new. > > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From willy at ...3474... Mon Dec 14 23:12:32 2015 From: willy at ...3474... (willy at ...3474...) Date: Mon, 14 Dec 2015 23:12:32 +0100 Subject: [Gambas-user] whats different between "left$" and "left" string functions In-Reply-To: References: <917d51eb361463b2ea4bb6224837ed51@...3488...> <7a24170ffbb2dc062445797d488ba1bd@...3474...> Message-ID: <3b6a90e264d9683b9852411200bfbb72@...3474...> On 2015-12-14 23:01, PICCORO McKAY Lenz wrote: > i think the problem are again in documentation or some misc-information > > search at documentation seem that the difference are the manipulation > respect set of > > one its for ACII charset and the other seem are for UTF-8 > > BUT DOCUMENTATIION refers without linking.. i link with a "see also" > and "advertise" > > if i are correct please benoit guide me! > You seem to be correct: Left$() -> This function only deal with ASCII strings. To manipulate UTF-8 strings, use the Left class. Left() -> This function deals with UTF-8 strings, and so all positions and lengths are given in characters and not in bytes. For deal with ASCII see Left$ Documentation is clear on that, I wasn't even aware of the difference...!! So, I guess the question of removal is no longer an issue as they are two different functions :) From jussi.lahtinen at ...626... Mon Dec 14 23:18:11 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 15 Dec 2015 00:18:11 +0200 Subject: [Gambas-user] whats different between "left$" and "left" string functions In-Reply-To: <3b6a90e264d9683b9852411200bfbb72@...3474...> References: <917d51eb361463b2ea4bb6224837ed51@...3488...> <7a24170ffbb2dc062445797d488ba1bd@...3474...> <3b6a90e264d9683b9852411200bfbb72@...3474...> Message-ID: No, you are both wrong. String.Left() is for UTF-8. Left() and Left$() are for ASCII. Jussi On Tue, Dec 15, 2015 at 12:12 AM, wrote: > On 2015-12-14 23:01, PICCORO McKAY Lenz wrote: > > i think the problem are again in documentation or some misc-information > > > > search at documentation seem that the difference are the manipulation > > respect set of > > > > one its for ACII charset and the other seem are for UTF-8 > > > > BUT DOCUMENTATIION refers without linking.. i link with a "see also" > > and "advertise" > > > > if i are correct please benoit guide me! > > > You seem to be correct: > > Left$() -> This function only deal with ASCII strings. To manipulate > UTF-8 strings, use the Left class. > Left() -> This function deals with UTF-8 strings, and so all positions > and lengths are given in characters and not in bytes. For deal with > ASCII see Left$ > > Documentation is clear on that, I wasn't even aware of the > difference...!! > > So, I guess the question of removal is no longer an issue as they are > two different functions :) > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mckaygerhard at ...626... Mon Dec 14 23:22:12 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Mon, 14 Dec 2015 17:52:12 -0430 Subject: [Gambas-user] whats different between "left$" and "left" string functions In-Reply-To: References: <917d51eb361463b2ea4bb6224837ed51@...3488...> <7a24170ffbb2dc062445797d488ba1bd@...3474...> <3b6a90e264d9683b9852411200bfbb72@...3474...> Message-ID: 2015-12-14 17:48 GMT-04:30 Jussi Lahtinen : > St!tring.Left() is for UTF-8. > Left() and Left$() are for ASCII. OK Jussi has right this are wrog on both the modification made by me, and the previous in wiki, the wiki does no clarify that! the wiki said "use the String" but newbie users may confuse the string class with left with the single left of "lang" so the wiki must have better points and link/info about! > > > Jussi > > On Tue, Dec 15, 2015 at 12:12 AM, wrote: > >> On 2015-12-14 23:01, PICCORO McKAY Lenz wrote: >> > i think the problem are again in documentation or some misc-information >> > >> > search at documentation seem that the difference are the manipulation >> > respect set of >> > >> > one its for ACII charset and the other seem are for UTF-8 >> > >> > BUT DOCUMENTATIION refers without linking.. i link with a "see also" >> > and "advertise" >> > >> > if i are correct please benoit guide me! >> > >> You seem to be correct: >> >> Left$() -> This function only deal with ASCII strings. To manipulate >> UTF-8 strings, use the Left class. >> Left() -> This function deals with UTF-8 strings, and so all positions >> and lengths are given in characters and not in bytes. For deal with >> ASCII see Left$ >> >> Documentation is clear on that, I wasn't even aware of the >> difference...!! >> >> So, I guess the question of removal is no longer an issue as they are >> two different functions :) >> >> >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> 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 taboege at ...626... Mon Dec 14 23:24:38 2015 From: taboege at ...626... (Tobias Boege) Date: Mon, 14 Dec 2015 23:24:38 +0100 Subject: [Gambas-user] whats different between "left$" and "left" string functions In-Reply-To: <3b6a90e264d9683b9852411200bfbb72@...3474...> References: <917d51eb361463b2ea4bb6224837ed51@...3488...> <7a24170ffbb2dc062445797d488ba1bd@...3474...> <3b6a90e264d9683b9852411200bfbb72@...3474...> Message-ID: <20151214222438.GF6891@...2774...> On Mon, 14 Dec 2015, willy at ...3474... wrote: > On 2015-12-14 23:01, PICCORO McKAY Lenz wrote: > > i think the problem are again in documentation or some misc-information > > > > search at documentation seem that the difference are the manipulation > > respect set of > > > > one its for ACII charset and the other seem are for UTF-8 > > > > BUT DOCUMENTATIION refers without linking.. i link with a "see also" > > and "advertise" > > > > if i are correct please benoit guide me! > > Please take extra care to not make the docs by any chance worse with your English, and don't write something which you are not sure about. > You seem to be correct: > > Left$() -> This function only deal with ASCII strings. To manipulate > UTF-8 strings, use the Left class. > Left() -> This function deals with UTF-8 strings, and so all positions > and lengths are given in characters and not in bytes. For deal with > ASCII see Left$ > > Documentation is clear on that, I wasn't even aware of the > difference...!! > > So, I guess the question of removal is no longer an issue as they are > two different functions :) > No, there are these two kinds of string manipulation functions: 1. The intrinsic functions which come in pairs: Left$(), Left(), Mid$(), Mid(), etc. which are built into the language, and 2. The methods of the String class in the gb component. Modulo naming, the functions of the first kind are identical -- which was the original question I think. Only in the mail quoted above PICCORO mixed the second kind in. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From mckaygerhard at ...626... Mon Dec 14 23:29:48 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Mon, 14 Dec 2015 17:59:48 -0430 Subject: [Gambas-user] whats different between "left$" and "left" string functions In-Reply-To: <20151214222438.GF6891@...2774...> References: <917d51eb361463b2ea4bb6224837ed51@...3488...> <7a24170ffbb2dc062445797d488ba1bd@...3474...> <3b6a90e264d9683b9852411200bfbb72@...3474...> <20151214222438.GF6891@...2774...> Message-ID: hi Toby Jussi has right, the wiki before or after me, has some missing points to newbie programers also the http://gambaswiki.org/wiki/lang/replace page has broken links! around the gb.Case (also info are ambigous) we think gambas comunity must designate 2 or 3 mens to watchful the wiki and correct that problems any suggestions, and please can any correct thos misc in the wiki respect the string manipulation fuctions!? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2015-12-14 17:54 GMT-04:30 Tobias Boege : > On Mon, 14 Dec 2015, willy at ...3474... wrote: >> On 2015-12-14 23:01, PICCORO McKAY Lenz wrote: >> > i think the problem are again in documentation or some misc-information >> > >> > search at documentation seem that the difference are the manipulation >> > respect set of >> > >> > one its for ACII charset and the other seem are for UTF-8 >> > >> > BUT DOCUMENTATIION refers without linking.. i link with a "see also" >> > and "advertise" >> > >> > if i are correct please benoit guide me! >> > > > Please take extra care to not make the docs by any chance worse with your > English, and don't write something which you are not sure about. > >> You seem to be correct: >> >> Left$() -> This function only deal with ASCII strings. To manipulate >> UTF-8 strings, use the Left class. >> Left() -> This function deals with UTF-8 strings, and so all positions >> and lengths are given in characters and not in bytes. For deal with >> ASCII see Left$ >> >> Documentation is clear on that, I wasn't even aware of the >> difference...!! >> >> So, I guess the question of removal is no longer an issue as they are >> two different functions :) >> > > No, there are these two kinds of string manipulation functions: > > 1. The intrinsic functions which come in pairs: Left$(), Left(), Mid$(), > Mid(), etc. which are built into the language, and > 2. The methods of the String class in the gb component. > > Modulo naming, the functions of the first kind are identical -- which was > the original question I think. Only in the mail quoted above PICCORO mixed > the second kind in. > > 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 From willy at ...3474... Mon Dec 14 23:36:16 2015 From: willy at ...3474... (willy at ...3474...) Date: Mon, 14 Dec 2015 23:36:16 +0100 Subject: [Gambas-user] whats different between "left$" and "left" string functions In-Reply-To: <20151214222438.GF6891@...2774...> References: <917d51eb361463b2ea4bb6224837ed51@...3488...> <7a24170ffbb2dc062445797d488ba1bd@...3474...> <3b6a90e264d9683b9852411200bfbb72@...3474...> <20151214222438.GF6891@...2774...> Message-ID: <0c93dbc8dc9e1ada33d4422127324670@...3474...> On 2015-12-14 23:24, Tobias Boege wrote: > On Mon, 14 Dec 2015, willy at ...3474... wrote: >> On 2015-12-14 23:01, PICCORO McKAY Lenz wrote: >> > i think the problem are again in documentation or some misc-information >> > >> > search at documentation seem that the difference are the manipulation >> > respect set of >> > >> > one its for ACII charset and the other seem are for UTF-8 >> > >> > BUT DOCUMENTATIION refers without linking.. i link with a "see also" >> > and "advertise" >> > >> > if i are correct please benoit guide me! >> > > > Please take extra care to not make the docs by any chance worse with > your > English, and don't write something which you are not sure about. I've corrected the English and clarified things a bit, to make a bit more clear that Left <> String.Left (same for Mid and Right). Feel free to correct, if needed. >> So, I guess the question of removal is no longer an issue as they are >> two different functions :) >> > > No, there are these two kinds of string manipulation functions: > > 1. The intrinsic functions which come in pairs: Left$(), Left(), > Mid$(), > Mid(), etc. which are built into the language, and > 2. The methods of the String class in the gb component. > > Modulo naming, the functions of the first kind are identical -- which > was > the original question I think. Only in the mail quoted above PICCORO > mixed > the second kind in. I get it, in short: String.Left() <> Left() = Left$() :) From sebikul at ...626... Mon Dec 14 23:48:18 2015 From: sebikul at ...626... (Sebastian Kulesz) Date: Mon, 14 Dec 2015 19:48:18 -0300 Subject: [Gambas-user] an y example of usage gb.logging ? wiki does not have any example In-Reply-To: <566F1432.2040706@...3340...> References: <566F0CC3.1000801@...1...> <566F1432.2040706@...3340...> Message-ID: English here, Spanish translation is below! Here [0] is a little example which is available within the component. Otherwise, if you really just want to output text to the console, you can call Logger("This will be logged to the standard output"), or Logger.Log which is a mirror of the previous function, but longer. In the example, you can see that by using a simple Logger, the text goes only to one output. But by using a ComplexLogger, you can multiplex that output, and even set different levels for each output. So, for example, all messages will be saved to a file, by using a FileHandler with a Debug priority, but only messages with Error or Critical priority will be shown in the console, by using a ConsoleHandler with an Error priority. You can even write your own handler to send the messages over the net to a logging server! -- Aqu? [0] puedes ver un peque?o ejemplo que esta disponible dentro del c?digo fuente del componente. Si lo ?nico que quieres es imprimir texto en la consola, puedes llamar a Logger("Esto se va a imprimir en la consola") o a Logger.Log, que es un espejo de la misma funci?n, pero con una llamada mas larga. En el ejemplo, puedes ver que usando un Logger simple, el texto solo va a un lugar. Pero usando un ComplexLogger, puedes multiplexar la salida, y setear distintas prioridades a cada salida. De esta manera, por ejemplo, todos los mensajes pueden ser guardados en un archivo usando un FileHandler con la prioridad seteada en Debug, pero que solo lo mensajes con prioridades Error o Critical sean mostrados en la consola, usando un ConsoleHandler con la prioridad seteada en Error. Puedes incluso escribir tus propios Handlers para enviar los mensajes por la red a un servidor de logging! [0] http://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/comp/src/gb.logging/.src/MTest.module On Mon, Dec 14, 2015 at 4:10 PM, Christof Thalhofer wrote: > Am 14.12.2015 um 19:53 schrieb PICCORO McKAY Lenz: > > but this need gambas 3.6, i have gambas 3.1 and 3.5 as maximun due i > > used debian stable (wheeze) > > Then use Shell and the command logger. > > http://gambaswiki.org/wiki/lang/shell > http://www.cyberciti.biz/tips/howto-linux-unix-write-to-syslog.html > > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From willy at ...3474... Tue Dec 15 00:08:52 2015 From: willy at ...3474... (willy at ...3474...) Date: Tue, 15 Dec 2015 00:08:52 +0100 Subject: [Gambas-user] whats different between "left$" and "left" string functions In-Reply-To: References: <917d51eb361463b2ea4bb6224837ed51@...3488...> <7a24170ffbb2dc062445797d488ba1bd@...3474...> <3b6a90e264d9683b9852411200bfbb72@...3474...> <20151214222438.GF6891@...2774...> Message-ID: On 2015-12-14 23:29, PICCORO McKAY Lenz wrote: > hi Toby > > Jussi has right, the wiki before or after me, has some missing points > to newbie programers > > also the http://gambaswiki.org/wiki/lang/replace page has broken > links! around the gb.Case (also info are ambigous) > > we think gambas comunity must designate 2 or 3 mens to watchful the > wiki and correct that problems > > any suggestions, and please can any correct thos misc in the wiki > respect the string manipulation fuctions!? > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com Yes, There is a lot of work and a lot of missing documentation: http://gambaswiki.org/wiki/translate -> There are 1491 symbols to document yet. A lot of it I never used, so I can't help out documenting it. It would be good if those developing would 'now and then' take some time to check if their developments are at least minimal documented. All that takes is creating the missing page, without any further documentation added, so it will at least pop up in the help. If I figure out the use of minimal documented parts, I will add info to it, if the info presented: 1. would clarify the use 2. would be correct I have been doing so for gb.report and will be doing so for every other undocumented feature I might start using in the future, because I need it myself. It isn't always easy figuring out how to use an undocumented feature. It's mainly trial and error, time consuming and in the end never knowing for sure if that is the way it is intended to be used. Anyway, count me in for helping improve the wiki. I will, if and when I can. gbWilly From bugtracker at ...3416... Tue Dec 15 00:09:46 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 14 Dec 2015 23:09:46 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #871: Point of breakpoints have disappeared when clicking the make code pretty Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.871&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- Point of breakpoints have disappeared when clicking the make code pretty Type : Bug Priority : Low Gambas version : 3.8.90 (TRUNK) Product : Development Environment Description ----------- This happens only when the code is ugly Reproduce the bug : (attach pic-1) - Make code become ugly (not pretty) - Add breakpoint - Click "Make code pretty" button System information ------------------ [System] Gambas=3.8.90 r7511 OperatingSystem=Linux Kernel=3.2.0-88-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=LXDE Theme=Gtk Language=en_US.UTF-8 Memory=494M [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.7.0 GTK+2=libgtk-x11-2.0.so.0.2400.10 GTK+3=libgtk-3.so.0.400.2 OpenGL=libGL.so.96.43.23 Poppler=libpoppler.so.19.0.0 QT4=libQtCore.so.4.8.1 QT5=libQt5Core.so.5.0.2 SDL=libSDL-1.2.so.0.11.3 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-Pg4SuDCfHI,guid=11d7da1276401e3e32c8727f00000034 DEFAULTS_PATH=/usr/share/gconf/Lubuntu.default.path DESKTOP_SESSION=Lubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=Lubuntu GNOME_KEYRING_CONTROL=/tmp/keyring-nLneB0 GNOME_KEYRING_PID=1777 HOME= LANG=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/Lubuntu.mandatory.path PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PWD= SAL_USE_VCLPLUGIN=gtk SHELL=/bin/bash SSH_AGENT_PID=1768 SSH_AUTH_SOCK=/tmp/keyring-nLneB0/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/lubuntu/:/etc/xdg/xdg-Lubuntu:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXDE XDG_DATA_DIRS=/etc/xdg/lubuntu:/usr/share/Lubuntu:/usr/local/share/:/usr/share/:/usr/share:/usr/share/gdm:/var/lib/menu-xdg XDG_MENU_PREFIX=lxde- XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_COOKIE=2d9710af0959f6893eb828f100000008-1449790903.410486-1674757588 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 _LXSESSION_PID=1738 From bugtracker at ...3416... Tue Dec 15 00:10:03 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 14 Dec 2015 23:10:03 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #871: Point of breakpoints have disappeared when clicking the make code pretty In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.871&from=L21haW4- Zainudin AHMAD added an attachment: pic-1.png From mckaygerhard at ...626... Tue Dec 15 00:21:40 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Mon, 14 Dec 2015 18:51:40 -0430 Subject: [Gambas-user] an y example of usage gb.logging ? wiki does not have any example In-Reply-To: References: <566F0CC3.1000801@...1...> <566F1432.2040706@...3340...> Message-ID: thanks Sebastian, for example.. i now revised.. in the svn was looking a bit lost that's the part interest me: Dim cLogger As Logger cLogger = New Logger(LogLevel.Error, Null, Logger.Stdout) cLogger.Begin() cLogger.Log("Using the old logger interface", LogLevel.Critical) thanks, If you're not a native user of Spanish language, you do not need me translate it, I write the English bad because I do always in a hurry, my job is to do things that are not implemented in linux to made possible migrations, including documentation for groups of manpowers, if this work is not done in a short time, it is performed on another platform (obviously that not like me jejeje) Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2015-12-14 18:18 GMT-04:30 Sebastian Kulesz : > English here, Spanish translation is below! > > Here [0] is a little example which is available within the component. > Otherwise, if you really just want to output text to the console, you can > call Logger("This will be logged to the standard output"), or Logger.Log > which is a mirror of the previous function, but longer. > > In the example, you can see that by using a simple Logger, the text goes > only to one output. But by using a ComplexLogger, you can multiplex that > output, and even set different levels for each output. So, for example, all > messages will be saved to a file, by using a FileHandler with > a Debug priority, but only messages with Error or Critical priority will be > shown in the console, by using a ConsoleHandler with an Error priority. You > can even write your own handler to send the messages over the net to a > logging server! > > -- > > Aqu? [0] puedes ver un peque?o ejemplo que esta disponible dentro del > c?digo fuente del componente. Si lo ?nico que quieres es imprimir texto en > la consola, puedes llamar a Logger("Esto se va a imprimir en la consola") o > a Logger.Log, que es un espejo de la misma funci?n, pero con una llamada > mas larga. > > En el ejemplo, puedes ver que usando un Logger simple, el texto solo va a > un lugar. Pero usando un ComplexLogger, puedes multiplexar la salida, y > setear distintas prioridades a cada salida. De esta manera, por ejemplo, > todos los mensajes pueden ser guardados en un archivo usando un FileHandler > con la prioridad seteada en Debug, pero que solo lo mensajes con > prioridades Error o Critical sean mostrados en la consola, usando un > ConsoleHandler con la prioridad seteada en Error. Puedes incluso escribir > tus propios Handlers para enviar los mensajes por la red a un servidor de > logging! > > [0] > http://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/comp/src/gb.logging/.src/MTest.module > > On Mon, Dec 14, 2015 at 4:10 PM, Christof Thalhofer > wrote: > >> Am 14.12.2015 um 19:53 schrieb PICCORO McKAY Lenz: >> > but this need gambas 3.6, i have gambas 3.1 and 3.5 as maximun due i >> > used debian stable (wheeze) >> >> Then use Shell and the command logger. >> >> http://gambaswiki.org/wiki/lang/shell >> http://www.cyberciti.biz/tips/howto-linux-unix-write-to-syslog.html >> >> >> Alles Gute >> >> Christof Thalhofer >> >> -- >> Dies ist keine Signatur >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> 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 mckaygerhard at ...626... Tue Dec 15 00:36:41 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Mon, 14 Dec 2015 19:06:41 -0430 Subject: [Gambas-user] an y example of usage gb.logging ? wiki does not have any example In-Reply-To: References: <566F0CC3.1000801@...1...> <566F1432.2040706@...3340...> Message-ID: hi again sebastian, the example works for me in debian wheeze, unfortunatelly does not in squeeze, due the minimun version to implement the logger are 3.4 so i post a link here for those in my particular situatiion that wants implement loggin in older versions of gambas: http://www.gambas-es.org/kb.php?mode=article&k=6 2015-12-14 18:51 GMT-04:30 PICCORO McKAY Lenz : thanks for all.. > thanks Sebastian, for example.. i now revised.. in the svn was > looking a bit lost > > that's the part interest me: > > Dim cLogger As Logger > cLogger = New Logger(LogLevel.Error, Null, Logger.Stdout) > cLogger.Begin() > cLogger.Log("Using the old logger interface", LogLevel.Critical) > > thanks, > > If you're not a native user of Spanish language, you do not need me > translate it, > > I write the English bad because I do always in a hurry, my job is to > do things that are not implemented in linux to made possible > migrations, including documentation for groups of manpowers, if this > work is not done in a short time, it is performed on another platform > (obviously that not like me jejeje) > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > From sebikul at ...626... Tue Dec 15 00:37:59 2015 From: sebikul at ...626... (Sebastian Kulesz) Date: Mon, 14 Dec 2015 23:37:59 +0000 Subject: [Gambas-user] an y example of usage gb.logging ? wiki does not have any example In-Reply-To: References: <566F0CC3.1000801@...1...> <566F1432.2040706@...3340...> Message-ID: Glad it was useful! I'm from Argentina, so it's no problem translating my emails. I was doing it just in case. Anyways, the time you don't spend writing an email correctly, is time we, the rest of the list, have to spend trying to decipher it to gasp what you were trying to say. We are all trying to help, so try to write correctly, and double check your emails! I value my time just as much as you value yours. Besides, most of the people here are not native English speakers, so trying to read in a foreign language something which is not well written can be extremely hard or confusing! And lastly, this list can be used as documentation just as the wiki. So if someone finds a thread where a problem was solved, it would be nice for the thread to be easy to read and follow, so as to get to the solution. You say the wiki can be confusing, imagine coming from Google, with a problem not mentioned in the wiki, and trying to find the solution in this thread! On Mon, Dec 14, 2015, 20:24 PICCORO McKAY Lenz wrote: > thanks Sebastian, for example.. i now revised.. in the svn was > looking a bit lost > > that's the part interest me: > > Dim cLogger As Logger > cLogger = New Logger(LogLevel.Error, Null, Logger.Stdout) > cLogger.Begin() > cLogger.Log("Using the old logger interface", LogLevel.Critical) > > thanks, > > If you're not a native user of Spanish language, you do not need me > translate it, > > I write the English bad because I do always in a hurry, my job is to > do things that are not implemented in linux to made possible > migrations, including documentation for groups of manpowers, if this > work is not done in a short time, it is performed on another platform > (obviously that not like me jejeje) > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > > 2015-12-14 18:18 GMT-04:30 Sebastian Kulesz : > > English here, Spanish translation is below! > > > > Here [0] is a little example which is available within the component. > > Otherwise, if you really just want to output text to the console, you can > > call Logger("This will be logged to the standard output"), or Logger.Log > > which is a mirror of the previous function, but longer. > > > > In the example, you can see that by using a simple Logger, the text goes > > only to one output. But by using a ComplexLogger, you can multiplex that > > output, and even set different levels for each output. So, for example, > all > > messages will be saved to a file, by using a FileHandler with > > a Debug priority, but only messages with Error or Critical priority will > be > > shown in the console, by using a ConsoleHandler with an Error priority. > You > > can even write your own handler to send the messages over the net to a > > logging server! > > > > -- > > > > Aqu? [0] puedes ver un peque?o ejemplo que esta disponible dentro del > > c?digo fuente del componente. Si lo ?nico que quieres es imprimir texto > en > > la consola, puedes llamar a Logger("Esto se va a imprimir en la > consola") o > > a Logger.Log, que es un espejo de la misma funci?n, pero con una llamada > > mas larga. > > > > En el ejemplo, puedes ver que usando un Logger simple, el texto solo va a > > un lugar. Pero usando un ComplexLogger, puedes multiplexar la salida, y > > setear distintas prioridades a cada salida. De esta manera, por ejemplo, > > todos los mensajes pueden ser guardados en un archivo usando un > FileHandler > > con la prioridad seteada en Debug, pero que solo lo mensajes con > > prioridades Error o Critical sean mostrados en la consola, usando un > > ConsoleHandler con la prioridad seteada en Error. Puedes incluso escribir > > tus propios Handlers para enviar los mensajes por la red a un servidor de > > logging! > > > > [0] > > > http://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/comp/src/gb.logging/.src/MTest.module > > > > On Mon, Dec 14, 2015 at 4:10 PM, Christof Thalhofer > > > wrote: > > > >> Am 14.12.2015 um 19:53 schrieb PICCORO McKAY Lenz: > >> > but this need gambas 3.6, i have gambas 3.1 and 3.5 as maximun due i > >> > used debian stable (wheeze) > >> > >> Then use Shell and the command logger. > >> > >> http://gambaswiki.org/wiki/lang/shell > >> http://www.cyberciti.biz/tips/howto-linux-unix-write-to-syslog.html > >> > >> > >> Alles Gute > >> > >> Christof Thalhofer > >> > >> -- > >> Dies ist keine Signatur > >> > >> > >> > ------------------------------------------------------------------------------ > >> _______________________________________________ > >> 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 > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sebikul at ...626... Tue Dec 15 00:42:15 2015 From: sebikul at ...626... (Sebastian Kulesz) Date: Mon, 14 Dec 2015 23:42:15 +0000 Subject: [Gambas-user] an y example of usage gb.logging ? wiki does not have any example In-Reply-To: References: <566F0CC3.1000801@...1...> <566F1432.2040706@...3340...> Message-ID: If you are using an old version of Gambas, you can try to copy the component's source code to your project. It does not use any fancy features introduced lately, so it should work. I'm not 100% sure it will work, but you can try anyway! On Mon, Dec 14, 2015, 20:38 PICCORO McKAY Lenz wrote: > hi again sebastian, the example works for me in debian wheeze, > unfortunatelly does not in squeeze, due the minimun version to > implement the logger are 3.4 > > so i post a link here for those in my particular situatiion that wants > implement loggin in older versions of gambas: > http://www.gambas-es.org/kb.php?mode=article&k=6 > 2015-12-14 18:51 GMT-04:30 PICCORO McKAY Lenz : > > thanks for all.. > > thanks Sebastian, for example.. i now revised.. in the svn was > > looking a bit lost > > > > that's the part interest me: > > > > Dim cLogger As Logger > > cLogger = New Logger(LogLevel.Error, Null, Logger.Stdout) > > cLogger.Begin() > > cLogger.Log("Using the old logger interface", LogLevel.Critical) > > > > thanks, > > > > If you're not a native user of Spanish language, you do not need me > > translate it, > > > > I write the English bad because I do always in a hurry, my job is to > > do things that are not implemented in linux to made possible > > migrations, including documentation for groups of manpowers, if this > > work is not done in a short time, it is performed on another platform > > (obviously that not like me jejeje) > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Tue Dec 15 00:47:47 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 14 Dec 2015 23:47:47 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #872: Update debhelper version for Debian packages in Packager module. Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.872&from=L21haW4- gbWilly GAMBOS reported a new bug. Summary ------- Update debhelper version for Debian packages in Packager module. Type : Request Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Development Environment Description ----------- In module Package debhelper version for packaging is debhelper (>= 5.0.0). This is a very outdated version. 'Debian Introduction to packaging' (https://wiki.debian.org/IntroDebianPackaging) requires version 9. Even the old old Debian Stable (Squeeze) has version 9 available in backports. (https://packages.debian.org/search?keywords=debhelper) I suggest making a constant variable to hold this version, as it can change over time, and moving it up to 9. Something like: Private Const DEBHELPER As String = "(>= 9.0.0)" would do just fine. System information ------------------ Multiple systems: 1. --------------------------------------------- [System] Gambas=3.5.4 OperatingSystem=Linux Kernel=3.16.0-4-586 Architecture=x86 Distribution=debian 8.1 Desktop=LXDE Theme=QWindows Language=en_US.UTF-8 Memory=945M [Libraries] Cairo=libcairo.so.2.11400.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.12 GStreamer=libgstreamer-1.0.so.0.404.0 GTK+=libgtk-x11-2.0.so.0.2400.25 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.46.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 2. --------------------------------------------- [System] Gambas=3.6.2 OperatingSystem=Linux Kernel=3.16.0-4-586 Architecture=x86 Distribution=debian 8.1 Desktop=LXDE Theme=QWindows Language=en_US.UTF-8 Memory=945M [Libraries] Cairo=libcairo.so.2.11400.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.12 GStreamer=libgstreamer-1.0.so.0.404.0 GTK+3=libgtk-3.so.0.1400.5 GTK+=libgtk-x11-2.0.so.0.2400.25 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.46.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 3. --------------------------------------------- [System] Gambas=3.7.1 OperatingSystem=Linux Kernel=3.16.0-4-586 Architecture=x86 Distribution=debian 8.1 Desktop=LXDE Theme=QWindows Language=en_US.UTF-8 Memory=945M [Libraries] Cairo=libcairo.so.2.11400.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.12 GStreamer=libgstreamer-1.0.so.0.404.0 GTK+3=libgtk-3.so.0.1400.5 GTK+=libgtk-x11-2.0.so.0.2400.25 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.46.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 4. --------------------------------------------- [System] Gambas=3.8.90 (rev#7511) OperatingSystem=Linux Kernel=3.19.0-28-generic Architecture=x86 Distribution=Ubuntu 14.04.3 LTS Desktop=LXDE Theme=Gtk Language=en_US.UTF-8 Memory=937M [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+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 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 [Environment] CLUTTER_IM_MODULE=xim DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-d2tYwNrIPc DEFAULTS_PATH=/usr/share/gconf/Lubuntu.default.path DESKTOP_SESSION=Lubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=Lubuntu GDM_LANG=en_US GNOME_KEYRING_CONTROL=/run/user/1000/keyring-Eo5i6s GNOME_KEYRING_PID=1473 GPG_AGENT_INFO=/run/user/1000/keyring-Eo5i6s/gpg:0:1 GTK_IM_MODULE=xim HOME= IM_CONFIG_PHASE=1 INSTANCE= JOB=dbus LANG=en_US.UTF-8 LANGUAGE=en_US LC_ADDRESS=nl_NL.UTF-8 LC_IDENTIFICATION=nl_NL.UTF-8 LC_MEASUREMENT=nl_NL.UTF-8 LC_MONETARY=nl_NL.UTF-8 LC_NAME=nl_NL.UTF-8 LC_NUMERIC=nl_NL.UTF-8 LC_PAPER=nl_NL.UTF-8 LC_TELEPHONE=nl_NL.UTF-8 LC_TIME=nl_NL.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/Lubuntu.mandatory.path PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT4_IM_MODULE=xim QT_IM_MODULE=xim SAL_USE_VCLPLUGIN=gtk SELINUX_INIT=YES SESSION=Lubuntu SESSIONTYPE=lxsession SHELL=/bin/bash SHLVL=0 SSH_AUTH_SOCK=/run/user/1000/keyring-Eo5i6s/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime UPSTART_EVENTS=started xsession UPSTART_INSTANCE= UPSTART_JOB=lxsession UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1329 USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/lubuntu:/etc/xdg/xdg-Lubuntu:/usr/share/upstart/xdg:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXDE XDG_DATA_DIRS=/etc/xdg/lubuntu:/usr/local/share:/usr/share:/usr/share/gdm:/var/lib/menu-xdg:/usr/share/Lubuntu:/usr/local/share/:/usr/share/ XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=lxde- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_VTNR=7 XMODIFIERS=@...3498...=ibus _LXSESSION_PID=1515 5. --------------------------------------------- [System] Gambas=3.8.90 (rev#7516) OperatingSystem=Linux Kernel=3.2.0-92-generic Architecture=x86 Distribution=Linux Mint 13 Maya Desktop=MATE Theme=Gtk Language=nl_NL.UTF-8 Memory=2004M [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+2=libgtk-x11-2.0.so.0.2400.10 GTK+3=libgtk-3.so.0.400.2 Poppler=libpoppler.so.19.0.0 QT4=libQtCore.so.4.8.1 SDL=libSDL-1.2.so.0.11.3 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-0u5IGaGXG3,guid=4d001ab8066e9b5d7e5e1f9300000021 DBUS_STARTER_ADDRESS=unix:abstract=/tmp/dbus-0u5IGaGXG3,guid=4d001ab8066e9b5d7e5e1f9300000021 DBUS_STARTER_BUS_TYPE=session DEFAULTS_PATH=/usr/share/gconf/mate.default.path DESKTOP_SESSION=mate DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=mate GDM_XSERVER_LOCATION=local GPG_AGENT_INFO=/tmp/keyring-956Xzu/gpg:0:1 HOME= LANG=nl_NL.UTF-8 LC_ADDRESS=nl_NL.UTF-8 LC_IDENTIFICATION=nl_NL.UTF-8 LC_MEASUREMENT=nl_NL.UTF-8 LC_MONETARY=nl_NL.UTF-8 LC_NAME=nl_NL.UTF-8 LC_NUMERIC=nl_NL.UTF-8 LC_PAPER=nl_NL.UTF-8 LC_TELEPHONE=nl_NL.UTF-8 LC_TIME=nl_NL.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path MATE_DESKTOP_SESSION_ID=this-is-deprecated MATE_KEYRING_CONTROL=/tmp/keyring-956Xzu MDMSESSION=mate MDM_LANG=nl_NL.UTF-8 MDM_XSERVER_LOCATION=local PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PWD= SESSION_MANAGER=local/:@/tmp/.ICE-unix/1741,unix/:/tmp/.ICE-unix/1741 SHELL=/bin/bash SSH_AGENT_PID=1802 SSH_AUTH_SOCK=/tmp/keyring-956Xzu/ssh TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=8 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_SESSION_COOKIE=e227274bb17bcf421ba09f9c00000009-1449781858.809691-713854121 From bugtracker at ...3416... Tue Dec 15 00:51:33 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 14 Dec 2015 23:51:33 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #872: Update debhelper version for Debian packages in Packager module. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.872&from=L21haW4- Comment #1 by gbWilly GAMBOS: Note that: Private Const DEBHELPER As String = "(>= 9)" would do as well. From gambas at ...1... Tue Dec 15 00:54:17 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 15 Dec 2015 00:54:17 +0100 Subject: [Gambas-user] Question on gb.gui.qt switcher component and packager In-Reply-To: References: Message-ID: <566F56A9.4030209@...1...> Le 14/12/2015 22:52, willy at ...3474... a ?crit : > Hi, > > As I have been developing my Gambas3 applications mainly (all except 1) > with gb.qt4 component. > Now, I am facing a problem with the qt5 being rolled out several recent > distro's, when at the same time the older LTS (so, still supported > distros) are still on qt4. > > So, packaging my application with qt4 will not install them on distros > with qt5, I presume. > > Now I noticed that the gb.gui.qt switcher component can help out there. > As, I run an older distro that uses qt4, I suppose when using > qt-switcher component instead of qt4, the application, when packaged > will install on both qt4 and qt5 systems. > > Am I corrert assuming above? > > When making a package (debian/ubuntu) of an application with gb.gui.qt > switcher component (see screen01) I see that I have 1 .deb package. I > like that a lot. > > But when looking in the control file of the .deb I do not see any > dependency on qt? (see screen02) > > So, how will the distro upon installing know that it needs to use one of > the available qt version, instead of gtk or gtk3? > > Shouldn't there be something in the control file like: > > gambas3-gb-qt4 (>=3.8) | gambas3-gb-qt5 (>=3.8)) > > in the sence that one qt excludes the other qt version, but qt will be > used for sure and not gtk/gtk3? > > Thanks, > > gbWilly > It's a feature I forgot to implement when using "gb.gui.qt", but that exists when using "gb.gui". Check "gb.gui" instead of "gb.gui.qt", and the packager will create for you: - One package for your application. - One dummy package for each GUI component. That way, the user can install your application, and then the dummy package for the GUI he wants to use. Regards, -- Beno?t Minisini From gambas at ...1... Tue Dec 15 00:56:52 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 15 Dec 2015 00:56:52 +0100 Subject: [Gambas-user] whats different between "left$" and "left" string functions In-Reply-To: <917d51eb361463b2ea4bb6224837ed51@...3488...> References: <917d51eb361463b2ea4bb6224837ed51@...3488...> Message-ID: <566F5744.9050501@...1...> Le 14/12/2015 22:45, Moviga Technologies a ?crit : > > > They are the same. > > Beno?t, I've been wanting to ask if we could have an option to turn off > one of the sets? As for me, I do not like the ones with dollar signs, > but they are normally suggested first by the intellisense, and I have to > do an extra down arrow to get to the one that I want. It would be possible to have an option to hide it from the completion lists. But I can't remove them from the compiler! -- Beno?t Minisini From moviga at ...3488... Tue Dec 15 01:12:20 2015 From: moviga at ...3488... (Moviga Technologies) Date: Tue, 15 Dec 2015 01:12:20 +0100 Subject: [Gambas-user] whats different between "left$" and "left" string functions In-Reply-To: <566F5744.9050501@...1...> References: <917d51eb361463b2ea4bb6224837ed51@...3488...> <566F5744.9050501@...1...> Message-ID: > It would be possible to have an option to hide it from the completion > lists. That will be perfect! From mckaygerhard at ...626... Tue Dec 15 01:28:47 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Mon, 14 Dec 2015 19:58:47 -0430 Subject: [Gambas-user] whats different between "left$" and "left" string functions In-Reply-To: References: <917d51eb361463b2ea4bb6224837ed51@...3488...> <7a24170ffbb2dc062445797d488ba1bd@...3474...> <3b6a90e264d9683b9852411200bfbb72@...3474...> <20151214222438.GF6891@...2774...> Message-ID: 2015-12-14 18:38 GMT-04:30 : > It would be good if those developing would 'now and then' take some time > to check if their developments are at least minimal documented. > All that takes is creating the missing page, without any further > documentation added, so it will at least pop up in the help. That's a good point, those develop a module must also develop their repective documentation and woul be great if the documentation can be autogenerated (or updated) from the svn/git gambas code itselft this will solve the problem.. so for updates from users: the release can retrieve the wiki changes and updated the code in gambas! of course this wil be a lot of work.. one direction can be: only symbols will write in the wiki, and the rest are made by users! > > If I figure out the use of minimal documented parts, I will add info to > it, if the info presented: > 1. would clarify the use > 2. would be correct > > I have been doing so for gb.report and will be doing so for every other > undocumented feature I might start using in the future, because I need > it myself. > > It isn't always easy figuring out how to use an undocumented feature. > It's mainly trial and error, time consuming and in the end never knowing > for sure if that is the way it is intended to be used. > > Anyway, count me in for helping improve the wiki. > I will, if and when I can. > > gbWilly > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From mckaygerhard at ...626... Tue Dec 15 01:35:21 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Mon, 14 Dec 2015 20:05:21 -0430 Subject: [Gambas-user] an y example of usage gb.logging ? wiki does not have any example In-Reply-To: References: <566F0CC3.1000801@...1...> <566F1432.2040706@...3340...> Message-ID: 2015-12-14 19:07 GMT-04:30 Sebastian Kulesz : > I'm from Argentina, so it's no problem translating my emails. I was doing > it just in case. another user from spain tell me that its a pain search a solution to a specific problem in the archive list of sourgeforce (also take in consideration that sf interface load lot of stupid eye-candy things) that's not all, in another view, try to search a problem solution in the mails that are received a users also are a pain.. a solution its (only work with roundcube threat plugin and gmail ) cofiguring digest to deliver each email as posted, so the mail clinet will organize as threaths.. this solve a little for me.. but its not enought! > > Anyways, the time you don't spend writing an email correctly, is time we, > the rest of the list, have to spend trying to decipher it to gasp what you > were trying to say. We are all trying to help, so try to write correctly, > and double check your emails! I value my time just as much as you value > yours. well i take in priority that in my job if i not finish at time, linux manpowers must have to code in guindows! and i not see many specific complex helo in gambas in the network, all are in the mail list and as i said its hard to search the documentation also are lack.. in this point i like to spend time to write and contribute to the wiki! From gambas at ...1... Tue Dec 15 02:51:04 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 15 Dec 2015 02:51:04 +0100 Subject: [Gambas-user] Question on gb.gui.qt switcher component and packager In-Reply-To: <566F56A9.4030209@...1...> References: <566F56A9.4030209@...1...> Message-ID: <566F7208.2040101@...1...> Le 15/12/2015 00:54, Beno?t Minisini a ?crit : > Le 14/12/2015 22:52, willy at ...3474... a ?crit : >> Hi, >> >> As I have been developing my Gambas3 applications mainly (all except 1) >> with gb.qt4 component. >> Now, I am facing a problem with the qt5 being rolled out several recent >> distro's, when at the same time the older LTS (so, still supported >> distros) are still on qt4. >> >> So, packaging my application with qt4 will not install them on distros >> with qt5, I presume. >> >> Now I noticed that the gb.gui.qt switcher component can help out there. >> As, I run an older distro that uses qt4, I suppose when using >> qt-switcher component instead of qt4, the application, when packaged >> will install on both qt4 and qt5 systems. >> >> Am I corrert assuming above? >> >> When making a package (debian/ubuntu) of an application with gb.gui.qt >> switcher component (see screen01) I see that I have 1 .deb package. I >> like that a lot. >> >> But when looking in the control file of the .deb I do not see any >> dependency on qt? (see screen02) >> >> So, how will the distro upon installing know that it needs to use one of >> the available qt version, instead of gtk or gtk3? >> >> Shouldn't there be something in the control file like: >> >> gambas3-gb-qt4 (>=3.8) | gambas3-gb-qt5 (>=3.8)) >> >> in the sence that one qt excludes the other qt version, but qt will be >> used for sure and not gtk/gtk3? >> >> Thanks, >> >> gbWilly >> > > It's a feature I forgot to implement when using "gb.gui.qt", but that > exists when using "gb.gui". > > Check "gb.gui" instead of "gb.gui.qt", and the packager will create for you: > - One package for your application. > - One dummy package for each GUI component. > > That way, the user can install your application, and then the dummy > package for the GUI he wants to use. > > Regards, > Problem fixed in revision #7525. 'gb.gui.qt' is now correctly handled by the packager. Regards, -- Beno?t Minisini From bugtracker at ...3416... Tue Dec 15 03:02:35 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 15 Dec 2015 02:02:35 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #872: Update debhelper version for Debian packages in Packager module. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.872&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Tue Dec 15 03:07:05 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 15 Dec 2015 02:07:05 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #872: Update debhelper version for Debian packages in Packager module. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.872&from=L21haW4- Comment #2 by Beno?t MINISINI: Done in revision #7527. Both 'debhelper' version requirement and 'debian/compat' files were updated. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Tue Dec 15 07:19:55 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 15 Dec 2015 06:19:55 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #873: [Project Property dialog] Library item have big size when the "library not found" Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.873&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- [Project Property dialog] Library item have big size when the "library not found" Type : Bug Priority : Low Gambas version : 3.8.90 (TRUNK) Product : Development Environment Description ----------- I get the library item have big size (attach pic-2) Reproduce the bug : - Open IDE (IDE must not opened before) - Opend this project (attach project) - Click Ok Dialog (attach pic-1) System information ------------------ [System] Gambas=3.8.90 r7511 OperatingSystem=Linux Kernel=3.2.0-88-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=LXDE Theme=Gtk Language=en_US.UTF-8 Memory=494M [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.7.0 GTK+2=libgtk-x11-2.0.so.0.2400.10 GTK+3=libgtk-3.so.0.400.2 OpenGL=libGL.so.96.43.23 Poppler=libpoppler.so.19.0.0 QT4=libQtCore.so.4.8.1 QT5=libQt5Core.so.5.0.2 SDL=libSDL-1.2.so.0.11.3 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-Pg4SuDCfHI,guid=11d7da1276401e3e32c8727f00000034 DEFAULTS_PATH=/usr/share/gconf/Lubuntu.default.path DESKTOP_SESSION=Lubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=Lubuntu GNOME_KEYRING_CONTROL=/tmp/keyring-nLneB0 GNOME_KEYRING_PID=1777 HOME= LANG=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/Lubuntu.mandatory.path PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PWD= SAL_USE_VCLPLUGIN=gtk SHELL=/bin/bash SSH_AGENT_PID=1768 SSH_AUTH_SOCK=/tmp/keyring-nLneB0/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/lubuntu/:/etc/xdg/xdg-Lubuntu:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXDE XDG_DATA_DIRS=/etc/xdg/lubuntu:/usr/share/Lubuntu:/usr/local/share/:/usr/share/:/usr/share:/usr/share/gdm:/var/lib/menu-xdg XDG_MENU_PREFIX=lxde- XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_COOKIE=2d9710af0959f6893eb828f100000008-1449790903.410486-1674757588 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 _LXSESSION_PID=1738 From bugtracker at ...3416... Tue Dec 15 07:20:06 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 15 Dec 2015 06:20:06 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #873: [Project Property dialog] Library item have big size when the "library not found" In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.873&from=L21haW4- Zainudin AHMAD added an attachment: pic-2.png From bugtracker at ...3416... Tue Dec 15 07:20:14 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 15 Dec 2015 06:20:14 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #873: [Project Property dialog] Library item have big size when the "library not found" In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.873&from=L21haW4- Zainudin AHMAD added an attachment: pic-1.png From bugtracker at ...3416... Tue Dec 15 07:20:33 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 15 Dec 2015 06:20:33 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #873: [Project Property dialog] Library item have big size when the "library not found" In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.873&from=L21haW4- Zainudin AHMAD added an attachment: test-app-0.0.1.tar.gz From mckaygerhard at ...626... Tue Dec 15 17:30:01 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Tue, 15 Dec 2015 12:00:01 -0430 Subject: [Gambas-user] Question on gb.gui.qt switcher component and packager In-Reply-To: <566F7208.2040101@...1...> References: <566F56A9.4030209@...1...> <566F7208.2040101@...1...> Message-ID: this its a bug, tha must be handled by the release of gamba 3.8.4 !!!!! wil be benoit? 2015-12-14 21:21 GMT-04:30 Beno?t Minisini : > Problem fixed in revision #7525. 'gb.gui.qt' is now correctly handled by > the packager. > > From gambas.fr at ...626... Tue Dec 15 17:30:05 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 15 Dec 2015 17:30:05 +0100 Subject: [Gambas-user] New small class on the farm Message-ID: Tell me what you think about it. It's in example : SimpleEval -- Fabien Bodard From gambas at ...1... Tue Dec 15 17:33:29 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 15 Dec 2015 17:33:29 +0100 Subject: [Gambas-user] Question on gb.gui.qt switcher component and packager In-Reply-To: References: <566F56A9.4030209@...1...> <566F7208.2040101@...1...> Message-ID: <567040D9.6070906@...1...> Le 15/12/2015 17:30, PICCORO McKAY Lenz a ?crit : > this its a bug, tha must be handled by the release of gamba 3.8.4 !!!!! wil > be benoit? > Yes, I will put it in gambas 3.8.4. -- Beno?t Minisini From willy at ...3474... Tue Dec 15 22:36:53 2015 From: willy at ...3474... (willy at ...3474...) Date: Tue, 15 Dec 2015 22:36:53 +0100 Subject: [Gambas-user] Question on gb.gui.qt switcher component and packager In-Reply-To: <566F7208.2040101@...1...> References: <566F56A9.4030209@...1...> <566F7208.2040101@...1...> Message-ID: On 2015-12-15 02:51, Beno?t Minisini wrote: > Le 15/12/2015 00:54, Beno?t Minisini a ?crit : >> Le 14/12/2015 22:52, willy at ...3474... a ?crit : >>> Hi, >>> >>> As I have been developing my Gambas3 applications mainly (all except >>> 1) >>> with gb.qt4 component. >>> Now, I am facing a problem with the qt5 being rolled out several >>> recent >>> distro's, when at the same time the older LTS (so, still supported >>> distros) are still on qt4. >>> >>> So, packaging my application with qt4 will not install them on >>> distros >>> with qt5, I presume. >>> >>> Now I noticed that the gb.gui.qt switcher component can help out >>> there. >>> As, I run an older distro that uses qt4, I suppose when using >>> qt-switcher component instead of qt4, the application, when packaged >>> will install on both qt4 and qt5 systems. >>> >>> Am I corrert assuming above? >>> >>> When making a package (debian/ubuntu) of an application with >>> gb.gui.qt >>> switcher component (see screen01) I see that I have 1 .deb package. I >>> like that a lot. >>> >>> But when looking in the control file of the .deb I do not see any >>> dependency on qt? (see screen02) >>> >>> So, how will the distro upon installing know that it needs to use one >>> of >>> the available qt version, instead of gtk or gtk3? >>> >>> Shouldn't there be something in the control file like: >>> >>> gambas3-gb-qt4 (>=3.8) | gambas3-gb-qt5 (>=3.8)) >>> >>> in the sence that one qt excludes the other qt version, but qt will >>> be >>> used for sure and not gtk/gtk3? >>> >>> Thanks, >>> >>> gbWilly >>> >> >> It's a feature I forgot to implement when using "gb.gui.qt", but that >> exists when using "gb.gui". >> >> Check "gb.gui" instead of "gb.gui.qt", and the packager will create >> for you: >> - One package for your application. >> - One dummy package for each GUI component. >> >> That way, the user can install your application, and then the dummy >> package for the GUI he wants to use. >> >> Regards, >> > > Problem fixed in revision #7525. 'gb.gui.qt' is now correctly handled > by > the packager. > > Regards, Hi Beno?t, Thanks for the quick response. Although, I must say I'm not very fond of the 3 .deb packages solution when it could be done in 1 .deb package. Instead of control file with: Package: borderbug Version: 0.0.1-2 Architecture: all Maintainer: willy Installed-Size: 55 Depends: gambas3-runtime (>= 3.8), gambas3-runtime (<< 3.99.0), gambas3-gb-image (>= 3.8), gambas3-gb-image (<< 3.99.0), gambas3-gb-form (>= 3.8), gambas3-gb-form (<< 3.99.0) Section: contrib/editors Priority: optional Description: Missing description Missing description This program is written in Gambas. And two more .deb packages with their specific dependencies gambas-gb-qt4 and gambas-gb-qt5 in their own control file, gb.gui.qt component could make 1 .deb package with following control file: Package: borderbug Version: 0.0.1-2 Architecture: all Maintainer: willy Installed-Size: 55 Depends: gambas3-runtime (>= 3.8), gambas3-runtime (<< 3.99.0), gambas3-gb-image (>= 3.8), gambas3-gb-image (<< 3.99.0), gambas3-gb-form (>= 3.8), gambas3-gb-form (<< 3.99.0), gambas3-gb-qt4 (>=3.8) | gambas3-gb-qt5 (>=3.8)), gambas3-gb-qt4 (<< 3.99.0) | gambas3-gb-qt5 (<< 3.99.0)) Section: contrib/editors Priority: optional Description: Missing description Missing description This program is written in Gambas. When packaged with above control file you will get 1 .deb package that will install on both qt4 and qt5 based systems. This is the Debian manner of taking care of such a problem. These lines take care of that: gambas3-gb-qt4 (>=3.8) | gambas3-gb-qt5 (>=3.8)), gambas3-gb-qt4 (<< 3.99.0) | gambas3-gb-qt5 (<< 3.99.0)) If qt4 used, qt5 is excluded and vica versa. All it would take is make the packager aware that gb.gui.qt is used and thus make the control file as described above and thus giving 1 .deb package. I prefer the 1 .deb package solution over the 3 .deb packages solution. I hope you feel the same ;) gbWilly From gambas at ...1... Tue Dec 15 22:49:53 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 15 Dec 2015 22:49:53 +0100 Subject: [Gambas-user] Question on gb.gui.qt switcher component and packager In-Reply-To: References: <566F56A9.4030209@...1...> <566F7208.2040101@...1...> Message-ID: <56708B01.3030201@...1...> Le 15/12/2015 22:36, willy at ...3474... a ?crit : > On 2015-12-15 02:51, Beno?t Minisini wrote: >> Le 15/12/2015 00:54, Beno?t Minisini a ?crit : >>> Le 14/12/2015 22:52, willy at ...3474... a ?crit : >>>> Hi, >>>> >>>> As I have been developing my Gambas3 applications mainly (all except >>>> 1) >>>> with gb.qt4 component. >>>> Now, I am facing a problem with the qt5 being rolled out several >>>> recent >>>> distro's, when at the same time the older LTS (so, still supported >>>> distros) are still on qt4. >>>> >>>> So, packaging my application with qt4 will not install them on >>>> distros >>>> with qt5, I presume. >>>> >>>> Now I noticed that the gb.gui.qt switcher component can help out >>>> there. >>>> As, I run an older distro that uses qt4, I suppose when using >>>> qt-switcher component instead of qt4, the application, when packaged >>>> will install on both qt4 and qt5 systems. >>>> >>>> Am I corrert assuming above? >>>> >>>> When making a package (debian/ubuntu) of an application with >>>> gb.gui.qt >>>> switcher component (see screen01) I see that I have 1 .deb package. I >>>> like that a lot. >>>> >>>> But when looking in the control file of the .deb I do not see any >>>> dependency on qt? (see screen02) >>>> >>>> So, how will the distro upon installing know that it needs to use one >>>> of >>>> the available qt version, instead of gtk or gtk3? >>>> >>>> Shouldn't there be something in the control file like: >>>> >>>> gambas3-gb-qt4 (>=3.8) | gambas3-gb-qt5 (>=3.8)) >>>> >>>> in the sence that one qt excludes the other qt version, but qt will >>>> be >>>> used for sure and not gtk/gtk3? >>>> >>>> Thanks, >>>> >>>> gbWilly >>>> >>> >>> It's a feature I forgot to implement when using "gb.gui.qt", but that >>> exists when using "gb.gui". >>> >>> Check "gb.gui" instead of "gb.gui.qt", and the packager will create >>> for you: >>> - One package for your application. >>> - One dummy package for each GUI component. >>> >>> That way, the user can install your application, and then the dummy >>> package for the GUI he wants to use. >>> >>> Regards, >>> >> >> Problem fixed in revision #7525. 'gb.gui.qt' is now correctly handled >> by >> the packager. >> >> Regards, > > Hi Beno?t, > > Thanks for the quick response. > Although, I must say I'm not very fond of the 3 .deb packages solution > when it could be done in 1 .deb package. > > Instead of control file with: > > Package: borderbug > Version: 0.0.1-2 > Architecture: all > Maintainer: willy > Installed-Size: 55 > Depends: > gambas3-runtime (>= 3.8), gambas3-runtime (<< 3.99.0), > gambas3-gb-image (>= 3.8), gambas3-gb-image (<< 3.99.0), > gambas3-gb-form (>= 3.8), gambas3-gb-form (<< 3.99.0) > Section: contrib/editors > Priority: optional > Description: Missing description > Missing description > This program is written in Gambas. > > And two more .deb packages with their specific dependencies > gambas-gb-qt4 and gambas-gb-qt5 in their own control file, gb.gui.qt > component could make 1 .deb package with following control file: > > Package: borderbug > Version: 0.0.1-2 > Architecture: all > Maintainer: willy > Installed-Size: 55 > Depends: > gambas3-runtime (>= 3.8), gambas3-runtime (<< 3.99.0), > gambas3-gb-image (>= 3.8), gambas3-gb-image (<< 3.99.0), > gambas3-gb-form (>= 3.8), gambas3-gb-form (<< 3.99.0), > gambas3-gb-qt4 (>=3.8) | gambas3-gb-qt5 (>=3.8)), > gambas3-gb-qt4 (<< 3.99.0) | gambas3-gb-qt5 (<< 3.99.0)) > Section: contrib/editors > Priority: optional > Description: Missing description > Missing description > This program is written in Gambas. > > When packaged with above control file you will get 1 .deb package that > will install on both qt4 and qt5 based systems. This is the Debian > manner of taking care of such a problem. > > These lines take care of that: > > gambas3-gb-qt4 (>=3.8) | gambas3-gb-qt5 (>=3.8)), > gambas3-gb-qt4 (<< 3.99.0) | gambas3-gb-qt5 (<< 3.99.0)) > > If qt4 used, qt5 is excluded and vica versa. > > All it would take is make the packager aware that gb.gui.qt is used and > thus make the control file as described above and thus giving 1 .deb > package. > > I prefer the 1 .deb package solution over the 3 .deb packages solution. > I hope you feel the same ;) > > gbWilly > As far as I remember, using "|" cannot not solve all problems. For example, if you need the main GUI component, and the corresponding opengl component. This is the reason why I had to make several packages. And it allows the user to explicitly choose which GUI he wants to use, whereas the "|" feature can lead to a bad choice from the system packager. Regards, -- Beno?t Minisini From gambas at ...1... Wed Dec 16 03:06:56 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 16 Dec 2015 03:06:56 +0100 Subject: [Gambas-user] Question on gb.gui.qt switcher component and packager In-Reply-To: <567040D9.6070906@...1...> References: <566F56A9.4030209@...1...> <566F7208.2040101@...1...> <567040D9.6070906@...1...> Message-ID: <5670C740.2040001@...1...> Le 15/12/2015 17:33, Beno?t Minisini a ?crit : > Le 15/12/2015 17:30, PICCORO McKAY Lenz a ?crit : >> this its a bug, tha must be handled by the release of gamba 3.8.4 >> !!!!! wil >> be benoit? >> > > Yes, I will put it in gambas 3.8.4. > The Gambas 3.8.4 pre-release source archive has been updated on sourceforge. Regards, -- Beno?t Minisini From willy at ...3474... Wed Dec 16 16:24:21 2015 From: willy at ...3474... (willy at ...3474...) Date: Wed, 16 Dec 2015 16:24:21 +0100 Subject: [Gambas-user] Question on editing database tables Message-ID: Hi all, I have used editing on tables multiple times like this for example: rResultEdit = $hConn.Edit("KasAanvullingen", "KassaCode = &1 AND Time = &2 AND Date = &3", sKasAanvulCode, rResultAanvul!Time, rResultAanvul!Date) Now I'm facing a harder one: I have this table and it needs to be edited, but for that records need to be ordered based on code, date and amount I tried this: rResultFact = $hConn.Edit("ICDagResFactNee", "ORDER BY Code, Date, Amount") but that results in an empty result. Guess the second argument only replaces a WHERE Now, this order is very important in this case as the proper records need to be edited and the default order of the table is not the desired one and will lead to data integrity problems when editing as is. Can one use DB.Edit so the result is ordered in a certain desired manner? Thanks, gbWilly From mckaygerhard at ...626... Wed Dec 16 16:41:55 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Wed, 16 Dec 2015 11:11:55 -0430 Subject: [Gambas-user] possible bug, a '\' inside "" treats as escape even a char to print Message-ID: i put this code: Print "\" But the ide thinks the i must put another '\' .. if not added a extra " at the end! So its normal and correct i put : Print "\\" and will print in console the \ normally? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From d4t4full at ...626... Wed Dec 16 16:52:02 2015 From: d4t4full at ...626... (...) Date: Wed, 16 Dec 2015 12:52:02 -0300 Subject: [Gambas-user] possible bug, a '\' inside "" treats as escape even a char to print In-Reply-To: References: Message-ID: Yes, the backslash is the standard escape character, so in order to print one you should put 2 together. Heck... actually you should put twice as many you need: If you need \\\, you use "\\\\\\". Common ASCII escape sequences: If you want a line feed, the escape sequence is \n, a tab is \t, a carriage return is \r, and so on. Regards, zxMarce. On Dec 16, 2015, 12:43, at 12:43, PICCORO McKAY Lenz wrote: >i put this code: > >Print "\" > >But the ide thinks the i must put another '\' .. if not added a extra " >at >the end! > >So its normal and correct i put : > >Print "\\" and will print in console the \ normally? > > >Lenz McKAY Gerardo (PICCORO) >http://qgqlochekone.blogspot.com >------------------------------------------------------------------------------ >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user From mckaygerhard at ...626... Wed Dec 16 17:12:27 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Wed, 16 Dec 2015 11:42:27 -0430 Subject: [Gambas-user] possible bug, a '\' inside "" treats as escape even a char to print In-Reply-To: References: Message-ID: thanks, confirmed, now the printer captures the proper char! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From computergeoffrey at ...3367... Wed Dec 16 19:02:37 2015 From: computergeoffrey at ...3367... (Geoffrey De Belie) Date: Wed, 16 Dec 2015 19:02:37 +0100 Subject: [Gambas-user] How to soft depend on gambas3-gb-qt4-webkit Message-ID: <151abf548da.12b2f2c8213025.3351725108556489830@...3367...> Hi, I make use of the gambas3-gb-qt4-webkit component for showing Help pages (HTML). However, I would like to soft depend on this component. Pseudo-code: If componentIsInstalled("gambas3-gb-qt4-webkit") Then 'use it Else 'open the HTML pages in the default browser using xdg-open EndIf The reason I want to do this, is that I still would like to provide the GTK interface next to the Qt interface (using gb.gui). gambas3-gb-qt4-webkit depends on qt4, and if you depend on qt4 you can't have gb.gui for easy interface switching. A solution would be welcome. Kind regards, Geoffrey De Belie From bill-lancaster at ...2231... Wed Dec 16 22:35:42 2015 From: bill-lancaster at ...2231... (bill-lancaster) Date: Wed, 16 Dec 2015 14:35:42 -0700 (MST) Subject: [Gambas-user] IDE - a stupid question Message-ID: <1450301742548-55025.post@...3046...> This is embarrassing! In the Project Properties panel I had Control Properties/Hierarchy, a Help Panel and below that a panel with all the controls available. I accidentally hit a key combination that caused the controls panel to disappear. How can I get it back? -- View this message in context: http://gambas.8142.n7.nabble.com/IDE-a-stupid-question-tp55025.html Sent from the gambas-user mailing list archive at Nabble.com. From moviga at ...3488... Wed Dec 16 23:44:16 2015 From: moviga at ...3488... (Moviga Technologies) Date: Wed, 16 Dec 2015 23:44:16 +0100 Subject: [Gambas-user] IDE - a stupid question In-Reply-To: <1450301742548-55025.post@...3046...> References: <1450301742548-55025.post@...3046...> Message-ID: F4 From gambas at ...1... Wed Dec 16 23:58:09 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 16 Dec 2015 23:58:09 +0100 Subject: [Gambas-user] How to soft depend on gambas3-gb-qt4-webkit In-Reply-To: <151abf548da.12b2f2c8213025.3351725108556489830@...3367...> References: <151abf548da.12b2f2c8213025.3351725108556489830@...3367...> Message-ID: <5671EC81.8050809@...1...> Le 16/12/2015 19:02, Geoffrey De Belie a ?crit : > Hi, > > > > I make use of the gambas3-gb-qt4-webkit component for showing Help > pages (HTML). > > > > However, I would like to soft depend on this component. Pseudo-code: > > > > If componentIsInstalled("gambas3-gb-qt4-webkit") Then > > 'use it > > Else > > 'open the HTML pages in the default browser using xdg-open > > EndIf > > > > The reason I want to do this, is that I still would like to provide > the GTK interface next to the Qt interface (using gb.gui). > > gambas3-gb-qt4-webkit depends on qt4, and if you depend on qt4 you > can't have gb.gui for easy interface switching. > > > > A solution would be welcome. > > > > Kind regards, > > Geoffrey De Belie > Don't check the component in your project, and the first time you need it, load it dynamically with Component.Load(). If the method fails, note in a variable that you will have to use Desktop.Open(). Regards, -- Beno?t Minisini From adamnt42 at ...626... Thu Dec 17 00:13:16 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Thu, 17 Dec 2015 09:43:16 +1030 Subject: [Gambas-user] IDE - a stupid question In-Reply-To: References: <1450301742548-55025.post@...3046...> Message-ID: <20151217094316.f6c880c964b9d19e319da333@...626...> On Wed, 16 Dec 2015 23:44:16 +0100 Moviga Technologies wrote: > > > F4 > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user I think F4 by default hides or expands the entire Properties panel. I don't think the "ToolBox" is "disappeared" it is just collapsed (hidden) inside its' vertical side panel. Just above the bottom margin of the IDE form in the properties panel you should be able to hover the mouse over the side panel grab handles. ... let's see if I can include a pic ... hth bruce_PNG  9 _L_N__Sv_Q_____^?8,0K____ __(___#_*c__5&_ _@@M_>_lN__J!_??__^_6D__,_A _L_____8@Z_^@yZ_ _e97Z&___-_7__`__p_4?g_/7>___>c~_(?__dzo^__g'S_<____a_._________M___@&B at ...3552..._.__k_&_+_4 _?I______[_?C_7_S_/____Z?M__|?_s#_ _b_jug_1_q[[____tT? ~] $ _?__o?Re__[~CG_?2?__7____ _l?!_D_@$__Ld$2 _-_=_2__m at ...3553... _____]__?c9;?__6?____=;_?\_1___?K___X_j_____7?__=?_v`Ug__ m?_____$A??__ _______`f4_#u_8d_I__7__$@_&r"_____S(_H"d&_2Kr,f_N__ at ...1310...?___b2__6_!_l__iQv_A_ _ _AB2_X___ _ _q__@_lAnHRk__w =-=_________a0_[ I I?__m? _ Yb,_`"2_-g_DK_e__h_g?_c___?___g_4jp_?_?_O___`_n?_G__2gh_M&2?_+_J_O___UL___Q?_3_15d_5Q_}-__d_,g7_(O#_`9_?_G% __x?_- _e?_]_ -__}_y__XxMG at ...3554...=1_K____K_*Q__ow?__u_?u'<__X__GD__ ___?_ ___(QY_~; F6_V_.!_~_p{Mh_U=C___"v?___$s_ _n_U_Iw_j____5_"___U_\z[_?g0_____|T_(]____K______ zG_ >_?x|__V5_V i__X_H_?_V___H _ (DA?'kH_# ___|__4P?4_!(__ ____ at ...3555...@?_ |||j?u_____c]_9__?V_Z____ :zU at ...503...(2_?5__-_%oW?_e_%___S_e_~__?__ WT____s_H__?_+_'_J'___'dK_ec_O__)g~__PqNy__S___Nu_|__Rs~_____H;_?~jL??|/?c9X_,__X>?_w?_n___w_=__O____?___x?__s_[___k___p__.U_]_l at ...3556...Uf_F_______?__'__L_!A_w ___Ee_ZO_}_j_(ti_x______?___s___?_oq____O=__??____/Y_____?___b____Mh]?___w__3O___~__w`_1_~___S__ ___O*_(Q____?___{_tAwel_%_oNFDF___9__?_,__K__p________gg__n9_(__Ol___O_?_w____;__-_}e| jz_F__U?:___X_V?_5___^_T___?__C_T__.m1~____?1|^?'__v_?________41?_?____y__8i?o_X_Y_o__l?____[\__g?_BYG%_n__? _G_G__?___3?__o___}?____WW_y_?__:|________v^g_uq__m_|___M8g]K5___KjR__t_F___l_?m=_6_J_8_o5-_Sp__7_^H_X_d|jX?_?\_\k?)_ ____u__I_%__s_1d__&W___`rng2_______/*k9 at ...3557...#______w__ T_@_U___)_p_9_??w_?A__v_____o1;6__h__? _____t,WE?;_I&_ ____O_G_A?o:_8___.__?____Bf_A___A)+l?SIF]_9_:4=\?__?c_RJ_q"__un__2}c___?b___w_>___?_gc_,____b__iytd__$ 8_J_]^Mk___c_____2___u_ ____0_Sb_b___?_ ?PY_?oVUu____? _____3p__u_____u R_______vu=?_h2____-_7_ ___iys___d_o|_l _W_?1y.____ HO_[?_q____ ______=__# bzz__~CN_<__=__GO__%aQ_X_3__N_____;~?A_G _Z-h__qO_a_u__b ?z__i_Y)d__x?sK__q_fL_n_kV_m??___DO__e ^ __qS_M_^___-_!_$=}_ 7d0_ _m?___?a__?_|S_____g__ooj_R__3P$Q|__0..____"99__?_]D____8W_V__o__P*_2^@ __TC?_]___S_A__5s_-__\_p____?n__6*__2_m__|Oh__w*?__ 5__05_5?s_-_6_,___d_0_Wd_t_Q1=__:|__;__d_=__?=J??E_6h?~I___p__x`?K___+_N_|_Q_? yfP?_37_______ ___WO?o3fv_"b?_&_q______?____Ke___;f?__at __Q___y___w______c[______^_:t)[___#_?SX_2_W_Y__dg_0_________?_KI.0____SPP______'_@__x?___>u_T_?J_S*?o_____?k[}_`0_WN_< T_j___zCV_.___ ____?___'_=____ __D0__j_1____;__ f_^__)___M6l?I_I___U___k_Z7j?a_______?vrR_& 6l??___?_Fm#__ ?____?L)G___Vx_)5|?___^))+l__c)____?&_/_z_MP_Q?______N_____?__?__[7____r__?3_?Rx_?___ e+EF? o_b___}>;____b_R__ '_@______X:_____\_\e0&___?_ka?)-4_______m_6{_Yi|_____:,K___ V?(t]_R_c??@_NL6_e_ ___"f_9__5___m_l___4y___%__&_R_UtQ J__a)&xFm<__+__?_k_____p_&_\__IEa_?0_h_ _Y!__Ld1__UO____!__L__,X_k_"_u_L?__)R_%__T._N?)F{Wu__-*46|_gq___*oFF_/j?h__%rO%*____"h_____+_`UB__ _D__r_,d__Q_|_*__LWm_(4?_0_?K._K_S_A#____!___F_Id[_/CM__m; _D @A_&I__$ _H__{=__B m_MX______?y__J_t___?lv_N_b_?_WY#___i__%___?1 HI$__ ___:_`v___+9_#______|}_ qWR_17_s_7___S9__N/Sr__b_k____/sZXr__:S_____U_w=5_9C_M?Jm___9__}__?o|___dJ5?_*g_G_x_|0st_" _?_______N$V__)__p|__t _FC__(_x>_*8__$@?__.T__m"_+?_________f?_j_b/___O:?____eM"$__=}?__uz_?iN_g \Gy\BH<_h]@____?|_6_.___V_6o_'f_?_=___Z__ :_____~A___=______?_2__!0__>O_)3O__`0__? _____W>_)35d0_Sf_2__`0O__`0O_y_ _y__Sf0___?_`0_2 SC__x__PJ><_Uc_F_,_h5_`?=__?_____c __n1F___{__W_m)____mZu_p%__E$~=____1_S__9e?__?w__-___n_t_wl_o}b__t____M~_r1_"_ _[__EKPA____}~_A____g_nS>6IB?Q ____L__?_t ___^"__]#__?(_{____[t_})C")___.____&!q?wF_H?6_K___YD?__l_s__D3Y_1r__v_{1C")__w__m{l&1q__._B__R4?_>__w_?9___N}_>_|__w__ V?__~_e__$_?tf___tiO_?r ____?____u__&_D_ukr__?__`%___[_u__j_D$e^____ __V__W_?_;_9_*__?.}7F?___,__Lc__/Z_\v3K_2._o?______qa\_~;c___?f__ o_'Z_Z*_K___?$A2D_?E__ O|__ _b_b_:v.jA_{__J_YN?_?_ =_"?(__ __N_3_|_k_____Z,Z__}_EA__ jU"_-Y___X/J_a_vm^R___________'__8__-_jP[____FX___5____V^J@{_z___- _m_V__P_39m___h_QBc_?V___%y__P__H_I+t__5]___ __ ?x>"Er _?e__O_? ___R=?_]T _p___W_____<<_?v___"____p___K__b_??V+__ ____{__7_WD_____,_={G?d____Z_ uk____/__k_q?7__b____5?__q%%____m___x_u*0K_h_?;/3VSL)_d'_M__m_S?"__ _________h_6_____1_(bF_?__ef___,a_?_5__z3I_-__q~__J_______Q_____Q_j__Y_____X__U_}_?'/_______y_U=Dm_?___ k5sN5_}______o______b?______m|La_J~_?_] B_ X__R__8 ____+W/i8v_!__c_7o_?_z?~__>______xq__n__-_l__emY?_x_ __d___/a* _6 __N_b0 __ __?_`0_2 SC__`j_`0L  _p_?(w__a__`0r)S_ _  __ ________y__6d0 __ __?_`0_2 SC__`j_`0L  _CVC)___V_e5____?_____n|_^__?z/{h|___+_____?__ _____%_I___%_S__<_?PK_g?N__T?Y)__^_____Ti_??_8P__6 %4_9{__YJ;_P_k___w_____ _m_V_?Y___Pc___|__ _u'_5_=5!E?_1+__N__G_/___94+_D_b_!H_4_r_g____2_o___f_ __~(______e9___2__5'__0s?__ _0<____ ~_S?Sp____3y___?9_t_?s____D1_ _y?w___nl___e_f{_\=,Rk_\__*_D(D?_q__}___e__ ?_kf_m__R__)_ o_\?*_V___U= _wZ_|_I__xQ____0__Kv p_a_?m3__[_?____b1Y__)_?M]_^_=$f_$xV 6__re*____~__&__zio_{_?j:?J___M_c_______J_?BT_5__=__b __v__T0_s__?_C'______S1U6_V__W_c@?___[[_!_w_Eh__oX __8l$_G__??n M___N____I__]'~_ ____B:____W__-S_Z_!_L___.#-__0x\__KF X?[___ ;__5dR_1__F___"Y_t __zM_p_'C~@__L__I-VKD__$__M__?g?____&_m?___dF?_=_ __a_;K_8____vc_U___L__n_LJ___6__{o_____ / ^_6\`__;@?_#fp?____S$_w_?=_ &._f__#"__~_Nh_v =|_Ga_?%__&_H8xH_6 `>6___?__1___?t_3 Xw__?_W__Q__ _o9O?=3G__yp_ ~~_&___z*__U___0 RyW__e__#___H_j"___$ziQ_y_ __{_)M8_vo_^__]u__]?__p?'_A_;_U!_?_%______y3_ _RW_r_)y_v_K_[____:nj at ...3559...#__v_?____"__v _x_???0_ at ...3560...`__ ____-\_An_^tx___-_u_0/_W__9_n_YC_S__N __x~___fe_p__Unbgm___ __O?__d_?___T7_l________?b_u__n___5_a__\_>_\__;_og_____W_O?jp_<_|y__ ___\Fo___?_?______a```(J0k______!__ _%k_\q_(?___D_"___zrRQHF F__P_` 66n___O__Zu____l_0___5s?__HB?_5|_P 9lH%P_H_S6__x?e_=f_m__ ___H ?__6_m___}w_l__$___ t_82U>_J__r?__ x_?___zAq_t____L_LTnYgyv_WI*!w_*_q__o9}__5___? ,R___Yq_K <__i9>'?___e_""C_____?_N_>5;_$l_~l___ol___h_-yJ_Z-_[%$ __?_____'>!____!_e_?_z_____R^_?_>__]sZ?e_U_ _[xV 6__/~__F_)2~_?zL P_G: _vx_2___YK_k____??__/_?___ d_[_]?___ 9____3O___h_28__ __????__  _v_6____ _d_6_Cr__0__#__?A?_/?_ R_-_____99_}_[_O_+_____w/__ A_60b__: k( /__z___V_?x}\FR____xk__3_S&_}k"z_j___.;__K __1_D_?___w __?_/ ________?_+____xx_??V_&__PJ0k_?5k__?_s__5___?M_____g____W6__}_Le___9\_|?g____4______l?_w6E5__|_TNB_R_+l___Y1vl___~F=Z<__{7DE____PJ ___37n___._ Y_Q____;______<__ps_i____Y_W___dh____p__?_M_?__v___?I;_1_&__`0_<__k____qc_+'O*=}___________?_____9R~_rr __jUL_____W_\ '____6-__'_______/?_______|__z"l_=__? _Q_?K__i4__?uh8 ?_b_!_w_____?_y_/____ _ddf_?{q__ _Z___ _____[_jq___b?w_ t__pe_6_u.b__m?&6_Q_G_|X___j5l_'___;__.B_a_____l__NVR,_\2_____F__rx&__u&__? __|__|______U__53_?_ob_%__&;i_? LIvX_&J _____MMV;___~H__K__i[______z____s*_ ?__ _v_a>_2_ __r?),___YG'_2__ !___:_g0_"___h _4_&2___X___ at ...3561... _?/_!___?n (__+E,[+_%`____z_}k3# _I_?__Er_xX_?_f;:_r__ ___i z_ _?r_=?:N_jI?_?h8(jgK_?- at ...3562...~_r<_?__x_5__|)_E__e__t____"_4_;_Dc+!__1`_p_|C_l___]fk(_k___?n _Q__]b\_?___ee_M 6[C___DOD_RY?__(_?%_r___b)]_6 _YWoF?_$_WH_4_GU*>_U_~___>?%___^_Y__ }in___NS9r{_D___<_%___y__*_%__? Y__*gR_.?a E&%_&____Y_3___T_J____h__-8SS_+=:_V_Y6_B____*___R__U_t___ ____+_____r__?___0eIM__B_]_iB__<&&J__V_8_J__+____%____Ky_T_2_?*? __V_;My@_AQ.__??(S__R_%Ex__4_H?._t5&1__q?___!_/__t^I__<_*p\JhHJh?_u_7p<____ee#_5y_?_R? __S____j__& __ q___:M_:__R[w5VR?_t_ at ...3563...?_0__XXZ___O??_ ______E__)__23__(____N_PVzGn'___*_____e__d__8 ___b__Z_Q_r_ _+_.(___Q\E____Lp_6c_<__e__._E______:__Q__^,BY]__R__l__7_kv____ _?__`_ ____"p_SWBTW_V_4_SLR_To___`)* [_K_ _ <_`_4_H_TD __k__??__V__ M_?P_W__v~ A__eW_)_N_n_w_R_g6_?D___[l#___6_'___|_CTr(__+?__|_E_._3_E____'___]Y_l_rD_._____N___L_K$ ___!____s___ 6r'BP__V>J__26*|+____X_____c____4__gI___|\___?_z9_'_c_<__@_Nq_?u'?_-9J_&s_Z>(_+_:_r__?_m7n_E_,_?V__i _:_r_I__2__?E\_II#: &_?_____Ab_Rn_____ at ...3564...=__:___JV,_____pE?G_ E_)\__7_>|___??_A_;|_T__K_=_D___UP____[__+r_ ?C-?A_?__H:0__M___1_H,(gh__>*_J_%__?2___(_$'{_e_____?_I_)OW_$__V!___w_ _}#_/RG at ...3565..."G___uP___ X___-#_'@_ at ...3566...?t5)Iq ]:?_"6:? __t_H?%_H___$_T_< e%__ _r[ -- B Bruen -------------- next part -------------- A non-text attachment was scrubbed... Name: Selection_145.png Type: image/png Size: 33375 bytes Desc: not available URL: From bill-lancaster at ...2231... Thu Dec 17 06:57:00 2015 From: bill-lancaster at ...2231... (bill-lancaster) Date: Wed, 16 Dec 2015 22:57:00 -0700 (MST) Subject: [Gambas-user] IDE - a stupid question In-Reply-To: <20151217094316.f6c880c964b9d19e319da333@...626...> References: <1450301742548-55025.post@...3046...> <20151217094316.f6c880c964b9d19e319da333@...626...> Message-ID: <1450331820464-55029.post@...3046...> Ah! Yes, F4 does control the whole panel but the lower part (where all the controls are) can be made to disappear (actually made very small) by dragging the border. This I must have done with some clumsy mouse movement. Thanks for all your help. -- View this message in context: http://gambas.8142.n7.nabble.com/IDE-a-stupid-question-tp55025p55029.html Sent from the gambas-user mailing list archive at Nabble.com. From computergeoffrey at ...3367... Thu Dec 17 09:57:48 2015 From: computergeoffrey at ...3367... (Geoffrey De Belie) Date: Thu, 17 Dec 2015 09:57:48 +0100 Subject: [Gambas-user] How to soft depend on gambas3-gb-qt4-webkit In-Reply-To: <5671EC81.8050809@...1...> References: <151abf548da.12b2f2c8213025.3351725108556489830@...3367...> <5671EC81.8050809@...1...> Message-ID: <151af28d72e.110a2680a2381.3341381027353223801@...3367...> That works, thank you. ---- On wo, 16 dec 2015 23:58:09 +0100 Beno?t Minisini wrote ---- > Le 16/12/2015 19:02, Geoffrey De Belie a ?crit : > > Hi, > > > > > > > > I make use of the gambas3-gb-qt4-webkit component for showing Help > > pages (HTML). > > > > > > > > However, I would like to soft depend on this component. Pseudo-code: > > > > > > > > If componentIsInstalled("gambas3-gb-qt4-webkit") Then > > > > 'use it > > > > Else > > > > 'open the HTML pages in the default browser using xdg-open > > > > EndIf > > > > > > > > The reason I want to do this, is that I still would like to provide > > the GTK interface next to the Qt interface (using gb.gui). > > > > gambas3-gb-qt4-webkit depends on qt4, and if you depend on qt4 you > > can't have gb.gui for easy interface switching. > > > > > > > > A solution would be welcome. > > > > > > > > Kind regards, > > > > Geoffrey De Belie > > > > Don't check the component in your project, and the first time you need > it, load it dynamically with Component.Load(). If the method fails, note > in a variable that you will have to use Desktop.Open(). > > Regards, > > -- > Beno?t Minisini > From computergeoffrey at ...3367... Thu Dec 17 10:43:43 2015 From: computergeoffrey at ...3367... (Geoffrey De Belie) Date: Thu, 17 Dec 2015 10:43:43 +0100 Subject: [Gambas-user] How to soft depend on gambas3-gb-qt4-webkit In-Reply-To: <151af28d72e.110a2680a2381.3341381027353223801@...3367...> References: <151abf548da.12b2f2c8213025.3351725108556489830@...3367...> <5671EC81.8050809@...1...> <151af28d72e.110a2680a2381.3341381027353223801@...3367...> Message-ID: <151af52e1eb.f5aaf117614.2573383339277225797@...3367...> I get "invalid identifier WebView" when trying to run the software without gambas3-gb-qt4-webkit: in the HelpBrowser class: Private Sub GetView() As WebView Try Return tabBrowser[tabBrowser.Index].Children[0] End in the Main class meanwhile: Public Sub OpenHelp() Component.Load("gb.gui.qt.webkit") HelpBrowser.Show() Catch Desktop.Open("./help/index.html") End Kind regards, Geoffrey De Belie ---- On do, 17 dec 2015 09:57:48 +0100 Geoffrey De Belie wrote ---- > That works, thank you. > > ---- On wo, 16 dec 2015 23:58:09 +0100 Beno?t Minisini wrote ---- > > > Le 16/12/2015 19:02, Geoffrey De Belie a ?crit : > > > Hi, > > > > > > > > > > > > I make use of the gambas3-gb-qt4-webkit component for showing Help > > > pages (HTML). > > > > > > > > > > > > However, I would like to soft depend on this component. Pseudo-code: > > > > > > > > > > > > If componentIsInstalled("gambas3-gb-qt4-webkit") Then > > > > > > 'use it > > > > > > Else > > > > > > 'open the HTML pages in the default browser using xdg-open > > > > > > EndIf > > > > > > > > > > > > The reason I want to do this, is that I still would like to provide > > > the GTK interface next to the Qt interface (using gb.gui). > > > > > > gambas3-gb-qt4-webkit depends on qt4, and if you depend on qt4 you > > > can't have gb.gui for easy interface switching. > > > > > > > > > > > > A solution would be welcome. > > > > > > > > > > > > Kind regards, > > > > > > Geoffrey De Belie > > > > > > > Don't check the component in your project, and the first time you need > > it, load it dynamically with Component.Load(). If the method fails, note > > in a variable that you will have to use Desktop.Open(). > > > > Regards, > > > > -- > > Beno?t Minisini > > From computergeoffrey at ...3367... Thu Dec 17 11:56:39 2015 From: computergeoffrey at ...3367... (Geoffrey De Belie) Date: Thu, 17 Dec 2015 11:56:39 +0100 Subject: [Gambas-user] How to soft depend on gambas3-gb-qt4-webkit In-Reply-To: <151af52e1eb.f5aaf117614.2573383339277225797@...3367...> References: <151abf548da.12b2f2c8213025.3351725108556489830@...3367...> <5671EC81.8050809@...1...> <151af28d72e.110a2680a2381.3341381027353223801@...3367...> <151af52e1eb.f5aaf117614.2573383339277225797@...3367...> Message-ID: <151af95aa18.da3d3cfd3522.758942381898120224@...3367...> This works, as long as you don't make changes to the class "HelpBrowser": 1) enable gb-qt4-webkit, gb-qt4 and disable gb-gui 2) compile everything 3) disable gb-qt-webkit, gb-qt4 and enable gb-gui Is there a better way? ---- On do, 17 dec 2015 10:43:43 +0100 Geoffrey De Belie wrote ---- > I get "invalid identifier WebView" when trying to run the software without gambas3-gb-qt4-webkit: > > in the HelpBrowser class: > Private Sub GetView() As WebView > > Try Return tabBrowser[tabBrowser.Index].Children[0] > > End > > in the Main class meanwhile: > Public Sub OpenHelp() > > Component.Load("gb.gui.qt.webkit") > HelpBrowser.Show() > Catch > Desktop.Open("./help/index.html") > > End > > Kind regards, > Geoffrey De Belie > > ---- On do, 17 dec 2015 09:57:48 +0100 Geoffrey De Belie wrote ---- > > That works, thank you. > > > > ---- On wo, 16 dec 2015 23:58:09 +0100 Beno?t Minisini wrote ---- > > > > > Le 16/12/2015 19:02, Geoffrey De Belie a ?crit : > > > > Hi, > > > > > > > > > > > > > > > > I make use of the gambas3-gb-qt4-webkit component for showing Help > > > > pages (HTML). > > > > > > > > > > > > > > > > However, I would like to soft depend on this component. Pseudo-code: > > > > > > > > > > > > > > > > If componentIsInstalled("gambas3-gb-qt4-webkit") Then > > > > > > > > 'use it > > > > > > > > Else > > > > > > > > 'open the HTML pages in the default browser using xdg-open > > > > > > > > EndIf > > > > > > > > > > > > > > > > The reason I want to do this, is that I still would like to provide > > > > the GTK interface next to the Qt interface (using gb.gui). > > > > > > > > gambas3-gb-qt4-webkit depends on qt4, and if you depend on qt4 you > > > > can't have gb.gui for easy interface switching. > > > > > > > > > > > > > > > > A solution would be welcome. > > > > > > > > > > > > > > > > Kind regards, > > > > > > > > Geoffrey De Belie > > > > > > > > > > Don't check the component in your project, and the first time you need > > > it, load it dynamically with Component.Load(). If the method fails, note > > > in a variable that you will have to use Desktop.Open(). > > > > > > Regards, > > > > > > -- > > > Beno?t Minisini > > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Thu Dec 17 14:39:59 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 17 Dec 2015 13:39:59 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #874: GTK2: Setting a window to Utility:True breaks the TakeFocus property Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.874&from=L21haW4- Geoffrey DE BELIE reported a new bug. Summary ------- GTK2: Setting a window to Utility:True breaks the TakeFocus property Type : Bug Priority : Medium Gambas version : 3.8 Product : GTK+2 component Description ----------- When opening a new GTK2 window from the main (startup) form, the new form does not take focus automatically when TakeFocus is set to True and the property Utility is set to True. System information ------------------ [System] Gambas=3.8.1 OperatingSystem=Linux Kernel=4.1.13-1-MANJARO Architecture=x86_64 Distribution=Manjaro Linux Desktop=MATE Theme=Gtk Language=nl_BE.UTF-8 Memory=7908M [Libraries] Cairo=libcairo.so.2.11400.4 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.5 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.601.0 GTK+2=libgtk-x11-2.0.so.0.2400.28 GTK+3=libgtk-3.so.0.1800.5 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.56.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.3.2 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 [Environment] AIR_HOME=/opt/adobe-air-sdk ANT_HOME=/usr/share/apache-ant BROWSER=/usr/bin/xdg-open DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=mate DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=mate GDM_LANG=nl_BE.utf8 GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=4373 GTK2_RC_FILES=/.gtkrc-2.0 GTK_MODULES=canberra-gtk-module GTK_OVERLAY_SCROLLING=0 HG=/usr/bin/hg HOME= LANG=nl_BE.UTF-8 LOGNAME= MAIL=/var/spool/mail/ MATE_DESKTOP_SESSION_ID=this-is-deprecated MAVEN_OPTS=-Xmx512m MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins PATH=/usr/sbin:/sbin:/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/adobe-air-sdk/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl PWD= SAL_USE_VCLPLUGIN=gtk SESSION_MANAGER=local/:@/tmp/.ICE-unix/1119,unix/:/tmp/.ICE-unix/1119 SHELL=/bin/bash SHLVL=0 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime USER= VBOXSVC_RELEASE_LOG_DEST=nofile VBOX_GUI_SELECTORWINDOW_RELEASE_LOG_DEST=nofile VBOX_RELEASE_LOG_DEST=nofile XAUTHORITY=/.Xauthority XDG_CURRENT_DESKTOP=MATE XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=mate XDG_SESSION_ID=c1 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=1 From gambas at ...1... Thu Dec 17 15:19:07 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 17 Dec 2015 15:19:07 +0100 Subject: [Gambas-user] How to soft depend on gambas3-gb-qt4-webkit In-Reply-To: <151af95aa18.da3d3cfd3522.758942381898120224@...3367...> References: <151abf548da.12b2f2c8213025.3351725108556489830@...3367...> <5671EC81.8050809@...1...> <151af28d72e.110a2680a2381.3341381027353223801@...3367...> <151af52e1eb.f5aaf117614.2573383339277225797@...3367...> <151af95aa18.da3d3cfd3522.758942381898120224@...3367...> Message-ID: <5672C45B.2020504@...1...> Le 17/12/2015 11:56, Geoffrey De Belie a ?crit : > This works, as long as you don't make changes to the class "HelpBrowser": > 1) enable gb-qt4-webkit, gb-qt4 and disable gb-gui > 2) compile everything > 3) disable gb-qt-webkit, gb-qt4 and enable gb-gui > > Is there a better way? > You have to declare the classes you want to use with the "CLASS" keyword at the beginning of the module/class. It tells the compiler : "ok, I didn't check the component, but I know that these classes will exist at runtime". -- Beno?t Minisini From bugtracker at ...3416... Thu Dec 17 15:33:24 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 17 Dec 2015 14:33:24 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #875: gb.gui: MATE is not detected properly, uses Qt toolkit instead Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.875&from=L21haW4- Geoffrey DE BELIE reported a new bug. Summary ------- gb.gui: MATE is not detected properly, uses Qt toolkit instead Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- Under MATE, gb.gui should take the GTK backend. It doesn't and instead uses the Qt toolkit. This is using MATE 1.12. From bugtracker at ...3416... Thu Dec 17 22:09:05 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 17 Dec 2015 21:09:05 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #875: gb.gui: MATE is not detected properly, uses Qt toolkit instead In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.875&from=L21haW4- Comment #1 by PICCORO LENZ MCKAY: please for next time helps if provide the env() results, in my desktop mate reports : MATE_DESKTOP_SESSION_ID=this-is-deprecated DESKTOP_SESSION=mate GDMSESSION=mate SHLVL=1 XDG_CURRENT_DESKTOP=MATE the var GDMSESSION are a inherits from gnome-puach days.. so better dont use it a new var are GIO_LAUNCHED_DESKTOP_FILE that tells whit app respect desktop menu files are launched: GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/sakura.desktop sakura its the terminal where i capture the vars manually. From gambas.fr at ...626... Thu Dec 17 23:28:34 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 17 Dec 2015 23:28:34 +0100 Subject: [Gambas-user] Report Expression Evaluator Message-ID: So fun -- Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot_20151217_232712.png Type: image/png Size: 199172 bytes Desc: not available URL: From eilert-sprachen at ...221... Fri Dec 18 10:07:03 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Fri, 18 Dec 2015 10:07:03 +0100 Subject: [Gambas-user] XML string = UTF-8? Message-ID: <5673CCB7.70006@...221...> Is an XML file like the ones which are produced by File.Save and RichTextArea a UTF-8 file? Do I have to handle the string with the String class, or is it plain ASCII and has to be handled with ordinary Mid, Left, InStr? Regards Rolf From taboege at ...626... Fri Dec 18 10:24:28 2015 From: taboege at ...626... (Tobias Boege) Date: Fri, 18 Dec 2015 10:24:28 +0100 Subject: [Gambas-user] XML string = UTF-8? In-Reply-To: <5673CCB7.70006@...221...> References: <5673CCB7.70006@...221...> Message-ID: <20151218092428.GA672@...2774...> On Fri, 18 Dec 2015, Rolf-Werner Eilert wrote: > Is an XML file like the ones which are produced by File.Save and > RichTextArea a UTF-8 file? > > Do I have to handle the string with the String class, or is it plain > ASCII and has to be handled with ordinary Mid, Left, InStr? > It is possible that a random XML file contains UTF-8 characters: try opening LibreOffice, typing some umlauts and saving the file. Use unzip on the .odt to get the content.xml file. Then $ file -i content.xml shows that it is UTF-8 encoded XML. So you are on the safe side with the String class. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From eilert-sprachen at ...221... Fri Dec 18 10:34:52 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Fri, 18 Dec 2015 10:34:52 +0100 Subject: [Gambas-user] XML string = UTF-8? In-Reply-To: <20151218092428.GA672@...2774...> References: <5673CCB7.70006@...221...> <20151218092428.GA672@...2774...> Message-ID: <5673D33C.7020302@...221...> Am 18.12.2015 10:24, schrieb Tobias Boege: > On Fri, 18 Dec 2015, Rolf-Werner Eilert wrote: >> Is an XML file like the ones which are produced by File.Save and >> RichTextArea a UTF-8 file? >> >> Do I have to handle the string with the String class, or is it plain >> ASCII and has to be handled with ordinary Mid, Left, InStr? >> > It is possible that a random XML file contains UTF-8 characters: try opening > LibreOffice, typing some umlauts and saving the file. Use unzip on the .odt > to get the content.xml file. Then > > $ file -i content.xml > > shows that it is UTF-8 encoded XML. So you are on the safe side with the > String class. > > Regards, > Tobi > "On the safe side" - that is what I wanted to know. Thank you! :) Rolf From gambas.fr at ...626... Fri Dec 18 11:23:54 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 18 Dec 2015 11:23:54 +0100 Subject: [Gambas-user] XML string = UTF-8? In-Reply-To: <5673D33C.7020302@...221...> References: <5673CCB7.70006@...221...> <20151218092428.GA672@...2774...> <5673D33C.7020302@...221...> Message-ID: you can ensure you are in plain text by using convertion functions: http://gambaswiki.org/wiki/lang/conv 2015-12-18 10:34 GMT+01:00 Rolf-Werner Eilert : > > Am 18.12.2015 10:24, schrieb Tobias Boege: >> On Fri, 18 Dec 2015, Rolf-Werner Eilert wrote: >>> Is an XML file like the ones which are produced by File.Save and >>> RichTextArea a UTF-8 file? >>> >>> Do I have to handle the string with the String class, or is it plain >>> ASCII and has to be handled with ordinary Mid, Left, InStr? >>> >> It is possible that a random XML file contains UTF-8 characters: try opening >> LibreOffice, typing some umlauts and saving the file. Use unzip on the .odt >> to get the content.xml file. Then >> >> $ file -i content.xml >> >> shows that it is UTF-8 encoded XML. So you are on the safe side with the >> String class. >> >> Regards, >> Tobi >> > "On the safe side" - that is what I wanted to know. Thank you! :) > > Rolf > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From bugtracker at ...3416... Fri Dec 18 14:26:27 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 18 Dec 2015 13:26:27 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #876: please return the edit menu to root (cut, copy, paste) Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.876&from=L21haW4- PICCORO LENZ MCKAY reported a new bug. Summary ------- please return the edit menu to root (cut, copy, paste) Type : Request Priority : High Gambas version : 3.8 Product : Development Environment Description ----------- currently in editor the editing menu to cut, copy or paste a portion of text are in a submenu.. please can return these items to the root menu event in a sub menu? for fast-development are more satisfactory! especial for users of other languages! System information ------------------ [System] Gambas=3.8.3 OperatingSystem=Linux Kernel=4.2.0-0.bpo.1-686-pae Architecture=x86 Distribution=debian 8.2 Desktop=MATE Theme=Gtk Language=es_VE.UTF-8 Memory=1688M [Libraries] Cairo=libcairo.so.2.11400.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.13 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.404.0 GTK+2=libgtk-x11-2.0.so.0.2400.25 GTK+3=libgtk-3.so.0.1400.5 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.46.0.0 QT4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-U8DbCgTacQ,guid=29801e1e7e816be3b9ee8baa567184bd DESKTOP_SESSION=mate DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=mate GDM_LANG=es_VE.utf8 GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=2850 GPG_AGENT_INFO=/run/user/1001/keyring/gpg:0:1 HOME= LANG=es_VE.UTF-8 LANGUAGE=es_VE:es LOGNAME= MATE_DESKTOP_SESSION_ID=this-is-deprecated PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games PWD= SESSION_MANAGER=local/:@/tmp/.ICE-unix/1098,unix/:/tmp/.ICE-unix/1098 SHELL=/bin/bash SSH_AGENT_PID=1121 SSH_AUTH_SOCK=/run/user/1001/keyring/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CURRENT_DESKTOP=MATE XDG_GREETER_DATA_DIR=/var/lib/lightdm/data/ XDG_RUNTIME_DIR=/run/user/1001 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_ID=4 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_VTNR=7 From d4t4full at ...626... Fri Dec 18 14:41:21 2015 From: d4t4full at ...626... (ML) Date: Fri, 18 Dec 2015 10:41:21 -0300 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #876: please return the edit menu to root (cut, copy, paste) In-Reply-To: References: Message-ID: <56740D01.3020003@...626...> Gerardo, You may use the "standard" keyboard shortcuts instead: * COPY -> Ctrl-C** ** PASTE -> Ctrl-V** ** CUT -> Ctrl-X* Or the "more international" shortcuts (because they do not depend on specific letters); I use these since the old QuickBasic 4.5 (DOS) days: * COPY -> Ctrl-Ins** ** PASTE -> Shift-Ins** ** CUT -> Shift-Del* If I remember correctly, they work in both, code and form editors in Gambas. I hardly use the Ctrl-X/C/V combinations, ever! Regards, *On 2015-12-18 10:26, bugtracker at ...3416... wrote:* > http://gambaswiki.org/bugtracker/edit?object=BUG.876&from=L21haW4- > > PICCORO LENZ MCKAY reported a new bug. > > Summary > ------- > please return the edit menu to root (cut, copy, paste) > Type : Request > Priority : High > Gambas version : 3.8 > Product : Development Environment > > > Description > ----------- > currently in editor the editing menu to cut, copy or paste a portion > of text are in a submenu.. > please can return these items to the root menu event in a sub menu? > for fast-development are more satisfactory! especial for users of > other languages! > > System information > ------------------ > [System] > Gambas=3.8.3 > OperatingSystem=Linux > Kernel=4.2.0-0.bpo.1-686-pae > Architecture=x86 > Distribution=debian 8.2 > Desktop=MATE > Theme=Gtk > Language=es_VE.UTF-8 > Memory=1688M > > [Libraries] > Cairo=libcairo.so.2.11400.0 > Curl=libcurl.so.4.3.0 > DBus=libdbus-1.so.3.8.13 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.404.0 > GTK+2=libgtk-x11-2.0.so.0.2400.25 > GTK+3=libgtk-3.so.0.1400.5 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.46.0.0 > QT4=libQtCore.so.4.8.6 > SDL=libSDL-1.2.so.0.11.4 > > [Environment] > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-U8DbCgTacQ,guid=29801e1e7e816be3b9ee8baa567184bd > DESKTOP_SESSION=mate > DISPLAY=:0.0 > GB_GUI=gb.qt4 > GDMSESSION=mate > GDM_LANG=es_VE.utf8 > GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop > GIO_LAUNCHED_DESKTOP_FILE_PID=2850 > GPG_AGENT_INFO=/run/user/1001/keyring/gpg:0:1 > HOME= > LANG=es_VE.UTF-8 > LANGUAGE=es_VE:es > LOGNAME= > MATE_DESKTOP_SESSION_ID=this-is-deprecated > PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games > PWD= > SESSION_MANAGER=local/:@/tmp/.ICE-unix/1098,unix/:/tmp/.ICE-unix/1098 > SHELL=/bin/bash > SSH_AGENT_PID=1121 > SSH_AUTH_SOCK=/run/user/1001/keyring/ssh > TZ=:/etc/localtime > USER= > XAUTHORITY=/.Xauthority > XDG_CURRENT_DESKTOP=MATE > XDG_GREETER_DATA_DIR=/var/lib/lightdm/data/ > XDG_RUNTIME_DIR=/run/user/1001 > XDG_SEAT=seat0 > XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 > XDG_SESSION_ID=4 > XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 > XDG_VTNR=7 From bugtracker at ...3416... Fri Dec 18 15:09:51 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 18 Dec 2015 14:09:51 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #876: please return the edit menu to root (cut, copy, paste) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.876&from=L21haW4- Comment #1 by Moviga TECHNOLOGIES: If you want to be fast, why do you not use Ctrl+C/V/X? From bugtracker at ...3416... Sat Dec 19 00:02:08 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 18 Dec 2015 23:02:08 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #855: [gb.report2] blank report, use more than 90% resource CPU In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.855&from=L21haW4- Comment #8 by Shane POWELL: Just checked only a problem when running in ide From author.ilmi at ...626... Sat Dec 19 02:15:58 2015 From: author.ilmi at ...626... (zainudin ahmad) Date: Sat, 19 Dec 2015 08:15:58 +0700 Subject: [Gambas-user] Question on editing database tables In-Reply-To: References: Message-ID: This trick(0=0) worked for sqlite "0=0 ORDER BY Code, Date, Amount" May be any better idea ? On Wed, Dec 16, 2015 at 10:24 PM, wrote: > Hi all, > > > I have used editing on tables multiple times like this for example: > > rResultEdit = $hConn.Edit("KasAanvullingen", "KassaCode = &1 AND Time = > &2 AND Date = &3", sKasAanvulCode, rResultAanvul!Time, > rResultAanvul!Date) > > Now I'm facing a harder one: > I have this table and it needs to be edited, but for that records need > to be ordered based on code, date and amount > I tried this: > > rResultFact = $hConn.Edit("ICDagResFactNee", "ORDER BY Code, Date, > Amount") > > but that results in an empty result. Guess the second argument only > replaces a WHERE > > Now, this order is very important in this case as the proper records > need to be edited and the default order of the table is not the desired > one and will lead to data integrity problems when editing as is. > Can one use DB.Edit so the result is ordered in a certain desired > manner? > > > Thanks, > > gbWilly > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mckaygerhard at ...626... Sat Dec 19 04:55:00 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 18 Dec 2015 23:25:00 -0430 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #876: please return the edit menu to root (cut, copy, paste) In-Reply-To: <56741415.6220320a.2377a.ffffbe15SMTPIN_ADDED_BROKEN@...2392...> References: <56741415.6220320a.2377a.ffffbe15SMTPIN_ADDED_BROKEN@...2392...> Message-ID: due in the DEL XPS touchscreen are more practice the hand over he keyboard.. (not the mose... i not have mouse either keyboard in this good laptop) my keyboard are 100% in the screen and key combination are tedious! 2015-12-18 9:39 GMT-04:30, bugtracker at ...3416... : > http://gambaswiki.org/bugtracker/edit?object=BUG.876&from=L21haW4- > > Comment #1 by Moviga TECHNOLOGIES: > > If you want to be fast, why do you not use Ctrl+C/V/X? > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From bugtracker at ...3416... Sat Dec 19 04:55:46 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 19 Dec 2015 03:55:46 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #876: please return the edit menu to root (cut, copy, paste) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.876&from=L21haW4- Comment #2 by PICCORO LENZ MCKAY: due in the DEL XPS touchscreen are more practice the hand over he keyboard.. (not the mose... i not have mouse either keyboard in this good laptop) my keyboard are 100% in the screen and key combination are tedious! From bugtracker at ...3416... Sat Dec 19 05:01:13 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 19 Dec 2015 04:01:13 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #855: [gb.report2] blank report, use more than 90% resource CPU In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.855&from=L21haW4- Comment #9 by PICCORO LENZ MCKAY: any tried with a version of qt4 different from 4.8.X, maybe with 4.7.X series or older? some of the epoted bugs of some components i cannot reproduce (mean works for me) using qt4 4.7.X or 4.6.3+ in my own compilation of gambas 3.6 From adamnt42 at ...626... Sat Dec 19 05:42:15 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Sat, 19 Dec 2015 15:12:15 +1030 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #876: please return the edit menu to root (cut, copy, paste) In-Reply-To: References: <56741415.6220320a.2377a.ffffbe15SMTPIN_ADDED_BROKEN@...2392...> Message-ID: <20151219151215.d7ca46c42f7a2866129cb701@...626...> On Fri, 18 Dec 2015 23:25:00 -0430 PICCORO McKAY Lenz wrote: > due in the DEL XPS touchscreen are more practice the hand over he > keyboard.. (not the mose... i not have mouse either keyboard in this > good laptop) > > my keyboard are 100% in the screen and key combination are tedious! > > Give me strength! Nope. Piccoro, Fair crack of the whip, sunshine. Youse are gunna really have to come to a better grip of this Engrish. I been spiklka de leng for about 60+ years, but that one has really got me buggered. As far as I know, If you marinade your mose in Calvados for a few days it may become a bit more tender. (and by the way, may you and yours have a great festive season, no matter which deity ... -- B Bruen From gambas.fr at ...626... Sat Dec 19 06:57:09 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 19 Dec 2015 06:57:09 +0100 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #876: please return the edit menu to root (cut, copy, paste) In-Reply-To: <20151219151215.d7ca46c42f7a2866129cb701@...626...> References: <56741415.6220320a.2377a.ffffbe15SMTPIN_ADDED_BROKEN@...2392...> <20151219151215.d7ca46c42f7a2866129cb701@...626...> Message-ID: Just modify the editor toolbar to have the needed buttons accessibles. All the toolbar are customizable by users just by right click on it. Le 19 d?c. 2015 05:44, "adamnt42 at ...626..." a ?crit : > On Fri, 18 Dec 2015 23:25:00 -0430 > PICCORO McKAY Lenz wrote: > > > due in the DEL XPS touchscreen are more practice the hand over he > > keyboard.. (not the mose... i not have mouse either keyboard in this > > good laptop) > > > > my keyboard are 100% in the screen and key combination are tedious! > > > > > > Give me strength! > > Nope. > > Piccoro, > Fair crack of the whip, sunshine. Youse are gunna really have to come to a > better grip of this Engrish. > I been spiklka de leng for about 60+ years, but that one has really got me > buggered. > > As far as I know, If you marinade your mose in Calvados for a few days it > may become a bit more tender. > > > (and by the way, may you and yours have a great festive season, no matter > which deity ... > -- > B Bruen > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From willy at ...3474... Sat Dec 19 13:08:28 2015 From: willy at ...3474... (willy at ...3474...) Date: Sat, 19 Dec 2015 13:08:28 +0100 Subject: [Gambas-user] Question on editing database tables In-Reply-To: References: Message-ID: <7d3e87bb28f6abf74f411060471d2bed@...3474...> On 2015-12-19 02:15, zainudin ahmad wrote: > This trick(0=0) worked for sqlite > > "0=0 ORDER BY Code, Date, Amount" > > May be any better idea ? > Thanks, I'll give it a try after the holidays (in 2 weeks) when I am back at work. gbWilly From mckaygerhard at ...626... Sat Dec 19 15:20:26 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sat, 19 Dec 2015 09:50:26 -0430 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #876: please return the edit menu to root (cut, copy, paste) In-Reply-To: References: <56741415.6220320a.2377a.ffffbe15SMTPIN_ADDED_BROKEN@...2392...> <20151219151215.d7ca46c42f7a2866129cb701@...626...> Message-ID: ok! thanks fabian, so thn cloe this feature request -- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From bill-lancaster at ...2231... Sat Dec 19 23:09:24 2015 From: bill-lancaster at ...2231... (bill-lancaster at ...2231...) Date: Sat, 19 Dec 2015 23:09:24 +0100 Subject: [Gambas-user] [SPAM] Fw: important message Message-ID: <000063434a8f$531f7f9a$a9f493f4$@lineone.net> Hello! New message, please read bill-lancaster at ...2231... From bugtracker at ...3416... Sun Dec 20 04:22:11 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 20 Dec 2015 03:22:11 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #815: Software Farm: Projects updates In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.815&from=L21haW4- C THALHOFER changed the state of the bug to: Accepted. From bugtracker at ...3416... Sun Dec 20 04:25:44 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 20 Dec 2015 03:25:44 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #864: Publish to Farm created new entry instead of updating the old one. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.864&from=L21haW4- Comment #1 by C THALHOFER: Seems to be duplicate to 815 http://gambaswiki.org/bugtracker/edit?object=BUG.815&from=L21haW4- From bugtracker at ...3416... Sun Dec 20 04:34:42 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 20 Dec 2015 03:34:42 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #877: Sometimes , menu entries get lost Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.877&from=L21haW4- C THALHOFER reported a new bug. Summary ------- Sometimes , menu entries get lost Type : Bug Priority : Medium Gambas version : 3.8 Product : Unknown Description ----------- As I can see in the IDE as also in a project of mine sometimes (and unpredictable) menu entries (second level, not first) get lost after a while of working with the program. A restart of IDE or my own program helps. System information ------------------ [System] Gambas=3.8.3 OperatingSystem=Linux Kernel=3.13.0-74-generic Architecture=x86_64 Distribution=Ubuntu 14.04.3 LTS Desktop=XFCE Theme=Gtk Language=de_DE.UTF-8 Memory=3848M [Libraries] Cairo=libcairo.so.0.0.0 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+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-igfzbCvv8W DEFAULTS_PATH=/usr/share/gconf/xfce.default.path DESKTOP_SESSION=xfce DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=xfce GDM_LANG=de_DE GLADE_CATALOG_PATH=: GLADE_MODULE_PATH=: GLADE_PIXMAP_PATH=: GNOME_KEYRING_CONTROL=/run/user/1000/keyring-1IDL3i GNOME_KEYRING_PID= GPG_AGENT_INFO=/run/user/1000/keyring-1IDL3i/gpg:0:1 GTK_MODULES=canberra-gtk-module:canberra-gtk-module HOME= IM_CONFIG_PHASE=1 INSTANCE= JOB=dbus LANG=de_DE.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/xfce.mandatory.path PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT_QPA_PLATFORMTHEME=appmenu-qt5 SELINUX_INIT=YES SESSION=xfce SESSIONTYPE= SESSION_MANAGER=local/:@/tmp/.ICE-unix/3389,unix/:/tmp/.ICE-unix/3389 SHELL=/usr/bin/zsh SHLVL=0 SSH_AUTH_SOCK=/run/user/1000/keyring-1IDL3i/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime UPSTART_EVENTS=started xsession UPSTART_INSTANCE= UPSTART_JOB=startxfce4 UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/2568 USER= USERNAME= WINDOWPATH=7 XAUTHORITY=/var/run/gdm/auth-for--rx008O/database XDG_CONFIG_DIRS=/etc/xdg/xdg-xfce:/usr/share/upstart/xdg:/etc/xdg:/etc/xdg XDG_CURRENT_DESKTOP=XFCE XDG_DATA_DIRS=/usr/share/xfce:/usr/share/xfce4:/usr/local/share/:/usr/share/:/usr/share XDG_MENU_PREFIX=xfce- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_ID=c1 XDG_VTNR=7 From charlie at ...2793... Sun Dec 20 17:03:04 2015 From: charlie at ...2793... (Charlie) Date: Sun, 20 Dec 2015 09:03:04 -0700 (MST) Subject: [Gambas-user] Variation in output In-Reply-To: References: <1449845609134-54889.post@...3046...> <1449902860123-54924.post@...3046...> Message-ID: <1450627384823-55058.post@...3046...> Thanks for the replies. I have tried both the *-z* and *-Z* options but neither seem to have any effect. Regarding the use of *Trim* I do use this and other tricks to remove double spaces etc. but it does not alter the output. -- View this message in context: http://gambas.8142.n7.nabble.com/Variation-in-output-tp54889p55058.html Sent from the gambas-user mailing list archive at Nabble.com. From author.ilmi at ...626... Mon Dec 21 11:42:25 2015 From: author.ilmi at ...626... (zainudin ahmad) Date: Mon, 21 Dec 2015 17:42:25 +0700 Subject: [Gambas-user] Variation in output In-Reply-To: <1450627384823-55058.post@...3046...> References: <1449845609134-54889.post@...3046...> <1449902860123-54924.post@...3046...> <1450627384823-55058.post@...3046...> Message-ID: I did not get "filter" word again: - Extract this file into the / tmp directory (attach project) - Open file project and Make executable - Run the bin file from the file manager (attach pic) it's work ?? On Sun, Dec 20, 2015 at 11:03 PM, Charlie wrote: > Thanks for the replies. > I have tried both the *-z* and *-Z* options but neither seem to have any > effect. > Regarding the use of *Trim* I do use this and other tricks to remove double > spaces etc. but it does not alter the output. > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/Variation-in-output-tp54889p55058.html > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- A non-text attachment was scrubbed... Name: Execute_bug-0.0.6.tar.gz Type: application/x-gzip Size: 161340 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pic-1.png Type: image/png Size: 63874 bytes Desc: not available URL: From bugtracker at ...3416... Mon Dec 21 16:45:36 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 21 Dec 2015 15:45:36 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #864: Publish to Farm created new entry instead of updating the old one. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.864&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Duplicate. From gambas at ...1... Mon Dec 21 18:16:14 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 21 Dec 2015 18:16:14 +0100 Subject: [Gambas-user] Release of Gambas 3.8.4 Message-ID: <567833DE.5090006@...1...> Hi, Gambas 3.8.4 has been officially released. Download it at: https://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.8.4.tar.bz2/download Here is some important changes: - No crash anymore when running the IDE through a terminal server, or on old desktops that do not manage some X11 properties. - Support for time-only values on recent PostgreSQL databases. - Support for PLAIN and CRAM-MD5 authentications in gb.net.smtp. For the full changelog, go to the web site! Regards, -- Beno?t Minisini From bugtracker at ...3416... Mon Dec 21 19:02:55 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 21 Dec 2015 18:02:55 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #878: Possibility of having VB6-like enumerators. Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.878&from=L21haW4- zxMarce reported a new bug. Summary ------- Possibility of having VB6-like enumerators. Type : Request Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Language Description ----------- I always miss something in Gambas that is very convenient in VB6. It can also enhance the IDE and shorten developing time. In VB6, you can declare enumerated constants. It's just a way to "group" related-constants, and the VB6 IDE is "enum-aware". Let's assume this code in VB6 (a screenshot is attached with the example): Private Enum enuExample ex_FirstValue = 10 ex_SecondValue = 20 ex_LastValue = 30 End Enum Then, when you DIM a variable AS enuExample, the IDE will 'autocomplete' defined values for it. It's a very convenient way to group component/control/class property values. For example, you create a public enum in your component/control/class, and declare some property As the enum. Then, when the user wants to assign a value (for example, border types), a pop-up autocompletion menu appears with the defined values. In VB6, these enums will only hold LONG (int32) values. VB.Net further expanded the enumerations so they can be any known type, even strings. A real-world example would be the serial port state, which in Gambas can be Active or Inactive. Well, these values can be made as follows (values are whatever crossed my mind, they may be wrong): Public Enum enuSerialPortState 'a nice addition would be VB.Net's "As Integer". sps_PortInactive = 0 sps_PortActive = 1 End Enum Then you would type: If myPort.Active = and the autocomplete list would not list every constant defined for the port (even unrelated ones), but the only two values defined for the enumeration, sps_PortInactive and sps_PortActive. Well, that's it. It would be a real nice addition to Gambas 3. From bugtracker at ...3416... Mon Dec 21 19:03:11 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 21 Dec 2015 18:03:11 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #878: Possibility of having VB6-like enumerators. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.878&from=L21haW4- zxMarce added an attachment: VB6EnumExample.Png From tercoide at ...67... Mon Dec 21 21:00:20 2015 From: tercoide at ...67... (martin p cristia) Date: Mon, 21 Dec 2015 17:00:20 -0300 Subject: [Gambas-user] GL Vertex Buffer Objects In-Reply-To: References: Message-ID: Hi: Is vertex array and VBO in the agenda for the OpenGL component? -- Saludos Ing. Martin P Cristia From gambas at ...1... Mon Dec 21 21:51:31 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 21 Dec 2015 21:51:31 +0100 Subject: [Gambas-user] GL Vertex Buffer Objects In-Reply-To: References: Message-ID: <56786653.8080606@...1...> Le 21/12/2015 21:00, martin p cristia a ?crit : > Hi: > Is vertex array and VBO in the agenda for the OpenGL component? > It needs a volunteer to implement it. -- Beno?t Minisini From rterry at ...1823... Mon Dec 21 22:10:41 2015 From: rterry at ...1823... (richard terry) Date: Tue, 22 Dec 2015 08:10:41 +1100 Subject: [Gambas-user] Removing projects from the gambas boot up list Message-ID: <56786AD1.5010500@...1823...> Hi list, Wondered if anyone could remind me how to remove the list of recent projects from the boot up screen. Feature request: 1) could we have an option on that screen to clear recent projects 2) Could be have the pathway's displayed somehow, I sometimes have had to run different versions of my program whilst developing it - a more stable tree I actually use at work and a less table tree often work on in-between patients! Thanks Richard From rterry at ...1823... Mon Dec 21 22:36:37 2015 From: rterry at ...1823... (richard terry) Date: Tue, 22 Dec 2015 08:36:37 +1100 Subject: [Gambas-user] Removing projects from the gambas boot up list Message-ID: <567870E5.6090708@...1823...> Hi list, Wondered if anyone could remind me how to remove the list of recent projects from the boot up screen. Feature request: 1) could we have an option on that screen to clear recent projects 2) Could be have the pathway's displayed somehow, I sometimes have had to run different versions of my program whilst developing it - a more stable tree I actually use at work and a less table tree often work on in-between patients! Thanks Richard From adamnt42 at ...626... Tue Dec 22 00:09:17 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Tue, 22 Dec 2015 09:39:17 +1030 Subject: [Gambas-user] Removing projects from the gambas boot up list In-Reply-To: <56786AD1.5010500@...1823...> References: <56786AD1.5010500@...1823...> Message-ID: <20151222093917.135ce7fe4e912e5789264830@...626...> On Tue, 22 Dec 2015 08:10:41 +1100 richard terry wrote: > Hi list, > > Wondered if anyone could remind me how to remove the list of recent > projects from the boot up screen. > > Feature request: > > 1) could we have an option on that screen to clear recent projects > 2) Could be have the pathway's displayed somehow, I sometimes have had > to run different versions of my program whilst developing it - a more > stable tree I actually use at work and a less table tree often work on > in-between patients! The popup menu in the panel gives the option to sort by path. That with the filter box should allow you to solve 2) hth b > > Thanks > > Richard > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- B Bruen From eilert-sprachen at ...221... Tue Dec 22 08:43:25 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 22 Dec 2015 08:43:25 +0100 Subject: [Gambas-user] Release of Gambas 3.8.4 In-Reply-To: <567833DE.5090006@...1...> References: <567833DE.5090006@...1...> Message-ID: <5678FF1D.9050305@...221...> Am 21.12.2015 18:16, schrieb Beno?t Minisini: > Hi, > > Gambas 3.8.4 has been officially released. > > Download it at: > > https://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.8.4.tar.bz2/download > > Here is some important changes: > > - No crash anymore when running the IDE through a terminal server, or on > old desktops that do not manage some X11 properties. > - Support for time-only values on recent PostgreSQL databases. > - Support for PLAIN and CRAM-MD5 authentications in gb.net.smtp. > > For the full changelog, go to the web site! > > Regards, > Ha! Downloaded, compiled, installed it. Runs like a charm - and is much faster on my X-server screen in the office! Thank you, Beno?t, et Joyeux No?l Regards Rolf From jscops at ...11... Tue Dec 22 10:13:37 2015 From: jscops at ...11... (Jack) Date: Tue, 22 Dec 2015 10:13:37 +0100 Subject: [Gambas-user] Release of Gambas 3.8.4 In-Reply-To: <567833DE.5090006@...1...> References: <567833DE.5090006@...1...> Message-ID: <56791441.90201@...11...> Le 21/12/2015 18:16, Beno?t Minisini a ?crit : > Hi, > > Gambas 3.8.4 has been officially released. > > Download it at: > > https://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.8.4.tar.bz2/download > > Here is some important changes: > > - No crash anymore when running the IDE through a terminal server, or on > old desktops that do not manage some X11 properties. > - Support for time-only values on recent PostgreSQL databases. > - Support for PLAIN and CRAM-MD5 authentications in gb.net.smtp. > > For the full changelog, go to the web site! > > Regards, > Ok, thank you Benoit. X2go works fine with Gambas 3.8.4. Now Gambas works on windows and Mac. Bonnes f?tes. Jack From tercoide at ...67... Tue Dec 22 12:06:06 2015 From: tercoide at ...67... (martin p cristia) Date: Tue, 22 Dec 2015 08:06:06 -0300 Subject: [Gambas-user] GL Vertex Buffer Objects In-Reply-To: References: Message-ID: El 22/12/15 a las 04:43, gambas-user-request at lists.sourceforge.net escribi?: > Le 21/12/2015 21:00, martin p cristia a ?crit : >> >Hi: >> >Is vertex array and VBO in the agenda for the OpenGL component? >> > > It needs a volunteer to implement it. > > -- Beno?t Minisini I can do the hard work, if you're ready to face 100 emails of questions -- Saludos Ing. Martin P Cristia From gambas at ...1... Tue Dec 22 14:51:20 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 22 Dec 2015 14:51:20 +0100 Subject: [Gambas-user] GL Vertex Buffer Objects In-Reply-To: References: Message-ID: <56795558.2060007@...1...> Le 22/12/2015 12:06, martin p cristia a ?crit : > > > El 22/12/15 a las 04:43, gambas-user-request at lists.sourceforge.net escribi?: >> Le 21/12/2015 21:00, martin p cristia a ?crit : >>>> Hi: >>>> Is vertex array and VBO in the agenda for the OpenGL component? >>>> >> It needs a volunteer to implement it. >> >> -- Beno?t Minisini > I can do the hard work, if you're ready to face 100 emails of questions > The opengl component is written in C, and is just a direct interface to the OpenGL API, except for images that are handled the Gambas way. If you know C, and OpenGL, it should not be difficult... -- Beno?t Minisini From mckaygerhard at ...626... Tue Dec 22 18:17:16 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Tue, 22 Dec 2015 12:47:16 -0430 Subject: [Gambas-user] Release of Gambas 3.8.4 In-Reply-To: <56791441.90201@...11...> References: <567833DE.5090006@...1...> <56791441.90201@...11...> Message-ID: 2015-12-22 4:43 GMT-04:30 Jack : > Now Gambas works on windows and Mac. > ohh no! From mckaygerhard at ...626... Tue Dec 22 18:21:06 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Tue, 22 Dec 2015 12:51:06 -0430 Subject: [Gambas-user] grid remove objects without associated a table Message-ID: i'll try to remove a line row of the grid, but i only got empty the content.. the line still here with nothing inside! how can i doit or its not supported! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From gambas at ...1... Tue Dec 22 21:44:17 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 22 Dec 2015 21:44:17 +0100 Subject: [Gambas-user] Commit log format : README!! Message-ID: <5679B621.1010808@...1...> Hi, Until now, I have specified that commit log line lengths had to be less than 76 characters. This limit is not necessary anymore, so from now, this limit is removed, and commit log lines can now be as long as you want. Regards, -- Beno?t Minisini From kevinfishburne at ...1887... Wed Dec 23 02:11:40 2015 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Tue, 22 Dec 2015 20:11:40 -0500 Subject: [Gambas-user] GL Vertex Buffer Objects In-Reply-To: References: Message-ID: <5679F4CC.90105@...1887...> On 12/21/2015 03:00 PM, martin p cristia wrote: > Hi: > Is vertex array and VBO in the agenda for the OpenGL component? > I use this code, modified a bit by me and originally written by a guy whose name I continually forget (sorry). It builds a display list from a Wavefront obj file exported from Blender. I'm not sure if that's the same thing as a vertex array or VBO, as I suck at OpenGL, but I use it for loading and displaying 3D models in my games. I think this has been discussed before, but it would be nice is there was some high-level component for doing common OpenGL tasks. I also made an OpenAL example on the farm if you need better audio than SDL. -- 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: ObjModel.class Type: application/x-java Size: 5268 bytes Desc: not available URL: From mckaygerhard at ...626... Wed Dec 23 15:41:04 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Wed, 23 Dec 2015 10:11:04 -0430 Subject: [Gambas-user] =?utf-8?q?non_printable_char_=22=E2=B1=B5=22_how_to?= =?utf-8?q?_remove_from_string!!!!!?= Message-ID: i have a non printable char in a string, that i have to remove: non printable char "?" how to remove from string!!!!! when i try to print to frontend, got a error asertion failed in gtk when i try to print to console output got a rombo with and "?" inside! how gambas manage this king of chars? Benoit! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From mckaygerhard at ...626... Wed Dec 23 16:59:05 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Wed, 23 Dec 2015 11:29:05 -0430 Subject: [Gambas-user] usb codebar reader how to handle events!? Message-ID: now continues with strange petitions: now i have a usb metrologic code bar reader, of course in each plug and play changes the usb node, that was solved!! My problem are now that i want to detect when the input comes from this device and not from the keyboard! the reader returns chars! i can configure to return a start char and end char, but make me depends on a pre-configuration i want something like "if inputX_read " etc etc by example, for serial port if i have Sport the event when i have data are _Read.. how can i made some thing similar with this device usb can manage as a extra keyboard, if this are, how can i diference two keyboards (one the standar keyboard the other the codereader) a portion oof code will be helpfull Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From mckaygerhard at ...626... Wed Dec 23 17:10:58 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Wed, 23 Dec 2015 11:40:58 -0430 Subject: [Gambas-user] how to detect if input comes from keyboard Message-ID: ok if i have some input devices, and only one keyboard, how can i discriminate if the chars input comes from the keyboard or from other inpput device example /dev/input/event7 as usb! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From jscops at ...11... Wed Dec 23 17:15:52 2015 From: jscops at ...11... (Jack) Date: Wed, 23 Dec 2015 17:15:52 +0100 Subject: [Gambas-user] usb codebar reader how to handle events!? In-Reply-To: References: Message-ID: <567AC8B8.4000503@...11...> Le 23/12/2015 16:59, PICCORO McKAY Lenz a ?crit : > now continues with strange petitions: > > now i have a usb metrologic code bar reader, of course in each plug and > play changes the usb node, that was solved!! > > My problem are now that i want to detect when the input comes from this > device and not from the keyboard! > > the reader returns chars! i can configure to return a start char and end > char, but make me depends on a pre-configuration > > i want something like "if inputX_read " etc etc > > by example, for serial port if i have Sport the event when i have data are > _Read.. > > how can i made some thing similar with this device usb > > can manage as a extra keyboard, if this are, how can i diference two > keyboards (one the standar keyboard the other the codereader) > > a portion oof code will be helpfull > Hello, a barcode reader does not need to be declared in the system. It is automatically recognized. you must configure your reader with a preamble. For example with a *. Then when you get the barcode, you control the first character is a * If Left$(textbox.Text) = "*" Then Barcode = true Textbox.Text = Mid$(Textbox.Text, 2, Len(Textbox.Text)) what you want with Textbox.text endif Jack From mckaygerhard at ...626... Wed Dec 23 17:34:12 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Wed, 23 Dec 2015 12:04:12 -0430 Subject: [Gambas-user] usb codebar reader how to handle events!? In-Reply-To: <567AC8B8.4000503@...11...> References: <567AC8B8.4000503@...11...> Message-ID: Errr.. Jack! i have already preconfigured with prefix (an "a") and sufix (a "z"), i want without that!, i wnat detect the event itselft! 2015-12-23 11:45 GMT-04:30 Jack : > Hello, > > a barcode reader does not need to be declared in the system. It is > automatically recognized. > > you must configure your reader with a preamble. For example with a *. > Then when you get the barcode, you control the first character is a * > If Left$(textbox.Text) = "*" Then > Barcode = true > Textbox.Text = Mid$(Textbox.Text, 2, Len(Textbox.Text)) > what you want with Textbox.text > endif > > From charlie at ...2793... Wed Dec 23 17:15:10 2015 From: charlie at ...2793... (Charlie) Date: Wed, 23 Dec 2015 09:15:10 -0700 (MST) Subject: [Gambas-user] usb codebar reader how to handle events!? In-Reply-To: <567AC8B8.4000503@...11...> References: <567AC8B8.4000503@...11...> Message-ID: <1450887310389-55083.post@...3046...> The barcode reader will only return the barcode information not the special characters that are needed to create it. Once all the barcode is sent the barcode reader will send a *Return key*. We can use Gambas to check for the *Return key* so we know the barcode has been completely read. If you want to see how this works open a spreadsheet and read a code into a cell and you will see that if the code is read into cell A1 the cursor ends up in cell B1 because of the *Return key*. There is no need to program the reader to send any extra characters. Here is some code you can use to see how Gambas can handle to reader. BarcodeReader.tar -- View this message in context: http://gambas.8142.n7.nabble.com/usb-codebar-reader-how-to-handle-events-tp55079p55083.html Sent from the gambas-user mailing list archive at Nabble.com. From charlie at ...2793... Wed Dec 23 17:46:12 2015 From: charlie at ...2793... (Charlie) Date: Wed, 23 Dec 2015 09:46:12 -0700 (MST) Subject: [Gambas-user] =?utf-8?q?non_printable_char_=22=E2=B1=B5=22_how_to?= =?utf-8?q?_remove_from_string!!!!!?= In-Reply-To: References: Message-ID: <1450889172545-55084.post@...3046...> Have a look at this code, note that the "?" character is Chr(195) see here *Public Sub form_Open() Dim sString As String sString = Chr(195) & "Hello World" & Chr(195) Print sString sString = Replace(sString, Chr(195), "") Print sString End* -- View this message in context: http://gambas.8142.n7.nabble.com/non-printable-char-how-to-remove-from-string-tp55078p55084.html Sent from the gambas-user mailing list archive at Nabble.com. From charlie at ...2793... Wed Dec 23 18:02:44 2015 From: charlie at ...2793... (Charlie) Date: Wed, 23 Dec 2015 10:02:44 -0700 (MST) Subject: [Gambas-user] Variation in output In-Reply-To: References: <1449845609134-54889.post@...3046...> <1449902860123-54924.post@...3046...> <1450627384823-55058.post@...3046...> Message-ID: <1450890164137-55085.post@...3046...> Thanks for this Zainudin A. It does work as you described. Can you tell me why this works and why it doesn't work in a Home directory? Thanks. -- View this message in context: http://gambas.8142.n7.nabble.com/Variation-in-output-tp54889p55085.html Sent from the gambas-user mailing list archive at Nabble.com. From mckaygerhard at ...626... Wed Dec 23 20:14:04 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Wed, 23 Dec 2015 14:44:04 -0430 Subject: [Gambas-user] =?utf-8?q?non_printable_char_=22=E2=B1=B5=22_how_to?= =?utf-8?q?_remove_from_string!!!!!?= In-Reply-To: <1450889172545-55084.post@...3046...> References: <1450889172545-55084.post@...3046...> Message-ID: i resend the char discovered by me, and the returnet by asc 195 and not the same.. in any of the case i workaround using predefined constants and removing "extra" bytes from the string.. there's no way to detect that char from a serial device... must be a bug in the printer.. thanks all for help Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2015-12-23 12:16 GMT-04:30 Charlie : > Have a look at this code, note that the "?" character is Chr(195) see here > > *Public Sub form_Open() > Dim sString As String > sString = Chr(195) & "Hello World" & Chr(195) > Print sString > sString = Replace(sString, Chr(195), "") > Print sString > End* > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/non-printable-char-how-to-remove-from-string-tp55078p55084.html > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mckaygerhard at ...626... Wed Dec 23 20:16:31 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Wed, 23 Dec 2015 14:46:31 -0430 Subject: [Gambas-user] usb codebar reader how to handle events!? In-Reply-To: <1450887310389-55083.post@...3046...> References: <567AC8B8.4000503@...11...> <1450887310389-55083.post@...3046...> Message-ID: thanks charlie.. currently as i previusly posted, that's was doint! but my reader does not return "enter" or "carrige return" , only the code that reads! by now i can configure with "return" at the end of the read, or with a prefix and a sufix.. but i want to do not depend on those tricks! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2015-12-23 11:45 GMT-04:30 Charlie : > The barcode reader will only return the barcode information not the special > characters that are needed to create it. Once all the barcode is sent the > barcode reader will send a *Return key*. > We can use Gambas to check for the *Return key* so we know the barcode has > been completely read. If you want to see how this works open a spreadsheet > and read a code into a cell and you will see that if the code is read into > cell A1 the cursor ends up in cell B1 because of the *Return key*. > There is no need to program the reader to send any extra characters. > Here is some code you can use to see how Gambas can handle to reader. > BarcodeReader.tar > > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/usb-codebar-reader-how-to-handle-events-tp55079p55083.html > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Thu Dec 24 00:05:04 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 24 Dec 2015 00:05:04 +0100 Subject: [Gambas-user] =?utf-8?q?non_printable_char_=22=E2=B1=B5=22_how_to?= =?utf-8?q?_remove_from_string!!!!!?= In-Reply-To: References: <1450889172545-55084.post@...3046...> Message-ID: Can you write the output to a file and send it to me ? 2015-12-23 20:14 GMT+01:00 PICCORO McKAY Lenz : > i resend the char discovered by me, and the returnet by asc 195 and not the > same.. > > in any of the case i workaround using predefined constants and removing > "extra" bytes from the string.. there's no way to detect that char from a > serial device... must be a bug in the printer.. > > thanks all for help > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2015-12-23 12:16 GMT-04:30 Charlie : > >> Have a look at this code, note that the "?" character is Chr(195) see here >> >> *Public Sub form_Open() >> Dim sString As String >> sString = Chr(195) & "Hello World" & Chr(195) >> Print sString >> sString = Replace(sString, Chr(195), "") >> Print sString >> End* >> >> >> >> -- >> View this message in context: >> http://gambas.8142.n7.nabble.com/non-printable-char-how-to-remove-from-string-tp55078p55084.html >> Sent from the gambas-user mailing list archive at Nabble.com. >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> 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 -- Fabien Bodard From author.ilmi at ...626... Thu Dec 24 00:06:22 2015 From: author.ilmi at ...626... (zainudin ahmad) Date: Thu, 24 Dec 2015 06:06:22 +0700 Subject: [Gambas-user] Variation in output In-Reply-To: <1450890164137-55085.post@...3046...> References: <1449845609134-54889.post@...3046...> <1449902860123-54924.post@...3046...> <1450627384823-55058.post@...3046...> <1450890164137-55085.post@...3046...> Message-ID: Because I use "inxi" from the directory "/tmp/Execute_bug", Maybe you can try - Delete this line: Chmod "/tmp/Execute_bug/inxi" To "rwx" - And changing: Shell "/tmp/Execute_bug/inxi -n -Z -c0" To sNetwork become: Shell "inxi -n -Z -c0" To sNetwork On Thu, Dec 24, 2015 at 12:02 AM, Charlie wrote: > Thanks for this Zainudin A. It does work as you described. > Can you tell me why this works and why it doesn't work in a Home directory? > Thanks. > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/Variation-in-output-tp54889p55085.html > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Thu Dec 24 00:09:52 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 24 Dec 2015 00:09:52 +0100 Subject: [Gambas-user] usb codebar reader how to handle events!? In-Reply-To: References: <567AC8B8.4000503@...11...> <1450887310389-55083.post@...3046...> Message-ID: hey jack : Textbox.Text = Mid$(Textbox.Text, 2, Len(Textbox.Text)) Textbox.Text = Right(Textbox.Text, -1) 2015-12-23 20:16 GMT+01:00 PICCORO McKAY Lenz : > thanks charlie.. currently as i previusly posted, that's was doint! but my > reader does not return "enter" or "carrige return" , only the code that > reads! > > by now i can configure with "return" at the end of the read, or with a > prefix and a sufix.. but i want to do not depend on those tricks! > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2015-12-23 11:45 GMT-04:30 Charlie : > >> The barcode reader will only return the barcode information not the special >> characters that are needed to create it. Once all the barcode is sent the >> barcode reader will send a *Return key*. >> We can use Gambas to check for the *Return key* so we know the barcode has >> been completely read. If you want to see how this works open a spreadsheet >> and read a code into a cell and you will see that if the code is read into >> cell A1 the cursor ends up in cell B1 because of the *Return key*. >> There is no need to program the reader to send any extra characters. >> Here is some code you can use to see how Gambas can handle to reader. >> BarcodeReader.tar >> >> >> >> >> -- >> View this message in context: >> http://gambas.8142.n7.nabble.com/usb-codebar-reader-how-to-handle-events-tp55079p55083.html >> Sent from the gambas-user mailing list archive at Nabble.com. >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> 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 -- Fabien Bodard From gambas.fr at ...626... Thu Dec 24 00:12:40 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 24 Dec 2015 00:12:40 +0100 Subject: [Gambas-user] Release of Gambas 3.8.4 In-Reply-To: References: <567833DE.5090006@...1...> <56791441.90201@...11...> Message-ID: 2015-12-22 18:17 GMT+01:00 PICCORO McKAY Lenz : > 2015-12-22 4:43 GMT-04:30 Jack : > >> Now Gambas works on windows and Mac. >> > > ohh no! Well it's just a workaround... but it allow to use gambas programs hosted on another system linux > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From vuott at ...325... Thu Dec 24 03:17:57 2015 From: vuott at ...325... (Ru Vuott) Date: Thu, 24 Dec 2015 02:17:57 +0000 (UTC) Subject: [Gambas-user] =?utf-8?q?non_printable_char_=22=E2=B1=B5=22_how_to?= =?utf-8?q?_remove_from_string!!!!!?= References: <1286958330.4813494.1450923477647.JavaMail.yahoo.ref@...3424...> Message-ID: <1286958330.4813494.1450923477647.JavaMail.yahoo@...3424...> If the problematic character is > 127, you could use IsAscii() function: Public Sub Main() Dim s As String = "abcd efg" & Chr(195) & "hil mnop" Dim bb As Byte[] Dim b As Byte Dim i As Integer Print s With bb = Byte[].FromString(s) i = .Count End With While b < i If Not IsAscii(Chr(bb[b])) Then bb[b] = 32 Dec i Inc b Wend s = bb.ToString(0, bb.count) Print s End -------------------------------------------- Mer 23/12/15, PICCORO McKAY Lenz ha scritto: Oggetto: Re: [Gambas-user] non printable char "?" how to remove from string!!!!! A: "mailing list for gambas users" Data: Mercoled? 23 dicembre 2015, 20:14 i resend the char discovered by me, and the returnet by asc 195 and not the same.. in any of the case i workaround using predefined constants and removing "extra" bytes from the string.. there's no way to detect that char from a serial device... must be a bug in the printer.. thanks all for help Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2015-12-23 12:16 GMT-04:30 Charlie : > Have a look at this code, note that the "?" character is Chr(195) see? here > > *Public Sub form_Open() > Dim sString As String > sString = Chr(195) & "Hello World" & Chr(195) > Print sString > sString = Replace(sString, Chr(195), "") > Print sString > End* > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/non-printable-char-how-to-remove-from-string-tp55078p55084.html > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > _______________________________________________ > 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 vuott at ...325... Thu Dec 24 03:26:49 2015 From: vuott at ...325... (Ru Vuott) Date: Thu, 24 Dec 2015 02:26:49 +0000 (UTC) Subject: [Gambas-user] =?utf-8?q?non_printable_char_=22=E2=B1=B5=22_how_to?= =?utf-8?q?_remove_from_string!!!!!?= References: <1643931768.4755173.1450924009934.JavaMail.yahoo.ref@...3424...> Message-ID: <1643931768.4755173.1450924009934.JavaMail.yahoo@...3424...> opsss.. only a little adjustment: ****************************************************************** Public Sub Main() Dim s As String = "abcd efg" & Chr(195) & "hil mnop" Dim bb As Byte[] Dim b As Byte Print s bb = Byte[].FromString(s) For b = 0 To bb.Max If Not IsAscii(Chr(bb[b])) Then bb[b] = 32 Next s = bb.ToString(0, bb.count) Print s End ********************************************************** or if you want to "remove": Public Sub Main() ? Dim s As String = "abcd efg" & Chr(195) & "hil mnop" ? Dim bb As Byte[] ? Dim b As Byte ? Dim i As Integer ? ? Print s ? ? ? ? With bb = Byte[].FromString(s) ? ? ? i = .Count ? ? End With ? ? ? ? While b < i ? ? ? If Not IsAscii(Chr(bb[b])) Then bb.Remove(b) ? ? ? ? Dec i ? ? ? ? Inc b ? ? Wend ? ? ? ? s = bb.ToString(0, bb.count) ? ? ? ? Print s End ************************************************************************************* -------------------------------------------- Mer 23/12/15, PICCORO McKAY Lenz ha scritto: Oggetto: Re: [Gambas-user]??? non printable char "?" how to remove from string!!!!! A: "mailing list for gambas users" Data: Mercoled? 23 dicembre 2015, 20:14 i resend the char discovered by me, and the returnet by asc 195 and not the same.. in any of the case i workaround using predefined constants and removing "extra" bytes from the string.. there's no way to detect that char from a serial device... must be a bug in the printer.. thanks all for help Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2015-12-23 12:16 GMT-04:30 Charlie : > Have a look at this code, note that the "?" character is Chr(195) see? here > > *Public Sub form_Open() > Dim sString As String > sString = Chr(195) & "Hello World" & Chr(195) > Print sString > sString = Replace(sString, Chr(195), "") > Print sString > End* > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/non-printable-char-how-to-remove-from-string-tp55078p55084.html > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > _______________________________________________ > 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 ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From charlie at ...2793... Thu Dec 24 11:20:40 2015 From: charlie at ...2793... (Charlie) Date: Thu, 24 Dec 2015 03:20:40 -0700 (MST) Subject: [Gambas-user] usb codebar reader how to handle events!? In-Reply-To: References: <567AC8B8.4000503@...11...> <1450887310389-55083.post@...3046...> Message-ID: <1450952440473-55095.post@...3046...> I can't see how you are supposed to tell if you are typing on a keyboard or using a barcode reader as they are both USB devices setup to look like a keyboard. It's probably possible but you'll need somebody who can write code to read USB ports and understands how they work - That's not me! OK let's try another tack. The barcode reader can fire in text at quite a rate so here is some code that does not rely on any special characters. It uses the fact that if there is no new character added to the TextBox in 1/16th of a second then the barcode is read. BarcodeReader.tar -- View this message in context: http://gambas.8142.n7.nabble.com/usb-codebar-reader-how-to-handle-events-tp55079p55095.html Sent from the gambas-user mailing list archive at Nabble.com. From bugtracker at ...3416... Thu Dec 24 16:13:24 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 24 Dec 2015 15:13:24 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #879: completion, on documentation got a extra AS Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.879&from=L21haW4- Charlie REINL reported a new bug. Summary ------- completion, on documentation got a extra AS Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Development Environment Description ----------- as said in summary, code completion, on documentation got a extra AS System information ------------------ [System] Gambas=3.8.90 r7533 OperatingSystem=Linux Kernel=3.2.0-97-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=GNOME Theme=Plastique 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+2=libgtk-x11-2.0.so.0.2400.10 GTK+3=libgtk-3.so.0.400.2 Poppler=libpoppler.so.19.0.0 QT4=libQtCore.so.4.8.1 SDL=libSDL-1.2.so.0.11.3 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-HUyY7Iap3n,guid=0128a0587cabb70359384e520000003b DEFAULTS_PATH=/usr/share/gconf/gnome-shell.default.path DESKTOP_SESSION=gnome-shell DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=gnome-shell GDM_LANG=de_DE.UTF-8 GIO_LAUNCHED_DESKTOP_FILE=/.local/share/applications/Gambas III.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=4643 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL=/tmp/keyring-XSkXpc GNOME_KEYRING_PID=3199 GPG_AGENT_INFO=/tmp/keyring-XSkXpc/gpg:0:1 GTK_MODULES=canberra-gtk-module HOME= LANG=de_DE.UTF-8 LANGUAGE=de_DE:en LC_MESSAGES=de_DE.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/gnome-shell.mandatory.path PATH=/usr/local/bin:/usr/bin:/bin:/usr/games PWD= QT_ACCESSIBILITY=1 QT_NO_GLIB=1 SESSION_MANAGER=local/:@/tmp/.ICE-unix/3216,unix/:/tmp/.ICE-unix/3216 SHELL=/bin/bash SPEECHD_PORT=7560 SSH_AGENT_PID=3366 SSH_AUTH_SOCK=/tmp/keyring-XSkXpc/ssh TZ=:/etc/localtime UBUNTU_MENUPROXY=libappmenu.so USER= USERNAME= WINDOWPATH=7 XAUTHORITY=/var/run/gdm/auth-for--saeOc4/database XDG_CONFIG_DIRS=/etc/xdg/xdg-gnome-shell:/etc/xdg XDG_CURRENT_DESKTOP=GNOME XDG_DATA_DIRS=/usr/share/gnome-shell:/usr/share/gnome:/usr/local/share/:/usr/share/ XDG_SESSION_COOKIE=42f49d43f50733c401e4460348762a43-1450958612.964330-1108980949 From bugtracker at ...3416... Thu Dec 24 16:13:46 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 24 Dec 2015 15:13:46 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #879: completion, on documentation got a extra AS In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.879&from=L21haW4- Charlie REINL added an attachment: pic01-Help.png From bugtracker at ...3416... Thu Dec 24 16:13:58 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 24 Dec 2015 15:13:58 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #879: completion, on documentation got a extra AS In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.879&from=L21haW4- Charlie REINL added an attachment: pic002-Function.png From adamnt42 at ...626... Fri Dec 25 03:19:54 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Fri, 25 Dec 2015 12:49:54 +1030 Subject: [Gambas-user] small date problem Message-ID: <20151225124954.a72f7d823184095adf46c369@...626...> If Date(Now) = Date(2015,12,25) Then Print "May your day be joyous,\nMay your evening be serene,\May you and your family have peace, company and health." EndIf b -- B Bruen From Karl.Reinl at ...2345... Fri Dec 25 11:03:05 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Fri, 25 Dec 2015 11:03:05 +0100 Subject: [Gambas-user] small date problem In-Reply-To: <20151225124954.a72f7d823184095adf46c369@...626...> References: <20151225124954.a72f7d823184095adf46c369@...626...> Message-ID: <1451037785.3761.2.camel@...40...> Am Freitag, den 25.12.2015, 12:49 +1030 schrieb adamnt42 at ...626...: > If Date(Now) = Date(2015,12,25) Then > Print "May your day be joyous,\nMay your evening be serene,\May you and your family have peace, company and health." > EndIf > > b Salut, send you the extra ->n<- you need to finish your greetings. Have nice holidays -- Amicalement Charlie From charlie at ...2793... Fri Dec 25 17:30:55 2015 From: charlie at ...2793... (Charlie) Date: Fri, 25 Dec 2015 09:30:55 -0700 (MST) Subject: [Gambas-user] small date problem In-Reply-To: <1451037785.3761.2.camel@...40...> References: <20151225124954.a72f7d823184095adf46c369@...626...> <1451037785.3761.2.camel@...40...> Message-ID: <1451061055203-55101.post@...3046...> Public Sub form_Open() Dim siNum As Short[] = [72, 97, 112, 112, 121, 32, 67, 104, 114, 105, 115, 116, 109, 97, 115, 32, 116, 111, 32, 121, 111, 117, 32, 97, 115, 32, 119, 101, 108, 108] Dim siCount As Short For Each siCount In siNum Print Chr(siCount); Next End -- View this message in context: http://gambas.8142.n7.nabble.com/small-date-problem-tp55099p55101.html Sent from the gambas-user mailing list archive at Nabble.com. From bugtracker at ...3416... Fri Dec 25 23:44:06 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 25 Dec 2015 22:44:06 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #880: gambas-gb-pdf will not install Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.880&from=L21haW4- John FORTEY reported a new bug. Summary ------- gambas-gb-pdf will not install Type : Bug Priority : High Gambas version : 3.8 Product : Development Environment Description ----------- Gambas 3.8.4 running under Kubuntu 14.04 LTS. I cannot get gambas-gb-pdf to install; it requires libpoppler19, which seems to have been obsoleted. System information ------------------ [System] Gambas=3.8.4 OperatingSystem=Linux Kernel=3.13.0-74-generic Architecture=x86_64 Distribution=Ubuntu 14.04.3 LTS Desktop=KDE4 Theme=Oxygen Language=en_GB.UTF-8 Memory=7900M [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+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.3.0 SDL=libSDL-1.2.so.0.11.4 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-IXO2zt0HxM DEFAULTS_PATH=/usr/share/gconf/kde-plasma.default.path DESKTOP_SESSION=kde-plasma DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=kde-plasma GDM_LANG=en_GB GNOME_KEYRING_CONTROL=/run/user/1000/keyring-0m2HNX GNOME_KEYRING_PID=1642 GPG_AGENT_INFO=/tmp/gpg-NNecIT/S.gpg-agent:1842:1 GS_LIB=/.fonts GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/.gtkrc-2.0:/.kde/share/config/gtkrc-2.0 GTK_RC_FILES=/etc/gtk/gtkrc:/.gtkrc:/.kde/share/config/gtkrc HOME= IM_CONFIG_PHASE=1 INSTANCE= JOB=dbus KDE_FULL_SESSION=true KDE_MULTIHEAD=false KDE_SESSION_UID=1000 KDE_SESSION_VERSION=4 LANG=en_GB.UTF-8 LANGUAGE=en_GB:en LOGNAME= MANDATORY_PATH=/usr/share/gconf/kde-plasma.mandatory.path PAM_KWALLET_LOGIN=/tmp//.socket PATH=/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT_NO_GLIB=1 QT_PLUGIN_PATH=/.kde/lib/kde4/plugins/:/usr/lib/kde4/plugins/ SELINUX_INIT=YES SESSION=kde-plasma SESSIONTYPE= SESSION_MANAGER=local/:@/tmp/.ICE-unix/1998,unix/:/tmp/.ICE-unix/1998 SHELL=/bin/bash SHLVL=0 SSH_AUTH_SOCK=/run/user/1000/keyring-0m2HNX/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime UPSTART_EVENTS=started xsession UPSTART_INSTANCE= UPSTART_JOB=startkde UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1645 USER= XAUTHORITY=/tmp/kde-/xauth-1000-_0 XCURSOR_THEME=oxy-white XDG_CONFIG_DIRS=/etc/xdg/xdg-kde-plasma:/usr/share/upstart/xdg:/etc/xdg XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/usr/share:/usr/share/kde-plasma:/usr/local/share/:/usr/share/ XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_VTNR=7 From dave at ...3569... Sun Dec 27 23:51:19 2015 From: dave at ...3569... (David Cole) Date: Sun, 27 Dec 2015 14:51:19 -0800 Subject: [Gambas-user] Hi all Message-ID: <1451256679.10849.62.camel@...3570...> Hello, New to list, and thought I'd say hi, so-- 'Hi". Just found GAMBAS, what a cool piece of software! Now to learn about it! -- Thanks and 73's, For equipment, and software setups and reviews see: www.nk7z.net For MixW support see; http://groups.yahoo.com/neo/groups/mixw/info For Dopplergram information see: http://groups.yahoo.com/neo/groups/dopplergram/info For MM-SSTV see: http://groups.yahoo.com/neo/groups/MM-SSTV/info From mckaygerhard at ...626... Mon Dec 28 20:05:57 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Mon, 28 Dec 2015 14:35:57 -0430 Subject: [Gambas-user] usb codebar reader how to handle events!? In-Reply-To: <1450952440473-55095.post@...3046...> References: <567AC8B8.4000503@...11...> <1450887310389-55083.post@...3046...> <1450952440473-55095.post@...3046...> Message-ID: good trick! the barcode have a delay when tiping.. if this delay are lower thatn so then comes from keyboard! (sound easy, but i think will be dificult sure) i opened the proyect later due right now i'm not at home or job.. and then post feedback 2015-12-24 5:50 GMT-04:30, Charlie : > OK let's try another tack. The barcode reader can fire in text at quite a > rate so here is some code that does not rely on any special characters. > It uses the fact that if there is no new character added to the TextBox in > 1/16th of a second then the barcode is read. > BarcodeReader.tar > -- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From mckaygerhard at ...626... Mon Dec 28 20:09:55 2015 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Mon, 28 Dec 2015 14:39:55 -0430 Subject: [Gambas-user] =?utf-8?q?non_printable_char_=22=E2=B1=B5=22_how_to?= =?utf-8?q?_remove_from_string!!!!!?= In-Reply-To: References: <1450889172545-55084.post@...3046...> Message-ID: i send you this file with various output, but the special char are not printable, only "gtk critical" warning are out! the out only are in the console of the gambas, later will' run the proyect and send a complete out attached are the file and send a CC to you fabien! 2015-12-23 18:35 GMT-04:30, Fabien Bodard : > Can you write the output to a file and send it to me ? > > and Ru Vuott thanks for suggestion i'll try later -------------- next part -------------- A non-text attachment was scrubbed... Name: salidas Type: application/octet-stream Size: 394 bytes Desc: not available URL: From vuott at ...325... Tue Dec 29 00:56:10 2015 From: vuott at ...325... (Ru Vuott) Date: Mon, 28 Dec 2015 23:56:10 +0000 (UTC) Subject: [Gambas-user] =?utf-8?q?non_printable_char_=22=E2=B1=B5=22_how_to?= =?utf-8?q?_remove_from_string!!!!!?= References: <294479880.6835232.1451346970226.JavaMail.yahoo.ref@...3424...> Message-ID: <294479880.6835232.1451346970226.JavaMail.yahoo@...3424...> > and Ru Vuott? thanks for suggestion i'll try later If the string has 2 or more no-printable characters, you have to modify my code, so: Public Sub Main() Dim s As String = "ab" & Chr(180) & "cd ef" & Chr(185) & "g" & Chr(195) & "hil" & Chr(179) & " mnop" Dim bb As Byte[] Dim b As Byte Dim i As Integer Print s With bb = Byte[].FromString(s) i = .Count End With While b < i If Not IsAscii(Chr(bb[b])) Then bb.Remove(b) Dec i Endif Inc b Wend s = bb.ToString(0, bb.count) Print s End **************************************************** Saludosss ;-) From rsboykin at ...2755... Tue Dec 29 03:55:41 2015 From: rsboykin at ...2755... (Robert Boykin) Date: Tue, 29 Dec 2015 02:55:41 +0000 (UTC) Subject: [Gambas-user] POSSIBLE! bug in while loop References: <73509505.721635.1451357741804.JavaMail.yahoo.ref@...3424...> Message-ID: <73509505.721635.1451357741804.JavaMail.yahoo@...3424...> Test Program code is: ' Gambas class file ' Static Private iexit As Integer = 0 Public Sub _new() End Public Sub Form_Open() GlobalVar.iexit = 0 End Public Sub GObtn_Click() Dim n As Integer n = 0 While n < 100000 Print n n = n + 1 If GlobalVar.iexit > 0 Then Break Wend End Public Sub exitBtn_Click() GlobalVar.iexit = 10 End This is gambas3 on linux mint 17.3 using gb.qt4 running on a generic desktop PC The simple form has two buttons, one to start a while loop that prints numbers to the console, and one to set a global variable to a value which should cause a break in the while loop. The global variable is defined in the class GlobalVar ' Gambas class file Static Public iexit As Integer = 0 The program begins printing numbers upon clicking the Gobtn but will not stop printing when the exitBtn is cliked. It appears that the exitBtn _Click() event is not recognized during execution of the while loop. I am just learning gambas on my own using what examples and tutorials I can find on the internet and believe I may have left something out. Robert S. Boykin From adamnt42 at ...626... Tue Dec 29 05:33:14 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Tue, 29 Dec 2015 15:03:14 +1030 Subject: [Gambas-user] POSSIBLE! bug in while loop In-Reply-To: <73509505.721635.1451357741804.JavaMail.yahoo@...3424...> References: <73509505.721635.1451357741804.JavaMail.yahoo.ref@...3424...> <73509505.721635.1451357741804.JavaMail.yahoo@...3424...> Message-ID: <20151229150314.56299e3abd886a3c6bf93f3a@...626...> Add a Wait instruction after n=n+1 to invoke the Event Loop. (Research the help on this) Also see Inc. hth b On Tue, 29 Dec 2015 02:55:41 +0000 (UTC) Robert Boykin wrote: > Test Program code is: > ' Gambas class file > > ' Static Private iexit As Integer = 0 > Public Sub _new() > End > > Public Sub Form_Open() > GlobalVar.iexit = 0 > End > > Public Sub GObtn_Click() > Dim n As Integer > n = 0 > While n < 100000 > Print n > n = n + 1 > If GlobalVar.iexit > 0 Then Break > Wend > End > Public Sub exitBtn_Click() > GlobalVar.iexit = 10 > End > > This is gambas3 on linux mint 17.3 using gb.qt4 > running on a generic desktop PC > > The simple form has two buttons, > one to start a while loop > that prints numbers to the console, and > one to set a global variable to a value which > should cause a break in the while loop. > > The global variable is defined in the class GlobalVar > ' Gambas class file > > Static Public iexit As Integer = 0 > > The program begins printing numbers upon clicking the Gobtn > but will not stop printing when the exitBtn is cliked. > > It appears that the exitBtn _Click() event is not recognized > during execution of the while loop. > > I am just learning gambas on my own using > what examples and tutorials I can find on the internet > and believe I may have left something out. > > Robert S. Boykin > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- B Bruen From gambas.fr at ...626... Tue Dec 29 10:27:35 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 29 Dec 2015 10:27:35 +0100 Subject: [Gambas-user] =?utf-8?q?non_printable_char_=22=E2=B1=B5=22_how_to?= =?utf-8?q?_remove_from_string!!!!!?= In-Reply-To: <294479880.6835232.1451346970226.JavaMail.yahoo@...3424...> References: <294479880.6835232.1451346970226.JavaMail.yahoo.ref@...3424...> <294479880.6835232.1451346970226.JavaMail.yahoo@...3424...> Message-ID: Ru .. Characters > to 127 are printable... But terminals sometime replace non printable chars by those one 2015-12-29 0:56 GMT+01:00 Ru Vuott : > >> and Ru Vuott thanks for suggestion i'll try later > > > If the string has 2 or more no-printable characters, you have to modify my code, so: > > Public Sub Main() > > Dim s As String = "ab" & Chr(180) & "cd ef" & Chr(185) & "g" & Chr(195) & "hil" & Chr(179) & " mnop" > Dim bb As Byte[] > Dim b As Byte > Dim i As Integer > > Print s > > With bb = Byte[].FromString(s) > i = .Count > End With > > While b < i > If Not IsAscii(Chr(bb[b])) Then > bb.Remove(b) > Dec i > Endif > Inc b > Wend > > s = bb.ToString(0, bb.count) > > Print s > > End > **************************************************** > > Saludosss ;-) > > ------------------------------------------------------------------------------ > _______________________________________________ > 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 Dec 29 10:36:02 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 29 Dec 2015 10:36:02 +0100 Subject: [Gambas-user] POSSIBLE! bug in while loop In-Reply-To: <20151229150314.56299e3abd886a3c6bf93f3a@...626...> References: <73509505.721635.1451357741804.JavaMail.yahoo.ref@...3424...> <73509505.721635.1451357741804.JavaMail.yahoo@...3424...> <20151229150314.56299e3abd886a3c6bf93f3a@...626...> Message-ID: Private hTimer as timer as "LoopTimer" Private bHalt as Boolean Private iCount as integer Public Sub LoopTimer_Timer() if bHalt or if iCount>=100000 then bHalt = False iCount = 0 Return endif inc ICount Print iCount hTimer.Trigger End Public Sub btnGo_Click() hTimer.Trigger End Public Sub btnStop_Click() bHalt = True End Async Version that use purely the Gambas Event loop 2015-12-29 5:33 GMT+01:00 adamnt42 at ...626... : > Add a Wait instruction after n=n+1 to invoke the Event Loop. (Research the help on this) > Also see Inc. > > hth > b > On Tue, 29 Dec 2015 02:55:41 +0000 (UTC) > Robert Boykin wrote: > >> Test Program code is: >> ' Gambas class file >> >> ' Static Private iexit As Integer = 0 >> Public Sub _new() >> End >> >> Public Sub Form_Open() >> GlobalVar.iexit = 0 >> End >> >> Public Sub GObtn_Click() >> Dim n As Integer >> n = 0 >> While n < 100000 >> Print n >> n = n + 1 >> If GlobalVar.iexit > 0 Then Break >> Wend >> End >> Public Sub exitBtn_Click() >> GlobalVar.iexit = 10 >> End >> >> This is gambas3 on linux mint 17.3 using gb.qt4 >> running on a generic desktop PC >> >> The simple form has two buttons, >> one to start a while loop >> that prints numbers to the console, and >> one to set a global variable to a value which >> should cause a break in the while loop. >> >> The global variable is defined in the class GlobalVar >> ' Gambas class file >> >> Static Public iexit As Integer = 0 >> >> The program begins printing numbers upon clicking the Gobtn >> but will not stop printing when the exitBtn is cliked. >> >> It appears that the exitBtn _Click() event is not recognized >> during execution of the while loop. >> >> I am just learning gambas on my own using >> what examples and tutorials I can find on the internet >> and believe I may have left something out. >> >> Robert S. Boykin >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > -- > B Bruen > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From bugtracker at ...3416... Tue Dec 29 11:57:35 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 29 Dec 2015 10:57:35 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #881: When the ComboBox is initialized with the list property, setting the index to 0 not work. Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.881&from=L21haW4- Fabien BODARD reported a new bug. Summary ------- When the ComboBox is initialized with the list property, setting the index to 0 not work. Type : Bug Priority : Medium Gambas version : Unknown Product : QT4 component Description ----------- All is in the description. If I set the index to something up to 0, it work. All go well with gtk for this time. From sbungay at ...3301... Tue Dec 29 14:37:14 2015 From: sbungay at ...3301... (Stephen) Date: Tue, 29 Dec 2015 08:37:14 -0500 Subject: [Gambas-user] POSSIBLE! bug in while loop In-Reply-To: <73509505.721635.1451357741804.JavaMail.yahoo@...3424...> References: <73509505.721635.1451357741804.JavaMail.yahoo.ref@...3424...> <73509505.721635.1451357741804.JavaMail.yahoo@...3424...> Message-ID: <56828C8A.7060508@...3301...> Reading this, in addition to seeing the need for a "Wait", I thought the following; Does putting the desired global variable in a class mean the class needs to be instantiated within the scope of the code example given? i.e. PUBLIC GlobalVar as globalVars ' Change the name of the class to keep the var name within the example unchanged. within the code of the form which contains the GObtn and exitBtn objects? The above would make GlobalVars.iexit visible to all classes outside of the scope of where it was instantiated, so all forms in the project could then see it. However this can be avoided if the variable "iexit" is declared in a "module" as opposed to a "class". Doing this it instantly becomes global within the scope of the project, requiring only the addition of the "Wait" to process the exitBtn_Click() event and exit the loop. The change to the code is minimal; ' Gambas class file ' Static Private iexit As Integer = 0 Public Sub _new() End Public Sub Form_Open() GlobalVars.iexit = 0 End Public Sub GObtn_Click() Dim n As Integer n = 0 While n < 100000 Print n n = n + 1 Wait ' This is new If GlobalVars.iexit > 0 Then Break Wend End Public Sub exitBtn_Click() GlobalVars.iexit = 10 End This works, tested under GAMBAS 3 on Fedora 14. On 12/28/2015 09:55 PM, Robert Boykin wrote: > Test Program code is: > ' Gambas class file > > ' Static Private iexit As Integer = 0 > Public Sub _new() > End > > Public Sub Form_Open() > GlobalVar.iexit = 0 > End > > Public Sub GObtn_Click() > Dim n As Integer > n = 0 > While n< 100000 > Print n > n = n + 1 > If GlobalVar.iexit> 0 Then Break > Wend > End > Public Sub exitBtn_Click() > GlobalVar.iexit = 10 > End > > This is gambas3 on linux mint 17.3 using gb.qt4 > running on a generic desktop PC > > The simple form has two buttons, > one to start a while loop > that prints numbers to the console, and > one to set a global variable to a value which > should cause a break in the while loop. > > The global variable is defined in the class GlobalVar > ' Gambas class file > > Static Public iexit As Integer = 0 > > The program begins printing numbers upon clicking the Gobtn > but will not stop printing when the exitBtn is cliked. > > It appears that the exitBtn _Click() event is not recognized > during execution of the while loop. > > I am just learning gambas on my own using > what examples and tutorials I can find on the internet > and believe I may have left something out. > > Robert S. Boykin > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site Information Systems From vuott at ...325... Tue Dec 29 15:53:06 2015 From: vuott at ...325... (Ru Vuott) Date: Tue, 29 Dec 2015 14:53:06 +0000 (UTC) Subject: [Gambas-user] =?utf-8?q?non_printable_char_=22=E2=B1=B5=22_how_to?= =?utf-8?q?_remove_from_string!!!!!?= References: <1123045648.7112215.1451400786758.JavaMail.yahoo.ref@...3424...> Message-ID: <1123045648.7112215.1451400786758.JavaMail.yahoo@...3424...> Tchao Fabien, > Ru ..? Characters > to 127 are printable... uhmmm... excuse me, but I do not understand. If I test the "printability" :-) of "characters > to 127" by using C "isprint()" function (that checks whether the passed character is printable), I obtain only zero results. Where: "isprint()" function returns a non-zero value (true) if character is printable, else zero (false) if character is NOT printable. ***************************************************** #include int main() { int i, c; for (i=128; i <= 255; ++i) { c = isprint(i); printf("%d %d\n", i, c); } return (0); } ***************************************************** So, it seems resulting that "characters > to 127" are NOT printable characters. Ciao From charlie at ...2793... Tue Dec 29 15:18:36 2015 From: charlie at ...2793... (Charlie) Date: Tue, 29 Dec 2015 07:18:36 -0700 (MST) Subject: [Gambas-user] SimpleEval Message-ID: <1451398716924-55114.post@...3046...> Hi Fabian, I presume that you wrote the code in SimpleEval. I can't work out how to use it. I thought it might work with my gbCalculator (see Gmabas Farm). There are quite a few compile warning errors. *The main thing is some examples on how to use it please.* Thanks. -- View this message in context: http://gambas.8142.n7.nabble.com/SimpleEval-tp55114.html Sent from the gambas-user mailing list archive at Nabble.com. From d4t4full at ...626... Tue Dec 29 16:35:43 2015 From: d4t4full at ...626... (ML) Date: Tue, 29 Dec 2015 12:35:43 -0300 Subject: [Gambas-user] =?utf-8?q?non_printable_char_=22=E2=B1=B5=22_how_to?= =?utf-8?q?_remove_from_string!!!!!?= In-Reply-To: <1123045648.7112215.1451400786758.JavaMail.yahoo@...3424...> References: <1123045648.7112215.1451400786758.JavaMail.yahoo.ref@...3424...> <1123045648.7112215.1451400786758.JavaMail.yahoo@...3424...> Message-ID: <5682A84F.1080800@...626...> All, I might be utterly wrong, but since Linux normally uses UTF-8, any high-bit-set char may be interpreted as one of the "multibyte char" flags. If isprint() takes this into account, then it's dead right that char by itself is not printable! Hope that helps and makes sense... On 2015-12-29 11:53, Ru Vuott wrote: > Tchao Fabien, > Ru .. Characters > to 127 are printable... > uhmmm... excuse me, but I do not understand. > If I test the "printability" :-) of "characters > to 127" by using C "isprint()" function (that checks whether the passed character is printable), I obtain only zero results. > Where: "isprint()" function returns a non-zero value (true) if character is printable, else zero (false) if character is NOT printable. > > ***************************************************** > #include > int main() { > int i, c; > for (i=128; i <= 255; ++i) { > c = isprint(i); > printf("%d %d\n", i, c); > } > return (0); > } > ***************************************************** > So, it seems resulting that "characters > to 127" are NOT printable characters. > Ciao From gambas.fr at ...626... Tue Dec 29 16:39:28 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 29 Dec 2015 16:39:28 +0100 Subject: [Gambas-user] =?utf-8?q?non_printable_char_=22=E2=B1=B5=22_how_to?= =?utf-8?q?_remove_from_string!!!!!?= In-Reply-To: <5682A84F.1080800@...626...> References: <1123045648.7112215.1451400786758.JavaMail.yahoo.ref@...3424...> <1123045648.7112215.1451400786758.JavaMail.yahoo@...3424...> <5682A84F.1080800@...626...> Message-ID: But is print just take into account the old asci table 2015-12-29 16:35 GMT+01:00 ML : > All, > > I might be utterly wrong, but since Linux normally uses UTF-8, any > high-bit-set char may be interpreted as one of the "multibyte char" flags. > If isprint() takes this into account, then it's dead right that char by > itself is not printable! > > Hope that helps and makes sense... > > On 2015-12-29 11:53, Ru Vuott wrote: >> Tchao Fabien, >> Ru .. Characters > to 127 are printable... >> uhmmm... excuse me, but I do not understand. >> If I test the "printability" :-) of "characters > to 127" by using C "isprint()" function (that checks whether the passed character is printable), I obtain only zero results. >> Where: "isprint()" function returns a non-zero value (true) if character is printable, else zero (false) if character is NOT printable. >> >> ***************************************************** >> #include >> int main() { >> int i, c; >> for (i=128; i <= 255; ++i) { >> c = isprint(i); >> printf("%d %d\n", i, c); >> } >> return (0); >> } >> ***************************************************** >> So, it seems resulting that "characters > to 127" are NOT printable characters. >> Ciao > > ------------------------------------------------------------------------------ > _______________________________________________ > 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 Dec 29 16:54:29 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 29 Dec 2015 16:54:29 +0100 Subject: [Gambas-user] =?utf-8?q?non_printable_char_=22=E2=B1=B5=22_how_to?= =?utf-8?q?_remove_from_string!!!!!?= In-Reply-To: References: <1123045648.7112215.1451400786758.JavaMail.yahoo.ref@...3424...> <1123045648.7112215.1451400786758.JavaMail.yahoo@...3424...> <5682A84F.1080800@...626...> Message-ID: To resume ... in the old past of ascii all standart printer or monitor can manage ascii and print 32 to 127 chars. So Ansi C provide a standart function named IsPrint that allow to say if a char was able to be printed. IN 2015... Ascii is known in it's 8 bit format so printable chars are from 32 to 255. Characters lower than 32 are for monitor, modem and printer management. Thanks to my terminal studie i'm now able to understand all of that :-). It's really interresting to study the past ... 2015-12-29 16:39 GMT+01:00 Fabien Bodard : > But is print just take into account the old asci table > > > 2015-12-29 16:35 GMT+01:00 ML : >> All, >> >> I might be utterly wrong, but since Linux normally uses UTF-8, any >> high-bit-set char may be interpreted as one of the "multibyte char" flags. >> If isprint() takes this into account, then it's dead right that char by >> itself is not printable! >> >> Hope that helps and makes sense... >> >> On 2015-12-29 11:53, Ru Vuott wrote: >>> Tchao Fabien, >>> Ru .. Characters > to 127 are printable... >>> uhmmm... excuse me, but I do not understand. >>> If I test the "printability" :-) of "characters > to 127" by using C "isprint()" function (that checks whether the passed character is printable), I obtain only zero results. >>> Where: "isprint()" function returns a non-zero value (true) if character is printable, else zero (false) if character is NOT printable. >>> >>> ***************************************************** >>> #include >>> int main() { >>> int i, c; >>> for (i=128; i <= 255; ++i) { >>> c = isprint(i); >>> printf("%d %d\n", i, c); >>> } >>> return (0); >>> } >>> ***************************************************** >>> So, it seems resulting that "characters > to 127" are NOT printable characters. >>> Ciao >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard -- Fabien Bodard From taboege at ...626... Tue Dec 29 18:14:14 2015 From: taboege at ...626... (Tobias Boege) Date: Tue, 29 Dec 2015 18:14:14 +0100 Subject: [Gambas-user] Global variables (was: POSSIBLE! bug in while loop) In-Reply-To: <56828C8A.7060508@...3301...> References: <73509505.721635.1451357741804.JavaMail.yahoo.ref@...3424...> <73509505.721635.1451357741804.JavaMail.yahoo@...3424...> <56828C8A.7060508@...3301...> Message-ID: <20151229171414.GA6720@...2774...> On Tue, 29 Dec 2015, Stephen wrote: > Reading this, in addition to seeing the need for a "Wait", I thought the > following; > > Does putting the desired global variable in a class mean the class > needs to be instantiated within the scope of the code example given? i.e. > Strictly speaking, yes. > PUBLIC GlobalVar as globalVars ' Change the name of the class to keep > the var name within the example unchanged. > > within the code of the form which contains the GObtn and exitBtn objects? > > The above would make GlobalVars.iexit visible to all classes outside of > the scope of where it was instantiated, so all forms in the project > could then see it. > Not really. If Form1 is the form where the Public declaration above is made, then another class would have to use Form1.GlobalVar.iexit to access the iexit variable. It cannot directly *see* the GlobalVar object. > However this can be avoided if the variable "iexit" is declared in a > "module" as opposed to a "class". Doing this it instantly becomes global > within the scope of the project, requiring only the addition of the > "Wait" to process the exitBtn_Click() event and exit the loop. > I take it that your question is "why?". You can think of a module as a class which has an implicit Create Static statement in its header and where every symbol is implicitly Static. [ Note that you *can* instantiate a module using New, i.e. it is not implicitly Create Private, but you cannot do anything with an instance of a module because every symbol is static (accessing any symbol from the instance throws a ". is static" error). ] Read about the Create Static statement here[0]. To explain my first comment above: You need to have an object of your global variables class available to use those variables. But employing Create Static you can basically make a class name (and class names are project-global) refer to an object (the automatic instance of that class). The result is that you have a globally accessible object. Regards, Tobi [0] http://gambaswiki.org/wiki/lang/createstatic -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From sbungay at ...3301... Tue Dec 29 21:03:25 2015 From: sbungay at ...3301... (Stephen) Date: Tue, 29 Dec 2015 15:03:25 -0500 Subject: [Gambas-user] Global variables In-Reply-To: <20151229171414.GA6720@...2774...> References: <73509505.721635.1451357741804.JavaMail.yahoo.ref@...3424...> <73509505.721635.1451357741804.JavaMail.yahoo@...3424...> <56828C8A.7060508@...3301...> <20151229171414.GA6720@...2774...> Message-ID: <5682E70D.60600@...3301...> On 12/29/2015 12:14 PM, Tobias Boege wrote: > On Tue, 29 Dec 2015, Stephen wrote: >> Reading this, in addition to seeing the need for a "Wait", I thought the >> following; >> >> Does putting the desired global variable in a class mean the class >> needs to be instantiated within the scope of the code example given? i.e. >> > Strictly speaking, yes. > >> PUBLIC GlobalVar as globalVars ' Change the name of the class to keep >> the var name within the example unchanged. >> >> within the code of the form which contains the GObtn and exitBtn objects? >> >> The above would make GlobalVars.iexit visible to all classes outside of >> the scope of where it was instantiated, so all forms in the project >> could then see it. >> > Not really. If Form1 is the form where the Public declaration above is made, > then another class would have to use Form1.GlobalVar.iexit to access the > iexit variable. It cannot directly *see* the GlobalVar object. Yes, of course. >> However this can be avoided if the variable "iexit" is declared in a >> "module" as opposed to a "class". Doing this it instantly becomes global >> within the scope of the project, requiring only the addition of the >> "Wait" to process the exitBtn_Click() event and exit the loop. >> > I take it that your question is "why?". No, not at all. It was just a statement of fact, another way of doing it. > You can think of a module as a class > which has an implicit > > Create Static > > statement in its header and where every symbol is implicitly Static. [ Note > that you *can* instantiate a module using New, i.e. it is not implicitly > Create Private, but you cannot do anything with an instance of a module > because every symbol is static (accessing any symbol from the instance > throws a ". is static" error). ] > Yes, exactly. > Read about the Create Static statement here[0]. To explain my first comment > above: You need to have an object of your global variables class available > to use those variables. But employing Create Static you can basically make a > class name (and class names are project-global) refer to an object (the > automatic instance of that class). The result is that you have a globally > accessible object. Yes. Is that not equivalent to using a module, albeit perhaps with more control. > Regards, > Tobi > > [0] http://gambaswiki.org/wiki/lang/createstatic > -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site Information Systems From sbungay at ...3301... Tue Dec 29 21:07:53 2015 From: sbungay at ...3301... (Stephen) Date: Tue, 29 Dec 2015 15:07:53 -0500 Subject: [Gambas-user] =?utf-8?q?non_printable_char_=22=E2=B1=B5=22_how_to?= =?utf-8?q?_remove_from_string!!!!!?= In-Reply-To: References: <1123045648.7112215.1451400786758.JavaMail.yahoo.ref@...3424...> <1123045648.7112215.1451400786758.JavaMail.yahoo@...3424...> <5682A84F.1080800@...626...> Message-ID: <5682E819.3020207@...3301...> On 12/29/2015 10:54 AM, Fabien Bodard wrote: > To resume ... in the old past of ascii all standart printer or monitor > can manage ascii and print 32 to 127 chars. So Ansi C provide a > standart function named IsPrint that allow to say if a char was able > to be printed. > > IN 2015... Ascii is known in it's 8 bit format so printable chars are > from 32 to 255. > > Characters lower than 32 are for monitor, modem and printer management. > > Thanks to my terminal studie i'm now able to understand all of that :-). > > It's really interresting to study the past ... > It's more interesting to have LIVED it and now be working with UTF-8. ASCII was SOOO simple, but also SOOOO restrictive. > 2015-12-29 16:39 GMT+01:00 Fabien Bodard: >> But is print just take into account the old asci table >> >> >> 2015-12-29 16:35 GMT+01:00 ML: >>> All, >>> >>> I might be utterly wrong, but since Linux normally uses UTF-8, any >>> high-bit-set char may be interpreted as one of the "multibyte char" flags. >>> If isprint() takes this into account, then it's dead right that char by >>> itself is not printable! >>> >>> Hope that helps and makes sense... >>> >>> On 2015-12-29 11:53, Ru Vuott wrote: >>>> Tchao Fabien, >>>> Ru .. Characters> to 127 are printable... >>>> uhmmm... excuse me, but I do not understand. >>>> If I test the "printability" :-) of "characters> to 127" by using C "isprint()" function (that checks whether the passed character is printable), I obtain only zero results. >>>> Where: "isprint()" function returns a non-zero value (true) if character is printable, else zero (false) if character is NOT printable. >>>> >>>> ***************************************************** >>>> #include >>>> int main() { >>>> int i, c; >>>> for (i=128; i<= 255; ++i) { >>>> c = isprint(i); >>>> printf("%d %d\n", i, c); >>>> } >>>> return (0); >>>> } >>>> ***************************************************** >>>> So, it seems resulting that "characters> to 127" are NOT printable characters. >>>> Ciao >>> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> -- >> Fabien Bodard > > -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site Information Systems From tercoide at ...67... Tue Dec 29 23:48:02 2015 From: tercoide at ...67... (tercoide) Date: Tue, 29 Dec 2015 19:48:02 -0300 Subject: [Gambas-user] C component declaration Message-ID: How to declare arrays when making a component, ie : C declaration in library void glVertexPointer(GLint size, GLenum type, GLsize stride, const GLvoid*array) C gb component GB_STATIC_METHOD( ......?? DECLARE_METHOD(.....? Ing. Mart?n P. Cristi? -------- Mensaje original -------- De: gambas-user-request at lists.sourceforge.net Fecha:29/12/2015 14:15 (GMT-03:00) A: gambas-user at lists.sourceforge.net Asunto: Gambas-user Digest, Vol 115, Issue 66 Send Gambas-user mailing list submissions to gambas-user at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gambas-user or, via email, send a message with subject or body 'help' to gambas-user-request at lists.sourceforge.net You can reach the person managing the list at gambas-user-owner at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gambas-user digest..." Today's Topics: 1. Re: POSSIBLE! bug in while loop (Stephen) 2. Re: non printable char "?" how to remove from string!!!!! (Ru Vuott) 3. SimpleEval (Charlie) 4. Re: non printable char "?" how to remove from string!!!!! (ML) 5. Re: non printable char "?" how to remove from string!!!!! (Fabien Bodard) 6. Re: non printable char "?" how to remove from string!!!!! (Fabien Bodard) 7. Re: Global variables (was: POSSIBLE! bug in while loop) (Tobias Boege) ---------------------------------------------------------------------- Message: 1 Date: Tue, 29 Dec 2015 08:37:14 -0500 From: Stephen Subject: Re: [Gambas-user] POSSIBLE! bug in while loop To: Robert Boykin , mailing list for gambas users Message-ID: <56828C8A.7060508 at ...3301...> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Reading this, in addition to seeing the need for a "Wait", I thought the following; Does putting the desired global variable in a class mean the class needs to be instantiated within the scope of the code example given? i.e. PUBLIC GlobalVar as globalVars ' Change the name of the class to keep the var name within the example unchanged. within the code of the form which contains the GObtn and exitBtn objects? The above would make GlobalVars.iexit visible to all classes outside of the scope of where it was instantiated, so all forms in the project could then see it. However this can be avoided if the variable "iexit" is declared in a "module" as opposed to a "class". Doing this it instantly becomes global within the scope of the project, requiring only the addition of the "Wait" to process the exitBtn_Click() event and exit the loop. The change to the code is minimal; ' Gambas class file ' Static Private iexit As Integer = 0 Public Sub _new() End Public Sub Form_Open() GlobalVars.iexit = 0 End Public Sub GObtn_Click() Dim n As Integer n = 0 While n < 100000 Print n n = n + 1 Wait ' This is new If GlobalVars.iexit > 0 Then Break Wend End Public Sub exitBtn_Click() GlobalVars.iexit = 10 End This works, tested under GAMBAS 3 on Fedora 14. On 12/28/2015 09:55 PM, Robert Boykin wrote: > Test Program code is: > ' Gambas class file > > ' Static Private iexit As Integer = 0 > Public Sub _new() > End > > Public Sub Form_Open() > GlobalVar.iexit = 0 > End > > Public Sub GObtn_Click() > Dim n As Integer > n = 0 > While n< 100000 > Print n > n = n + 1 > If GlobalVar.iexit> 0 Then Break > Wend > End > Public Sub exitBtn_Click() > GlobalVar.iexit = 10 > End > > This is gambas3 on linux mint 17.3 using gb.qt4 > running on a generic desktop PC > > The simple form has two buttons, > one to start a while loop > that prints numbers to the console, and > one to set a global variable to a value which > should cause a break in the while loop. > > The global variable is defined in the class GlobalVar > ' Gambas class file > > Static Public iexit As Integer = 0 > > The program begins printing numbers upon clicking the Gobtn > but will not stop printing when the exitBtn is cliked. > > It appears that the exitBtn _Click() event is not recognized > during execution of the while loop. > > I am just learning gambas on my own using > what examples and tutorials I can find on the internet > and believe I may have left something out. > > Robert S. Boykin > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site Information Systems ------------------------------ Message: 2 Date: Tue, 29 Dec 2015 14:53:06 +0000 (UTC) From: Ru Vuott Subject: Re: [Gambas-user] non printable char "?" how to remove from string!!!!! To: mailing list for gambas users , Fabien Bodard Message-ID: <1123045648.7112215.1451400786758.JavaMail.yahoo at ...3424...> Content-Type: text/plain; charset=UTF-8 Tchao Fabien, > Ru ..? Characters > to 127 are printable... uhmmm... excuse me, but I do not understand. If I test the "printability" :-) of "characters > to 127" by using C "isprint()" function (that checks whether the passed character is printable), I obtain only zero results. Where: "isprint()" function returns a non-zero value (true) if character is printable, else zero (false) if character is NOT printable. ***************************************************** #include int main() { int i, c; for (i=128; i <= 255; ++i) { c = isprint(i); printf("%d %d\n", i, c); } return (0); } ***************************************************** So, it seems resulting that "characters > to 127" are NOT printable characters. Ciao ------------------------------ Message: 3 Date: Tue, 29 Dec 2015 07:18:36 -0700 (MST) From: Charlie Subject: [Gambas-user] SimpleEval To: gambas-user at lists.sourceforge.net Message-ID: <1451398716924-55114.post at ...3046...> Content-Type: text/plain; charset=us-ascii Hi Fabian, I presume that you wrote the code in SimpleEval. I can't work out how to use it. I thought it might work with my gbCalculator (see Gmabas Farm). There are quite a few compile warning errors. *The main thing is some examples on how to use it please.* Thanks. -- View this message in context: http://gambas.8142.n7.nabble.com/SimpleEval-tp55114.html Sent from the gambas-user mailing list archive at Nabble.com. ------------------------------ Message: 4 Date: Tue, 29 Dec 2015 12:35:43 -0300 From: ML Subject: Re: [Gambas-user] non printable char "?" how to remove from string!!!!! To: gambas-user at lists.sourceforge.net Message-ID: <5682A84F.1080800 at ...626...> Content-Type: text/plain; charset=utf-8 All, I might be utterly wrong, but since Linux normally uses UTF-8, any high-bit-set char may be interpreted as one of the "multibyte char" flags. If isprint() takes this into account, then it's dead right that char by itself is not printable! Hope that helps and makes sense... On 2015-12-29 11:53, Ru Vuott wrote: > Tchao Fabien, > Ru .. Characters > to 127 are printable... > uhmmm... excuse me, but I do not understand. > If I test the "printability" :-) of "characters > to 127" by using C "isprint()" function (that checks whether the passed character is printable), I obtain only zero results. > Where: "isprint()" function returns a non-zero value (true) if character is printable, else zero (false) if character is NOT printable. > > ***************************************************** > #include > int main() { > int i, c; > for (i=128; i <= 255; ++i) { > c = isprint(i); > printf("%d %d\n", i, c); > } > return (0); > } > ***************************************************** > So, it seems resulting that "characters > to 127" are NOT printable characters. > Ciao ------------------------------ Message: 5 Date: Tue, 29 Dec 2015 16:39:28 +0100 From: Fabien Bodard Subject: Re: [Gambas-user] non printable char "?" how to remove from string!!!!! To: mailing list for gambas users Message-ID: Content-Type: text/plain; charset=UTF-8 But is print just take into account the old asci table 2015-12-29 16:35 GMT+01:00 ML : > All, > > I might be utterly wrong, but since Linux normally uses UTF-8, any > high-bit-set char may be interpreted as one of the "multibyte char" flags. > If isprint() takes this into account, then it's dead right that char by > itself is not printable! > > Hope that helps and makes sense... > > On 2015-12-29 11:53, Ru Vuott wrote: >> Tchao Fabien, >> Ru .. Characters > to 127 are printable... >> uhmmm... excuse me, but I do not understand. >> If I test the "printability" :-) of "characters > to 127" by using C "isprint()" function (that checks whether the passed character is printable), I obtain only zero results. >> Where: "isprint()" function returns a non-zero value (true) if character is printable, else zero (false) if character is NOT printable. >> >> ***************************************************** >> #include >> int main() { >> int i, c; >> for (i=128; i <= 255; ++i) { >> c = isprint(i); >> printf("%d %d\n", i, c); >> } >> return (0); >> } >> ***************************************************** >> So, it seems resulting that "characters > to 127" are NOT printable characters. >> Ciao > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard ------------------------------ Message: 6 Date: Tue, 29 Dec 2015 16:54:29 +0100 From: Fabien Bodard Subject: Re: [Gambas-user] non printable char "?" how to remove from string!!!!! To: mailing list for gambas users Message-ID: Content-Type: text/plain; charset=UTF-8 To resume ... in the old past of ascii all standart printer or monitor can manage ascii and print 32 to 127 chars. So Ansi C provide a standart function named IsPrint that allow to say if a char was able to be printed. IN 2015... Ascii is known in it's 8 bit format so printable chars are from 32 to 255. Characters lower than 32 are for monitor, modem and printer management. Thanks to my terminal studie i'm now able to understand all of that :-). It's really interresting to study the past ... 2015-12-29 16:39 GMT+01:00 Fabien Bodard : > But is print just take into account the old asci table > > > 2015-12-29 16:35 GMT+01:00 ML : >> All, >> >> I might be utterly wrong, but since Linux normally uses UTF-8, any >> high-bit-set char may be interpreted as one of the "multibyte char" flags. >> If isprint() takes this into account, then it's dead right that char by >> itself is not printable! >> >> Hope that helps and makes sense... >> >> On 2015-12-29 11:53, Ru Vuott wrote: >>> Tchao Fabien, >>> Ru .. Characters > to 127 are printable... >>> uhmmm... excuse me, but I do not understand. >>> If I test the "printability" :-) of "characters > to 127" by using C "isprint()" function (that checks whether the passed character is printable), I obtain only zero results. >>> Where: "isprint()" function returns a non-zero value (true) if character is printable, else zero (false) if character is NOT printable. >>> >>> ***************************************************** >>> #include >>> int main() { >>> int i, c; >>> for (i=128; i <= 255; ++i) { >>> c = isprint(i); >>> printf("%d %d\n", i, c); >>> } >>> return (0); >>> } >>> ***************************************************** >>> So, it seems resulting that "characters > to 127" are NOT printable characters. >>> Ciao >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard -- Fabien Bodard ------------------------------ Message: 7 Date: Tue, 29 Dec 2015 18:14:14 +0100 From: Tobias Boege Subject: Re: [Gambas-user] Global variables (was: POSSIBLE! bug in while loop) To: mailing list for gambas users Message-ID: <20151229171414.GA6720 at ...2774...> Content-Type: text/plain; charset=us-ascii On Tue, 29 Dec 2015, Stephen wrote: > Reading this, in addition to seeing the need for a "Wait", I thought the > following; > > Does putting the desired global variable in a class mean the class > needs to be instantiated within the scope of the code example given? i.e. > Strictly speaking, yes. > PUBLIC GlobalVar as globalVars ' Change the name of the class to keep > the var name within the example unchanged. > > within the code of the form which contains the GObtn and exitBtn objects? > > The above would make GlobalVars.iexit visible to all classes outside of > the scope of where it was instantiated, so all forms in the project > could then see it. > Not really. If Form1 is the form where the Public declaration above is made, then another class would have to use Form1.GlobalVar.iexit to access the iexit variable. It cannot directly *see* the GlobalVar object. > However this can be avoided if the variable "iexit" is declared in a > "module" as opposed to a "class". Doing this it instantly becomes global > within the scope of the project, requiring only the addition of the > "Wait" to process the exitBtn_Click() event and exit the loop. > I take it that your question is "why?". You can think of a module as a class which has an implicit Create Static statement in its header and where every symbol is implicitly Static. [ Note that you *can* instantiate a module using New, i.e. it is not implicitly Create Private, but you cannot do anything with an instance of a module because every symbol is static (accessing any symbol from the instance throws a ". is static" error). ] Read about the Create Static statement here[0]. To explain my first comment above: You need to have an object of your global variables class available to use those variables. But employing Create Static you can basically make a class name (and class names are project-global) refer to an object (the automatic instance of that class). The result is that you have a globally accessible object. Regards, Tobi [0] http://gambaswiki.org/wiki/lang/createstatic -- "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 End of Gambas-user Digest, Vol 115, Issue 66 ******************************************** From taboege at ...626... Wed Dec 30 00:01:50 2015 From: taboege at ...626... (Tobias Boege) Date: Wed, 30 Dec 2015 00:01:50 +0100 Subject: [Gambas-user] C component declaration In-Reply-To: References: Message-ID: <20151229230150.GB6720@...2774...> On Tue, 29 Dec 2015, tercoide wrote: > How to declare arrays when making a component, ie : > C declaration in library > void glVertexPointer(GLint size, GLenum type, GLsize stride, const GLvoid*array) > > C gb component > > GB_STATIC_METHOD( ......?? > > DECLARE_METHOD(.....? > I'll tell you how I answer such questions for myself when I forgot the details: think hard if any Gambas component has any class with a method that returns an array object. If you're lucky there is such a component which is written in C. Then look into its source code how it's done. In this case I remembered that gb.net.curl's HttpClient can return a String[] of headers. You go to gb.net.curl/src/CHttpClient.c and find: GB_PROPERTY_READ("Headers", "String[]", HttpClient_Headers), that is you treat array types like every other class by writing the full class name into the signature. Only the primitive data types have abbreviations. Also you should subscribe to gambas-devel and ask C development questions there. The gambas-user list is for... users, not developers. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Wed Dec 30 00:10:42 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 30 Dec 2015 00:10:42 +0100 Subject: [Gambas-user] C component declaration In-Reply-To: References: Message-ID: <568312F2.7000600@...1...> Le 29/12/2015 23:48, tercoide a ?crit : > How to declare arrays when making a component, ie : > C declaration in library > void glVertexPointer(GLint size, GLenum type, GLsize stride, const GLvoid*array) > > C gb component > > GB_STATIC_METHOD( ......?? > > DECLARE_METHOD(.....? > > > > Ing. Mart?n P. Cristi? > This is the -user- mailing-list. I prefer that you use the -developer- mailing-list for C component development... Regards, -- Beno?t Minisini From adamnt42 at ...626... Wed Dec 30 01:15:16 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Wed, 30 Dec 2015 10:45:16 +1030 Subject: [Gambas-user] =?utf-8?q?non_printable_char_=22=E2=B1=B5=22_how_to?= =?utf-8?q?_remove_from_string!!!!!?= In-Reply-To: References: <1123045648.7112215.1451400786758.JavaMail.yahoo.ref@...3424...> <1123045648.7112215.1451400786758.JavaMail.yahoo@...3424...> <5682A84F.1080800@...626...> Message-ID: <20151230104516.184f22cc15115c6cc454a8c8@...626...> On Tue, 29 Dec 2015 16:54:29 +0100 Fabien Bodard wrote: > To resume ... in the old past of ascii all standart printer or monitor > can manage ascii and print 32 to 127 chars. So Ansi C provide a > standart function named IsPrint that allow to say if a char was able > to be printed. > > IN 2015... Ascii is known in it's 8 bit format so printable chars are > from 32 to 255. > > Characters lower than 32 are for monitor, modem and printer management. > > Thanks to my terminal studie i'm now able to understand all of that :-). > > It's really interresting to study the past ... Having been part of that "past" (and I hope that doesn't mean you are going to "study" me...) let me expand your knowledge a bit (I hope). Long ago and far far away, there were only three (or four) ways to "permanently" store data, on paper tape, on magnetic tape, on punch cards or perhaps on paper. The latter being the only medium, that which we called "wetware" (humans), could readily understand. Each computer manufacturer used their own codification for the data they stored. Hence we had such wonderful things as EBCDIC, Baudot and CDCcode. Which was fine as long as the customer bought their entire gear from one company, e.g. IBM, CDC, Univac etc. Then along came a thing called the Kennedy tape drive. This drive you have seen on old sci-fi movies, they were (originally) about 6 foot tall and have two spools that seem to oscillate in their rotations. Here is a couple of pictures, the first to jog your grandfather's memory of the computer's greatest era and the second to explain the following. http://images.spaceref.com/news/loirp/196704_6.l.highlight.jpg https://en.wikipedia.org/wiki/File:IBM_System_360_tape_drives.jpg What was magical about those drives were the two long vertical gray "bars" below the middle blue panel. These were vacuum "tubes" that enclosed loops of tape "loosened" from the two spools. Why? Because, since most tape operations in those days involved repeated access to the same area of a particular spool, this allowed the capstan that moved the tape to and fro across the read and write/erase heads to move at a much faster speed than the tape could be reeled on and off the spools, Hence that backwards and forwards movement of the spools seen in the old movies. The other "magical" aspect of the Kennedy drives is that they were incorporated in the hardware of different computer manufacturers. This resulted in a need for a (or at least several) "standard" data encoding mechanism(s). To cut a (very) long story short along came ASCII. Or to be very specific the 7-bit variant thereof. Why 7 bit? Because 2^7 = 128 and that, then was considered the efficient length for data encoding that could be passed across a modem between two devices. Thus we get the lower 32 (IMHO) badly named "control characters" and the 96 very, very badly named "printable characters"! Why the latter? Because char(128) is NOT printable on a mechanical printer, not one manufactured to my recollection could actually delete (DEL) the previous character! They did not have erasers. Also, many (ahem) printing devices of that day did "different" things when you send them a DEL. In the former case, to my mind, some of these "control characters" are (were) actually "printable". Notably the char(7) "BEL" character which caused the "printer" to sound an actual bell or (if they were the "fancy" ones a "BEEP". Others are the char(9) through char(13) set, i.e. HT, LF, VT, FF and CR characters. These made the "printer" do something and if you think about it those "somethings" are not dissimilar to what they did with a char(32), the infamously unnamed SPC character. They all "printed" white space, aka "nothing" for a specific length of character spaces. (Aside: One of the peculiar skills computer professionals of that era had was the recognition of those "nothings"!) Of the other supposed "control characters" they actually had two (in fact several) general purposes. Firstly, some of them actually "controlled" the communication between the sending and receiving devices. These were STX, ETX, EOT, ENQ, ACK, DLE, DC1-4, NAK, SYN, ETB. Thank the gods for these, otherwise we would not have the TCP stack. Secondly, some were specific data "items": SOH, FS, GS, RS and US and the dreaded EOM! (Aaargh no more tape!). These were particularly useful for serially encoded data (and what we now call data streams). The others had some generally arcane meanings but proved useful anyway: SO, SI, DLE, CAN, SUB and to some extent ESC. When I say useful I mean someone somewhere must have needed them - I can't say I ever did. This (unless I have forgotten any) leaves the notorious NUL character - which from my memory never actually did anything at all (but was handy if you wanted to send some sort of "hang in there bozo" message to the receiver). Now, to get back to a bit of hardware. The first (professional) job of my career entailed programming the famous (but rotten) PDP 11-20 computer to do mathematical "stuff"... in assembler. The one we had was a single user, single run machine. By that I mean you wrote your program ... and I mean wrote as in pen and paper ... then manually punched it on to paper tape, loaded the paper tape into the paper tape reader/writer and started the computer (and I mean bootstrapped it via the from panel to read your paper tape) and then pressed GO. After it did all the fancy calculations you had a PAUSE instruction that let you take your program tape out and put in a blank tape that punched out the answers. Weeeeeellll. It actually punched out the "coded" program for the teletype printer... if you were lucky (and pretty damn clever, if I say so myself) the teletype would actually print out the answer on paper so that the "client" could read it. Then one day, the gods delivered unto us a brand new beautiful pink and purple thing called a PDP 11-40 - a thing of great beauty and a joy forever. On it, or more specifically on it's 12MB "high speed" hard disk drive was a bootable executive program that I will hesitantly grace with the name "operating system". (Thankfully I have forgotten its damn name!) It still could only run one "program" at a time but it did have some things that made it to me one of the best two ("big" - it was about 5 foot high and 10 foot across) computers I have ever worked on. To describe it. It's console was a teletype, but the main use of that device was to issue commands to the "executive". It had a Kennedy tape drive, a late model version that was sooooo fast! A paper tape reader/punch that had vacuum tubes like the tape drive that meant you couldn't even have one sip of coffee before it loaded your program. It had an "integrated line printer" that meant you could print your results out without having to walk across the room. If you wanted to run your program more than once, gasp, you could store it on the "hard disk" and invoke it (from the teletype) without having to search through hundreds of paper tapes to find the one you wanted! AND! it had a CRT display, in fact a thing called a VT05! AND, AND AND (be still my racing heart!) it had a high level programming language .... wait for it ..... BASIC PLUS 2 (See it here ... https://en.wikipedia.org/wiki/BASIC-PLUS) the rest is much, much , too much history. In case I don't get back, have a wonderful new year. cheers bruce > > 2015-12-29 16:39 GMT+01:00 Fabien Bodard : > > But is print just take into account the old asci table > > > > > > 2015-12-29 16:35 GMT+01:00 ML : > >> All, > >> > >> I might be utterly wrong, but since Linux normally uses UTF-8, any > >> high-bit-set char may be interpreted as one of the "multibyte char" flags. > >> If isprint() takes this into account, then it's dead right that char by > >> itself is not printable! > >> > >> Hope that helps and makes sense... > >> > >> On 2015-12-29 11:53, Ru Vuott wrote: > >>> Tchao Fabien, > >>> Ru .. Characters > to 127 are printable... > >>> uhmmm... excuse me, but I do not understand. > >>> If I test the "printability" :-) of "characters > to 127" by using C "isprint()" function (that checks whether the passed character is printable), I obtain only zero results. > >>> Where: "isprint()" function returns a non-zero value (true) if character is printable, else zero (false) if character is NOT printable. > >>> > >>> ***************************************************** > >>> #include > >>> int main() { > >>> int i, c; > >>> for (i=128; i <= 255; ++i) { > >>> c = isprint(i); > >>> printf("%d %d\n", i, c); > >>> } > >>> return (0); > >>> } > >>> ***************************************************** > >>> So, it seems resulting that "characters > to 127" are NOT printable characters. > >>> Ciao > >> > >> ------------------------------------------------------------------------------ > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > -- > > Fabien Bodard > > > > -- > Fabien Bodard > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- B Bruen From adamnt42 at ...626... Wed Dec 30 01:32:14 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Wed, 30 Dec 2015 11:02:14 +1030 Subject: [Gambas-user] =?utf-8?q?non_printable_char_=22=E2=B1=B5=22_how_to?= =?utf-8?q?_remove_from_string!!!!!?= In-Reply-To: <5682E819.3020207@...3301...> References: <1123045648.7112215.1451400786758.JavaMail.yahoo.ref@...3424...> <1123045648.7112215.1451400786758.JavaMail.yahoo@...3424...> <5682A84F.1080800@...626...> <5682E819.3020207@...3301...> Message-ID: <20151230110214.80f10d769aa807a5edfbf43d@...626...> On Tue, 29 Dec 2015 15:07:53 -0500 Stephen wrote: > On 12/29/2015 10:54 AM, Fabien Bodard wrote: > > To resume ... in the old past of ascii all standart printer or monitor > > can manage ascii and print 32 to 127 chars. So Ansi C provide a > > standart function named IsPrint that allow to say if a char was able > > to be printed. > > > > IN 2015... Ascii is known in it's 8 bit format so printable chars are > > from 32 to 255. > > > > Characters lower than 32 are for monitor, modem and printer management. > > > > Thanks to my terminal studie i'm now able to understand all of that :-). > > > > It's really interresting to study the past ... > > > It's more interesting to have LIVED it and now be working with UTF-8. > ASCII was SOOO simple, but also SOOOO restrictive. > > > 2015-12-29 16:39 GMT+01:00 Fabien Bodard: > >> But is print just take into account the old asci table > >> > >> > >> 2015-12-29 16:35 GMT+01:00 ML: > >>> All, > >>> > >>> I might be utterly wrong, but since Linux normally uses UTF-8, any > >>> high-bit-set char may be interpreted as one of the "multibyte char" flags. > >>> If isprint() takes this into account, then it's dead right that char by > >>> itself is not printable! > >>> > >>> Hope that helps and makes sense... > >>> > >>> On 2015-12-29 11:53, Ru Vuott wrote: > >>>> Tchao Fabien, > >>>> Ru .. Characters> to 127 are printable... > >>>> uhmmm... excuse me, but I do not understand. > >>>> If I test the "printability" :-) of "characters> to 127" by using C "isprint()" function (that checks whether the passed character is printable), I obtain only zero results. > >>>> Where: "isprint()" function returns a non-zero value (true) if character is printable, else zero (false) if character is NOT printable. > >>>> > >>>> ***************************************************** > >>>> #include > >>>> int main() { > >>>> int i, c; > >>>> for (i=128; i<= 255; ++i) { > >>>> c = isprint(i); > >>>> printf("%d %d\n", i, c); > >>>> } > >>>> return (0); > >>>> } > >>>> ***************************************************** > >>>> So, it seems resulting that "characters> to 127" are NOT printable characters. > >>>> Ciao Yes and no. Short answer: 129 though 255 are "extended ACSII" - a very nebulous area. What is "printable" depends on the "printing device" "character code" set. The character "?" is part of a code set I recall being called the "box drawing" set that was used on some CRT "print" devices from a bygone era (aka before Unicode). In fact, the fact that I can see and recognize it means something. The following is a link to an archived article in which you can see the "amazing" things that were done with such code sets in the 1980's. https://books.google.com.au/books?id=C6JUZUHEBuAC&pg=PA327&lpg=PA327&dq=the+software+bottling+company&source=bl&ots=dCVO1ZWFmo&sig=tzzYiReg3OW8NI65rmBvQXo1GXU&hl=en&sa=X&ved=0ahUKEwiC_PHvqYLKAhXjFqYKHRgrCmc4ChDoAQgwMAA#v=onepage&q=the%20software%20bottling%20company&f=false cheers bruce > >>> ------------------------------------------------------------------------------ > >>> _______________________________________________ > >>> Gambas-user mailing list > >>> Gambas-user at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> > >> -- > >> Fabien Bodard > > > > > > > -- > Kindest Regards > Stephen A. Bungay, Prop. > Smarts On Site Information Systems > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- B Bruen From gambas.fr at ...626... Wed Dec 30 07:06:25 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 30 Dec 2015 07:06:25 +0100 Subject: [Gambas-user] =?utf-8?q?non_printable_char_=22=E2=B1=B5=22_how_to?= =?utf-8?q?_remove_from_string!!!!!?= In-Reply-To: <20151230110214.80f10d769aa807a5edfbf43d@...626...> References: <1123045648.7112215.1451400786758.JavaMail.yahoo.ref@...3424...> <1123045648.7112215.1451400786758.JavaMail.yahoo@...3424...> <5682A84F.1080800@...626...> <5682E819.3020207@...3301...> <20151230110214.80f10d769aa807a5edfbf43d@...626...> Message-ID: Thank you Bruce :-)... It was really interresting. We can't figure out how the world was so different and so identical at the same time. Ascii is old, control sequences too, but they are also always the underlying tools used on our modern systems and programs. Oups i've forgotten DEL ... yes asc 127 is not printable. I'm really curious to know why DEL is on the end of the table ... maybe they have forget it :-/ The character "?" is sometime used as replacement by some monitor for unradable char. But Monitor like vt100 also have the capabilities to use characters combination, and a set of different characaters can give one special char. In thi case the problem is not this character in fact but only all charaters lower than asc 32.. control chars that interact with the terminal interpreter or with the textarea of gambas. In the case of the text area gtk can generate error on unreconised chars, in the case of terminal maybe too because of the char combination. 2015-12-30 1:32 GMT+01:00 adamnt42 at ...626... : > On Tue, 29 Dec 2015 15:07:53 -0500 > Stephen wrote: > >> On 12/29/2015 10:54 AM, Fabien Bodard wrote: >> > To resume ... in the old past of ascii all standart printer or monitor >> > can manage ascii and print 32 to 127 chars. So Ansi C provide a >> > standart function named IsPrint that allow to say if a char was able >> > to be printed. >> > >> > IN 2015... Ascii is known in it's 8 bit format so printable chars are >> > from 32 to 255. >> > >> > Characters lower than 32 are for monitor, modem and printer management. >> > >> > Thanks to my terminal studie i'm now able to understand all of that :-). >> > >> > It's really interresting to study the past ... >> > >> It's more interesting to have LIVED it and now be working with UTF-8. >> ASCII was SOOO simple, but also SOOOO restrictive. >> >> > 2015-12-29 16:39 GMT+01:00 Fabien Bodard: >> >> But is print just take into account the old asci table >> >> >> >> >> >> 2015-12-29 16:35 GMT+01:00 ML: >> >>> All, >> >>> >> >>> I might be utterly wrong, but since Linux normally uses UTF-8, any >> >>> high-bit-set char may be interpreted as one of the "multibyte char" flags. >> >>> If isprint() takes this into account, then it's dead right that char by >> >>> itself is not printable! >> >>> >> >>> Hope that helps and makes sense... >> >>> >> >>> On 2015-12-29 11:53, Ru Vuott wrote: >> >>>> Tchao Fabien, >> >>>> Ru .. Characters> to 127 are printable... >> >>>> uhmmm... excuse me, but I do not understand. >> >>>> If I test the "printability" :-) of "characters> to 127" by using C "isprint()" function (that checks whether the passed character is printable), I obtain only zero results. >> >>>> Where: "isprint()" function returns a non-zero value (true) if character is printable, else zero (false) if character is NOT printable. >> >>>> >> >>>> ***************************************************** >> >>>> #include >> >>>> int main() { >> >>>> int i, c; >> >>>> for (i=128; i<= 255; ++i) { >> >>>> c = isprint(i); >> >>>> printf("%d %d\n", i, c); >> >>>> } >> >>>> return (0); >> >>>> } >> >>>> ***************************************************** >> >>>> So, it seems resulting that "characters> to 127" are NOT printable characters. >> >>>> Ciao > > Yes and no. Short answer: 129 though 255 are "extended ACSII" - a very nebulous area. What is "printable" depends on the "printing device" "character code" set. > The character "?" is part of a code set I recall being called the "box drawing" set that was used on some CRT "print" devices from a bygone era (aka before Unicode). > In fact, the fact that I can see and recognize it means something. The following is a link to an archived article in which you can see the "amazing" things that were done with such code sets in the 1980's. > > https://books.google.com.au/books?id=C6JUZUHEBuAC&pg=PA327&lpg=PA327&dq=the+software+bottling+company&source=bl&ots=dCVO1ZWFmo&sig=tzzYiReg3OW8NI65rmBvQXo1GXU&hl=en&sa=X&ved=0ahUKEwiC_PHvqYLKAhXjFqYKHRgrCmc4ChDoAQgwMAA#v=onepage&q=the%20software%20bottling%20company&f=false > > cheers > bruce > >> >>> ------------------------------------------------------------------------------ >> >>> _______________________________________________ >> >>> Gambas-user mailing list >> >>> Gambas-user at lists.sourceforge.net >> >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> >> >> -- >> >> Fabien Bodard >> > >> > >> >> >> -- >> Kindest Regards >> Stephen A. Bungay, Prop. >> Smarts On Site Information Systems >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > -- > B Bruen > > ------------------------------------------------------------------------------ > _______________________________________________ > 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... Wed Dec 30 07:10:07 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 30 Dec 2015 07:10:07 +0100 Subject: [Gambas-user] SimpleEval In-Reply-To: <1451398716924-55114.post@...3046...> References: <1451398716924-55114.post@...3046...> Message-ID: You get the class from where ? 2015-12-29 15:18 GMT+01:00 Charlie : > Hi Fabian, > I presume that you wrote the code in SimpleEval. I can't work out how to use > it. I thought it might work with my gbCalculator (see Gmabas Farm). There > are quite a few compile warning errors. > > *The main thing is some examples on how to use it please.* > Thanks. > > > > -- > View this message in context: http://gambas.8142.n7.nabble.com/SimpleEval-tp55114.html > Sent from the gambas-user mailing list archive at Nabble.com. > ------------------------------------------------------------------------------ > _______________________________________________ > 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... Wed Dec 30 07:21:06 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 30 Dec 2015 07:21:06 +0100 Subject: [Gambas-user] SimpleEval In-Reply-To: References: <1451398716924-55114.post@...3046...> Message-ID: >From the Main Module in the Farm example : Public Sub Main() Dim hEval As New SimpleEval As "Eval" Dim hEx As New EvalEx As "Eval" 'Test with an unknown variable hEval.Formula = "IF(Test=1;'TROUVE';'PERDU')" hEval.Execute If Not hEval.Error Then Print hEval.Value Else Print hEval.ErrorText Endif 'Test extention hEx.Formula = "Message('coucou')" hEx.Execute 'Test Both hEx.Formula = "Message(If(Test=1;'TROUVE ' & prenom;'PERDU'))" hEx.Execute 'Test Calculation hEx.Formula = "Cos(1)+pi()*2^mypower" hEx.Execute Print hEx.Value End Public Sub Eval_Data(Value As String) If Value = "Test" Then Last.data = 1 Endif If Value = "mypower" Then Last.data = 3 Endif If Value = "prenom" Then Last.Data = "Fabien" End 2015-12-30 7:10 GMT+01:00 Fabien Bodard : > You get the class from where ? > > > 2015-12-29 15:18 GMT+01:00 Charlie : >> Hi Fabian, >> I presume that you wrote the code in SimpleEval. I can't work out how to use >> it. I thought it might work with my gbCalculator (see Gmabas Farm). There >> are quite a few compile warning errors. >> >> *The main thing is some examples on how to use it please.* >> Thanks. >> >> >> >> -- >> View this message in context: http://gambas.8142.n7.nabble.com/SimpleEval-tp55114.html >> Sent from the gambas-user mailing list archive at Nabble.com. >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard -- Fabien Bodard From gambas.fr at ...626... Wed Dec 30 07:21:57 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 30 Dec 2015 07:21:57 +0100 Subject: [Gambas-user] SimpleEval In-Reply-To: References: <1451398716924-55114.post@...3046...> Message-ID: you can get the error and the error pos too, i've updated the class on the farm to remove the compilation warnings 2015-12-30 7:21 GMT+01:00 Fabien Bodard : > From the Main Module in the Farm example : > > > Public Sub Main() > Dim hEval As New SimpleEval As "Eval" > Dim hEx As New EvalEx As "Eval" > > 'Test with an unknown variable > hEval.Formula = "IF(Test=1;'TROUVE';'PERDU')" > hEval.Execute > If Not hEval.Error Then > Print hEval.Value > Else > Print hEval.ErrorText > Endif > > > 'Test extention > hEx.Formula = "Message('coucou')" > hEx.Execute > > 'Test Both > hEx.Formula = "Message(If(Test=1;'TROUVE ' & prenom;'PERDU'))" > hEx.Execute > > 'Test Calculation > hEx.Formula = "Cos(1)+pi()*2^mypower" > hEx.Execute > Print hEx.Value > > End > > > Public Sub Eval_Data(Value As String) > > If Value = "Test" Then > Last.data = 1 > Endif > If Value = "mypower" Then > Last.data = 3 > Endif > If Value = "prenom" Then Last.Data = "Fabien" > > > End > > 2015-12-30 7:10 GMT+01:00 Fabien Bodard : >> You get the class from where ? >> >> >> 2015-12-29 15:18 GMT+01:00 Charlie : >>> Hi Fabian, >>> I presume that you wrote the code in SimpleEval. I can't work out how to use >>> it. I thought it might work with my gbCalculator (see Gmabas Farm). There >>> are quite a few compile warning errors. >>> >>> *The main thing is some examples on how to use it please.* >>> Thanks. >>> >>> >>> >>> -- >>> View this message in context: http://gambas.8142.n7.nabble.com/SimpleEval-tp55114.html >>> Sent from the gambas-user mailing list archive at Nabble.com. >>> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> -- >> Fabien Bodard > > > > -- > Fabien Bodard -- Fabien Bodard From gambas.fr at ...626... Wed Dec 30 07:43:42 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 30 Dec 2015 07:43:42 +0100 Subject: [Gambas-user] SimpleEval In-Reply-To: References: <1451398716924-55114.post@...3046...> Message-ID: In fact internally it use two process. the first one when you set the formula. It compile it... understand reorganize and traduce the formula into interpreter readable sequences. The second one when you call Execute, the interpreter read the stored sequence. During this process if some variables are used the interpreter raise the data event and give the required var name. So you can give it throuth the .data property. Internally the interpreter have bridges to every math and string common functions of Gambas. You can extent the functions by inheriting the simpleEval and adding your own function. example : Export Inherits SimpleEval Public Sub _New() SimpleEval.Functions.Add("Message") SimpleEval.FunctionsArgsCount.Add(1) End ''Show a windowed message Public Sub _MESSAGE(Val1 As CResult) As CResult Message(Val1.Value) Return New CResult(Null, CResult.TypeValue) End Void not exist, you must return a null result on a void function. Simple eval does what i need... a simple extendable formula interpreter like the one we can se on spreadsheet. I use it now on report too. So i can say now "='Page ' & page & ' on ' & pages" I forgot " and ' are accepted for string delemiter 2015-12-30 7:21 GMT+01:00 Fabien Bodard : > you can get the error and the error pos too, > > i've updated the class on the farm to remove the compilation warnings > > 2015-12-30 7:21 GMT+01:00 Fabien Bodard : >> From the Main Module in the Farm example : >> >> >> Public Sub Main() >> Dim hEval As New SimpleEval As "Eval" >> Dim hEx As New EvalEx As "Eval" >> >> 'Test with an unknown variable >> hEval.Formula = "IF(Test=1;'TROUVE';'PERDU')" >> hEval.Execute >> If Not hEval.Error Then >> Print hEval.Value >> Else >> Print hEval.ErrorText >> Endif >> >> >> 'Test extention >> hEx.Formula = "Message('coucou')" >> hEx.Execute >> >> 'Test Both >> hEx.Formula = "Message(If(Test=1;'TROUVE ' & prenom;'PERDU'))" >> hEx.Execute >> >> 'Test Calculation >> hEx.Formula = "Cos(1)+pi()*2^mypower" >> hEx.Execute >> Print hEx.Value >> >> End >> >> >> Public Sub Eval_Data(Value As String) >> >> If Value = "Test" Then >> Last.data = 1 >> Endif >> If Value = "mypower" Then >> Last.data = 3 >> Endif >> If Value = "prenom" Then Last.Data = "Fabien" >> >> >> End >> >> 2015-12-30 7:10 GMT+01:00 Fabien Bodard : >>> You get the class from where ? >>> >>> >>> 2015-12-29 15:18 GMT+01:00 Charlie : >>>> Hi Fabian, >>>> I presume that you wrote the code in SimpleEval. I can't work out how to use >>>> it. I thought it might work with my gbCalculator (see Gmabas Farm). There >>>> are quite a few compile warning errors. >>>> >>>> *The main thing is some examples on how to use it please.* >>>> Thanks. >>>> >>>> >>>> >>>> -- >>>> View this message in context: http://gambas.8142.n7.nabble.com/SimpleEval-tp55114.html >>>> Sent from the gambas-user mailing list archive at Nabble.com. >>>> ------------------------------------------------------------------------------ >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >>> >>> >>> -- >>> Fabien Bodard >> >> >> >> -- >> Fabien Bodard > > > > -- > Fabien Bodard -- Fabien Bodard From tercoide at ...67... Wed Dec 30 17:10:55 2015 From: tercoide at ...67... (Martin Cristia) Date: Wed, 30 Dec 2015 13:10:55 -0300 Subject: [Gambas-user] C component declaration In-Reply-To: References: Message-ID: OH! , sorry ! have a good 2.016!! Saludos Martin From charlie at ...2793... Wed Dec 30 17:37:47 2015 From: charlie at ...2793... (Charlie) Date: Wed, 30 Dec 2015 09:37:47 -0700 (MST) Subject: [Gambas-user] SimpleEval In-Reply-To: References: <1451398716924-55114.post@...3046...> Message-ID: <1451493467401-55134.post@...3046...> Can I get your code to calculate something like 28*(5/2.3) If so how? -- View this message in context: http://gambas.8142.n7.nabble.com/SimpleEval-tp55114p55134.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas.fr at ...626... Wed Dec 30 19:19:51 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 30 Dec 2015 19:19:51 +0100 Subject: [Gambas-user] SimpleEval In-Reply-To: <1451493467401-55134.post@...3046...> References: <1451398716924-55114.post@...3046...> <1451493467401-55134.post@...3046...> Message-ID: 2015-12-30 17:37 GMT+01:00 Charlie : > Can I get your code to calculate something like > 28*(5/2.3) > If so how? Dim hEval As New SimpleEval hEval.Formula = "28*(5/2.3)" hEval.Execute If Not hEval.Error Then Print hEval.Value Else Print hEval.ErrorText Endif From ea7dfh at ...2382... Wed Dec 30 20:20:31 2015 From: ea7dfh at ...2382... (Jesus Guardon) Date: Wed, 30 Dec 2015 20:20:31 +0100 Subject: [Gambas-user] Hi all In-Reply-To: <1451256679.10849.62.camel@...3570...> References: <1451256679.10849.62.camel@...3570...> Message-ID: <56842E7F.4040301@...2382...> El 27/12/15 a las 23:51, David Cole escribi?: > Hello, > > New to list, and thought I'd say hi, so-- 'Hi". Just found GAMBAS, what > a cool piece of software! Now to learn about it! > > Hi, David Another radio-amateur here, this is EA7DFH. I can assure you will be glad to know Gambas and what incredible things you can do with it in a little time. Feel free to ask in the list whatever you want. 73 de Jesus Regards From dave at ...3569... Thu Dec 31 01:19:40 2015 From: dave at ...3569... (David Cole) Date: Wed, 30 Dec 2015 16:19:40 -0800 Subject: [Gambas-user] Hi all In-Reply-To: <56842E7F.4040301@...2382...> References: <1451256679.10849.62.camel@...3570...> <56842E7F.4040301@...2382...> Message-ID: <1451521180.7059.15.camel@...3570...> Hi, Thank you for the welcome Jesus! I have already begun finding all sorts of things it can do! What a versatile package! -- Thanks and 73's, For equipment, and software setups and reviews see: www.nk7z.net For MixW support see; http://groups.yahoo.com/neo/groups/mixw/info For Dopplergram information see: http://groups.yahoo.com/neo/groups/dopplergram/info For MM-SSTV see: http://groups.yahoo.com/neo/groups/MM-SSTV/info On Wed, 2015-12-30 at 20:20 +0100, Jesus Guardon wrote: > El 27/12/15 a las 23:51, David Cole escribi?: > > Hello, > > > > New to list, and thought I'd say hi, so-- 'Hi". Just found GAMBAS, what > > a cool piece of software! Now to learn about it! > > > > > > Hi, David > > Another radio-amateur here, this is EA7DFH. > > I can assure you will be glad to know Gambas and what incredible things > you can do with it in a little time. Feel free to ask in the list > whatever you want. > > 73 de Jesus > > Regards From charlie at ...2793... Thu Dec 31 08:49:46 2015 From: charlie at ...2793... (Charlie) Date: Thu, 31 Dec 2015 00:49:46 -0700 (MST) Subject: [Gambas-user] SimpleEval In-Reply-To: References: <1451398716924-55114.post@...3046...> <1451493467401-55134.post@...3046...> Message-ID: <1451548186770-55138.post@...3046...> Thanks, that's excellent. I will work on that. -- View this message in context: http://gambas.8142.n7.nabble.com/SimpleEval-tp55114p55138.html Sent from the gambas-user mailing list archive at Nabble.com. From charlie at ...2793... Thu Dec 31 14:47:00 2015 From: charlie at ...2793... (Charlie) Date: Thu, 31 Dec 2015 06:47:00 -0700 (MST) Subject: [Gambas-user] SimpleEval In-Reply-To: <1451548186770-55138.post@...3046...> References: <1451398716924-55114.post@...3046...> <1451493467401-55134.post@...3046...> <1451548186770-55138.post@...3046...> Message-ID: <1451569620307-55141.post@...3046...> This is working out well! Your code can handle some complex maths. Is there any way to handle negative numbers? If an answer is negative it works but if you input "*-5*6*" it does not work. I have also attached my code, still in development, so you can see what I am doing with your code. gbCalculator.tar -- View this message in context: http://gambas.8142.n7.nabble.com/SimpleEval-tp55114p55141.html Sent from the gambas-user mailing list archive at Nabble.com. From whenamalone at ...626... Thu Dec 31 15:34:00 2015 From: whenamalone at ...626... (monika) Date: Thu, 31 Dec 2015 07:34:00 -0700 (MST) Subject: [Gambas-user] Fwd: happy new year 2016 Message-ID: ? mnpgiphy.gif (1M) -- View this message in context: http://gambas.8142.n7.nabble.com/Fwd-happy-new-year-2016-tp55142.html Sent from the gambas-user mailing list archive at Nabble.com.