From rwe-sse at osnanet.de Wed Oct 2 17:51:00 2019 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Wed, 2 Oct 2019 17:51:00 +0200 Subject: [Gambas-user] Gambas scripts strange error reaction Message-ID: <881c1200-c362-e097-e75e-b4e32d7c6119@osnanet.de> When I make a pure Gambas script starting with #!/usr/bin/env gbs3 in a text file, make it executable and start it, when there is an error, sometimes there will be the whole source text printed in the terminal followed by an error message. This is not true for all errors, some produce an error message only. My guess is that when a logical error is detected (e. g. I had forgotten a quote sign, and the interpreter could not make a rhyme of my comment), it will list the whole script followed by some error message which is completely misleading. When a runtime error occurs (like "file not found"), it will print this error message only. Is it a bug or a feature? Regards Rolf From jussi.lahtinen at gmail.com Wed Oct 2 22:44:39 2019 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Wed, 2 Oct 2019 23:44:39 +0300 Subject: [Gambas-user] Gambas scripts strange error reaction In-Reply-To: <881c1200-c362-e097-e75e-b4e32d7c6119@osnanet.de> References: <881c1200-c362-e097-e75e-b4e32d7c6119@osnanet.de> Message-ID: How to reproduce the error? Jussi On Wed, Oct 2, 2019 at 6:52 PM Rolf-Werner Eilert wrote: > When I make a pure Gambas script starting with > > #!/usr/bin/env gbs3 > > in a text file, make it executable and start it, when there is an error, > sometimes there will be the whole source text printed in the terminal > followed by an error message. > > This is not true for all errors, some produce an error message only. > > My guess is that when a logical error is detected (e. g. I had forgotten > a quote sign, and the interpreter could not make a rhyme of my comment), > it will list the whole script followed by some error message which is > completely misleading. > > When a runtime error occurs (like "file not found"), it will print this > error message only. > > Is it a bug or a feature? > > Regards > Rolf > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From charlie at cogier.com Thu Oct 3 14:55:20 2019 From: charlie at cogier.com (Charlie Ogier) Date: Thu, 3 Oct 2019 13:55:20 +0100 Subject: [Gambas-user] Chart bug Message-ID: Hi, There seems to be a bug when using a 'Pie' chart. The 'ShowLables' are not in the correct place. See image . Sample program attached. Charlie -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ChartLabel.tar.gz Type: application/gzip Size: 12525 bytes Desc: not available URL: From gambas.fr at gmail.com Thu Oct 3 17:54:59 2019 From: gambas.fr at gmail.com (Fabien Bodard) Date: Thu, 3 Oct 2019 17:54:59 +0200 Subject: [Gambas-user] Chart bug In-Reply-To: References: Message-ID: yes It was my old old buggy job :-/ I'm currently rewritten all the component ... to use the paint class capability but it broke compatibility as I do not like the old implementation. I've just finished the Bar part Le jeu. 3 oct. 2019 ? 15:16, Charlie Ogier a ?crit : > Hi, > > There seems to be a bug when using a 'Pie' chart. The 'ShowLables' are not > in the correct place. See image > . > > Sample program attached. > > Charlie > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -- Fabien Bodard -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Capture d??cran de 2019-10-03 13-30-58.png Type: image/png Size: 165526 bytes Desc: not available URL: From shordi at gmail.com Thu Oct 3 19:44:03 2019 From: shordi at gmail.com (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Thu, 3 Oct 2019 19:44:03 +0200 Subject: [Gambas-user] Gambas Pii repository doesn't work for me. Message-ID: Hi, I use Linux Mint 19.2 with gambas3 estable repository. A few days ago, a gambas.Pii repo was added to my apt/sources.d/alternatives but it doesn't work. It makes a "111 refused connection error" in updates. I deleted gambas3 repository and gambas.pii repository from apt sources and execute again the add-apt-repository ppa:gambas-team/gambas3 command. Now gambas 3.13 works fine, but I don't have gambas 3.14. I'm the only one with this issue? Best Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From jose.rodriguez at cenpalab.cu Thu Oct 3 19:59:06 2019 From: jose.rodriguez at cenpalab.cu (jose.rodriguez at cenpalab.cu) Date: Thu, 03 Oct 2019 17:59:06 +0000 Subject: [Gambas-user] Gambas Pii repository doesn't work for me. In-Reply-To: References: Message-ID: October 3, 2019 1:39 PM, "Jorge Carri?n" )> wrote: Hi, I use Linux Mint 19.2 with gambas3 estable repository. A few days ago, a gambas.Pii repo was added to my apt/sources.d/alternatives but it doesn't work. It makes a "111 refused connection error" in updates. I deleted gambas3 repository and gambas.pii repository from apt sources and execute again the add-apt-repository ppa:gambas-team/gambas3 command. Now gambas 3.13 works fine, but I don't have gambas 3.14. I'm the only one with this issue? Best Regards Not the only one, I've been a long time away from Gambas (had started using it back at the beginning), but then installed 3.13 from that repo when it came out. Have been waiting for 3.14 for a few days, but it's not in the repo yet. Hopefully it's been packaged as we speak? I used to build my own Gambas, as I was using VectorLinux and Slackware back then, but now I'm on Mint 19.2, and I still haven't got into building deb packages yet. Regards, Joe1962 -------------- next part -------------- An HTML attachment was scrubbed... URL: From sharon at 455.co.il Fri Oct 4 10:30:45 2019 From: sharon at 455.co.il (Mayost Sharon) Date: Fri, 4 Oct 2019 11:30:45 +0300 Subject: [Gambas-user] GTK+ with Broadway In-Reply-To: References: <20190514072754.M34571@455.co.il> <20190514075403.M84064@455.co.il> <0d49d090-da2a-bc38-6575-ac3e8569ce96@gmail.com> <81c58c17-1a12-7f38-0dd4-7f127e2cbab5@gmail.com> <57c8d470-ebd0-d9a2-0720-46413fa92a82@gmail.com> <20190519230415.M26326@455.co.il> Message-ID: <20191004082657.M59902@455.co.il> Thanks for releasing the new version 3.14 GTK+ with Broadway Nice worker ---------- Original Message ----------- From: Beno?t Minisini To: Gambas Mailing List Sent: Mon, 20 May 2019 02:59:29 +0200 Subject: Re: [Gambas-user] GTK+ with Broadway > Le 20/05/2019 ? 01:05, Mayost Sharon a ?crit?: > > Hello > > > > Thanks again > > > > Maybe I'm wrong > > > > But it seems to me that the error is not related to GTK3 + BROADWAY > > > > I open a new question in the forum: > > https://lists.gambas-basic.org/pipermail/user/2019-May/067262.html > > > > Of course it is. > > I added a test of the type of the display so that X11 specific > initialization is not done if the GDK display is not X11. > > I tried a simple application with one window including a TextBox and a > TextArea. > > The program does not crash anymore, but Broadway hardly displays a > working window in the browser, and the GTK+ program emits tons of > warnings on its terminal output. > > The window is not well positioned, its size is incorrect, and a lot of > things does not draw or work correctly. > > Gambas has to do tricks to workaround a lot of bugs and limitations of > GTK+. Maybe the Broadway backend does not like it (in the sense that it > supports pure GTK+ applications). > > Or maybe Broadway is just a toy. After all, it's mainly a rewrite of the > X11 network protocol at the GDK level that uses the browser as a graphic > terminal. > > -- > Beno?t Minisini > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- ------- End of Original Message ------- From sharon at 455.co.il Fri Oct 4 10:38:18 2019 From: sharon at 455.co.il (Mayost Sharon) Date: Fri, 4 Oct 2019 11:38:18 +0300 Subject: [Gambas-user] webpage editor In-Reply-To: <20190629195500.M42026@455.co.il> References: <20190623164441.M94240@455.co.il> <20190629195500.M42026@455.co.il> Message-ID: <20191004083550.M30901@455.co.il> I wanted to know if there was a fix for this bug I tried to check in the latest version 3.14 It still makes the same problem I again attach two pictures that show the problem ---------- Original Message ----------- From: "Mayost Sharon" To: Gambas Mailing List Sent: Sat, 29 Jun 2019 22:55:13 +0300 Subject: Re: [Gambas-user] webpage editor > Hello > > Look at the picture I attached > What happened to the rest of the code? > Added unwanted spaces and it destroys HTML > > ---------- Original Message ----------- > From: "Mayost Sharon" > To: Gambas Mailing List > Sent: Sun, 23 Jun 2019 19:44:36 +0300 > Subject: [Gambas-user] webpage editor > > > hello > > > > I try to explain the problem > > > > When I register <%%> everything is fine > > But if I delete the last percent sign and move up with the cursor up > > All HTML code gets a space and it destroys HTML > > > > I am attaching 2 photos > ------- End of Original Message ------- > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- ------- End of Original Message ------- -------------- next part -------------- A non-text attachment was scrubbed... Name: before.jpeg Type: image/jpeg Size: 74772 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: after.jpeg Type: image/jpeg Size: 74732 bytes Desc: not available URL: From jean-yvon.renaut at wanadoo.fr Fri Oct 4 17:07:02 2019 From: jean-yvon.renaut at wanadoo.fr (Jean-Yvon) Date: Fri, 4 Oct 2019 17:07:02 +0200 Subject: [Gambas-user] Graphic whith Gambas? Message-ID: <870cbba0-eb80-25f6-5d01-1260b621be65@wanadoo.fr> Hello! first my english is null! 2th my english is bad. My question : how to make ? graph with gambas. With paint sorry but no example and j'm not an expert. with draw sorry but the wiki is not good and not example also (it finish less than a day ago) with chart it not good in a french computer: In french the float is writhe with an "," in english is a string... yes "replace" exist but it make string and not exist cfloat[] and chart say is not a float[] nothing to go... tank you for your reply Jean-yvon -------------- next part -------------- An HTML attachment was scrubbed... URL: From shordi at gmail.com Mon Oct 7 20:58:53 2019 From: shordi at gmail.com (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Mon, 7 Oct 2019 20:58:53 +0200 Subject: [Gambas-user] Still doesn't work update repository of gambas 3.14 Message-ID: ??? -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Mon Oct 7 22:27:17 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 7 Oct 2019 22:27:17 +0200 Subject: [Gambas-user] Still doesn't work update repository of gambas 3.14 In-Reply-To: References: Message-ID: <3f83bdb7-d5a6-1a6b-d554-49b608f79f69@gmail.com> Le 07/10/2019 ? 20:58, Jorge Carri?n a ?crit?: > ??? > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > I guess Sebasti?n Kulesz didn't update the repository yet... -- Beno?t Minisini From g4mba5 at gmail.com Mon Oct 7 22:32:15 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 7 Oct 2019 22:32:15 +0200 Subject: [Gambas-user] webpage editor In-Reply-To: <20191004083550.M30901@455.co.il> References: <20190623164441.M94240@455.co.il> <20190629195500.M42026@455.co.il> <20191004083550.M30901@455.co.il> Message-ID: <6ac15ea1-38e3-27dc-8e5e-ea6fa25d2836@gmail.com> Le 04/10/2019 ? 10:38, Mayost Sharon a ?crit?: > I wanted to know if there was a fix for this bug > I tried to check in the latest version 3.14 > It still makes the same problem > > I again attach two pictures that show the problem >>> When I register <%%> everything is fine >>> But if I delete the last percent sign and move up with the cursor up >>> All HTML code gets a space and it destroys HTML Why should it be a bug? Highlighting is done when the line cursor changes. So, if you remove the "%" from "%>", and move the cursor to a different line, all the text after the new ">" until the next "%>" is assumed to be Gambas code, and is highlighted accordingly. What do you want the editor to do? -- Beno?t Minisini From sebikul at gmail.com Mon Oct 7 22:56:38 2019 From: sebikul at gmail.com (=?UTF-8?Q?Sebasti=C3=A1n_Kulesz?=) Date: Mon, 7 Oct 2019 17:56:38 -0300 Subject: [Gambas-user] Still doesn't work update repository of gambas 3.14 In-Reply-To: <3f83bdb7-d5a6-1a6b-d554-49b608f79f69@gmail.com> References: <3f83bdb7-d5a6-1a6b-d554-49b608f79f69@gmail.com> Message-ID: I'm sorry I didn't have time to update it yet. I'm gonna do my best to update it tonight! On Mon, Oct 7, 2019, 5:28 PM Beno?t Minisini wrote: > Le 07/10/2019 ? 20:58, Jorge Carri?n a ?crit : > > ??? > > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > I guess Sebasti?n Kulesz didn't update the repository yet... > > -- > Beno?t Minisini > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From charlie at cogier.com Tue Oct 8 16:47:52 2019 From: charlie at cogier.com (Charlie Ogier) Date: Tue, 8 Oct 2019 15:47:52 +0100 Subject: [Gambas-user] PPA issue Message-ID: <2e4f98c7-d846-ad77-cbc1-f5f9d783d870@cogier.com> Hi, The PPA for 3.14 seems to be missing 'gb.form.print'. Starting Gambas from terminal results in: - gbr3: unable to load component: gb.form.print Thanks, Charlie From sebikul at gmail.com Tue Oct 8 17:27:32 2019 From: sebikul at gmail.com (=?UTF-8?Q?Sebasti=C3=A1n_Kulesz?=) Date: Tue, 8 Oct 2019 12:27:32 -0300 Subject: [Gambas-user] PPA issue In-Reply-To: <2e4f98c7-d846-ad77-cbc1-f5f9d783d870@cogier.com> References: <2e4f98c7-d846-ad77-cbc1-f5f9d783d870@cogier.com> Message-ID: Sorry for the issue! A new build should be available in a few minutes. On Tue, Oct 8, 2019, 12:14 PM Charlie Ogier wrote: > Hi, > > The PPA for 3.14 seems to be missing 'gb.form.print'. Starting Gambas > from terminal results in: - gbr3: unable to load component: gb.form.print > > Thanks, > > Charlie > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shordi at gmail.com Tue Oct 8 17:44:06 2019 From: shordi at gmail.com (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Tue, 8 Oct 2019 17:44:06 +0200 Subject: [Gambas-user] Gambas 3.14 updated! Message-ID: Thanks Sebastian, thanks Beno?t. Best Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Wed Oct 9 01:46:41 2019 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Tue, 8 Oct 2019 19:46:41 -0400 Subject: [Gambas-user] socket/remote app to create user linux? how? Message-ID: hi, guys sorry for abstent.. i was in a php journey development.. i'm back with a new task and ask for help i want to make an app to send simple messages to create users... both apps will be in localnetworks so there's no need of security involved (maybe later to release code as free software) i want to make it with socket but also think make with json messages.. there's some piece of simple code to start and explanation of how to work? my main idea it's to use as backend app for a frontend gui interface! -- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From mckaygerhard at gmail.com Wed Oct 9 05:05:33 2019 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Tue, 8 Oct 2019 23:05:33 -0400 Subject: [Gambas-user] script and alpine packaginh Message-ID: i want to maje automated packages for aopimne but due gambas are huge i need some help: each component have a file where i can parse all necessary information to automatically made the packages ? thanks in advance Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From brian at westwoodsvcs.com Wed Oct 9 08:44:02 2019 From: brian at westwoodsvcs.com (Brian G) Date: Tue, 8 Oct 2019 23:44:02 -0700 (PDT) Subject: [Gambas-user] meaning of {} Message-ID: <63554297.380.1570603442904.JavaMail.zimbra@westwoodsvcs.com> I have seen examples of {} being used. I am unable to find any ref to this in wiki so I ask dim Time as Long {Time} = 1 so in this what does the {} do? Thank You Brian G -------------- next part -------------- An HTML attachment was scrubbed... URL: From genbraga1 at gmail.com Wed Oct 9 10:50:48 2019 From: genbraga1 at gmail.com (gen braga) Date: Wed, 9 Oct 2019 05:50:48 -0300 Subject: [Gambas-user] meaning of {} In-Reply-To: <63554297.380.1570603442904.JavaMail.zimbra@westwoodsvcs.com> References: <63554297.380.1570603442904.JavaMail.zimbra@westwoodsvcs.com> Message-ID: http://gambaswiki.org/wiki/lang/resident?nh Regards, Em qua, 9 de out de 2019 04:11, Brian G escreveu: > I have seen examples of {} being used. I am unable to find any ref to this > in wiki so I ask > > dim Time as Long > > {Time} = 1 > > so in this what does the {} do? > > Thank You > Brian G > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From peterpeyotle at gmx.de Wed Oct 9 16:53:16 2019 From: peterpeyotle at gmx.de (Peter Peyotle) Date: Wed, 09 Oct 2019 16:53:16 +0200 Subject: [Gambas-user] script and alpine packaginh In-Reply-To: References: Message-ID: I can not understand what you mean. Do you want to automatically install your application with all the required librairies, for example with a bash script? Von meinem Sony Xperia?-Smartphone gesendet ---- PICCORO McKAY Lenz schrieb ---- >i want to maje automated packages for aopimne but due gambas are huge >i need some help: > >each component have a file where i can parse all necessary information >to automatically made the packages ? > >thanks in advance > >Lenz McKAY Gerardo (PICCORO) >http://qgqlochekone.blogspot.com > >----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Thu Oct 10 15:44:03 2019 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Thu, 10 Oct 2019 09:44:03 -0400 Subject: [Gambas-user] script and alpine packaginh In-Reply-To: References: Message-ID: yeah something like that! i wnat to gnerate PKGBUILD scritp also debian/* files automatically on each release by a script! description will be taken from sources.. dependences etc! due are a huge project to mantain! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com El mi?., 9 de oct. de 2019 a la(s) 10:54, Peter Peyotle (peterpeyotle at gmx.de) escribi?: > > I can not understand what you mean. Do you want to automatically install your application with all the required librairies, for example with a bash script? > > > Von meinem Sony Xperia?-Smartphone gesendet > > ---- PICCORO McKAY Lenz schrieb ---- > > i want to maje automated packages for aopimne but due gambas are huge > i need some help: > > each component have a file where i can parse all necessary information > to automatically made the packages ? > > thanks in advance > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From mckaygerhard at gmail.com Thu Oct 10 15:45:39 2019 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Thu, 10 Oct 2019 09:45:39 -0400 Subject: [Gambas-user] meaning of {} In-Reply-To: References: <63554297.380.1570603442904.JavaMail.zimbra@westwoodsvcs.com> Message-ID: since witch version of gambas? are possible to use reserved keywords as identifiers? http://gambaswiki.org/wiki/lang/resident?nh Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com El mi?., 9 de oct. de 2019 a la(s) 04:52, gen braga (genbraga1 at gmail.com) escribi?: > > http://gambaswiki.org/wiki/lang/resident?nh > > Regards, > > Em qua, 9 de out de 2019 04:11, Brian G escreveu: >> >> I have seen examples of {} being used. I am unable to find any ref to this in wiki so I ask >> >> dim Time as Long >> >> {Time} = 1 >> >> so in this what does the {} do? >> >> Thank You >> Brian G >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From mckaygerhard at gmail.com Thu Oct 10 15:46:28 2019 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Thu, 10 Oct 2019 09:46:28 -0400 Subject: [Gambas-user] socket/remote app to create user linux? how? In-Reply-To: References: Message-ID: no responses ? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com El mar., 8 de oct. de 2019 a la(s) 19:46, PICCORO McKAY Lenz (mckaygerhard at gmail.com) escribi?: > > hi, guys sorry for abstent.. i was in a php journey development.. i'm > back with a new task and ask for help > > i want to make an app to send simple messages to create users... both > apps will be in localnetworks so there's no need of security involved > (maybe later to release code as free software) > > i want to make it with socket but also think make with json messages.. > > there's some piece of simple code to start and explanation of how to work? > > my main idea it's to use as backend app for a frontend gui interface! > > -- > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com From genbraga1 at gmail.com Thu Oct 10 16:09:13 2019 From: genbraga1 at gmail.com (gen braga) Date: Thu, 10 Oct 2019 11:09:13 -0300 Subject: [Gambas-user] socket/remote app to create user linux? how? In-Reply-To: References: Message-ID: https://gitlab.com/gambas/gambas/tree/master/app/examples/Networking Check your examples folder. Regards, Em qui, 10 de out de 2019 10:47, PICCORO McKAY Lenz escreveu: > no responses ? > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > El mar., 8 de oct. de 2019 a la(s) 19:46, PICCORO McKAY Lenz > (mckaygerhard at gmail.com) escribi?: > > > > hi, guys sorry for abstent.. i was in a php journey development.. i'm > > back with a new task and ask for help > > > > i want to make an app to send simple messages to create users... both > > apps will be in localnetworks so there's no need of security involved > > (maybe later to release code as free software) > > > > i want to make it with socket but also think make with json messages.. > > > > there's some piece of simple code to start and explanation of how to > work? > > > > my main idea it's to use as backend app for a frontend gui interface! > > > > -- > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From taboege at gmail.com Thu Oct 10 16:59:02 2019 From: taboege at gmail.com (Tobias Boege) Date: Thu, 10 Oct 2019 16:59:02 +0200 Subject: [Gambas-user] meaning of {} In-Reply-To: References: <63554297.380.1570603442904.JavaMail.zimbra@westwoodsvcs.com> Message-ID: <20191010145729.GU20111@highrise.localdomain> On Thu, 10 Oct 2019, PICCORO McKAY Lenz wrote: > since witch version of gambas? are possible to use reserved keywords > as identifiers? > Nobody knows (except maybe Beno?t). The functionality was already present when the Gambas interpreter entered version control in 2006. That was Gambas 1.9.43. The git repository we currently have only goes back to r893 from 2007. You will have to look at the SVN repository in sourceforge to confirm what I said. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas.fr at gmail.com Thu Oct 10 20:50:52 2019 From: gambas.fr at gmail.com (Fabien Bodard) Date: Thu, 10 Oct 2019 20:50:52 +0200 Subject: [Gambas-user] Demo based on a css like contructor Message-ID: I've done a little set of class that act like an object tree + stylesheet system. -- Fabien Bodard -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ObjectStyle-0.0.1.tar.gz Type: application/gzip Size: 25461 bytes Desc: not available URL: From bagonergi at gmail.com Sat Oct 12 18:07:35 2019 From: bagonergi at gmail.com (Gianluigi) Date: Sat, 12 Oct 2019 18:07:35 +0200 Subject: [Gambas-user] PPA and qt5 libraries Message-ID: Hi Sebastian, I remember that the problem of qt5 libraries continues by installing Gambas from PPA on Ubuntu 18.04: gb.gui.qt: warning: 'gb.qt5' component not found, using 'gb.qt4' instead Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Sun Oct 13 12:17:18 2019 From: bagonergi at gmail.com (Gianluigi) Date: Sun, 13 Oct 2019 12:17:18 +0200 Subject: [Gambas-user] Packages question Message-ID: Hi Benoit, If I remember correctly, you could create the installation packages of our application only from the stable version of Gambas. I ask myself why, if I try to create them from Gambas develop, I only get support packages (or at least I think they are support packages since they don't install, see here the terminal answer [*]): _gtk_0.0.1-0ubuntu1_all.deb _gtk3_0.0.1-0ubuntu1_all.deb _qt4_0.0.1-0ubuntu1_all.deb _qt5_0.0.1-0ubuntu1_all.deb without the real installation package ( _0.0.1-0ubuntu1_all.deb) instead of a warning that I can't create packages from the develop version. Or maybe now you can also create packages from develop and this is a bug. I attach the log file Regards Gianluigi [*] $ LANG="C" sudo dpkg -i scrollareatabpanel-gtk3_0.0.5-0ubuntu1_all.deb (Reading database ... 259256 files and directories currently installed.) Preparing to unpack scrollareatabpanel-gtk3_0.0.5-0ubuntu1_all.deb ... Unpacking scrollareatabpanel-gtk3 (0.0.5-0ubuntu1) over (0.0.5-0ubuntu1) ... dpkg: dependency problems prevent configuration of scrollareatabpanel-gtk3: scrollareatabpanel-gtk3 depends on scrollareatabpanel (>= 0.0.5); however: Package scrollareatabpanel is not installed. scrollareatabpanel-gtk3 depends on scrollareatabpanel (<= 0.0.5); however: Package scrollareatabpanel is not installed. scrollareatabpanel-gtk3 depends on gambas3-gb-gtk3 (>= 3.14); however: Package gambas3-gb-gtk3 is not installed. scrollareatabpanel-gtk3 depends on gambas3-gb-gtk3 (<< 3.99.0); however: Package gambas3-gb-gtk3 is not installed. dpkg: error processing package scrollareatabpanel-gtk3 (--install): dependency problems - leaving unconfigured Errors were encountered while processing: scrollareatabpanel-gtk3 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: deb.zip Type: application/zip Size: 1564 bytes Desc: not available URL: From g4mba5 at gmail.com Sun Oct 13 19:21:22 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 13 Oct 2019 19:21:22 +0200 Subject: [Gambas-user] Packages question In-Reply-To: References: Message-ID: <3b604521-c262-b24f-0f6a-15cfcf34216c@gmail.com> Le 13/10/2019 ? 12:17, Gianluigi a ?crit?: > Hi Benoit, > > If I remember correctly, you could create the installation packages of > our application only from the stable version of Gambas. > I ask myself why, if I try to create them from Gambas develop, I only > get support packages (or at least I think they are support packages > since they don't install, see here the terminal answer [*]): > [...] Can you send me the project you tried to package? -- Beno?t Minisini From bagonergi at gmail.com Sun Oct 13 19:46:20 2019 From: bagonergi at gmail.com (Gianluigi) Date: Sun, 13 Oct 2019 19:46:20 +0200 Subject: [Gambas-user] Packages question In-Reply-To: <3b604521-c262-b24f-0f6a-15cfcf34216c@gmail.com> References: <3b604521-c262-b24f-0f6a-15cfcf34216c@gmail.com> Message-ID: Il giorno dom 13 ott 2019 alle ore 19:22 Beno?t Minisini ha scritto: > Le 13/10/2019 ? 12:17, Gianluigi a ?crit : > > Hi Benoit, > > > > If I remember correctly, you could create the installation packages of > > our application only from the stable version of Gambas. > > I ask myself why, if I try to create them from Gambas develop, I only > > get support packages (or at least I think they are support packages > > since they don't install, see here the terminal answer [*]): > > [...] > > Can you send me the project you tried to package? > > -- > Beno?t Minisini > Hi Benoit, I enclose the two projects with which I have tried. Note that I installed ScrllAreaTabPanel without problems in a virtual Ubuntu with stable Gambas from PPA. It seems this is an error [*] that occurs only if Gambas is compiled. In fact, Gambas stable from PPA has been removed and Gambas stable is compiled , I get an error again by trying to install DBSpeedyTest-2. Regards Gianluigi [*] $ sudo LANG="C" dpkg -i ~/Documenti/ubuntu/dbspeedytest-2-qt4_0.1.5-0ubuntu1_all.deb (Reading database ... 175665 files and directories currently installed.) Preparing to unpack .../dbspeedytest-2-qt4_0.1.5-0ubuntu1_all.deb ... Unpacking dbspeedytest-2-qt4 (0.1.5-0ubuntu1) over (0.1.5-0ubuntu1) ... dpkg: dependency problems prevent configuration of dbspeedytest-2-qt4: dbspeedytest-2-qt4 depends on dbspeedytest-2 (>= 0.1.5); however: Package dbspeedytest-2 is not installed. dbspeedytest-2-qt4 depends on dbspeedytest-2 (<= 0.1.5); however: Package dbspeedytest-2 is not installed. dpkg: error processing package dbspeedytest-2-qt4 (--install): dependency problems - leaving unconfigured Errors were encountered while processing: dbspeedytest-2-qt4 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: scrollAreaTabPanel-0.0.5.tar.gz Type: application/gzip Size: 13019 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: DBSpeedyTest-2-0.1.5.tar.gz Type: application/gzip Size: 26517 bytes Desc: not available URL: From bagonergi at gmail.com Sun Oct 13 20:18:57 2019 From: bagonergi at gmail.com (Gianluigi) Date: Sun, 13 Oct 2019 20:18:57 +0200 Subject: [Gambas-user] Packages question In-Reply-To: References: <3b604521-c262-b24f-0f6a-15cfcf34216c@gmail.com> Message-ID: Edit: I had wrong the file to install, sorry, I always get error but I also get the installation: giangi at giangi:~$ sudo LANG="C" dpkg -i ~/Documenti/ubuntu/dbspeedytest-2_0.1.5-0ubuntu1_all.deb [sudo] password di giangi: Selecting previously unselected package dbspeedytest-2. (Reading database ... 175662 files and directories currently installed.) Preparing to unpack .../dbspeedytest-2_0.1.5-0ubuntu1_all.deb ... Unpacking dbspeedytest-2 (0.1.5-0ubuntu1) ... dpkg: dependency problems prevent configuration of dbspeedytest-2: dbspeedytest-2 depends on gambas3-gb-db (>= 3.14); however: Package gambas3-gb-db is not installed. dbspeedytest-2 depends on gambas3-gb-db (<< 3.99.0); however: Package gambas3-gb-db is not installed. dbspeedytest-2 depends on gambas3-gb-util (>= 3.14); however: Package gambas3-gb-util is not installed. dbspeedytest-2 depends on gambas3-gb-util (<< 3.99.0); however: Package gambas3-gb-util is not installed. dbspeedytest-2 depends on gambas3-gb-settings (>= 3.14); however: Package gambas3-gb-settings is not installed. dbspeedytest-2 depends on gambas3-gb-settings (<< 3.99.0); however: Package gambas3-gb-settings is not installed. dpkg: error processing package dbspeedytest-2 (--install): dependency problems - leaving unconfigured Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ... Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ... Processing triggers for mime-support (3.60ubuntu1) ... Processing triggers for hicolor-icon-theme (0.17-2) ... Errors were encountered while processing: dbspeedytest-2 giangi at giangi:~$ dbspeedytest-2 #Database creato con successo! Regards Gianluigi Il giorno dom 13 ott 2019 alle ore 19:46 Gianluigi ha scritto: > > > Il giorno dom 13 ott 2019 alle ore 19:22 Beno?t Minisini > ha scritto: > >> Le 13/10/2019 ? 12:17, Gianluigi a ?crit : >> > Hi Benoit, >> > >> > If I remember correctly, you could create the installation packages of >> > our application only from the stable version of Gambas. >> > I ask myself why, if I try to create them from Gambas develop, I only >> > get support packages (or at least I think they are support packages >> > since they don't install, see here the terminal answer [*]): >> > [...] >> >> Can you send me the project you tried to package? >> >> -- >> Beno?t Minisini >> > > Hi Benoit, > > I enclose the two projects with which I have tried. > > Note that I installed ScrllAreaTabPanel without problems in a virtual > Ubuntu with stable Gambas from PPA. > > It seems this is an error [*] that occurs only if Gambas is compiled. In > fact, Gambas stable from PPA has been removed and Gambas stable is compiled > , I get an error again by trying to install DBSpeedyTest-2. > > Regards > Gianluigi > > [*] > $ sudo LANG="C" dpkg -i > ~/Documenti/ubuntu/dbspeedytest-2-qt4_0.1.5-0ubuntu1_all.deb > (Reading database ... 175665 files and directories currently installed.) > Preparing to unpack .../dbspeedytest-2-qt4_0.1.5-0ubuntu1_all.deb ... > Unpacking dbspeedytest-2-qt4 (0.1.5-0ubuntu1) over (0.1.5-0ubuntu1) ... > dpkg: dependency problems prevent configuration of dbspeedytest-2-qt4: > dbspeedytest-2-qt4 depends on dbspeedytest-2 (>= 0.1.5); however: > Package dbspeedytest-2 is not installed. > dbspeedytest-2-qt4 depends on dbspeedytest-2 (<= 0.1.5); however: > Package dbspeedytest-2 is not installed. > > dpkg: error processing package dbspeedytest-2-qt4 (--install): > dependency problems - leaving unconfigured > Errors were encountered while processing: > dbspeedytest-2-qt4 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Sun Oct 13 23:34:46 2019 From: bagonergi at gmail.com (Gianluigi) Date: Sun, 13 Oct 2019 23:34:46 +0200 Subject: [Gambas-user] Packages question In-Reply-To: References: <3b604521-c262-b24f-0f6a-15cfcf34216c@gmail.com> Message-ID: Hi Benoit, I have successfully installed DBSpeedyTest-2 on Ubuntu with the PPA Gambas stable. I attach the log file. This is the terminal's answer: $ LANG="C" sudo dpkg -i dbspeedytest-2_0.1.5-0ubuntu1_all.deb [sudo] password for ornella: Selecting previously unselected package dbspeedytest-2. (Reading database ... 162897 files and directories currently installed.) Preparing to unpack dbspeedytest-2_0.1.5-0ubuntu1_all.deb ... Unpacking dbspeedytest-2 (0.1.5-0ubuntu1) ... Setting up dbspeedytest-2 (0.1.5-0ubuntu1) ... Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ... Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ... Processing triggers for mime-support (3.60ubuntu1) ... Processing triggers for hicolor-icon-theme (0.17-2) ... $ dbspeedytest-2 gb.gui.qt: warning: 'gb.qt5' component not found, using 'gb.qt4' instead #Database creato con successo! Regards and Good night Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Speedy.zip Type: application/zip Size: 1416 bytes Desc: not available URL: From bagonergi at gmail.com Sun Oct 13 23:57:00 2019 From: bagonergi at gmail.com (Gianluigi) Date: Sun, 13 Oct 2019 23:57:00 +0200 Subject: [Gambas-user] Packages question In-Reply-To: References: <3b604521-c262-b24f-0f6a-15cfcf34216c@gmail.com> Message-ID: Hi Benoit, I noticed one thing, by launching the program from the terminal in minuscule way, a different folder (dbspeedytest-2) is created in the home from the one obtained by launching the program from its system icon (DBSpeedyTest-2). This behavior can cause a big problem. Good night again Gianluigi Il giorno dom 13 ott 2019 alle ore 23:34 Gianluigi ha scritto: > > > Hi Benoit, > > I have successfully installed DBSpeedyTest-2 on Ubuntu with the PPA Gambas > stable. > I attach the log file. > This is the terminal's answer: > > $ LANG="C" sudo dpkg -i dbspeedytest-2_0.1.5-0ubuntu1_all.deb > [sudo] password for ornella: > Selecting previously unselected package dbspeedytest-2. > (Reading database ... 162897 files and directories currently installed.) > Preparing to unpack dbspeedytest-2_0.1.5-0ubuntu1_all.deb ... > Unpacking dbspeedytest-2 (0.1.5-0ubuntu1) ... > Setting up dbspeedytest-2 (0.1.5-0ubuntu1) ... > Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ... > Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ... > Processing triggers for mime-support (3.60ubuntu1) ... > Processing triggers for hicolor-icon-theme (0.17-2) ... > > $ dbspeedytest-2 > gb.gui.qt: warning: 'gb.qt5' component not found, using 'gb.qt4' instead > #Database creato con successo! > > Regards and Good night > Gianluigi > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Mon Oct 14 14:27:08 2019 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Mon, 14 Oct 2019 08:27:08 -0400 Subject: [Gambas-user] socket/remote app to create user linux? how? In-Reply-To: References: Message-ID: El jue., 10 de oct. de 2019 a la(s) 10:10, gen braga (genbraga1 at gmail.com) escribi?: 1) examples are not distributed with offline tarball and i not have network 14/7 > https://gitlab.com/gambas/gambas/tree/master/app/examples/Networking 2) is directory, a folder its to put folios > Check your examples folder. ALSO: ServerSocket and ClientSocket are using hardcoded qt5 event a generic gui component! > > Regards, > > Em qui, 10 de out de 2019 10:47, PICCORO McKAY Lenz escreveu: >> >> no responses ? >> >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> El mar., 8 de oct. de 2019 a la(s) 19:46, PICCORO McKAY Lenz >> (mckaygerhard at gmail.com) escribi?: >> > >> > hi, guys sorry for abstent.. i was in a php journey development.. i'm >> > back with a new task and ask for help >> > >> > i want to make an app to send simple messages to create users... both >> > apps will be in localnetworks so there's no need of security involved >> > (maybe later to release code as free software) >> > >> > i want to make it with socket but also think make with json messages.. >> > >> > there's some piece of simple code to start and explanation of how to work? >> > >> > my main idea it's to use as backend app for a frontend gui interface! >> > >> > -- >> > Lenz McKAY Gerardo (PICCORO) >> > http://qgqlochekone.blogspot.com >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From genbraga1 at gmail.com Mon Oct 14 14:42:09 2019 From: genbraga1 at gmail.com (gen braga) Date: Mon, 14 Oct 2019 09:42:09 -0300 Subject: [Gambas-user] socket/remote app to create user linux? how? In-Reply-To: References: Message-ID: Although the examples use GUI components, you can create them at run time. Take a look at: http://gambaswiki.org/wiki/doc/network There is a basic explanation. Em seg, 14 de out de 2019 09:28, PICCORO McKAY Lenz escreveu: > El jue., 10 de oct. de 2019 a la(s) 10:10, gen braga > (genbraga1 at gmail.com) escribi?: > > 1) examples are not distributed with offline tarball and i not have > network 14/7 > > > https://gitlab.com/gambas/gambas/tree/master/app/examples/Networking > > 2) is directory, a folder its to put folios > > Check your examples folder. > > ALSO: > ServerSocket and ClientSocket are using hardcoded qt5 event a generic > gui component! > > > > > Regards, > > > > Em qui, 10 de out de 2019 10:47, PICCORO McKAY Lenz < > mckaygerhard at gmail.com> escreveu: > >> > >> no responses ? > >> > >> Lenz McKAY Gerardo (PICCORO) > >> http://qgqlochekone.blogspot.com > >> > >> El mar., 8 de oct. de 2019 a la(s) 19:46, PICCORO McKAY Lenz > >> (mckaygerhard at gmail.com) escribi?: > >> > > >> > hi, guys sorry for abstent.. i was in a php journey development.. i'm > >> > back with a new task and ask for help > >> > > >> > i want to make an app to send simple messages to create users... both > >> > apps will be in localnetworks so there's no need of security involved > >> > (maybe later to release code as free software) > >> > > >> > i want to make it with socket but also think make with json messages.. > >> > > >> > there's some piece of simple code to start and explanation of how to > work? > >> > > >> > my main idea it's to use as backend app for a frontend gui interface! > >> > > >> > -- > >> > Lenz McKAY Gerardo (PICCORO) > >> > http://qgqlochekone.blogspot.com > >> > >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Mon Oct 14 15:12:33 2019 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Mon, 14 Oct 2019 09:12:33 -0400 Subject: [Gambas-user] ServerSocket type and path seems only work locallly.. how network? Message-ID: seems ServerSocket have issues.. http://gambaswiki.org/wiki/comp/gb.net/serversocket/type?l=en&nh&nl seems does not work also http://gambaswiki.org/wiki/comp/gb.net/serversocket/interface are market as does not work under linux "UNDER LINUX????!!!" gambas are developed under linux and does not work under linux that' really interesting X-D ... but horrible! so my socket cannot listeing over the network? seem does not work .. how can i do? that's why my previous mail ask for examples Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From genbraga1 at gmail.com Mon Oct 14 15:17:54 2019 From: genbraga1 at gmail.com (gen braga) Date: Mon, 14 Oct 2019 10:17:54 -0300 Subject: [Gambas-user] ServerSocket type and path seems only work locallly.. how network? In-Reply-To: References: Message-ID: Did you read the last link I sent you? There's a fully working example. Em seg, 14 de out de 2019 10:13, PICCORO McKAY Lenz escreveu: > seems ServerSocket have issues.. > > http://gambaswiki.org/wiki/comp/gb.net/serversocket/type?l=en&nh&nl > > seems does not work also > > http://gambaswiki.org/wiki/comp/gb.net/serversocket/interface > > are market as does not work under linux "UNDER LINUX????!!!" gambas > are developed under linux and does not work under linux that' really > interesting X-D ... but horrible! > > so my socket cannot listeing over the network? seem does not work .. > how can i do? > > that's why my previous mail ask for examples > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Mon Oct 14 17:00:23 2019 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Mon, 14 Oct 2019 11:00:23 -0400 Subject: [Gambas-user] ServerSocket type and path seems only work locallly.. how network? In-Reply-To: References: Message-ID: it's not worlking need some fixeds connetionsocket clients does not work if we used localhost, we must typed only "127.0.0.1" or direct ip's domains does seems not work if there's no networking globalconnections also wiki said: http://gambaswiki.org/wiki/comp/gb.net/serversocket/interface are market as does not work under linux i tested and i cannot preselect interface.. that are a problem in the laptop due i must customize the lower active interface rules to a VPN at the job Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com El lun., 14 de oct. de 2019 a la(s) 09:19, gen braga (genbraga1 at gmail.com) escribi?: > > Did you read the last link I sent you? > > There's a fully working example. > > Em seg, 14 de out de 2019 10:13, PICCORO McKAY Lenz escreveu: >> >> seems ServerSocket have issues.. >> >> http://gambaswiki.org/wiki/comp/gb.net/serversocket/type?l=en&nh&nl >> >> seems does not work also >> >> http://gambaswiki.org/wiki/comp/gb.net/serversocket/interface >> >> are market as does not work under linux "UNDER LINUX????!!!" gambas >> are developed under linux and does not work under linux that' really >> interesting X-D ... but horrible! >> >> so my socket cannot listeing over the network? seem does not work .. >> how can i do? >> >> that's why my previous mail ask for examples >> >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From mckaygerhard at gmail.com Mon Oct 14 17:06:32 2019 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Mon, 14 Oct 2019 11:06:32 -0400 Subject: [Gambas-user] best way to use the stream from server socket? Message-ID: I'd like a better explanation of how I could separate what I take out of the flow from the object that receives the flow on the socket server. sorry i'm pretty late now in gambas.. due i have been busy I'm pretty rusty on programming now and I'm under pressure... i have that piece of code but i?m not using events in that class: Public Clients As Object[] Public Srv As ServerSocket Public Sub Socket_Read() Dim sCad As String Read #Last, sCad, Lof(Last) Print "Comando recibido --> " & sCad Write #Last, "Comando recibido...", 19 '1234567890123456789 End (lest assume _new, _close and connect Sub's) i have a main module.. if i have too many impelmentations of that class maybe the stream object will be very stressed.. so how to property implement? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From genbraga1 at gmail.com Mon Oct 14 18:07:12 2019 From: genbraga1 at gmail.com (gen braga) Date: Mon, 14 Oct 2019 13:07:12 -0300 Subject: [Gambas-user] best way to use the stream from server socket? In-Reply-To: References: Message-ID: Try this simple example. I'm using UDP as it seems to me it's enough for what you need. server side: -----8<-------------------------- Private $ServerSocket As New UdpSocket As "ServerSocket" Public Sub Main() $ServerSocket.Port = "9876" $ServerSocket.Host = "127.0.0.1" $ServerSocket.Bind() If $ServerSocket.Status < Net.Active Then Stop End Public Sub ServerSocket_Read() Dim Command As Byte Dim Parameter1 As Integer Dim Parameter2 As String Dim Parameter3 As Boolean Command = Read #$ServerSocket As Byte Parameter1 = Read #$ServerSocket As Integer Parameter2 = Read #$ServerSocket As String Parameter3 = Read #$ServerSocket As Boolean Print Command Print Parameter1 Print Parameter2 Print Parameter3 End -----8<-------------------------- client side: -----8<-------------------------- Private $ClientSocket As New UdpSocket Public Sub Main() Dim Command As Byte = 10 Dim Parameter1 As Integer = 1000 Dim Parameter2 As String = "Parameter" Dim Parameter3 As Boolean = True $ClientSocket.TargetHost = "127.0.0.1" $ClientSocket.TargetPort = "9876" $ClientSocket.Bind() If $ClientSocket.Status < Net.Active Then Stop $ClientSocket.Begin Write #$ClientSocket, Command As Byte Write #$ClientSocket, Parameter1 As Integer Write #$ClientSocket, Parameter2 As String Write #$ClientSocket, Parameter3 As Boolean $ClientSocket.Send $ClientSocket.Close() End -----8<-------------------------- There are better ways to do the same but for now I think this is enough, as you said ur under pressure. - Regards, 2019-10-14 12:06 GMT-03:00, PICCORO McKAY Lenz : > I'd like a better explanation of how I could separate what I take out > of the flow from the object that receives the flow on the socket > server. > > sorry i'm pretty late now in gambas.. due i have been busy I'm pretty > rusty on programming now and I'm under pressure... > > i have that piece of code but i?m not using events in that class: > > Public Clients As Object[] > Public Srv As ServerSocket > > Public Sub Socket_Read() > > Dim sCad As String > Read #Last, sCad, Lof(Last) > Print "Comando recibido --> " & sCad > Write #Last, "Comando recibido...", 19 > '1234567890123456789 > End > > (lest assume _new, _close and connect Sub's) > > i have a main module.. if i have too many impelmentations of that > class maybe the stream object will be very stressed.. so how to > property implement? > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From mckaygerhard at gmail.com Mon Oct 14 20:07:56 2019 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Mon, 14 Oct 2019 14:07:56 -0400 Subject: [Gambas-user] best way to use the stream from server socket? In-Reply-To: References: Message-ID: El lun., 14 de oct. de 2019 a la(s) 12:08, gen braga (genbraga1 at gmail.com) escribi?: > > Try this simple example. > I'm using UDP as it seems to me it's enough for what you need. Great ... thanks ! was perfect! > > server side: > > -----8<-------------------------- > Private $ServerSocket As New UdpSocket As "ServerSocket" > > Public Sub Main() > > $ServerSocket.Port = "9876" > $ServerSocket.Host = "127.0.0.1" > $ServerSocket.Bind() > > If $ServerSocket.Status < Net.Active Then Stop > > End > > Public Sub ServerSocket_Read() > Dim Command As Byte > Dim Parameter1 As Integer > Dim Parameter2 As String > Dim Parameter3 As Boolean > > Command = Read #$ServerSocket As Byte > Parameter1 = Read #$ServerSocket As Integer > Parameter2 = Read #$ServerSocket As String > Parameter3 = Read #$ServerSocket As Boolean > > Print Command > Print Parameter1 > Print Parameter2 > Print Parameter3 > > End > -----8<-------------------------- > > client side: > > -----8<-------------------------- > Private $ClientSocket As New UdpSocket > > Public Sub Main() > > Dim Command As Byte = 10 > Dim Parameter1 As Integer = 1000 > Dim Parameter2 As String = "Parameter" > Dim Parameter3 As Boolean = True > > $ClientSocket.TargetHost = "127.0.0.1" > $ClientSocket.TargetPort = "9876" > $ClientSocket.Bind() > > If $ClientSocket.Status < Net.Active Then Stop > > $ClientSocket.Begin > Write #$ClientSocket, Command As Byte > Write #$ClientSocket, Parameter1 As Integer > Write #$ClientSocket, Parameter2 As String > Write #$ClientSocket, Parameter3 As Boolean > $ClientSocket.Send > > $ClientSocket.Close() > End > -----8<-------------------------- > > There are better ways to do the same but for now I think this is > enough, as you said ur under pressure. > > - > Regards, > > 2019-10-14 12:06 GMT-03:00, PICCORO McKAY Lenz : > > I'd like a better explanation of how I could separate what I take out > > of the flow from the object that receives the flow on the socket > > server. > > > > sorry i'm pretty late now in gambas.. due i have been busy I'm pretty > > rusty on programming now and I'm under pressure... > > > > i have that piece of code but i?m not using events in that class: > > > > Public Clients As Object[] > > Public Srv As ServerSocket > > > > Public Sub Socket_Read() > > > > Dim sCad As String > > Read #Last, sCad, Lof(Last) > > Print "Comando recibido --> " & sCad > > Write #Last, "Comando recibido...", 19 > > '1234567890123456789 > > End > > > > (lest assume _new, _close and connect Sub's) > > > > i have a main module.. if i have too many impelmentations of that > > class maybe the stream object will be very stressed.. so how to > > property implement? > > > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From mckaygerhard at gmail.com Tue Oct 15 21:09:54 2019 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Tue, 15 Oct 2019 15:09:54 -0400 Subject: [Gambas-user] a command line with arguments to parsed program? Message-ID: i cannot see in examples a command line made that can receive parameters.. i just guess that in older versions of gamgbas (where examples are come buld in) there's one or not? if there's one.. where are that example? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From genbraga1 at gmail.com Tue Oct 15 21:18:17 2019 From: genbraga1 at gmail.com (gen braga) Date: Tue, 15 Oct 2019 16:18:17 -0300 Subject: [Gambas-user] a command line with arguments to parsed program? In-Reply-To: References: Message-ID: Dim process1 as process Process1=exec[executable, parameters] - Regards. Em ter, 15 de out de 2019 16:11, PICCORO McKAY Lenz escreveu: > i cannot see in examples a command line made that can receive parameters.. > > i just guess that in older versions of gamgbas (where examples are > come buld in) there's one > > > or not? if there's one.. where are that example? > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Tue Oct 15 21:22:09 2019 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Tue, 15 Oct 2019 15:22:09 -0400 Subject: [Gambas-user] a command line with arguments to parsed program? In-Reply-To: References: Message-ID: El mar., 15 de oct. de 2019 a la(s) 15:19, gen braga (genbraga1 at gmail.com) escribi?: > > Process1=exec[executable, parameters] PUFFF stupid english... i mean i want to make a gambas console project that receive arguments.. ..+ are you so active here right? that's good!+ > > - > Regards. > > Em ter, 15 de out de 2019 16:11, PICCORO McKAY Lenz escreveu: >> >> i cannot see in examples a command line made that can receive parameters.. >> >> i just guess that in older versions of gamgbas (where examples are >> come buld in) there's one >> >> >> or not? if there's one.. where are that example? >> >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From genbraga1 at gmail.com Tue Oct 15 21:27:05 2019 From: genbraga1 at gmail.com (gen braga) Date: Tue, 15 Oct 2019 16:27:05 -0300 Subject: [Gambas-user] a command line with arguments to parsed program? In-Reply-To: References: Message-ID: http://gambaswiki.org/wiki/comp/gb.args Active? Nope. Just got a mobile mail reader and commuting time. Em ter, 15 de out de 2019 16:23, PICCORO McKAY Lenz escreveu: > El mar., 15 de oct. de 2019 a la(s) 15:19, gen braga > (genbraga1 at gmail.com) escribi?: > > > > Process1=exec[executable, parameters] > > PUFFF stupid english... > > i mean i want to make a gambas console project that receive arguments.. ..+ > > are you so active here right? that's good!+ > > > > > - > > Regards. > > > > Em ter, 15 de out de 2019 16:11, PICCORO McKAY Lenz < > mckaygerhard at gmail.com> escreveu: > >> > >> i cannot see in examples a command line made that can receive > parameters.. > >> > >> i just guess that in older versions of gamgbas (where examples are > >> come buld in) there's one > >> > >> > >> or not? if there's one.. where are that example? > >> > >> Lenz McKAY Gerardo (PICCORO) > >> http://qgqlochekone.blogspot.com > >> > >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Tue Oct 15 23:20:28 2019 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Tue, 15 Oct 2019 17:20:28 -0400 Subject: [Gambas-user] a command line with arguments to parsed program? In-Reply-To: References: Message-ID: El mar., 15 de oct. de 2019 a la(s) 15:28, gen braga (genbraga1 at gmail.com) escribi?: > > http://gambaswiki.org/wiki/comp/gb.args that wiki page does not have examples hey i ask about an example that was in logn older examles directory in old days when those was distributed alongside with gambas.. .. i try to find at the gambas farm with tags "example" and "console" and i cannot foudn any example the class wiki page only link here https://lists.gambas-basic.org/pipermail/user/2015-November/055653.html that has enough code and explanation but the idea was to put directly in the wiki so will apears in the ide! X-( > > Active? Nope. Just got a mobile mail reader and commuting time. > > Em ter, 15 de out de 2019 16:23, PICCORO McKAY Lenz escreveu: >> >> El mar., 15 de oct. de 2019 a la(s) 15:19, gen braga >> (genbraga1 at gmail.com) escribi?: >> > >> > Process1=exec[executable, parameters] >> >> PUFFF stupid english... >> >> i mean i want to make a gambas console project that receive arguments.. ..+ >> >> are you so active here right? that's good!+ >> >> > >> > - >> > Regards. >> > >> > Em ter, 15 de out de 2019 16:11, PICCORO McKAY Lenz escreveu: >> >> >> >> i cannot see in examples a command line made that can receive parameters.. >> >> >> >> i just guess that in older versions of gamgbas (where examples are >> >> come buld in) there's one >> >> >> >> >> >> or not? if there's one.. where are that example? >> >> >> >> Lenz McKAY Gerardo (PICCORO) >> >> http://qgqlochekone.blogspot.com >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > >> > >> > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From mckaygerhard at gmail.com Tue Oct 15 23:37:03 2019 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Tue, 15 Oct 2019 17:37:03 -0400 Subject: [Gambas-user] the wiki pages loads a little slow.. some mirrors? Message-ID: the access to the wiki from where I am (miami or sometimes panama city) is slow, page loas almost with 2 to 4 seconds on average! From dosida at gmail.com Wed Oct 16 07:57:05 2019 From: dosida at gmail.com (Dimitris Anogiatis) Date: Tue, 15 Oct 2019 23:57:05 -0600 Subject: [Gambas-user] a command line with arguments to parsed program? In-Reply-To: References: Message-ID: You can use gb.args in your program Arguments are separated by a space when they are used to run the program, for example when you call a gambas program like this: ./myprogram.gambas -t -f=2 --no-separate-pages you have 3 arguments: -t -f=2 --no-separate-pages (these three arguments are just an example they don't mean anything specific) Args.Count counts all the arguments, so in our example it would be 4 and that's because ./myprogram.gambas is also considered an argument (Argument 0, the first argument) You can check how many arguments we have by using Args.Max, which gives you whatever Args.Count gives you -1 So when you have more than one argument you can run through them and do your argument analysis that way. I think gb.Args also has some helper subs and functions for argument analysis. Check the documentation about gb.args and you'll see what I mean. Hope this helps out. On Tue, Oct 15, 2019 at 3:22 PM PICCORO McKAY Lenz wrote: > El mar., 15 de oct. de 2019 a la(s) 15:28, gen braga > (genbraga1 at gmail.com) escribi?: > > > > http://gambaswiki.org/wiki/comp/gb.args > that wiki page does not have examples > > hey i ask about an example that was in logn older examles directory in > old days when those was distributed alongside with gambas.. .. > > i try to find at the gambas farm with tags "example" and "console" and > i cannot foudn any example > > the class wiki page only link here > https://lists.gambas-basic.org/pipermail/user/2015-November/055653.html > that has enough code and explanation but the idea was to put directly > in the wiki so will apears in the ide! X-( > > > > > Active? Nope. Just got a mobile mail reader and commuting time. > > > > Em ter, 15 de out de 2019 16:23, PICCORO McKAY Lenz < > mckaygerhard at gmail.com> escreveu: > >> > >> El mar., 15 de oct. de 2019 a la(s) 15:19, gen braga > >> (genbraga1 at gmail.com) escribi?: > >> > > >> > Process1=exec[executable, parameters] > >> > >> PUFFF stupid english... > >> > >> i mean i want to make a gambas console project that receive arguments.. > ..+ > >> > >> are you so active here right? that's good!+ > >> > >> > > >> > - > >> > Regards. > >> > > >> > Em ter, 15 de out de 2019 16:11, PICCORO McKAY Lenz < > mckaygerhard at gmail.com> escreveu: > >> >> > >> >> i cannot see in examples a command line made that can receive > parameters.. > >> >> > >> >> i just guess that in older versions of gamgbas (where examples are > >> >> come buld in) there's one > >> >> > >> >> > >> >> or not? if there's one.. where are that example? > >> >> > >> >> Lenz McKAY Gerardo (PICCORO) > >> >> http://qgqlochekone.blogspot.com > >> >> > >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > >> > > >> > > >> > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > >> > >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dosida at gmail.com Wed Oct 16 07:59:18 2019 From: dosida at gmail.com (Dimitris Anogiatis) Date: Tue, 15 Oct 2019 23:59:18 -0600 Subject: [Gambas-user] the wiki pages loads a little slow.. some mirrors? In-Reply-To: References: Message-ID: 4 seconds is not that bad... 2 minutes it would be a problem. You could use filters to speed things up. On Tue, Oct 15, 2019 at 3:38 PM PICCORO McKAY Lenz wrote: > the access to the wiki from where I am (miami or sometimes panama city) is > slow, > page loas almost with 2 to 4 seconds on average! > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From adamnt42 at gmail.com Wed Oct 16 09:43:05 2019 From: adamnt42 at gmail.com (Bruce) Date: Wed, 16 Oct 2019 18:13:05 +1030 Subject: [Gambas-user] a command line with arguments to parsed program? In-Reply-To: References: Message-ID: Ok, lets get this sorted. First off, the difference between OPTIONS and ARGUMENTS. I'll use something we all have as an example. In a virtual terminal type gbc3 -h You should get something like: Compile Gambas projects into architecture-independent bytecode. Usage: gbc3 [options] [] Options: -g --debug add debugging information -v --verbose verbose output -a --all compile all -w --warnings display warnings -t --translate output translation files and compile them if needed -p --public-control form controls are public -m --public-module module symbols are public by default -s --swap swap endianness -r --root gives the gambas installation directory -e --translate-errors display translatable error messages -x --exec executable mode (define the 'Exec' preprocessor constant and remove assertions) -V --version display version -L --license display license -h --help display this help On the "Usage" line note that the program accepts optionally both OPTIONS and ARGUMENTS. In fact it uses 1 ARGUMENT the , which is mandatory in almost all cases.. Below that line is a list of the OPTIONS that can be used. Why is this important? Because the native Args class provided by the "gb" component considers the whole command line as a space delimited list of ARGUMENTS (no OPTIONS handling is done and it would be up to the program code to decipher each token and decide what it is and how to work with it. Enter the "gb.args" component. This component provides much more sophisticated handling of OPTIONS. The program ARGUMENTS are still returned as a read only array. There are two types of OPTIONS. The first I'll call "flags". These are OPTIONS that stand alone. Their presence in the command line or absence signifies something by itself. Almost all the gbc3 OPTIONS are flags. In fact all but the -r/--root options are flags. The second type I'll call "value" options. The -r/--root option requires a value i.e. a string value. Other value options you may want in your program could be floats or integers. So hopefully now we are clear on the difference between OPTIONS and ARGUMENTS. But one final note. All the header lines in the above gbc3 -h output above the Options: line are "usage" comments. So, what does gb.args provide? It exposes one class, "Args" as explained in the help page that performs a lot of work for your CLI projects without having to code it yourself. Firstly the simple one - the -V/--version OPTION is automatically handled, just by having the gb.args component included. Secondly the -h/--help OPTION is handled automatically and also you can provide very sophisticated information about you program by using the gb.args "algorithm" below. In your program startup module, i.e. the Main sub, (or a routine called by Main (to keep things nicely compartmentalised) we need to do the following: 1) Start the CLI options/arguments handler 2) Test for the presence of each of your program OPTIONS and where applicable, get their values 3) Tell the handler to stop parsing and return THE REST of the CLI input as a set of ARGUMENTS in a string array. so, by way of examplle: Private Sub ParseCLI() Args.Begin("This is my brilliant program") ' This is step 1, it "starts the program argument analysis". But it also takes a string argument that is the "usage" header printed when the -h option is included by the user on the command line. That is all you have to do to get your program to display as sophisticated a "usage" header as you require is to include it as a single string in the Args.Begin call. For example Dim sHeader As String = "mygbproject\n===========\n\nMy brilliant Gambas project\n\nUsage: mygbproject [options] " Args.Begin(sHeader) would result in a -h ouput usage header like: mygbproject =========== My brilliant Gambas project Usage: mygbproject Options: etc.... Now what sort of options do we want? Lets start with a simple "flag" that if present on the command line will cause you program to print out lots of debugging information as it runs. Let's say we are going to use -d/--debug. The way to test whether the user wants the debug output is to test for this flag using the Args.Has() function. So: $outputDebug = Args.Has("d","debug","If present the program will output lots of debugging information to the terminal") Noting that Args.Has() returns a boolean (that we will set a global variable so we can use it later where necessary). You also see the ShortName, LongName and Description parameters populated such that the -h output will now show : mygbproject =========== My brilliant Gambas project Usage: mygbproject Options: -d --debug If present the program will output lots of debugging information to the terminal -V --Version Display version -h --help Display this help Let's change our mind and provide three different levels of debug output. This time we use an integer value option as follows: $debugLevel = Args.GetInteger("d", "debug", "The program will output lotsheaps or tins of debugging information to the terminal", "level", 1) With this, if the user species the -d/--debug pair on the command line the $debugLevel value will be set to that value. (if they only provide the option without a value then it will be set to 1 - automagically! The -h output will now look like: mygbproject =========== My brilliant Gambas project Usage: mygbproject Options: -d --debug The program will output lots or heaps or tons of debugging information to the terminal (default=1) -V --Version Display version -h --help Display this help Hmm, we can do better than that! Is 1 equal to "lots" or "tons"? Lets try a string value option: $debugLevelStr = Args.Get("d", "debug", "The program will output lots (L) or heaps (H) or tons (T) of debugging information to the terminal", "level") If present then the $debugLevelStr value will be set to the value provided (NOTE! the gb.args Args.Get() function does NOT provide a default value!). And the -h output will look like: mygbproject =========== My brilliant Gambas project Usage: mygbproject Options: -d --debug The program will output lots (L) or heaps (H) or tons (T) of debugging information to the terminal -V --Version Display version -h --help Display this help Args.GetFloat() acts similarly to Args,GetInteger. Now there is only one thing left, the Args.End() call. This handles the program ARGUMENTS exactly as specified in the help page, So, $myArgs = Args.End() It would be usual to indicate the ARGUMENTS in the usage header indicating whether they are optional and whether multiple values are handled. Say we need one or more file names as ARGUMENTS. Then something like mygbproject =========== My brilliant Gambas project Usage: mygbproject [filename]... Options: -d --debug The program will output lots (L) or heaps (H) or tons (T) of debugging information to the terminal - -- <> -V --Version Display version -h --help Display this help would be appropriate. I think that's about the simplest I can put it. When you consider the amount of code you would have to write to handle the above using the simple gb Args class, it's quite amazing actually. hth bruce From adamnt42 at gmail.com Wed Oct 16 10:21:09 2019 From: adamnt42 at gmail.com (Bruce) Date: Wed, 16 Oct 2019 18:51:09 +1030 Subject: [Gambas-user] a command line with arguments to parsed program? In-Reply-To: References: Message-ID: <88269b71-14df-e57c-7b9c-02ac0cd8074f@gmail.com> Oh! I found the source archive for a demo of this stuff! Attached. b -------------- next part -------------- A non-text attachment was scrubbed... Name: gui-args-0.0.13.tar.gz Type: application/gzip Size: 12668 bytes Desc: not available URL: From mckaygerhard at gmail.com Wed Oct 16 13:54:35 2019 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Wed, 16 Oct 2019 07:54:35 -0400 Subject: [Gambas-user] a command line with arguments to parsed program? In-Reply-To: References: Message-ID: El mi?., 16 de oct. de 2019 a la(s) 03:44, Bruce (adamnt42 at gmail.com) escribi?: > Why is this important? Because the native Args class provided by the > "gb" component considers the whole command line as a space delimited > list of ARGUMENTS (no OPTIONS handling is done and it would be up to the > program code to decipher each token and decide what it is and how to > work with it. Oh Finally! someone who had common sense... was just thinking about the difference between the two cases... that's why I was asking for the example... I see that the class itself is very basic from the point of view of documentation. >So hopefully now we are clear on the difference between OPTIONS and > ARGUMENTS. always was CLEAR.. the problem it's the implementation, you mail are pure GOLD Bruce... must be parsed as a tutorial in the gambas wiki! Many many thanks! > $debugLevel = Args.GetInteger("d", "debug", "The program will output > lotsheaps or tins of debugging information to the terminal", "level", 1) > > With this, if the user species the -d/--debug pair on the command > line the $debugLevel value will be set to that value. (if they only > provide the option without a value then it will be set to 1 - automagically! > > The -h output will now look like: > > mygbproject > =========== > > My brilliant Gambas project > > Usage: mygbproject > > Options: > > -d --debug The program will output lots or heaps or tons > of debugging information to the terminal (default=1) > -V --Version Display version > -h --help Display this help > > Hmm, we can do better than that! Is 1 equal to "lots" or "tons"? > > Lets try a string value option: > > $debugLevelStr = Args.Get("d", "debug", "The program will output lots > (L) or heaps (H) or tons (T) of debugging information to the terminal", > "level") > > If present then the $debugLevelStr value will be set to the value > provided (NOTE! the gb.args Args.Get() function does NOT provide a > default value!). And the -h output will look like: > > mygbproject > =========== > > My brilliant Gambas project > > Usage: mygbproject > > Options: > > -d --debug The program will output lots (L) or heaps (H) > or tons (T) of debugging information to the terminal > -V --Version Display version > -h --help Display this help > > > Args.GetFloat() acts similarly to Args,GetInteger. > > Now there is only one thing left, the Args.End() call. This handles the > program ARGUMENTS exactly as specified in the help page, So, > > $myArgs = Args.End() > > It would be usual to indicate the ARGUMENTS in the usage header > indicating whether they are optional and whether multiple values are > handled. Say we need one or more file names as ARGUMENTS. Then something > like > > mygbproject > =========== > > My brilliant Gambas project > > Usage: mygbproject [filename]... > > Options: > > -d --debug The program will output lots (L) or heaps (H) > or tons > (T) of debugging information to the terminal > - -- <> > -V --Version Display version > -h --help Display this help > > would be appropriate. > > I think that's about the simplest I can put it. When you consider the > amount of code you would have to write to handle the above using the > simple gb Args class, it's quite amazing actually. > > hth > bruce > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From roberto.premoli at tiscali.it Wed Oct 16 18:46:22 2019 From: roberto.premoli at tiscali.it (roberto) Date: Wed, 16 Oct 2019 18:46:22 +0200 Subject: [Gambas-user] how to send an e-mail from CLI? Message-ID: <26271b6f-c817-01a3-2afb-f2991581b19a@tiscali.it> Hello, i wish to realize a little progam in GAMBAS? (no GUI, only CLI) able do some things, ?the main one, to send an email. Maybe there is something already done I can use as base for further development? Thank you. Roberto From kicking177 at gmail.com Thu Oct 17 10:33:55 2019 From: kicking177 at gmail.com (KKing) Date: Thu, 17 Oct 2019 09:33:55 +0100 Subject: [Gambas-user] Accelerator or Shortcut key to a textbox Message-ID: Is there a way to set Accelerator or Shortcut key for a textbox? e.g. for a button you set the Text as "&Update" and Alt+U K. From peterpeyotle at gmx.de Thu Oct 17 11:20:09 2019 From: peterpeyotle at gmx.de (Peter Peyotle) Date: Thu, 17 Oct 2019 11:20:09 +0200 Subject: [Gambas-user] Accelerator or Shortcut key to a textbox In-Reply-To: References: Message-ID: I think you want to head for a textbox with a shortcut. I would make an invisible popup menu and put the focus on the textbox in a shortcut event. Von meinem Sony Xperia?-Smartphone gesendet ---- KKing schrieb ---- >Is there a way to set Accelerator or Shortcut key for a textbox? > >e.g. for a button you set the Text as "&Update" and Alt+U > >K. > > >----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Thu Oct 17 11:28:49 2019 From: bagonergi at gmail.com (Gianluigi) Date: Thu, 17 Oct 2019 11:28:49 +0200 Subject: [Gambas-user] Accelerator or Shortcut key to a textbox In-Reply-To: References: Message-ID: I believe you should look at the Action class of gb.qt4, if you do a search in the ML something you get. Regards Gianluigi Il giorno gio 17 ott 2019 alle ore 11:21 Peter Peyotle ha scritto: > I think you want to head for a textbox with a shortcut. I would make an > invisible popup menu and put the focus on the textbox in a shortcut event. > > Von meinem Sony Xperia?-Smartphone gesendet > > ---- KKing schrieb ---- > > Is there a way to set Accelerator or Shortcut key for a textbox? > > e.g. for a button you set the Text as "&Update" and Alt+U > > K. > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From genbraga1 at gmail.com Thu Oct 17 11:34:16 2019 From: genbraga1 at gmail.com (gen braga) Date: Thu, 17 Oct 2019 06:34:16 -0300 Subject: [Gambas-user] how to send an e-mail from CLI? In-Reply-To: <26271b6f-c817-01a3-2afb-f2991581b19a@tiscali.it> References: <26271b6f-c817-01a3-2afb-f2991581b19a@tiscali.it> Message-ID: Maybe this should get the job done. http://gambaswiki.org/wiki/comp/gb.net.smtp/smtpclient?nh I've never tried, by the way. Regards, the main one, to send an email. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From charlie at cogier.com Thu Oct 17 19:03:17 2019 From: charlie at cogier.com (Charlie Ogier) Date: Thu, 17 Oct 2019 18:03:17 +0100 Subject: [Gambas-user] Accelerator or Shortcut key to a textbox In-Reply-To: References: Message-ID: <1ce92528-2df5-4ec6-3035-59ec2550b19c@cogier.com> You can't use [Alt]+U as this could put the letter 'U' in some other TextBox But try this using [Alt]+[Down Arrow] Public Sub Form_KeyPress() ? If Key.Code = Key.Down And If Key.Alt Then TextBox1.SetFocus End On 17/10/2019 09:33, KKing wrote: > Is there a way to set Accelerator or Shortcut key for a textbox? > > e.g. for a button you set the Text as "&Update" and Alt+U > > K. > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From twopilots at interisland.net Thu Oct 17 20:35:04 2019 From: twopilots at interisland.net (Ed & Clare Kelm) Date: Thu, 17 Oct 2019 11:35:04 -0700 Subject: [Gambas-user] Printer Font Size Problem Message-ID: The printer font size has a new problem which has just appeared within the last month. Setting the size results in a size slightly smaller. Setting bold to either true or false reduces the size by a small amount. This test code in a the printer draw event results in the console output shown below it. Public Sub Printer1_Draw() ? Print Paint.Font.Size ? Paint.Font.Size = Paint.Font.Size ? Print Paint.Font.Size ? Paint.Font.Size = 14 ? Print Paint.Font.Size ? Paint.Font.Bold = True ? Print Paint.Font.Size ? Paint.Font.Bold = False ? Print Paint.Font.Size End Console display: 12 11.667058985647 13.6115688165881 13.2339146891938 12.866738607487 [System] Gambas=3.14 OperatingSystem=Linux Kernel=4.4.0-148-generic Architecture=x86_64 Distribution=Ubuntu 14.04.6 LTS Desktop=XFCE Theme=Windows Language=en_US.UTF-8 Memory=7893M [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 SQLite=libsqlite3.so.0.8.6 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-dWQTeZkGf1 DEFAULTS_PATH=/usr/share/gconf/xubuntu.default.path DESKTOP_SESSION=xubuntu DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=xubuntu GDM_LANG=en_US GLADE_CATALOG_PATH=: GLADE_MODULE_PATH=: GLADE_PIXMAP_PATH=: GNOME_KEYRING_CONTROL=/run/user/1000/keyring-1456W7 GNOME_KEYRING_PID= GPG_AGENT_INFO=/run/user/1000/keyring-1456W7/gpg:0:1 HOME= IM_CONFIG_PHASE=1 INSTANCE= JOB=dbus LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/xubuntu.mandatory.path PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= SELINUX_INIT=YES SESSION=xubuntu SESSIONTYPE= SESSION_MANAGER=local/:@/tmp/.ICE-unix/1471,unix/:/tmp/.ICE-unix/1471 SHELL=/bin/bash SHLVL=0 SSH_AUTH_SOCK=/run/user/1000/keyring-1456W7/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/1200 USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-xubuntu:/usr/share/upstart/xdg:/etc/xdg:/etc/xdg XDG_CURRENT_DESKTOP=XFCE XDG_DATA_DIRS=/usr/share/xubuntu:/usr/share/xfce4:/usr/local/share/:/usr/share/:/usr/share XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=xfce- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Thu Oct 17 21:58:37 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 17 Oct 2019 21:58:37 +0200 Subject: [Gambas-user] Printer Font Size Problem In-Reply-To: References: Message-ID: Le 17/10/2019 ? 20:35, Ed & Clare Kelm a ?crit?: > The printer font size has a new problem which has just appeared within > the last month. > > Setting the size results in a size slightly smaller. > Setting bold to either true or false reduces the size by a small amount. > > This test code in a the printer draw event results in the console output > shown below it. > > Public Sub Printer1_Draw() > > ? Print Paint.Font.Size > > ? Paint.Font.Size = Paint.Font.Size > ? Print Paint.Font.Size > > ? Paint.Font.Size = 14 > ? Print Paint.Font.Size > > ? Paint.Font.Bold = True > ? Print Paint.Font.Size > > ? Paint.Font.Bold = False > ? Print Paint.Font.Size > End > Which version of Gambas? What is the value of Paint.FontScale property? Which font do you use? -- Beno?t Minisini From twopilots at interisland.net Thu Oct 17 23:13:08 2019 From: twopilots at interisland.net (Ed & Clare Kelm) Date: Thu, 17 Oct 2019 14:13:08 -0700 Subject: [Gambas-user] Printer Font Size Problem In-Reply-To: References: Message-ID: Benoit: Answers to your questions are below.? I did not set the fFontScale or Font properties; I just used whatever they defaulted to.??? ASee my answers below. Thanks! Ed K. On 10/17/19 12:58 PM, Beno?t Minisini wrote: > Le 17/10/2019 ? 20:35, Ed & Clare Kelm a ?crit?: >> The printer font size has a new problem which has just appeared >> within the last month. >> >> Setting the size results in a size slightly smaller. >> Setting bold to either true or false reduces the size by a small amount. >> >> This test code in a the printer draw event results in the console >> output shown below it. >> >> Public Sub Printer1_Draw() >> >> ?? Print Paint.Font.Size >> >> ?? Paint.Font.Size = Paint.Font.Size >> ?? Print Paint.Font.Size >> >> ?? Paint.Font.Size = 14 >> ?? Print Paint.Font.Size >> >> ?? Paint.Font.Bold = True >> ?? Print Paint.Font.Size >> >> ?? Paint.Font.Bold = False >> ?? Print Paint.Font.Size >> End >> > > Which version of Gambas? 3.14 > What is the value of Paint.FontScale property? 0.972245914570579 > Which font do you use? 0x17f0dd8 From adamnt42 at gmail.com Fri Oct 18 01:05:05 2019 From: adamnt42 at gmail.com (Bruce) Date: Fri, 18 Oct 2019 09:35:05 +1030 Subject: [Gambas-user] Popup menu used but which is the underlying control? Message-ID: <8ef3172e-cbf8-3304-2ac6-2997c0a9f600@gmail.com> I have a popup menu defined on a form that is used in several controls. When it is used I need to get some data out of the underlying control, but which one is it? Last only gives me the menu. tia Bruce From twopilots at interisland.net Fri Oct 18 01:49:39 2019 From: twopilots at interisland.net (Ed & Clare Kelm) Date: Thu, 17 Oct 2019 16:49:39 -0700 Subject: [Gambas-user] Printer Font Size Problem In-Reply-To: References: Message-ID: <7b80150b-6435-d40c-c1ab-259e8103140a@interisland.net> Benoit: Setting Paint.FontScale to 1 solves my particular problem, but I don't understand why changing the value of the Bold property applies FontScale to the font size. ? That doesn't seem right. Thanks! Ed K. On 10/17/19 12:58 PM, Beno?t Minisini wrote: > Le 17/10/2019 ? 20:35, Ed & Clare Kelm a ?crit?: >> The printer font size has a new problem which has just appeared >> within the last month. >> >> Setting the size results in a size slightly smaller. >> Setting bold to either true or false reduces the size by a small amount. >> >> This test code in a the printer draw event results in the console >> output shown below it. >> >> Public Sub Printer1_Draw() >> >> ?? Print Paint.Font.Size >> >> ?? Paint.Font.Size = Paint.Font.Size >> ?? Print Paint.Font.Size >> >> ?? Paint.Font.Size = 14 >> ?? Print Paint.Font.Size >> >> ?? Paint.Font.Bold = True >> ?? Print Paint.Font.Size >> >> ?? Paint.Font.Bold = False >> ?? Print Paint.Font.Size >> End >> > > Which version of Gambas? > What is the value of Paint.FontScale property? > Which font do you use? > From g4mba5 at gmail.com Fri Oct 18 02:00:30 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 18 Oct 2019 02:00:30 +0200 Subject: [Gambas-user] Printer Font Size Problem In-Reply-To: <7b80150b-6435-d40c-c1ab-259e8103140a@interisland.net> References: <7b80150b-6435-d40c-c1ab-259e8103140a@interisland.net> Message-ID: <04e986db-5183-d15f-7723-2228e7501f6c@gmail.com> Le 18/10/2019 ? 01:49, Ed & Clare Kelm a ?crit?: > Benoit: > > Setting Paint.FontScale to 1 solves my particular problem, but I don't > understand why changing the value of the Bold property applies FontScale > to the font size. ? That doesn't seem right. > > Thanks! > > Ed K. > No, FontScale is applied when opening the printer device, so that the size of the font you defined will have the same size on the printer and on the screen. It's not so easy. And so the Paint.FontScale property. The reason why the bold font does not have the same size may depends on the font. But I asked you which font you use, and you didn't answer (you sent apparently the address in memory of the font, which nobody cares). Regards, -- Beno?t Minisini From twopilots at interisland.net Fri Oct 18 02:29:35 2019 From: twopilots at interisland.net (Ed & Clare Kelm) Date: Thu, 17 Oct 2019 17:29:35 -0700 Subject: [Gambas-user] Printer Font Size Problem In-Reply-To: <04e986db-5183-d15f-7723-2228e7501f6c@gmail.com> References: <7b80150b-6435-d40c-c1ab-259e8103140a@interisland.net> <04e986db-5183-d15f-7723-2228e7501f6c@gmail.com> Message-ID: Benoit: My apologies.? The font is Droid Sans.? Thank you for explaining the purpose of FontScale What is happening is "Paint.Font.Bold=TRUE" applies the FontScale to the Font.Size, and so does "Paint.Font.Bold=FALSE". In my case the FontScale is ~0.97. so every time I change the state of Font.Bold, the font shrinks a little bit.? In a page having lots of individual bold words, the font shrinks to extremely tiny! That can't be right. Also shouldn't the Font.Size be what I set??? In other words, if I say "Paint.Font.Size =14", shouldn't "a = Paint.Font.Size" set a to 14? Ed K. On 10/17/19 5:00 PM, Beno?t Minisini wrote: > Le 18/10/2019 ? 01:49, Ed & Clare Kelm a ?crit?: >> Benoit: >> >> Setting Paint.FontScale to 1 solves my particular problem, but I >> don't understand why changing the value of the Bold property applies >> FontScale to the font size. ? That doesn't seem right. >> >> Thanks! >> >> Ed K. >> > > No, FontScale is applied when opening the printer device, so that the > size of the font you defined will have the same size on the printer > and on the screen. It's not so easy. And so the Paint.FontScale property. > > The reason why the bold font does not have the same size may depends > on the font. But I asked you which font you use, and you didn't answer > (you sent apparently the address in memory of the font, which nobody > cares). > > Regards, > From g4mba5 at gmail.com Fri Oct 18 02:33:49 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 18 Oct 2019 02:33:49 +0200 Subject: [Gambas-user] Printer Font Size Problem In-Reply-To: References: <7b80150b-6435-d40c-c1ab-259e8103140a@interisland.net> <04e986db-5183-d15f-7723-2228e7501f6c@gmail.com> Message-ID: <99e5cb84-701e-1078-c84d-98937661769e@gmail.com> Le 18/10/2019 ? 02:29, Ed & Clare Kelm a ?crit?: > Benoit: > > My apologies.? The font is Droid Sans.? Thank you for explaining the > purpose of FontScale > > What is happening is "Paint.Font.Bold=TRUE" applies the FontScale to the > Font.Size, and so does "Paint.Font.Bold=FALSE". > > In my case the FontScale is ~0.97. so every time I change the state of > Font.Bold, the font shrinks a little bit.? In a page having lots of > individual bold words, the font shrinks to extremely tiny! > > That can't be right. > > Also shouldn't the Font.Size be what I set??? In other words, if I say > "Paint.Font.Size =14", shouldn't "a = Paint.Font.Size" set a to 14? > > > Ed K. > > My apologies too, I now understand the problem. You are right, the font scale is not applied once, but each time the Paint.Font property is modified. This is not a problem if you set the font with a new font, but it is if you change just a property of the font. I need to think about that mess... -- Beno?t Minisini From tmorehen at ajm-software.com Fri Oct 18 03:41:59 2019 From: tmorehen at ajm-software.com (Tony Morehen) Date: Thu, 17 Oct 2019 21:41:59 -0400 Subject: [Gambas-user] Printer Font Size Problem In-Reply-To: <99e5cb84-701e-1078-c84d-98937661769e@gmail.com> References: <7b80150b-6435-d40c-c1ab-259e8103140a@interisland.net> <04e986db-5183-d15f-7723-2228e7501f6c@gmail.com> <99e5cb84-701e-1078-c84d-98937661769e@gmail.com> Message-ID: While you are looking at the printer code, I've noticed the following: 1) In Printer_Begin(), I set Paint.Font to my target font. 2) When Printer_Draw is raised, Paint.Font has changed back to the default font. I expected that Paint.Font, once set, would remain unchanged for the entire print session. Instead, I have to reset it in every draw event. On 2019-10-17 7:33 p.m., Beno?t Minisini wrote: > Le 18/10/2019 ? 02:29, Ed & Clare Kelm a ?crit?: >> Benoit: >> >> My apologies.? The font is Droid Sans.? Thank you for explaining the >> purpose of FontScale >> >> What is happening is "Paint.Font.Bold=TRUE" applies the FontScale to >> the Font.Size, and so does "Paint.Font.Bold=FALSE". >> >> In my case the FontScale is ~0.97. so every time I change the state of >> Font.Bold, the font shrinks a little bit.? In a page having lots of >> individual bold words, the font shrinks to extremely tiny! >> >> That can't be right. >> >> Also shouldn't the Font.Size be what I set??? In other words, if I say >> "Paint.Font.Size =14", shouldn't "a = Paint.Font.Size" set a to 14? >> >> >> Ed K. >> >> > > My apologies too, I now understand the problem. You are right, the font > scale is not applied once, but each time the Paint.Font property is > modified. This is not a problem if you set the font with a new font, but > it is if you change just a property of the font. > > I need to think about that mess... > From gambas.fr at gmail.com Fri Oct 18 06:20:44 2019 From: gambas.fr at gmail.com (Fabien Bodard) Date: Fri, 18 Oct 2019 06:20:44 +0200 Subject: [Gambas-user] Printer Font Size Problem In-Reply-To: References: <7b80150b-6435-d40c-c1ab-259e8103140a@interisland.net> <04e986db-5183-d15f-7723-2228e7501f6c@gmail.com> <99e5cb84-701e-1078-c84d-98937661769e@gmail.com> Message-ID: Le ven. 18 oct. 2019 ? 04:59, Tony Morehen a ?crit : > While you are looking at the printer code, I've noticed the following: > 1) In Printer_Begin(), I set Paint.Font to my target font. > 2) When Printer_Draw is raised, Paint.Font has changed back to the > default font. I expected that Paint.Font, once set, would remain > unchanged for the entire print session. Instead, I have to reset it in > every draw event. > > On 2019-10-17 7:33 p.m., Beno?t Minisini wrote: > > Le 18/10/2019 ? 02:29, Ed & Clare Kelm a ?crit : > >> Benoit: > >> > >> My apologies. The font is Droid Sans. Thank you for explaining the > >> purpose of FontScale > >> > >> What is happening is "Paint.Font.Bold=TRUE" applies the FontScale to > >> the Font.Size, and so does "Paint.Font.Bold=FALSE". > >> > >> In my case the FontScale is ~0.97. so every time I change the state of > >> Font.Bold, the font shrinks a little bit. In a page having lots of > >> individual bold words, the font shrinks to extremely tiny! > >> > >> That can't be right. > >> > >> Also shouldn't the Font.Size be what I set? In other words, if I say > >> "Paint.Font.Size =14", shouldn't "a = Paint.Font.Size" set a to 14? > >> > >> > >> Ed K. > >> > >> > > > > My apologies too, I now understand the problem. You are right, the font > > scale is not applied once, but each time the Paint.Font property is > > modified. This is not a problem if you set the font with a new font, but > > it is if you change just a property of the font. > > > > I need to think about that mess... > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > Yes because paint is a context class and is new each paint.begin<>paint.end. -------------- next part -------------- An HTML attachment was scrubbed... URL: From peterpeyotle at gmx.de Fri Oct 18 09:38:45 2019 From: peterpeyotle at gmx.de (Peter Peyotle) Date: Fri, 18 Oct 2019 09:38:45 +0200 Subject: [Gambas-user] Popup menu used but which is the underlying control? In-Reply-To: <8ef3172e-cbf8-3304-2ac6-2997c0a9f600@gmail.com> References: <8ef3172e-cbf8-3304-2ac6-2997c0a9f600@gmail.com> Message-ID: <9m2i9jrb0tlbkc6t9bd3efu9.1571384325019@email.android.com> I would solve this as follows: define a private variable of type object. in the mouseevent calling the popup, last is the control clicked on. set the object variable = last. Now if you use a point in the popup you can use the properties of the control via the object variable. Von meinem Sony Xperia?-Smartphone gesendet ---- Bruce schrieb ---- >I have a popup menu defined on a form that is used in several controls. >When it is used I need to get some data out of the underlying control, >but which one is it? Last only gives me the menu. > >tia >Bruce > >----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From ub2 at gmx.ch Fri Oct 18 10:09:38 2019 From: ub2 at gmx.ch (ub2 at gmx.ch) Date: Fri, 18 Oct 2019 10:09:38 +0200 Subject: [Gambas-user] Update 3.14 cuts Multiline-Buttons in Messages to one line only, Language and Icons changed In-Reply-To: <650d4b2b-f772-c69a-2378-4bc0fb09dd70@gmx.ch> References: <650d4b2b-f772-c69a-2378-4bc0fb09dd70@gmx.ch> Message-ID: <40907eda-9109-bb83-32f7-a052deae3493@gmx.ch> Dear Gambas-users Fiddling in vain now an then for nearly one week now, I'd like to ask for help here. Issue1 (Prio1): Until Version 3.14 I could show Messages with "Multiline-Buttons" Since update to 3.14, one week ago, all those Buttons are cut to one line only. See attached AllInOneScreenshot.png. Issue2 (Prio2): Update also changed IDE-Language from German to English, and also switched to other Icons. Is there a possibility to generally avoid that (or at least to easy readjust when happend) ? Any ideas, keywords, links, etc would be highly appreciated. Thanks for your help, this forum (... and for Gambas !) ub2 -------------- next part -------------- A non-text attachment was scrubbed... Name: AllInOneScreenshot.png Type: image/png Size: 180909 bytes Desc: not available URL: From adamnt42 at gmail.com Fri Oct 18 12:11:59 2019 From: adamnt42 at gmail.com (Bruce) Date: Fri, 18 Oct 2019 21:11:59 +1100 Subject: [Gambas-user] Popup menu used but which is the underlying control? In-Reply-To: <9m2i9jrb0tlbkc6t9bd3efu9.1571384325019@email.android.com> References: <8ef3172e-cbf8-3304-2ac6-2997c0a9f600@gmail.com> <9m2i9jrb0tlbkc6t9bd3efu9.1571384325019@email.android.com> Message-ID: <514718fc-cc0c-3d01-d9ce-8a6dc1fdf571@gmail.com> I like your thinking, needs some work on my part. (Funeral today, hard to think at this stage, I'll be back... but thanks for the clue!0 b On 18/10/19 6:38 pm, Peter Peyotle wrote: > I would solve this as follows: define a private variable of type object. > in the mouseevent calling the popup, last is the control clicked on. set > the object variable = last. Now if you use a point in the popup you can > use the properties of the control via the object variable. > > Von meinem Sony Xperia?-Smartphone gesendet > > ---- Bruce schrieb ---- > > I have a popup menu defined on a form that is used in several controls. > When it is used I need to get some data out of the underlying control, > but which one is it? Last only gives me the menu. > > tia > Bruce > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From peterpeyotle at gmx.de Fri Oct 18 12:45:55 2019 From: peterpeyotle at gmx.de (Peter Peyotle) Date: Fri, 18 Oct 2019 12:45:55 +0200 Subject: [Gambas-user] Popup menu used but which is the underlying control? In-Reply-To: <514718fc-cc0c-3d01-d9ce-8a6dc1fdf571@gmail.com> References: <8ef3172e-cbf8-3304-2ac6-2997c0a9f600@gmail.com> <9m2i9jrb0tlbkc6t9bd3efu9.1571384325019@email.android.com> <514718fc-cc0c-3d01-d9ce-8a6dc1fdf571@gmail.com> Message-ID: Oh, I'm sorry. all the best and a lot of power for you. Von meinem Sony Xperia?-Smartphone gesendet ---- Bruce schrieb ---- >I like your thinking, needs some work on my part. (Funeral today, hard >to think at this stage, I'll be back... but thanks for the clue!0 >b > >On 18/10/19 6:38 pm, Peter Peyotle wrote: >> I would solve this as follows: define a private variable of type object. >> in the mouseevent calling the popup, last is the control clicked on. set >> the object variable = last. Now if you use a point in the popup you can >> use the properties of the control via the object variable. >> >> Von meinem Sony Xperia?-Smartphone gesendet >> >> ---- Bruce schrieb ---- >> >> I have a popup menu defined on a form that is used in several controls. >> When it is used I need to get some data out of the underlying control, >> but which one is it? Last only gives me the menu. >> >> tia >> Bruce >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > >----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From ub2 at gmx.ch Fri Oct 18 16:19:07 2019 From: ub2 at gmx.ch (ub2 at gmx.ch) Date: Fri, 18 Oct 2019 16:19:07 +0200 Subject: [Gambas-user] Update to 3-14 cuts Multiline-Buttons in Messages to one line, Language and Icons changed, How to Downgrade to 3-13 In-Reply-To: <40907eda-9109-bb83-32f7-a052deae3493@gmx.ch> References: <40907eda-9109-bb83-32f7-a052deae3493@gmx.ch> Message-ID: Dear Gambas-users Fiddling in vain now an then for nearly one week now, I'd like to ask for help here.(2 Mails this morning disappeared, trying again) Issue 1 (Prio1): Until Version 3.14 I could show Messages with "Multiline-Buttons" Since update to 3.14, one week ago, all those Buttons are cut to one line only. See attached AllInOneScreenshot.png. Issue 2 (Prio2): Update also changed IDE-Language from German to English, and also switched to other Icons. Is there a possibility to generally avoid that (or at least to easy readjust when happend) ? Issue 3 (Prio 1): How to downgrade to 3.13 (fallback) Any ideas, keywords, links, etc would be highly appreciated. Thanks for your help, this forum (... and for Gambas !) ub2 -------------- next part -------------- A non-text attachment was scrubbed... Name: AllInOneScreenshot.png Type: image/png Size: 180909 bytes Desc: not available URL: From tmorehen at ajm-software.com Fri Oct 18 16:42:34 2019 From: tmorehen at ajm-software.com (Tony Morehen) Date: Fri, 18 Oct 2019 10:42:34 -0400 Subject: [Gambas-user] Printer Font Size Problem In-Reply-To: References: <7b80150b-6435-d40c-c1ab-259e8103140a@interisland.net> <04e986db-5183-d15f-7723-2228e7501f6c@gmail.com> <99e5cb84-701e-1078-c84d-98937661769e@gmail.com> Message-ID: I understand, having a what was I thinking moment.? Of course there is a new paint.begin/end for each page/image. Sorry for the dumb question.? For some reason, I was stuck thinking that paint.begin occurred before raising printer_begin and was never repeated. On 2019-10-17 11:20 p.m., Fabien Bodard wrote: > > > Yes because paint is a context class and is new each > paint.begin<>paint.end. > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Sat Oct 19 00:40:40 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 19 Oct 2019 00:40:40 +0200 Subject: [Gambas-user] Printer Font Size Problem In-Reply-To: References: <7b80150b-6435-d40c-c1ab-259e8103140a@interisland.net> <04e986db-5183-d15f-7723-2228e7501f6c@gmail.com> Message-ID: Le 18/10/2019 ? 02:29, Ed & Clare Kelm a ?crit?: > Benoit: > > My apologies.? The font is Droid Sans.? Thank you for explaining the > purpose of FontScale > > What is happening is "Paint.Font.Bold=TRUE" applies the FontScale to the > Font.Size, and so does "Paint.Font.Bold=FALSE". > > In my case the FontScale is ~0.97. so every time I change the state of > Font.Bold, the font shrinks a little bit.? In a page having lots of > individual bold words, the font shrinks to extremely tiny! > > That can't be right. > > Also shouldn't the Font.Size be what I set??? In other words, if I say > "Paint.Font.Size =14", shouldn't "a = Paint.Font.Size" set a to 14? > > > Ed K. > I made a fix in commit https://gitlab.com/gambas/gambas/commit/8a0c190b9540b9c4f7d06ee189c1513e954df8cf. If you can try it, tell me if it is ok for you. The Paint.FontScale trick is still not transparent. If you assign a font to Paint.Font, its size will be scaled according to Paint.FontScale. But if you change Paint.Font.Size directly, the scale won't apply anymore. Regards, -- Beno?t Minisini From ub2 at gmx.ch Sat Oct 19 07:25:14 2019 From: ub2 at gmx.ch (ub2 at gmx.ch) Date: Sat, 19 Oct 2019 07:25:14 +0200 Subject: [Gambas-user] Email not delivered, How to downgrade to last version In-Reply-To: References: Message-ID: <61fe284c-96c2-c5c6-f75b-b2ee046a4d5f@gmx.ch> Dear Gambas-users Attached email I tried yesterday to send 3 times. No undeliverable note received, cc to my own address worked, no spam filters active at gmx, but still no publishing in the user at lists.gambas-basic.org List. Any ideas, help, etc - why user-list is not working ? - How to fallback to 3.13 Thanks for your help, this forum (... and for Gambas !) ub2 -------------- next part -------------- An embedded message was scrubbed... From: "ub2 at gmx.ch" Subject: Update to 3-14 cuts Multiline-Buttons in Messages to one line, Language and Icons changed, How to Downgrade to 3-13 Date: Fri, 18 Oct 2019 16:19:07 +0200 Size: 251645 URL: From chrisml at deganius.de Sat Oct 19 09:24:42 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Sat, 19 Oct 2019 09:24:42 +0200 Subject: [Gambas-user] Email not delivered, How to downgrade to last version In-Reply-To: <61fe284c-96c2-c5c6-f75b-b2ee046a4d5f@gmx.ch> References: <61fe284c-96c2-c5c6-f75b-b2ee046a4d5f@gmx.ch> Message-ID: <54d780b6-3e6f-39db-7a26-0aa0edabeedf@deganius.de> Am 19.10.19 um 07:25 schrieb ub2 at gmx.ch: > Attached email I tried yesterday to send 3 times. > No undeliverable note received, cc to my own address worked, > no spam filters active at gmx, but still no publishing in the > user at lists.gambas-basic.org List. Here is the answer: > Subject: Update 3.14 cuts Multiline-Buttons in Messages cut to one line only, Language and Icons changed > Reason: Message body is too big: 428266 bytes with a limit of 256 KB I'm not sure what happened, normally we have to approve the message by hand and usually bounce it back because it is too big. Maybe we should bounce messages too large automatically. > Thanks for your help, this forum (... and for Gambas !) :-) Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From kicking177 at gmail.com Sat Oct 19 17:53:30 2019 From: kicking177 at gmail.com (KKing) Date: Sat, 19 Oct 2019 16:53:30 +0100 Subject: [Gambas-user] underline certain characters in a label.Text Message-ID: can you set the label.Text to have certain characters having an underscore directly or programmatically? From twopilots at interisland.net Sat Oct 19 18:14:41 2019 From: twopilots at interisland.net (Ed & Clare Kelm) Date: Sat, 19 Oct 2019 09:14:41 -0700 Subject: [Gambas-user] Printer Font Size Problem In-Reply-To: References: <7b80150b-6435-d40c-c1ab-259e8103140a@interisland.net> <04e986db-5183-d15f-7723-2228e7501f6c@gmail.com> Message-ID: Benoit: Thanks for the fix.? I have never compiled the IDE, so it will take me some time to learn how.? What is the best link for instructions? Ed K. On 10/18/19 3:40 PM, Beno?t Minisini wrote: > Le 18/10/2019 ? 02:29, Ed & Clare Kelm a ?crit?: >> Benoit: >> >> My apologies.? The font is Droid Sans.? Thank you for explaining the >> purpose of FontScale >> >> What is happening is "Paint.Font.Bold=TRUE" applies the FontScale to >> the Font.Size, and so does "Paint.Font.Bold=FALSE". >> >> In my case the FontScale is ~0.97. so every time I change the state >> of Font.Bold, the font shrinks a little bit.? In a page having lots >> of individual bold words, the font shrinks to extremely tiny! >> >> That can't be right. >> >> Also shouldn't the Font.Size be what I set??? In other words, if I >> say "Paint.Font.Size =14", shouldn't "a = Paint.Font.Size" set a to 14? >> >> >> Ed K. >> > > I made a fix in commit > https://gitlab.com/gambas/gambas/commit/8a0c190b9540b9c4f7d06ee189c1513e954df8cf. > > If you can try it, tell me if it is ok for you. > > The Paint.FontScale trick is still not transparent. If you assign a > font to Paint.Font, its size will be scaled according to > Paint.FontScale. But if you change Paint.Font.Size directly, the scale > won't apply anymore. > > Regards, > From taboege at gmail.com Sat Oct 19 18:26:18 2019 From: taboege at gmail.com (Tobias Boege) Date: Sat, 19 Oct 2019 18:26:18 +0200 Subject: [Gambas-user] underline certain characters in a label.Text In-Reply-To: References: Message-ID: <20191019162618.GA5045@highrise.localdomain> On Sat, 19 Oct 2019, KKing wrote: > can you set the label.Text to have certain characters having an underscore > directly or programmatically? > Label is not capable of that AFAIK, but TextLabel allows you to enter Rich Text, where you can use the tag to get underlines [1]. Regards, Tobi [1] http://gambaswiki.org/wiki/doc/richtext -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at gmail.com Sat Oct 19 18:38:25 2019 From: taboege at gmail.com (Tobias Boege) Date: Sat, 19 Oct 2019 18:38:25 +0200 Subject: [Gambas-user] Printer Font Size Problem In-Reply-To: References: <7b80150b-6435-d40c-c1ab-259e8103140a@interisland.net> <04e986db-5183-d15f-7723-2228e7501f6c@gmail.com> Message-ID: <20191019163825.GB5045@highrise.localdomain> On Sat, 19 Oct 2019, Ed & Clare Kelm wrote: > Benoit: > > Thanks for the fix.? I have never compiled the IDE, so it will take me some > time to learn how.? What is the best link for instructions? > Compiling just the IDE would be very easy. Sadly, the commit in question did not touch the IDE, but the graphical components behind it. That means that you should compile the full Gambas. (Not really, but restricting the compilation to only what you really need makes the instructions slightly more complicated.) There is a wiki page on how to compile and install a full Gambas [1] and a chapter on it in the Gambas book [2]. Feel free to ask questions if you get stuck. Also note that if you are using a Ubuntu derivate, you do not have to learn how to compile Gambas. Ubuntu has a Daily Builds PPA [3], so you only have to wait until tomorrow to install today's latest Gambas via your package manager. Other distributions possibly have similar things that I don't know about. Regards, Tobi [1] http://gambaswiki.org/wiki/install [2] https://gambas-buch.de/dwen/doku.php?id=k2:start [3] https://launchpad.net/~gambas-team/+archive/ubuntu/gambas-daily -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From twopilots at interisland.net Sat Oct 19 22:44:43 2019 From: twopilots at interisland.net (Ed & Clare Kelm) Date: Sat, 19 Oct 2019 13:44:43 -0700 Subject: [Gambas-user] Printer Font Size Problem In-Reply-To: <20191019163825.GB5045@highrise.localdomain> References: <7b80150b-6435-d40c-c1ab-259e8103140a@interisland.net> <04e986db-5183-d15f-7723-2228e7501f6c@gmail.com> <20191019163825.GB5045@highrise.localdomain> Message-ID: Tobias: Excellent!? I will take the easy way out and use the PPA. Thanks! Ed K. On 10/19/19 9:38 AM, Tobias Boege wrote: > On Sat, 19 Oct 2019, Ed & Clare Kelm wrote: >> Benoit: >> >> Thanks for the fix.? I have never compiled the IDE, so it will take me some >> time to learn how.? What is the best link for instructions? >> > Compiling just the IDE would be very easy. Sadly, the commit in question > did not touch the IDE, but the graphical components behind it. That means > that you should compile the full Gambas. (Not really, but restricting the > compilation to only what you really need makes the instructions slightly > more complicated.) > > There is a wiki page on how to compile and install a full Gambas [1] and > a chapter on it in the Gambas book [2]. Feel free to ask questions if you > get stuck. > > Also note that if you are using a Ubuntu derivate, you do not have to > learn how to compile Gambas. Ubuntu has a Daily Builds PPA [3], so you > only have to wait until tomorrow to install today's latest Gambas via > your package manager. Other distributions possibly have similar things > that I don't know about. > > Regards, > Tobi > > [1] http://gambaswiki.org/wiki/install > [2] https://gambas-buch.de/dwen/doku.php?id=k2:start > [3] https://launchpad.net/~gambas-team/+archive/ubuntu/gambas-daily > From chrisml at deganius.de Sun Oct 20 10:29:16 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Sun, 20 Oct 2019 10:29:16 +0200 Subject: [Gambas-user] Email not delivered, How to downgrade to last Gambas version In-Reply-To: References: <61fe284c-96c2-c5c6-f75b-b2ee046a4d5f@gmx.ch> <54d780b6-3e6f-39db-7a26-0aa0edabeedf@deganius.de> Message-ID: <3094365a-5290-c37e-4e4d-18b9031e61cd@deganius.de> Am 20.10.19 um 02:06 schrieb ub2 at gmx.ch: > => 2) In General: How to ask in user at lists.gambas-basic.org attaching a > very small project-example (132KB) and one single screenshot (177KB)? Generally I would recommend using a free binary pastebin, like this one (up to 50 MB): https://paste.c-net.org/ Here you can upload stuff and get a link which you can paste in a mail to the list. On the other side, if you want to report a bug of Gambas3 as it seems to be the fact here, you should use the Gambas bugtracker: http://gambaswiki.org/bugtracker There you can register, log in, describe the bug and upload files which help clarifying the issue. There is another (readonly) mailinglist, https://lists.gambas-basic.org/listinfo/bugtracker which send you mails for every bug and everything else reported in the bugtracker. > Again, sorry and thanks for your help. No problem :-) Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From gambas.fr at gmail.com Sun Oct 20 22:52:30 2019 From: gambas.fr at gmail.com (Fabien Bodard) Date: Sun, 20 Oct 2019 22:52:30 +0200 Subject: [Gambas-user] Email not delivered, How to downgrade to last version In-Reply-To: <54d780b6-3e6f-39db-7a26-0aa0edabeedf@deganius.de> References: <61fe284c-96c2-c5c6-f75b-b2ee046a4d5f@gmx.ch> <54d780b6-3e6f-39db-7a26-0aa0edabeedf@deganius.de> Message-ID: For the toolboxes the problem can come from the fact that message boxes are in gambas now.. Le sam. 19 oct. 2019 ? 09:25, Christof Thalhofer a ?crit : > Am 19.10.19 um 07:25 schrieb ub2 at gmx.ch: > > > Attached email I tried yesterday to send 3 times. > > No undeliverable note received, cc to my own address worked, > > no spam filters active at gmx, but still no publishing in the > > user at lists.gambas-basic.org List. > > Here is the answer: > > > Subject: Update 3.14 cuts Multiline-Buttons in Messages cut to one > line only, Language and Icons changed > > Reason: Message body is too big: 428266 bytes with a limit of 256 KB > > I'm not sure what happened, normally we have to approve the message by > hand and usually bounce it back because it is too big. > > Maybe we should bounce messages too large automatically. > > > Thanks for your help, this forum (... and for Gambas !) > > :-) > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ub2 at gmx.ch Mon Oct 21 07:30:39 2019 From: ub2 at gmx.ch (ub2 at gmx.ch) Date: Mon, 21 Oct 2019 07:30:39 +0200 Subject: [Gambas-user] Avoid 3.14 update: 1) too many unticks 2) How to fallback to 3.13 ? Message-ID: Dear Gambas-Cracks We are currently having a problem with Version 3.14 (see http://gambaswiki.org/bugtracker/main #1666, In messages multi-line-buttons are cut to a single line, Xubuntu 16.04LTS & 18.04LTS). All users therefore have to avoid updating to Rev 3.14. Doing that, they have to untick a huge amount of single files. See https://paste.c-net.org/SubjectsOverride My questions/requests: 1) Would it be possible to put all those single Gambas-files under another Gambas-SubFolder in order - to untick all of them with one click. - to reduce the risk to end up with some single 3.14 Files in a 3.13 Installation (due to some missed unticks)? 2) Is there a simple and robust user-proofed command to fallback from 3.14 to 3.13 ? (For all those 3.14 users already with the same problem) Thanks a lot for your help (... and Gambas !) ub2 PS: Many thanks to Christof for - helping to resolve the "Message body is too big" Issue. - Introducing bugtracker From rwe-sse at osnanet.de Tue Oct 22 15:57:08 2019 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Tue, 22 Oct 2019 15:57:08 +0200 Subject: [Gambas-user] Exif library for Gambas Message-ID: <6ace8d49-793a-9ef7-096f-341cf9b03256@osnanet.de> Hi folks, just read in our German c't magazine about reading Exif data in Python - they've got a nifty library there, so it's pretty easy to do. Is there something like that for Gambas? Might be quite handy one day. In Gambas it would read like picdate = exif.datetime for instance to get the date of the picture. Loading picture data would be something like exif.load("pathto.jpg"). Regards Rolf From charlie at cogier.com Tue Oct 22 16:20:00 2019 From: charlie at cogier.com (Charlie Ogier) Date: Tue, 22 Oct 2019 15:20:00 +0100 Subject: [Gambas-user] Exif library for Gambas In-Reply-To: <6ace8d49-793a-9ef7-096f-341cf9b03256@osnanet.de> References: <6ace8d49-793a-9ef7-096f-341cf9b03256@osnanet.de> Message-ID: <4aeb184d-1604-f20d-468f-874ea416ea01@cogier.com> Hi Rolf, Here is a reply to this from 2008 /You don't need a component. Just use the "EXIF tools":// // //http://www.sno.phy.queensu.ca/~phil/exiftool/// // //Regards,// // //Benoit Minisini// / If you are interested I have a program, in early development, that I can send you. I can't put it here as it has 'ExifTool' build in and its a too big (5MB). Charlie On 22/10/2019 14:57, Rolf-Werner Eilert wrote: > Hi folks, > > just read in our German c't magazine about reading Exif data in Python > - they've got a nifty library there, so it's pretty easy to do. > > Is there something like that for Gambas? Might be quite handy one day. > > In Gambas it would read like picdate = exif.datetime for instance to > get the date of the picture. Loading picture data would be something > like exif.load("pathto.jpg"). > > Regards > Rolf > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Tue Oct 22 18:26:34 2019 From: bagonergi at gmail.com (Gianluigi) Date: Tue, 22 Oct 2019 18:26:34 +0200 Subject: [Gambas-user] Exif library for Gambas In-Reply-To: <4aeb184d-1604-f20d-468f-874ea416ea01@cogier.com> References: <6ace8d49-793a-9ef7-096f-341cf9b03256@osnanet.de> <4aeb184d-1604-f20d-468f-874ea416ea01@cogier.com> Message-ID: Hi Charlie, if you want to attach big files, you can follow Christof's instructions here [1] Regards Gianluigi [1] https://lists.gambas-basic.org/pipermail/user/2019-October/068054.html Il giorno mar 22 ott 2019 alle ore 17:07 Charlie Ogier ha scritto: > Hi Rolf, > > Here is a reply to this from 2008 > > *You don't need a component. Just use the "EXIF tools":* > > *http://www.sno.phy.queensu.ca/~phil/exiftool/ > * > > *Regards,* > > *Benoit Minisini* > > If you are interested I have a program, in early development, that I can > send you. I can't put it here as it has 'ExifTool' build in and its a too > big (5MB). > > Charlie > > > On 22/10/2019 14:57, Rolf-Werner Eilert wrote: > > Hi folks, > > just read in our German c't magazine about reading Exif data in Python - > they've got a nifty library there, so it's pretty easy to do. > > Is there something like that for Gambas? Might be quite handy one day. > > In Gambas it would read like picdate = exif.datetime for instance to get > the date of the picture. Loading picture data would be something like > exif.load("pathto.jpg"). > > Regards > Rolf > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From charlie at cogier.com Thu Oct 24 17:10:44 2019 From: charlie at cogier.com (Charlie Ogier) Date: Thu, 24 Oct 2019 16:10:44 +0100 Subject: [Gambas-user] DirChooser bug Message-ID: <324bd6e6-cf34-7af5-8694-52571fb01c84@cogier.com> Hi, Is this just me but I can't get the following code to do anything: - /*Public Sub FileChooser1_MouseUp()*//* *//* *//*?Print "Up"*//* *//* *//*End*//* *//* *//*Public Sub FileChooser1_MouseDown()*//* *//* *//*? Print "Down"*//* *//* *//*End*//* *//* *//*Public Sub FileChooser1_DblClick()*//* *//* *//*? Print "Dbl Click"*//* *//* *//*End*/ Thanks, Charlie [System] Gambas=3.14 OperatingSystem=Linux Kernel=4.15.0-66-generic Architecture=x86_64 Distribution=Linux Mint 19.2 Tina Desktop=CINNAMON Theme=Qt5CTProxy Language=en_GB.UTF-8 Memory=7848M [Libraries] Cairo=libcairo.so.2.11510.0 Curl=libcurl.so.4.5.0 DBus=libdbus-1.so.3.19.4 GStreamer=libgstreamer-1.0.so.0.1405.0 GTK+2=libgtk-x11-2.0.so.0.2400.32 GTK+3=libgtk-3.so.0.2200.30 OpenGL=libGL.so.1.0.0 Poppler=libpoppler.so.73.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.9.5 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CINNAMON_VERSION=4.2.4 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path DERBY_HOME=/usr/lib/jvm/java-8-oracle/db DESKTOP_SESSION=cinnamon DISPLAY=:0 GB_GUI=gb.qt5 GDMSESSION=cinnamon GDM_LANG=en_GB GJS_DEBUG_OUTPUT=stderr GJS_DEBUG_TOPICS=JS ERROR;JS LOG GNOME_DESKTOP_SESSION_ID=this-is-deprecated GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 GTK_MODULES=gail:atk-bridge GTK_OVERLAY_SCROLLING=1 HOME= J2REDIR=/usr/lib/jvm/java-8-oracle/jre J2SDKDIR=/usr/lib/jvm/java-8-oracle JAVA_HOME=/usr/lib/jvm/java-8-oracle LANG=en_GB.UTF-8 LANGUAGE=en_GB.UTF-8 LC_ADDRESS=en_GB.UTF-8 LC_IDENTIFICATION=en_GB.UTF-8 LC_MEASUREMENT=en_GB.UTF-8 LC_MONETARY=en_GB.UTF-8 LC_NAME=en_GB.UTF-8 LC_NUMERIC=en_GB.UTF-8 LC_PAPER=en_GB.UTF-8 LC_TELEPHONE=en_GB.UTF-8 LC_TIME=en_GB.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path PAPERSIZE=a4 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin PWD= QT_ACCESSIBILITY=1 QT_QPA_PLATFORMTHEME=qt5ct SESSION_MANAGER=local/:@/tmp/.ICE-unix/2172,unix/:/tmp/.ICE-unix/2172 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=2239 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh S_COLORS=auto TZ=:/etc/localtime USER= 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:/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop 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=cinnamon XDG_SESSION_ID=c1 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Thu Oct 24 18:13:58 2019 From: bagonergi at gmail.com (Gianluigi) Date: Thu, 24 Oct 2019 18:13:58 +0200 Subject: [Gambas-user] DirChooser bug In-Reply-To: <324bd6e6-cf34-7af5-8694-52571fb01c84@cogier.com> References: <324bd6e6-cf34-7af5-8694-52571fb01c84@cogier.com> Message-ID: Hi Charlie, I think thet FileChosser uses the mentioned events internally. See if the attached project works. Regards Gianluigi Il giorno gio 24 ott 2019 alle ore 17:32 Charlie Ogier ha scritto: > Hi, > > Is this just me but I can't get the following code to do anything: - > > *Public Sub FileChooser1_MouseUp()* > > * Print "Up"* > > *End* > > *Public Sub FileChooser1_MouseDown()* > > * Print "Down"* > > *End* > > *Public Sub FileChooser1_DblClick()* > > * Print "Dbl Click"* > > *End* > > Thanks, > > Charlie > > [System] > Gambas=3.14 > OperatingSystem=Linux > Kernel=4.15.0-66-generic > Architecture=x86_64 > Distribution=Linux Mint 19.2 Tina > Desktop=CINNAMON > Theme=Qt5CTProxy > Language=en_GB.UTF-8 > Memory=7848M > > [Libraries] > Cairo=libcairo.so.2.11510.0 > Curl=libcurl.so.4.5.0 > DBus=libdbus-1.so.3.19.4 > GStreamer=libgstreamer-1.0.so.0.1405.0 > GTK+2=libgtk-x11-2.0.so.0.2400.32 > GTK+3=libgtk-3.so.0.2200.30 > OpenGL=libGL.so.1.0.0 > Poppler=libpoppler.so.73.0.0 > QT4=libQtCore.so.4.8.7 > QT5=libQt5Core.so.5.9.5 > SDL=libSDL-1.2.so.0.11.4 > SQLite=libsqlite3.so.0.8.6 > > [Environment] > CINNAMON_VERSION=4.2.4 > DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus > DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path > DERBY_HOME=/usr/lib/jvm/java-8-oracle/db > DESKTOP_SESSION=cinnamon > DISPLAY=:0 > GB_GUI=gb.qt5 > GDMSESSION=cinnamon > GDM_LANG=en_GB > GJS_DEBUG_OUTPUT=stderr > GJS_DEBUG_TOPICS=JS ERROR;JS LOG > GNOME_DESKTOP_SESSION_ID=this-is-deprecated > GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 > GTK_MODULES=gail:atk-bridge > GTK_OVERLAY_SCROLLING=1 > HOME= > J2REDIR=/usr/lib/jvm/java-8-oracle/jre > J2SDKDIR=/usr/lib/jvm/java-8-oracle > JAVA_HOME=/usr/lib/jvm/java-8-oracle > LANG=en_GB.UTF-8 > LANGUAGE=en_GB.UTF-8 > LC_ADDRESS=en_GB.UTF-8 > LC_IDENTIFICATION=en_GB.UTF-8 > LC_MEASUREMENT=en_GB.UTF-8 > LC_MONETARY=en_GB.UTF-8 > LC_NAME=en_GB.UTF-8 > LC_NUMERIC=en_GB.UTF-8 > LC_PAPER=en_GB.UTF-8 > LC_TELEPHONE=en_GB.UTF-8 > LC_TIME=en_GB.UTF-8 > LOGNAME= > MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path > PAPERSIZE=a4 > > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin > PWD= > QT_ACCESSIBILITY=1 > QT_QPA_PLATFORMTHEME=qt5ct > > SESSION_MANAGER=local/:@/tmp/.ICE-unix/2172,unix/:/tmp/.ICE-unix/2172 > SHELL=/bin/bash > SHLVL=0 > SSH_AGENT_PID=2239 > SSH_AUTH_SOCK=/run/user/1000/keyring/ssh > S_COLORS=auto > TZ=:/etc/localtime > USER= > 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:/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop > 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=cinnamon > XDG_SESSION_ID=c1 > XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 > XDG_SESSION_TYPE=x11 > XDG_VTNR=7 > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Chooser-0.0.1.tar.gz Type: application/gzip Size: 12079 bytes Desc: not available URL: From gambas.fr at gmail.com Thu Oct 24 19:14:52 2019 From: gambas.fr at gmail.com (Fabien Bodard) Date: Thu, 24 Oct 2019 19:14:52 +0200 Subject: [Gambas-user] DirChooser bug In-Reply-To: References: <324bd6e6-cf34-7af5-8694-52571fb01c84@cogier.com> Message-ID: Public Sub View_Select() Raise {Select} End Public Sub View_Click() Raise Click End Public Sub View_Activate() Raise Activate End Public Sub View_Menu() Raise Menu End As you can see other events are not linked to the outside.. A workaround will be able to get it by dim o as object For each o in FileView.Children OBS = new Observer(o,true) as "OBS" next then you can use Public sub OBS_MouseDown.. etc Le jeu. 24 oct. 2019 ? 18:15, Gianluigi a ?crit : > Hi Charlie, > > I think thet FileChosser uses the mentioned events internally. > See if the attached project works. > > Regards > Gianluigi > > Il giorno gio 24 ott 2019 alle ore 17:32 Charlie Ogier > ha scritto: > >> Hi, >> >> Is this just me but I can't get the following code to do anything: - >> >> *Public Sub FileChooser1_MouseUp()* >> >> * Print "Up"* >> >> *End* >> >> *Public Sub FileChooser1_MouseDown()* >> >> * Print "Down"* >> >> *End* >> >> *Public Sub FileChooser1_DblClick()* >> >> * Print "Dbl Click"* >> >> *End* >> >> Thanks, >> >> Charlie >> >> [System] >> Gambas=3.14 >> OperatingSystem=Linux >> Kernel=4.15.0-66-generic >> Architecture=x86_64 >> Distribution=Linux Mint 19.2 Tina >> Desktop=CINNAMON >> Theme=Qt5CTProxy >> Language=en_GB.UTF-8 >> Memory=7848M >> >> [Libraries] >> Cairo=libcairo.so.2.11510.0 >> Curl=libcurl.so.4.5.0 >> DBus=libdbus-1.so.3.19.4 >> GStreamer=libgstreamer-1.0.so.0.1405.0 >> GTK+2=libgtk-x11-2.0.so.0.2400.32 >> GTK+3=libgtk-3.so.0.2200.30 >> OpenGL=libGL.so.1.0.0 >> Poppler=libpoppler.so.73.0.0 >> QT4=libQtCore.so.4.8.7 >> QT5=libQt5Core.so.5.9.5 >> SDL=libSDL-1.2.so.0.11.4 >> SQLite=libsqlite3.so.0.8.6 >> >> [Environment] >> CINNAMON_VERSION=4.2.4 >> DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus >> DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path >> DERBY_HOME=/usr/lib/jvm/java-8-oracle/db >> DESKTOP_SESSION=cinnamon >> DISPLAY=:0 >> GB_GUI=gb.qt5 >> GDMSESSION=cinnamon >> GDM_LANG=en_GB >> GJS_DEBUG_OUTPUT=stderr >> GJS_DEBUG_TOPICS=JS ERROR;JS LOG >> GNOME_DESKTOP_SESSION_ID=this-is-deprecated >> GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 >> GTK_MODULES=gail:atk-bridge >> GTK_OVERLAY_SCROLLING=1 >> HOME= >> J2REDIR=/usr/lib/jvm/java-8-oracle/jre >> J2SDKDIR=/usr/lib/jvm/java-8-oracle >> JAVA_HOME=/usr/lib/jvm/java-8-oracle >> LANG=en_GB.UTF-8 >> LANGUAGE=en_GB.UTF-8 >> LC_ADDRESS=en_GB.UTF-8 >> LC_IDENTIFICATION=en_GB.UTF-8 >> LC_MEASUREMENT=en_GB.UTF-8 >> LC_MONETARY=en_GB.UTF-8 >> LC_NAME=en_GB.UTF-8 >> LC_NUMERIC=en_GB.UTF-8 >> LC_PAPER=en_GB.UTF-8 >> LC_TELEPHONE=en_GB.UTF-8 >> LC_TIME=en_GB.UTF-8 >> LOGNAME= >> MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path >> PAPERSIZE=a4 >> >> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin >> PWD= >> QT_ACCESSIBILITY=1 >> QT_QPA_PLATFORMTHEME=qt5ct >> >> SESSION_MANAGER=local/:@/tmp/.ICE-unix/2172,unix/:/tmp/.ICE-unix/2172 >> SHELL=/bin/bash >> SHLVL=0 >> SSH_AGENT_PID=2239 >> SSH_AUTH_SOCK=/run/user/1000/keyring/ssh >> S_COLORS=auto >> TZ=:/etc/localtime >> USER= >> 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:/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop >> 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=cinnamon >> XDG_SESSION_ID=c1 >> XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 >> XDG_SESSION_TYPE=x11 >> XDG_VTNR=7 >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -- Fabien Bodard -------------- next part -------------- An HTML attachment was scrubbed... URL: From roberto.premoli at tiscali.it Fri Oct 25 00:47:57 2019 From: roberto.premoli at tiscali.it (roberto) Date: Fri, 25 Oct 2019 00:47:57 +0200 Subject: [Gambas-user] gambas 100% CLI: is it possible? Message-ID: Hi i have headless ARM embedded board. I log in by serial line and/or ssh. I wan to develop a program, but i dislike python, . I can do in bash, maybe, but i prefere to use a compiled executable. So, i ask if it is possible in gambas to write, compile and package a program using only the command line. In alternative, maybe i can install GUI and use remote desktop from another PC, but it will be a bad workaround i prefere to avoid. Thanks. roberto From jose.rodriguez at cenpalab.cu Fri Oct 25 02:29:50 2019 From: jose.rodriguez at cenpalab.cu (jose.rodriguez at cenpalab.cu) Date: Thu, 24 Oct 2019 20:29:50 -0400 Subject: [Gambas-user] gambas 100% CLI: is it possible? In-Reply-To: References: Message-ID: <68b6593115b1cc20d35c78177dd9651f@cenpalab.cu> On 2019-10-24 18:47, roberto wrote: > > So, i ask if it is possible in gambas to write, compile and package a > program using only the command line. > Yes, it is. Specially take a look at the gb.ncurses component. Regards, Joe1962 From jose.rodriguez at cenpalab.cu Fri Oct 25 07:05:12 2019 From: jose.rodriguez at cenpalab.cu (jose.rodriguez at cenpalab.cu) Date: Fri, 25 Oct 2019 01:05:12 -0400 Subject: [Gambas-user] gambas 100% CLI: is it possible? In-Reply-To: <60907719-6f0b-8e3f-ef01-649bc4df5160@tiscali.it> References: <68b6593115b1cc20d35c78177dd9651f@cenpalab.cu> <60907719-6f0b-8e3f-ef01-649bc4df5160@tiscali.it> Message-ID: <9eeedbf58531082206e1d705db6e0c30@cenpalab.cu> On 2019-10-24 20:51, roberto wrote: > On 25/10/19 02:29, jose.rodriguez at cenpalab.cu wrote: >> On 2019-10-24 18:47, roberto wrote: >>> >>> So, i ask if it is possible in gambas to write, compile and package a >>> program using only the command line. >>> >> >> Yes, it is. Specially take a look at the gb.ncurses component. >> >> Regards, >> Joe1962 >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >> ]---- > > hi joe1962, > > what to use as editor? and how to run and compile? > > Thanks. We should keep this on the list. There is a Gambas IDE (itself programmed in Gambas). You should check out the website and documentation: http://gambas.sourceforge.net/en/main.html Regards, Joe1962 From chrisml at deganius.de Fri Oct 25 08:03:15 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Fri, 25 Oct 2019 08:03:15 +0200 Subject: [Gambas-user] gambas 100% CLI: is it possible? In-Reply-To: References: Message-ID: <7dd81ad4-aa6b-836a-28b1-007e018d9a03@deganius.de> Am 25.10.19 um 00:47 schrieb roberto: > i have headless ARM embedded board. > > I log in by serial line and/or ssh. > > I wan to develop a program, but i dislike python, . I can do in bash, > maybe, but i prefere to use a compiled executable. > > So, i ask if it is possible in gambas to write, compile and package a > program using only the command line. It is possible, but not convenient. In theory you can write the program with Vim, then compile it with: gbc3 -a /path/to/sourcedir Then pack and create the executable with: gba3 -o /path/to/sourcedir/progname.gambas /path/to/sourcedir Then install it as root: cp /path/to/sourcedir/progname.gambas /usr/bin/progname.gambas > In alternative, maybe i can install GUI and use remote desktop from > another PC, but it will be a bad workaround i prefere to avoid. I would try to use the IDE to create the project itself and its files and directory structure as a command line project on a X86 computer. You can also compile it on the X86 computer and the copy to and run the Gambas executable on the ARM computer. This is what I do with some programs that run on a Raspberry Pi. As long as you only use Gambas methods and components inside your program it should run the in the same way on X86 and ARM. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From jose.rodriguez at cenpalab.cu Fri Oct 25 08:14:30 2019 From: jose.rodriguez at cenpalab.cu (jose.rodriguez at cenpalab.cu) Date: Fri, 25 Oct 2019 02:14:30 -0400 Subject: [Gambas-user] gambas 100% CLI: is it possible? In-Reply-To: <7dd81ad4-aa6b-836a-28b1-007e018d9a03@deganius.de> References: <7dd81ad4-aa6b-836a-28b1-007e018d9a03@deganius.de> Message-ID: On 2019-10-25 02:03, Christof Thalhofer wrote: > Am 25.10.19 um 00:47 schrieb roberto: > >> So, i ask if it is possible in gambas to write, compile and package a >> program using only the command line. > > It is possible, but not convenient. In theory you can write the program > with Vim, then compile it with: > > gbc3 -a /path/to/sourcedir > > Then pack and create the executable with: > > gba3 -o /path/to/sourcedir/progname.gambas /path/to/sourcedir > > Then install it as root: > > cp /path/to/sourcedir/progname.gambas /usr/bin/progname.gambas > >> In alternative, maybe i can install GUI and use remote desktop from >> another PC, but it will be a bad workaround i prefere to avoid. > > I would try to use the IDE to create the project itself and its files > and directory structure as a command line project on a X86 computer. > > You can also compile it on the X86 computer and the copy to and run the > Gambas executable on the ARM computer. This is what I do with some > programs that run on a Raspberry Pi. > Ok, I obviously didn't read the original email carefully enough. I figured like Christof that development would be on a PC and the executable copied over to the arm board, which explains my answer about the Gambas IDE, sorry about that. Thanks, Christof, for a more complete reply. Regards, Joe1962 From roberto.premoli at tiscali.it Fri Oct 25 11:38:59 2019 From: roberto.premoli at tiscali.it (roberto) Date: Fri, 25 Oct 2019 11:38:59 +0200 Subject: [Gambas-user] gambas 100% CLI: is it possible? In-Reply-To: References: <7dd81ad4-aa6b-836a-28b1-007e018d9a03@deganius.de> Message-ID: <427d0036-946b-fbd3-6712-78612c5f5beb@tiscali.it> On 25/10/19 08:14, jose.rodriguez at cenpalab.cu wrote: > On 2019-10-25 02:03, Christof Thalhofer wrote: >> Am 25.10.19 um 00:47 schrieb roberto: >> >>> So, i ask if it is possible in gambas to write, compile and package a >>> program using only the command line. >> >> It is possible, but not convenient. In theory you can write the program >> with Vim, then compile it with: >> >> gbc3 -a /path/to/sourcedir >> >> Then pack and create the executable with: >> >> gba3 -o /path/to/sourcedir/progname.gambas /path/to/sourcedir >> >> Then install it as root: >> >> cp /path/to/sourcedir/progname.gambas /usr/bin/progname.gambas >> >>> In alternative, maybe i can install GUI and use remote desktop from >>> another PC, but it will be a bad workaround i prefere to avoid. >> >> I would try to use the IDE to create the project itself and its files >> and directory structure as a command line project on a X86 computer. >> >> You can also compile it on the X86 computer and the copy to and run the >> Gambas executable on the ARM computer. This is what I do with some >> programs that run on a Raspberry Pi. >> > > Ok, I obviously didn't read the original email carefully enough. I > figured like Christof that development would be on a PC and the > executable copied over to the arm board, which explains my answer > about the Gambas IDE, sorry about that. Thanks, Christof, for a more > complete reply. > > Regards, > Joe1962 > > thanks to both of you for explain me and indicate the command to be used on CLI. By the way, i can do the first develop on desktop X86 for logistic reason (faster cpu, ecc), then port the source code on ARM board, does the necessary adjustments and then recompile natively on for ARM. Once again thanks, all of you. Roberto From g4mba5 at gmail.com Fri Oct 25 14:36:27 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 25 Oct 2019 14:36:27 +0200 Subject: [Gambas-user] gambas 100% CLI: is it possible? In-Reply-To: <427d0036-946b-fbd3-6712-78612c5f5beb@tiscali.it> References: <7dd81ad4-aa6b-836a-28b1-007e018d9a03@deganius.de> <427d0036-946b-fbd3-6712-78612c5f5beb@tiscali.it> Message-ID: <3daeca85-bb7b-d465-7906-cb2cc523cfb3@gmail.com> Le 25/10/2019 ? 11:38, roberto a ?crit?: > thanks to both of you for explain me and indicate the command to be used > on CLI. > > By the way, i can do the first develop on desktop X86 for logistic > reason (faster cpu, ecc), then port the source code on ARM board, does > the necessary adjustments and then recompile natively on for ARM. > > Once again thanks, all of you. > > Roberto > Gambas is not compiled, it's an interpreter. So if you generate the executable on x86, you can run it as is on ARM (unless there is a bug, but this is another story). You don't have to recompile it on the target platform. Regards, -- Beno?t Minisini From charlie at cogier.com Fri Oct 25 16:22:39 2019 From: charlie at cogier.com (Charlie Ogier) Date: Fri, 25 Oct 2019 15:22:39 +0100 Subject: [Gambas-user] DirChooser bug In-Reply-To: References: <324bd6e6-cf34-7af5-8694-52571fb01c84@cogier.com> Message-ID: <9f8b5690-7435-9d84-081f-5b81c1c6448f@cogier.com> Hi Fabien, Thanks for the tip, this works well. All the best, Charlie On 24/10/2019 18:14, Fabien Bodard wrote: > > Public Sub View_Select() > > ? Raise {Select} > > End > > Public Sub View_Click() > > ? Raise Click > > End > > Public Sub View_Activate() > > ? Raise Activate > > End > > Public Sub View_Menu() > > ? Raise Menu > > End > > As you can see other events are not linked to the outside.. > > A workaround will be able to get it by > dim o as object > > > For each o in FileView.Children > OBS = new Observer(o,true) as "OBS" > next > > then you can use > > Public sub OBS_MouseDown.. etc > > > > > Le?jeu. 24 oct. 2019 ??18:15, Gianluigi > a ?crit?: > > Hi Charlie, > > I think thet FileChosser uses the mentioned events internally. > See if the attached project works. > > Regards > Gianluigi > > Il giorno gio 24 ott 2019 alle ore 17:32 Charlie Ogier > > ha scritto: > > Hi, > > Is this just me but I can't get the following code to do > anything: - > > /*Public Sub FileChooser1_MouseUp()*//* > *//* > *//*?Print "Up"*//* > *//* > *//*End*//* > *//* > *//*Public Sub FileChooser1_MouseDown()*//* > *//* > *//*? Print "Down"*//* > *//* > *//*End*//* > *//* > *//*Public Sub FileChooser1_DblClick()*//* > *//* > *//*? Print "Dbl Click"*//* > *//* > *//*End*/ > > Thanks, > > Charlie > > [System] > Gambas=3.14 > OperatingSystem=Linux > Kernel=4.15.0-66-generic > Architecture=x86_64 > Distribution=Linux Mint 19.2 Tina > Desktop=CINNAMON > Theme=Qt5CTProxy > Language=en_GB.UTF-8 > Memory=7848M > > [Libraries] > Cairo=libcairo.so.2.11510.0 > Curl=libcurl.so.4.5.0 > DBus=libdbus-1.so.3.19.4 > GStreamer=libgstreamer-1.0.so.0.1405.0 > GTK+2=libgtk-x11-2.0.so.0.2400.32 > GTK+3=libgtk-3.so.0.2200.30 > OpenGL=libGL.so.1.0.0 > Poppler=libpoppler.so.73.0.0 > QT4=libQtCore.so.4.8.7 > QT5=libQt5Core.so.5.9.5 > SDL=libSDL-1.2.so.0.11.4 > SQLite=libsqlite3.so.0.8.6 > > [Environment] > CINNAMON_VERSION=4.2.4 > DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus > DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path > DERBY_HOME=/usr/lib/jvm/java-8-oracle/db > DESKTOP_SESSION=cinnamon > DISPLAY=:0 > GB_GUI=gb.qt5 > GDMSESSION=cinnamon > GDM_LANG=en_GB > GJS_DEBUG_OUTPUT=stderr > GJS_DEBUG_TOPICS=JS ERROR;JS LOG > GNOME_DESKTOP_SESSION_ID=this-is-deprecated > GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 > GTK_MODULES=gail:atk-bridge > GTK_OVERLAY_SCROLLING=1 > HOME= > J2REDIR=/usr/lib/jvm/java-8-oracle/jre > J2SDKDIR=/usr/lib/jvm/java-8-oracle > JAVA_HOME=/usr/lib/jvm/java-8-oracle > LANG=en_GB.UTF-8 > LANGUAGE=en_GB.UTF-8 > LC_ADDRESS=en_GB.UTF-8 > LC_IDENTIFICATION=en_GB.UTF-8 > LC_MEASUREMENT=en_GB.UTF-8 > LC_MONETARY=en_GB.UTF-8 > LC_NAME=en_GB.UTF-8 > LC_NUMERIC=en_GB.UTF-8 > LC_PAPER=en_GB.UTF-8 > LC_TELEPHONE=en_GB.UTF-8 > LC_TIME=en_GB.UTF-8 > LOGNAME= > MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path > PAPERSIZE=a4 > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin > PWD= > QT_ACCESSIBILITY=1 > QT_QPA_PLATFORMTHEME=qt5ct > SESSION_MANAGER=local/:@/tmp/.ICE-unix/2172,unix/:/tmp/.ICE-unix/2172 > SHELL=/bin/bash > SHLVL=0 > SSH_AGENT_PID=2239 > SSH_AUTH_SOCK=/run/user/1000/keyring/ssh > S_COLORS=auto > TZ=:/etc/localtime > USER= > 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:/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop > 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=cinnamon > XDG_SESSION_ID=c1 > XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 > XDG_SESSION_TYPE=x11 > XDG_VTNR=7 > > ----[ Gambas mailing-list is hosted by > https://www.hostsharing.net ]---- > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > > > > -- > Fabien Bodard > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From ssepanus at yahoo.com Fri Oct 25 22:35:56 2019 From: ssepanus at yahoo.com (ssepanus) Date: Fri, 25 Oct 2019 16:35:56 -0400 Subject: [Gambas-user] (GambasGuiGtk3:30551): Gtk-CRITICAL **: 16:14:18.971: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkCheckButton Message-ID: <7ad0cd46-22f2-21c0-4b44-2e31ec267ca1@yahoo.com> Re-create: ?????? Use gb.Gtk3, add CheckBox with no Text, shrink width to 21 so that name of control does not appear at design-time. (Note: using label to left instead of control Text to right.) Run app, see error in IDE console (although app may run normally). (Note: re-created in test project and made additional observation that if Text property IS set, then error occurs if control width is not large enough that all of Text is visible) Message: ?????? "(GambasGuiGtk3:30551): Gtk-CRITICAL **: 16:14:18.971: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkCheckButton" Work-around: ?????? Increase control width to 28, OR so that some tiny portion of control name is visible at design-time. Info: [System] Gambas=3.14 OperatingSystem=Linux Kernel=4.15.0-66-generic Architecture=x86_64 Distribution=Linux Mint 19.2 Tina Desktop=CINNAMON Theme=Gtk Language=en_US.UTF-8 Memory=7917M [Libraries] Cairo=libcairo.so.2.11510.0 Curl=libcurl.so.4.5.0 DBus=libdbus-1.so.3.19.4 GStreamer=libgstreamer-1.0.so.0.1405.0 GTK+2=libgtk-x11-2.0.so.0.2400.32 GTK+3=libgtk-3.so.0.2200.30 OpenGL=libGL.so.1.0.0 Poppler=libpoppler.so.73.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.9.5 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CINNAMON_VERSION=4.2.4 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path DESKTOP_SESSION=cinnamon DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=cinnamon GDM_LANG=en_US GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=25938 GJS_DEBUG_OUTPUT=stderr GJS_DEBUG_TOPICS=JS ERROR;JS LOG GNOME_DESKTOP_SESSION_ID=this-is-deprecated GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 GTK_MODULES=gail:atk-bridge GTK_OVERLAY_SCROLLING=1 HOME= LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/.dotnet/tools PWD= QT_ACCESSIBILITY=1 QT_QPA_PLATFORMTHEME=qt5ct SESSION_MANAGER=local/:@/tmp/.ICE-unix/1468,unix/:/tmp/.ICE-unix/1468 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=1559 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh S_COLORS=auto TZ=:/etc/localtime USER= 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:/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/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_DESKTOP=cinnamon XDG_SESSION_ID=c3 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 -------------- next part -------------- A non-text attachment was scrubbed... Name: checkbox_bad.png Type: image/png Size: 2111 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: checkbox_ok.png Type: image/png Size: 2295 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Gtk3CheckBoxBug.zip Type: application/zip Size: 14170 bytes Desc: not available URL: From twopilots at interisland.net Sat Oct 26 00:48:18 2019 From: twopilots at interisland.net (Ed & Clare Kelm) Date: Fri, 25 Oct 2019 15:48:18 -0700 Subject: [Gambas-user] Printer Font Size Problem In-Reply-To: References: <7b80150b-6435-d40c-c1ab-259e8103140a@interisland.net> <04e986db-5183-d15f-7723-2228e7501f6c@gmail.com> Message-ID: Benoit:? The fix works.? Thanks! Tobi:? Thanks for showing me the easy way to get it installed! Ed K. On 10/19/19 9:14 AM, Ed & Clare Kelm wrote: > Benoit: > > Thanks for the fix.? I have never compiled the IDE, so it will take me > some time to learn how.? What is the best link for instructions? > > Ed K. > > On 10/18/19 3:40 PM, Beno?t Minisini wrote: >> Le 18/10/2019 ? 02:29, Ed & Clare Kelm a ?crit?: >>> Benoit: >>> >>> My apologies.? The font is Droid Sans.? Thank you for explaining the >>> purpose of FontScale >>> >>> What is happening is "Paint.Font.Bold=TRUE" applies the FontScale to >>> the Font.Size, and so does "Paint.Font.Bold=FALSE". >>> >>> In my case the FontScale is ~0.97. so every time I change the state >>> of Font.Bold, the font shrinks a little bit.? In a page having lots >>> of individual bold words, the font shrinks to extremely tiny! >>> >>> That can't be right. >>> >>> Also shouldn't the Font.Size be what I set??? In other words, if I >>> say "Paint.Font.Size =14", shouldn't "a = Paint.Font.Size" set a to 14? >>> >>> >>> Ed K. >>> >> >> I made a fix in commit >> https://gitlab.com/gambas/gambas/commit/8a0c190b9540b9c4f7d06ee189c1513e954df8cf. >> >> If you can try it, tell me if it is ok for you. >> >> The Paint.FontScale trick is still not transparent. If you assign a >> font to Paint.Font, its size will be scaled according to >> Paint.FontScale. But if you change Paint.Font.Size directly, the >> scale won't apply anymore. >> >> Regards, >> > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From g4mba5 at gmail.com Sat Oct 26 01:12:01 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 26 Oct 2019 01:12:01 +0200 Subject: [Gambas-user] Printer Font Size Problem In-Reply-To: References: <7b80150b-6435-d40c-c1ab-259e8103140a@interisland.net> <04e986db-5183-d15f-7723-2228e7501f6c@gmail.com> Message-ID: <6925a305-49c0-2ce2-0193-b36b9123a92e@gmail.com> Le 26/10/2019 ? 00:48, Ed & Clare Kelm a ?crit?: > Benoit:? The fix works.? Thanks! > > Tobi:? Thanks for showing me the easy way to get it installed! > > Ed K. > Hi, I have just really fixed it in the last commit, by making Paint.FontScale "transparent". I mean: the value of Paint.Font.Size is kept after the font has been assigned to Paint.Font. Regards, -- Beno?t Minisini From adamnt42 at gmail.com Sat Oct 26 08:21:29 2019 From: adamnt42 at gmail.com (Bruce) Date: Sat, 26 Oct 2019 16:51:29 +1030 Subject: [Gambas-user] Segfault when the number of visible tabs in a Tabstrip goes to zero Message-ID: <9098fa69-09a4-729c-8cc4-c306aff00ed9@gmail.com> The form has a variable number of tabs. Their visibility is controlled by a user action on some "filter" buttons. When, as a result of the user's filtering clicks, all the tabs .Visible are false the project segfaults. The only info I get is "ASSERT failure in QList::at: "index out of range", file /usr/include/QtCore/qlist.h, line 469" I've tried both stepping through the project (which us very big), trying to get a backtrace at the failure and even researching how the IDE works when all the tabs are closed (no help, its a MDI form). I've tried creating a small demo but it doesn't crash. Next steps? b From adamnt42 at gmail.com Sat Oct 26 09:14:22 2019 From: adamnt42 at gmail.com (Bruce) Date: Sat, 26 Oct 2019 17:44:22 +1030 Subject: [Gambas-user] Segfault when the number of visible tabs in a Tabstrip goes to zero In-Reply-To: <9098fa69-09a4-729c-8cc4-c306aff00ed9@gmail.com> References: <9098fa69-09a4-729c-8cc4-c306aff00ed9@gmail.com> Message-ID: <79d54224-e105-bb3c-250b-9c4a68d7dbfa@gmail.com> Sorry, Meant to say: The form has a tabstrip with a variable number of tabs. On 26/10/19 5:21 pm, Bruce wrote: > The form has a variable number of tabs. Their visibility is controlled > by a user action on some "filter" buttons. When, as a result of the > user's filtering clicks,? all the tabs .Visible are false the project > segfaults. > The only info I get is "ASSERT failure in QList::at: "index out of > range", file /usr/include/QtCore/qlist.h, line 469" > > I've tried both stepping through the project (which us very big), trying > to get a backtrace at the failure and even researching how the IDE works > when all the tabs are closed (no help, its a MDI form). > > I've tried creating a small demo but it doesn't crash. > > Next steps? > > b From adamnt42 at gmail.com Sat Oct 26 09:20:29 2019 From: adamnt42 at gmail.com (Bruce) Date: Sat, 26 Oct 2019 17:50:29 +1030 Subject: [Gambas-user] Two IDE sugeestions/requests Message-ID: 1) In the code editor there are shorcuts for folding/collapsing the code, would it be possible to add another that collapsed all but the current method, i.e. the one where the cursor is located. 2) In the form editor it would be really helpful if there was a quick way to do a global search for the currently selected control name. Either in the popup menu, the properties listview or the properties listview popup menu for the control name. There are ways to achieve both these but it would be quite handy (IMO) to have super quick ways to do them. bruce From jussi.lahtinen at gmail.com Sun Oct 27 02:42:38 2019 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Sun, 27 Oct 2019 03:42:38 +0200 Subject: [Gambas-user] Daylight "saving" and time zones Message-ID: Is there a reliable way to detect any of those shenanigans happening to system clock? And how much is shifted and in what direction? Jussi -------------- next part -------------- An HTML attachment was scrubbed... URL: From jussi.lahtinen at gmail.com Sun Oct 27 03:14:31 2019 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Sun, 27 Oct 2019 04:14:31 +0200 Subject: [Gambas-user] How to construct date & time? Message-ID: Let's say I want this; date(2019,10,27,2,3) in UTC, but I'm in different time zone (or perhaps even suddenly changing time zone without any warning). How I get the Date() function to return correct values? It would be easy, if date would accept one more argument; date(2019,10,27,2,3, "UTC")... Jussi -------------- next part -------------- An HTML attachment was scrubbed... URL: From t.lee.davidson at gmail.com Sun Oct 27 18:22:20 2019 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Sun, 27 Oct 2019 13:22:20 -0400 Subject: [Gambas-user] Daylight "saving" and time zones In-Reply-To: References: Message-ID: <858d312d-b057-f5bb-70cf-b631a2122c40@gmail.com> On 10/26/19 9:42 PM, Jussi Lahtinen wrote: > Is there a reliable way to detect any of those shenanigans happening to system clock? > And how much is shifted and in what direction? > > Let's say I want this; date(2019,10,27,2,3) in UTC, but I'm in different time zone (or perhaps even suddenly changing time zone without any warning). How I get the Date() function to return correct values? > > It would be easy, if date would accept one more argument; date(2019,10,27,2,3, "UTC")... > I think I must be missing something in what you are asking since I'm almost certain that you, knowing more about Gambas than I, must already be aware of the gb.util Date functions and System.TimeZone. It is recommended that a system with only Linux on it should have the hardware (CMOS) clock set to UTC. If that is the case, then the system clock should not change. (Linux uses the glibc time functions to convert the system time to local time as needed using the time zone info stored under, eg., /usr/share/zoneinfo.) System.TimeZone yields, "the number of seconds you must add to the local time to get the UTC time." Since this number can be negative, this gives us the amount of shift and the direction. Following the example in the Wiki, if one's time zone is UTC+2, System.TimeZone will return -7200 since one would actually have to subtract 7200 seconds to get back to a UTC representation. gb.util has Date.FromUTC ("Move a date back to local time if its local representation is actually in UTC.") and Date.ToUTC ("Move a date so that its local representation is its UTC value."). So then perhaps one could do: Date.ToUTC(date(2019,10,27,2,3)) ___ Lee From hans at gambas-buch.de Sun Oct 27 18:21:49 2019 From: hans at gambas-buch.de (Hans Lehmann) Date: Sun, 27 Oct 2019 18:21:49 +0100 Subject: [Gambas-user] Distributed version control with Git in the IDE Message-ID: Hello. In the menu of the IDE you will find the item 'Project> Put under version control>With Git'. That's why I read the book Git - Distributed version control for code and documents (http://gitbu.ch) - extensively and followed the examples presented there. But it doesn't help me much, because I can't find any documentation about *internal* version control in the IDE. A shortcoming you come across again and again at Gambas - and it just doesn't seem to bother the developers! Our new feature - Your problem: Do something with it. Where is there documentation for *internal* version control in the IDE? What does the error message mean: Please enter the journal ? Why is the field in the project properties empty for version control? Yours sincerely Hans -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Sun Oct 27 19:25:43 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 27 Oct 2019 19:25:43 +0100 Subject: [Gambas-user] Daylight "saving" and time zones In-Reply-To: <858d312d-b057-f5bb-70cf-b631a2122c40@gmail.com> References: <858d312d-b057-f5bb-70cf-b631a2122c40@gmail.com> Message-ID: <23f37de7-a3a8-723f-c429-4090b9321172@gmail.com> Le 27/10/2019 ? 18:22, T Lee Davidson a ?crit?: > On 10/26/19 9:42 PM, Jussi Lahtinen wrote: >> Is there a reliable way to detect any of those shenanigans happening >> to system clock? >> And how much is shifted and in what direction? >> > >> Let's say I want this; date(2019,10,27,2,3) in UTC, but I'm in >> different time zone (or perhaps even suddenly changing time zone >> without any warning). How I get the Date() function to return correct >> values? >> >> It would be easy, if date would accept one more argument; >> date(2019,10,27,2,3, "UTC")... >> > > I think I must be missing something in what you are asking since I'm > almost certain that you, knowing more about Gambas than I, must already > be aware of the gb.util Date functions and System.TimeZone. > > It is recommended that a system with only Linux on it should have the > hardware (CMOS) clock set to UTC. If that is the case, then the system > clock should not change. (Linux uses the glibc time functions to convert > the system time to local time as needed using the time zone info stored > under, eg., /usr/share/zoneinfo.) > > System.TimeZone yields, "the number of seconds you must add to the local > time to get the UTC time." Since this number can be negative, this gives > us the amount of shift and the direction. Following the example in the > Wiki, if one's time zone is UTC+2, System.TimeZone will return -7200 > since one would actually have to subtract 7200 seconds to get back to a > UTC representation. > > gb.util has Date.FromUTC ("Move a date back to local time if its local > representation is actually in UTC.") and Date.ToUTC ("Move a date so > that its local representation is its UTC value."). So then perhaps one > could do: > Date.ToUTC(date(2019,10,27,2,3)) > > > ___ > Lee > That's it. You must understand that there is always an implicit timezone when dealing with a date as as string, or with the Date() function and the functions of the same family: Year(), Month()... The implicit timezone is always the local timezone (as returned by System.TimeZone) except for CStr() and CDate(), that assumes UTC timezone. Internally, the date is stored in UTC. Regards, -- Beno?t Minisini From g4mba5 at gmail.com Sun Oct 27 19:29:48 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 27 Oct 2019 19:29:48 +0100 Subject: [Gambas-user] Distributed version control with Git in the IDE In-Reply-To: References: Message-ID: Le 27/10/2019 ? 18:21, Hans Lehmann a ?crit?: > Hello. > > In the menu of the IDE you will find the item 'Project> Put under > version control>With Git'. That's why I read the book Git - Distributed > version control for code and documents (http://gitbu.ch) - extensively > and followed the examples presented there. But it doesn't help me much, > because I can't find any documentation about *internal* version control > in the IDE. A shortcoming you come across again and again at Gambas - > and it just doesn't seem to bother the developers! Our new feature - > Your problem: Do something with it. > > Where is there documentation for *internal* version control in the IDE? > What does the error message mean: Please enter the journal ? > Why is the field in the project properties empty for version control? > > Yours sincerely > > Hans > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > I don't really understand your questions. The Gambas IDE offers a GUI interface that issued some git commands for you. All git commands executed by the IDE are, by default, printed in the console of the version control bottom tab (except the git commands that just read the state of files and do not modify anything). You can entirely manage your project from the command-line. So why a "Put under version control with GIT" menu entry? Because Gambas creates a ".gitignore" file for you that tells git which files of the project directory must be managed by git, and which must not (they are the file that are generated by the compiler). Regards, -- Beno?t Minisini From chrisml at deganius.de Sun Oct 27 20:19:23 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Sun, 27 Oct 2019 20:19:23 +0100 Subject: [Gambas-user] Distributed version control with Git in the IDE In-Reply-To: References: Message-ID: Am 27.10.19 um 18:21 schrieb Hans Lehmann: > In the menu of the IDE you will find the item 'Project> Put under > version control>With Git'. That's why I read the book Git - Distributed > version control for code and documents (http://gitbu.ch) - extensively > and followed the examples presented there. But it doesn't help me much, > because I can't find any documentation about *internal* version control > in the IDE. A shortcoming you come across again and again at Gambas - > and it just doesn't seem to bother the developers! Our new feature - > Your problem: Do something with it. > > Where is there documentation for *internal* version control in the IDE? > What does the error message mean: Please enter the journal ? > Why is the field in the project properties empty for version control? There is no "internal" version control in the IDE. If the project you work on is already versioned by Git, the IDE can be used to pull, commit and push. But if there is a merge conflict or you want to use other Git commands like "rebase" you still have to use the commandline. So first you have to start with Git in the terminal as you can read it in usual Git tutorials like http://gitbu.ch with something like: git init git add -A git commit -m "Start Versionierung Project $xyz" (untested) first. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From g4mba5 at gmail.com Sun Oct 27 20:25:45 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 27 Oct 2019 20:25:45 +0100 Subject: [Gambas-user] Distributed version control with Git in the IDE In-Reply-To: References: Message-ID: <7e5c707c-b6ad-6c70-e4d0-77a2ed42912d@gmail.com> Le 27/10/2019 ? 20:19, Christof Thalhofer a ?crit?: > > There is no "internal" version control in the IDE. If the project you > work on is already versioned by Git, the IDE can be used to pull, commit > and push. But if there is a merge conflict or you want to use other Git > commands like "rebase" you still have to use the commandline. > Actually the IDE has an interface for managing merge conflicts (where you can graphically choose which part of each conflict to keep). The only problem is when there is a conflic in the configuration file ('.project' and '.startup'), i.e. incompatible changes in version number or startup class. You have to solve them manually at the moment. Regards, -- Beno?t Minisini From g4mba5 at gmail.com Sun Oct 27 20:28:52 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 27 Oct 2019 20:28:52 +0100 Subject: [Gambas-user] Two IDE sugeestions/requests In-Reply-To: References: Message-ID: Le 26/10/2019 ? 09:20, Bruce a ?crit?: > 1) In the code editor there are shorcuts for folding/collapsing the > code, would it be possible to add another that collapsed all but the > current method, i.e. the one where the cursor is located. At the moment you can do that by hitting two shortcuts: CTRL+ALT+ENTER (to fold all) and CTRL+ENTER (to unfold the current procedure). :-) > > 2) In the form editor it would be really helpful if there was a quick > way to do a global search for the currently selected control name. > Either in the popup menu, the properties listview or the properties > listview popup menu for the control name. I don't understand why a "global" search for such a thing (control name) which is local to the current form, and not global. -- Beno?t Minisini From adamnt42 at gmail.com Sun Oct 27 21:56:30 2019 From: adamnt42 at gmail.com (Bruce) Date: Mon, 28 Oct 2019 07:26:30 +1030 Subject: [Gambas-user] Two IDE sugeestions/requests In-Reply-To: References: Message-ID: <10342bba-4811-5e49-56fe-1f9d77ccc6da@gmail.com> On 28/10/19 5:58 am, Beno?t Minisini wrote: > Le 26/10/2019 ? 09:20, Bruce a ?crit?: >> 1) In the code editor there are shorcuts for folding/collapsing the >> code, would it be possible to add another that collapsed all but the >> current method, i.e. the one where the cursor is located. > > At the moment you can do that by hitting two shortcuts: CTRL+ALT+ENTER > (to fold all) and CTRL+ENTER (to unfold the current procedure). :-) > (Head slap) I forgot all about the CTRL+Enter shortcut >> >> 2) In the form editor it would be really helpful if there was a quick >> way to do a global search for the currently selected control name. >> Either in the popup menu, the properties listview or the properties >> listview popup menu for the control name. > > I don't understand why a "global" search for such a thing (control name) > which is local to the current form, and not global. > Yes, but the control may be referenced many times in the class for the form. ATM I have to click on the control in the form, click on the control name in the properties tab, copy the control name, double click on the global searcher, paste the control name and click the search button. So, I think a "FindInCode" feature involving 1`click would be better. cheers b From jussi.lahtinen at gmail.com Sun Oct 27 22:05:33 2019 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Sun, 27 Oct 2019 23:05:33 +0200 Subject: [Gambas-user] Daylight "saving" and time zones In-Reply-To: <858d312d-b057-f5bb-70cf-b631a2122c40@gmail.com> References: <858d312d-b057-f5bb-70cf-b631a2122c40@gmail.com> Message-ID: I don't think you have missed anything, but the solution you offer doesn't seem to work or maybe I'm missing something. ? Date.ToUTC(date(2019,10,27,2,3)) 10/27/2019 00:03:00 ? cstr(Date.ToUTC(date(2019,10,27,2,3))) 10/26/2019 22:03:00 ? cstr(date(2019,10,27,2,3)) 10/27/2019 00:03:00 ? system.timezone -7200 This is what I want in essense: ? date(2019,10,27,2,3, "UTC") 10/27/2019 02:03:00 ? cstr(date(2019,10,27,2,3, "UTC")) 10/27/2019 02:03:00 In other words, if I write date 27.10.2019 and time 2:03, it should be just that and nothing else. I don't want to make guesses where the user might travel or when there might be other sudden changes in the time zone. System.timezone is not useful here, because it is not constant. Jussi On Sun, Oct 27, 2019 at 7:23 PM T Lee Davidson wrote: > On 10/26/19 9:42 PM, Jussi Lahtinen wrote: > > Is there a reliable way to detect any of those shenanigans happening to > system clock? > > And how much is shifted and in what direction? > > > > > Let's say I want this; date(2019,10,27,2,3) in UTC, but I'm in different > time zone (or perhaps even suddenly changing time zone without any > warning). How I get the Date() function to return correct values? > > > > It would be easy, if date would accept one more argument; > date(2019,10,27,2,3, "UTC")... > > > > I think I must be missing something in what you are asking since I'm > almost certain that you, knowing more about Gambas than I, > must already be aware of the gb.util Date functions and System.TimeZone. > > It is recommended that a system with only Linux on it should have the > hardware (CMOS) clock set to UTC. If that is the case, > then the system clock should not change. (Linux uses the glibc time > functions to convert the system time to local time as needed > using the time zone info stored under, eg., /usr/share/zoneinfo.) > > System.TimeZone yields, "the number of seconds you must add to the local > time to get the UTC time." Since this number can be > negative, this gives us the amount of shift and the direction. Following > the example in the Wiki, if one's time zone is UTC+2, > System.TimeZone will return -7200 since one would actually have to > subtract 7200 seconds to get back to a UTC representation. > > gb.util has Date.FromUTC ("Move a date back to local time if its local > representation is actually in UTC.") and Date.ToUTC > ("Move a date so that its local representation is its UTC value."). So > then perhaps one could do: > Date.ToUTC(date(2019,10,27,2,3)) > > > ___ > Lee > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jussi.lahtinen at gmail.com Sun Oct 27 22:19:15 2019 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Sun, 27 Oct 2019 23:19:15 +0200 Subject: [Gambas-user] Daylight "saving" and time zones In-Reply-To: References: <858d312d-b057-f5bb-70cf-b631a2122c40@gmail.com> Message-ID: Sorry, the other line is incorrect. This is what I want: ? cstr(date(2019,10,27,2,3, "UTC")) 10/27/2019 02:03:00 Jussi On Sun, Oct 27, 2019 at 11:05 PM Jussi Lahtinen wrote: > I don't think you have missed anything, but the solution you offer doesn't > seem to work or maybe I'm missing something. > > ? Date.ToUTC(date(2019,10,27,2,3)) > 10/27/2019 00:03:00 > > ? cstr(Date.ToUTC(date(2019,10,27,2,3))) > 10/26/2019 22:03:00 > > ? cstr(date(2019,10,27,2,3)) > 10/27/2019 00:03:00 > > ? system.timezone > -7200 > > This is what I want in essense: > > ? date(2019,10,27,2,3, "UTC") > 10/27/2019 02:03:00 > > ? cstr(date(2019,10,27,2,3, "UTC")) > 10/27/2019 02:03:00 > > In other words, if I write date 27.10.2019 and time 2:03, it should be > just that and nothing else. I don't want to make guesses where the user > might travel or when there might be other sudden changes in the time zone. > System.timezone is not useful here, because it is not constant. > > > Jussi > > On Sun, Oct 27, 2019 at 7:23 PM T Lee Davidson > wrote: > >> On 10/26/19 9:42 PM, Jussi Lahtinen wrote: >> > Is there a reliable way to detect any of those shenanigans happening to >> system clock? >> > And how much is shifted and in what direction? >> > >> >> > Let's say I want this; date(2019,10,27,2,3) in UTC, but I'm in >> different time zone (or perhaps even suddenly changing time zone without >> any warning). How I get the Date() function to return correct values? >> > >> > It would be easy, if date would accept one more argument; >> date(2019,10,27,2,3, "UTC")... >> > >> >> I think I must be missing something in what you are asking since I'm >> almost certain that you, knowing more about Gambas than I, >> must already be aware of the gb.util Date functions and System.TimeZone. >> >> It is recommended that a system with only Linux on it should have the >> hardware (CMOS) clock set to UTC. If that is the case, >> then the system clock should not change. (Linux uses the glibc time >> functions to convert the system time to local time as needed >> using the time zone info stored under, eg., /usr/share/zoneinfo.) >> >> System.TimeZone yields, "the number of seconds you must add to the local >> time to get the UTC time." Since this number can be >> negative, this gives us the amount of shift and the direction. Following >> the example in the Wiki, if one's time zone is UTC+2, >> System.TimeZone will return -7200 since one would actually have to >> subtract 7200 seconds to get back to a UTC representation. >> >> gb.util has Date.FromUTC ("Move a date back to local time if its local >> representation is actually in UTC.") and Date.ToUTC >> ("Move a date so that its local representation is its UTC value."). So >> then perhaps one could do: >> Date.ToUTC(date(2019,10,27,2,3)) >> >> >> ___ >> Lee >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisml at deganius.de Sun Oct 27 23:04:28 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Sun, 27 Oct 2019 23:04:28 +0100 Subject: [Gambas-user] Distributed version control with Git in the IDE In-Reply-To: <7e5c707c-b6ad-6c70-e4d0-77a2ed42912d@gmail.com> References: <7e5c707c-b6ad-6c70-e4d0-77a2ed42912d@gmail.com> Message-ID: Am 27.10.19 um 20:25 schrieb Beno?t Minisini: > Actually the IDE has an interface for managing merge conflicts (where > you can graphically choose which part of each conflict to keep). The > only problem is when there is a conflic in the configuration file > ('.project' and '.startup'), i.e. incompatible changes in version number > or startup class. You have to solve them manually at the moment. Ah ok, thank you for clarification. I didn't notice that. I still use the combination of Guake, Zsh and Tig as my primary interface for Git, also because I have a lot of other stuff in Git, LaTeX-files, configuration stuff and so on. Even desktop-Publishing files like svg or Scribus files. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From jussi.lahtinen at gmail.com Sun Oct 27 23:19:23 2019 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Mon, 28 Oct 2019 00:19:23 +0200 Subject: [Gambas-user] Daylight "saving" and time zones In-Reply-To: <23f37de7-a3a8-723f-c429-4090b9321172@gmail.com> References: <858d312d-b057-f5bb-70cf-b631a2122c40@gmail.com> <23f37de7-a3a8-723f-c429-4090b9321172@gmail.com> Message-ID: if I do this: ? cstr(date.fromutc(date(2019,10,27,2,30))) Is it guaranteed that in all possible localizations I will always get this?: 10/27/2019 02:30:00 Because I need to write my own routines for Year(), Month(), etc... Jussi On Sun, Oct 27, 2019 at 8:26 PM Beno?t Minisini wrote: > Le 27/10/2019 ? 18:22, T Lee Davidson a ?crit : > > On 10/26/19 9:42 PM, Jussi Lahtinen wrote: > >> Is there a reliable way to detect any of those shenanigans happening > >> to system clock? > >> And how much is shifted and in what direction? > >> > > > >> Let's say I want this; date(2019,10,27,2,3) in UTC, but I'm in > >> different time zone (or perhaps even suddenly changing time zone > >> without any warning). How I get the Date() function to return correct > >> values? > >> > >> It would be easy, if date would accept one more argument; > >> date(2019,10,27,2,3, "UTC")... > >> > > > > I think I must be missing something in what you are asking since I'm > > almost certain that you, knowing more about Gambas than I, must already > > be aware of the gb.util Date functions and System.TimeZone. > > > > It is recommended that a system with only Linux on it should have the > > hardware (CMOS) clock set to UTC. If that is the case, then the system > > clock should not change. (Linux uses the glibc time functions to convert > > the system time to local time as needed using the time zone info stored > > under, eg., /usr/share/zoneinfo.) > > > > System.TimeZone yields, "the number of seconds you must add to the local > > time to get the UTC time." Since this number can be negative, this gives > > us the amount of shift and the direction. Following the example in the > > Wiki, if one's time zone is UTC+2, System.TimeZone will return -7200 > > since one would actually have to subtract 7200 seconds to get back to a > > UTC representation. > > > > gb.util has Date.FromUTC ("Move a date back to local time if its local > > representation is actually in UTC.") and Date.ToUTC ("Move a date so > > that its local representation is its UTC value."). So then perhaps one > > could do: > > Date.ToUTC(date(2019,10,27,2,3)) > > > > > > ___ > > Lee > > > > That's it. > > You must understand that there is always an implicit timezone when > dealing with a date as as string, or with the Date() function and the > functions of the same family: Year(), Month()... > > The implicit timezone is always the local timezone (as returned by > System.TimeZone) except for CStr() and CDate(), that assumes UTC timezone. > > Internally, the date is stored in UTC. > > Regards, > > -- > Beno?t Minisini > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Sun Oct 27 23:49:35 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 27 Oct 2019 23:49:35 +0100 Subject: [Gambas-user] Daylight "saving" and time zones In-Reply-To: References: <858d312d-b057-f5bb-70cf-b631a2122c40@gmail.com> <23f37de7-a3a8-723f-c429-4090b9321172@gmail.com> Message-ID: <6d0c6a5e-c7c7-65ab-7c33-a652aaf4e1a2@gmail.com> Le 27/10/2019 ? 23:19, Jussi Lahtinen a ?crit?: > if I do this: > ? cstr(date.fromutc(date(2019,10,27,2,30))) > > Is it guaranteed that in all possible localizations I will always get this?: > 10/27/2019 02:30:00 > Yes. - date(2019,10,27,2,30) returns the date 2019-10-27T02:30:00 [local time] - Date.FromUTC() moves that date so that it becomes 2019-10-27T02:30:00 [UTC] (it's "FromUTC" because the local representation of its date argument, i.e. what you pass to Date(), is assumed to be UTC). - CStr() converts a date to its UTC representation. I agree that Date() needs one more argument to define the timezone explicitely. -- Beno?t Minisini From g4mba5 at gmail.com Sun Oct 27 23:51:47 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 27 Oct 2019 23:51:47 +0100 Subject: [Gambas-user] Daylight "saving" and time zones In-Reply-To: References: <858d312d-b057-f5bb-70cf-b631a2122c40@gmail.com> Message-ID: Le 27/10/2019 ? 22:19, Jussi Lahtinen a ?crit?: > > This is what I want in essense: > > ? date(2019,10,27,2,3, "UTC") > 10/27/2019 02:03:00 > > ? cstr(date(2019,10,27,2,3, "UTC")) > 10/27/2019 02:03:00 > > In other words, if I write date 27.10.2019 and time 2:03, it should > be just that and nothing else. I don't want to make guesses where > the user might travel or when there might be other sudden changes in > the time zone. System.timezone is not useful here, because it is not > constant. > You are plain wrong. A date is not a duration, it's an instant. Without a time zone, it means nothing. -- Beno?t Minisini From jussi.lahtinen at gmail.com Mon Oct 28 00:18:09 2019 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Mon, 28 Oct 2019 01:18:09 +0200 Subject: [Gambas-user] Daylight "saving" and time zones In-Reply-To: <6d0c6a5e-c7c7-65ab-7c33-a652aaf4e1a2@gmail.com> References: <858d312d-b057-f5bb-70cf-b631a2122c40@gmail.com> <23f37de7-a3a8-723f-c429-4090b9321172@gmail.com> <6d0c6a5e-c7c7-65ab-7c33-a652aaf4e1a2@gmail.com> Message-ID: I found my answer. It's no. I just got this: "10/28/2019 02:04:23.316" If I'm in Finland and say I have meeting tomorrow at 13:00 in London. The assumption is that the 13:00 is time for meeting *in London*, independently where and when I write down it to my calendar. When me and my device goes to London the system clock is shifted so that my calendar is readable. Thus 13:00 is always correct despite of the time zone, independently where and when it was written down. Jussi On Mon, Oct 28, 2019 at 12:49 AM Beno?t Minisini wrote: > Le 27/10/2019 ? 23:19, Jussi Lahtinen a ?crit : > > if I do this: > > ? cstr(date.fromutc(date(2019,10,27,2,30))) > > > > Is it guaranteed that in all possible localizations I will always get > this?: > > 10/27/2019 02:30:00 > > > > Yes. > > - date(2019,10,27,2,30) returns the date 2019-10-27T02:30:00 [local time] > > - Date.FromUTC() moves that date so that it becomes 2019-10-27T02:30:00 > [UTC] (it's "FromUTC" because the local representation of its date > argument, i.e. what you pass to Date(), is assumed to be UTC). > > - CStr() converts a date to its UTC representation. > > I agree that Date() needs one more argument to define the timezone > explicitely. > > -- > Beno?t Minisini > -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Mon Oct 28 00:47:37 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 28 Oct 2019 00:47:37 +0100 Subject: [Gambas-user] Daylight "saving" and time zones In-Reply-To: References: <858d312d-b057-f5bb-70cf-b631a2122c40@gmail.com> <23f37de7-a3a8-723f-c429-4090b9321172@gmail.com> <6d0c6a5e-c7c7-65ab-7c33-a652aaf4e1a2@gmail.com> Message-ID: <6156b815-cf91-1fb4-2732-305918625fe1@gmail.com> Le 28/10/2019 ? 00:18, Jussi Lahtinen a ?crit?: > I found my answer. It's no. I just got this: "10/28/2019 02:04:23.316" No idea how you could get that with Date(2019,10,27,2,30) at the beginning! > > If I'm in Finland and say I have meeting tomorrow at 13:00 in London. > The assumption is that the 13:00 is time for meeting *in London*, > independently where and when I write down it to my calendar. When me and > my device goes to London the system clock is shifted so that my calendar > is readable. Thus 13:00 is always correct despite of the time zone, > independently where and when it was written down. Of course not: you wrote 13:00 *in London*, so you get the time zone associated with your time (I assume you have a date of course with it). "13:00" is not always correct, it means nothing per se. It's "13:00 *in London*" that is always correct, with the time zone. -- Beno?t Minisini From taboege at gmail.com Mon Oct 28 01:36:51 2019 From: taboege at gmail.com (Tobias Boege) Date: Mon, 28 Oct 2019 01:36:51 +0100 Subject: [Gambas-user] Daylight "saving" and time zones In-Reply-To: References: <858d312d-b057-f5bb-70cf-b631a2122c40@gmail.com> Message-ID: <20191028003651.GC1314@highrise.localdomain> On Sun, 27 Oct 2019, Beno?t Minisini wrote: > Le 27/10/2019 ? 22:19, Jussi Lahtinen a ?crit?: > > > > This is what I want in essense: > > > > ? date(2019,10,27,2,3, "UTC") > > 10/27/2019 02:03:00 > > > > ? cstr(date(2019,10,27,2,3, "UTC")) > > 10/27/2019 02:03:00 > > > > In other words, if I write date 27.10.2019 and time 2:03, it should > > be just that and nothing else. I don't want to make guesses where > > the user might travel or when there might be other sudden changes in > > the time zone. System.timezone is not useful here, because it is not > > constant. > > > > You are plain wrong. A date is not a duration, it's an instant. Without a > time zone, it means nothing. > FWIW, Perl 6 (now named Raku) follows the same model and even the same terminology, almost. I for one like to think that the designers of that language spent a lot of time on getting many things right and they had a big amount of experience with everyday programming to consult. There, DateTime represents a usable date + time in a timezone [1]. You have methods to travel between timezones. An Instant is a point in time without a timezone attached [2], for local time, like "the instant the process was started". Duration is the difference of two DateTimes or Instants and does not have a timezone [3]. I think in Gambas one problem is that timezone in a Date is implicit, it's not an inspectable property, which is of course due to Date being a small native datatype. That's why you have to remember the rules for Date manipulation mentioned earlier in this thread, about which functions interpret Dates in which ways. Jussi: I would say that if you need "13:00" to mean "13:00 in whatever timezone my computer happens to be when I check", you should store it as a string and always reinterpret it in your local time when needed. And from a purely pragmatic point of view: for appointments I rely on the well-established iCalendar format, which supports the floating local time and specific timezones alike [4]. Regards, Tobi [1] https://docs.perl6.org/type/DateTime [2] https://docs.perl6.org/type/Instant [3] https://docs.perl6.org/type/Duration [4] https://tools.ietf.org/html/rfc5545, section 3.3.5 -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From jussi.lahtinen at gmail.com Mon Oct 28 02:00:46 2019 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Mon, 28 Oct 2019 03:00:46 +0200 Subject: [Gambas-user] Daylight "saving" and time zones In-Reply-To: <6156b815-cf91-1fb4-2732-305918625fe1@gmail.com> References: <858d312d-b057-f5bb-70cf-b631a2122c40@gmail.com> <23f37de7-a3a8-723f-c429-4090b9321172@gmail.com> <6d0c6a5e-c7c7-65ab-7c33-a652aaf4e1a2@gmail.com> <6156b815-cf91-1fb4-2732-305918625fe1@gmail.com> Message-ID: > I found my answer. It's no. I just got this: "10/28/2019 02:04:23.316" > > No idea how you could get that with Date(2019,10,27,2,30) at the beginning! > I meant the output format when any date is converted with cstr. I wasn't clear. Of course not: you wrote 13:00 *in London*, so you get the time zone > associated with your time (I assume you have a date of course with it). > "13:00" is not always correct, it means nothing per se. It's "13:00 *in > London*" that is always correct, with the time zone. > The problem is, you cannot do that in Gambas at least in any easy way. With Date.FromUTC I can put things in UTC, but if I have to use Hour(), Format(), etc, etc it is ruined again. Reason I want to use UTC consistently or even better ignore time zones completely is, I need the times & dates written on hard disk mean something despite of being read on different time zones. See below, very difficult to explain. Now the situation is following, example; I'm in Finland at summer and I plan meeting in winter still in Finland, let's say 28.10.2019 12:00. Now when the winter comes, suddenly my calendar says the meeting is 28.10.2019 11:00, because the local time has changed. And Tobias here is the problem. When the date & time is written on hard disk, there is no information what was the time zone at the time of the writing. Thus there is no consistent definition for local time. It can be anything and it is *automatically interpreted as* *current* (which may be different than the original) *local time*. Only consistent definition is for UTC, it's always the same. Also, I can write the dates & times as UTC to hard disk, but again when reading them, are they interpreted as *current* local time, not the local time they was set (and then written as UTC). Is it any clearer now? Jussi -------------- next part -------------- An HTML attachment was scrubbed... URL: From jussi.lahtinen at gmail.com Mon Oct 28 02:21:39 2019 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Mon, 28 Oct 2019 03:21:39 +0200 Subject: [Gambas-user] Daylight "saving" and time zones In-Reply-To: References: <858d312d-b057-f5bb-70cf-b631a2122c40@gmail.com> <23f37de7-a3a8-723f-c429-4090b9321172@gmail.com> <6d0c6a5e-c7c7-65ab-7c33-a652aaf4e1a2@gmail.com> <6156b815-cf91-1fb4-2732-305918625fe1@gmail.com> Message-ID: Here is the code (see attachment). I hope I didn't mess anything up as I banged my head with this problem... Look at LoadAlarms and SaveAlarms in Main module. As you can see the dates are read and written always assuming local date. But that does not work. I have tried so many ways... Jussi On Mon, Oct 28, 2019 at 3:00 AM Jussi Lahtinen wrote: > > > > I found my answer. It's no. I just got this: "10/28/2019 02:04:23.316" >> >> No idea how you could get that with Date(2019,10,27,2,30) at the >> beginning! >> > > I meant the output format when any date is converted with cstr. I wasn't > clear. > > > Of course not: you wrote 13:00 *in London*, so you get the time zone >> associated with your time (I assume you have a date of course with it). >> "13:00" is not always correct, it means nothing per se. It's "13:00 *in >> London*" that is always correct, with the time zone. >> > > The problem is, you cannot do that in Gambas at least in any easy way. > With Date.FromUTC I can put things in UTC, but if I have to use Hour(), > Format(), etc, etc it is ruined again. > Reason I want to use UTC consistently or even better ignore time zones > completely is, I need the times & dates written on hard disk mean something > despite of being read on different time zones. See below, very difficult to > explain. > > Now the situation is following, example; I'm in Finland at summer and I > plan meeting in winter still in Finland, let's say 28.10.2019 12:00. > Now when the winter comes, suddenly my calendar says the meeting is > 28.10.2019 11:00, because the local time has changed. > > And Tobias here is the problem. When the date & time is written on hard > disk, there is no information what was the time zone at the time of the > writing. Thus there is no consistent definition for local time. It can be > anything and it is *automatically interpreted as* *current* (which may be > different than the original) *local time*. Only consistent definition is > for UTC, it's always the same. > > Also, I can write the dates & times as UTC to hard disk, but again when > reading them, are they interpreted as *current* local time, not the local > time they was set (and then written as UTC). > > Is it any clearer now? > > > Jussi > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: GAlarm-0.3.11.tar.gz Type: application/gzip Size: 70439 bytes Desc: not available URL: From g4mba5 at gmail.com Mon Oct 28 03:01:14 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 28 Oct 2019 03:01:14 +0100 Subject: [Gambas-user] Daylight "saving" and time zones In-Reply-To: References: <858d312d-b057-f5bb-70cf-b631a2122c40@gmail.com> <23f37de7-a3a8-723f-c429-4090b9321172@gmail.com> <6d0c6a5e-c7c7-65ab-7c33-a652aaf4e1a2@gmail.com> <6156b815-cf91-1fb4-2732-305918625fe1@gmail.com> Message-ID: <45a16f5a-61a9-41ed-ceb0-4f3e43c95f4e@gmail.com> Le 28/10/2019 ? 02:00, Jussi Lahtinen a ?crit?: > > > > I found my answer. It's no. I just got this: "10/28/2019 > 02:04:23.316" > > No idea how you could get that with Date(2019,10,27,2,30) at the > beginning! > > > I meant the output format when any date is converted with cstr. I wasn't > clear. > > Of course not: you wrote 13:00 *in London*, so you get the time zone > associated with your time (I assume you have a date of course with it). > "13:00" is not always correct, it means nothing per se. It's "13:00 *in > London*" that is always correct, with the time zone. > > > The problem is, you cannot do that in Gambas at least in any easy way. > With Date.FromUTC I can put things in UTC, but if I have to use Hour(), > Format(), etc, etc it is ruined again. > Reason I want to use UTC consistently or even better ignore time zones > completely is, I need the times & dates written on hard disk mean > something despite of being read on different time zones. See below, very > difficult to explain. Date/time are internally stored in UTC in Gambas. If you want to store date on a application that can be accessed anywhere in the world, you must do the same thing. Then, you convert these UTC date/time to local time when displaying them in the GUI, and convert them back to UTC when reading them from GUI. In other words, you must not store a date/time without its timezone. > > Now the situation is following, example; I'm in Finland at summer and I > plan meeting in winter still in Finland, let's say 28.10.2019 12:00. > Now when the winter comes, suddenly my calendar says the meeting is > 28.10.2019 11:00, because the local time has changed. > > And Tobias here is the problem. When the date & time is written on hard > disk, there is no information what was the time zone at the time of the > writing. Thus there is no consistent definition for local time. It can > be anything and it is *automatically interpreted as* _/*current*/_ > (which may be different than the original) *local time*. Only consistent > definition is for UTC, it's always the same. > > Also, I can write the dates & times as UTC to hard disk, but again when > reading them, are they interpreted as *current* local time, not the > local time they was set (and then written as UTC). > > Is it any clearer now? How do you write your date/time to the disk? If you use the READ/WRITE instructions, the date/time will be always read and written by Gambas in binary form, i.e. in UTC date/time. Otherwise, if you do that by yourself, you have to store the timezone with it manually. Regards, -- Beno?t Minisini From jussi.lahtinen at gmail.com Mon Oct 28 03:35:12 2019 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Mon, 28 Oct 2019 04:35:12 +0200 Subject: [Gambas-user] Daylight "saving" and time zones In-Reply-To: <45a16f5a-61a9-41ed-ceb0-4f3e43c95f4e@gmail.com> References: <858d312d-b057-f5bb-70cf-b631a2122c40@gmail.com> <23f37de7-a3a8-723f-c429-4090b9321172@gmail.com> <6d0c6a5e-c7c7-65ab-7c33-a652aaf4e1a2@gmail.com> <6156b815-cf91-1fb4-2732-305918625fe1@gmail.com> <45a16f5a-61a9-41ed-ceb0-4f3e43c95f4e@gmail.com> Message-ID: > How do you write your date/time to the disk? > > If you use the READ/WRITE instructions, the date/time will be always > read and written by Gambas in binary form, i.e. in UTC date/time. > > Otherwise, if you do that by yourself, you have to store the timezone > with it manually. > This is how I load the alarms: sTotal = Settings[sPath &/ "Date&Time", ""] sStr = Split(sTotal, " ") sDate = Split(sStr[0], "/") sTime = Split(sStr[1], ":") hAlarm.hTotal = Date(sDate[2], sDate[0], sDate[1], sTime[0], sTime[1], sTime[2]) This is how I save the alarms: Settings[sPath &/ "Date&Time"] = Subst("&1/&2/&3 &4:&5:&6", Format(Month(hAlarm.hTotal), "0#"), Format(Day(hAlarm.hTotal), "0#"), Year(hAlarm.hTotal), Format(Hour(hAlarm.hTotal), "0#"), Format(Minute(hAlarm.hTotal), "0#"), Format(Second(hAlarm.hTotal), "0#")) IE, save and loaded as local time. IE, if there is this on the disk: Date&Time="10/28/2019 08:30:00" It will be loaded 08:30 as local time and internally 06:30. But if time zone changes, then it is suddenly 07:30 local time and internally 06:30. Saving the values as UTC doesn't fix that as there is no control on how it is interpreted/converted to local time. Did you read the example I gave that applies within Finland? Jussi -------------- next part -------------- An HTML attachment was scrubbed... URL: From adamnt42 at gmail.com Mon Oct 28 04:55:08 2019 From: adamnt42 at gmail.com (Bruce) Date: Mon, 28 Oct 2019 14:25:08 +1030 Subject: [Gambas-user] Daylight "saving" and time zones In-Reply-To: References: <858d312d-b057-f5bb-70cf-b631a2122c40@gmail.com> <23f37de7-a3a8-723f-c429-4090b9321172@gmail.com> <6d0c6a5e-c7c7-65ab-7c33-a652aaf4e1a2@gmail.com> <6156b815-cf91-1fb4-2732-305918625fe1@gmail.com> <45a16f5a-61a9-41ed-ceb0-4f3e43c95f4e@gmail.com> Message-ID: <74beb71c-0a7f-7028-f18e-a921579736ee@gmail.com> Jussi, Consider the problem we had with auction times as in the attached picture. Our solution was : 1) Decide on the timezone for the unique instant. In our case it was the time/timezone on the DB server. 2) On the way in, i.e. writing an "event time" to the shared database a) decide the timezone that the source date is in. b) convert it to the server timezone 3) On the way out, i.e. whenever a user PC accesses the event, convert it to their local timezone. We wrote our own methods to convert the times to (and from) a local PC timezone (This was not easy!) So, Writing: Source (string) --> Event time with TZ --> Event time in server TZ Reading Event time in server TZ --> Event time in local PC TZ --> format it So consider your problem in the same way, as if you had more than one machine in more than one TZ. hth Bruce On 28/10/19 1:05 pm, Jussi Lahtinen wrote: > > How do you write your date/time to the disk? > > If you use the READ/WRITE instructions, the date/time will be always > read and written by Gambas in binary form, i.e. in UTC date/time. > > Otherwise, if you do that by yourself, you have to store the timezone > with it manually. > > > This is how I load the alarms: > > ? ? ? sTotal = Settings[sPath &/ "Date&Time", ""] > > ? ? ? sStr = Split(sTotal, " ") > > ? ? ? sDate = Split(sStr[0], "/") > ? ? ? sTime = Split(sStr[1], ":") > > ? ? ? hAlarm.hTotal = Date(sDate[2], sDate[0], sDate[1], sTime[0], > sTime[1], sTime[2]) > > This is how I save the alarms: > > Settings[sPath &/ "Date&Time"] = Subst("&1/&2/&3 &4:&5:&6", > Format(Month(hAlarm.hTotal), "0#"), Format(Day(hAlarm.hTotal), "0#"), > Year(hAlarm.hTotal), Format(Hour(hAlarm.hTotal), "0#"), > Format(Minute(hAlarm.hTotal), "0#"), Format(Second(hAlarm.hTotal), "0#")) > > IE, save and loaded as local time. > > IE, if there is this on the disk: > Date&Time="10/28/2019 08:30:00" > > It will be loaded 08:30 as local time and internally 06:30. But if time > zone changes, then it is suddenly 07:30 local time and internally 06:30. > > Saving the values as UTC doesn't fix that as there is no control on how > it is interpreted/converted to local time. > > Did you read the example I gave that applies within Finland? > > > Jussi > > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- A non-text attachment was scrubbed... Name: Australia-Timezones-Daylight.png Type: image/png Size: 65927 bytes Desc: not available URL: From rwe-sse at osnanet.de Mon Oct 28 08:23:29 2019 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Mon, 28 Oct 2019 08:23:29 +0100 Subject: [Gambas-user] Two IDE sugeestions/requests In-Reply-To: <10342bba-4811-5e49-56fe-1f9d77ccc6da@gmail.com> References: <10342bba-4811-5e49-56fe-1f9d77ccc6da@gmail.com> Message-ID: <503b4aaf-594f-3462-d3e0-b704727bedae@osnanet.de> Am 27.10.19 um 21:56 schrieb Bruce: > > > On 28/10/19 5:58 am, Beno?t Minisini wrote: >> Le 26/10/2019 ? 09:20, Bruce a ?crit?: >>> 1) In the code editor there are shorcuts for folding/collapsing the >>> code, would it be possible to add another that collapsed all but the >>> current method, i.e. the one where the cursor is located. >> >> At the moment you can do that by hitting two shortcuts: CTRL+ALT+ENTER >> (to fold all) and CTRL+ENTER (to unfold the current procedure). :-) >> > (Head slap) I forgot all about the CTRL+Enter shortcut >>> >>> 2) In the form editor it would be really helpful if there was a quick >>> way to do a global search for the currently selected control name. >>> Either in the popup menu, the properties listview or the properties >>> listview popup menu for the control name. >> >> I don't understand why a "global" search for such a thing (control >> name) which is local to the current form, and not global. >> > Yes, but the control may be referenced many times in the class for the > form. > ATM I have to click on the control in the form, click on the control > name in the properties tab, copy the control name, double click on the > global searcher, paste the control name and click the search button. So, > I think a "FindInCode" feature involving 1`click would be better. > > cheers > b > Yes! Something like a ComboBox or ListBox which takes up the references like module.sub or class.function so one can simply click it. Regards Rolf From hans at gambas-buch.de Mon Oct 28 09:11:58 2019 From: hans at gambas-buch.de (Hans Lehmann) Date: Mon, 28 Oct 2019 09:11:58 +0100 Subject: [Gambas-user] Distributed version control with Git in the IDE In-Reply-To: References: <7e5c707c-b6ad-6c70-e4d0-77a2ed42912d@gmail.com> Message-ID: <3cabc476-6389-e64f-28c9-3f02e3d62358@gambas-buch.de> Hello. Thank you very much for the information. Yes, my *internal* is faulty - I meant 'local'. The main problem remains: I can't find any documentation to use the version control in the Gambas IDE effectively. Is there no documentation for the hand of the Gambas user? Do you send the Gambas user on the path of 'trial and error' again? With kind regards Hans -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisml at deganius.de Mon Oct 28 10:11:02 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Mon, 28 Oct 2019 10:11:02 +0100 Subject: [Gambas-user] Distributed version control with Git in the IDE In-Reply-To: <3cabc476-6389-e64f-28c9-3f02e3d62358@gambas-buch.de> References: <7e5c707c-b6ad-6c70-e4d0-77a2ed42912d@gmail.com> <3cabc476-6389-e64f-28c9-3f02e3d62358@gambas-buch.de> Message-ID: Am 28.10.19 um 09:11 schrieb Hans Lehmann: > The main problem remains: I can't find any documentation to use the > version control in the Gambas IDE effectively. Is there no documentation > for the hand of the Gambas user? Do you send the Gambas user on the path > of 'trial and error' again? Before one can use the Git commands pull, push, commit, merge, etc. there must be a basic understanding of the Git concept at all which includes things like: local repository working dir staging area remote repository branches And at the moment, when this basic understanding is present, the buttons in the IDE explain themselves. So in my opinion there is no need for a explicit documentation in Gambas. A quite good explanation of Git in German you can find here: https://git-scm.com/book/de/v2 And yes, you will first have some trial and error until the fog clears. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From jussi.lahtinen at gmail.com Tue Oct 29 02:24:44 2019 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Tue, 29 Oct 2019 03:24:44 +0200 Subject: [Gambas-user] Bug with floating point conversion? Message-ID: ? cfloat(0.00005) 5E--5 ? isnumber(cstr(cfloat(0.00005))) False This used to work. What has changed? Jussi -------------- next part -------------- An HTML attachment was scrubbed... URL: From jussi.lahtinen at gmail.com Tue Oct 29 02:42:14 2019 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Tue, 29 Oct 2019 03:42:14 +0200 Subject: [Gambas-user] Bug with floating point conversion? In-Reply-To: References: Message-ID: I think cstr(cfloat(0.00005)) should be "5E-5" not "5E--5". Jussi On Tue, Oct 29, 2019 at 3:24 AM Jussi Lahtinen wrote: > ? cfloat(0.00005) > 5E--5 > > ? isnumber(cstr(cfloat(0.00005))) > False > > This used to work. What has changed? > > > Jussi > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Tue Oct 29 08:45:38 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 29 Oct 2019 08:45:38 +0100 Subject: [Gambas-user] Bug with floating point conversion? In-Reply-To: References: Message-ID: <978650a8-769a-ca98-050f-ab1ad9ccb6c6@gmail.com> Le 29/10/2019 ? 02:24, Jussi Lahtinen a ?crit?: > ? cfloat(0.00005) > 5E--5 > > ? isnumber(cstr(cfloat(0.00005))) > False > > This used to work. What has changed? > > > Jussi > Oops, it's a bad bug. -- Beno?t Minisini From brian at westwoodsvcs.com Tue Oct 29 22:58:56 2019 From: brian at westwoodsvcs.com (Brian G) Date: Tue, 29 Oct 2019 14:58:56 -0700 (PDT) Subject: [Gambas-user] [CRASH REPORT] LX-16A Bus servo programming and management Message-ID: <355576338.5084.1572386336618.JavaMail.zimbra@westwoodsvcs.com> Hello, Damned, my program crashed Gambas that way : gb.jit: panic: unsupported opcode 0600 This is the error I receive when I try to compile What version of the llvm is needed to make this work Thank You Brian G -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at westwoodsvcs.com Tue Oct 29 22:53:41 2019 From: brian at westwoodsvcs.com (Brian G) Date: Tue, 29 Oct 2019 14:53:41 -0700 (PDT) Subject: [Gambas-user] [CRASH REPORT] LX-16A Bus servo programming and management Message-ID: <944838014.5078.1572386021597.JavaMail.zimbra@westwoodsvcs.com> Hello, Damned, my program crashed Gambas that way : JIT set fast at beginning of the files Simple program, Why is it dead? Thank You Brian G -------------- next part -------------- An HTML attachment was scrubbed... URL: From jussi.lahtinen at gmail.com Tue Oct 29 23:40:15 2019 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Wed, 30 Oct 2019 00:40:15 +0200 Subject: [Gambas-user] [CRASH REPORT] LX-16A Bus servo programming and management In-Reply-To: <355576338.5084.1572386336618.JavaMail.zimbra@westwoodsvcs.com> References: <355576338.5084.1572386336618.JavaMail.zimbra@westwoodsvcs.com> Message-ID: Byref is not supported by JIT. Jussi On Wed, Oct 30, 2019 at 12:10 AM Brian G wrote: > Hello, > > Damned, my program crashed Gambas that way : > > gb.jit: panic: unsupported opcode 0600 > > This is the error I receive when I try to compile > > What version of the llvm is needed to make this work > > Thank You > Brian G > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Thu Oct 31 10:56:51 2019 From: bagonergi at gmail.com (Gianluigi) Date: Thu, 31 Oct 2019 10:56:51 +0100 Subject: [Gambas-user] Distributed version control with Git in the IDE In-Reply-To: References: <7e5c707c-b6ad-6c70-e4d0-77a2ed42912d@gmail.com> <3cabc476-6389-e64f-28c9-3f02e3d62358@gambas-buch.de> Message-ID: Hi Benoit, the Italian site users criticize my translations about the MenuButton Git menu items and say that I should leave the terms in English because they are more understandable. I ask only a clarification, the Synchronize item is equivalent to the command git pull? Thanks Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From jean-yvon.renaut at wanadoo.fr Thu Oct 31 12:26:58 2019 From: jean-yvon.renaut at wanadoo.fr (Jean-Yvon) Date: Thu, 31 Oct 2019 12:26:58 +0100 Subject: [Gambas-user] =?utf-8?q?r=C3=A9ouverture_du_forum_en_fran=C3=A7a?= =?utf-8?q?is?= Message-ID: <8fb0418f-6158-613d-9de5-e3faf37765c5@wanadoo.fr> Bonjour Je n'y suis pour rien mais je suis heureux de vous apprendre que le forum fran?ais http://www.gambasforge.org/index.html fonctionne de nouveau Best regard JY From gambas.fr at gmail.com Thu Oct 31 17:38:18 2019 From: gambas.fr at gmail.com (Fabien Bodard) Date: Thu, 31 Oct 2019 17:38:18 +0100 Subject: [Gambas-user] =?utf-8?q?r=C3=A9ouverture_du_forum_en_fran=C3=A7a?= =?utf-8?q?is?= In-Reply-To: <8fb0418f-6158-613d-9de5-e3faf37765c5@wanadoo.fr> References: <8fb0418f-6158-613d-9de5-e3faf37765c5@wanadoo.fr> Message-ID: Ben moi non plus... Bizzard.. j'ai eu un accident et je n'ai pas eu le temps encore d'y regarder.. peut ?tre Adrien ? Le jeu. 31 oct. 2019 ? 12:27, Jean-Yvon a ?crit : > Bonjour > > Je n'y suis pour rien mais je suis heureux de vous apprendre que le > forum fran?ais http://www.gambasforge.org/index.html fonctionne de nouveau > > Best regard > > JY > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: