From bugtracker at ...3416... Sun Jan 1 00:51:37 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 31 Dec 2016 23:51:37 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1058: Gambas Rnd (Web programming) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1058&from=L21haW4- Comment #2 by Micha? G?OWIENKA: Well, thank you for your answer From abbat.81 at ...787... Tue Jan 3 15:07:04 2017 From: abbat.81 at ...787... (abbat81) Date: Tue, 3 Jan 2017 07:07:04 -0700 (MST) Subject: [Gambas-user] How to send data to SerialPort from Module? Message-ID: <1483452424948-58114.post@...3046...> Hi all, on a form I have a Serial Port. If I can send a daa to SerialPort from Fmain: Print #Sport, Chr$(&H1B); Chr$(&H61); Chr$(2); how can I do it from Module? -- View this message in context: http://gambas.8142.n7.nabble.com/How-to-send-data-to-SerialPort-from-Module-tp58114.html Sent from the gambas-user mailing list archive at Nabble.com. From jussi.lahtinen at ...626... Tue Jan 3 19:28:09 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 3 Jan 2017 20:28:09 +0200 Subject: [Gambas-user] Fwd: confirm 0bca3e2cd2fe186cd8c172cee9ce1858aec6ce7a In-Reply-To: References: Message-ID: Any clue why I got this? Jussi ---------- Forwarded message ---------- From: Date: Tue, Jan 3, 2017 at 5:53 PM Subject: confirm 0bca3e2cd2fe186cd8c172cee9ce1858aec6ce7a Your membership in the mailing list Gambas-user has been disabled due to excessive bounces The last bounce received from you was dated 03-Jan-2017. You will not get any more messages from this list until you re-enable your membership. You will receive 3 more reminders like this before your membership in the list is deleted. To re-enable your membership, you can simply respond to this message (leaving the Subject: line intact), or visit the confirmation page at https://lists.sourceforge.net/lists/confirm/gambas-user/ 0bca3e2cd2fe186cd8c172cee9ce1858aec6ce7a You can also visit your membership page at https://lists.sourceforge.net/lists/options/gambas-user/ jussi.lahtinen%40gmail.com On your membership page, you can change various delivery options such as your email address and whether you get digests or not. As a reminder, your membership password is mcvwo5492f If you have any questions or problems, you can contact the list owner at gambas-user-owner at lists.sourceforge.net From t.lee.davidson at ...626... Tue Jan 3 19:31:20 2017 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Tue, 3 Jan 2017 13:31:20 -0500 Subject: [Gambas-user] Fwd: confirm 0bca3e2cd2fe186cd8c172cee9ce1858aec6ce7a In-Reply-To: References: Message-ID: <3312fc10-84ab-204e-4e5a-c1fb61bd6173@...626...> Interesting. I got one too. Server hiccup? On 01/03/2017 01:28 PM, Jussi Lahtinen wrote: > Any clue why I got this? > > > Jussi > > > ---------- Forwarded message ---------- > From: > Date: Tue, Jan 3, 2017 at 5:53 PM > Subject: confirm 0bca3e2cd2fe186cd8c172cee9ce1858aec6ce7a > > > Your membership in the mailing list Gambas-user has been disabled due > to excessive bounces The last bounce received from you was dated > 03-Jan-2017. You will not get any more messages from this list until > you re-enable your membership. You will receive 3 more reminders like > this before your membership in the list is deleted. > > To re-enable your membership, you can simply respond to this message > (leaving the Subject: line intact), or visit the confirmation page at > > https://lists.sourceforge.net/lists/confirm/gambas-user/ > 0bca3e2cd2fe186cd8c172cee9ce1858aec6ce7a > > > You can also visit your membership page at > > https://lists.sourceforge.net/lists/options/gambas-user/ > jussi.lahtinen%40gmail.com > > > On your membership page, you can change various delivery options such > as your email address and whether you get digests or not. As a > reminder, your membership password is > > mcvwo5492f > > If you have any questions or problems, you can contact the list owner > at > > gambas-user-owner at lists.sourceforge.net > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From jussi.lahtinen at ...626... Tue Jan 3 19:36:51 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 3 Jan 2017 20:36:51 +0200 Subject: [Gambas-user] Fwd: confirm 0bca3e2cd2fe186cd8c172cee9ce1858aec6ce7a In-Reply-To: <3312fc10-84ab-204e-4e5a-c1fb61bd6173@...626...> References: <3312fc10-84ab-204e-4e5a-c1fb61bd6173@...626...> Message-ID: Lol... I just posted my password to public mailing list. Oh well now it's changed. Jussi On Tue, Jan 3, 2017 at 8:31 PM, T Lee Davidson wrote: > Interesting. I got one too. Server hiccup? > > > On 01/03/2017 01:28 PM, Jussi Lahtinen wrote: > > Any clue why I got this? > > > > > > Jussi > > > > > > ---------- Forwarded message ---------- > > From: > > Date: Tue, Jan 3, 2017 at 5:53 PM > > Subject: confirm 0bca3e2cd2fe186cd8c172cee9ce1858aec6ce7a > > > > > > Your membership in the mailing list Gambas-user has been disabled due > > to excessive bounces The last bounce received from you was dated > > 03-Jan-2017. You will not get any more messages from this list until > > you re-enable your membership. You will receive 3 more reminders like > > this before your membership in the list is deleted. > > > > To re-enable your membership, you can simply respond to this message > > (leaving the Subject: line intact), or visit the confirmation page at > > > > https://lists.sourceforge.net/lists/confirm/gambas-user/ > > 0bca3e2cd2fe186cd8c172cee9ce1858aec6ce7a > > > > > > You can also visit your membership page at > > > > https://lists.sourceforge.net/lists/options/gambas-user/ > > jussi.lahtinen%40gmail.com > > > > > > On your membership page, you can change various delivery options such > > as your email address and whether you get digests or not. As a > > reminder, your membership password is > > > > mcvwo5492f > > > > If you have any questions or problems, you can contact the list owner > > at > > > > gambas-user-owner at lists.sourceforge.net > > ------------------------------------------------------------ > ------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Lee > __________ > > "Artificial Intelligence is no match for natural stupidity." > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Tue Jan 3 19:39:37 2017 From: taboege at ...626... (Tobias Boege) Date: Tue, 3 Jan 2017 19:39:37 +0100 Subject: [Gambas-user] Fwd: confirm 0bca3e2cd2fe186cd8c172cee9ce1858aec6ce7a In-Reply-To: <3312fc10-84ab-204e-4e5a-c1fb61bd6173@...626...> References: <3312fc10-84ab-204e-4e5a-c1fb61bd6173@...626...> Message-ID: <20170103183937.GB578@...3600...> On Tue, 03 Jan 2017, T Lee Davidson wrote: > Interesting. I got one too. Server hiccup? > Me, too. But we three have gmail addresses, too. @Jussi: Did you notice the mail you forwarded contained your mailing list account password? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From david.villalobos.c at ...626... Tue Jan 3 19:46:39 2017 From: david.villalobos.c at ...626... (David Villalobos Cambronero) Date: Tue, 3 Jan 2017 12:46:39 -0600 Subject: [Gambas-user] Fwd: confirm 0bca3e2cd2fe186cd8c172cee9ce1858aec6ce7a In-Reply-To: References: Message-ID: I got it too, don't worry about the pass, we are not going to use it :D Gracias --- David On Tue, Jan 3, 2017 at 12:28 PM, Jussi Lahtinen wrote: > Any clue why I got this? > > > Jussi > > > ---------- Forwarded message ---------- > From: > Date: Tue, Jan 3, 2017 at 5:53 PM > Subject: confirm 0bca3e2cd2fe186cd8c172cee9ce1858aec6ce7a > > > Your membership in the mailing list Gambas-user has been disabled due > to excessive bounces The last bounce received from you was dated > 03-Jan-2017. You will not get any more messages from this list until > you re-enable your membership. You will receive 3 more reminders like > this before your membership in the list is deleted. > > To re-enable your membership, you can simply respond to this message > (leaving the Subject: line intact), or visit the confirmation page at > > https://lists.sourceforge.net/lists/confirm/gambas-user/ > 0bca3e2cd2fe186cd8c172cee9ce1858aec6ce7a > > > You can also visit your membership page at > > https://lists.sourceforge.net/lists/options/gambas-user/ > jussi.lahtinen%40gmail.com > > > On your membership page, you can change various delivery options such > as your email address and whether you get digests or not. As a > reminder, your membership password is > > mcvwo5492f > > If you have any questions or problems, you can contact the list owner > at > > gambas-user-owner at lists.sourceforge.net > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From nando_f at ...951... Wed Jan 4 05:23:39 2017 From: nando_f at ...951... (nando_f at ...951...) Date: Tue, 3 Jan 2017 23:23:39 -0500 Subject: [Gambas-user] How to send data to SerialPort from Module? In-Reply-To: <1483452424948-58114.post@...3046...> References: <1483452424948-58114.post@...3046...> Message-ID: <20170104041858.M59756@...951...> One way is to make a function is Fmain which is public called (for example) public Function Print_Sport(s as String) 'this is in Fmain print #sport, s, len(s) end function Outside fmain, you can call Fmail.Print_Sport(Chr$(&H1B) & Chr$(&H61)) because it is visible -Fernando -- Open WebMail Project (http://openwebmail.org) ---------- Original Message ----------- From: abbat81 To: gambas-user at lists.sourceforge.net Sent: Tue, 3 Jan 2017 07:07:04 -0700 (MST) Subject: [Gambas-user] How to send data to SerialPort from Module? > Hi all, > > on a form I have a Serial Port. > If I can send a daa to SerialPort from Fmain: > Print #Sport, Chr$(&H1B); Chr$(&H61); Chr$(2); > how can I do it from Module? > > -- > View this message in context: http://gambas.8142.n7.nabble.com/How-to-send-data- > to-SerialPort-from-Module-tp58114.html Sent from the gambas-user mailing list > archive at Nabble.com. > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From moviga at ...3488... Wed Jan 4 14:42:31 2017 From: moviga at ...3488... (Moviga Technologies) Date: Wed, 4 Jan 2017 14:42:31 +0100 Subject: [Gambas-user] Fwd: confirm 0bca3e2cd2fe186cd8c172cee9ce1858aec6ce7a In-Reply-To: References: <3312fc10-84ab-204e-4e5a-c1fb61bd6173@...626...> Message-ID: Hahaha! :) Den 03. jan. 2017 19:36, skrev Jussi Lahtinen: > Lol... I just posted my password to public mailing list. Oh well now it's > changed. > > > Jussi > > From abbat.81 at ...787... Wed Jan 4 13:51:44 2017 From: abbat.81 at ...787... (abbat81) Date: Wed, 4 Jan 2017 05:51:44 -0700 (MST) Subject: [Gambas-user] How to send data to SerialPort from Module? In-Reply-To: <20170104041858.M59756@...951...> References: <1483452424948-58114.post@...3046...> <20170104041858.M59756@...951...> Message-ID: <1483534304280-58122.post@...3046...> Thank you, it works. And how can I change Form.name in module? 'Module Public Print_Fmain as String Print_Fmain = "Fmain2" Print_Fmain.Print_Sport(Chr$(&H1B) & Chr$(&H61)) -- View this message in context: http://gambas.8142.n7.nabble.com/How-to-send-data-to-SerialPort-from-Module-tp58114p58122.html Sent from the gambas-user mailing list archive at Nabble.com. From bagonergi at ...626... Thu Jan 5 19:27:58 2017 From: bagonergi at ...626... (Gianluigi) Date: Thu, 5 Jan 2017 19:27:58 +0100 Subject: [Gambas-user] The Gambas mailing list does not work? Message-ID: Hi all, I am not getting e-mail from the mailing list The last e-mail is this [0] from Jussi Lhatinen. Regards Gianluigi [0] http://gambas.8142.n7.nabble.com/Fwd-confirm-0bca3e2cd2fe186cd8c172cee9ce1858aec6ce7a-td58115.html From taboege at ...626... Thu Jan 5 19:33:18 2017 From: taboege at ...626... (Tobias Boege) Date: Thu, 5 Jan 2017 19:33:18 +0100 Subject: [Gambas-user] The Gambas mailing list does not work? In-Reply-To: References: Message-ID: <20170105183318.GC591@...3600...> On Thu, 05 Jan 2017, Gianluigi wrote: > Hi all, > I am not getting e-mail from the mailing list > The last e-mail is this [0] from Jussi Lhatinen. > I personally suspect it's a gmail thing. All the people reporting problems so far, including me, have gmail addresses and I have noticed that at least one email, not gambas-user related, which I should have received yesterday did not arrive. Kind of scary. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bagonergi at ...626... Thu Jan 5 19:48:05 2017 From: bagonergi at ...626... (Gianluigi) Date: Thu, 5 Jan 2017 19:48:05 +0100 Subject: [Gambas-user] The Gambas mailing list does not work? In-Reply-To: References: Message-ID: Hello Tobias, also I have gmail for ML and from here I do not see your answer, how can we do to communicate the problem to gmail? Redards Gianluigi 2017-01-05 19:27 GMT+01:00 Gianluigi : > Hi all, > I am not getting e-mail from the mailing list > The last e-mail is this [0] from Jussi Lhatinen. > > Regards > Gianluigi > > [0] http://gambas.8142.n7.nabble.com/Fwd-confirm- > 0bca3e2cd2fe186cd8c172cee9ce1858aec6ce7a-td58115.html > From gambas at ...1... Thu Jan 5 23:10:22 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 5 Jan 2017 23:10:22 +0100 Subject: [Gambas-user] The Gambas mailing list does not work? In-Reply-To: References: Message-ID: Le 05/01/2017 ? 19:48, Gianluigi a ?crit : > Hello Tobias, > also I have gmail for ML and from here I do not see your answer, how can we do > to communicate the problem to gmail? > > Redards > Gianluigi > I use gmail too for gambas things, and you are right, I didn't receive all the mails. Usually it's sourceforge that is messing up. But now if it's gmail, where are we going! -- Beno?t Minisini From casper.labuschagne at ...626... Fri Jan 6 07:18:24 2017 From: casper.labuschagne at ...626... (Casper) Date: Fri, 6 Jan 2017 08:18:24 +0200 Subject: [Gambas-user] The Gambas mailing list does not work? In-Reply-To: References: Message-ID: It is a Gmail thing. I received a message from the Gambas listman that sends these mails, that it has received numerous bounces sending mail to Gmail and will delete me from the list unless I visit a URL to re-activate my account. How to contact GMail? For the longest time I have suspected that company is run totally by robots and that there are no biological creatures remaining.... On 06/01/2017, Beno?t Minisini wrote: > Le 05/01/2017 ? 19:48, Gianluigi a ?crit : >> Hello Tobias, >> also I have gmail for ML and from here I do not see your answer, how can >> we do >> to communicate the problem to gmail? >> >> Redards >> Gianluigi >> > > I use gmail too for gambas things, and you are right, I didn't receive > all the mails. Usually it's sourceforge that is messing up. But now if > it's gmail, where are we going! > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Fri Jan 6 08:51:56 2017 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 6 Jan 2017 08:51:56 +0100 Subject: [Gambas-user] The Gambas mailing list does not work? In-Reply-To: References: Message-ID: Idem !!! The 3 th jan : Your membership in the mailing list Gambas-user has been disabled due to excessive bounces The last bounce received from you was dated 03-Jan-2017. You will not get any more messages from this list until you re-enable your membership. You will receive 3 more reminders like this before your membership in the list is deleted. To re-enable your membership, you can simply respond to this message (leaving the Subject: line intact), or visit the confirmation page at.. WTF ? From bagonergi at ...626... Fri Jan 6 11:31:14 2017 From: bagonergi at ...626... (Gianluigi) Date: Fri, 6 Jan 2017 11:31:14 +0100 Subject: [Gambas-user] The Gambas mailing list does not work? In-Reply-To: References: Message-ID: A few days ago a neighbor who uses Windows 7 had stopped receiving mail from Yahoo had to change the settings by accepting the lower to the defenses. Perhaps because of terrorism, changes are underway with restrictions? I receive regular mail from Gmail, just that I do not receive the mailing list, so I think it's a problem between Sourceforge and Gmail. Meanwhile, you may warn of this problem Sourceforge. Regards Gianluigi 2017-01-05 19:48 GMT+01:00 Gianluigi : > Hello Tobias, > also I have gmail for ML and from here I do not see your answer, how can > we do to communicate the problem to gmail? > > Redards > Gianluigi > > 2017-01-05 19:27 GMT+01:00 Gianluigi : > >> Hi all, >> I am not getting e-mail from the mailing list >> The last e-mail is this [0] from Jussi Lhatinen. >> >> Regards >> Gianluigi >> >> [0] http://gambas.8142.n7.nabble.com/Fwd-confirm-0bca3e2cd2fe186 >> cd8c172cee9ce1858aec6ce7a-td58115.html >> > > From johny.provoost at ...27... Fri Jan 6 11:38:43 2017 From: johny.provoost at ...27... (Johny Provoost) Date: Fri, 6 Jan 2017 11:38:43 +0100 Subject: [Gambas-user] The Gambas mailing list does not work? In-Reply-To: References: Message-ID: Hello, I use thunderbird with a mailadress from my provider and I also got that bouncing messsage. Kind Regards Johny Op 06-01-17 om 08:51 schreef Fabien Bodard: > Idem !!! > > > The 3 th jan : > > Your membership in the mailing list Gambas-user has been disabled due > to excessive bounces The last bounce received from you was dated > 03-Jan-2017. You will not get any more messages from this list until > you re-enable your membership. You will receive 3 more reminders like > this before your membership in the list is deleted. > > To re-enable your membership, you can simply respond to this message > (leaving the Subject: line intact), or visit the confirmation page at.. > > > WTF ? > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From casper.labuschagne at ...626... Fri Jan 6 11:42:37 2017 From: casper.labuschagne at ...626... (Casper) Date: Fri, 6 Jan 2017 12:42:37 +0200 Subject: [Gambas-user] The Gambas mailing list does not work? In-Reply-To: References: Message-ID: After a bit of Googling: 1) Check that [Gambas-user] has not been reported (and blocked) on any spam lists. This occasionally happens to most mail lists. 2) Gmail occasionally bounce messages on a basis for a period of time if excessive spam is received from that source. It could therefore be a server issue where this email list is sent from in that other users on the same server, are sending spam. 3) A temporary (though not recommended) solution is to disable the Mailman Block on excessive bounces feature. I subscribe to numerous other lists and this one is the only one where I currently have this problem in Gmail. Hope this helps On 06/01/2017, Gianluigi wrote: > A few days ago a neighbor who uses Windows 7 had stopped receiving mail > from > Yahoo had to change the settings by accepting the lower to the defenses. > Perhaps because of terrorism, changes are underway with restrictions? > I receive regular mail from Gmail, just that I do not receive the mailing > list, so I think it's a problem between Sourceforge and Gmail. > Meanwhile, you may warn of this problem Sourceforge. > > Regards > Gianluigi > > 2017-01-05 19:48 GMT+01:00 Gianluigi : > >> Hello Tobias, >> also I have gmail for ML and from here I do not see your answer, how can >> we do to communicate the problem to gmail? >> >> Redards >> Gianluigi >> >> 2017-01-05 19:27 GMT+01:00 Gianluigi : >> >>> Hi all, >>> I am not getting e-mail from the mailing list >>> The last e-mail is this [0] from Jussi Lhatinen. >>> >>> Regards >>> Gianluigi >>> >>> [0] http://gambas.8142.n7.nabble.com/Fwd-confirm-0bca3e2cd2fe186 >>> cd8c172cee9ce1858aec6ce7a-td58115.html >>> >> >> > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bagonergi at ...626... Fri Jan 6 11:47:39 2017 From: bagonergi at ...626... (Gianluigi) Date: Fri, 6 Jan 2017 11:47:39 +0100 Subject: [Gambas-user] The Gambas mailing list does not work? In-Reply-To: References: Message-ID: I wanted to inform you that I am writing with Gmail and in this direction (Gmail - Sourceforge) seems to work. 2017-01-06 11:31 GMT+01:00 Gianluigi : > A few days ago a neighbor who uses Windows 7 had stopped receiving mail > from Yahoo had to change the settings by accepting the lower to the > defenses. > Perhaps because of terrorism, changes are underway with restrictions? > I receive regular mail from Gmail, just that I do not receive the mailing > list, so I think it's a problem between Sourceforge and Gmail. > Meanwhile, you may warn of this problem Sourceforge. > > Regards > Gianluigi > > 2017-01-05 19:48 GMT+01:00 Gianluigi : > >> Hello Tobias, >> also I have gmail for ML and from here I do not see your answer, how can >> we do to communicate the problem to gmail? >> >> Redards >> Gianluigi >> >> 2017-01-05 19:27 GMT+01:00 Gianluigi : >> >>> Hi all, >>> I am not getting e-mail from the mailing list >>> The last e-mail is this [0] from Jussi Lhatinen. >>> >>> Regards >>> Gianluigi >>> >>> [0] http://gambas.8142.n7.nabble.com/Fwd-confirm-0bca3e2cd2fe186 >>> cd8c172cee9ce1858aec6ce7a-td58115.html >>> >> >> > From ad_sicks at ...43... Fri Jan 6 22:19:05 2017 From: ad_sicks at ...43... (Jeff Zacher) Date: Fri, 6 Jan 2017 15:19:05 -0600 Subject: [Gambas-user] Gambas Examples/Tutorials Message-ID: Are there any basic Gambas example projects/tutorials or is this a need. I looked on the Tutorials page on the wiki and it of course says 'not finished' and the link to working with files is dead. If there are no examples/tutorials who is providing these and how can we contribute? More to the point: I have opened some static files and played with the example on the wiki using the Process object to run ls and such. What I am really interested in is 'hooking' an interactive shell, spice/ngspice in particular. Probably apps like mysql and python would be good candidates also so a good base class that could: open an interactive shell program make stdin/stderror avaible for processing by the Gambas side write commands back into the interpreter's shell read the resulting data from the shell etc, etc would be very usable to me. However, I am not getting any results from a read_event when playing with the example. (I'd like to just read the open message from the shell, issue a 'quit' and read the quit message to get started). I know this is possible from c with pairs of I/O streams for each handle but how is this done in GAMBAS? From bugtracker at ...3416... Sat Jan 7 06:37:37 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 05:37:37 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1059: Compilation fails with Qt 5.7 Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1059&from=L21haW4- Eduardo SANCHEZ reported a new bug. Summary ------- Compilation fails with Qt 5.7 Type : Bug Priority : Medium Gambas version : 3.9 Product : Unknown Description ----------- This report is valid for Gambas 3.9.2 I use Slackware64-current. I have both Qt 4 (4.8.7) and Qt 5 (5.7.0) in a dual setup. In order to compile, I followed the steps outlined in the relevant wiki: ./reconf-all && ./configure -C && make However, compilation fails when gambas goes to build gb_qt5. The problem is that Qt 5.7 requires C++11. Now, even despite I tried to set the CXXFLAGS env variable to "-std=c++11", compilation fails. It seems that gambas does not honor that variable. I even tried to hack the Makefile *after* ./configure -C to add that CXXFLAGS variable to no avail. This is the first error shown: /usr/lib64/qt5/bin/moc -o main_moc.cpp main.h CXX gb_qt5_la-main_moc.lo In file included from /usr/include/qt5/QtCore/qatomic.h:46:0, from /usr/include/qt5/QtCore/qglobal.h:1145, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qcoreevent.h:43, from /usr/include/qt5/QtCore/QEvent:1, from main.h:30, from main_moc.cpp:9: /usr/include/qt5/QtCore/qbasicatomic.h:61:4: error: #error "Qt requires C++11 support" # error "Qt requires C++11 support" ^ Thanks, Eduardo System information ------------------ This is something I pasted with Gambas 3.9.0, which I built before the upgrade to Qt 5.7 and continues to operate normally. [System] Gambas=3.9 OperatingSystem=Linux Kernel=4.4.38 Architecture=x86_64 Distribution=slackware Slackware 14.2 Desktop=KDE5 Theme=Breeze Language=es_PY.UTF-8 Memory=11916M [Libraries] [Environment] CPLUS_INCLUDE_PATH=/usr/lib64/qt/include DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-HqhA8X74HO,guid=9b0a399f4a8f1580e07f0bac58701f8d DESKTOP_SESSION=/usr/share/xsessions/plasma DISPLAY=:0 GB_GUI=gb.qt5 GDK_USE_XFT=1 GS_LIB=/.fonts G_BROKEN_FILENAMES=1 G_FILENAME_ENCODING=@...3501... HOME= HOSTNAME=.sombragris.org INPUTRC=/etc/inputrc JAVA_HOME=/usr/lib64/java KDEDIRS=/usr KDE_FULL_SESSION=true KDE_SESSION_UID=1000 KDE_SESSION_VERSION=5 LANG=es_PY.UTF-8 LANGUAGE=en_US LC_COLLATE=C LESS=-M LESSOPEN=|lesspipe.sh %s LOGNAME= LS_COLORS= LS_OPTIONS=-F -b -T 0 --color=auto MANPATH=/usr/local/man:/usr/man:/usr/lib64/java/man MINICOM=-c on PATH=/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib64/kf5:/usr/lib64/kde4/libexec:/usr/lib64/java/bin:/usr/lib64/java/jre/bin:/usr/lib64/qt/bin:/usr/lib64/qt5/bin PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig:/usr/local/share/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig PWD= QMLSCENE_DEVICE= QSG_RENDER_LOOP= QT4DIR=/usr/lib64/qt QT5DIR=/usr/lib64/qt5 QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_NO_GLIB=1 SAL_USE_VCLPLUGIN=kde4 SESSION_MANAGER=local/:@/tmp/.ICE-unix/1382,unix/:/tmp/.ICE-unix/1382 SHELL=/bin/bash SHLVL=1 T1LIB_CONFIG=/usr/share/t1lib/t1lib.config TERM=dumb TZ=:/etc/localtime USER= VDPAU_LOG=0 XAUTHORITY=/.Xauthority XCURSOR_THEME=breeze_cursors XDG_CONFIG_DIRS=/etc/xdg:/etc/kde/xdg XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share XDG_RUNTIME_DIR=/tmp/xdg-runtime- XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_COOKIE=-1483743117.959646-1603446457 XDG_SESSION_DESKTOP=KDE XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 XDG_SESSION_TYPE=x11 XDG_VTNR=7 _=/usr/bin/kwrapper5 From bugtracker at ...3416... Sat Jan 7 09:36:17 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 08:36:17 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1060: After hide doing me.show(), the window not show Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1060&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- After hide doing me.show(), the window not show Type : Bug Priority : Medium Gambas version : 3.9.90 (TRUNK) Product : GUI components Description ----------- After hiding the window does not appear again (me.show does not work) code : Public Sub Button1_Click() Me.Hide Wait 5 Me.Show End Reproduce the Bug : 1) Run project (attach project) 2) Click Button, the window not show This bug still fresh ! System information ------------------ [System] Gambas=3.9.90 r8036 OperatingSystem=Linux Kernel=4.4.0-28-generic Architecture=x86 Distribution=Ubuntu 16.04.1 LTS Desktop=LXQT Theme=Gtk Language=en_US.UTF-8 Memory=492M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-1.0.so.0.802.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.19.0.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] BROWSER= DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-tDAikaVAyX,guid=85d4365eae77fb421061d9c2586f4c87 DEFAULTS_PATH=/usr/share/gconf/lxqt.default.path DESKTOP_SESSION=lxqt DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=lxqt GDM_LANG=en GTK_CSD=0 HOME= LANG=en_US.UTF-8 LANGUAGE=en LC_ADDRESS=id_ID.UTF-8 LC_IDENTIFICATION=id_ID.UTF-8 LC_MEASUREMENT=id_ID.UTF-8 LC_MONETARY=id_ID.UTF-8 LC_NAME=id_ID.UTF-8 LC_NUMERIC=id_ID.UTF-8 LC_PAPER=id_ID.UTF-8 LC_TELEPHONE=id_ID.UTF-8 LC_TIME=id_ID.UTF-8 LOGNAME= LXQT_SESSION_CONFIG=session MANDATORY_PATH=/usr/share/gconf/lxqt.mandatory.path PAM_KWALLET5_LOGIN=/tmp/kwallet5_.socket PAPERSIZE=a4 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD= QT_ACCESSIBILITY=1 QT_IM_MODULE=compose QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_PLATFORM_PLUGIN=lxqt QT_QPA_PLATFORMTHEME=lxqt SAL_USE_VCLPLUGIN=kde4 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=2432 SSH_AUTH_SOCK=/tmp/ssh-f8KtaFFMQsgq/agent.2380 TERM=qterminal TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CACHE_HOME=/.cache XDG_CONFIG_DIRS=/etc/xdg/xdg-lxqt:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXQt XDG_DATA_DIRS=/usr/share/lxqt:/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop:/.local/share:/usr/share XDG_DATA_HOME=/.local/share XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=lxqt- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=lxqt XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 From bugtracker at ...3416... Sat Jan 7 09:36:42 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 08:36:42 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1060: After hide doing me.show(), the window not show In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1060&from=L21haW4- Zainudin AHMAD added an attachment: 20170107-093641808-Bug-Gui-WindowShow-0.0.1.tar.gz From bugtracker at ...3416... Sat Jan 7 09:38:03 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 08:38:03 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1060: After hide doing me.show(), the window not show In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1060&from=L21haW4- Zainudin AHMAD added an attachment: 20170107-093641808-Bug-Gui-WindowShow-0.0.1.tar.gz From bugtracker at ...3416... Sat Jan 7 09:42:38 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 08:42:38 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1060: After hide doing me.show(), the window not show In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1060&from=L21haW4- Zainudin AHMAD added an attachment: 20170107-093641808-Bug-Gui-WindowShow-0.0.1.tar.gz From bugtracker at ...3416... Sat Jan 7 09:42:38 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 08:42:38 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1060: After hide doing me.show(), the window not show In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1060&from=L21haW4- Comment #1 by Zainudin AHMAD: this happens with qt5, qt4, gtk2 and gtk3 From bugtracker at ...3416... Sat Jan 7 09:42:40 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 08:42:40 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1060: After hide doing me.show(), the window not show In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1060&from=L21haW4- Zainudin AHMAD added an attachment: 20170107-093641808-Bug-Gui-WindowShow-0.0.1.tar.gz From bugtracker at ...3416... Sat Jan 7 09:42:41 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 08:42:41 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1060: After hide doing me.show(), the window not show In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1060&from=L21haW4- Zainudin AHMAD added an attachment: 20170107-093641808-Bug-Gui-WindowShow-0.0.1.tar.gz From bugtracker at ...3416... Sat Jan 7 09:42:42 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 08:42:42 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1060: After hide doing me.show(), the window not show In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1060&from=L21haW4- Zainudin AHMAD added an attachment: 20170107-093641808-Bug-Gui-WindowShow-0.0.1.tar.gz From bugtracker at ...3416... Sat Jan 7 09:42:42 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 08:42:42 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1060: After hide doing me.show(), the window not show In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1060&from=L21haW4- Zainudin AHMAD added an attachment: 20170107-093641808-Bug-Gui-WindowShow-0.0.1.tar.gz From bugtracker at ...3416... Sat Jan 7 09:42:44 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 08:42:44 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1060: After hide doing me.show(), the window not show In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1060&from=L21haW4- Zainudin AHMAD added an attachment: 20170107-093641808-Bug-Gui-WindowShow-0.0.1.tar.gz From bugtracker at ...3416... Sat Jan 7 09:42:43 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 08:42:43 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1060: After hide doing me.show(), the window not show In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1060&from=L21haW4- Zainudin AHMAD added an attachment: 20170107-093641808-Bug-Gui-WindowShow-0.0.1.tar.gz From bugtracker at ...3416... Sat Jan 7 09:42:45 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 08:42:45 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1060: After hide doing me.show(), the window not show In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1060&from=L21haW4- Zainudin AHMAD added an attachment: 20170107-093641808-Bug-Gui-WindowShow-0.0.1.tar.gz From bugtracker at ...3416... Sat Jan 7 09:42:47 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 08:42:47 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1060: After hide doing me.show(), the window not show In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1060&from=L21haW4- Zainudin AHMAD added an attachment: 20170107-093641808-Bug-Gui-WindowShow-0.0.1.tar.gz From bugtracker at ...3416... Sat Jan 7 09:42:46 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 08:42:46 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1060: After hide doing me.show(), the window not show In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1060&from=L21haW4- Zainudin AHMAD added an attachment: 20170107-093641808-Bug-Gui-WindowShow-0.0.1.tar.gz From bugtracker at ...3416... Sat Jan 7 10:04:52 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 09:04:52 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #666: This is a new bug report In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.666&from=L21haW4- Comment #9 by Beno?t MINISINI: test 5 From bugtracker at ...3416... Sat Jan 7 10:05:05 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 09:05:05 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #666: This is a new bug report In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.666&from=L21haW4- Beno?t MINISINI added an attachment: 20170107-100505341-Josquin_-_Mille_regretz-1.pdf From bugtracker at ...3416... Sat Jan 7 10:05:06 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 09:05:06 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #666: This is a new bug report In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.666&from=L21haW4- Beno?t MINISINI added an attachment: 20170107-100505341-Josquin_-_Mille_regretz-1.pdf From bugtracker at ...3416... Sat Jan 7 10:05:07 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 09:05:07 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #666: This is a new bug report In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.666&from=L21haW4- Beno?t MINISINI added an attachment: 20170107-100505341-Josquin_-_Mille_regretz-1.pdf From bugtracker at ...3416... Sat Jan 7 10:05:08 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 09:05:08 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #666: This is a new bug report In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.666&from=L21haW4- Beno?t MINISINI added an attachment: 20170107-100505341-Josquin_-_Mille_regretz-1.pdf From bugtracker at ...3416... Sat Jan 7 10:05:09 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 09:05:09 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #666: This is a new bug report In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.666&from=L21haW4- Beno?t MINISINI added an attachment: 20170107-100505341-Josquin_-_Mille_regretz-1.pdf From bugtracker at ...3416... Sat Jan 7 10:05:10 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 09:05:10 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #666: This is a new bug report In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.666&from=L21haW4- Beno?t MINISINI added an attachment: 20170107-100505341-Josquin_-_Mille_regretz-1.pdf From bugtracker at ...3416... Sat Jan 7 10:05:11 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 09:05:11 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #666: This is a new bug report In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.666&from=L21haW4- Beno?t MINISINI added an attachment: 20170107-100505341-Josquin_-_Mille_regretz-1.pdf From bugtracker at ...3416... Sat Jan 7 10:05:12 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 09:05:12 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #666: This is a new bug report In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.666&from=L21haW4- Beno?t MINISINI added an attachment: 20170107-100505341-Josquin_-_Mille_regretz-1.pdf From bugtracker at ...3416... Sat Jan 7 10:05:13 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 09:05:13 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #666: This is a new bug report In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.666&from=L21haW4- Beno?t MINISINI added an attachment: 20170107-100505341-Josquin_-_Mille_regretz-1.pdf From bugtracker at ...3416... Sat Jan 7 10:05:13 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 09:05:13 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #666: This is a new bug report In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.666&from=L21haW4- Beno?t MINISINI added an attachment: 20170107-100505341-Josquin_-_Mille_regretz-1.pdf From bugtracker at ...3416... Sat Jan 7 10:58:43 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 09:58:43 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1059: Compilation fails with Qt 5.7 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1059&from=L21haW4- Comment #1 by Beno?t MINISINI: What does 'gcc --version' return on your system? From bugtracker at ...3416... Sat Jan 7 11:02:24 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 10:02:24 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1060: After hide doing me.show(), the window not show In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1060&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Sat Jan 7 11:57:49 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 10:57:49 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1060: After hide doing me.show(), the window not show In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1060&from=L21haW4- Comment #2 by Beno?t MINISINI: Fixed in revision #8044. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Sat Jan 7 12:31:22 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 11:31:22 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1061: HTTPClient doesn't store proper HTTP code in the "Code" value if the content-length is zero Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1061&from=L21haW4- Alexander KUIPER reported a new bug. Summary ------- HTTPClient doesn't store proper HTTP code in the "Code" value if the content-length is zero Type : Bug Priority : Medium Gambas version : 3.9 Product : Networking components Description ----------- The Gambas HTTPClient doesn't store the returned HTTP code in the code field, in such case the code field states zero. This only happens when the content-length field is zero (thus no data returned, only headers). See the attached example application. System information ------------------ [System] Gambas=3.9.2 OperatingSystem=Linux Kernel=3.13.0-106-generic Architecture=x86_64 Distribution=Ubuntu 14.04.5 LTS Desktop=UNITY Theme=Gtk Language=en_US.UTF-8 Memory=980M [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.27 GTK+3=libgtk-3.so.0.1000.8 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CLUTTER_IM_MODULE=xim COLORTERM=gnome-terminal COMPIZ_BIN_PATH=/usr/bin/ COMPIZ_CONFIG_PROFILE=ubuntu DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-CHGFmP3ONP DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path DESKTOP_SESSION=ubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=ubuntu GDM_LANG=en_US GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL=/run/user/1000/keyring-RlSjfb GNOME_KEYRING_PID=2854 GPG_AGENT_INFO=/run/user/1000/keyring-RlSjfb/gpg:0:1 GTK_IM_MODULE=ibus GTK_MODULES=overlay-scrollbar:unity-gtk-module HOME= IM_CONFIG_PHASE=1 INSTANCE= JOB=dbus LANG=en_US.UTF-8 LANGUAGE=en_US LC_ADDRESS=nl_NL.UTF-8 LC_IDENTIFICATION=nl_NL.UTF-8 LC_MEASUREMENT=nl_NL.UTF-8 LC_MONETARY=nl_NL.UTF-8 LC_NAME=nl_NL.UTF-8 LC_NUMERIC=nl_NL.UTF-8 LC_PAPER=nl_NL.UTF-8 LC_TELEPHONE=nl_NL.UTF-8 LC_TIME=nl_NL.UTF-8 LESSCLOSE=/usr/bin/lesspipe %s %s LESSOPEN=| /usr/bin/lesspipe %s LOGNAME= LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36: MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path OLDPWD=/TestHTTPClient/.src PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT4_IM_MODULE=xim QT_IM_MODULE=ibus QT_QPA_PLATFORMTHEME=appmenu-qt5 SELINUX_INIT=YES SESSION=ubuntu SESSIONTYPE=gnome-session SESSION_MANAGER=local/:@/tmp/.ICE-unix/2913,unix/:/tmp/.ICE-unix/2913 SHELL=/bin/bash SHLVL=1 SSH_AUTH_SOCK=/run/user/1000/keyring-RlSjfb/ssh TERM=xterm TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/2473 USER= VTE_VERSION=3409 WINDOWID=23068683 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg XDG_CURRENT_DESKTOP=Unity XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/ XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=gnome- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_ID=c1 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_VTNR=7 XMODIFIERS=@...3498...=ibus _=/usr/bin/gambas3 From bugtracker at ...3416... Sat Jan 7 12:31:32 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 11:31:32 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1061: HTTPClient doesn't store proper HTTP code in the "Code" value if the content-length is zero In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1061&from=L21haW4- Alexander KUIPER added an attachment: 20170107-123131651-TestHTTPClient.tar.gz From bugtracker at ...3416... Sat Jan 7 14:05:15 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 13:05:15 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1061: HTTPClient doesn't store proper HTTP code in the "Code" value if the content-length is zero In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1061&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Sat Jan 7 14:05:28 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 13:05:28 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1061: HTTPClient doesn't store proper HTTP code in the "Code" value if the content-length is zero In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1061&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed in revision #8045. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Sat Jan 7 14:05:52 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 13:05:52 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1059: Compilation fails with Qt 5.7 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1059&from=L21haW4- Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Sat Jan 7 14:06:28 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 13:06:28 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1049: reader.Node.Attributes.Value --> Segmentation Fault(11) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1049&from=L21haW4- Comment #1 by Beno?t MINISINI: Please provide a full project that reproduces the crash. From bugtracker at ...3416... Sat Jan 7 14:07:15 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 13:07:15 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1044: Gambas should trow an error or at least a warning when loading corrupted images In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1044&from=L21haW4- Comment #4 by Beno?t MINISINI: Please provide a project that reproduces the bug. From bugtracker at ...3416... Sat Jan 7 14:08:33 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 13:08:33 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1041: [JIT] Doing : Return [2/8] , I get "Type Mismatch ..." In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1041&from=L21haW4- Comment #1 by Beno?t MINISINI: Alas automatic array conversion (from Float[] to Integer[]) has not been implemented by Emil Lengrenn in the JIT compiler. Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Sat Jan 7 14:11:23 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 13:11:23 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1031: PPA for daily and stable version there is no component gb.qt5.ext In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1031&from=L21haW4- Comment #1 by Beno?t MINISINI: It should be fixed now. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Sat Jan 7 14:13:13 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 13:13:13 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #846: Fast routines raise error: Wanted Float[] got Integer[] instead In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.846&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Duplicate. From bugtracker at ...3416... Sat Jan 7 14:25:55 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 13:25:55 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1047: please add new gambas3 sections for Rust and JavaScript In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1047&from=L21haW4- Comment #1 by Beno?t MINISINI: According to https://www.debian.org/doc/debian-policy/ch-archive.html#s-subsections, "rust" and "javascript" are not in the debian section list. Beno?t MINISINI changed the state of the bug to: Rejected. From jogeri63 at ...20... Sat Jan 7 14:34:44 2017 From: jogeri63 at ...20... (jogeri63) Date: Sat, 7 Jan 2017 14:34:44 +0100 Subject: [Gambas-user] CompileingGambas 3.9.2 on Windows10 Cygwin. Message-ID: Hello, I?m trying to compile Gambas 3.9.2 on Windows10 Cygwin. After running command "|./configure -C --disable-inotify --disable-v4l|" I got message: 'configure: error: ./configure failed for main ...' see attachment 'output.txt' -- Johann -------------- next part -------------- configure: loading site script /usr/share/config.site configure: loading cache config.cache checking whether ln -s works... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /usr/bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) no checking whether make supports nested variables... (cached) no checking whether make supports nested variables... (cached) no checking build system type... (cached) x86_64-unknown-cygwin checking host system type... (cached) x86_64-unknown-cygwin checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged === configuring in main (/gambas3-3.9.2/main) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' --cache-file=../config.cache --srcdir=. configure: loading site script /usr/share/config.site configure: loading cache ../config.cache ./configure: line 2076: syntax error near unexpected token `main' ./configure: line 2076: `GB_INIT(main)' configure: error: ./configure failed for main -bash: make: Kommando nicht gefunden. -bash: make: Kommando nicht gefunden. From taboege at ...626... Sat Jan 7 15:22:02 2017 From: taboege at ...626... (Tobias Boege) Date: Sat, 7 Jan 2017 15:22:02 +0100 Subject: [Gambas-user] CompileingGambas 3.9.2 on Windows10 Cygwin. In-Reply-To: References: Message-ID: <20170107142202.GA573@...3600...> On Sat, 07 Jan 2017, jogeri63 wrote: > Hello, > > I?m trying to compile Gambas 3.9.2 on Windows10 Cygwin. > After running command "|./configure -C --disable-inotify --disable-v4l|" > I got message: 'configure: error: ./configure failed for main ...' > see attachment 'output.txt' > > configure: loading site script /usr/share/config.site > configure: loading cache config.cache > checking whether ln -s works... yes > checking whether to enable maintainer-specific portions of Makefiles... no > checking for a BSD-compatible install... (cached) /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... (cached) /usr/bin/mkdir -p > checking for gawk... (cached) gawk > checking whether make sets $(MAKE)... (cached) no > checking whether make supports nested variables... (cached) no > checking whether make supports nested variables... (cached) no > checking build system type... (cached) x86_64-unknown-cygwin > checking host system type... (cached) x86_64-unknown-cygwin > checking that generated files are newer than configure... done > configure: creating ./config.status > config.status: creating Makefile > config.status: creating config.h > config.status: config.h is unchanged > === configuring in main (/gambas3-3.9.2/main) > configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' --cache-file=../config.cache --srcdir=. > configure: loading site script /usr/share/config.site > configure: loading cache ../config.cache > ./configure: line 2076: syntax error near unexpected token `main' > ./configure: line 2076: `GB_INIT(main)' > configure: error: ./configure failed for main > -bash: make: Kommando nicht gefunden. > -bash: make: Kommando nicht gefunden. Well, for one the "make" utility is missing. You need to install it along with all the other build dependencies[1] (with the required versions). I don't know about the syntax error on configure:2076, though, but maybe that solves itself when the proper versions of autotools are installed. In case you are not aware, Bastian Germann succeeded in compiling Gambas for cygwin[2] and gave some short installation instructions here[3]. Regards, Tobi [1] http://gambaswiki.org/wiki/install [2] https://sourceforge.net/p/gambas/mailman/message/35018459/ [3] http://gambaswiki.org/wiki/install/cygwin -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bagonergi at ...626... Sat Jan 7 16:17:10 2017 From: bagonergi at ...626... (Gianluigi) Date: Sat, 7 Jan 2017 16:17:10 +0100 Subject: [Gambas-user] The Gambas mailing list does not work? In-Reply-To: References: Message-ID: Am stupid, the email that warned me of disabling for excessive bounces was insert by Google in my Promotions folder. I have re-enabled , but remains the mystery of excessive bounces. Regards Gianluigi 2017-01-06 11:47 GMT+01:00 Gianluigi : > I wanted to inform you that I am writing with Gmail and in this direction > (Gmail - Sourceforge) seems to work. > > > 2017-01-06 11:31 GMT+01:00 Gianluigi : > >> A few days ago a neighbor who uses Windows 7 had stopped receiving mail >> from Yahoo had to change the settings by accepting the lower to the >> defenses. >> Perhaps because of terrorism, changes are underway with restrictions? >> I receive regular mail from Gmail, just that I do not receive the mailing >> list, so I think it's a problem between Sourceforge and Gmail. >> Meanwhile, you may warn of this problem Sourceforge. >> >> Regards >> Gianluigi >> >> 2017-01-05 19:48 GMT+01:00 Gianluigi : >> >>> Hello Tobias, >>> also I have gmail for ML and from here I do not see your answer, how >>> can we do to communicate the problem to gmail? >>> >>> Redards >>> Gianluigi >>> >>> 2017-01-05 19:27 GMT+01:00 Gianluigi : >>> >>>> Hi all, >>>> I am not getting e-mail from the mailing list >>>> The last e-mail is this [0] from Jussi Lhatinen. >>>> >>>> Regards >>>> Gianluigi >>>> >>>> [0] http://gambas.8142.n7.nabble.com/Fwd-confirm-0bca3e2cd2fe186 >>>> cd8c172cee9ce1858aec6ce7a-td58115.html >>>> >>> >>> >> > From bugtracker at ...3416... Sat Jan 7 16:20:25 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 15:20:25 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1062: DesktopFile for google-chrome.desktop is incomplete Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1062&from=L21haW4- Tony MOREHEN reported a new bug. Summary ------- DesktopFile for google-chrome.desktop is incomplete Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- DesktopFile created by new DesktopFile("/usr/share/applications/google-chrome.desktop) is incomplete, every property except "Name" is an empty string. Cause: google-chrome.desktop's [Desktop Entry] section contains two comment lines: # Only KDE 4 seems to use GenericName, so we reuse the KDE strings. # From Ubuntu's language-pack-kde-XX-base packages, version 9.04-20090413. This causes Gambas to abort its analysis of the [Desktop Entry] section at lines 110 and 111 of DesktopFile.class: iPos = InStr(sLine, "=") If iPos = 0 Then Break No "=" so it aborts. Note that this code will also cause an abort with a blank line. Fix: Change "Break" to "Continue" in line 111. System information ------------------ [System] Gambas=3.9.90 r8018 OperatingSystem=Linux Kernel=4.8.15-1-MANJARO Architecture=x86_64 Distribution=Manjaro Linux Desktop=XFCE Theme=Gtk Language=en_CA.utf8 Memory=3947M [Libraries] Cairo=libcairo.so.2.11400.8 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.9 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.1002.0 GTK+2=libgtk-x11-2.0.so.0.2400.31 GTK+3=libgtk-3.so.0.2200.5 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.66.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.7.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=xfce DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=xfce GLADE_CATALOG_PATH=: GLADE_MODULE_PATH=: GLADE_PIXMAP_PATH=: GTK2_RC_FILES=/.gtkrc-2.0 GTK_MODULES=canberra-gtk-module HOME= LANG=en_CA.utf8 LC_ADDRESS=en_CA.UTF-8 LC_IDENTIFICATION=en_CA.UTF-8 LC_MEASUREMENT=en_CA.UTF-8 LC_MONETARY=en_CA.UTF-8 LC_NAME=en_CA.UTF-8 LC_NUMERIC=en_CA.UTF-8 LC_PAPER=en_CA.UTF-8 LC_TELEPHONE=en_CA.UTF-8 LC_TIME=en_CA.UTF-8 LOGNAME= MAIL=/var/spool/mail/ MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl PWD= QT_QPA_PLATFORMTHEME=qt5ct SAL_USE_VCLPLUGIN=gtk SESSION_MANAGER=local/:@/tmp/.ICE-unix/9931,unix/:/tmp/.ICE-unix/9931 SHELL=/bin/bash SHLVL=2 SSH_AGENT_PID=9936 SSH_AUTH_SOCK=/tmp/ssh-bUdChQqs4Zo0/agent.9935 TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg XDG_CURRENT_DESKTOP=XFCE XDG_DATA_DIRS=/usr/local/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_DESKTOP=xfce XDG_SESSION_ID=c4 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 XDG_SESSION_TYPE=x11 XDG_VTNR=7 _=/usr/bin/gambas3 From bugtracker at ...3416... Sat Jan 7 17:05:03 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 16:05:03 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1059: Compilation fails with Qt 5.7 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1059&from=L21haW4- Comment #2 by Eduardo SANCHEZ: Hi Beno?t, gcc --version shows the following: [eduardo:~]$ gcc --version gcc (GCC) 5.4.0 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. From bugtracker at ...3416... Sat Jan 7 17:25:48 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 16:25:48 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1059: Compilation fails with Qt 5.7 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1059&from=L21haW4- Comment #3 by Fabien BODARD: strange ... [fabien at ...3590... ~]$ gcc --version gcc (GCC) 6.2.1 20160830 Copyright ? 2016 Free Software Foundation, Inc. Ce logiciel est libre; voir les sources pour les conditions de copie. Il n'y a PAS GARANTIE; ni implicite pour le MARCHANDAGE ou pour un BUT PARTICULIER. From bugtracker at ...3416... Sat Jan 7 17:26:06 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 16:26:06 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1059: Compilation fails with Qt 5.7 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1059&from=L21haW4- Comment #4 by Fabien BODARD: and no problem From bugtracker at ...3416... Sat Jan 7 17:34:39 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 16:34:39 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1063: Gambas3 httpd send own headers Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1063&from=L21haW4- Micha? G?OWIENKA reported a new bug. Summary ------- Gambas3 httpd send own headers Type : Request Priority : Medium Gambas version : 3.9 Product : Networking components Description ----------- Running my project using httpd I am not able to send own headers Maybe I'm doing something wrong, is there any solution? Response.AddHeader("Expires", CGI.FormatDate(DateAdd(Now, gb.Month, 1))) Response.AddHeader("Cache-Control", "private") Response.AddHeader("Cache-Control", "max-age=604800") Response.AddHeader("Cerbero-version", Application.Version) Response.AddHeader("X-Powered-By", "Cerbero") Response.AddHeader("Last-Modified", CGI.FormatDate(dDate)) Response.ContentType = GetContentTypeFrom($Path) Response.Begin Print File.Load(Application.Path & Request.Path) 'Response.SendFile(Application.Path &/ Path) Response.End System information ------------------ [System] Gambas=3.9.2 OperatingSystem=Linux Kernel=4.8.15-1-MANJARO Architecture=x86_64 Distribution=Manjaro Linux Desktop=KDE5 Theme=Breeze Language=pl_PL.UTF-8 Memory=3704M [Libraries] Cairo=libcairo.so.2.11400.8 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.9 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.1002.0 GTK+2=libgtk-x11-2.0.so.0.2400.31 GTK+3=libgtk-3.so.0.2200.5 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.66.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.7.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=/usr/share/xsessions/plasma DISPLAY=:0 GB_GUI=gb.qt5 GS_LIB=/.fonts GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/.gtkrc-2.0:/.config/gtkrc-2.0 GTK_MODULES=canberra-gtk-module GTK_RC_FILES=/etc/gtk/gtkrc:/.gtkrc:/.config/gtkrc HOME= KDE_FULL_SESSION=true KDE_MULTIHEAD=false KDE_SESSION_UID=1000 KDE_SESSION_VERSION=5 LANG=pl_PL.UTF-8 LC_ADDRESS=pl_PL.UTF-8 LC_IDENTIFICATION=pl_PL.UTF-8 LC_MEASUREMENT=pl_PL.UTF-8 LC_MONETARY=pl_PL.UTF-8 LC_NAME=pl_PL.UTF-8 LC_NUMERIC=pl_PL.UTF-8 LC_PAPER=pl_PL.UTF-8 LC_TELEPHONE=pl_PL.UTF-8 LC_TIME=pl_PL.UTF-8 LOGNAME= MAIL=/var/spool/mail/ MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl PWD= QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_NO_GLIB=1 SESSION_MANAGER=local/:@/tmp/.ICE-unix/674,unix/:/tmp/.ICE-unix/674 SHELL=/bin/bash SHLVL=1 TZ=:/etc/localtime USER= XAUTHORITY=/tmp/xauth-1000-_0 XCURSOR_THEME=breeze_cursors XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=KDE XDG_SESSION_ID=c1 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=1 _=/usr/lib/kf5/start_kdeinit_wrapper From bugtracker at ...3416... Sat Jan 7 17:39:01 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 16:39:01 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1063: Gambas3 httpd send own headers In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1063&from=L21haW4- Comment #1 by Beno?t MINISINI: What do you call "httpd" exactly? And please provide a full project! From bugtracker at ...3416... Sat Jan 7 17:43:00 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 16:43:00 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1062: DesktopFile for google-chrome.desktop is incomplete In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1062&from=L21haW4- Tony MOREHEN added an attachment: google-chrome.desktop From bugtracker at ...3416... Sat Jan 7 17:50:15 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 16:50:15 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1063: Gambas3 httpd send own headers In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1063&from=L21haW4- Comment #2 by Micha? G?OWIENKA: I use to run gb.httpd And this is a project that I'm writing https://github.com/i-nex/Cerbero From bugtracker at ...3416... Sat Jan 7 17:52:32 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 16:52:32 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1059: Compilation fails with Qt 5.7 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1059&from=L21haW4- Comment #5 by Eduardo SANCHEZ: AFAICT it's not necessary the presence of a gcc version but the presence of Qt > 5.7.0. From 5.7 onwards, Qt requires C++11 for compiling anything. From bugtracker at ...3416... Sat Jan 7 18:00:31 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 07 Jan 2017 17:00:31 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1047: please add new gambas3 sections for Rust and JavaScript In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1047&from=L21haW4- Comment #2 by Gianfranco COSTAMAGNA: well, sections will be added in a month or two https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=847533 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=753480 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=845576 they should be added for Stretch release... G. Gianfranco COSTAMAGNA changed the state of the bug to: Opened. From jogeri63 at ...20... Sat Jan 7 18:57:59 2017 From: jogeri63 at ...20... (jogeri63) Date: Sat, 7 Jan 2017 18:57:59 +0100 Subject: [Gambas-user] CompileingGambas 3.9.2 on Windows10 Cygwin. In-Reply-To: <20170107142202.GA573@...3600...> References: <20170107142202.GA573@...3600...> Message-ID: Hello, after install 'make utility' and running command './configure -C --disable-inotify --disable-v4l' I still got message: 'configure: error: ./configure failed for main' see attachment 'output.txt' Regards, Johann Am 07.01.2017 um 15:22 schrieb Tobias Boege: > On Sat, 07 Jan 2017, jogeri63 wrote: >> Hello, >> >> I?m trying to compile Gambas 3.9.2 on Windows10 Cygwin. >> After running command "|./configure -C --disable-inotify --disable-v4l|" >> I got message: 'configure: error: ./configure failed for main ...' >> see attachment 'output.txt' >> >> configure: loading site script /usr/share/config.site >> configure: loading cache config.cache >> checking whether ln -s works... yes >> checking whether to enable maintainer-specific portions of Makefiles... no >> checking for a BSD-compatible install... (cached) /usr/bin/install -c >> checking whether build environment is sane... yes >> checking for a thread-safe mkdir -p... (cached) /usr/bin/mkdir -p >> checking for gawk... (cached) gawk >> checking whether make sets $(MAKE)... (cached) no >> checking whether make supports nested variables... (cached) no >> checking whether make supports nested variables... (cached) no >> checking build system type... (cached) x86_64-unknown-cygwin >> checking host system type... (cached) x86_64-unknown-cygwin >> checking that generated files are newer than configure... done >> configure: creating ./config.status >> config.status: creating Makefile >> config.status: creating config.h >> config.status: config.h is unchanged >> === configuring in main (/gambas3-3.9.2/main) >> configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' --cache-file=../config.cache --srcdir=. >> configure: loading site script /usr/share/config.site >> configure: loading cache ../config.cache >> ./configure: line 2076: syntax error near unexpected token `main' >> ./configure: line 2076: `GB_INIT(main)' >> configure: error: ./configure failed for main >> -bash: make: Kommando nicht gefunden. >> -bash: make: Kommando nicht gefunden. > Well, for one the "make" utility is missing. You need to install it along > with all the other build dependencies[1] (with the required versions). > I don't know about the syntax error on configure:2076, though, but maybe > that solves itself when the proper versions of autotools are installed. > > In case you are not aware, Bastian Germann succeeded in compiling Gambas for > cygwin[2] and gave some short installation instructions here[3]. > > Regards, > Tobi > > [1] http://gambaswiki.org/wiki/install > [2] https://sourceforge.net/p/gambas/mailman/message/35018459/ > [3] http://gambaswiki.org/wiki/install/cygwin > -------------- next part -------------- configure: loading site script /usr/share/config.site configure: loading cache config.cache checking whether ln -s works... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /usr/bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking whether make supports nested variables... (cached) yes checking whether make supports nested variables... (cached) yes checking build system type... (cached) x86_64-unknown-cygwin checking host system type... (cached) x86_64-unknown-cygwin checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged === configuring in main (/gambas3-3.9.2/main) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' --cache-file=../config.cache --srcdir=. configure: loading site script /usr/share/config.site configure: loading cache ../config.cache ./configure: line 2076: syntax error near unexpected token `main' ./configure: line 2076: `GB_INIT(main)' configure: error: ./configure failed for main make all-recursive make[1]: Verzeichnis ?/gambas3-3.9.2? wird betreten Making all in main make[2]: Verzeichnis ?/gambas3-3.9.2/main? wird betreten make[2]: *** Keine Regel, um ?all? zu erstellen. Schluss. make[2]: Verzeichnis ?/gambas3-3.9.2/main? wird verlassen make[1]: *** [Makefile:438: all-recursive] Fehler 1 make[1]: Verzeichnis ?/gambas3-3.9.2? wird verlassen make: *** [Makefile:379: all] Fehler 2 Making install in main make[1]: Verzeichnis ?/gambas3-3.9.2/main? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/main? wird verlassen Making install in gb.compress.bzlib2 make[1]: Verzeichnis ?/gambas3-3.9.2/gb.compress.bzlib2? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.compress.bzlib2? wird verlassen Making install in gb.compress.zlib make[1]: Verzeichnis ?/gambas3-3.9.2/gb.compress.zlib? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.compress.zlib? wird verlassen Making install in gb.db.mysql make[1]: Verzeichnis ?/gambas3-3.9.2/gb.db.mysql? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.db.mysql? wird verlassen Making install in gb.db.odbc make[1]: Verzeichnis ?/gambas3-3.9.2/gb.db.odbc? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.db.odbc? wird verlassen Making install in gb.db.postgresql make[1]: Verzeichnis ?/gambas3-3.9.2/gb.db.postgresql? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.db.postgresql? wird verlassen Making install in gb.db.sqlite2 make[1]: Verzeichnis ?/gambas3-3.9.2/gb.db.sqlite2? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.db.sqlite2? wird verlassen Making install in gb.db.sqlite3 make[1]: Verzeichnis ?/gambas3-3.9.2/gb.db.sqlite3? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.db.sqlite3? wird verlassen Making install in gb.net make[1]: Verzeichnis ?/gambas3-3.9.2/gb.net? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.net? wird verlassen Making install in gb.net.curl make[1]: Verzeichnis ?/gambas3-3.9.2/gb.net.curl? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.net.curl? wird verlassen Making install in gb.mime make[1]: Verzeichnis ?/gambas3-3.9.2/gb.mime? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.mime? wird verlassen Making install in gb.pcre make[1]: Verzeichnis ?/gambas3-3.9.2/gb.pcre? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.pcre? wird verlassen Making install in gb.sdl make[1]: Verzeichnis ?/gambas3-3.9.2/gb.sdl? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.sdl? wird verlassen Making install in gb.sdl.sound make[1]: Verzeichnis ?/gambas3-3.9.2/gb.sdl.sound? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.sdl.sound? wird verlassen Making install in gb.sdl2 make[1]: Verzeichnis ?/gambas3-3.9.2/gb.sdl2? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.sdl2? wird verlassen Making install in gb.libxml make[1]: Verzeichnis ?/gambas3-3.9.2/gb.libxml? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.libxml? wird verlassen Making install in gb.xml make[1]: Verzeichnis ?/gambas3-3.9.2/gb.xml? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.xml? wird verlassen Making install in gb.v4l make[1]: Verzeichnis ?/gambas3-3.9.2/gb.v4l? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.v4l? wird verlassen Making install in gb.crypt make[1]: Verzeichnis ?/gambas3-3.9.2/gb.crypt? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.crypt? wird verlassen Making install in gb.qt4 make[1]: Verzeichnis ?/gambas3-3.9.2/gb.qt4? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.qt4? wird verlassen Making install in gb.qt5 make[1]: Verzeichnis ?/gambas3-3.9.2/gb.qt5? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.qt5? wird verlassen Making install in gb.gtk make[1]: Verzeichnis ?/gambas3-3.9.2/gb.gtk? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.gtk? wird verlassen Making install in gb.gtk3 make[1]: Verzeichnis ?/gambas3-3.9.2/gb.gtk3? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.gtk3? wird verlassen Making install in gb.opengl make[1]: Verzeichnis ?/gambas3-3.9.2/gb.opengl? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.opengl? wird verlassen Making install in gb.desktop.x11 make[1]: Verzeichnis ?/gambas3-3.9.2/gb.desktop.x11? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.desktop.x11? wird verlassen Making install in gb.desktop.gnome.keyring make[1]: Verzeichnis ?/gambas3-3.9.2/gb.desktop.gnome.keyring? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.desktop.gnome.keyring? wird verlassen Making install in gb.pdf make[1]: Verzeichnis ?/gambas3-3.9.2/gb.pdf? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.pdf? wird verlassen Making install in gb.cairo make[1]: Verzeichnis ?/gambas3-3.9.2/gb.cairo? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.cairo? wird verlassen Making install in gb.image.io make[1]: Verzeichnis ?/gambas3-3.9.2/gb.image.io? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.image.io? wird verlassen Making install in gb.image.imlib make[1]: Verzeichnis ?/gambas3-3.9.2/gb.image.imlib? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.image.imlib? wird verlassen Making install in gb.dbus make[1]: Verzeichnis ?/gambas3-3.9.2/gb.dbus? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.dbus? wird verlassen Making install in gb.gsl make[1]: Verzeichnis ?/gambas3-3.9.2/gb.gsl? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.gsl? wird verlassen Making install in gb.gmp make[1]: Verzeichnis ?/gambas3-3.9.2/gb.gmp? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.gmp? wird verlassen Making install in gb.ncurses make[1]: Verzeichnis ?/gambas3-3.9.2/gb.ncurses? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.ncurses? wird verlassen Making install in gb.media make[1]: Verzeichnis ?/gambas3-3.9.2/gb.media? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.media? wird verlassen Making install in gb.jit make[1]: Verzeichnis ?/gambas3-3.9.2/gb.jit? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.jit? wird verlassen Making install in gb.httpd make[1]: Verzeichnis ?/gambas3-3.9.2/gb.httpd? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.httpd? wird verlassen Making install in gb.openssl make[1]: Verzeichnis ?/gambas3-3.9.2/gb.openssl? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.openssl? wird verlassen Making install in gb.openal make[1]: Verzeichnis ?/gambas3-3.9.2/gb.openal? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/gb.openal? wird verlassen Making install in comp make[1]: Verzeichnis ?/gambas3-3.9.2/comp? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/comp? wird verlassen Making install in app make[1]: Verzeichnis ?/gambas3-3.9.2/app? wird betreten make[1]: F?r das Ziel ?install? ist nichts zu tun. make[1]: Verzeichnis ?/gambas3-3.9.2/app? wird verlassen Making install in . make[1]: Verzeichnis ?/gambas3-3.9.2? wird betreten make[2]: Verzeichnis ?/gambas3-3.9.2? wird betreten make[2]: F?r das Ziel ?install-data-am? ist nichts zu tun. make[2]: Verzeichnis ?/gambas3-3.9.2? wird verlassen make[1]: Verzeichnis ?/gambas3-3.9.2? wird verlassen From karl.reinl at ...9... Sat Jan 7 21:06:38 2017 From: karl.reinl at ...9... (Karl Reinl) Date: Sat, 07 Jan 2017 21:06:38 +0100 Subject: [Gambas-user] CompileingGambas 3.9.2 on Windows10 Cygwin. In-Reply-To: References: <20170107142202.GA573@...3600...> Message-ID: <1483819598.4229.2.camel@...3609...> Am Samstag, den 07.01.2017, 18:57 +0100 schrieb jogeri63: > Hello, > > after install 'make utility' and running command './configure -C --disable-inotify --disable-v4l' > I still got message: 'configure: error: ./configure failed for main' > > see attachment 'output.txt' > > Regards, > Johann > Salut, did you run a './reconf-all' before the ./configure -C ? -- Amicalement Charlie From jogeri63 at ...20... Sat Jan 7 21:38:31 2017 From: jogeri63 at ...20... (jogeri63) Date: Sat, 7 Jan 2017 21:38:31 +0100 Subject: [Gambas-user] CompileingGambas 3.9.2 on Windows10 Cygwin. In-Reply-To: <1483819598.4229.2.camel@...3609...> References: <20170107142202.GA573@...3600...> <1483819598.4229.2.camel@...3609...> Message-ID: <7b54a735-1c2b-a862-26a3-5f47b28a3ef4@...20...> Hello, yed, I did run a './reconf-all' before the ./configure -C' see attachment . Regards, Johann Am 07.01.2017 um 21:06 schrieb Karl Reinl: > Am Samstag, den 07.01.2017, 18:57 +0100 schrieb jogeri63: >> Hello, >> >> after install 'make utility' and running command './configure -C --disable-inotify --disable-v4l' >> I still got message: 'configure: error: ./configure failed for main' >> >> see attachment 'output.txt' >> >> Regards, >> Johann >> > Salut, > > did you run a './reconf-all' before the ./configure -C ? > > -------------- next part -------------- $ ./reconf-all libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' libtoolize: Remember to add 'LT_INIT' to configure.ac. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf-2.69: Entering directory `.' autoreconf-2.69: configure.ac: not using Gettext autoreconf-2.69: running: aclocal autoreconf-2.69: configure.ac: tracing autoreconf-2.69: configure.ac: adding subdirectory main to autoreconf autoreconf-2.69: Entering directory `main' autoreconf-2.69: running: aclocal -I m4 --install autoreconf-2.69: running: libtoolize --copy autoreconf-2.69: running: /usr/bin/autoconf-2.69 autoreconf-2.69: configure.ac: not using Autoheader autoreconf-2.69: configure.ac: not using Automake autoreconf-2.69: Leaving directory `main' autoreconf-2.69: configure.ac: adding subdirectory gb.compress.bzlib2 to autoreconf autoreconf-2.69: Entering directory `gb.compress.bzlib2' autoreconf-2.69: Leaving directory `gb.compress.bzlib2' autoreconf-2.69: configure.ac: adding subdirectory gb.compress.zlib to autoreconf autoreconf-2.69: Entering directory `gb.compress.zlib' autoreconf-2.69: Leaving directory `gb.compress.zlib' autoreconf-2.69: configure.ac: adding subdirectory gb.db.mysql to autoreconf autoreconf-2.69: Entering directory `gb.db.mysql' autoreconf-2.69: Leaving directory `gb.db.mysql' autoreconf-2.69: configure.ac: adding subdirectory gb.db.odbc to autoreconf autoreconf-2.69: Entering directory `gb.db.odbc' autoreconf-2.69: Leaving directory `gb.db.odbc' autoreconf-2.69: configure.ac: adding subdirectory gb.db.postgresql to autoreconf autoreconf-2.69: Entering directory `gb.db.postgresql' autoreconf-2.69: Leaving directory `gb.db.postgresql' autoreconf-2.69: configure.ac: adding subdirectory gb.db.sqlite2 to autoreconf autoreconf-2.69: Entering directory `gb.db.sqlite2' autoreconf-2.69: Leaving directory `gb.db.sqlite2' autoreconf-2.69: configure.ac: adding subdirectory gb.db.sqlite3 to autoreconf autoreconf-2.69: Entering directory `gb.db.sqlite3' autoreconf-2.69: Leaving directory `gb.db.sqlite3' autoreconf-2.69: configure.ac: adding subdirectory gb.net to autoreconf autoreconf-2.69: Entering directory `gb.net' autoreconf-2.69: Leaving directory `gb.net' autoreconf-2.69: configure.ac: adding subdirectory gb.net.curl to autoreconf autoreconf-2.69: Entering directory `gb.net.curl' autoreconf-2.69: Leaving directory `gb.net.curl' autoreconf-2.69: configure.ac: adding subdirectory gb.mime to autoreconf autoreconf-2.69: Entering directory `gb.mime' autoreconf-2.69: Leaving directory `gb.mime' autoreconf-2.69: configure.ac: adding subdirectory gb.pcre to autoreconf autoreconf-2.69: Entering directory `gb.pcre' autoreconf-2.69: Leaving directory `gb.pcre' autoreconf-2.69: configure.ac: adding subdirectory gb.sdl to autoreconf autoreconf-2.69: Entering directory `gb.sdl' autoreconf-2.69: Leaving directory `gb.sdl' autoreconf-2.69: configure.ac: adding subdirectory gb.sdl.sound to autoreconf autoreconf-2.69: Entering directory `gb.sdl.sound' autoreconf-2.69: Leaving directory `gb.sdl.sound' autoreconf-2.69: configure.ac: adding subdirectory gb.sdl2 to autoreconf autoreconf-2.69: Entering directory `gb.sdl2' autoreconf-2.69: Leaving directory `gb.sdl2' autoreconf-2.69: configure.ac: adding subdirectory gb.libxml to autoreconf autoreconf-2.69: Entering directory `gb.libxml' autoreconf-2.69: Leaving directory `gb.libxml' autoreconf-2.69: configure.ac: adding subdirectory gb.xml to autoreconf autoreconf-2.69: Entering directory `gb.xml' autoreconf-2.69: Leaving directory `gb.xml' autoreconf-2.69: configure.ac: adding subdirectory gb.v4l to autoreconf autoreconf-2.69: Entering directory `gb.v4l' autoreconf-2.69: Leaving directory `gb.v4l' autoreconf-2.69: configure.ac: adding subdirectory gb.crypt to autoreconf autoreconf-2.69: Entering directory `gb.crypt' autoreconf-2.69: Leaving directory `gb.crypt' autoreconf-2.69: configure.ac: adding subdirectory gb.qt4 to autoreconf autoreconf-2.69: Entering directory `gb.qt4' autoreconf-2.69: Leaving directory `gb.qt4' autoreconf-2.69: configure.ac: adding subdirectory gb.qt5 to autoreconf autoreconf-2.69: Entering directory `gb.qt5' autoreconf-2.69: Leaving directory `gb.qt5' autoreconf-2.69: configure.ac: adding subdirectory gb.gtk to autoreconf autoreconf-2.69: Entering directory `gb.gtk' autoreconf-2.69: Leaving directory `gb.gtk' autoreconf-2.69: configure.ac: adding subdirectory gb.gtk3 to autoreconf autoreconf-2.69: Entering directory `gb.gtk3' autoreconf-2.69: Leaving directory `gb.gtk3' autoreconf-2.69: configure.ac: adding subdirectory gb.opengl to autoreconf autoreconf-2.69: Entering directory `gb.opengl' autoreconf-2.69: Leaving directory `gb.opengl' autoreconf-2.69: configure.ac: adding subdirectory gb.desktop.x11 to autoreconf autoreconf-2.69: Entering directory `gb.desktop.x11' autoreconf-2.69: Leaving directory `gb.desktop.x11' autoreconf-2.69: configure.ac: adding subdirectory gb.desktop.gnome.keyring to autoreconf autoreconf-2.69: Entering directory `gb.desktop.gnome.keyring' autoreconf-2.69: Leaving directory `gb.desktop.gnome.keyring' autoreconf-2.69: configure.ac: adding subdirectory gb.pdf to autoreconf autoreconf-2.69: Entering directory `gb.pdf' autoreconf-2.69: Leaving directory `gb.pdf' autoreconf-2.69: configure.ac: adding subdirectory gb.cairo to autoreconf autoreconf-2.69: Entering directory `gb.cairo' autoreconf-2.69: Leaving directory `gb.cairo' autoreconf-2.69: configure.ac: adding subdirectory gb.image.io to autoreconf autoreconf-2.69: Entering directory `gb.image.io' autoreconf-2.69: Leaving directory `gb.image.io' autoreconf-2.69: configure.ac: adding subdirectory gb.image.imlib to autoreconf autoreconf-2.69: Entering directory `gb.image.imlib' autoreconf-2.69: Leaving directory `gb.image.imlib' autoreconf-2.69: configure.ac: adding subdirectory gb.dbus to autoreconf autoreconf-2.69: Entering directory `gb.dbus' autoreconf-2.69: Leaving directory `gb.dbus' autoreconf-2.69: configure.ac: adding subdirectory gb.gsl to autoreconf autoreconf-2.69: Entering directory `gb.gsl' autoreconf-2.69: Leaving directory `gb.gsl' autoreconf-2.69: configure.ac: adding subdirectory gb.gmp to autoreconf autoreconf-2.69: Entering directory `gb.gmp' autoreconf-2.69: Leaving directory `gb.gmp' autoreconf-2.69: configure.ac: adding subdirectory gb.ncurses to autoreconf autoreconf-2.69: Entering directory `gb.ncurses' autoreconf-2.69: Leaving directory `gb.ncurses' autoreconf-2.69: configure.ac: adding subdirectory gb.media to autoreconf autoreconf-2.69: Entering directory `gb.media' autoreconf-2.69: Leaving directory `gb.media' autoreconf-2.69: configure.ac: adding subdirectory gb.jit to autoreconf autoreconf-2.69: Entering directory `gb.jit' autoreconf-2.69: Leaving directory `gb.jit' autoreconf-2.69: configure.ac: adding subdirectory gb.httpd to autoreconf autoreconf-2.69: Entering directory `gb.httpd' autoreconf-2.69: Leaving directory `gb.httpd' autoreconf-2.69: configure.ac: adding subdirectory gb.openssl to autoreconf autoreconf-2.69: Entering directory `gb.openssl' autoreconf-2.69: Leaving directory `gb.openssl' autoreconf-2.69: configure.ac: adding subdirectory gb.openal to autoreconf autoreconf-2.69: Entering directory `gb.openal' autoreconf-2.69: Leaving directory `gb.openal' autoreconf-2.69: configure.ac: adding subdirectory comp to autoreconf autoreconf-2.69: Entering directory `comp' autoreconf-2.69: configure.ac: not using Libtool autoreconf-2.69: Leaving directory `comp' autoreconf-2.69: configure.ac: adding subdirectory app to autoreconf autoreconf-2.69: Entering directory `app' autoreconf-2.69: Leaving directory `app' autoreconf-2.69: running: /usr/bin/autoheader-2.69 autoreconf-2.69: running: automake --add-missing --copy --no-force Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/bin/automake-1.15 line 3936. configure.ac:59: installing './missing' autoreconf-2.69: Leaving directory `.' From author.ilmi at ...626... Sat Jan 7 23:38:44 2017 From: author.ilmi at ...626... (zainudin ahmad) Date: Sun, 8 Jan 2017 05:38:44 +0700 Subject: [Gambas-user] Monitoring DBus-Signal ? In-Reply-To: <2a2f1df0-c86e-878b-1135-f657a7440a0f@...3219...> References: <66102679-aa05-530e-9d83-e2c509df1f02@...3219...> <2a2f1df0-c86e-878b-1135-f657a7440a0f@...3219...> Message-ID: I think this is a bug from DBusObserver class, (attach pic-1) On 11/21/16, Hans Lehmann wrote: > Am 19.11.2016 um 17:14 schrieb Hans Lehmann: >> I want to see the signal 'VolumeChanged' sent by the application >> 'org.gtk.Private.MTPVolumeMonitor' with the interface >> 'org.gtk.Private.RemoteVolumeMonitor'. The dbus-monitor program shows: >> >> signal sender=:1.10 -> dest=(null destination) serial=319 >> path=/org/gtk/Private/RemoteVolumeMonitor; >> interface=org.gtk.Private.RemoteVolumeMonitor; member=VolumeChanged >> >> I am not able to observe this DBus signal. The project is attached. >> The project follows the documentation under the link: >> http://gambaswiki.org/wiki/doc/dbus#t4 . > > Hello, > > this line in attached Project: > > $hDBusSignal = New DBusSignal(DBus.Session, > "org.gtk.Private.RemoteVolumeMonitor", True) As "MySignal" > > generated an error. > > Example: > > USB-Stick in: > Under Stack.Backstrace in line 19 (DBusSignal.DBusObserver_Message.19): > Error-Message: Typ mismatch: wanted String, got String[] instead > > USB-Stick out: > Under Stack.Backstrace in line 19 (DBusSignal.DBusObserver_Message.19): > Error-Message: Typ mismatch: wanted String, got Collection instead > > Regards, > Hans > -------------- next part -------------- A non-text attachment was scrubbed... Name: pic-1.png Type: image/png Size: 183807 bytes Desc: not available URL: From bugtracker at ...3416... Sun Jan 8 03:34:10 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 08 Jan 2017 02:34:10 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1064: Gtk menus are unreadable when form has dark background, light foreground Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1064&from=L21haW4- Tony MOREHEN reported a new bug. Summary ------- Gtk menus are unreadable when form has dark background, light foreground Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- For both Gtk2 and Gtk 3 components, QT components behave normally. Symptoms: Form has darkgray background and white foreground. In editor, menu bar has lightgrayish background, black foreground. Menu items are the same. When run, menu bar has black background and white foreground. Menu items are lightgrayish background, white foreground, hence unreadable System information ------------------ [System] Gambas=3.9.90 r8018 OperatingSystem=Linux Kernel=4.8.15-1-MANJARO Architecture=x86_64 Distribution=Manjaro Linux Desktop=XFCE Theme=Gtk Language=en_CA.utf8 Memory=3947M [Libraries] Cairo=libcairo.so.2.11400.8 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.9 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.1002.0 GTK+2=libgtk-x11-2.0.so.0.2400.31 GTK+3=libgtk-3.so.0.2200.5 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.66.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.7.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=xfce DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=xfce GLADE_CATALOG_PATH=: GLADE_MODULE_PATH=: GLADE_PIXMAP_PATH=: GTK2_RC_FILES=/.gtkrc-2.0 GTK_MODULES=canberra-gtk-module HOME= LANG=en_CA.utf8 LC_ADDRESS=en_CA.UTF-8 LC_IDENTIFICATION=en_CA.UTF-8 LC_MEASUREMENT=en_CA.UTF-8 LC_MONETARY=en_CA.UTF-8 LC_NAME=en_CA.UTF-8 LC_NUMERIC=en_CA.UTF-8 LC_PAPER=en_CA.UTF-8 LC_TELEPHONE=en_CA.UTF-8 LC_TIME=en_CA.UTF-8 LOGNAME= MAIL=/var/spool/mail/ MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl PWD= QT_QPA_PLATFORMTHEME=qt5ct SAL_USE_VCLPLUGIN=gtk SESSION_MANAGER=local/:@/tmp/.ICE-unix/9931,unix/:/tmp/.ICE-unix/9931 SHELL=/bin/bash SHLVL=2 SSH_AGENT_PID=9936 SSH_AUTH_SOCK=/tmp/ssh-bUdChQqs4Zo0/agent.9935 TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg XDG_CURRENT_DESKTOP=XFCE XDG_DATA_DIRS=/usr/local/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_DESKTOP=xfce XDG_SESSION_ID=c4 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 XDG_SESSION_TYPE=x11 XDG_VTNR=7 _=/usr/bin/gambas3 From bugtracker at ...3416... Sun Jan 8 03:34:31 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 08 Jan 2017 02:34:31 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1064: Gtk menus are unreadable when form has dark background, light foreground In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1064&from=L21haW4- Tony MOREHEN added an attachment: menu_colors-0.0.1.tar.gz From jogeri63 at ...20... Sun Jan 8 12:29:55 2017 From: jogeri63 at ...20... (jogeri63) Date: Sun, 8 Jan 2017 12:29:55 +0100 Subject: [Gambas-user] CompilingGambas 3.9.2 on Windows10 Cygwin. In-Reply-To: <7b54a735-1c2b-a862-26a3-5f47b28a3ef4@...20...> References: <20170107142202.GA573@...3600...> <1483819598.4229.2.camel@...3609...> <7b54a735-1c2b-a862-26a3-5f47b28a3ef4@...20...> Message-ID: problem solved, downloaded gambas3-3.9.2 again and extracted the '.tar.bz2' file as admin, compiling and installing works. Regards, Johann Am 07.01.2017 um 21:38 schrieb jogeri63: > Hello, > > yed, I did run a './reconf-all' before the ./configure -C' > > see attachment . > > Regards, > > Johann > > > Am 07.01.2017 um 21:06 schrieb Karl Reinl: >> Am Samstag, den 07.01.2017, 18:57 +0100 schrieb jogeri63: >>> Hello, >>> >>> after install 'make utility' and running command './configure -C >>> --disable-inotify --disable-v4l' >>> I still got message: 'configure: error: ./configure failed for main' >>> >>> see attachment 'output.txt' >>> >>> Regards, >>> Johann >>> >> Salut, >> >> did you run a './reconf-all' before the ./configure -C ? >> >> > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From nigelverity at ...67... Sun Jan 8 16:51:30 2017 From: nigelverity at ...67... (Nigel Verity) Date: Sun, 8 Jan 2017 15:51:30 +0000 Subject: [Gambas-user] Console Window Message-ID: Hi I have recently upgraded to 3.9.2 from the Linux Mint 17.3 repositories. Whenever I open an existing project, the console window "floats" (i.e not docked) above the rest of the IDE. Is there any way I can stop this from happening? Thanks Nige From charlie at ...2793... Sun Jan 8 15:33:31 2017 From: charlie at ...2793... (Charlie) Date: Sun, 8 Jan 2017 07:33:31 -0700 (MST) Subject: [Gambas-user] Console Window In-Reply-To: References: Message-ID: <1483886010998-58195.post@...3046...> *All I have to do is click the "Dock" button whose Tooltip says "Undock console" if it's docked or not.* -- View this message in context: http://gambas.8142.n7.nabble.com/Console-Window-tp58194p58195.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Sun Jan 8 21:39:12 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 8 Jan 2017 21:39:12 +0100 Subject: [Gambas-user] Console Window In-Reply-To: <1483886010998-58195.post@...3046...> References: <1483886010998-58195.post@...3046...> Message-ID: Le 08/01/2017 ? 15:33, Charlie a ?crit : > *All I have to do is click the "Dock" button whose Tooltip says "Undock > console" if it's docked or not.* > > Does anyone find the floating console useful? If not, I can remove the feature... -- Beno?t Minisini From gambas.fr at ...626... Sun Jan 8 21:52:30 2017 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 8 Jan 2017 21:52:30 +0100 Subject: [Gambas-user] Console Window In-Reply-To: References: <1483886010998-58195.post@...3046...> Message-ID: Me sometime to test some things ... but generally I use an external terminal 2017-01-08 21:39 GMT+01:00 Beno?t Minisini : > Le 08/01/2017 ? 15:33, Charlie a ?crit : >> *All I have to do is click the "Dock" button whose Tooltip says "Undock >> console" if it's docked or not.* >> >> > > Does anyone find the floating console useful? > > If not, I can remove the feature... > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From adamnt42 at ...626... Sun Jan 8 22:12:48 2017 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Mon, 9 Jan 2017 07:42:48 +1030 Subject: [Gambas-user] Console Window In-Reply-To: References: <1483886010998-58195.post@...3046...> Message-ID: <20170109074248.087f6898f921a8c295f5f3c4@...626...> On Sun, 8 Jan 2017 21:39:12 +0100 Beno?t Minisini wrote: > Le 08/01/2017 ? 15:33, Charlie a ?crit : > > *All I have to do is click the "Dock" button whose Tooltip says "Undock > > console" if it's docked or not.* > > > > > > Does anyone find the floating console useful? > > If not, I can remove the feature... > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user I do! Use it very frequently when debugging projects with lot's of stdout/stderr error messages. I definitely feel it should be kept. b -- B Bruen From bagonergi at ...626... Mon Jan 9 10:49:54 2017 From: bagonergi at ...626... (Gianluigi) Date: Mon, 9 Jan 2017 10:49:54 +0100 Subject: [Gambas-user] Console Window In-Reply-To: References: <1483886010998-58195.post@...3046...> Message-ID: Do not remove, thank you. Regards Gianluigi 2017-01-08 21:39 GMT+01:00 Beno?t Minisini : > Le 08/01/2017 ? 15:33, Charlie a ?crit : > > *All I have to do is click the "Dock" button whose Tooltip says "Undock > > console" if it's docked or not.* > > > > > > Does anyone find the floating console useful? > > If not, I can remove the feature... > > -- > Beno?t Minisini > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From ad_sicks at ...43... Mon Jan 9 14:35:46 2017 From: ad_sicks at ...43... (Jeff Zacher) Date: Mon, 9 Jan 2017 07:35:46 -0600 Subject: [Gambas-user] Open File for Watch Read Past EOF Message-ID: I am using Gambas 3.9.1 If I open a file for watch: hFile = Open "test" For Read Write Watch The _Read() event gets the first byte written to the file just fine. But after, no changes to the file fire the read event. So as a workaround, just close the file and reopen? On second read the _Read() event in fired immediately and continues to fire past the eof until the file is again closed. Code to reproduce. Form with two buttons: Gambas class file Private hFile As File Public Sub File_Read() Dim iByte As Byte If Not Eof(hfile) Then Read #hFile, iByte Print "Got one byte: "; iByte Else Print Time() End If End Public Sub Button1_Click() Close hFile End Public Sub Button2_Click() hFile = Open "test" For Read Watch End From bugtracker at ...3416... Mon Jan 9 15:18:58 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 09 Jan 2017 14:18:58 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1059: Compilation fails with Qt 5.7 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1059&from=L21haW4- Comment #6 by Eduardo SANCHEZ: Sorry. I expressed myself not very clearly. What I wanted to say is that as far as I can see gcc's version is not really an issue; the issue is that Qt 5.7 and higher reqires C++11 for building anything against it. Usually. one could ensure this by passing the flag "-std=c++11" to the compiler. I try to do this but somehow when building gb_qt5 this is ignored and compilation stops with an error no matter how hard I try to set CXXFLAGS="-std=c++11" or something similar. From bugtracker at ...3416... Mon Jan 9 15:47:17 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 09 Jan 2017 14:47:17 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1059: Compilation fails with Qt 5.7 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1059&from=L21haW4- Comment #7 by Beno?t MINISINI: Can you try revision #8049? From bugtracker at ...3416... Mon Jan 9 17:28:46 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 09 Jan 2017 16:28:46 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1063: Gambas3 httpd send own headers In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1063&from=L21haW4- Comment #3 by Micha? G?OWIENKA: I rewrote the code, now everything works, the server sends gb.httpd headers. Is it possible to use in any way the keep-alive? From bugtracker at ...3416... Mon Jan 9 17:31:06 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 09 Jan 2017 16:31:06 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1063: Gambas3 httpd send own headers In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1063&from=L21haW4- Comment #4 by Beno?t MINISINI: No. Use a full-featured web server for that! Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Mon Jan 9 21:28:35 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 09 Jan 2017 20:28:35 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1059: Compilation fails with Qt 5.7 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1059&from=L21haW4- Comment #8 by Eduardo SANCHEZ: Hi Beno?t, I tried to build revision #8049. On the good side, gb_qt5 begins to build smoothly and without problems. However, compilation fails on the webkit part of gb_qt5 with the same error message. Below is the output where the first error began to appear. Thanks again for all the help, Eduardo OUTPUT: CXXLD gb.qt5.la make[5]: Leaving directory '/run/media/eduardo/Seagate Backup Plus Drive/build/slackbuilds/gambas3/gambas-code-8049-gambas-trunk/gb.qt5/src' Making all in webkit make[5]: Entering directory '/run/media/eduardo/Seagate Backup Plus Drive/build/slackbuilds/gambas3/gambas-code-8049-gambas-trunk/gb.qt5/src/webkit' CXX gb_qt5_webkit_la-main.lo In file included from /usr/include/qt5/QtCore/qatomic.h:46:0, from /usr/include/qt5/QtCore/qglobal.h:1145, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/qdatetime.h:43, from /usr/include/qt5/QtCore/QDateTime:1, from main.cpp:31: /usr/include/qt5/QtCore/qbasicatomic.h:61:4: error: #error "Qt requires C++11 support" # error "Qt requires C++11 support" ^ From bugtracker at ...3416... Mon Jan 9 22:37:54 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 09 Jan 2017 21:37:54 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1059: Compilation fails with Qt 5.7 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1059&from=L21haW4- Comment #9 by Beno?t MINISINI: OK, I forgot the other qt5 components. It should work with revision #8050. From bagonergi at ...626... Tue Jan 10 12:04:40 2017 From: bagonergi at ...626... (Gianluigi) Date: Tue, 10 Jan 2017 12:04:40 +0100 Subject: [Gambas-user] Open File for Watch Read Past EOF In-Reply-To: References: Message-ID: Hello Jeff, Your mail is seen as spam, raise it with this answer. "Test" what kind of file it is? Regards Gianluigi 2017-01-09 14:35 GMT+01:00 Jeff Zacher : > I am using Gambas 3.9.1 > > If I open a file for watch: > > hFile = Open "test" For Read Write Watch > > The _Read() event gets the first byte written to the file just fine. But > after, no changes to the file fire the read event. So as a workaround, > just close the file and reopen? On second read the _Read() event in > fired immediately and continues to fire past the eof until the file is > again closed. > > Code to reproduce. Form with two buttons: > > > Gambas class file > > Private hFile As File > > Public Sub File_Read() > > Dim iByte As Byte > If Not Eof(hfile) Then > Read #hFile, iByte > Print "Got one byte: "; iByte > Else > Print Time() > End If > End > > Public Sub Button1_Click() > > Close hFile > > End > > Public Sub Button2_Click() > > hFile = Open "test" For Read Watch > > End > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Tue Jan 10 14:50:32 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 10 Jan 2017 13:50:32 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1044: Gambas should trow an error or at least a warning when loading corrupted images In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1044&from=L21haW4- Comment #5 by Antonio OREFICE: The example provided by Fabien does indeed reproduce the "bug", but i made another one, attached. I also noticed that with gb.gtk it does (prints "image is corrupted"), while gb.qt4 and gb.qt5 always print "Image is fine" Public Sub Form_Open() Dim hFile As File Dim mydata As Byte[] Dim sFileName As String = "/tmp/image.jpg" Dim img As New Image(640, 480, Color.black) 'make a black image Dim i As Long Dim bByte As Byte Dim bBytes As New Byte[] Dim iLen As Long img.Save(sFileName) 'save it to disk hFile = Open sFileName For Read iLen = Stat(sFileName).Size For i = 0 To iLen - 1 'read the image file in memory Read #hFile, bByte bBytes.Add(bByte) Next 'i hFile.Close() Kill sFileName 'delete the image file hFile = Open sFileName For Read Write Create For i = 0 To ((iLen - 1) Div 2) 'write it to disk again, but only the first half Write #hFile, bBytes[i] As Byte Next 'i hFile.Close() Try img = Image.Load(sFileName) 'try to load the corrupted image If Error Then Print "Image is corrupted" '<--- this is printed with gtk2 and gtk3 Else Print "Image is fine" '<--- this is printed with qt4 and qt5 Endif End From bugtracker at ...3416... Tue Jan 10 14:51:06 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 10 Jan 2017 13:51:06 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1044: Gambas should trow an error or at least a warning when loading corrupted images In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1044&from=L21haW4- Antonio OREFICE added an attachment: corruptimage-0.0.1.tar.gz From bugtracker at ...3416... Tue Jan 10 14:54:10 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 10 Jan 2017 13:54:10 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1044: Gambas should trow an error or at least a warning when loading corrupted images In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1044&from=L21haW4- Comment #6 by Antonio OREFICE: Ops, the previous attached project was using gtk, so it works, i've just attached one that does not because is using qt5. In the IDE console output, you'll see: Corrupt JPEG data: premature end of data segment Image is fine From bugtracker at ...3416... Tue Jan 10 14:54:16 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 10 Jan 2017 13:54:16 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1044: Gambas should trow an error or at least a warning when loading corrupted images In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1044&from=L21haW4- Antonio OREFICE added an attachment: corruptimage-qt-0.0.1.tar.gz From bugtracker at ...3416... Tue Jan 10 18:24:24 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 10 Jan 2017 17:24:24 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1065: Icon does not appear in tray Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1065&from=L21haW4- ABDUL ZAGIROV reported a new bug. Summary ------- Icon does not appear in tray Type : Bug Priority : Low Gambas version : Unknown Product : GUI components Description ----------- Hi, everyone! Not long ago I developed a sniffer of "rogue" dhcp servers using Gambas. Everything works like a charm except for TrayIcon component. I tried the following steps: 1. Selected necessary component in Projects > Properties > Components > gb.gui.trayicon 2. Moved a TrayIcon element to the main form 3. Set suitable image for Picture property 4. Set Visible property to true 5. Started application The application starts but there is no icon in tray. Tried both 3.8.4 and 3.9.2 versions of Gambas. No icon! Tried both 32 and 64 bit architectures. No icon! Tried by creating different types of projects: - Graphical application - GTK+2 application - GTK+3 application - QT application The same result: no icon! Tried both XUbuntu with XFCE and LUbuntu with LXDE. No icon! Tried on classic Ubuntu with Unity: icon appears in tray. Tried on Kubuntu with KDE: icon appears in tray. Also installed XUbuntu then removed XFCE and installed LXQT instead. Everything works. As I can understand the problem appears only when either LXDE or XFCE is useed as desktop environment. Best regards, Abdul Zagirov! System information ------------------ [System] Gambas=3.9.2 OperatingSystem=Linux Kernel=4.4.0-57-generic Architecture=x86_64 Distribution=Ubuntu 16.04.1 LTS Desktop=XFCE Theme=Gtk Language=ru_RU.UTF-8 Memory=1873M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-1.0.so.0.802.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CLUTTER_BACKEND=x11 CLUTTER_IM_MODULE=xim DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-PieI6BpzcU DEFAULTS_PATH=/usr/share/gconf/xubuntu.default.path DESKTOP_SESSION=xubuntu DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=xubuntu GDM_LANG=ru GLADE_CATALOG_PATH=: GLADE_MODULE_PATH=: GLADE_PIXMAP_PATH=: GNOME_KEYRING_CONTROL= GNOME_KEYRING_PID= GPG_AGENT_INFO=/.gnupg/S.gpg-agent:0:1 GTK_IM_MODULE=xim GTK_OVERLAY_SCROLLING=0 HOME= IM_CONFIG_PHASE=1 INSTANCE= JOB=dbus LANG=ru_RU.UTF-8 LANGUAGE=ru LOGNAME= MANDATORY_PATH=/usr/share/gconf/xubuntu.mandatory.path PATH=/bin:/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD= QT4_IM_MODULE=xim QT_ACCESSIBILITY=1 QT_IM_MODULE= QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_STYLE_OVERRIDE=gtk SESSION=xubuntu SESSIONTYPE= SESSION_MANAGER=local/:@/tmp/.ICE-unix/2468,unix/:/tmp/.ICE-unix/2468 SHELL=/bin/bash SHLVL=0 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime UPSTART_EVENTS=started xsession UPSTART_INSTANCE= UPSTART_JOB=startxfce4 UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/2172 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/:/var/lib/snapd/desktop:/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_DESKTOP=xubuntu XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 XMODIFIERS=@...3498...=none From bugtracker at ...3416... Tue Jan 10 21:40:53 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 10 Jan 2017 20:40:53 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1059: Compilation fails with Qt 5.7 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1059&from=L21haW4- Comment #10 by Eduardo SANCHEZ: Hi Beno?t, thank you! I downloaded revision #8051. gb_qt5_webkit builds correctly now but gb_qt5_ext_la still fails. OUTPUT from the first error: make[5]: Entering directory '/run/media/eduardo/Seagate Backup Plus Drive/build/slackbuilds/gambas3/gambas-code-8051-gambas-trunk/gb.qt5/src/ext' CXX gb_qt5_ext_la-main.lo In file included from /usr/include/qt5/QtCore/qatomic.h:46:0, from /usr/include/qt5/QtCore/qglobal.h:1145, from /usr/include/qt5/QtGui/qwindowdefs.h:43, from /usr/include/qt5/QtWidgets/qwidget.h:43, from /usr/include/qt5/QtWidgets/QWidget:1, from ../gb.qt.h:34, from main.h:28, from main.cpp:31: /usr/include/qt5/QtCore/qbasicatomic.h:61:4: error: #error "Qt requires C++11 support" # error "Qt requires C++11 support" ^ ==================== Thanks, Eduardo From jusabejusabe at ...626... Tue Jan 10 21:46:07 2017 From: jusabejusabe at ...626... (Julio Sanchez) Date: Tue, 10 Jan 2017 21:46:07 +0100 Subject: [Gambas-user] New Game: Gplanet Message-ID: Greetings to all I've made a little game called Gplanet, it's on the farm. I have also made several videos to explain how it is done: http://jsbsan.blogspot.com.es/2017/01/como-se-hizo-gplanet.html (in Spanish) Enjoy it Jsbsan From ad_sicks at ...43... Wed Jan 11 13:52:08 2017 From: ad_sicks at ...43... (Jeff Zacher) Date: Wed, 11 Jan 2017 06:52:08 -0600 Subject: [Gambas-user] Gambas-user Digest, Vol 128, Issue 13 In-Reply-To: References: Message-ID: > Your mail is seen as spam, raise it with this answer. > "Test" what kind of file it is? Just a test file and I 'echo "stuff" > test' or 'echo "Other stuff" >> test' from another shell. On 01/10/2017 02:46 PM, gambas-user-request at lists.sourceforge.net wrote: > Hello Jeff, > Your mail is seen as spam, raise it with this answer. > "Test" what kind of file it is? > > Regards > Gianluigi > > 2017-01-09 14:35 GMT+01:00 Jeff Zacher : > >> I am using Gambas 3.9.1 >> >> If I open a file for watch: >> >> hFile = Open "test" For Read Write Watch >> >> The _Read() event gets the first byte written to the file just fine. But >> after, no changes to the file fire the read event. So as a workaround, >> just close the file and reopen? On second read the _Read() event in >> fired immediately and continues to fire past the eof until the file is >> again closed. >> >> Code to reproduce. Form with two buttons: >> >> >> Gambas class file >> >> Private hFile As File >> >> Public Sub File_Read() >> >> Dim iByte As Byte >> If Not Eof(hfile) Then >> Read #hFile, iByte >> Print "Got one byte: "; iByte >> Else >> Print Time() >> End If >> End >> >> Public Sub Button1_Click() >> >> Close hFile >> >> End >> >> Public Sub Button2_Click() >> >> hFile = Open "test" For Read Watch >> >> End >> >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> From buster6seven at ...626... Thu Jan 12 08:36:09 2017 From: buster6seven at ...626... (Shane) Date: Thu, 12 Jan 2017 18:36:09 +1100 Subject: [Gambas-user] Key.Text Bug Message-ID: <3ad9df9c-512f-096f-81da-bbf263b668fb@...626...> Key.Text doesn't return anything in the following project [System] Gambas=3.9.90 OperatingSystem=Linux Kernel=4.4.0-45-generic Architecture=x86_64 Distribution=Linux Mint 17.2 Rafaela Desktop=MATE Theme=Gtk Language=en_AU.UTF-8 Memory=3805M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-oOwJAzQAYp,guid=a05b40a8accbbcef36b0c1e55876e68d DEFAULTS_PATH=/usr/share/gconf/mate.default.path DESKTOP_SESSION=mate DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=mate GDM_XSERVER_LOCATION=local GNOME_KEYRING_CONTROL=/run/user/1000/keyring-Pj6e7D GNOME_KEYRING_PID=1954 GPG_AGENT_INFO=/run/user/1000/keyring-Pj6e7D/gpg:0:1 HOME=/home/ KICAD_PATH=/usr/share/kicad KIGITHUB=https://github.com/KiCad LANG=en_AU.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path MATE_DESKTOP_SESSION_ID=this-is-deprecated MDMSESSION=mate MDM_LANG=en_AU.UTF-8 MDM_XSERVER_LOCATION=local PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD=/home/ SESSION_MANAGER=local/:@/tmp/.ICE-unix/1708,unix/:/tmp/.ICE-unix/1708 SHELL=/bin/bash SSH_AGENT_PID=1872 SSH_AUTH_SOCK=/run/user/1000/keyring-Pj6e7D/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=8 XAUTHORITY=/home//.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg XDG_CURRENT_DESKTOP=MATE XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=139d2632112d070b9e811bbc561842ce-1484187274.551916-539332171 XDG_SESSION_DESKTOP=mate XDG_SESSION_ID=c1 XDG_VTNR=8 -------------- next part -------------- A non-text attachment was scrubbed... Name: SdlKey-0.0.1.tar.gz Type: application/gzip Size: 11408 bytes Desc: not available URL: From sharon at ...3639... Thu Jan 12 10:07:07 2017 From: sharon at ...3639... (=?UTF-8?Q?=D7=9E=D7=99=D7=95=D7=A1=D7=98_=D7=A9=D7=A8=D7=95=D7?==?UTF-8?Q?=9F?=) Date: Thu, 12 Jan 2017 11:07:07 +0200 Subject: [Gambas-user] Get data from a column (not the head) of the control WebTable Message-ID: <20170112075014.M91357@...3639...> First of all sorry for my english I put on the Form the WebTable1 To set the top of the table as follows: Dim i As Integer WebTable1.Columns.Count = 2 For I = 0 To WebTable1.Columns.Count - 1 WebTable1.Columns [I] .Text = Chr $ (65 + I) Prev So far there are two columns of the table head of the first column I Text of "A1" and the second "A2" To add rows to the table as follows: WebTable1.Count = 2 And the event "Data" of WebTable1 that: Public Sub WebTable1_Data (Row As Integer, Column As Integer, Data As WebTableData) Data.Text = "This is the" & CStr (Row) & ":" & CStr (Column) & "cell" WebTable1.Rows [1] = 1 End If I want to know the value of the second column in the title table I do this: Print WebTable1.Columns [1] .Text My question is how I can get the value of each column which is the second or third line, etc. From gambas at ...1... Thu Jan 12 13:49:06 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 12 Jan 2017 13:49:06 +0100 Subject: [Gambas-user] Get data from a column (not the head) of the control WebTable In-Reply-To: <20170112075014.M91357@...3639...> References: <20170112075014.M91357@...3639...> Message-ID: <93320f38-bce8-7c69-8eca-e4fb3ffdd5b4@...1...> Le 12/01/2017 ? 10:07, ????? ???? a ?crit : > First of all sorry for my english > > > I put on the Form the WebTable1 > > To set the top of the table as follows: > > Dim i As Integer > > WebTable1.Columns.Count = 2 > For I = 0 To WebTable1.Columns.Count - 1 > WebTable1.Columns [I] .Text = Chr $ (65 + I) > Prev > > So far there are two columns of the table head of the first column I Text of "A1" and > the second "A2" > > To add rows to the table as follows: > > WebTable1.Count = 2 > > And the event "Data" of WebTable1 that: > > Public Sub WebTable1_Data (Row As Integer, Column As Integer, Data As WebTableData) > > Data.Text = "This is the" & CStr (Row) & ":" & CStr (Column) & "cell" > WebTable1.Rows [1] = 1 ---> What is that supposed to mean? > End > > If I want to know the value of the second column in the title table I do this: > > Print WebTable1.Columns [1] .Text > > My question is how I can get the value of each column which is the second or third line, > etc. > I don't understand your question. I just can tell you that WebTable does not store the content of the table. It is up to your code to do that. WebTable just asks you for the data through its "Data" event. Regards, -- Beno?t Minisini From gambas at ...1... Thu Jan 12 13:56:00 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 12 Jan 2017 13:56:00 +0100 Subject: [Gambas-user] Key.Text Bug In-Reply-To: <3ad9df9c-512f-096f-81da-bbf263b668fb@...626...> References: <3ad9df9c-512f-096f-81da-bbf263b668fb@...626...> Message-ID: <0068d70b-07a9-96f3-3e11-939a2c297fc5@...1...> Le 12/01/2017 ? 08:36, Shane a ?crit : > Key.Text doesn't return anything in the following project > Key.Text is only available during the "Text" event. "KeyPress" is only for getting the Key.Code. Regards, -- Beno?t Minisini From bagonergi at ...626... Thu Jan 12 16:56:40 2017 From: bagonergi at ...626... (Gianluigi) Date: Thu, 12 Jan 2017 16:56:40 +0100 Subject: [Gambas-user] MenuButton question Message-ID: I set to Enabled = False both the SaveButton that the SaveMenu, but if I click on the File button (showing the menu) and I move on the Save button I can work in MenuSave. To get the save menu to false I must to set to false each item. Is it correct or is it a bug? Example attached Regards Gianluigi [System] Gambas=3.9.90 r8051 OperatingSystem=Linux Kernel=4.4.0-59-generic Architecture=x86_64 Distribution=Ubuntu 16.04.1 LTS Desktop=UNITY Theme=Cleanlooks Language=it_IT.UTF-8 Memory=15975M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-1.0.so.0.802.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.0.0 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CLUTTER_IM_MODULE=xim COMPIZ_BIN_PATH=/usr/bin/ COMPIZ_CONFIG_PROFILE=ubuntu DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-7cFT32ny4w DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path DESKTOP_SESSION=ubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=ubuntu GDM_LANG=it GIO_LAUNCHED_DESKTOP_FILE=/home//.local/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=7662 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL= GNOME_KEYRING_PID= GPG_AGENT_INFO=/home//.gnupg/S.gpg-agent:0:1 GTK2_MODULES=overlay-scrollbar GTK_IM_MODULE=ibus GTK_MODULES=gail:atk-bridge:unity-gtk-module HOME=/home/ IM_CONFIG_PHASE=1 INSTANCE= JOB=unity-settings-daemon LANG=it_IT.UTF-8 LANGUAGE=it LOGNAME= MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path PATH=/home//bin:/home//.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD=/home/ QT4_IM_MODULE=xim QT_ACCESSIBILITY=1 QT_IM_MODULE=ibus QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_QPA_PLATFORMTHEME=appmenu-qt5 SESSION=ubuntu SESSIONTYPE=gnome-session SESSION_MANAGER=local/:@/tmp/.ICE-unix/1626,unix/:/tmp/.ICE-unix/1626 SHELL=/bin/bash SHLVL=0 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime UPSTART_EVENTS=xsession started UPSTART_INSTANCE= UPSTART_JOB=unity7 UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1408 USER= XAUTHORITY=/home//.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg XDG_CURRENT_DESKTOP=Unity XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=gnome- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=ubuntu XDG_SESSION_ID=c1 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 XMODIFIERS=@im=ibus -------------- next part -------------- A non-text attachment was scrubbed... Name: MenuButtonTest-0.0.1.tar.gz Type: application/x-gzip Size: 11710 bytes Desc: not available URL: From sharon at ...3639... Thu Jan 12 20:57:55 2017 From: sharon at ...3639... (=?UTF-8?Q?=D7=9E=D7=99=D7=95=D7=A1=D7=98_=D7=A9=D7=A8=D7=95=D7?==?UTF-8?Q?=9F?=) Date: Thu, 12 Jan 2017 21:57:55 +0200 Subject: [Gambas-user] Get data from a column (not the head) of the control WebTable Message-ID: <20170112143711.M67151@...3639...> This line: WebTable1.Rows [1] = 1 I have written accidentally I know, To insert a data table By event "Data" But my question When the table has 3 rows and each row has two columns I want to get to the "Text" there is a row 3 column 2 I do not see such a possibility From bagonergi at ...626... Thu Jan 12 23:52:17 2017 From: bagonergi at ...626... (Gianluigi) Date: Thu, 12 Jan 2017 23:52:17 +0100 Subject: [Gambas-user] MenuButton question In-Reply-To: References: Message-ID: image attached 2017-01-12 16:56 GMT+01:00 Gianluigi : > I set to Enabled = False both the SaveButton that the SaveMenu, but if I > click on the File button (showing the menu) and I move on the Save button I > can work in MenuSave. > To get the save menu to false I must to set to false each item. > Is it correct or is it a bug? > > Example attached > > Regards > Gianluigi > > [System] > Gambas=3.9.90 r8051 > OperatingSystem=Linux > Kernel=4.4.0-59-generic > Architecture=x86_64 > Distribution=Ubuntu 16.04.1 LTS > Desktop=UNITY > Theme=Cleanlooks > Language=it_IT.UTF-8 > Memory=15975M > > [Libraries] > Cairo=libcairo.so.2.11400.6 > Curl=libcurl.so.4.4.0 > DBus=libdbus-1.so.3.14.6 > GStreamer=libgstreamer-1.0.so.0.802.0 > GTK+2=libgtk-x11-2.0.so.0.2400.30 > GTK+3=libgtk-3.so.0.1800.9 > OpenGL=libGL.so.1.0.0 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.58.0.0 > QT4=libQtCore.so.4.8.7 > QT5=libQt5Core.so.5.5.1 > SDL=libSDL-1.2.so.0.11.4 > SQLite=libsqlite3.so.0.8.6 > > [Environment] > CLUTTER_IM_MODULE=xim > COMPIZ_BIN_PATH=/usr/bin/ > COMPIZ_CONFIG_PROFILE=ubuntu > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-7cFT32ny4w > DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path > DESKTOP_SESSION=ubuntu > DISPLAY=:0 > GB_GUI=gb.qt4 > GDMSESSION=ubuntu > GDM_LANG=it > GIO_LAUNCHED_DESKTOP_FILE=/home//.local/share/ > applications/gambas3.desktop > GIO_LAUNCHED_DESKTOP_FILE_PID=7662 > GNOME_DESKTOP_SESSION_ID=this-is-deprecated > GNOME_KEYRING_CONTROL= > GNOME_KEYRING_PID= > GPG_AGENT_INFO=/home//.gnupg/S.gpg-agent:0:1 > GTK2_MODULES=overlay-scrollbar > GTK_IM_MODULE=ibus > GTK_MODULES=gail:atk-bridge:unity-gtk-module > HOME=/home/ > IM_CONFIG_PHASE=1 > INSTANCE= > JOB=unity-settings-daemon > LANG=it_IT.UTF-8 > LANGUAGE=it > LOGNAME= > MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path > PATH=/home//bin:/home//.local/bin:/ > usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin: > /usr/games:/usr/local/games:/snap/bin > PWD=/home/ > QT4_IM_MODULE=xim > QT_ACCESSIBILITY=1 > QT_IM_MODULE=ibus > QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 > QT_QPA_PLATFORMTHEME=appmenu-qt5 > SESSION=ubuntu > SESSIONTYPE=gnome-session > SESSION_MANAGER=local/:@/tmp/.ICE-unix/ > 1626,unix/:/tmp/.ICE-unix/1626 > SHELL=/bin/bash > SHLVL=0 > SSH_AUTH_SOCK=/run/user/1000/keyring/ssh > TZ=:/etc/localtime > UPSTART_EVENTS=xsession started > UPSTART_INSTANCE= > UPSTART_JOB=unity7 > UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1408 > USER= > XAUTHORITY=/home//.Xauthority > XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg > XDG_CURRENT_DESKTOP=Unity > XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/ > local/share/:/usr/share/:/var/lib/snapd/desktop > XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ > XDG_MENU_PREFIX=gnome- > XDG_RUNTIME_DIR=/run/user/1000 > XDG_SEAT=seat0 > XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 > XDG_SESSION_DESKTOP=ubuntu > XDG_SESSION_ID=c1 > XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 > XDG_SESSION_TYPE=x11 > XDG_VTNR=7 > XMODIFIERS=@im=ibus > -------------- next part -------------- A non-text attachment was scrubbed... Name: MenuButton.png Type: image/png Size: 47968 bytes Desc: not available URL: From buster6seven at ...626... Fri Jan 13 00:24:20 2017 From: buster6seven at ...626... (Shane) Date: Fri, 13 Jan 2017 10:24:20 +1100 Subject: [Gambas-user] Key.Text Bug In-Reply-To: <0068d70b-07a9-96f3-3e11-939a2c297fc5@...1...> References: <3ad9df9c-512f-096f-81da-bbf263b668fb@...626...> <0068d70b-07a9-96f3-3e11-939a2c297fc5@...1...> Message-ID: <05be2267-232d-f6f2-6653-2e96b319a656@...626...> Ok thanks Beno?t On 12/01/17 23:56, Beno?t Minisini wrote: > Le 12/01/2017 ? 08:36, Shane a ?crit : >> Key.Text doesn't return anything in the following project >> > Key.Text is only available during the "Text" event. "KeyPress" is only > for getting the Key.Code. > > Regards, > From buster6seven at ...626... Fri Jan 13 00:39:32 2017 From: buster6seven at ...626... (Shane) Date: Fri, 13 Jan 2017 10:39:32 +1100 Subject: [Gambas-user] Sdl Grabbed Message-ID: <3d628055-80d9-21a6-7c8e-150e94f64300@...626...> Hi Benoit could you please add the Window.Grabbed function to the sdl2 component like we had with Sdl1 From casper.labuschagne at ...626... Fri Jan 13 11:58:23 2017 From: casper.labuschagne at ...626... (Casper) Date: Fri, 13 Jan 2017 12:58:23 +0200 Subject: [Gambas-user] Get data from a column (not the head) of the control WebTable In-Reply-To: <20170112143711.M67151@...3639...> References: <20170112143711.M67151@...3639...> Message-ID: Hi, On 12/01/2017, ????? ???? wrote: > But my question > When the table has 3 rows and each row has two columns > > I want to get to the "Text" there is a row 3 column 2 > > I do not see such a possibility I struggled with something similar recently. I think I know what you mean and if I'm right you may have to adapt this code to fit your needs. This might, or might not, be what you are looking for. Dim iMaxRows As Integer iMaxRows = ColumnView1.Count ' populate variables from columnview ColumnView1.MoveFirst For iCount = 0 To iMaxRows - 1 myVarA = ColumnView1.Item[1] myVarB = ColumnView1.Item[2] ' do whatever else next From casper.labuschagne at ...626... Fri Jan 13 12:07:36 2017 From: casper.labuschagne at ...626... (Casper) Date: Fri, 13 Jan 2017 13:07:36 +0200 Subject: [Gambas-user] Question: Gambas IDE editor - command to collapse all procedures? Message-ID: Is there a shortcut or single command to collapse (fold) all procedures (functions) in the active code window in the Gambas 3.92 IDE editor? From gambas.fr at ...626... Fri Jan 13 12:46:23 2017 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 13 Jan 2017 12:46:23 +0100 Subject: [Gambas-user] Get data from a column (not the head) of the control WebTable In-Reply-To: References: <20170112143711.M67151@...3639...> Message-ID: There is a major difference between columnview and webtable one store data's the other not So to get the data of the line 3 Myarray[webtable.row] Le 13 janv. 2017 11:59, "Casper" a ?crit : > Hi, > > On 12/01/2017, ????? ???? wrote: > > > But my question > > When the table has 3 rows and each row has two columns > > > > I want to get to the "Text" there is a row 3 column 2 > > > > I do not see such a possibility > > I struggled with something similar recently. I think I know what you > mean and if I'm right you may have to adapt this code to fit your > needs. This might, or might not, be what you are looking for. > > Dim iMaxRows As Integer > > iMaxRows = ColumnView1.Count > > ' populate variables from columnview > ColumnView1.MoveFirst > For iCount = 0 To iMaxRows - 1 > myVarA = ColumnView1.Item[1] > myVarB = ColumnView1.Item[2] > ' do whatever else > next > > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today. http://sdm.link/xeonphi > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Fri Jan 13 16:49:39 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 13 Jan 2017 15:49:39 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1066: Interpreter crash on removing database index Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1066&from=L21haW4- Safiur RAHMAN reported a new bug. Summary ------- Interpreter crash on removing database index Type : Bug Priority : High Gambas version : 3.9 Product : Database component Description ----------- On deleting index as Dim hTable As Table For Each hTable In $myConn.Tables If hTable.Name = TableName Then hTable.Indexes.Remove(IndexName) Break Endif Next produces interpreter crash. This problem was in previous version of gambas 3.9 and current 3.9.2 System information ------------------ [System] Gambas=3.9.2 OperatingSystem=Linux Kernel=4.4.0-31-generic Architecture=x86_64 Distribution=Ubuntu 14.04.5 LTS Desktop=UNITY Theme=Gtk Language=en_US.UTF-8 Memory=3884M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CLUTTER_IM_MODULE=xim COMPIZ_BIN_PATH=/usr/bin/ COMPIZ_CONFIG_PROFILE=ubuntu DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-RsTNW7M1dc DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path DESKTOP_SESSION=ubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=ubuntu GDM_LANG=en_US GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=4867 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL=/run/user/1000/keyring-9n3Nib GNOME_KEYRING_PID=2188 GPG_AGENT_INFO=/run/user/1000/keyring-9n3Nib/gpg:0:1 GTK_IM_MODULE=ibus GTK_MODULES=overlay-scrollbar:unity-gtk-module HOME= IM_CONFIG_PHASE=1 INSTANCE= JOB=dbus LANG=en_US.UTF-8 LANGUAGE=en_US LC_ADDRESS=ne_NP LC_IDENTIFICATION=ne_NP LC_MEASUREMENT=ne_NP LC_MONETARY=ne_NP LC_NAME=ne_NP LC_NUMERIC=ne_NP LC_PAPER=ne_NP LC_TELEPHONE=ne_NP LC_TIME=ne_NP LOGNAME= MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT4_IM_MODULE=xim QT_IM_MODULE=ibus QT_QPA_PLATFORMTHEME=appmenu-qt5 SELINUX_INIT=YES SESSION=ubuntu SESSIONTYPE=gnome-session SESSION_MANAGER=local/:@/tmp/.ICE-unix/2404,unix/:/tmp/.ICE-unix/2404 SHELL=/bin/bash SHLVL=0 SSH_AUTH_SOCK=/run/user/1000/keyring-9n3Nib/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/2191 USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg XDG_CURRENT_DESKTOP=Unity XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/ XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=gnome- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_VTNR=7 XMODIFIERS=@...3498...=ibus From bugtracker at ...3416... Fri Jan 13 18:15:29 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 13 Jan 2017 17:15:29 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1067: gb.form MenuButton Menu.Enabled behavior Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1067&from=L21haW4- Gianluigi GRADASCHI reported a new bug. Summary ------- gb.form MenuButton Menu.Enabled behavior Type : Bug Priority : Medium Gambas version : 3.9.90 (TRUNK) Product : Unknown Description ----------- I refer to the example which I am attaching: I have two MenuButton (FileButton and SaveButton), I set to Enabled = False both the SaveButton that the SaveMenu, but if I click on the File button (showing the menu) and I move on the Save button I can work in MenuSave. System information ------------------ [System] Gambas=3.9.90 r8051 OperatingSystem=Linux Kernel=4.4.0-59-generic Architecture=x86_64 Distribution=Ubuntu 16.04.1 LTS Desktop=UNITY Theme=Cleanlooks Language=it_IT.UTF-8 Memory=15975M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-1.0.so.0.802.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.0.0 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CLUTTER_IM_MODULE=xim COMPIZ_BIN_PATH=/usr/bin/ COMPIZ_CONFIG_PROFILE=ubuntu DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-7cFT32ny4w DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path DESKTOP_SESSION=ubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=ubuntu GDM_LANG=it GIO_LAUNCHED_DESKTOP_FILE=/home//.local/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=7662 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL= GNOME_KEYRING_PID= GPG_AGENT_INFO=/home//.gnupg/S.gpg-agent:0:1 GTK2_MODULES=overlay-scrollbar GTK_IM_MODULE=ibus GTK_MODULES=gail:atk-bridge:unity-gtk-module HOME=/home/ IM_CONFIG_PHASE=1 INSTANCE= JOB=unity-settings-daemon LANG=it_IT.UTF-8 LANGUAGE=it LOGNAME= MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path PATH=/home//bin:/home//.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD=/home/ QT4_IM_MODULE=xim QT_ACCESSIBILITY=1 QT_IM_MODULE=ibus QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_QPA_PLATFORMTHEME=appmenu-qt5 SESSION=ubuntu SESSIONTYPE=gnome-session SESSION_MANAGER=local/:@/tmp/.ICE-unix/1626,unix/:/tmp/.ICE-unix/1626 SHELL=/bin/bash SHLVL=0 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime UPSTART_EVENTS=xsession started UPSTART_INSTANCE= UPSTART_JOB=unity7 UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1408 USER= XAUTHORITY=/home//.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg XDG_CURRENT_DESKTOP=Unity XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=gnome- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=ubuntu XDG_SESSION_ID=c1 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 XMODIFIERS=@...3498...=ibus From bugtracker at ...3416... Fri Jan 13 18:15:53 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 13 Jan 2017 17:15:53 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1067: gb.form MenuButton Menu.Enabled behavior In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1067&from=L21haW4- Gianluigi GRADASCHI added an attachment: MenuButtonTest-0.0.1.tar.gz From bugtracker at ...3416... Fri Jan 13 18:16:40 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 13 Jan 2017 17:16:40 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1067: gb.form MenuButton Menu.Enabled behavior In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1067&from=L21haW4- Gianluigi GRADASCHI added an attachment: MenuButton.png From bugtracker at ...3416... Sat Jan 14 19:39:49 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 14 Jan 2017 18:39:49 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1068: CDate: strange behavior on first day of year Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1068&from=L21haW4- Gianluigi GRADASCHI reported a new bug. Summary ------- CDate: strange behavior on first day of year Type : Bug Priority : Medium Gambas version : 3.9.90 (TRUNK) Product : Unknown Description ----------- I know that CDate is changed with rev. 9383, but this is not normal. '_____________________________________ Public Sub Main() Print CDate("1/1/2017") ' > 31/12/2016 23:00:00 End '_____________________________________ Regards Gianluigi System information ------------------ [System] Gambas=3.9.90 r8051 OperatingSystem=Linux Kernel=4.4.0-59-generic Architecture=x86_64 Distribution=Ubuntu 16.04.1 LTS Desktop=UNITY Theme=Cleanlooks Language=it_IT.UTF-8 Memory=15975M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-1.0.so.0.802.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.0.0 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CLUTTER_IM_MODULE=xim COMPIZ_BIN_PATH=/usr/bin/ COMPIZ_CONFIG_PROFILE=ubuntu DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-FeIY7qF3RN DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path DESKTOP_SESSION=ubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=ubuntu GDM_LANG=it GIO_LAUNCHED_DESKTOP_FILE=/home//.local/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=13082 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL= GNOME_KEYRING_PID= GPG_AGENT_INFO=/home//.gnupg/S.gpg-agent:0:1 GTK2_MODULES=overlay-scrollbar GTK_IM_MODULE=ibus GTK_MODULES=gail:atk-bridge:unity-gtk-module HOME=/home/ IM_CONFIG_PHASE=1 INSTANCE= JOB=unity-settings-daemon LANG=it_IT.UTF-8 LANGUAGE=it LOGNAME= MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path PATH=/home//bin:/home//.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD=/home/ QT4_IM_MODULE=xim QT_ACCESSIBILITY=1 QT_IM_MODULE=ibus QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_QPA_PLATFORMTHEME=appmenu-qt5 SESSION=ubuntu SESSIONTYPE=gnome-session SESSION_MANAGER=local/:@/tmp/.ICE-unix/1508,unix/:/tmp/.ICE-unix/1508 SHELL=/bin/bash SHLVL=0 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime UPSTART_EVENTS=xsession started UPSTART_INSTANCE= UPSTART_JOB=unity7 UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1290 USER= XAUTHORITY=/home//.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg XDG_CURRENT_DESKTOP=Unity XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=gnome- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=ubuntu XDG_SESSION_ID=c1 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 XMODIFIERS=@...3498...=ibus From bugtracker at ...3416... Sat Jan 14 19:42:43 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 14 Jan 2017 18:42:43 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1068: CDate: strange behavior on first day of year In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1068&from=L21haW4- Gianluigi GRADASCHI added an attachment: CDateTest-0.0.1.tar.gz From jussi.lahtinen at ...626... Sat Jan 14 20:13:15 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 14 Jan 2017 21:13:15 +0200 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1068: CDate: strange behavior on first day of year In-Reply-To: <587a715a.2f3fed0a.d647.15cbSMTPIN_ADDED_BROKEN@...2392...> References: <587a715a.2f3fed0a.d647.15cbSMTPIN_ADDED_BROKEN@...2392...> Message-ID: It's because of timezone conversion. Not a bug. Jussi On Sat, Jan 14, 2017 at 8:42 PM, wrote: > http://gambaswiki.org/bugtracker/edit?object=BUG.1068&from=L21haW4- > > Gianluigi GRADASCHI added an attachment: > > CDateTest-0.0.1.tar.gz > > > > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today. http://sdm.link/xeonphi > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bagonergi at ...626... Sat Jan 14 20:28:46 2017 From: bagonergi at ...626... (Gianluigi) Date: Sat, 14 Jan 2017 20:28:46 +0100 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1068: CDate: strange behavior on first day of year In-Reply-To: References: <587a715a.2f3fed0a.d647.15cbSMTPIN_ADDED_BROKEN@...2392...> Message-ID: But in another computer with 3.9.2 the result is 01/01/2017 00:00:00 2017-01-14 20:13 GMT+01:00 Jussi Lahtinen : > It's because of timezone conversion. Not a bug. > > > Jussi > > On Sat, Jan 14, 2017 at 8:42 PM, wrote: > > > http://gambaswiki.org/bugtracker/edit?object=BUG.1068&from=L21haW4- > > > > Gianluigi GRADASCHI added an attachment: > > > > CDateTest-0.0.1.tar.gz > > > > > > > > ------------------------------------------------------------ > > ------------------ > > Developer Access Program for Intel Xeon Phi Processors > > Access to Intel Xeon Phi processor-based developer platforms. > > With one year of Intel Parallel Studio XE. > > Training and support from Colfax. > > Order your platform today. http://sdm.link/xeonphi > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today. http://sdm.link/xeonphi > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Sun Jan 15 00:24:04 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 15 Jan 2017 01:24:04 +0200 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1068: CDate: strange behavior on first day of year In-Reply-To: References: <587a715a.2f3fed0a.d647.15cbSMTPIN_ADDED_BROKEN@...2392...> Message-ID: With the exactly same program? Then maybe the computers have different localization settings. Try command "locale" on terminal to see if there are differences. Jussi On Sat, Jan 14, 2017 at 9:28 PM, Gianluigi wrote: > But in another computer with 3.9.2 the result is 01/01/2017 00:00:00 > > 2017-01-14 20:13 GMT+01:00 Jussi Lahtinen : > > > It's because of timezone conversion. Not a bug. > > > > > > Jussi > > > > On Sat, Jan 14, 2017 at 8:42 PM, wrote: > > > > > http://gambaswiki.org/bugtracker/edit?object=BUG.1068&from=L21haW4- > > > > > > Gianluigi GRADASCHI added an attachment: > > > > > > CDateTest-0.0.1.tar.gz > > > > > > > > > > > > ------------------------------------------------------------ > > > ------------------ > > > Developer Access Program for Intel Xeon Phi Processors > > > Access to Intel Xeon Phi processor-based developer platforms. > > > With one year of Intel Parallel Studio XE. > > > Training and support from Colfax. > > > Order your platform today. http://sdm.link/xeonphi > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------ > > ------------------ > > Developer Access Program for Intel Xeon Phi Processors > > Access to Intel Xeon Phi processor-based developer platforms. > > With one year of Intel Parallel Studio XE. > > Training and support from Colfax. > > Order your platform today. http://sdm.link/xeonphi > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today. http://sdm.link/xeonphi > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sun Jan 15 00:44:02 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 15 Jan 2017 00:44:02 +0100 Subject: [Gambas-user] Question: Gambas IDE editor - command to collapse all procedures? In-Reply-To: References: Message-ID: Le 13/01/2017 ? 12:07, Casper a ?crit : > Is there a shortcut or single command to collapse (fold) all > procedures (functions) in the active code window in the Gambas 3.92 > IDE editor? > CTRL + ALT + ENTER or Double-click on the minus sign. -- Beno?t Minisini From bagonergi at ...626... Sun Jan 15 14:52:16 2017 From: bagonergi at ...626... (Gianluigi) Date: Sun, 15 Jan 2017 14:52:16 +0100 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1068: CDate: strange behavior on first day of year In-Reply-To: References: <587a715a.2f3fed0a.d647.15cbSMTPIN_ADDED_BROKEN@...2392...> Message-ID: No Jussi seems all the same. My computer: LANG=it_IT.UTF-8 LANGUAGE=it LC_CTYPE="it_IT.UTF-8" LC_NUMERIC="it_IT.UTF-8" LC_TIME="it_IT.UTF-8" LC_COLLATE="it_IT.UTF-8" LC_MONETARY="it_IT.UTF-8" LC_MESSAGES="it_IT.UTF-8" LC_PAPER="it_IT.UTF-8" LC_NAME="it_IT.UTF-8" LC_ADDRESS="it_IT.UTF-8" LC_TELEPHONE="it_IT.UTF-8" LC_MEASUREMENT="it_IT.UTF-8" LC_IDENTIFICATION="it_IT.UTF-8" LC_ALL= Wife computer: LANG=it_IT.UTF-8 LANGUAGE=it LC_CTYPE="it_IT.UTF-8" LC_NUMERIC="it_IT.UTF-8" LC_TIME="it_IT.UTF-8" LC_COLLATE="it_IT.UTF-8" LC_MONETARY="it_IT.UTF-8" LC_MESSAGES="it_IT.UTF-8" LC_PAPER="it_IT.UTF-8" LC_NAME="it_IT.UTF-8" LC_ADDRESS="it_IT.UTF-8" LC_TELEPHONE="it_IT.UTF-8" LC_MEASUREMENT="it_IT.UTF-8" LC_IDENTIFICATION="it_IT.UTF-8" LC_ALL= [System] Gambas=3.9.2 OperatingSystem=Linux Kernel=4.4.0-59-generic Architecture=x86 Distribution=Ubuntu 16.04.1 LTS Desktop=XFCE Theme=Cleanlooks Language=it_IT.UTF-8 Memory=3018M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-1.0.so.0.802.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CLUTTER_BACKEND=x11 CLUTTER_IM_MODULE= DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-dw2oWgNV16 DEFAULTS_PATH=/usr/share/gconf/xubuntu.default.path DESKTOP_SESSION=xubuntu DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=xubuntu GDM_LANG=it GLADE_CATALOG_PATH=: GLADE_MODULE_PATH=: GLADE_PIXMAP_PATH=: GNOME_KEYRING_CONTROL= GNOME_KEYRING_PID= GPG_AGENT_INFO=/home//.gnupg/S.gpg-agent:0:1 GTK_IM_MODULE= GTK_OVERLAY_SCROLLING=0 HOME=/home/ IM_CONFIG_PHASE=1 INSTANCE= JOB=dbus LANG=it_IT.UTF-8 LANGUAGE=it LOGNAME= MANDATORY_PATH=/usr/share/gconf/xubuntu.mandatory.path PATH=/home//bin:/home//.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD=/home/ QT4_IM_MODULE= QT_ACCESSIBILITY=1 QT_IM_MODULE= QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_STYLE_OVERRIDE=gtk SESSION=xubuntu SESSIONTYPE= SESSION_MANAGER=local/:@/tmp/.ICE-unix/1203,unix/:/tmp/.ICE-unix/1203 SHELL=/bin/bash SHLVL=0 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime UPSTART_EVENTS=started xsession UPSTART_INSTANCE= UPSTART_JOB=startxfce4 UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1042 USER= XAUTHORITY=/home//.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/:/var/lib/snapd/desktop:/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_DESKTOP=xubuntu XDG_SESSION_ID=c1 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 XMODIFIERS= Regards Gianluigi 2017-01-15 0:24 GMT+01:00 Jussi Lahtinen : > With the exactly same program? Then maybe the computers have different > localization settings. Try command "locale" on terminal to see if there are > differences. > > > Jussi > > On Sat, Jan 14, 2017 at 9:28 PM, Gianluigi wrote: > > > But in another computer with 3.9.2 the result is 01/01/2017 00:00:00 > > > > 2017-01-14 20:13 GMT+01:00 Jussi Lahtinen : > > > > > It's because of timezone conversion. Not a bug. > > > > > > > > > Jussi > > > > > > On Sat, Jan 14, 2017 at 8:42 PM, wrote: > > > > > > > http://gambaswiki.org/bugtracker/edit?object=BUG.1068&from=L21haW4- > > > > > > > > Gianluigi GRADASCHI added an attachment: > > > > > > > > CDateTest-0.0.1.tar.gz > > > > > > > > > > > > > > > > ------------------------------------------------------------ > > > > ------------------ > > > > Developer Access Program for Intel Xeon Phi Processors > > > > Access to Intel Xeon Phi processor-based developer platforms. > > > > With one year of Intel Parallel Studio XE. > > > > Training and support from Colfax. > > > > Order your platform today. http://sdm.link/xeonphi > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > ------------------------------------------------------------ > > > ------------------ > > > Developer Access Program for Intel Xeon Phi Processors > > > Access to Intel Xeon Phi processor-based developer platforms. > > > With one year of Intel Parallel Studio XE. > > > Training and support from Colfax. > > > Order your platform today. http://sdm.link/xeonphi > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------ > > ------------------ > > Developer Access Program for Intel Xeon Phi Processors > > Access to Intel Xeon Phi processor-based developer platforms. > > With one year of Intel Parallel Studio XE. > > Training and support from Colfax. > > Order your platform today. http://sdm.link/xeonphi > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today. http://sdm.link/xeonphi > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Sun Jan 15 15:15:20 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 15 Jan 2017 14:15:20 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1069: Error by clicking on minus sign at the left of a routine Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1069&from=L21haW4- vuott VUOTT reported a new bug. Summary ------- Error by clicking on minus sign at the left of a routine Type : Bug Priority : Medium Gambas version : 3.9.90 (TRUNK) Product : Unknown Description ----------- By clicking on minus sign at the left of a routine, a waning windows appears with this notice: " This application has raised an unexpected error and must abort. [13] Null object. >>>>TextEditor.ToggleRow.4112 " System information ------------------ [System] Gambas=3.9.90 r8056 OperatingSystem=Linux Kernel=4.4.0-59-generic Architecture=x86_64 Distribution=Linux Mint 17.3 Rosa Desktop=CINNAMON Theme=Cleanlooks Language=it_IT.UTF-8 Memory=3952M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 From bagonergi at ...626... Sun Jan 15 15:41:40 2017 From: bagonergi at ...626... (Gianluigi) Date: Sun, 15 Jan 2017 15:41:40 +0100 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1068: CDate: strange behavior on first day of year In-Reply-To: References: <587a715a.2f3fed0a.d647.15cbSMTPIN_ADDED_BROKEN@...2392...> Message-ID: I forgotten: Yes with exactli same program: Public Sub Main() Print CDate("1/1/2017") End 2017-01-15 14:52 GMT+01:00 Gianluigi : > No Jussi seems all the same. > > My computer: > > LANG=it_IT.UTF-8 > LANGUAGE=it > LC_CTYPE="it_IT.UTF-8" > LC_NUMERIC="it_IT.UTF-8" > LC_TIME="it_IT.UTF-8" > LC_COLLATE="it_IT.UTF-8" > LC_MONETARY="it_IT.UTF-8" > LC_MESSAGES="it_IT.UTF-8" > LC_PAPER="it_IT.UTF-8" > LC_NAME="it_IT.UTF-8" > LC_ADDRESS="it_IT.UTF-8" > LC_TELEPHONE="it_IT.UTF-8" > LC_MEASUREMENT="it_IT.UTF-8" > LC_IDENTIFICATION="it_IT.UTF-8" > LC_ALL= > > > Wife computer: > > LANG=it_IT.UTF-8 > LANGUAGE=it > LC_CTYPE="it_IT.UTF-8" > LC_NUMERIC="it_IT.UTF-8" > LC_TIME="it_IT.UTF-8" > LC_COLLATE="it_IT.UTF-8" > LC_MONETARY="it_IT.UTF-8" > LC_MESSAGES="it_IT.UTF-8" > LC_PAPER="it_IT.UTF-8" > LC_NAME="it_IT.UTF-8" > LC_ADDRESS="it_IT.UTF-8" > LC_TELEPHONE="it_IT.UTF-8" > LC_MEASUREMENT="it_IT.UTF-8" > LC_IDENTIFICATION="it_IT.UTF-8" > LC_ALL= > > [System] > Gambas=3.9.2 > OperatingSystem=Linux > Kernel=4.4.0-59-generic > Architecture=x86 > Distribution=Ubuntu 16.04.1 LTS > Desktop=XFCE > Theme=Cleanlooks > Language=it_IT.UTF-8 > Memory=3018M > > [Libraries] > Cairo=libcairo.so.2.11400.6 > Curl=libcurl.so.4.4.0 > DBus=libdbus-1.so.3.14.6 > GStreamer=libgstreamer-1.0.so.0.802.0 > GTK+2=libgtk-x11-2.0.so.0.2400.30 > GTK+3=libgtk-3.so.0.1800.9 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.58.0.0 > QT4=libQtCore.so.4.8.7 > QT5=libQt5Core.so.5.5.1 > SDL=libSDL-1.2.so.0.11.4 > SQLite=libsqlite3.so.0.8.6 > > [Environment] > CLUTTER_BACKEND=x11 > CLUTTER_IM_MODULE= > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-dw2oWgNV16 > DEFAULTS_PATH=/usr/share/gconf/xubuntu.default.path > DESKTOP_SESSION=xubuntu > DISPLAY=:0.0 > GB_GUI=gb.qt4 > GDMSESSION=xubuntu > GDM_LANG=it > GLADE_CATALOG_PATH=: > GLADE_MODULE_PATH=: > GLADE_PIXMAP_PATH=: > GNOME_KEYRING_CONTROL= > GNOME_KEYRING_PID= > GPG_AGENT_INFO=/home//.gnupg/S.gpg-agent:0:1 > GTK_IM_MODULE= > GTK_OVERLAY_SCROLLING=0 > HOME=/home/ > IM_CONFIG_PHASE=1 > INSTANCE= > JOB=dbus > LANG=it_IT.UTF-8 > LANGUAGE=it > LOGNAME= > MANDATORY_PATH=/usr/share/gconf/xubuntu.mandatory.path > PATH=/home//bin:/home//.local/bin:/ > usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin: > /usr/games:/usr/local/games:/snap/bin > PWD=/home/ > QT4_IM_MODULE= > QT_ACCESSIBILITY=1 > QT_IM_MODULE= > QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 > QT_STYLE_OVERRIDE=gtk > SESSION=xubuntu > SESSIONTYPE= > SESSION_MANAGER=local/:@/tmp/.ICE-unix/ > 1203,unix/:/tmp/.ICE-unix/1203 > SHELL=/bin/bash > SHLVL=0 > SSH_AUTH_SOCK=/run/user/1000/keyring/ssh > TZ=:/etc/localtime > UPSTART_EVENTS=started xsession > UPSTART_INSTANCE= > UPSTART_JOB=startxfce4 > UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1042 > USER= > XAUTHORITY=/home//.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/:/var/lib/snapd/desktop:/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_DESKTOP=xubuntu > XDG_SESSION_ID=c1 > XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 > XDG_SESSION_TYPE=x11 > XDG_VTNR=7 > XMODIFIERS= > > > > Regards > > Gianluigi > > > 2017-01-15 0:24 GMT+01:00 Jussi Lahtinen : > >> With the exactly same program? Then maybe the computers have different >> localization settings. Try command "locale" on terminal to see if there >> are >> differences. >> >> >> Jussi >> >> On Sat, Jan 14, 2017 at 9:28 PM, Gianluigi wrote: >> >> > But in another computer with 3.9.2 the result is 01/01/2017 00:00:00 >> > >> > 2017-01-14 20:13 GMT+01:00 Jussi Lahtinen : >> > >> > > It's because of timezone conversion. Not a bug. >> > > >> > > >> > > Jussi >> > > >> > > On Sat, Jan 14, 2017 at 8:42 PM, wrote: >> > > >> > > > http://gambaswiki.org/bugtracker/edit?object=BUG.1068&from=L21haW4- >> > > > >> > > > Gianluigi GRADASCHI added an attachment: >> > > > >> > > > CDateTest-0.0.1.tar.gz >> > > > >> > > > >> > > > >> > > > ------------------------------------------------------------ >> > > > ------------------ >> > > > Developer Access Program for Intel Xeon Phi Processors >> > > > Access to Intel Xeon Phi processor-based developer platforms. >> > > > With one year of Intel Parallel Studio XE. >> > > > Training and support from Colfax. >> > > > Order your platform today. http://sdm.link/xeonphi >> > > > _______________________________________________ >> > > > Gambas-user mailing list >> > > > Gambas-user at lists.sourceforge.net >> > > > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > >> > > ------------------------------------------------------------ >> > > ------------------ >> > > Developer Access Program for Intel Xeon Phi Processors >> > > Access to Intel Xeon Phi processor-based developer platforms. >> > > With one year of Intel Parallel Studio XE. >> > > Training and support from Colfax. >> > > Order your platform today. http://sdm.link/xeonphi >> > > _______________________________________________ >> > > Gambas-user mailing list >> > > Gambas-user at lists.sourceforge.net >> > > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > >> > ------------------------------------------------------------ >> > ------------------ >> > Developer Access Program for Intel Xeon Phi Processors >> > Access to Intel Xeon Phi processor-based developer platforms. >> > With one year of Intel Parallel Studio XE. >> > Training and support from Colfax. >> > Order your platform today. http://sdm.link/xeonphi >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > >> ------------------------------------------------------------ >> ------------------ >> Developer Access Program for Intel Xeon Phi Processors >> Access to Intel Xeon Phi processor-based developer platforms. >> With one year of Intel Parallel Studio XE. >> Training and support from Colfax. >> Order your platform today. http://sdm.link/xeonphi >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From jussi.lahtinen at ...626... Sun Jan 15 16:41:30 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 15 Jan 2017 17:41:30 +0200 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1068: CDate: strange behavior on first day of year In-Reply-To: References: <587a715a.2f3fed0a.d647.15cbSMTPIN_ADDED_BROKEN@...2392...> Message-ID: Sorry, the date bug was fixed in revision 7983. So 3.9.2 still has the bug. If your string is in local time, then convert it to date using val(). CDate() assumes UTF and your timezone is UTF+1, thus you see the difference. Jussi On Sun, Jan 15, 2017 at 4:41 PM, Gianluigi wrote: > I forgotten: Yes with exactli same program: > > Public Sub Main() > > Print CDate("1/1/2017") > > End > > 2017-01-15 14:52 GMT+01:00 Gianluigi : > > > No Jussi seems all the same. > > > > My computer: > > > > LANG=it_IT.UTF-8 > > LANGUAGE=it > > LC_CTYPE="it_IT.UTF-8" > > LC_NUMERIC="it_IT.UTF-8" > > LC_TIME="it_IT.UTF-8" > > LC_COLLATE="it_IT.UTF-8" > > LC_MONETARY="it_IT.UTF-8" > > LC_MESSAGES="it_IT.UTF-8" > > LC_PAPER="it_IT.UTF-8" > > LC_NAME="it_IT.UTF-8" > > LC_ADDRESS="it_IT.UTF-8" > > LC_TELEPHONE="it_IT.UTF-8" > > LC_MEASUREMENT="it_IT.UTF-8" > > LC_IDENTIFICATION="it_IT.UTF-8" > > LC_ALL= > > > > > > Wife computer: > > > > LANG=it_IT.UTF-8 > > LANGUAGE=it > > LC_CTYPE="it_IT.UTF-8" > > LC_NUMERIC="it_IT.UTF-8" > > LC_TIME="it_IT.UTF-8" > > LC_COLLATE="it_IT.UTF-8" > > LC_MONETARY="it_IT.UTF-8" > > LC_MESSAGES="it_IT.UTF-8" > > LC_PAPER="it_IT.UTF-8" > > LC_NAME="it_IT.UTF-8" > > LC_ADDRESS="it_IT.UTF-8" > > LC_TELEPHONE="it_IT.UTF-8" > > LC_MEASUREMENT="it_IT.UTF-8" > > LC_IDENTIFICATION="it_IT.UTF-8" > > LC_ALL= > > > > [System] > > Gambas=3.9.2 > > OperatingSystem=Linux > > Kernel=4.4.0-59-generic > > Architecture=x86 > > Distribution=Ubuntu 16.04.1 LTS > > Desktop=XFCE > > Theme=Cleanlooks > > Language=it_IT.UTF-8 > > Memory=3018M > > > > [Libraries] > > Cairo=libcairo.so.2.11400.6 > > Curl=libcurl.so.4.4.0 > > DBus=libdbus-1.so.3.14.6 > > GStreamer=libgstreamer-1.0.so.0.802.0 > > GTK+2=libgtk-x11-2.0.so.0.2400.30 > > GTK+3=libgtk-3.so.0.1800.9 > > OpenGL=libGL.so.1.2.0 > > Poppler=libpoppler.so.58.0.0 > > QT4=libQtCore.so.4.8.7 > > QT5=libQt5Core.so.5.5.1 > > SDL=libSDL-1.2.so.0.11.4 > > SQLite=libsqlite3.so.0.8.6 > > > > [Environment] > > CLUTTER_BACKEND=x11 > > CLUTTER_IM_MODULE= > > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-dw2oWgNV16 > > DEFAULTS_PATH=/usr/share/gconf/xubuntu.default.path > > DESKTOP_SESSION=xubuntu > > DISPLAY=:0.0 > > GB_GUI=gb.qt4 > > GDMSESSION=xubuntu > > GDM_LANG=it > > GLADE_CATALOG_PATH=: > > GLADE_MODULE_PATH=: > > GLADE_PIXMAP_PATH=: > > GNOME_KEYRING_CONTROL= > > GNOME_KEYRING_PID= > > GPG_AGENT_INFO=/home//.gnupg/S.gpg-agent:0:1 > > GTK_IM_MODULE= > > GTK_OVERLAY_SCROLLING=0 > > HOME=/home/ > > IM_CONFIG_PHASE=1 > > INSTANCE= > > JOB=dbus > > LANG=it_IT.UTF-8 > > LANGUAGE=it > > LOGNAME= > > MANDATORY_PATH=/usr/share/gconf/xubuntu.mandatory.path > > PATH=/home//bin:/home//.local/bin:/ > > usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin: > > /usr/games:/usr/local/games:/snap/bin > > PWD=/home/ > > QT4_IM_MODULE= > > QT_ACCESSIBILITY=1 > > QT_IM_MODULE= > > QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 > > QT_STYLE_OVERRIDE=gtk > > SESSION=xubuntu > > SESSIONTYPE= > > SESSION_MANAGER=local/:@/tmp/.ICE-unix/ > > 1203,unix/:/tmp/.ICE-unix/1203 > > SHELL=/bin/bash > > SHLVL=0 > > SSH_AUTH_SOCK=/run/user/1000/keyring/ssh > > TZ=:/etc/localtime > > UPSTART_EVENTS=started xsession > > UPSTART_INSTANCE= > > UPSTART_JOB=startxfce4 > > UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1042 > > USER= > > XAUTHORITY=/home//.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/:/var/lib/snapd/desktop:/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_DESKTOP=xubuntu > > XDG_SESSION_ID=c1 > > XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 > > XDG_SESSION_TYPE=x11 > > XDG_VTNR=7 > > XMODIFIERS= > > > > > > > > Regards > > > > Gianluigi > > > > > > 2017-01-15 0:24 GMT+01:00 Jussi Lahtinen : > > > >> With the exactly same program? Then maybe the computers have different > >> localization settings. Try command "locale" on terminal to see if there > >> are > >> differences. > >> > >> > >> Jussi > >> > >> On Sat, Jan 14, 2017 at 9:28 PM, Gianluigi wrote: > >> > >> > But in another computer with 3.9.2 the result is 01/01/2017 00:00:00 > >> > > >> > 2017-01-14 20:13 GMT+01:00 Jussi Lahtinen : > >> > > >> > > It's because of timezone conversion. Not a bug. > >> > > > >> > > > >> > > Jussi > >> > > > >> > > On Sat, Jan 14, 2017 at 8:42 PM, wrote: > >> > > > >> > > > http://gambaswiki.org/bugtracker/edit?object=BUG. > 1068&from=L21haW4- > >> > > > > >> > > > Gianluigi GRADASCHI added an attachment: > >> > > > > >> > > > CDateTest-0.0.1.tar.gz > >> > > > > >> > > > > >> > > > > >> > > > ------------------------------------------------------------ > >> > > > ------------------ > >> > > > Developer Access Program for Intel Xeon Phi Processors > >> > > > Access to Intel Xeon Phi processor-based developer platforms. > >> > > > With one year of Intel Parallel Studio XE. > >> > > > Training and support from Colfax. > >> > > > Order your platform today. http://sdm.link/xeonphi > >> > > > _______________________________________________ > >> > > > Gambas-user mailing list > >> > > > Gambas-user at lists.sourceforge.net > >> > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > > >> > > ------------------------------------------------------------ > >> > > ------------------ > >> > > Developer Access Program for Intel Xeon Phi Processors > >> > > Access to Intel Xeon Phi processor-based developer platforms. > >> > > With one year of Intel Parallel Studio XE. > >> > > Training and support from Colfax. > >> > > Order your platform today. http://sdm.link/xeonphi > >> > > _______________________________________________ > >> > > Gambas-user mailing list > >> > > Gambas-user at lists.sourceforge.net > >> > > https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > >> > ------------------------------------------------------------ > >> > ------------------ > >> > Developer Access Program for Intel Xeon Phi Processors > >> > Access to Intel Xeon Phi processor-based developer platforms. > >> > With one year of Intel Parallel Studio XE. > >> > Training and support from Colfax. > >> > Order your platform today. http://sdm.link/xeonphi > >> > _______________________________________________ > >> > Gambas-user mailing list > >> > Gambas-user at lists.sourceforge.net > >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > >> ------------------------------------------------------------ > >> ------------------ > >> Developer Access Program for Intel Xeon Phi Processors > >> Access to Intel Xeon Phi processor-based developer platforms. > >> With one year of Intel Parallel Studio XE. > >> Training and support from Colfax. > >> Order your platform today. http://sdm.link/xeonphi > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > > > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today. http://sdm.link/xeonphi > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Sun Jan 15 16:58:21 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 15 Jan 2017 17:58:21 +0200 Subject: [Gambas-user] Beware to revision #7983! In-Reply-To: <98c3a06e-0140-72bd-1627-b33b8abbdfc0@...1...> References: <5a2ee014-af7b-8381-b8be-428403eacb0b@...1...> <1482189237.6546.19.camel@...3609...> <8d9eed5e-6f55-c220-0520-de5186423cd3@...1...> <98c3a06e-0140-72bd-1627-b33b8abbdfc0@...1...> Message-ID: Benoit is it possible add this timezone conversion suggestion to CDate()? Date = CDate ( Expression AS Variant [, InputTimeZone AS Integer, OutputTimeZone AS Integer ] ) AS Date This way you could tell CDate what is the timezone you are using and in what timezone you need the answer. I think it would decrease the confusion and add new functionality. What do you think? Jussi On Tue, Dec 20, 2016 at 2:53 AM, Beno?t Minisini < gambas at ...1...> wrote: > Le 20/12/2016 ? 01:23, Jussi Lahtinen a ?crit : > > Or additional requirement for the string, examples "10/01/2016 GMT" or > > "10/01/2016 Local". > > > > > > Jussi > > > > On Tue, Dec 20, 2016 at 2:16 AM, Jussi Lahtinen < > jussi.lahtinen at ...626...> > > wrote: > > > >> That is bit confusing. Would it be better if Date() function would > accept > >> one more argument "TimeZone". > >> Example: > >> > >> Date("10/01/2016", gb.GMT) > >> > >> or > >> > >> Date("10/01/2016", gb.Local) > >> > >> > >> What you think? > >> > >> > >> Jussi > >> > > I think that you misuse the Date() function too. > > Date() is not a string to date conversion function. > > You must use: > > - CDate() for an UTC date conversion. > > - Val() for a local time conversion. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/intel > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bagonergi at ...626... Sun Jan 15 17:36:55 2017 From: bagonergi at ...626... (Gianluigi) Date: Sun, 15 Jan 2017 17:36:55 +0100 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1068: CDate: strange behavior on first day of year In-Reply-To: References: <587a715a.2f3fed0a.d647.15cbSMTPIN_ADDED_BROKEN@...2392...> Message-ID: OK if in Trunk I write: Public Sub Main() Print CDate(Val("1/1/2017")) ' > 01/01/2017 00:00:00 End Sorry but I do not know, because the rev.7983 is earlier the 3.9.2. Regards Gianluigi 2017-01-15 16:41 GMT+01:00 Jussi Lahtinen : > Sorry, the date bug was fixed in revision 7983. So 3.9.2 still has the bug. > If your string is in local time, then convert it to date using val(). > CDate() assumes UTF and your timezone is UTF+1, thus you see the > difference. > > > Jussi > > On Sun, Jan 15, 2017 at 4:41 PM, Gianluigi wrote: > > > I forgotten: Yes with exactli same program: > > > > Public Sub Main() > > > > Print CDate("1/1/2017") > > > > End > > > > 2017-01-15 14:52 GMT+01:00 Gianluigi : > > > > > No Jussi seems all the same. > > > > > > My computer: > > > > > > LANG=it_IT.UTF-8 > > > LANGUAGE=it > > > LC_CTYPE="it_IT.UTF-8" > > > LC_NUMERIC="it_IT.UTF-8" > > > LC_TIME="it_IT.UTF-8" > > > LC_COLLATE="it_IT.UTF-8" > > > LC_MONETARY="it_IT.UTF-8" > > > LC_MESSAGES="it_IT.UTF-8" > > > LC_PAPER="it_IT.UTF-8" > > > LC_NAME="it_IT.UTF-8" > > > LC_ADDRESS="it_IT.UTF-8" > > > LC_TELEPHONE="it_IT.UTF-8" > > > LC_MEASUREMENT="it_IT.UTF-8" > > > LC_IDENTIFICATION="it_IT.UTF-8" > > > LC_ALL= > > > > > > > > > Wife computer: > > > > > > LANG=it_IT.UTF-8 > > > LANGUAGE=it > > > LC_CTYPE="it_IT.UTF-8" > > > LC_NUMERIC="it_IT.UTF-8" > > > LC_TIME="it_IT.UTF-8" > > > LC_COLLATE="it_IT.UTF-8" > > > LC_MONETARY="it_IT.UTF-8" > > > LC_MESSAGES="it_IT.UTF-8" > > > LC_PAPER="it_IT.UTF-8" > > > LC_NAME="it_IT.UTF-8" > > > LC_ADDRESS="it_IT.UTF-8" > > > LC_TELEPHONE="it_IT.UTF-8" > > > LC_MEASUREMENT="it_IT.UTF-8" > > > LC_IDENTIFICATION="it_IT.UTF-8" > > > LC_ALL= > > > > > > [System] > > > Gambas=3.9.2 > > > OperatingSystem=Linux > > > Kernel=4.4.0-59-generic > > > Architecture=x86 > > > Distribution=Ubuntu 16.04.1 LTS > > > Desktop=XFCE > > > Theme=Cleanlooks > > > Language=it_IT.UTF-8 > > > Memory=3018M > > > > > > [Libraries] > > > Cairo=libcairo.so.2.11400.6 > > > Curl=libcurl.so.4.4.0 > > > DBus=libdbus-1.so.3.14.6 > > > GStreamer=libgstreamer-1.0.so.0.802.0 > > > GTK+2=libgtk-x11-2.0.so.0.2400.30 > > > GTK+3=libgtk-3.so.0.1800.9 > > > OpenGL=libGL.so.1.2.0 > > > Poppler=libpoppler.so.58.0.0 > > > QT4=libQtCore.so.4.8.7 > > > QT5=libQt5Core.so.5.5.1 > > > SDL=libSDL-1.2.so.0.11.4 > > > SQLite=libsqlite3.so.0.8.6 > > > > > > [Environment] > > > CLUTTER_BACKEND=x11 > > > CLUTTER_IM_MODULE= > > > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-dw2oWgNV16 > > > DEFAULTS_PATH=/usr/share/gconf/xubuntu.default.path > > > DESKTOP_SESSION=xubuntu > > > DISPLAY=:0.0 > > > GB_GUI=gb.qt4 > > > GDMSESSION=xubuntu > > > GDM_LANG=it > > > GLADE_CATALOG_PATH=: > > > GLADE_MODULE_PATH=: > > > GLADE_PIXMAP_PATH=: > > > GNOME_KEYRING_CONTROL= > > > GNOME_KEYRING_PID= > > > GPG_AGENT_INFO=/home//.gnupg/S.gpg-agent:0:1 > > > GTK_IM_MODULE= > > > GTK_OVERLAY_SCROLLING=0 > > > HOME=/home/ > > > IM_CONFIG_PHASE=1 > > > INSTANCE= > > > JOB=dbus > > > LANG=it_IT.UTF-8 > > > LANGUAGE=it > > > LOGNAME= > > > MANDATORY_PATH=/usr/share/gconf/xubuntu.mandatory.path > > > PATH=/home//bin:/home//.local/bin:/ > > > usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin: > > > /usr/games:/usr/local/games:/snap/bin > > > PWD=/home/ > > > QT4_IM_MODULE= > > > QT_ACCESSIBILITY=1 > > > QT_IM_MODULE= > > > QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 > > > QT_STYLE_OVERRIDE=gtk > > > SESSION=xubuntu > > > SESSIONTYPE= > > > SESSION_MANAGER=local/:@/tmp/.ICE-unix/ > > > 1203,unix/:/tmp/.ICE-unix/1203 > > > SHELL=/bin/bash > > > SHLVL=0 > > > SSH_AUTH_SOCK=/run/user/1000/keyring/ssh > > > TZ=:/etc/localtime > > > UPSTART_EVENTS=started xsession > > > UPSTART_INSTANCE= > > > UPSTART_JOB=startxfce4 > > > UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1042 > > > USER= > > > XAUTHORITY=/home//.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/:/var/lib/snapd/desktop:/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_DESKTOP=xubuntu > > > XDG_SESSION_ID=c1 > > > XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 > > > XDG_SESSION_TYPE=x11 > > > XDG_VTNR=7 > > > XMODIFIERS= > > > > > > > > > > > > Regards > > > > > > Gianluigi > > > > > > > > > 2017-01-15 0:24 GMT+01:00 Jussi Lahtinen : > > > > > >> With the exactly same program? Then maybe the computers have different > > >> localization settings. Try command "locale" on terminal to see if > there > > >> are > > >> differences. > > >> > > >> > > >> Jussi > > >> > > >> On Sat, Jan 14, 2017 at 9:28 PM, Gianluigi > wrote: > > >> > > >> > But in another computer with 3.9.2 the result is 01/01/2017 00:00:00 > > >> > > > >> > 2017-01-14 20:13 GMT+01:00 Jussi Lahtinen >: > > >> > > > >> > > It's because of timezone conversion. Not a bug. > > >> > > > > >> > > > > >> > > Jussi > > >> > > > > >> > > On Sat, Jan 14, 2017 at 8:42 PM, > wrote: > > >> > > > > >> > > > http://gambaswiki.org/bugtracker/edit?object=BUG. > > 1068&from=L21haW4- > > >> > > > > > >> > > > Gianluigi GRADASCHI added an attachment: > > >> > > > > > >> > > > CDateTest-0.0.1.tar.gz > > >> > > > > > >> > > > > > >> > > > > > >> > > > ------------------------------------------------------------ > > >> > > > ------------------ > > >> > > > Developer Access Program for Intel Xeon Phi Processors > > >> > > > Access to Intel Xeon Phi processor-based developer platforms. > > >> > > > With one year of Intel Parallel Studio XE. > > >> > > > Training and support from Colfax. > > >> > > > Order your platform today. http://sdm.link/xeonphi > > >> > > > _______________________________________________ > > >> > > > Gambas-user mailing list > > >> > > > Gambas-user at lists.sourceforge.net > > >> > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > >> > > > > > >> > > ------------------------------------------------------------ > > >> > > ------------------ > > >> > > Developer Access Program for Intel Xeon Phi Processors > > >> > > Access to Intel Xeon Phi processor-based developer platforms. > > >> > > With one year of Intel Parallel Studio XE. > > >> > > Training and support from Colfax. > > >> > > Order your platform today. http://sdm.link/xeonphi > > >> > > _______________________________________________ > > >> > > Gambas-user mailing list > > >> > > Gambas-user at lists.sourceforge.net > > >> > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > >> > > > > >> > ------------------------------------------------------------ > > >> > ------------------ > > >> > Developer Access Program for Intel Xeon Phi Processors > > >> > Access to Intel Xeon Phi processor-based developer platforms. > > >> > With one year of Intel Parallel Studio XE. > > >> > Training and support from Colfax. > > >> > Order your platform today. http://sdm.link/xeonphi > > >> > _______________________________________________ > > >> > Gambas-user mailing list > > >> > Gambas-user at lists.sourceforge.net > > >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > > >> > > > >> ------------------------------------------------------------ > > >> ------------------ > > >> Developer Access Program for Intel Xeon Phi Processors > > >> Access to Intel Xeon Phi processor-based developer platforms. > > >> With one year of Intel Parallel Studio XE. > > >> Training and support from Colfax. > > >> Order your platform today. http://sdm.link/xeonphi > > >> _______________________________________________ > > >> Gambas-user mailing list > > >> Gambas-user at lists.sourceforge.net > > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > >> > > > > > > > > ------------------------------------------------------------ > > ------------------ > > Developer Access Program for Intel Xeon Phi Processors > > Access to Intel Xeon Phi processor-based developer platforms. > > With one year of Intel Parallel Studio XE. > > Training and support from Colfax. > > Order your platform today. http://sdm.link/xeonphi > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today. http://sdm.link/xeonphi > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Sun Jan 15 17:38:44 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 15 Jan 2017 16:38:44 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1068: CDate: strange behavior on first day of year In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1068&from=L21haW4- Gianluigi GRADASCHI changed the state of the bug to: Rejected. From bugtracker at ...3416... Sun Jan 15 17:39:17 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 15 Jan 2017 16:39:17 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1068: CDate: strange behavior on first day of year In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1068&from=L21haW4- Gianluigi GRADASCHI changed the state of the bug to: Opened. From bugtracker at ...3416... Sun Jan 15 17:39:52 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 15 Jan 2017 16:39:52 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1068: CDate: strange behavior on first day of year In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1068&from=L21haW4- Gianluigi GRADASCHI changed the state of the bug to: Rejected. From sharon at ...3639... Sun Jan 15 18:31:05 2017 From: sharon at ...3639... (=?UTF-8?Q?=D7=9E=D7=99=D7=95=D7=A1=D7=98_=D7=A9=D7=A8=D7=95=D7?==?UTF-8?Q?=9F?=) Date: Sun, 15 Jan 2017 19:31:05 +0200 Subject: [Gambas-user] variable in WebForm not remember Message-ID: <20170115172047.M30180@...3639...> hello I have WebForm1 I put on the WebForm1 two controls of WebButton1 WebButton2 I have a variable of type String named my_A I would like when I press the WebButton1 the my_A = "sharon" and when I click on WebButton2 I want to get the value found in my_A The problem that when I click on WebButton2 The value of the variable my_A is empty "" It's what's inside that WebForm1.class ' Gambas class file Export Private my_A As String Public Sub WebButton1_Click() my_A = "sharon" End Public Sub WebButton2_Click() WebButton2.Text = my_A End From gambas at ...1... Sun Jan 15 22:49:37 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 15 Jan 2017 22:49:37 +0100 Subject: [Gambas-user] Beware to revision #7983! In-Reply-To: References: <5a2ee014-af7b-8381-b8be-428403eacb0b@...1...> <1482189237.6546.19.camel@...3609...> <8d9eed5e-6f55-c220-0520-de5186423cd3@...1...> <98c3a06e-0140-72bd-1627-b33b8abbdfc0@...1...> Message-ID: Le 15/01/2017 ? 16:58, Jussi Lahtinen a ?crit : > Benoit is it possible add this timezone conversion suggestion to CDate()? > > Date = CDate ( Expression AS Variant [, InputTimeZone AS Integer, > OutputTimeZone AS Integer ] ) AS Date > > This way you could tell CDate what is the timezone you are using and in > what timezone you need the answer. I think it would decrease the confusion > and add new functionality. > > What do you think? > > > Jussi > Actually there is no confusion anymore, as this is the old behaviour that was illogical (i.e. CDate(CStr(x)) was not equal to x is some cases). Internal date are always stored in GMT. The confusion comes when you transform them into a string or from a string. The rule now is: - CStr & CDate always use GMT. - Str & Val always use the current locale timezone. But I agree with you that conversion functions with explicit time zone would be useful. Alas CDate() and CStr() cannot be modified (they must take one argument only), so another one should be created. I will think about that. -- Beno?t Minisini From gambas at ...1... Sun Jan 15 22:54:35 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 15 Jan 2017 22:54:35 +0100 Subject: [Gambas-user] variable in WebForm not remember In-Reply-To: <20170115172047.M30180@...3639...> References: <20170115172047.M30180@...3639...> Message-ID: <344b43b1-d49d-f508-fdfd-63bab336ad1e@...1...> Le 15/01/2017 ? 18:31, ????? ???? a ?crit : > hello > > I have WebForm1 > I put on the WebForm1 two controls of WebButton1 WebButton2 > I have a variable of type String named my_A > I would like when I press the WebButton1 the my_A = "sharon" and when I click on > WebButton2 I want to get the value found in my_A > > > The problem that when I click on WebButton2 > The value of the variable my_A is empty "" > > It's what's inside that WebForm1.class > > ' Gambas class file > > Export > Private my_A As String > > Public Sub WebButton1_Click() > > my_A = "sharon" > > End > > Public Sub WebButton2_Click() > > WebButton2.Text = my_A > > End > Yes, this is the main difference between a "normal" application (one process that runs continuously) and a "webform" application (one process by request). With a web application, the only way to keep things persistent is using the Session object. With a WebForm, you can store permanent things by using it like an array, which use internally the Session object of course. So you can write: Export Public Sub WebButton1_Click() Me["my_A"] = "sharon" End Public Sub WebButton2_Click() WebButton2.Text = Me["my_A"] End So, never forget that your application is a web application that is not persistent between two events (the request is mostly the full handling of one event coming from the web browser. The response is the refresh of the web browser contents). Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Mon Jan 16 00:28:52 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 16 Jan 2017 01:28:52 +0200 Subject: [Gambas-user] Beware to revision #7983! In-Reply-To: References: <5a2ee014-af7b-8381-b8be-428403eacb0b@...1...> <1482189237.6546.19.camel@...3609...> <8d9eed5e-6f55-c220-0520-de5186423cd3@...1...> <98c3a06e-0140-72bd-1627-b33b8abbdfc0@...1...> Message-ID: > Internal date are always stored in GMT. The confusion comes when you > transform them into a string or from a string. > This is exactly what I meant. I think it should be more clear in the documentation that output of CDate() is in GMT (same as UTC?) and input is assumed to be local date, instead of GMT. Jussi From sharon at ...3639... Mon Jan 16 01:20:34 2017 From: sharon at ...3639... (=?UTF-8?Q?=D7=9E=D7=99=D7=95=D7=A1=D7=98_=D7=A9=D7=A8=D7=95=D7?==?UTF-8?Q?=9F?=) Date: Mon, 16 Jan 2017 02:20:34 +0200 Subject: [Gambas-user] variable in WebForm not remember In-Reply-To: <344b43b1-d49d-f508-fdfd-63bab336ad1e@...1...> References: <20170115172047.M30180@...3639...> <344b43b1-d49d-f508-fdfd-63bab336ad1e@...1...> Message-ID: <20170116001212.M25817@...3639...> > > hello > > > > I have WebForm1 > > I put on the WebForm1 two controls of WebButton1 WebButton2 > > I have a variable of type String named my_A > > I would like when I press the WebButton1 the my_A = "sharon" and when I click on > > WebButton2 I want to get the value found in my_A > > > > > > The problem that when I click on WebButton2 > > The value of the variable my_A is empty "" > > > > It's what's inside that WebForm1.class > > > > ' Gambas class file > > > > Export > > Private my_A As String > > > > Public Sub WebButton1_Click() > > > > my_A = "sharon" > > > > End > > > > Public Sub WebButton2_Click() > > > > WebButton2.Text = my_A > > > > End > > > > Yes, this is the main difference between a "normal" application (one > process that runs continuously) and a "webform" application (one process > by request). > > With a web application, the only way to keep things persistent is using > the Session object. > > With a WebForm, you can store permanent things by using it like an > array, which use internally the Session object of course. > > So you can write: > > Export > > Public Sub WebButton1_Click() > > Me["my_A"] = "sharon" > > End > > Public Sub WebButton2_Click() > > WebButton2.Text = Me["my_A"] > > End > > So, never forget that your application is a web application that is not > persistent between two events (the request is mostly the full handling > of one event coming from the web browser. The response is the refresh of > the web browser contents). > > Regards, > > -- > Beno?t Minisini Thank you it works I have another question that code: ' Gambas class file Export Public Sub WebButton1_Click() Dim hWeb As WebButton WebButton1.Text = "btn1_text" WebButton1.Tag = "btn1_tag" Me["my_A"] = WebButton1 hweb = Me["my_A"] WebTextBox1.Text = hWeb.Text WebTextBox2.Text = hWeb.Tag End Public Sub WebButton2_Click() Dim hWeb As WebButton hWeb = Me["my_A"] WebTextBox1.Text = hWeb.Text WebTextBox2.Text = hWeb.Tag End WebButton1 the event of a hWeb this is fine value of WebButton1 But the event of WebButton2 value of hWeb get "NULL" From gambas at ...1... Mon Jan 16 01:37:38 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 16 Jan 2017 01:37:38 +0100 Subject: [Gambas-user] variable in WebForm not remember In-Reply-To: <20170116001212.M25817@...3639...> References: <20170115172047.M30180@...3639...> <344b43b1-d49d-f508-fdfd-63bab336ad1e@...1...> <20170116001212.M25817@...3639...> Message-ID: <9dc81117-2ca9-b681-1ce9-a0b3e5e3e0a5@...1...> Le 16/01/2017 ? 01:20, ????? ???? a ?crit : >>> hello >>> >>> I have WebForm1 >>> I put on the WebForm1 two controls of WebButton1 WebButton2 >>> I have a variable of type String named my_A >>> I would like when I press the WebButton1 the my_A = "sharon" and when I click on >>> WebButton2 I want to get the value found in my_A >>> >>> >>> The problem that when I click on WebButton2 >>> The value of the variable my_A is empty "" >>> >>> It's what's inside that WebForm1.class >>> >>> ' Gambas class file >>> >>> Export >>> Private my_A As String >>> >>> Public Sub WebButton1_Click() >>> >>> my_A = "sharon" >>> >>> End >>> >>> Public Sub WebButton2_Click() >>> >>> WebButton2.Text = my_A >>> >>> End >>> >> >> Yes, this is the main difference between a "normal" application (one >> process that runs continuously) and a "webform" application (one process >> by request). >> >> With a web application, the only way to keep things persistent is using >> the Session object. >> >> With a WebForm, you can store permanent things by using it like an >> array, which use internally the Session object of course. >> >> So you can write: >> >> Export >> >> Public Sub WebButton1_Click() >> >> Me["my_A"] = "sharon" >> >> End >> >> Public Sub WebButton2_Click() >> >> WebButton2.Text = Me["my_A"] >> >> End >> >> So, never forget that your application is a web application that is not >> persistent between two events (the request is mostly the full handling >> of one event coming from the web browser. The response is the refresh of >> the web browser contents). >> >> Regards, >> >> -- >> Beno?t Minisini > > > Thank you it works > > > > I have another question that code: > > ' Gambas class file > > Export > > Public Sub WebButton1_Click() > Dim hWeb As WebButton > > WebButton1.Text = "btn1_text" > WebButton1.Tag = "btn1_tag" > Me["my_A"] = WebButton1 > > hweb = Me["my_A"] > WebTextBox1.Text = hWeb.Text > WebTextBox2.Text = hWeb.Tag > End > > Public Sub WebButton2_Click() > Dim hWeb As WebButton > > hWeb = Me["my_A"] > WebTextBox1.Text = hWeb.Text > WebTextBox2.Text = hWeb.Tag > End > > > WebButton1 the event of a hWeb this is fine value of WebButton1 > But the event of WebButton2 value of hWeb get "NULL" > Not everything can be stored in the session. Especially object references (as they are valid only in the same process). You can put in a "WebForm variable" (i.e. Me[xxx]) : booleans, numbers, strings, dates, variant, arrays and collections. I hope I will be able to start writing the documentation of the gb.web.form component soon. Regards, -- Beno?t Minisini From bugtracker at ...3416... Mon Jan 16 17:22:43 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 16 Jan 2017 16:22:43 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1047: please add new gambas3 sections for Rust and JavaScript In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1047&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Mon Jan 16 17:23:14 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 16 Jan 2017 16:23:14 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1066: Interpreter crash on removing database index In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1066&from=L21haW4- Comment #1 by Beno?t MINISINI: Which database driver do you use? From bugtracker at ...3416... Mon Jan 16 17:24:35 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 16 Jan 2017 16:24:35 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1067: gb.form MenuButton Menu.Enabled behavior In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1067&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Mon Jan 16 17:39:35 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 16 Jan 2017 16:39:35 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1067: gb.form MenuButton Menu.Enabled behavior In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1067&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed in revision #8057 Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Mon Jan 16 17:40:36 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 16 Jan 2017 16:40:36 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1069: Error by clicking on minus sign at the left of a routine In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1069&from=L21haW4- Comment #1 by Beno?t MINISINI: Please provide the project that triggered the error, and which line I need to click. Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Mon Jan 16 18:31:34 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 16 Jan 2017 17:31:34 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1069: Error by clicking on minus sign at the left of a routine In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1069&from=L21haW4- Comment #2 by Fabien BODARD: I think it is good with the rev #8058 From bugtracker at ...3416... Mon Jan 16 18:36:00 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 16 Jan 2017 17:36:00 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1069: Error by clicking on minus sign at the left of a routine In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1069&from=L21haW4- Fabien BODARD changed the state of the bug to: Fixed. From bugtracker at ...3416... Tue Jan 17 04:51:10 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 17 Jan 2017 03:51:10 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1066: Interpreter crash on removing database index In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1066&from=L21haW4- Comment #2 by Safiur RAHMAN: Hi Benoit I am using gb.mysql for this. From ujlain at ...626... Tue Jan 17 06:22:11 2017 From: ujlain at ...626... (Vinode Singh Ujlain) Date: Mon, 16 Jan 2017 22:22:11 -0700 (MST) Subject: [Gambas-user] Form Action & Method (GET/POST) properties ? Message-ID: <1484630531301-58263.post@...3046...> At the outset , pardon me for asking some very elementary questions. (a) How / where do I specify a webform's action (URL) & method (GET/POST) properties ?(b) How do I navigate away from webform1 --> webpage1 when submit button on webform1 is pressed ?skeleton sample (login form) placed at attachment. w1.zip -- View this message in context: http://gambas.8142.n7.nabble.com/Form-Action-Method-GET-POST-properties-tp58263.html Sent from the gambas-user mailing list archive at Nabble.com. From rwe-sse at ...3629... Tue Jan 17 08:26:38 2017 From: rwe-sse at ...3629... (Rolf-Werner Eilert) Date: Tue, 17 Jan 2017 08:26:38 +0100 Subject: [Gambas-user] variable in WebForm not remember In-Reply-To: <9dc81117-2ca9-b681-1ce9-a0b3e5e3e0a5@...1...> References: <20170115172047.M30180@...3639...> <344b43b1-d49d-f508-fdfd-63bab336ad1e@...1...> <20170116001212.M25817@...3639...> <9dc81117-2ca9-b681-1ce9-a0b3e5e3e0a5@...1...> Message-ID: <587DC72E.3030703@...3629...> Am 16.01.2017 01:37, schrieb Beno?t Minisini: > Le 16/01/2017 ? 01:20, ????? ???? a ?crit : >>>> hello >>>> >>>> I have WebForm1 >>>> I put on the WebForm1 two controls of WebButton1 WebButton2 >>>> I have a variable of type String named my_A >>>> I would like when I press the WebButton1 the my_A = "sharon" and when I click on >>>> WebButton2 I want to get the value found in my_A >>>> >>>> >>>> The problem that when I click on WebButton2 >>>> The value of the variable my_A is empty "" >>>> >>>> It's what's inside that WebForm1.class >>>> >>>> ' Gambas class file >>>> >>>> Export >>>> Private my_A As String >>>> >>>> Public Sub WebButton1_Click() >>>> >>>> my_A = "sharon" >>>> >>>> End >>>> >>>> Public Sub WebButton2_Click() >>>> >>>> WebButton2.Text = my_A >>>> >>>> End >>>> >>> >>> Yes, this is the main difference between a "normal" application (one >>> process that runs continuously) and a "webform" application (one process >>> by request). >>> >>> With a web application, the only way to keep things persistent is using >>> the Session object. >>> >>> With a WebForm, you can store permanent things by using it like an >>> array, which use internally the Session object of course. >>> >>> So you can write: >>> >>> Export >>> >>> Public Sub WebButton1_Click() >>> >>> Me["my_A"] = "sharon" >>> >>> End >>> >>> Public Sub WebButton2_Click() >>> >>> WebButton2.Text = Me["my_A"] >>> >>> End >>> >>> So, never forget that your application is a web application that is not >>> persistent between two events (the request is mostly the full handling >>> of one event coming from the web browser. The response is the refresh of >>> the web browser contents). >>> >>> Regards, >>> >>> -- >>> Beno?t Minisini >> >> >> Thank you it works >> >> >> >> I have another question that code: >> >> ' Gambas class file >> >> Export >> >> Public Sub WebButton1_Click() >> Dim hWeb As WebButton >> >> WebButton1.Text = "btn1_text" >> WebButton1.Tag = "btn1_tag" >> Me["my_A"] = WebButton1 >> >> hweb = Me["my_A"] >> WebTextBox1.Text = hWeb.Text >> WebTextBox2.Text = hWeb.Tag >> End >> >> Public Sub WebButton2_Click() >> Dim hWeb As WebButton >> >> hWeb = Me["my_A"] >> WebTextBox1.Text = hWeb.Text >> WebTextBox2.Text = hWeb.Tag >> End >> >> >> WebButton1 the event of a hWeb this is fine value of WebButton1 >> But the event of WebButton2 value of hWeb get "NULL" >> > > Not everything can be stored in the session. Especially object > references (as they are valid only in the same process). > > You can put in a "WebForm variable" (i.e. Me[xxx]) : booleans, numbers, > strings, dates, variant, arrays and collections. > > I hope I will be able to start writing the documentation of the > gb.web.form component soon. > > Regards, > Where does the webform store the values until the next call? And can it remember calls from different users? Regards Rolf From bugtracker at ...3416... Tue Jan 17 08:49:56 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 17 Jan 2017 07:49:56 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1069: Error by clicking on minus sign at the left of a routine In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1069&from=L21haW4- Comment #3 by vuott VUOTT: Yes, Fabien, now it works. From olivier.cruilles at ...614... Wed Jan 18 15:39:29 2017 From: olivier.cruilles at ...614... (Yahoo) Date: Wed, 18 Jan 2017 09:39:29 -0500 Subject: [Gambas-user] Gridview icon detection Message-ID: Hello, In one of my project I use icons in a GridView object to indicate if a line is ?checked? or not and for the moment a double click on these lines can change this state as ?Checked? or 'Not Checked?. Would anyone know if it's possible to detect if the user click specifically on the icon on a line of a GridView to do this change of state. Is there a way to access to the Icon Object of a line of a GridView in fact. Thank you? ?? Olivier Cruilles From bagonergi at ...626... Wed Jan 18 17:55:37 2017 From: bagonergi at ...626... (Gianluigi) Date: Wed, 18 Jan 2017 17:55:37 +0100 Subject: [Gambas-user] Gridview icon detection In-Reply-To: References: Message-ID: You mean something like that: Public Sub GridView1_Click() ' From the Shordi's code, look here https://www.gambas-es.org/show_post.php?p=34694 With GridView1 If .Column = 0 Then ' Columns with CheckBox If .Current.Picture = Picture["on.png"] Then .Current.Picture = Picture["off.png"] Print "CheckBox"; (GridView1.Row + 1); " unchecked" Else .current.Picture = Picture["on.png"] Print "CheckBox"; (GridView1.Row + 1); " checked" Endif Endif End With End Regards Gianluigi 2017-01-18 15:39 GMT+01:00 Yahoo : > Hello, > > In one of my project I use icons in a GridView object to indicate if a > line is ?checked? or not and for the moment a double click on these lines > can change this state as ?Checked? or 'Not Checked?. > > Would anyone know if it's possible to detect if the user click > specifically on the icon on a line of a GridView to do this change of state. > Is there a way to access to the Icon Object of a line of a GridView in > fact. > > > > > Thank you > > > ? > Olivier Cruilles > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From olivier.cruilles at ...614... Wed Jan 18 19:32:54 2017 From: olivier.cruilles at ...614... (Yahoo) Date: Wed, 18 Jan 2017 13:32:54 -0500 Subject: [Gambas-user] Erratum: ColumnView icon detection In-Reply-To: References: Message-ID: Sorry for the mistake, it?s not a GridView that I?m talking about but a ColumnView object. ?? Olivier Cruilles Le January 18, 2017 ? 09:39:32, Yahoo (olivier.cruilles at ...614...) a ?crit: Hello, In one of my project I use icons in a GridView object to indicate if a line is ?checked? or not and for the moment a double click on these lines can change this state as ?Checked? or 'Not Checked?. Would anyone know if it's possible to detect if the user click specifically on the icon on a line of a GridView to do this change of state. Is there a way to access to the Icon Object of a line of a GridView in fact. Thank you? ?? Olivier Cruilles From gambas.fr at ...626... Wed Jan 18 21:55:39 2017 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 18 Jan 2017 21:55:39 +0100 Subject: [Gambas-user] Gridview icon detection In-Reply-To: References: Message-ID: Maybe the best will beto use 2 column... one for the icon and one for the text. The problem of many users is they want to use the gridview as a data container. Better way will be to have 2 array or an array of class with two value. Private aMyValues as New String[] private aMyStates as new integer[] Private aMyPicStates as new Picture[3] Public sub _New() aMyPicState[0]= Picture["img/checked.png"] aMyPicState[1]= Picture["img/unchecked.png"] aMyPicState[2]= Picture["img/tristate.png"] 'Load here values and states in arrays gridview1.columns.count = 2 gridview1.Columns[0].Width = 22 Gridview1.Rows.height = 22 GriwView1.Rows.Count = aMyValues.count End Public sub GridView1_Data(Row as integer, Column as Integer) select case Column Case 0 Last.Data.Picture = aMyPicState[aMyStates[Row]] Case 1 Last.data.text = aMyValues[Row] end End Public sub GridView1_Click() if Last.Column = 0 then inc aMySTate if aMyState >2 then aMySTate = 0 endif GridView1.Refresh End If you want to delete a value you need to delete it in aMyValues and in aMyStates and then set the GridView1.ows.count with the count of one of these array to refresh. By using this technic, you are really free to do what you want with gridview. 2017-01-18 17:55 GMT+01:00 Gianluigi : > You mean something like that: > > Public Sub GridView1_Click() > > ' From the Shordi's code, look here > https://www.gambas-es.org/show_post.php?p=34694 > > With GridView1 > If .Column = 0 Then ' > Columns with CheckBox > If .Current.Picture = Picture["on.png"] Then > .Current.Picture = Picture["off.png"] > Print "CheckBox"; (GridView1.Row + 1); " unchecked" > Else > .current.Picture = Picture["on.png"] > Print "CheckBox"; (GridView1.Row + 1); " checked" > Endif > Endif > End With > > End > > Regards > Gianluigi > > 2017-01-18 15:39 GMT+01:00 Yahoo : > >> Hello, >> >> In one of my project I use icons in a GridView object to indicate if a >> line is ?checked? or not and for the moment a double click on these lines >> can change this state as ?Checked? or 'Not Checked?. >> >> Would anyone know if it's possible to detect if the user click >> specifically on the icon on a line of a GridView to do this change of state. >> Is there a way to access to the Icon Object of a line of a GridView in >> fact. >> >> >> >> >> Thank you >> >> >> ? >> Olivier Cruilles >> >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From bagonergi at ...626... Wed Jan 18 23:58:59 2017 From: bagonergi at ...626... (Gianluigi) Date: Wed, 18 Jan 2017 23:58:59 +0100 Subject: [Gambas-user] Gridview icon detection In-Reply-To: References: Message-ID: Hi Fabien, I did not understand if you answer the question by Olivier or to that of the Spanish forum. Your code am not able to make it work, sorry, you can have a look? Regarding the new question by Olivier am attaching a possible solution, always it comes from Shordi code. Regards Gianluigi 2017-01-18 21:55 GMT+01:00 Fabien Bodard : > Maybe the best will beto use 2 column... one for the icon and one for > the text. The problem of many users is they want to use the gridview > as a data container. > > Better way will be to have 2 array or an array of class with two value. > > > Private aMyValues as New String[] > private aMyStates as new integer[] > Private aMyPicStates as new Picture[3] > > Public sub _New() > > aMyPicState[0]= Picture["img/checked.png"] > aMyPicState[1]= Picture["img/unchecked.png"] > aMyPicState[2]= Picture["img/tristate.png"] > > 'Load here values and states in arrays > > gridview1.columns.count = 2 > gridview1.Columns[0].Width = 22 > > Gridview1.Rows.height = 22 > > GriwView1.Rows.Count = aMyValues.count > > End > > Public sub GridView1_Data(Row as integer, Column as Integer) > > select case Column > > Case 0 > Last.Data.Picture = aMyPicState[aMyStates[Row]] > Case 1 > Last.data.text = aMyValues[Row] > > end > > > End > > Public sub GridView1_Click() > > if Last.Column = 0 then > inc aMySTate > if aMyState >2 then aMySTate = 0 > endif > GridView1.Refresh > End > > > > If you want to delete a value you need to delete it in aMyValues and > in aMyStates and then set the GridView1.ows.count with the count of > one of these array to refresh. > > By using this technic, you are really free to do what you want with > gridview. > > > > 2017-01-18 17:55 GMT+01:00 Gianluigi : > > You mean something like that: > > > > Public Sub GridView1_Click() > > > > ' From the Shordi's code, look here > > https://www.gambas-es.org/show_post.php?p=34694 > > > > With GridView1 > > If .Column = 0 Then ' > > Columns with CheckBox > > If .Current.Picture = Picture["on.png"] Then > > .Current.Picture = Picture["off.png"] > > Print "CheckBox"; (GridView1.Row + 1); " unchecked" > > Else > > .current.Picture = Picture["on.png"] > > Print "CheckBox"; (GridView1.Row + 1); " checked" > > Endif > > Endif > > End With > > > > End > > > > Regards > > Gianluigi > > > > 2017-01-18 15:39 GMT+01:00 Yahoo : > > > >> Hello, > >> > >> In one of my project I use icons in a GridView object to indicate if a > >> line is ?checked? or not and for the moment a double click on these > lines > >> can change this state as ?Checked? or 'Not Checked?. > >> > >> Would anyone know if it's possible to detect if the user click > >> specifically on the icon on a line of a GridView to do this change of > state. > >> Is there a way to access to the Icon Object of a line of a GridView in > >> fact. > >> > >> > >> > >> > >> Thank you > >> > >> > >> ? > >> Olivier Cruilles > >> > >> ------------------------------------------------------------ > >> ------------------ > >> Check out the vibrant tech community on one of the world's most > >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > ------------------------------------------------------------ > ------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- A non-text attachment was scrubbed... Name: BrokenCode-0.0.1.tar.gz Type: application/x-gzip Size: 12427 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: FalseColumnView-0.0.1.tar.gz Type: application/x-gzip Size: 12169 bytes Desc: not available URL: From olivier.cruilles at ...614... Thu Jan 19 00:08:21 2017 From: olivier.cruilles at ...614... (Olivier Cruilles) Date: Wed, 18 Jan 2017 18:08:21 -0500 Subject: [Gambas-user] ColumnView icon detection Message-ID: Hello, In one of my projects I use icons in a ColumnView object to indicate if a line is ?checked? or not and for the moment a double click on these lines can change this state as ?Checked? or 'Not Checked?. Would anyone know if it's possible to detect if the user click specifically on the icon on a line of a GridView to do this change of state. Is there a way to access to the Icon Object of a line of a GridView in fact. Thank you Olivier Cruilles From gambas.fr at ...626... Thu Jan 19 12:07:20 2017 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 19 Jan 2017 12:07:20 +0100 Subject: [Gambas-user] Gridview icon detection In-Reply-To: References: Message-ID: Ok this is my fault as i've not tested my code ... so i've forgot to little things This is so the working code : Private aMyValues As New String[] Private aMyStates As New Integer[] Private aMyPicState As New Picture[3] Public Sub _New() aMyPicState[0] = Picture["img/checked.png"] aMyPicState[1] = Picture["img/unchecked.png"] aMyPicState[2] = Picture["img/tristate.png"] 'Load here values and states in arrays aMyValues.Push("First") aMyStates.Push(CheckBox.True) aMyValues.Push("Second") aMyStates.Push(CheckBox.None) aMyValues.Push("Third") aMyStates.Push(CheckBox.False) gridview1.columns.count = 2 gridview1.Columns[0].Width = 22 GridView1.Rows.height = 22 GridView1.Rows.Count = aMyValues.Count End Public Sub GridView1_Data(Row As Integer, Column As Integer) Select Case Column Case 0 Last.Data.Picture = aMyPicState[aMyStates[Row] + 1] Case 1 Last.data.text = aMyValues[Row] End Select End Public Sub GridView1_Click() If Last.Column = 0 Then Inc aMyStates[GridView1.Row] If aMyStates[GridView1.Row] > 1 Then aMySTates[GridView1.Row] = -1 Endif GridView1.Refresh End And I've corrected your project and added a form that show how to use the _draw event. Here it allow to get checkboxes drawed with the current desktop theme. -------------- next part -------------- A non-text attachment was scrubbed... Name: BrokenCode-0.0.1.tar.gz Type: application/x-gzip Size: 12554 bytes Desc: not available URL: From bagonergi at ...626... Thu Jan 19 13:46:32 2017 From: bagonergi at ...626... (Gianluigi) Date: Thu, 19 Jan 2017 13:46:32 +0100 Subject: [Gambas-user] Gridview icon detection In-Reply-To: References: Message-ID: Hi Fabien, very interesting especially the explanation of _Draw :-) I thank you so much Regards Gianluigi 2017-01-19 12:07 GMT+01:00 Fabien Bodard : > Ok this is my fault as i've not tested my code ... so i've forgot to > little things > > This is so the working code : > > > Private aMyValues As New String[] > Private aMyStates As New Integer[] > Private aMyPicState As New Picture[3] > > Public Sub _New() > > aMyPicState[0] = Picture["img/checked.png"] > aMyPicState[1] = Picture["img/unchecked.png"] > aMyPicState[2] = Picture["img/tristate.png"] > > 'Load here values and states in arrays > aMyValues.Push("First") > aMyStates.Push(CheckBox.True) > aMyValues.Push("Second") > aMyStates.Push(CheckBox.None) > aMyValues.Push("Third") > aMyStates.Push(CheckBox.False) > gridview1.columns.count = 2 > gridview1.Columns[0].Width = 22 > > GridView1.Rows.height = 22 > > GridView1.Rows.Count = aMyValues.Count > > End > > Public Sub GridView1_Data(Row As Integer, Column As Integer) > > Select Case Column > > Case 0 > Last.Data.Picture = aMyPicState[aMyStates[Row] + 1] > Case 1 > Last.data.text = aMyValues[Row] > > End Select > > End > > Public Sub GridView1_Click() > > If Last.Column = 0 Then > Inc aMyStates[GridView1.Row] > If aMyStates[GridView1.Row] > 1 Then aMySTates[GridView1.Row] = -1 > Endif > GridView1.Refresh > > End > > > And I've corrected your project and added a form that show how to use > the _draw event. Here it allow to get checkboxes drawed with the > current desktop theme. > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From olivier.cruilles at ...614... Fri Jan 20 00:19:04 2017 From: olivier.cruilles at ...614... (Linus) Date: Thu, 19 Jan 2017 18:19:04 -0500 Subject: [Gambas-user] Gridview icon detection In-Reply-To: References: Message-ID: Hi Fabien, Thank you for the example but I made a mistake and it?s not for a GRIDVIEW but for ColumnView that I would detect the Icon. Do you have any idea to do that please ? Olivier Cruilles > Le 19 janv. 2017 ? 07:46, Gianluigi a ?crit : > > Hi Fabien, > > very interesting especially the explanation of _Draw :-) > > I thank you so much > > Regards > > Gianluigi > > 2017-01-19 12:07 GMT+01:00 Fabien Bodard : > >> Ok this is my fault as i've not tested my code ... so i've forgot to >> little things >> >> This is so the working code : >> >> >> Private aMyValues As New String[] >> Private aMyStates As New Integer[] >> Private aMyPicState As New Picture[3] >> >> Public Sub _New() >> >> aMyPicState[0] = Picture["img/checked.png"] >> aMyPicState[1] = Picture["img/unchecked.png"] >> aMyPicState[2] = Picture["img/tristate.png"] >> >> 'Load here values and states in arrays >> aMyValues.Push("First") >> aMyStates.Push(CheckBox.True) >> aMyValues.Push("Second") >> aMyStates.Push(CheckBox.None) >> aMyValues.Push("Third") >> aMyStates.Push(CheckBox.False) >> gridview1.columns.count = 2 >> gridview1.Columns[0].Width = 22 >> >> GridView1.Rows.height = 22 >> >> GridView1.Rows.Count = aMyValues.Count >> >> End >> >> Public Sub GridView1_Data(Row As Integer, Column As Integer) >> >> Select Case Column >> >> Case 0 >> Last.Data.Picture = aMyPicState[aMyStates[Row] + 1] >> Case 1 >> Last.data.text = aMyValues[Row] >> >> End Select >> >> End >> >> Public Sub GridView1_Click() >> >> If Last.Column = 0 Then >> Inc aMyStates[GridView1.Row] >> If aMyStates[GridView1.Row] > 1 Then aMySTates[GridView1.Row] = -1 >> Endif >> GridView1.Refresh >> >> End >> >> >> And I've corrected your project and added a form that show how to use >> the _draw event. Here it allow to get checkboxes drawed with the >> current desktop theme. >> >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bugtracker at ...3416... Fri Jan 20 15:49:16 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 20 Jan 2017 14:49:16 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1070: Error while trying to publish a project Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1070&from=L21haW4- V?ctor PEREZ reported a new bug. Summary ------- Error while trying to publish a project Type : Bug Priority : Medium Gambas version : 3.9 Product : Software farm Description ----------- https://www.gambas-es.org/files/images/2261/erroral_publicar.png https://www.gambas-es.org/viewtopic.php?f=1&t=6143 System information ------------------ http://novatocodegambas.blogspot.com.uy/ https://sourceforge.net/projects/visorrv1960/ https://sourceforge.net/projects/taller2015/ https://sourceforge.net/projects/asistentetm/ https://sourceforge.net/projects/tanteadortenisdemesa/ From bugtracker at ...3416... Fri Jan 20 15:49:55 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 20 Jan 2017 14:49:55 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1070: Error while trying to publish a project In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1070&from=L21haW4- V?ctor PEREZ added an attachment: error.png From bagonergi at ...626... Sat Jan 21 17:22:15 2017 From: bagonergi at ...626... (Gianluigi) Date: Sat, 21 Jan 2017 17:22:15 +0100 Subject: [Gambas-user] With Date one day less Message-ID: I, with Date, become crazy. Just look here: '--------------------------------- Public Sub Main() Dim d1 As Date d1 = "6/15/2008" Print Format$(d1, "dd mm yyyy") ' > 14 06 2008 End '---------------------------------- Because UTC (an hour more) becomes one less day? (sig!) Regards Gianluigi From karl.reinl at ...9... Sat Jan 21 17:51:23 2017 From: karl.reinl at ...9... (Karl Reinl) Date: Sun, 22 Jan 2017 05:51:23 +1300 Subject: [Gambas-user] With Date one day less In-Reply-To: References: Message-ID: <1485017483.4455.2.camel@...3609...> Am Samstag, den 21.01.2017, 17:22 +0100 schrieb Gianluigi: > I, with Date, become crazy. > Just look here: > '--------------------------------- > Public Sub Main() > > Dim d1 As Date > > d1 = "6/15/2008" > Print Format$(d1, "dd mm yyyy") ' > 14 06 2008 > > End > '---------------------------------- > Because UTC (an hour more) becomes one less day? > (sig!) > > Regards > Gianluigi Salut Gianluigi, like that you get what you want. Public Sub Button1_Click() Dim d1 As Date d1 = Date(2008, 6, 15) Print Format$(d1, "dd mm yyyy") ' > 15 06 2008 End -- Amicalement Charlie From bagonergi at ...626... Sat Jan 21 19:22:46 2017 From: bagonergi at ...626... (Gianluigi) Date: Sat, 21 Jan 2017 19:22:46 +0100 Subject: [Gambas-user] With Date one day less In-Reply-To: <1485017483.4455.2.camel@...3609...> References: <1485017483.4455.2.camel@...3609...> Message-ID: Hi Charlie, I thank for the answer and will do so too. But my poor mind cannot comprehend the question of time zone. Regards Gianluigi 2017-01-21 17:51 GMT+01:00 Karl Reinl : > Am Samstag, den 21.01.2017, 17:22 +0100 schrieb Gianluigi: > > I, with Date, become crazy. > > Just look here: > > '--------------------------------- > > Public Sub Main() > > > > Dim d1 As Date > > > > d1 = "6/15/2008" > > Print Format$(d1, "dd mm yyyy") ' > 14 06 2008 > > > > End > > '---------------------------------- > > Because UTC (an hour more) becomes one less day? > > (sig!) > > > > Regards > > Gianluigi > > Salut Gianluigi, > > like that you get what you want. > > Public Sub Button1_Click() > Dim d1 As Date > > d1 = Date(2008, 6, 15) > Print Format$(d1, "dd mm yyyy") ' > 15 06 2008 > > End > > > -- > Amicalement > Charlie > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sat Jan 21 19:34:43 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 21 Jan 2017 19:34:43 +0100 Subject: [Gambas-user] With Date one day less In-Reply-To: References: <1485017483.4455.2.camel@...3609...> Message-ID: <34361340-1a3e-7b6c-261b-75eeba01088c@...1...> Le 21/01/2017 ? 19:22, Gianluigi a ?crit : > Hi Charlie, > > I thank for the answer and will do so too. > But my poor mind cannot comprehend the question of time zone. > > Regards > Gianluigi > > If you convert a string to a date, then the string is assumed to be an UTC time, *not* a local time. To convert a local time as a string to a date, you must use the Val() function. Or, as Karl said, you can use the Date() function if you have the date split into its different components. It's exactly the same with numbers! CStr() and CFloat() assume the american format (which is like "UTC" for numbers). Str() and Val() assume the local format. Regards, -- Beno?t Minisini From gambas at ...1... Sat Jan 21 19:46:50 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 21 Jan 2017 19:46:50 +0100 Subject: [Gambas-user] variable in WebForm not remember In-Reply-To: <587DC72E.3030703@...3629...> References: <20170115172047.M30180@...3639...> <344b43b1-d49d-f508-fdfd-63bab336ad1e@...1...> <20170116001212.M25817@...3639...> <9dc81117-2ca9-b681-1ce9-a0b3e5e3e0a5@...1...> <587DC72E.3030703@...3629...> Message-ID: <20b84d7d-202b-d548-ebc1-6a83db002286@...1...> Le 17/01/2017 ? 08:26, Rolf-Werner Eilert a ?crit : > > Where does the webform store the values until the next call? And can it > remember calls from different users? > > Regards > Rolf > This is exactly what is named a "session". A session in Gambas is a collection that is associated with an HTTP cookie. With gb.web.form, the session is automatically created for each user that connect to the application. It automatically remembers the variables associated with the webforms. It is up to you to implement a login/password check to identify the user, and modify your application according to its rights. Regards, -- Beno?t Minisini From gambas at ...1... Sat Jan 21 19:49:32 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 21 Jan 2017 19:49:32 +0100 Subject: [Gambas-user] Form Action & Method (GET/POST) properties ? In-Reply-To: <1484630531301-58263.post@...3046...> References: <1484630531301-58263.post@...3046...> Message-ID: <2997ca2a-0e4d-6100-bb83-420d9a9c74f2@...1...> Le 17/01/2017 ? 06:22, Vinode Singh Ujlain a ?crit : > At the outset , pardon me for asking some very elementary questions. (a) How > / where do I specify a webform's action (URL) & method (GET/POST) properties > ?(b) How do I navigate away from webform1 --> webpage1 when submit button on > webform1 is pressed ?skeleton sample (login form) placed at attachment. > w1.zip > All webforms are displayed in the same browser page. The browser is actually used like a sophisticated graphical terminal. So, you normally don't care with GET / POST method, you don't implements HTTP forms, and you use one main webform and webform dialogs. If you need to handle the request at low level, you can implement the static public method "HandleRequest" in your startup webform. In the method, you ust the Request and Response object of the gb.web component. A gb.web.form application is a gb.web application. Regards, -- Beno?t Minisini From bagonergi at ...626... Sat Jan 21 20:15:25 2017 From: bagonergi at ...626... (Gianluigi) Date: Sat, 21 Jan 2017 20:15:25 +0100 Subject: [Gambas-user] With Date one day less In-Reply-To: <34361340-1a3e-7b6c-261b-75eeba01088c@...1...> References: <1485017483.4455.2.camel@...3609...> <34361340-1a3e-7b6c-261b-75eeba01088c@...1...> Message-ID: Hi Benoit, You are always very kind, your explanation has allowed me to understand. The string data is assumed at 00:00:00 and therefore one hour back from the day before. If I had written '--------------------------------- Public Sub Main() Dim d1 As Date d1 = "6/15/2008 01:00:00" Print Format$(d1, "dd mm yyyy") ' > 15 06 2008 End '---------------------------------- I got the right date being an hour ahead of us. Thank you very much Regards Gianluigi 2017-01-21 19:34 GMT+01:00 Beno?t Minisini : > Le 21/01/2017 ? 19:22, Gianluigi a ?crit : > > Hi Charlie, > > > > I thank for the answer and will do so too. > > But my poor mind cannot comprehend the question of time zone. > > > > Regards > > Gianluigi > > > > > > If you convert a string to a date, then the string is assumed to be an > UTC time, *not* a local time. > > To convert a local time as a string to a date, you must use the Val() > function. Or, as Karl said, you can use the Date() function if you have > the date split into its different components. > > It's exactly the same with numbers! > > CStr() and CFloat() assume the american format (which is like "UTC" for > numbers). > > Str() and Val() assume the local format. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Sat Jan 21 21:56:41 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 21 Jan 2017 20:56:41 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1071: Format error generates error (ctrl + may + F) Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1071&from=L21haW4- V?ctor PEREZ reported a new bug. Summary ------- Format error generates error (ctrl + may + F) Type : Bug Priority : Low Gambas version : 3.9 Product : Bugtracker Description ----------- Format error generates error (ctrl + may + F) Before formatting: Dim Tablas As String [] = ["Genesis", "Exodus", "Leviticus", "Numbers", "Deuteronomy", "Judges," "Ruth," "Ezra," "Nehemiah," "Esther," "Ecclesiastes," "Songs," "Lamentations," "Daniel," "Hosea," "Joel," "Amos," "Abdias," "Jonah," "Micah," "Nahum," "Habakkuk," "Zephaniah," "Haggai," "Zechariah," "Malachi," "Matthew", "Mark", "Luke", "John", "Acts", "Romans", "1Corinthians", "2Corinthians", "Galatians," "Ephesians," "Philippians," "Colossians," "1 Thessalonians," "2 Thessalonians," "1 Timothy", "2 Timothy", "Titus", "Philemon", "Hebrews", "James", "1Peter", "2Peter" "1Juan", "2Juan", "3Juan", "Judas", "Apocalypse"] After formatting: (creates an empty line that produces the error when executing program) Dim Tablas As String [] = ["Genesis", "Exodus", "Leviticus", "Numbers", "Deuteronomy", (Empty line that produces error) "Judges," "Ruth," "Ezra," "Nehemiah," "Esther," "Ecclesiastes," "Songs," "Lamentations," "Daniel," "Hosea," "Joel," "Amos," "Abdias," "Jonah," "Micah," "Nahum," "Habakkuk," "Zephaniah," "Haggai," "Zechariah," "Malachi," "Matthew", "Mark", "Luke", "John", "Acts", "Romans", "1Corinthians", "2Corinthians", "Galatians," "Ephesians," "Philippians," "Colossians," "1 Thessalonians," "2 Thessalonians," "1 Timothy", "2 Timothy", "Titus", "Philemon", "Hebrews", "James", "1Peter", "2Peter" "1Juan", "2Juan", "3Juan", "Judas", "Apocalypse"] System information ------------------ http://novatocodegambas.blogspot.com.uy/ https://sourceforge.net/projects/visorrv1960/ https://sourceforge.net/projects/taller2015/ https://sourceforge.net/projects/asistentetm/ https://sourceforge.net/projects/tanteadortenisdemesa/ From bugtracker at ...3416... Sat Jan 21 22:15:04 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 21 Jan 2017 21:15:04 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1059: Compilation fails with Qt 5.7 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1059&from=L21haW4- Comment #11 by Beno?t MINISINI: It should be fixed in revision #8061. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Sat Jan 21 22:18:53 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 21 Jan 2017 21:18:53 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1070: Error while trying to publish a project In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1070&from=L21haW4- Comment #1 by Beno?t MINISINI: Please remove the links from your system information, and put... information about your system instead! Thanks. From buster6seven at ...626... Mon Jan 23 06:48:12 2017 From: buster6seven at ...626... (Shane) Date: Mon, 23 Jan 2017 16:48:12 +1100 Subject: [Gambas-user] Grabbed Message-ID: <2e162f14-6aac-fc0a-23f1-5f8899e62c3f@...626...> Any word on getting the Window.Grabbed property for SDL2? From rwe-sse at ...3629... Mon Jan 23 12:33:55 2017 From: rwe-sse at ...3629... (Rolf-Werner Eilert) Date: Mon, 23 Jan 2017 12:33:55 +0100 Subject: [Gambas-user] variable in WebForm not remember In-Reply-To: <20b84d7d-202b-d548-ebc1-6a83db002286@...1...> References: <20170115172047.M30180@...3639...> <344b43b1-d49d-f508-fdfd-63bab336ad1e@...1...> <20170116001212.M25817@...3639...> <9dc81117-2ca9-b681-1ce9-a0b3e5e3e0a5@...1...> <587DC72E.3030703@...3629...> <20b84d7d-202b-d548-ebc1-6a83db002286@...1...> Message-ID: <5885EA23.90507@...3629...> Am 21.01.2017 19:46, schrieb Beno?t Minisini: > Le 17/01/2017 ? 08:26, Rolf-Werner Eilert a ?crit : >> >> Where does the webform store the values until the next call? And can it >> remember calls from different users? >> >> Regards >> Rolf >> > > This is exactly what is named a "session". > > A session in Gambas is a collection that is associated with an HTTP cookie. > > With gb.web.form, the session is automatically created for each user > that connect to the application. It automatically remembers the > variables associated with the webforms. > > It is up to you to implement a login/password check to identify the > user, and modify your application according to its rights. > > Regards, > Ah, very interesting concept. So if I don't want a personal check, I can rely on the webform to automagically serve different users. :) Regards Rolf From rwe-sse at ...3629... Mon Jan 23 18:41:29 2017 From: rwe-sse at ...3629... (Rolf-Werner Eilert) Date: Mon, 23 Jan 2017 18:41:29 +0100 Subject: [Gambas-user] How to get started with WebView Message-ID: <58864049.5040309@...3629...> Hi, I have 3.9.2 installed and started a new project as WebView project. Then added WebForm from the components. Then added a new form called Webform1. Then added a button, text area etc. When I press start, I get a Konqueror instance showing the example table from the Main.webpage. But there is nothing to see from the Webform. I guess I have to call the Webform from the Main.webpage somehow, but how? Or am I totally wrong here? Thanks for your insight! Regards Rolf From gambas at ...1... Mon Jan 23 20:28:55 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 23 Jan 2017 20:28:55 +0100 Subject: [Gambas-user] How to get started with WebView In-Reply-To: <58864049.5040309@...3629...> References: <58864049.5040309@...3629...> Message-ID: <89ddb1e0-3b29-e2e0-e7cf-f473ed4bf750@...1...> Le 23/01/2017 ? 18:41, Rolf-Werner Eilert a ?crit : > Hi, > > I have 3.9.2 installed and started a new project as WebView project. > > Then added WebForm from the components. > > Then added a new form called Webform1. > > Then added a button, text area etc. > > When I press start, I get a Konqueror instance showing the example table > from the Main.webpage. But there is nothing to see from the Webform. > > I guess I have to call the Webform from the Main.webpage somehow, but > how? Or am I totally wrong here? > > Thanks for your insight! > > Regards > Rolf > Are you using gb.web or gb.web.form? If you use gb.web only: Remove the Main.webpage, and make your own webpage the startup form. If you have several forms, and want to decide which one to show, you have to create a startup module (or class), and from the Main() function, you have to analyze the Request object, and decide which form to show by calling the Render() method of the form. The Render() method will use the Response class to send back to the browser the page contents. Regards, -- Beno?t Minisini From rwe-sse at ...3629... Tue Jan 24 10:11:17 2017 From: rwe-sse at ...3629... (Rolf-Werner Eilert) Date: Tue, 24 Jan 2017 10:11:17 +0100 Subject: [Gambas-user] How to get started with WebView In-Reply-To: <89ddb1e0-3b29-e2e0-e7cf-f473ed4bf750@...1...> References: <58864049.5040309@...3629...> <89ddb1e0-3b29-e2e0-e7cf-f473ed4bf750@...1...> Message-ID: <58871A35.4040203@...3629...> Am 23.01.2017 20:28, schrieb Beno?t Minisini: > Le 23/01/2017 ? 18:41, Rolf-Werner Eilert a ?crit : >> Hi, >> >> I have 3.9.2 installed and started a new project as WebView project. >> >> Then added WebForm from the components. >> >> Then added a new form called Webform1. >> >> Then added a button, text area etc. >> >> When I press start, I get a Konqueror instance showing the example table >> from the Main.webpage. But there is nothing to see from the Webform. >> >> I guess I have to call the Webform from the Main.webpage somehow, but >> how? Or am I totally wrong here? >> >> Thanks for your insight! >> >> Regards >> Rolf >> > > Are you using gb.web or gb.web.form? > > If you use gb.web only: > > Remove the Main.webpage, and make your own webpage the startup form. > > If you have several forms, and want to decide which one to show, you > have to create a startup module (or class), and from the Main() > function, you have to analyze the Request object, and decide which form > to show by calling the Render() method of the form. The Render() method > will use the Response class to send back to the browser the page contents. > > Regards, > Thank you for the tip with the startup form. I made Webform1.webform the startup form, now I get a response with the webform. But I haven't tried Render() and Response class yet, just played around a bit with a button, text area and label. Whenever I start, I get two errors in the konsole window: gb.httpd: bind 0.0.0.0 - Address already in use gbx3: warning: cannot switch to language 'de.UTF-8': No such file or directory. Did you install the corresponding locale packages? Anything to worry about? Regards Rolf From gambas at ...1... Tue Jan 24 10:36:16 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 24 Jan 2017 10:36:16 +0100 Subject: [Gambas-user] How to get started with WebView In-Reply-To: <58871A35.4040203@...3629...> References: <58864049.5040309@...3629...> <89ddb1e0-3b29-e2e0-e7cf-f473ed4bf750@...1...> <58871A35.4040203@...3629...> Message-ID: <7ab4eb0b-8bf4-b76b-d616-d08a59a65030@...1...> Le 24/01/2017 ? 10:11, Rolf-Werner Eilert a ?crit : > Am 23.01.2017 20:28, schrieb Beno?t Minisini: >> Le 23/01/2017 ? 18:41, Rolf-Werner Eilert a ?crit : >>> Hi, >>> >>> I have 3.9.2 installed and started a new project as WebView project. >>> >>> Then added WebForm from the components. >>> >>> Then added a new form called Webform1. >>> >>> Then added a button, text area etc. >>> >>> When I press start, I get a Konqueror instance showing the example table >>> from the Main.webpage. But there is nothing to see from the Webform. >>> >>> I guess I have to call the Webform from the Main.webpage somehow, but >>> how? Or am I totally wrong here? >>> >>> Thanks for your insight! >>> >>> Regards >>> Rolf >>> >> >> Are you using gb.web or gb.web.form? >> >> If you use gb.web only: >> >> Remove the Main.webpage, and make your own webpage the startup form. >> >> If you have several forms, and want to decide which one to show, you >> have to create a startup module (or class), and from the Main() >> function, you have to analyze the Request object, and decide which form >> to show by calling the Render() method of the form. The Render() method >> will use the Response class to send back to the browser the page contents. >> >> Regards, >> > > Thank you for the tip with the startup form. I made Webform1.webform the > startup form, now I get a response with the webform. But I haven't tried > Render() and Response class yet, just played around a bit with a button, > text area and label. You are confused. I said "if you use gb.web only". Response and Request are the low-level class of the gb.web component. If you make a 'gb.web.form' application, you have less use of them, are most of the things are managed directly by the gb.web.form component. > > Whenever I start, I get two errors in the konsole window: > > gb.httpd: bind 0.0.0.0 - Address already in use > gbx3: warning: cannot switch to language 'de.UTF-8': No such file or > directory. Did you install the corresponding locale packages? > > Anything to worry about? The first message is not important. I didn't take the time to see why the 'gb.httpd' component always display it. The second message means that your web browser has requested the german language, and that the german localization is not installed on your system. Regards, -- Beno?t Minisini From rwe-sse at ...3629... Tue Jan 24 11:24:42 2017 From: rwe-sse at ...3629... (Rolf-Werner Eilert) Date: Tue, 24 Jan 2017 11:24:42 +0100 Subject: [Gambas-user] How to get started with WebView In-Reply-To: <7ab4eb0b-8bf4-b76b-d616-d08a59a65030@...1...> References: <58864049.5040309@...3629...> <89ddb1e0-3b29-e2e0-e7cf-f473ed4bf750@...1...> <58871A35.4040203@...3629...> <7ab4eb0b-8bf4-b76b-d616-d08a59a65030@...1...> Message-ID: <58872B6A.6000100@...3629...> Am 24.01.2017 10:36, schrieb Beno?t Minisini: > Le 24/01/2017 ? 10:11, Rolf-Werner Eilert a ?crit : >> Am 23.01.2017 20:28, schrieb Beno?t Minisini: >>> Le 23/01/2017 ? 18:41, Rolf-Werner Eilert a ?crit : >>>> Hi, >>>> >>>> I have 3.9.2 installed and started a new project as WebView project. >>>> >>>> Then added WebForm from the components. >>>> >>>> Then added a new form called Webform1. >>>> >>>> Then added a button, text area etc. >>>> >>>> When I press start, I get a Konqueror instance showing the example table >>>> from the Main.webpage. But there is nothing to see from the Webform. >>>> >>>> I guess I have to call the Webform from the Main.webpage somehow, but >>>> how? Or am I totally wrong here? >>>> >>>> Thanks for your insight! >>>> >>>> Regards >>>> Rolf >>>> >>> >>> Are you using gb.web or gb.web.form? >>> >>> If you use gb.web only: >>> >>> Remove the Main.webpage, and make your own webpage the startup form. >>> >>> If you have several forms, and want to decide which one to show, you >>> have to create a startup module (or class), and from the Main() >>> function, you have to analyze the Request object, and decide which form >>> to show by calling the Render() method of the form. The Render() method >>> will use the Response class to send back to the browser the page contents. >>> >>> Regards, >>> >> >> Thank you for the tip with the startup form. I made Webform1.webform the >> startup form, now I get a response with the webform. But I haven't tried >> Render() and Response class yet, just played around a bit with a button, >> text area and label. > > You are confused. I said "if you use gb.web only". Ah ok. > > Response and Request are the low-level class of the gb.web component. > > If you make a 'gb.web.form' application, you have less use of them, are > most of the things are managed directly by the gb.web.form component. Now I got it. When I make a gb.web.form application, I just mark one of the forms as startup class (as I did) and add all control code for the application there, just as I would do with a normal GUI application, right? > >> >> Whenever I start, I get two errors in the konsole window: >> >> gb.httpd: bind 0.0.0.0 - Address already in use >> gbx3: warning: cannot switch to language 'de.UTF-8': No such file or >> directory. Did you install the corresponding locale packages? >> >> Anything to worry about? > > The first message is not important. I didn't take the time to see why > the 'gb.httpd' component always display it. > > The second message means that your web browser has requested the german > language, and that the german localization is not installed on your system. > > Regards, > Ok, when I press Start, Konqueror comes up, and usually I don't use that browser. So maybe there's something wrong with it, but for the time being I can live with it. Regards Rolf From gambas at ...1... Tue Jan 24 11:27:40 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 24 Jan 2017 11:27:40 +0100 Subject: [Gambas-user] How to get started with WebView In-Reply-To: <58872B6A.6000100@...3629...> References: <58864049.5040309@...3629...> <89ddb1e0-3b29-e2e0-e7cf-f473ed4bf750@...1...> <58871A35.4040203@...3629...> <7ab4eb0b-8bf4-b76b-d616-d08a59a65030@...1...> <58872B6A.6000100@...3629...> Message-ID: Le 24/01/2017 ? 11:24, Rolf-Werner Eilert a ?crit : > > Now I got it. When I make a gb.web.form application, I just mark one of > the forms as startup class (as I did) and add all control code for the > application there, just as I would do with a normal GUI application, right? Yes. But you must read my other posts about gb.web.form on the mailing-list! > > Ok, when I press Start, Konqueror comes up, and usually I don't use that > browser. So maybe there's something wrong with it, but for the time > being I can live with it. > > Regards > Rolf > You can choose your browser in the IDE option dialog. Regards, -- Beno?t Minisini From gambas at ...1... Tue Jan 24 23:06:43 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 24 Jan 2017 23:06:43 +0100 Subject: [Gambas-user] Grabbed In-Reply-To: <2e162f14-6aac-fc0a-23f1-5f8899e62c3f@...626...> References: <2e162f14-6aac-fc0a-23f1-5f8899e62c3f@...626...> Message-ID: Le 23/01/2017 ? 06:48, Shane a ?crit : > Any word on getting the Window.Grabbed property for SDL2? > Added in revision #8062. Regards, -- Beno?t Minisini From bugtracker at ...3416... Tue Jan 24 23:10:51 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 24 Jan 2017 22:10:51 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1066: Interpreter crash on removing database index In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1066&from=L21haW4- Comment #3 by Beno?t MINISINI: Do you mean gb.db.mysql? What was the name of the table and the name of the index? Beno?t MINISINI changed the state of the bug to: NeedsInfo. From buster6seven at ...626... Tue Jan 24 23:18:48 2017 From: buster6seven at ...626... (Shane) Date: Wed, 25 Jan 2017 09:18:48 +1100 Subject: [Gambas-user] Grabbed In-Reply-To: References: <2e162f14-6aac-fc0a-23f1-5f8899e62c3f@...626...> Message-ID: Thanks Beno?t On 25/01/17 09:06, Beno?t Minisini wrote: > Le 23/01/2017 ? 06:48, Shane a ?crit : >> Any word on getting the Window.Grabbed property for SDL2? >> > Added in revision #8062. > > Regards, > From bugtracker at ...3416... Wed Jan 25 05:21:17 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 25 Jan 2017 04:21:17 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1066: Interpreter crash on removing database index In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1066&from=L21haW4- Comment #4 by Safiur RAHMAN: Hi Benoit I am sending you a sample project. From bugtracker at ...3416... Wed Jan 25 05:21:53 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 25 Jan 2017 04:21:53 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1066: Interpreter crash on removing database index In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1066&from=L21haW4- Safiur RAHMAN added an attachment: imagedatabase.tar.gz From bugtracker at ...3416... Wed Jan 25 05:23:28 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 25 Jan 2017 04:23:28 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1066: Interpreter crash on removing database index In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1066&from=L21haW4- Comment #5 by Safiur RAHMAN: Yes it is gb.db.mysql From bill-lancaster at ...2231... Wed Jan 25 13:10:18 2017 From: bill-lancaster at ...2231... (bill-lancaster) Date: Wed, 25 Jan 2017 05:10:18 -0700 (MST) Subject: [Gambas-user] detecting menus actions Message-ID: <1485346218905-58302.post@...3046...> Is it possible to log which menu items have been selected? In other words, can I create a general event to catch and identify menu activity? Gambas 3.8.2 -- View this message in context: http://gambas.8142.n7.nabble.com/detecting-menus-actions-tp58302.html Sent from the gambas-user mailing list archive at Nabble.com. From rwe-sse at ...3629... Wed Jan 25 15:23:45 2017 From: rwe-sse at ...3629... (Rolf-Werner Eilert) Date: Wed, 25 Jan 2017 15:23:45 +0100 Subject: [Gambas-user] detecting menus actions In-Reply-To: <1485346218905-58302.post@...3046...> References: <1485346218905-58302.post@...3046...> Message-ID: <5888B4F1.5090206@...3629...> Am 25.01.2017 13:10, schrieb bill-lancaster: > Is it possible to log which menu items have been selected? > In other words, can I create a general event to catch and identify menu > activity? > > Gambas 3.8.2 > > Maybe it's possible via a group name? From gambas.fr at ...626... Wed Jan 25 15:30:57 2017 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 25 Jan 2017 15:30:57 +0100 Subject: [Gambas-user] detecting menus actions In-Reply-To: <5888B4F1.5090206@...3629...> References: <1485346218905-58302.post@...3046...> <5888B4F1.5090206@...3629...> Message-ID: Yes you can ... just put a value in tag property to know witch menu is selected and use a group name 2017-01-25 15:23 GMT+01:00 Rolf-Werner Eilert : > Am 25.01.2017 13:10, schrieb bill-lancaster: >> Is it possible to log which menu items have been selected? >> In other words, can I create a general event to catch and identify menu >> activity? >> >> Gambas 3.8.2 >> >> > > > Maybe it's possible via a group name? > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From rwe-sse at ...3629... Wed Jan 25 15:33:33 2017 From: rwe-sse at ...3629... (Rolf-Werner Eilert) Date: Wed, 25 Jan 2017 15:33:33 +0100 Subject: [Gambas-user] How to get started with WebView In-Reply-To: References: <58864049.5040309@...3629...> <89ddb1e0-3b29-e2e0-e7cf-f473ed4bf750@...1...> <58871A35.4040203@...3629...> <7ab4eb0b-8bf4-b76b-d616-d08a59a65030@...1...> <58872B6A.6000100@...3629...> Message-ID: <5888B73D.9070103@...3629...> This thing is awesome, Benoit! Am 24.01.2017 11:27, schrieb Beno?t Minisini: > Le 24/01/2017 ? 11:24, Rolf-Werner Eilert a ?crit : >> >> Now I got it. When I make a gb.web.form application, I just mark one of >> the forms as startup class (as I did) and add all control code for the >> application there, just as I would do with a normal GUI application, right? > > Yes. But you must read my other posts about gb.web.form on the mailing-list! Well, actually I followed the discussions here over the last weeks, but it's only now that I find the time to play around with it a bit. Within minutes, I could group the most important elements to form something like web version of my students database. Though the help texts are missing, I could find most of the functionality by guessing. It's amazing to see how communication runs from Gambas to the browser and back. The only thing I could not make out is how to control the tableview. As there is no treeview and no listview, I would use tableview to replace both of them. No real problem, but - How can I determine the number of rows and columns - How can I add contents - How can I delete contents / rows Could you explain in a few lines? Regards Rolf From gambas at ...1... Wed Jan 25 15:45:24 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 25 Jan 2017 15:45:24 +0100 Subject: [Gambas-user] How to get started with WebView In-Reply-To: <5888B73D.9070103@...3629...> References: <58864049.5040309@...3629...> <89ddb1e0-3b29-e2e0-e7cf-f473ed4bf750@...1...> <58871A35.4040203@...3629...> <7ab4eb0b-8bf4-b76b-d616-d08a59a65030@...1...> <58872B6A.6000100@...3629...> <5888B73D.9070103@...3629...> Message-ID: Le 25/01/2017 ? 15:33, Rolf-Werner Eilert a ?crit : > > The only thing I could not make out is how to control the tableview. As > there is no treeview and no listview, I would use tableview to replace > both of them. No real problem, but > > - How can I determine the number of rows and columns > - How can I add contents > - How can I delete contents / rows > > Could you explain in a few lines? > > Regards > Rolf > WebTableView does not store any contents. It just raises a 'Data' event for each cell, and you must fill the 'Data' argument of the event handler with the cell contents. But before that, you have to define the number of rows and columns. The number of rows is defined by the WebTableView.Count property. The number of columns is defined by successive calls to the WebTableView.AddColumn(,[<width>,<alignment>]) method, or by setting the WebTableVieW.Columns.Count property and the properties of each column. The WebTableView displays only the first 100 rows. It loads the other rows when scrolling as needed. If you want to add or delete rows, you have to redefine the Count property. That will trigger a refresh, and call the Data event accordingly. The Mode property allows to switch between no selection / single selection / multiple selection modes. There is no column click / sorting feature yet. Regards, -- Beno?t Minisini From rwe-sse at ...3629... Wed Jan 25 16:19:01 2017 From: rwe-sse at ...3629... (Rolf-Werner Eilert) Date: Wed, 25 Jan 2017 16:19:01 +0100 Subject: [Gambas-user] How to get started with WebView In-Reply-To: <eb1e202a-78b6-8ea2-451e-a4a110405eac@...1...> References: <58864049.5040309@...3629...> <89ddb1e0-3b29-e2e0-e7cf-f473ed4bf750@...1...> <58871A35.4040203@...3629...> <7ab4eb0b-8bf4-b76b-d616-d08a59a65030@...1...> <58872B6A.6000100@...3629...> <c4f5b1ba-62e7-859d-8317-ddd3d09e44f5@...1...> <5888B73D.9070103@...3629...> <eb1e202a-78b6-8ea2-451e-a4a110405eac@...1...> Message-ID: <5888C1E5.5050805@...3629...> Am 25.01.2017 15:45, schrieb Beno?t Minisini: > Le 25/01/2017 ? 15:33, Rolf-Werner Eilert a ?crit : >> >> The only thing I could not make out is how to control the tableview. As >> there is no treeview and no listview, I would use tableview to replace >> both of them. No real problem, but >> >> - How can I determine the number of rows and columns >> - How can I add contents >> - How can I delete contents / rows >> >> Could you explain in a few lines? >> >> Regards >> Rolf >> > > WebTableView does not store any contents. It just raises a 'Data' event > for each cell, and you must fill the 'Data' argument of the event > handler with the cell contents. > > But before that, you have to define the number of rows and columns. > > The number of rows is defined by the WebTableView.Count property. > > The number of columns is defined by successive calls to the > WebTableView.AddColumn(<title>,[<width>,<alignment>]) method, or by > setting the WebTableVieW.Columns.Count property and the properties of > each column. > > The WebTableView displays only the first 100 rows. It loads the other > rows when scrolling as needed. > > If you want to add or delete rows, you have to redefine the Count > property. That will trigger a refresh, and call the Data event accordingly. > > The Mode property allows to switch between no selection / single > selection / multiple selection modes. > > There is no column click / sorting feature yet. > > Regards, > Thank you very much, that makes it much clearer. Now I have a Button1 and a WebTable1 Public Sub WebButton1_Click() WebLabel1.Text = "Button geklickt" WebTable1.AddColumn("Spalte 1") WebTable1.AddColumn("Spalte 2") WebTable1.Count = 5 End Public Sub WebTable1_Data(Row As Integer, Column As Integer, Data As WebTableData) Data = CStr(Row) & "-" & CStr(Column) End But it says "circular reference detected", and nothing appears in the tableview. What is wrong? Rolf From gambas at ...1... Wed Jan 25 16:24:53 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 25 Jan 2017 16:24:53 +0100 Subject: [Gambas-user] How to get started with WebView In-Reply-To: <5888C1E5.5050805@...3629...> References: <58864049.5040309@...3629...> <89ddb1e0-3b29-e2e0-e7cf-f473ed4bf750@...1...> <58871A35.4040203@...3629...> <7ab4eb0b-8bf4-b76b-d616-d08a59a65030@...1...> <58872B6A.6000100@...3629...> <c4f5b1ba-62e7-859d-8317-ddd3d09e44f5@...1...> <5888B73D.9070103@...3629...> <eb1e202a-78b6-8ea2-451e-a4a110405eac@...1...> <5888C1E5.5050805@...3629...> Message-ID: <6dc0c73d-72b8-5b2b-db9b-78db658d017d@...1...> Le 25/01/2017 ? 16:19, Rolf-Werner Eilert a ?crit : > > Thank you very much, that makes it much clearer. Now I have a Button1 > and a WebTable1 > > Public Sub WebButton1_Click() > > WebLabel1.Text = "Button geklickt" > > WebTable1.AddColumn("Spalte 1") > WebTable1.AddColumn("Spalte 2") > WebTable1.Count = 5 > > End > > > Public Sub WebTable1_Data(Row As Integer, Column As Integer, Data As > WebTableData) > > Data = CStr(Row) & "-" & CStr(Column) > > End > > But it says "circular reference detected", and nothing appears in the > tableview. What is wrong? > > Rolf > No idea, send your project! -- Beno?t Minisini From bagonergi at ...626... Wed Jan 25 17:15:35 2017 From: bagonergi at ...626... (Gianluigi) Date: Wed, 25 Jan 2017 17:15:35 +0100 Subject: [Gambas-user] detecting menus actions In-Reply-To: <CAFkCsL6LcnY-KZ_Y_=hJHwgU+Hv9SKH8UPPwNGaeAgTrU9QYbA@...627...> References: <1485346218905-58302.post@...3046...> <5888B4F1.5090206@...3629...> <CAFkCsL6LcnY-KZ_Y_=hJHwgU+Hv9SKH8UPPwNGaeAgTrU9QYbA@...627...> Message-ID: <CAJ2rqFbiRrdsreE+ca8vgmO8OOT1veXL8amD=KzXzyiUTny5Hg@...627...> Hi Bill, I think they intend to suggest something like this, see attached. Regards Gianluigi 2017-01-25 15:30 GMT+01:00 Fabien Bodard <gambas.fr at ...626...>: > Yes you can ... just put a value in tag property to know witch menu is > selected and use a group name > > 2017-01-25 15:23 GMT+01:00 Rolf-Werner Eilert <rwe-sse at ...3629...>: > > Am 25.01.2017 13:10, schrieb bill-lancaster: > >> Is it possible to log which menu items have been selected? > >> In other words, can I create a general event to catch and identify menu > >> activity? > >> > >> Gambas 3.8.2 > >> > >> > > > > > > Maybe it's possible via a group name? > > > > > > > > ------------------------------------------------------------ > ------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- A non-text attachment was scrubbed... Name: MenuGroupTag-0.0.1.tar.gz Type: application/x-gzip Size: 11671 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20170125/d7d8da51/attachment.bin> From rwe-sse at ...3629... Wed Jan 25 17:23:08 2017 From: rwe-sse at ...3629... (Rolf-Werner Eilert) Date: Wed, 25 Jan 2017 17:23:08 +0100 Subject: [Gambas-user] How to get started with WebView In-Reply-To: <6dc0c73d-72b8-5b2b-db9b-78db658d017d@...1...> References: <58864049.5040309@...3629...> <89ddb1e0-3b29-e2e0-e7cf-f473ed4bf750@...1...> <58871A35.4040203@...3629...> <7ab4eb0b-8bf4-b76b-d616-d08a59a65030@...1...> <58872B6A.6000100@...3629...> <c4f5b1ba-62e7-859d-8317-ddd3d09e44f5@...1...> <5888B73D.9070103@...3629...> <eb1e202a-78b6-8ea2-451e-a4a110405eac@...1...> <5888C1E5.5050805@...3629...> <6dc0c73d-72b8-5b2b-db9b-78db658d017d@...1...> Message-ID: <5888D0EC.8010706@...3629...> Am 25.01.2017 16:24, schrieb Beno?t Minisini: > Le 25/01/2017 ? 16:19, Rolf-Werner Eilert a ?crit : >> >> Thank you very much, that makes it much clearer. Now I have a Button1 >> and a WebTable1 >> >> Public Sub WebButton1_Click() >> >> WebLabel1.Text = "Button geklickt" >> >> WebTable1.AddColumn("Spalte 1") >> WebTable1.AddColumn("Spalte 2") >> WebTable1.Count = 5 >> >> End >> >> >> Public Sub WebTable1_Data(Row As Integer, Column As Integer, Data As >> WebTableData) >> >> Data = CStr(Row) & "-" & CStr(Column) >> >> End >> >> But it says "circular reference detected", and nothing appears in the >> tableview. What is wrong? >> >> Rolf >> > > No idea, send your project! > Ah! Now it says "Type mismatch: Wanted WebTableData, got String instead" So, what is WebTableData? Rolf From gambas at ...1... Wed Jan 25 17:29:59 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 25 Jan 2017 17:29:59 +0100 Subject: [Gambas-user] How to get started with WebView In-Reply-To: <5888D0EC.8010706@...3629...> References: <58864049.5040309@...3629...> <89ddb1e0-3b29-e2e0-e7cf-f473ed4bf750@...1...> <58871A35.4040203@...3629...> <7ab4eb0b-8bf4-b76b-d616-d08a59a65030@...1...> <58872B6A.6000100@...3629...> <c4f5b1ba-62e7-859d-8317-ddd3d09e44f5@...1...> <5888B73D.9070103@...3629...> <eb1e202a-78b6-8ea2-451e-a4a110405eac@...1...> <5888C1E5.5050805@...3629...> <6dc0c73d-72b8-5b2b-db9b-78db658d017d@...1...> <5888D0EC.8010706@...3629...> Message-ID: <a4f89651-213d-4c83-3667-941ecfe8f5e0@...1...> Le 25/01/2017 ? 17:23, Rolf-Werner Eilert a ?crit : > > Ah! Now it says "Type mismatch: Wanted WebTableData, got String instead" > > So, what is WebTableData? > > Rolf > It's the datatype of the 'Data' argument of the WebTable 'Data' event handler. -- Beno?t Minisini From bagonergi at ...626... Wed Jan 25 17:53:00 2017 From: bagonergi at ...626... (Gianluigi) Date: Wed, 25 Jan 2017 17:53:00 +0100 Subject: [Gambas-user] Double Click not open Gambas project in Gnome shell Message-ID: <CAJ2rqFY19OsVm643p_bmr1F6f0EeeJU1RsqjWBxZC=5EEahuww@...627...> A friend of ours with Arch Linux Gnome shell can not start with a double click the .gambas projects. If he using terminal "gbr3 xxx.gambas" the project opens. Does anyone know how to do? Regards Gianluigi From rwe-sse at ...3629... Wed Jan 25 17:54:27 2017 From: rwe-sse at ...3629... (Rolf-Werner Eilert) Date: Wed, 25 Jan 2017 17:54:27 +0100 Subject: [Gambas-user] How to get started with WebView In-Reply-To: <a4f89651-213d-4c83-3667-941ecfe8f5e0@...1...> References: <58864049.5040309@...3629...> <89ddb1e0-3b29-e2e0-e7cf-f473ed4bf750@...1...> <58871A35.4040203@...3629...> <7ab4eb0b-8bf4-b76b-d616-d08a59a65030@...1...> <58872B6A.6000100@...3629...> <c4f5b1ba-62e7-859d-8317-ddd3d09e44f5@...1...> <5888B73D.9070103@...3629...> <eb1e202a-78b6-8ea2-451e-a4a110405eac@...1...> <5888C1E5.5050805@...3629...> <6dc0c73d-72b8-5b2b-db9b-78db658d017d@...1...> <5888D0EC.8010706@...3629...> <a4f89651-213d-4c83-3667-941ecfe8f5e0@...1...> Message-ID: <5888D843.6030303@...3629...> Am 25.01.2017 17:29, schrieb Beno?t Minisini: > Le 25/01/2017 ? 17:23, Rolf-Werner Eilert a ?crit : >> >> Ah! Now it says "Type mismatch: Wanted WebTableData, got String instead" >> >> So, what is WebTableData? >> >> Rolf >> > > It's the datatype of the 'Data' argument of the WebTable 'Data' event > handler. > Yes, but what is expected by it? How is it defined? The online help isn't there yet ;) I thought "put in a string, what else?" But obviously, WebTableData is something else... Regards Rolf From gambas.fr at ...626... Wed Jan 25 17:55:41 2017 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 25 Jan 2017 17:55:41 +0100 Subject: [Gambas-user] detecting menus actions In-Reply-To: <CAJ2rqFbiRrdsreE+ca8vgmO8OOT1veXL8amD=KzXzyiUTny5Hg@...627...> References: <1485346218905-58302.post@...3046...> <5888B4F1.5090206@...3629...> <CAFkCsL6LcnY-KZ_Y_=hJHwgU+Hv9SKH8UPPwNGaeAgTrU9QYbA@...627...> <CAJ2rqFbiRrdsreE+ca8vgmO8OOT1veXL8amD=KzXzyiUTny5Hg@...627...> Message-ID: <CAFkCsL4OpnViDKcJ_p4=OH5zX_TE+8J1uJH8bDb=cF4Np3_8cw@...627...> yes :-) 2017-01-25 17:15 GMT+01:00 Gianluigi <bagonergi at ...626...>: > Hi Bill, > > I think they intend to suggest something like this, see attached. > > Regards > Gianluigi > > 2017-01-25 15:30 GMT+01:00 Fabien Bodard <gambas.fr at ...626...>: > >> Yes you can ... just put a value in tag property to know witch menu is >> selected and use a group name >> >> 2017-01-25 15:23 GMT+01:00 Rolf-Werner Eilert <rwe-sse at ...3629...>: >> > Am 25.01.2017 13:10, schrieb bill-lancaster: >> >> Is it possible to log which menu items have been selected? >> >> In other words, can I create a general event to catch and identify menu >> >> activity? >> >> >> >> Gambas 3.8.2 >> >> >> >> >> > >> > >> > Maybe it's possible via a group name? >> > >> > >> > >> > ------------------------------------------------------------ >> ------------------ >> > Check out the vibrant tech community on one of the world's most >> > engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> -- >> Fabien Bodard >> >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From gambas at ...1... Wed Jan 25 17:58:20 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 25 Jan 2017 17:58:20 +0100 Subject: [Gambas-user] How to get started with WebView In-Reply-To: <5888D843.6030303@...3629...> References: <58864049.5040309@...3629...> <89ddb1e0-3b29-e2e0-e7cf-f473ed4bf750@...1...> <58871A35.4040203@...3629...> <7ab4eb0b-8bf4-b76b-d616-d08a59a65030@...1...> <58872B6A.6000100@...3629...> <c4f5b1ba-62e7-859d-8317-ddd3d09e44f5@...1...> <5888B73D.9070103@...3629...> <eb1e202a-78b6-8ea2-451e-a4a110405eac@...1...> <5888C1E5.5050805@...3629...> <6dc0c73d-72b8-5b2b-db9b-78db658d017d@...1...> <5888D0EC.8010706@...3629...> <a4f89651-213d-4c83-3667-941ecfe8f5e0@...1...> <5888D843.6030303@...3629...> Message-ID: <0398a989-7bc5-3878-82f9-354b976f2779@...1...> Le 25/01/2017 ? 17:54, Rolf-Werner Eilert a ?crit : > Am 25.01.2017 17:29, schrieb Beno?t Minisini: >> Le 25/01/2017 ? 17:23, Rolf-Werner Eilert a ?crit : >>> >>> Ah! Now it says "Type mismatch: Wanted WebTableData, got String instead" >>> >>> So, what is WebTableData? >>> >>> Rolf >>> >> >> It's the datatype of the 'Data' argument of the WebTable 'Data' event >> handler. >> > > Yes, but what is expected by it? How is it defined? The online help > isn't there yet ;) > > I thought "put in a string, what else?" But obviously, WebTableData is > something else... > > Regards > Rolf > It's an object with properties you must fill in. Use the autocompletion to get the names of the properties. -- Beno?t Minisini From gambas.fr at ...626... Wed Jan 25 18:01:05 2017 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 25 Jan 2017 18:01:05 +0100 Subject: [Gambas-user] How to get started with WebView In-Reply-To: <5888D843.6030303@...3629...> References: <58864049.5040309@...3629...> <89ddb1e0-3b29-e2e0-e7cf-f473ed4bf750@...1...> <58871A35.4040203@...3629...> <7ab4eb0b-8bf4-b76b-d616-d08a59a65030@...1...> <58872B6A.6000100@...3629...> <c4f5b1ba-62e7-859d-8317-ddd3d09e44f5@...1...> <5888B73D.9070103@...3629...> <eb1e202a-78b6-8ea2-451e-a4a110405eac@...1...> <5888C1E5.5050805@...3629...> <6dc0c73d-72b8-5b2b-db9b-78db658d017d@...1...> <5888D0EC.8010706@...3629...> <a4f89651-213d-4c83-3667-941ecfe8f5e0@...1...> <5888D843.6030303@...3629...> Message-ID: <CAFkCsL6E2U2==1qYrgeemitnMAqinKx+h__6+jLZLFPtUYG5fg@...627...> :-)... I think it's like the gridview : Data.value = CStr(Row) & "-" & CStr(Column) Data is a class reference passed by reference. hData = New WebTableData Raise Data(iRow, iCol, hData) from the sources i can see you can set : .BackGround as integer .foreground as integer .Text as string for brut text .Html for interpreted html 2017-01-25 17:54 GMT+01:00 Rolf-Werner Eilert <rwe-sse at ...3629...>: > Am 25.01.2017 17:29, schrieb Beno?t Minisini: >> Le 25/01/2017 ? 17:23, Rolf-Werner Eilert a ?crit : >>> >>> Ah! Now it says "Type mismatch: Wanted WebTableData, got String instead" >>> >>> So, what is WebTableData? >>> >>> Rolf >>> >> >> It's the datatype of the 'Data' argument of the WebTable 'Data' event >> handler. >> > > Yes, but what is expected by it? How is it defined? The online help > isn't there yet ;) > > I thought "put in a string, what else?" But obviously, WebTableData is > something else... > > Regards > Rolf > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas.fr at ...626... Wed Jan 25 18:01:55 2017 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 25 Jan 2017 18:01:55 +0100 Subject: [Gambas-user] How to get started with WebView In-Reply-To: <0398a989-7bc5-3878-82f9-354b976f2779@...1...> References: <58864049.5040309@...3629...> <89ddb1e0-3b29-e2e0-e7cf-f473ed4bf750@...1...> <58871A35.4040203@...3629...> <7ab4eb0b-8bf4-b76b-d616-d08a59a65030@...1...> <58872B6A.6000100@...3629...> <c4f5b1ba-62e7-859d-8317-ddd3d09e44f5@...1...> <5888B73D.9070103@...3629...> <eb1e202a-78b6-8ea2-451e-a4a110405eac@...1...> <5888C1E5.5050805@...3629...> <6dc0c73d-72b8-5b2b-db9b-78db658d017d@...1...> <5888D0EC.8010706@...3629...> <a4f89651-213d-4c83-3667-941ecfe8f5e0@...1...> <5888D843.6030303@...3629...> <0398a989-7bc5-3878-82f9-354b976f2779@...1...> Message-ID: <CAFkCsL7AbzYobZVPp_W6C6EKS7F9gW-8ZA+LuroQRhE6PQnQLw@...627...> OUPS I think it's like the gridview : Data.Text = CStr(Row) & "-" & CStr(Column) 2017-01-25 17:58 GMT+01:00 Beno?t Minisini <gambas at ...1...>: > Le 25/01/2017 ? 17:54, Rolf-Werner Eilert a ?crit : >> Am 25.01.2017 17:29, schrieb Beno?t Minisini: >>> Le 25/01/2017 ? 17:23, Rolf-Werner Eilert a ?crit : >>>> >>>> Ah! Now it says "Type mismatch: Wanted WebTableData, got String instead" >>>> >>>> So, what is WebTableData? >>>> >>>> Rolf >>>> >>> >>> It's the datatype of the 'Data' argument of the WebTable 'Data' event >>> handler. >>> >> >> Yes, but what is expected by it? How is it defined? The online help >> isn't there yet ;) >> >> I thought "put in a string, what else?" But obviously, WebTableData is >> something else... >> >> Regards >> Rolf >> > > It's an object with properties you must fill in. Use the autocompletion > to get the names of the properties. > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas.fr at ...626... Wed Jan 25 18:03:35 2017 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 25 Jan 2017 18:03:35 +0100 Subject: [Gambas-user] Double Click not open Gambas project in Gnome shell In-Reply-To: <CAJ2rqFY19OsVm643p_bmr1F6f0EeeJU1RsqjWBxZC=5EEahuww@...627...> References: <CAJ2rqFY19OsVm643p_bmr1F6f0EeeJU1RsqjWBxZC=5EEahuww@...627...> Message-ID: <CAFkCsL4_X+Cqm9Y9REi9hh=xbEBF=hSCsOKwGa6Wbdv7kxO0Kw@...627...> hum ... seem to be a right problem or a conf problem in the shell. is $ ./xxx.gambas Working ? 2017-01-25 17:53 GMT+01:00 Gianluigi <bagonergi at ...626...>: > A friend of ours with Arch Linux Gnome shell can not start with a double > click the .gambas projects. > > If he using terminal "gbr3 xxx.gambas" the project opens. > > Does anyone know how to do? > > Regards > Gianluigi > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From rwe-sse at ...3629... Wed Jan 25 18:08:23 2017 From: rwe-sse at ...3629... (Rolf-Werner Eilert) Date: Wed, 25 Jan 2017 18:08:23 +0100 Subject: [Gambas-user] How to get started with WebView In-Reply-To: <0398a989-7bc5-3878-82f9-354b976f2779@...1...> References: <58864049.5040309@...3629...> <89ddb1e0-3b29-e2e0-e7cf-f473ed4bf750@...1...> <58871A35.4040203@...3629...> <7ab4eb0b-8bf4-b76b-d616-d08a59a65030@...1...> <58872B6A.6000100@...3629...> <c4f5b1ba-62e7-859d-8317-ddd3d09e44f5@...1...> <5888B73D.9070103@...3629...> <eb1e202a-78b6-8ea2-451e-a4a110405eac@...1...> <5888C1E5.5050805@...3629...> <6dc0c73d-72b8-5b2b-db9b-78db658d017d@...1...> <5888D0EC.8010706@...3629...> <a4f89651-213d-4c83-3667-941ecfe8f5e0@...1...> <5888D843.6030303@...3629...> <0398a989-7bc5-3878-82f9-354b976f2779@...1...> Message-ID: <5888DB87.4070501@...3629...> Am 25.01.2017 17:58, schrieb Beno?t Minisini: > Le 25/01/2017 ? 17:54, Rolf-Werner Eilert a ?crit : >> Am 25.01.2017 17:29, schrieb Beno?t Minisini: >>> Le 25/01/2017 ? 17:23, Rolf-Werner Eilert a ?crit : >>>> >>>> Ah! Now it says "Type mismatch: Wanted WebTableData, got String instead" >>>> >>>> So, what is WebTableData? >>>> >>>> Rolf >>>> >>> >>> It's the datatype of the 'Data' argument of the WebTable 'Data' event >>> handler. >>> >> >> Yes, but what is expected by it? How is it defined? The online help >> isn't there yet ;) >> >> I thought "put in a string, what else?" But obviously, WebTableData is >> something else... >> >> Regards >> Rolf >> > > It's an object with properties you must fill in. Use the autocompletion > to get the names of the properties. > Ok, Data.Text did the job :) Rolf From rwe-sse at ...3629... Wed Jan 25 18:09:08 2017 From: rwe-sse at ...3629... (Rolf-Werner Eilert) Date: Wed, 25 Jan 2017 18:09:08 +0100 Subject: [Gambas-user] How to get started with WebView In-Reply-To: <CAFkCsL7AbzYobZVPp_W6C6EKS7F9gW-8ZA+LuroQRhE6PQnQLw@...627...> References: <58864049.5040309@...3629...> <89ddb1e0-3b29-e2e0-e7cf-f473ed4bf750@...1...> <58871A35.4040203@...3629...> <7ab4eb0b-8bf4-b76b-d616-d08a59a65030@...1...> <58872B6A.6000100@...3629...> <c4f5b1ba-62e7-859d-8317-ddd3d09e44f5@...1...> <5888B73D.9070103@...3629...> <eb1e202a-78b6-8ea2-451e-a4a110405eac@...1...> <5888C1E5.5050805@...3629...> <6dc0c73d-72b8-5b2b-db9b-78db658d017d@...1...> <5888D0EC.8010706@...3629...> <a4f89651-213d-4c83-3667-941ecfe8f5e0@...1...> <5888D843.6030303@...3629...> <0398a989-7bc5-3878-82f9-354b976f2779@...1...> <CAFkCsL7AbzYobZVPp_W6C6EKS7F9gW-8ZA+LuroQRhE6PQnQLw@...627...> Message-ID: <5888DBB4.5070407@...3629...> Yes, you are right, thank you! Sometimes I do not see the forest for all the trees :) Rolf Am 25.01.2017 18:01, schrieb Fabien Bodard: > OUPS I think it's like the gridview : > Data.Text = CStr(Row) & "-" & CStr(Column) > > 2017-01-25 17:58 GMT+01:00 Beno?t Minisini <gambas at ...1...>: >> Le 25/01/2017 ? 17:54, Rolf-Werner Eilert a ?crit : >>> Am 25.01.2017 17:29, schrieb Beno?t Minisini: >>>> Le 25/01/2017 ? 17:23, Rolf-Werner Eilert a ?crit : >>>>> >>>>> Ah! Now it says "Type mismatch: Wanted WebTableData, got String instead" >>>>> >>>>> So, what is WebTableData? >>>>> >>>>> Rolf >>>>> >>>> >>>> It's the datatype of the 'Data' argument of the WebTable 'Data' event >>>> handler. >>>> >>> >>> Yes, but what is expected by it? How is it defined? The online help >>> isn't there yet ;) >>> >>> I thought "put in a string, what else?" But obviously, WebTableData is >>> something else... >>> >>> Regards >>> Rolf >>> >> >> It's an object with properties you must fill in. Use the autocompletion >> to get the names of the properties. >> >> -- >> Beno?t Minisini >> >> ------------------------------------------------------------------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From bagonergi at ...626... Wed Jan 25 18:28:06 2017 From: bagonergi at ...626... (Gianluigi) Date: Wed, 25 Jan 2017 18:28:06 +0100 Subject: [Gambas-user] Double Click not open Gambas project in Gnome shell In-Reply-To: <CAFkCsL4_X+Cqm9Y9REi9hh=xbEBF=hSCsOKwGa6Wbdv7kxO0Kw@...627...> References: <CAJ2rqFY19OsVm643p_bmr1F6f0EeeJU1RsqjWBxZC=5EEahuww@...627...> <CAFkCsL4_X+Cqm9Y9REi9hh=xbEBF=hSCsOKwGa6Wbdv7kxO0Kw@...627...> Message-ID: <CAJ2rqFbC2rTKOw5Vn+QjmWuBL=eX28fa5D-HW2YBJNvQyvRrKQ@...627...> Thank you, let you know 2017-01-25 18:03 GMT+01:00 Fabien Bodard <gambas.fr at ...626...>: > hum ... seem to be a right problem or a conf problem in the shell. > > is > $ ./xxx.gambas > > Working ? > > 2017-01-25 17:53 GMT+01:00 Gianluigi <bagonergi at ...626...>: > > A friend of ours with Arch Linux Gnome shell can not start with a double > > click the .gambas projects. > > > > If he using terminal "gbr3 xxx.gambas" the project opens. > > > > Does anyone know how to do? > > > > Regards > > Gianluigi > > ------------------------------------------------------------ > ------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From rwe-sse at ...3629... Wed Jan 25 18:28:55 2017 From: rwe-sse at ...3629... (Rolf-Werner Eilert) Date: Wed, 25 Jan 2017 18:28:55 +0100 Subject: [Gambas-user] How to get started with WebView In-Reply-To: <6dc0c73d-72b8-5b2b-db9b-78db658d017d@...1...> References: <58864049.5040309@...3629...> <89ddb1e0-3b29-e2e0-e7cf-f473ed4bf750@...1...> <58871A35.4040203@...3629...> <7ab4eb0b-8bf4-b76b-d616-d08a59a65030@...1...> <58872B6A.6000100@...3629...> <c4f5b1ba-62e7-859d-8317-ddd3d09e44f5@...1...> <5888B73D.9070103@...3629...> <eb1e202a-78b6-8ea2-451e-a4a110405eac@...1...> <5888C1E5.5050805@...3629...> <6dc0c73d-72b8-5b2b-db9b-78db658d017d@...1...> Message-ID: <5888E057.9060909@...3629...> Am 25.01.2017 16:24, schrieb Beno?t Minisini: > Le 25/01/2017 ? 16:19, Rolf-Werner Eilert a ?crit : >> >> Thank you very much, that makes it much clearer. Now I have a Button1 >> and a WebTable1 >> >> Public Sub WebButton1_Click() >> >> WebLabel1.Text = "Button geklickt" >> >> WebTable1.AddColumn("Spalte 1") >> WebTable1.AddColumn("Spalte 2") >> WebTable1.Count = 5 >> >> End I found that each time I start, Firefox will have a new tab with old values kept, i. e. each start produces another two columns: 1 2 1 2 1 2 So I added WebTable1.Columns.Count = 0 before the lines adding the columns. Now the program crashed saying "Out of array" When I use Konqueror, the browser will start all over each time, causing no problem. Obviously, in Firefox the Data event is called when the page is rendered for the first time, just like GridView does. But even when I leave away the line, Konqueror will run as expected: only calling the Data event when the Button1 is pressed. Strange, isn't it? Rolf From buster6seven at ...626... Thu Jan 26 00:29:40 2017 From: buster6seven at ...626... (Shane) Date: Thu, 26 Jan 2017 10:29:40 +1100 Subject: [Gambas-user] Desktop size in sdl2 Message-ID: <2eb28095-591b-c4ff-06cc-b4b52ca496fd@...626...> How do you get the Desktop size in SDL2? From bagonergi at ...626... Thu Jan 26 11:02:54 2017 From: bagonergi at ...626... (Gianluigi) Date: Thu, 26 Jan 2017 11:02:54 +0100 Subject: [Gambas-user] Double Click not open Gambas project in Gnome shell In-Reply-To: <CAFkCsL4_X+Cqm9Y9REi9hh=xbEBF=hSCsOKwGa6Wbdv7kxO0Kw@...627...> References: <CAJ2rqFY19OsVm643p_bmr1F6f0EeeJU1RsqjWBxZC=5EEahuww@...627...> <CAFkCsL4_X+Cqm9Y9REi9hh=xbEBF=hSCsOKwGa6Wbdv7kxO0Kw@...627...> Message-ID: <CAJ2rqFYgV23UMuXbzVX-OLJi85jRcTsCqteBrSMc8DRHAvVEVQ@...627...> Hi Fabien, Yes, with '$ ./xxx.gambas', his project works Regards Gianluigi 2017-01-25 18:03 GMT+01:00 Fabien Bodard <gambas.fr at ...626...>: > hum ... seem to be a right problem or a conf problem in the shell. > > is > $ ./xxx.gambas > > Working ? > > 2017-01-25 17:53 GMT+01:00 Gianluigi <bagonergi at ...626...>: > > A friend of ours with Arch Linux Gnome shell can not start with a double > > click the .gambas projects. > > > > If he using terminal "gbr3 xxx.gambas" the project opens. > > > > Does anyone know how to do? > > > > Regards > > Gianluigi > > ------------------------------------------------------------ > ------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bill-lancaster at ...2231... Thu Jan 26 09:58:21 2017 From: bill-lancaster at ...2231... (bill-lancaster) Date: Thu, 26 Jan 2017 01:58:21 -0700 (MST) Subject: [Gambas-user] detecting menus actions In-Reply-To: <CAFkCsL4OpnViDKcJ_p4=OH5zX_TE+8J1uJH8bDb=cF4Np3_8cw@...627...> References: <1485346218905-58302.post@...3046...> <5888B4F1.5090206@...3629...> <CAFkCsL6LcnY-KZ_Y_=hJHwgU+Hv9SKH8UPPwNGaeAgTrU9QYbA@...627...> <CAJ2rqFbiRrdsreE+ca8vgmO8OOT1veXL8amD=KzXzyiUTny5Hg@...627...> <CAFkCsL4OpnViDKcJ_p4=OH5zX_TE+8J1uJH8bDb=cF4Np3_8cw@...627...> Message-ID: <1485421101262-58325.post@...3046...> Ah! It's quite obvious now! Thanks for the example and thank you all Bill -- View this message in context: http://gambas.8142.n7.nabble.com/detecting-menus-actions-tp58302p58325.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas.fr at ...626... Thu Jan 26 12:12:45 2017 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 26 Jan 2017 12:12:45 +0100 Subject: [Gambas-user] Desktop size in sdl2 In-Reply-To: <2eb28095-591b-c4ff-06cc-b4b52ca496fd@...626...> References: <2eb28095-591b-c4ff-06cc-b4b52ca496fd@...626...> Message-ID: <CAFkCsL6977RU2ubZSX_FGcnBPrDOygx1aM4LLdSJLo+mXmCp8A@...627...> why the desktop ? 2017-01-26 0:29 GMT+01:00 Shane <buster6seven at ...626...>: > How do you get the Desktop size in SDL2? > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas.fr at ...626... Thu Jan 26 12:15:45 2017 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 26 Jan 2017 12:15:45 +0100 Subject: [Gambas-user] Double Click not open Gambas project in Gnome shell In-Reply-To: <CAJ2rqFYgV23UMuXbzVX-OLJi85jRcTsCqteBrSMc8DRHAvVEVQ@...627...> References: <CAJ2rqFY19OsVm643p_bmr1F6f0EeeJU1RsqjWBxZC=5EEahuww@...627...> <CAFkCsL4_X+Cqm9Y9REi9hh=xbEBF=hSCsOKwGa6Wbdv7kxO0Kw@...627...> <CAJ2rqFYgV23UMuXbzVX-OLJi85jRcTsCqteBrSMc8DRHAvVEVQ@...627...> Message-ID: <CAFkCsL5kHwQJAE1YvUHG8rb+p1oQ2FJK=e_rEv=TNMR=wXTJyA@...627...> so it's a problem from gnome shell that don't launch directly an executable or something that looklike to a script. can he try to launch a gnome app by the same way... like gedit but directly by the executable in /usr/bin 2017-01-26 11:02 GMT+01:00 Gianluigi <bagonergi at ...626...>: > Hi Fabien, > > Yes, with '$ ./xxx.gambas', his project works > > Regards > Gianluigi > > 2017-01-25 18:03 GMT+01:00 Fabien Bodard <gambas.fr at ...626...>: > >> hum ... seem to be a right problem or a conf problem in the shell. >> >> is >> $ ./xxx.gambas >> >> Working ? >> >> 2017-01-25 17:53 GMT+01:00 Gianluigi <bagonergi at ...626...>: >> > A friend of ours with Arch Linux Gnome shell can not start with a double >> > click the .gambas projects. >> > >> > If he using terminal "gbr3 xxx.gambas" the project opens. >> > >> > Does anyone know how to do? >> > >> > Regards >> > Gianluigi >> > ------------------------------------------------------------ >> ------------------ >> > Check out the vibrant tech community on one of the world's most >> > engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> -- >> Fabien Bodard >> >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From bagonergi at ...626... Thu Jan 26 13:34:16 2017 From: bagonergi at ...626... (Gianluigi) Date: Thu, 26 Jan 2017 13:34:16 +0100 Subject: [Gambas-user] Double Click not open Gambas project in Gnome shell In-Reply-To: <CAFkCsL5kHwQJAE1YvUHG8rb+p1oQ2FJK=e_rEv=TNMR=wXTJyA@...627...> References: <CAJ2rqFY19OsVm643p_bmr1F6f0EeeJU1RsqjWBxZC=5EEahuww@...627...> <CAFkCsL4_X+Cqm9Y9REi9hh=xbEBF=hSCsOKwGa6Wbdv7kxO0Kw@...627...> <CAJ2rqFYgV23UMuXbzVX-OLJi85jRcTsCqteBrSMc8DRHAvVEVQ@...627...> <CAFkCsL5kHwQJAE1YvUHG8rb+p1oQ2FJK=e_rEv=TNMR=wXTJyA@...627...> Message-ID: <CAJ2rqFZdx=A253bpJc3vTMJabYkXphgDVktf4XHWH_W2wyT30A@...627...> Hi Fabien, while we wait for the answer, I forgot to say that the file association is "octet-stream" instead of "application/x-gambas3" Regards Gianluigi 2017-01-26 12:15 GMT+01:00 Fabien Bodard <gambas.fr at ...626...>: > so it's a problem from gnome shell that don't launch directly an > executable or something that looklike to a script. > > can he try to launch a gnome app by the same way... like gedit but > directly by the executable in /usr/bin > > 2017-01-26 11:02 GMT+01:00 Gianluigi <bagonergi at ...626...>: > > Hi Fabien, > > > > Yes, with '$ ./xxx.gambas', his project works > > > > Regards > > Gianluigi > > > > 2017-01-25 18:03 GMT+01:00 Fabien Bodard <gambas.fr at ...626...>: > > > >> hum ... seem to be a right problem or a conf problem in the shell. > >> > >> is > >> $ ./xxx.gambas > >> > >> Working ? > >> > >> 2017-01-25 17:53 GMT+01:00 Gianluigi <bagonergi at ...626...>: > >> > A friend of ours with Arch Linux Gnome shell can not start with a > double > >> > click the .gambas projects. > >> > > >> > If he using terminal "gbr3 xxx.gambas" the project opens. > >> > > >> > Does anyone know how to do? > >> > > >> > Regards > >> > Gianluigi > >> > ------------------------------------------------------------ > >> ------------------ > >> > Check out the vibrant tech community on one of the world's most > >> > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > >> > _______________________________________________ > >> > Gambas-user mailing list > >> > Gambas-user at lists.sourceforge.net > >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> > >> > >> -- > >> Fabien Bodard > >> > >> ------------------------------------------------------------ > >> ------------------ > >> Check out the vibrant tech community on one of the world's most > >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > ------------------------------------------------------------ > ------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Thu Jan 26 14:30:07 2017 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 26 Jan 2017 14:30:07 +0100 Subject: [Gambas-user] Double Click not open Gambas project in Gnome shell In-Reply-To: <CAJ2rqFZdx=A253bpJc3vTMJabYkXphgDVktf4XHWH_W2wyT30A@...627...> References: <CAJ2rqFY19OsVm643p_bmr1F6f0EeeJU1RsqjWBxZC=5EEahuww@...627...> <CAFkCsL4_X+Cqm9Y9REi9hh=xbEBF=hSCsOKwGa6Wbdv7kxO0Kw@...627...> <CAJ2rqFYgV23UMuXbzVX-OLJi85jRcTsCqteBrSMc8DRHAvVEVQ@...627...> <CAFkCsL5kHwQJAE1YvUHG8rb+p1oQ2FJK=e_rEv=TNMR=wXTJyA@...627...> <CAJ2rqFZdx=A253bpJc3vTMJabYkXphgDVktf4XHWH_W2wyT30A@...627...> Message-ID: <CAFkCsL4qm9AdaJyuxMQHj_XGHT435JgCM+9dm_JTnzTKUzxkSw@...627...> this is a begining of answer... change the file association. Nevertheless normally without this it must run... it is an executable (script) with a magic header # 2017-01-26 13:34 GMT+01:00 Gianluigi <bagonergi at ...626...>: > Hi Fabien, > > while we wait for the answer, I forgot to say that the file association is > "octet-stream" instead of "application/x-gambas3" > > Regards > Gianluigi > > 2017-01-26 12:15 GMT+01:00 Fabien Bodard <gambas.fr at ...626...>: > >> so it's a problem from gnome shell that don't launch directly an >> executable or something that looklike to a script. >> >> can he try to launch a gnome app by the same way... like gedit but >> directly by the executable in /usr/bin >> >> 2017-01-26 11:02 GMT+01:00 Gianluigi <bagonergi at ...626...>: >> > Hi Fabien, >> > >> > Yes, with '$ ./xxx.gambas', his project works >> > >> > Regards >> > Gianluigi >> > >> > 2017-01-25 18:03 GMT+01:00 Fabien Bodard <gambas.fr at ...626...>: >> > >> >> hum ... seem to be a right problem or a conf problem in the shell. >> >> >> >> is >> >> $ ./xxx.gambas >> >> >> >> Working ? >> >> >> >> 2017-01-25 17:53 GMT+01:00 Gianluigi <bagonergi at ...626...>: >> >> > A friend of ours with Arch Linux Gnome shell can not start with a >> double >> >> > click the .gambas projects. >> >> > >> >> > If he using terminal "gbr3 xxx.gambas" the project opens. >> >> > >> >> > Does anyone know how to do? >> >> > >> >> > Regards >> >> > Gianluigi >> >> > ------------------------------------------------------------ >> >> ------------------ >> >> > Check out the vibrant tech community on one of the world's most >> >> > engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> >> > _______________________________________________ >> >> > Gambas-user mailing list >> >> > Gambas-user at lists.sourceforge.net >> >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> >> >> >> >> -- >> >> Fabien Bodard >> >> >> >> ------------------------------------------------------------ >> >> ------------------ >> >> Check out the vibrant tech community on one of the world's most >> >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> >> _______________________________________________ >> >> Gambas-user mailing list >> >> Gambas-user at lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> > ------------------------------------------------------------ >> ------------------ >> > Check out the vibrant tech community on one of the world's most >> > engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> -- >> Fabien Bodard >> >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From bagonergi at ...626... Thu Jan 26 14:57:31 2017 From: bagonergi at ...626... (Gianluigi) Date: Thu, 26 Jan 2017 14:57:31 +0100 Subject: [Gambas-user] Double Click not open Gambas project in Gnome shell In-Reply-To: <CAFkCsL4qm9AdaJyuxMQHj_XGHT435JgCM+9dm_JTnzTKUzxkSw@...627...> References: <CAJ2rqFY19OsVm643p_bmr1F6f0EeeJU1RsqjWBxZC=5EEahuww@...627...> <CAFkCsL4_X+Cqm9Y9REi9hh=xbEBF=hSCsOKwGa6Wbdv7kxO0Kw@...627...> <CAJ2rqFYgV23UMuXbzVX-OLJi85jRcTsCqteBrSMc8DRHAvVEVQ@...627...> <CAFkCsL5kHwQJAE1YvUHG8rb+p1oQ2FJK=e_rEv=TNMR=wXTJyA@...627...> <CAJ2rqFZdx=A253bpJc3vTMJabYkXphgDVktf4XHWH_W2wyT30A@...627...> <CAFkCsL4qm9AdaJyuxMQHj_XGHT435JgCM+9dm_JTnzTKUzxkSw@...627...> Message-ID: <CAJ2rqFZtkjrStcxV8pyepHWN8TbFLYsDwoQ2+5p90ALnBVhoKg@...627...> Hi Fabien, :-) but the problem is this, can someone explain step by step how to do? Regards Gianluigi 2017-01-26 14:30 GMT+01:00 Fabien Bodard <gambas.fr at ...626...>: > this is a begining of answer... change the file association. > Nevertheless normally without this it must run... it is an executable > (script) with a magic header # > > 2017-01-26 13:34 GMT+01:00 Gianluigi <bagonergi at ...626...>: > > Hi Fabien, > > > > while we wait for the answer, I forgot to say that the file association > is > > "octet-stream" instead of "application/x-gambas3" > > > > Regards > > Gianluigi > > > > 2017-01-26 12:15 GMT+01:00 Fabien Bodard <gambas.fr at ...626...>: > > > >> so it's a problem from gnome shell that don't launch directly an > >> executable or something that looklike to a script. > >> > >> can he try to launch a gnome app by the same way... like gedit but > >> directly by the executable in /usr/bin > >> > >> 2017-01-26 11:02 GMT+01:00 Gianluigi <bagonergi at ...626...>: > >> > Hi Fabien, > >> > > >> > Yes, with '$ ./xxx.gambas', his project works > >> > > >> > Regards > >> > Gianluigi > >> > > >> > 2017-01-25 18:03 GMT+01:00 Fabien Bodard <gambas.fr at ...626...>: > >> > > >> >> hum ... seem to be a right problem or a conf problem in the shell. > >> >> > >> >> is > >> >> $ ./xxx.gambas > >> >> > >> >> Working ? > >> >> > >> >> 2017-01-25 17:53 GMT+01:00 Gianluigi <bagonergi at ...626...>: > >> >> > A friend of ours with Arch Linux Gnome shell can not start with a > >> double > >> >> > click the .gambas projects. > >> >> > > >> >> > If he using terminal "gbr3 xxx.gambas" the project opens. > >> >> > > >> >> > Does anyone know how to do? > >> >> > > >> >> > Regards > >> >> > Gianluigi > >> >> > ------------------------------------------------------------ > >> >> ------------------ > >> >> > Check out the vibrant tech community on one of the world's most > >> >> > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > >> >> > _______________________________________________ > >> >> > Gambas-user mailing list > >> >> > Gambas-user at lists.sourceforge.net > >> >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > >> >> > >> >> > >> >> > >> >> -- > >> >> Fabien Bodard > >> >> > >> >> ------------------------------------------------------------ > >> >> ------------------ > >> >> Check out the vibrant tech community on one of the world's most > >> >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot > >> >> _______________________________________________ > >> >> Gambas-user mailing list > >> >> Gambas-user at lists.sourceforge.net > >> >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> >> > >> > ------------------------------------------------------------ > >> ------------------ > >> > Check out the vibrant tech community on one of the world's most > >> > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > >> > _______________________________________________ > >> > Gambas-user mailing list > >> > Gambas-user at lists.sourceforge.net > >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> > >> > >> -- > >> Fabien Bodard > >> > >> ------------------------------------------------------------ > >> ------------------ > >> Check out the vibrant tech community on one of the world's most > >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > ------------------------------------------------------------ > ------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From chrisml at ...3340... Thu Jan 26 14:46:32 2017 From: chrisml at ...3340... (Christof Thalhofer) Date: Thu, 26 Jan 2017 14:46:32 +0100 Subject: [Gambas-user] gambaswiki.org seems to be down Message-ID: <38124547-1286-cd54-c4cb-26ee58649b0c@...3340...> Hello, Service Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20170126/cf8d0e3c/attachment.sig> From gambas at ...1... Thu Jan 26 15:09:50 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 26 Jan 2017 15:09:50 +0100 Subject: [Gambas-user] gambaswiki.org seems to be down In-Reply-To: <38124547-1286-cd54-c4cb-26ee58649b0c@...3340...> References: <38124547-1286-cd54-c4cb-26ee58649b0c@...3340...> Message-ID: <0999b703-6bb5-5a6d-ee1f-9da2b6c666d2@...1...> Le 26/01/2017 ? 14:46, Christof Thalhofer a ?crit : > Hello, > > Service Unavailable > > The server is temporarily unable to service your request due to > maintenance downtime or capacity problems. Please try again later. > > Alles Gute > > Christof Thalhofer > It's back! -- Beno?t Minisini From buster6seven at ...626... Fri Jan 27 00:51:02 2017 From: buster6seven at ...626... (Shane) Date: Fri, 27 Jan 2017 10:51:02 +1100 Subject: [Gambas-user] Desktop size in sdl2 In-Reply-To: <CAFkCsL6977RU2ubZSX_FGcnBPrDOygx1aM4LLdSJLo+mXmCp8A@...627...> References: <2eb28095-591b-c4ff-06cc-b4b52ca496fd@...626...> <CAFkCsL6977RU2ubZSX_FGcnBPrDOygx1aM4LLdSJLo+mXmCp8A@...627...> Message-ID: <6c64d1f1-888d-fd54-1c96-ff4a5bd798b1@...626...> So I can center my window on the Screen On 26/01/17 22:12, Fabien Bodard wrote: > why the desktop ? > > 2017-01-26 0:29 GMT+01:00 Shane <buster6seven at ...626...>: >> How do you get the Desktop size in SDL2? >> >> >> >> ------------------------------------------------------------------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > From bugtracker at ...3416... Fri Jan 27 01:04:53 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 27 Jan 2017 00:04:53 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1072: Image pixelated farm software Message-ID: <BUG1072@...3416...> http://gambaswiki.org/bugtracker/edit?object=BUG.1072&from=L21haW4- V?ctor PEREZ reported a new bug. Summary ------- Image pixelated farm software Type : Bug Priority : Low Gambas version : 3.9 Product : Software farm Description ----------- The images of the projects on the farm are blurred or pixelated. Do you need any special format? Why does that happen System information ------------------ Gambas=3.9.2 OperatingSystem=Linux Kernel=3.19.0-32-generic Architecture=x86 Distribution=Linux Mint 17.3 Rosa Desktop=MATE Theme=Gtk Language=es_UY.UTF-8 Memory=1950M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 From allegfede at ...626... Fri Jan 27 14:23:54 2017 From: allegfede at ...626... (Federico Allegretti) Date: Fri, 27 Jan 2017 14:23:54 +0100 Subject: [Gambas-user] play audio trough Jack audio server using ONLY gambas resources Message-ID: <CAGUPqz7Gva_rXzESH=HfZP300n-X-Wgej=vCtO-c-99=OObV9w@...627...> hello everybody. Trying to play audio files with GB.MEDIA and his jack audio sink plug in. I got gb.media returning media informations (like duration), but no playback after play. ' Gambas class file Private Player_A As MediaPlayer 'player che gestira' i media con gb.media (gstreamer) Private UscitaAudio As MediaControl 'l'area di rendering dei media ...... Public Sub Button3_Click() Player_A = New MediaPlayer As "MediaPlayer" UscitaAudio = New MediaControl(Player_A, "jackaudiosink") Player_A.URL = Media.URL(Label1.Text) Player_A.Play Timer1.Start End ...... in patch bay i cannot see the gambas "client" creation nor cable connected, like i see if i run in the shell this command: gst-launch audiotestsrc ! jackaudiosink so i suppose i need a way to create the jack audio client, but cannot figure out the procedure. Thanks for the help. Federico -- Open TV Architecture project: http://sourceforge.net/projects/otva/ Messagenet VOIP: 5338759 YouTube Channel: v1p3r's lab VIMEO HD videos: http://www.vimeo.com/user1912745/videos From clangbone at ...43... Fri Jan 27 14:51:18 2017 From: clangbone at ...43... (j h) Date: Fri, 27 Jan 2017 13:51:18 +0000 (UTC) Subject: [Gambas-user] Timer References: <306042578.24122630.1485525078224.ref@...3424...> Message-ID: <306042578.24122630.1485525078224@...3424...> I need help with a simple Stopwatch program in Gambas 3.9.2 The program has a form with 3 buttons and a valuebox. Button 1 starts timer. Button 2 stops timer. Button 3 restarts timer. As usual I just cannot get the syntax correct to make it work. When I copy/paste from the help browser still not right! I really want to like and use Gambas but am put off by the unclear help and lack of very simple examples.? Here is where I Went delete happy then gave up. ' Gambas class file Public Sub Form_Open() ? End Public Sub Timer1_Timer() ? ValueBox1.Value = Timer1 ? End Public Sub ValueBox1_MouseDown() End Public Sub Button1_Click() Timer1.Enabled = True End Public Sub Button2_Click() ? End Public Sub Button3_Click() ? End Any help would help. Ta. From rwe-sse at ...3629... Fri Jan 27 15:33:18 2017 From: rwe-sse at ...3629... (Rolf-Werner Eilert) Date: Fri, 27 Jan 2017 15:33:18 +0100 Subject: [Gambas-user] Timer In-Reply-To: <306042578.24122630.1485525078224@...3424...> References: <306042578.24122630.1485525078224.ref@...3424...> <306042578.24122630.1485525078224@...3424...> Message-ID: <588B5A2E.7030901@...3629...> Hi, > > The program has a form with 3 buttons and a valuebox. > Button 1 starts timer. > Button 2 stops timer. > Button 3 restarts timer. Restart? What for, you have Button 1... Or do you mean "resume"? > > As usual I just cannot get the syntax correct to make it work. > When I copy/paste from the help browser still not right! > > I really want to like and use Gambas but am put off by the unclear help and lack of very simple examples. I agree, that could be improved. You're welcome to help ;) > ' Gambas class file > > Public Sub Form_Open() > > > > End > > Public Sub Timer1_Timer() > > ValueBox1.Value = Timer1 > > > End Hm, guess you got this Timer thing wrong. As soon as activated, Timer will just run and the program will jump into the Timer event each time it "ticks" (the time you adjust, e. g. 1000 ms for 1 second). So, if you want your clock to tick every second, make a counter variable for the whole class file and set Inc MyCounterVariable within the Timer1_Timer() event and let the clock show it. Public Sub Timer1_Timer() Inc MyCounterVariable 'show the value in this line End For the beginning, use a Label to show the value. > Public Sub Button1_Click() > > Timer1.Enabled = True > > End > > > > Public Sub Button2_Click() > > > > End > > Public Sub Button3_Click() > > > > End > > > Won't be back before Monday, but hope it helps :) Regards Rolf From gambas.fr at ...626... Fri Jan 27 15:41:47 2017 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 27 Jan 2017 15:41:47 +0100 Subject: [Gambas-user] Desktop size in sdl2 In-Reply-To: <6c64d1f1-888d-fd54-1c96-ff4a5bd798b1@...626...> References: <2eb28095-591b-c4ff-06cc-b4b52ca496fd@...626...> <CAFkCsL6977RU2ubZSX_FGcnBPrDOygx1aM4LLdSJLo+mXmCp8A@...627...> <6c64d1f1-888d-fd54-1c96-ff4a5bd798b1@...626...> Message-ID: <CAFkCsL5V7XLHnGHNEnxPgF2-Wn=7VpnKfSQ0oWC0sQ0dJeDbug@...627...> you can do : Dim s As String Dim aDesktop As Integer[] Exec ["xprop", "-root", "_NET_DESKTOP_GEOMETRY"] Wait To s aDesktop = Split(Split(Trim(s), "=")[1]) 2017-01-27 0:51 GMT+01:00 Shane <buster6seven at ...626...>: > So I can center my window on the Screen > > > On 26/01/17 22:12, Fabien Bodard wrote: >> why the desktop ? >> >> 2017-01-26 0:29 GMT+01:00 Shane <buster6seven at ...626...>: >>> How do you get the Desktop size in SDL2? >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From jussi.lahtinen at ...626... Fri Jan 27 15:52:30 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 27 Jan 2017 16:52:30 +0200 Subject: [Gambas-user] Timer In-Reply-To: <306042578.24122630.1485525078224@...3424...> References: <306042578.24122630.1485525078224.ref@...3424...> <306042578.24122630.1485525078224@...3424...> Message-ID: <CAFJMe7Q4EeO9xwpXMZ-ibQZurhQ2ukep1RNWN-=Q5ztvy59iQQ@...627...> It's much easier to help you with your project, if you would put the whole thing as attachment. Select from the menu: Project --> Make --> Source archive And then attach the result to your mail. Jussi On Fri, Jan 27, 2017 at 3:51 PM, j h <clangbone at ...43...> wrote: > I need help with a simple Stopwatch program in Gambas 3.9.2 > > > The program has a form with 3 buttons and a valuebox. > Button 1 starts timer. > Button 2 stops timer. > Button 3 restarts timer. > > As usual I just cannot get the syntax correct to make it work. > When I copy/paste from the help browser still not right! > > I really want to like and use Gambas but am put off by the unclear help > and lack of very simple examples. > > Here is where I Went delete happy then gave up. > > > > > > > ' Gambas class file > > Public Sub Form_Open() > > > > End > > Public Sub Timer1_Timer() > > ValueBox1.Value = Timer1 > > > End > > Public Sub ValueBox1_MouseDown() > > > > > End > > > > Public Sub Button1_Click() > > Timer1.Enabled = True > > End > > > > Public Sub Button2_Click() > > > > End > > Public Sub Button3_Click() > > > > End > > > > > > Any help would help. > Ta. > > > > > > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From charlie at ...2793... Fri Jan 27 17:02:10 2017 From: charlie at ...2793... (Charlie) Date: Fri, 27 Jan 2017 09:02:10 -0700 (MST) Subject: [Gambas-user] Timer In-Reply-To: <306042578.24122630.1485525078224@...3424...> References: <306042578.24122630.1485525078224@...3424...> Message-ID: <1485532930926-58340.post@...3046...> Hi j h-7, I have created what I think you are looking for, have a look at the attached program. Stopwatch.tar <http://gambas.8142.n7.nabble.com/file/n58340/Stopwatch.tar> <http://gambas.8142.n7.nabble.com/file/n58340/Stopwatch.png> ----- Check out www.gambas.one -- View this message in context: http://gambas.8142.n7.nabble.com/Timer-tp58336p58340.html Sent from the gambas-user mailing list archive at Nabble.com. From mmcg29440 at ...3163... Fri Jan 27 21:46:15 2017 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Fri, 27 Jan 2017 15:46:15 -0500 Subject: [Gambas-user] Scrollview control coding example Message-ID: <!&!AAAAAAAAAAAYAAAAAAAAAMgV5JlR2FVDl5W96SsTJPLCgAAAEAAAAPfLjA/RvipKpYB7Fyr+NngBAAAAAA==@frontier.com> I'm looking for an example of the use of the scrollview control. Have spent about a week trying different approaches and web research. No luck so far. Gambas help does not give enough detail. I want to embed a window into the control and scroll the contents by using the scrollbars. This may not be the tool to use. I'm open to suggestions as to how to accomplish this. An explicit example would be a great help. All responses are appreciated. Thanks From taboege at ...626... Fri Jan 27 22:07:31 2017 From: taboege at ...626... (Tobias Boege) Date: Fri, 27 Jan 2017 22:07:31 +0100 Subject: [Gambas-user] Scrollview control coding example In-Reply-To: <!&!AAAAAAAAAAAYAAAAAAAAAMgV5JlR2FVDl5W96SsTJPLCgAAAEAAAAPfLjA/RvipKpYB7Fyr+NngBAAAAAA==@frontier.com> References: <!&!AAAAAAAAAAAYAAAAAAAAAMgV5JlR2FVDl5W96SsTJPLCgAAAEAAAAPfLjA/RvipKpYB7Fyr+NngBAAAAAA==@frontier.com> Message-ID: <20170127210731.GA726@...3600...> On Fri, 27 Jan 2017, Martin McGlensey wrote: > I'm looking for an example of the use of the scrollview control. Have spent > about a week trying different approaches and web research. No luck so far. > Gambas help does not give enough detail. > > I want to embed a window into the control and scroll the contents by using > the scrollbars. This may not be the tool to use. I'm open to suggestions as > to how to accomplish this. An explicit example would be a great help. > > > > All responses are appreciated. > Attached is an example project which embeds 10 windows. There is really nothing to say about it. Just create your controls inside the ScrollView and it will add scrollbars if necessary. Anything more advanced depends on what you want to do. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: test-0.0.1.tar.gz Type: application/octet-stream Size: 11565 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20170127/f2ce24d6/attachment.obj> From mmcg29440 at ...3163... Sat Jan 28 15:43:06 2017 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Sat, 28 Jan 2017 09:43:06 -0500 Subject: [Gambas-user] Gambas-user Digest, Vol 128, Issue 33 In-Reply-To: <mailman.88253.1485551264.2506.gambas-user@lists.sourceforge.net> References: <mailman.88253.1485551264.2506.gambas-user@lists.sourceforge.net> Message-ID: <!&!AAAAAAAAAAAYAAAAAAAAAMgV5JlR2FVDl5W96SsTJPLCgAAAEAAAAPqj1Zexx+dLlz8qL12FumsBAAAAAA==@frontier.com> Tobi, Thanks for your reply. I'm trying to embed a window running another program into a scrollview. I've added a scrollview to the form and put the embedder into the scrollview. This works but, as the embedder is larger than the scrollview it extends over the borders of the scrollview. It scrolls but, the embedder moves outside the scrollview control. It seems to me that the embedded window should scroll within the borders of the scrollview and not be seen outside its borders. Something is not right. What am I missing? How do I access the attachment as it was scrubbed from your reply? Thanks Marty ------------------------------ Message: 4 Date: Fri, 27 Jan 2017 22:07:31 +0100 From: Tobias Boege <taboege at ...626...> Subject: Re: [Gambas-user] Scrollview control coding example To: mailing list for gambas users <gambas-user at lists.sourceforge.net> Message-ID: <20170127210731.GA726 at ...3600...> Content-Type: text/plain; charset="us-ascii" On Fri, 27 Jan 2017, Martin McGlensey wrote: > I'm looking for an example of the use of the scrollview control. Have > spent about a week trying different approaches and web research. No luck so far. > Gambas help does not give enough detail. > > I want to embed a window into the control and scroll the contents by > using the scrollbars. This may not be the tool to use. I'm open to > suggestions as to how to accomplish this. An explicit example would be a great help. > > > > All responses are appreciated. > Attached is an example project which embeds 10 windows. There is really nothing to say about it. Just create your controls inside the ScrollView and it will add scrollbars if necessary. Anything more advanced depends on what you want to do. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: test-0.0.1.tar.gz Type: application/octet-stream Size: 11565 bytes Desc: not available From bagonergi at ...626... Sat Jan 28 16:51:30 2017 From: bagonergi at ...626... (Gianluigi) Date: Sat, 28 Jan 2017 16:51:30 +0100 Subject: [Gambas-user] Gambas-user Digest, Vol 128, Issue 33 In-Reply-To: <!&!AAAAAAAAAAAYAAAAAAAAAMgV5JlR2FVDl5W96SsTJPLCgAAAEAAAAPqj1Zexx+dLlz8qL12FumsBAAAAAA==@frontier.com> References: <mailman.88253.1485551264.2506.gambas-user@lists.sourceforge.net> <!&!AAAAAAAAAAAYAAAAAAAAAMgV5JlR2FVDl5W96SsTJPLCgAAAEAAAAPqj1Zexx+dLlz8qL12FumsBAAAAAA==@frontier.com> Message-ID: <CAJ2rqFbgZUMr+ANLiXb9-xnKdSbZGDdNx1-vU5W2NSEKrJtOEQ@...627...> The example of Tobias you can download it here [0] Tobias essentially recommends that: '--------------------------------- Public Sub Form_Open() Dim hFrm1 As Form1 hFrm1 = New Form1(ScrollView1) End '--------------------------------- Regards Gianluigi [0] http://gambas.8142.n7.nabble.com/Scrollview-control-coding-example-td58341.html 2017-01-28 15:43 GMT+01:00 Martin McGlensey <mmcg29440 at ...3163...>: > Tobi, > > Thanks for your reply. I'm trying to embed a window running another program > into a scrollview. I've added a scrollview to the form and put the embedder > into the scrollview. This works but, as the embedder is larger than the > scrollview it extends over the borders of the scrollview. It scrolls but, > the embedder moves outside the scrollview control. It seems to me that the > embedded window should scroll within the borders of the scrollview and not > be seen outside its borders. Something is not right. What am I missing? > > How do I access the attachment as it was scrubbed from your reply? > > Thanks > > Marty > ------------------------------ > > Message: 4 > Date: Fri, 27 Jan 2017 22:07:31 +0100 > From: Tobias Boege <taboege at ...626...> > Subject: Re: [Gambas-user] Scrollview control coding example > To: mailing list for gambas users <gambas-user at lists.sourceforge.net> > Message-ID: <20170127210731.GA726 at ...3600...> > Content-Type: text/plain; charset="us-ascii" > > On Fri, 27 Jan 2017, Martin McGlensey wrote: > > I'm looking for an example of the use of the scrollview control. Have > > spent about a week trying different approaches and web research. No luck > so far. > > Gambas help does not give enough detail. > > > > I want to embed a window into the control and scroll the contents by > > using the scrollbars. This may not be the tool to use. I'm open to > > suggestions as to how to accomplish this. An explicit example would be a > great help. > > > > > > > > All responses are appreciated. > > > > Attached is an example project which embeds 10 windows. There is really > nothing to say about it. Just create your controls inside the ScrollView > and > it will add scrollbars if necessary. Anything more advanced depends on what > you want to do. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: test-0.0.1.tar.gz > Type: application/octet-stream > Size: 11565 bytes > Desc: not available > > > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mmcg29440 at ...3163... Sat Jan 28 18:07:16 2017 From: mmcg29440 at ...3163... (Marty) Date: Sat, 28 Jan 2017 10:07:16 -0700 (MST) Subject: [Gambas-user] how-to execute file or bash script packaged inside gambas In-Reply-To: <73abb3e80811220623n302fcfeev4e6239f59cbd19ea@...627...> References: <73abb3e80811220623n302fcfeev4e6239f59cbd19ea@...627...> Message-ID: <1485623236018-58345.post@...3046...> Want to run a script file packaged within the Gambas project. Tried the method below. DIM sTempScript as String sTempScript = Temp$ COPY "update.sh" TO sTempscript SHELL sTempScript WAIT Does not work for me. All of the python files are in the gambas project directory and have execute permissions. The error is: /bin/sh:1:/tmp/gambas.1000/3092/1.tmp permission denied What do I change to allow the python programs to run? Is it the project directory? Thanks, Marty -- View this message in context: http://gambas.8142.n7.nabble.com/how-to-execute-file-or-bash-script-packaged-inside-gambas-tp20046p58345.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Sat Jan 28 20:03:51 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 28 Jan 2017 20:03:51 +0100 Subject: [Gambas-user] how-to execute file or bash script packaged inside gambas In-Reply-To: <1485623236018-58345.post@...3046...> References: <73abb3e80811220623n302fcfeev4e6239f59cbd19ea@...627...> <1485623236018-58345.post@...3046...> Message-ID: <9bd7d7e1-b9bf-d9c0-bf31-f940b00c4fec@...1...> Le 28/01/2017 ? 18:07, Marty a ?crit : > Want to run a script file packaged within the Gambas project. Tried the > method below. > > DIM sTempScript as String > > sTempScript = Temp$ > > COPY "update.sh" TO sTempscript > > SHELL sTempScript WAIT > > Does not work for me. All of the python files are in the gambas project > directory and have execute permissions. > > The error is: /bin/sh:1:/tmp/gambas.1000/3092/1.tmp permission denied > > What do I change to allow the python programs to run? Is it the project > directory? > > Thanks, > Marty > Did you set execution rights on the shell file? -- Beno?t Minisini From gambas at ...1... Sat Jan 28 20:09:00 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 28 Jan 2017 20:09:00 +0100 Subject: [Gambas-user] how-to execute file or bash script packaged inside gambas In-Reply-To: <9bd7d7e1-b9bf-d9c0-bf31-f940b00c4fec@...1...> References: <73abb3e80811220623n302fcfeev4e6239f59cbd19ea@...627...> <1485623236018-58345.post@...3046...> <9bd7d7e1-b9bf-d9c0-bf31-f940b00c4fec@...1...> Message-ID: <dcb72328-7280-362f-fdc4-29cbd1543bb6@...1...> Le 28/01/2017 ? 20:03, Beno?t Minisini a ?crit : > Le 28/01/2017 ? 18:07, Marty a ?crit : >> Want to run a script file packaged within the Gambas project. Tried the >> method below. >> >> DIM sTempScript as String >> >> sTempScript = Temp$ >> >> COPY "update.sh" TO sTempscript >> >> SHELL sTempScript WAIT >> >> Does not work for me. All of the python files are in the gambas project >> directory and have execute permissions. >> >> The error is: /bin/sh:1:/tmp/gambas.1000/3092/1.tmp permission denied >> >> What do I change to allow the python programs to run? Is it the project >> directory? >> >> Thanks, >> Marty >> > > Did you set execution rights on the shell file? > I mean on the copy. The permissions on the original file are ignored once you make an executable (they are all read-only and not executable). -- Beno?t Minisini From jussi.lahtinen at ...626... Sat Jan 28 20:14:30 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 28 Jan 2017 21:14:30 +0200 Subject: [Gambas-user] how-to execute file or bash script packaged inside gambas In-Reply-To: <dcb72328-7280-362f-fdc4-29cbd1543bb6@...1...> References: <73abb3e80811220623n302fcfeev4e6239f59cbd19ea@...627...> <1485623236018-58345.post@...3046...> <9bd7d7e1-b9bf-d9c0-bf31-f940b00c4fec@...1...> <dcb72328-7280-362f-fdc4-29cbd1543bb6@...1...> Message-ID: <CAFJMe7Tqq6EUhvOSAx5VVKRs7eo1QLvppQ4+JAshscQ+n1vVvA@...627...> Also does the tmp partition have noexec set (check /etc/fstab)? It's common way to harden Linux installation, but people kind of abuses /tmp... it's not for executions. Jussi On Sat, Jan 28, 2017 at 9:09 PM, Beno?t Minisini < gambas at ...1...> wrote: > Le 28/01/2017 ? 20:03, Beno?t Minisini a ?crit : > > Le 28/01/2017 ? 18:07, Marty a ?crit : > >> Want to run a script file packaged within the Gambas project. Tried the > >> method below. > >> > >> DIM sTempScript as String > >> > >> sTempScript = Temp$ > >> > >> COPY "update.sh" TO sTempscript > >> > >> SHELL sTempScript WAIT > >> > >> Does not work for me. All of the python files are in the gambas project > >> directory and have execute permissions. > >> > >> The error is: /bin/sh:1:/tmp/gambas.1000/3092/1.tmp permission denied > >> > >> What do I change to allow the python programs to run? Is it the project > >> directory? > >> > >> Thanks, > >> Marty > >> > > > > Did you set execution rights on the shell file? > > > > I mean on the copy. The permissions on the original file are ignored > once you make an executable (they are all read-only and not executable). > > -- > Beno?t Minisini > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mmcg29440 at ...3163... Sat Jan 28 22:25:19 2017 From: mmcg29440 at ...3163... (Marty) Date: Sat, 28 Jan 2017 14:25:19 -0700 (MST) Subject: [Gambas-user] how-to execute file or bash script packaged inside Gambas In-Reply-To: <CAFJMe7Tqq6EUhvOSAx5VVKRs7eo1QLvppQ4+JAshscQ+n1vVvA@...627...> References: <73abb3e80811220623n302fcfeev4e6239f59cbd19ea@...627...> <1485623236018-58345.post@...3046...> <9bd7d7e1-b9bf-d9c0-bf31-f940b00c4fec@...1...> <dcb72328-7280-362f-fdc4-29cbd1543bb6@...1...> <CAFJMe7Tqq6EUhvOSAx5VVKRs7eo1QLvppQ4+JAshscQ+n1vVvA@...627...> Message-ID: <!&!AAAAAAAAAAAYAAAAAAAAAMgV5JlR2FVDl5W96SsTJPLCgAAAEAAAAMW4VQjnLtZGtnCB+3f4zGABAAAAAA==@frontier.com> Jussi, Thanks for your response. I?ve checked /etc/fstab and There are only two partitions the main and swap. I do not see any entry for a tmp partition. I?m running Gambas 3.91 under Mint17.1. Did a routine install when I installed it right from the CD. Bennoit, Thanks for your suggestion also. All of the files in the project directory have execute permissions set. Where is /tmp/Gambas located? I look at its permissions. Marty From: Jussi Lahtinen [via Gambas] [mailto:ml-node+s8142n58348h5 at ...3046...] Sent: Saturday, January 28, 2017 12:38 PM To: Marty <mmcg29440 at ...3163...> Subject: Re: how-to execute file or bash script packaged inside gambas Also does the tmp partition have noexec set (check /etc/fstab)? It's common way to harden Linux installation, but people kind of abuses /tmp... it's not for executions. Jussi On Sat, Jan 28, 2017 at 9:09 PM, Beno?t Minisini < [hidden email]> wrote: > Le 28/01/2017 ? 20:03, Beno?t Minisini a ?crit : > > Le 28/01/2017 ? 18:07, Marty a ?crit : > >> Want to run a script file packaged within the Gambas project. Tried the > >> method below. > >> > >> DIM sTempScript as String > >> > >> sTempScript = Temp$ > >> > >> COPY "update.sh" TO sTempscript > >> > >> SHELL sTempScript WAIT > >> > >> Does not work for me. All of the python files are in the gambas project > >> directory and have execute permissions. > >> > >> The error is: /bin/sh:1:/tmp/gambas.1000/3092/1.tmp permission denied > >> > >> What do I change to allow the python programs to run? Is it the project > >> directory? > >> > >> Thanks, > >> Marty > >> > > > > Did you set execution rights on the shell file? > > > > I mean on the copy. The permissions on the original file are ignored > once you make an executable (they are all read-only and not executable). > > -- > Beno?t Minisini > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Gambas-user mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gambas-user _____ If you reply to this email, your message will be added to the discussion below: http://gambas.8142.n7.nabble.com/how-to-execute-file-or-bash-script-packaged-inside-gambas-tp20046p58348.html To start a new topic under gambas-user, email ml-node+s8142n3h10 at ...3046... <mailto:ml-node+s8142n3h10 at ...3046...> To unsubscribe from how-to execute file or bash script packaged inside gambas, click here <http://gambas.8142.n7.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=20046&code=bW1jZzI5NDQwQGZyb250aWVyLmNvbXwyMDA0NnwxNDAwMzEwMDQ5> . <http://gambas.8142.n7.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> NAML -- View this message in context: http://gambas.8142.n7.nabble.com/how-to-execute-file-or-bash-script-packaged-inside-gambas-tp20046p58349.html Sent from the gambas-user mailing list archive at Nabble.com. From jussi.lahtinen at ...626... Sun Jan 29 00:12:10 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 29 Jan 2017 01:12:10 +0200 Subject: [Gambas-user] how-to execute file or bash script packaged inside Gambas In-Reply-To: <!&!AAAAAAAAAAAYAAAAAAAAAMgV5JlR2FVDl5W96SsTJPLCgAAAEAAAAMW4VQjnLtZGtnCB+3f4zGABAAAAAA==@frontier.com> References: <73abb3e80811220623n302fcfeev4e6239f59cbd19ea@...627...> <1485623236018-58345.post@...3046...> <9bd7d7e1-b9bf-d9c0-bf31-f940b00c4fec@...1...> <dcb72328-7280-362f-fdc4-29cbd1543bb6@...1...> <CAFJMe7Tqq6EUhvOSAx5VVKRs7eo1QLvppQ4+JAshscQ+n1vVvA@...627...> <!&!AAAAAAAAAAAYAAAAAAAAAMgV5JlR2FVDl5W96SsTJPLCgAAAEAAAAMW4VQjnLtZGtnCB+3f4zGABAAAAAA==@frontier.com> Message-ID: <CAFJMe7SXQnfMh9Z_rcX+WjkBs6Dr0rmrp14h67TdfQ2kwmEWgw@...627...> Literally here: /tmp/gambas.1000/3092/1.tmp Read the error message carefully! Paste this into terminal and it will open the folder for you: nemo /tmp/gambas.1000/3092/ Jussi On Sat, Jan 28, 2017 at 11:25 PM, Marty <mmcg29440 at ...3163...> wrote: > Jussi, > > > > Thanks for your response. I?ve checked /etc/fstab and There are only two > partitions the main and swap. I do not see any entry for a tmp partition. > I?m running Gambas 3.91 under Mint17.1. > > Did a routine install when I installed it right from the CD. > > > > Bennoit, > > > > Thanks for your suggestion also. All of the files in the project directory > have execute permissions set. Where is /tmp/Gambas located? I look at its > permissions. > > > > Marty > > > > From: Jussi Lahtinen [via Gambas] [mailto:ml-node+s8142n58348h5@ > n7.nabble.com] > Sent: Saturday, January 28, 2017 12:38 PM > To: Marty <mmcg29440 at ...3163...> > Subject: Re: how-to execute file or bash script packaged inside gambas > > > > Also does the tmp partition have noexec set (check /etc/fstab)? It's common > way to harden Linux installation, but people kind of abuses /tmp... it's > not for executions. > > > Jussi > > On Sat, Jan 28, 2017 at 9:09 PM, Beno?t Minisini < > [hidden email]> wrote: > > > > Le 28/01/2017 ? 20:03, Beno?t Minisini a ?crit : > > > Le 28/01/2017 ? 18:07, Marty a ?crit : > > >> Want to run a script file packaged within the Gambas project. Tried > the > > >> method below. > > >> > > >> DIM sTempScript as String > > >> > > >> sTempScript = Temp$ > > >> > > >> COPY "update.sh" TO sTempscript > > >> > > >> SHELL sTempScript WAIT > > >> > > >> Does not work for me. All of the python files are in the gambas > project > > >> directory and have execute permissions. > > >> > > >> The error is: /bin/sh:1:/tmp/gambas.1000/3092/1.tmp permission denied > > >> > > >> What do I change to allow the python programs to run? Is it the > project > > >> directory? > > >> > > >> Thanks, > > >> Marty > > >> > > > > > > Did you set execution rights on the shell file? > > > > > > > I mean on the copy. The permissions on the original file are ignored > > once you make an executable (they are all read-only and not executable). > > > > -- > > Beno?t Minisini > > > > ------------------------------------------------------------ > > ------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > _______________________________________________ > > Gambas-user mailing list > > [hidden email] > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > _____ > > If you reply to this email, your message will be added to the discussion > below: > > http://gambas.8142.n7.nabble.com/how-to-execute-file-or-bash > -script-packaged-inside-gambas-tp20046p58348.html > > To start a new topic under gambas-user, email > ml-node+s8142n3h10 at ...3046... <mailto:ml-node+s8142n3h10 at ...3046...> > To unsubscribe from how-to execute file or bash script packaged inside > gambas, click here <http://gambas.8142.n7.nabble. > com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node= > 20046&code=bW1jZzI5NDQwQGZyb250aWVyLmNvbXwyMDA0NnwxNDAwMzEwMDQ5> . > <http://gambas.8142.n7.nabble.com/template/NamlServlet.jtp?macro=macro_ > viewer&id=instant_html%21nabble%3Aemail.naml&base= > nabble.naml.namespaces.BasicNamespace-nabble.view.web. > template.NabbleNamespace-nabble.view.web.template.NodeNamesp > ace&breadcrumbs=notify_subscribers%21nabble%3Aemail. > naml-instant_emails%21nabble%3Aemail.naml-send_instant_ > email%21nabble%3Aemail.naml> NAML > > > > > > -- > View this message in context: http://gambas.8142.n7.nabble.c > om/how-to-execute-file-or-bash-script-packaged-inside-gambas > -tp20046p58349.html > Sent from the gambas-user mailing list archive at Nabble.com. > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From charlie at ...2793... Sun Jan 29 12:43:52 2017 From: charlie at ...2793... (Charlie) Date: Sun, 29 Jan 2017 04:43:52 -0700 (MST) Subject: [Gambas-user] how-to execute file or bash script packaged inside gambas In-Reply-To: <73abb3e80811220623n302fcfeev4e6239f59cbd19ea@...627...> References: <73abb3e80811220623n302fcfeev4e6239f59cbd19ea@...627...> Message-ID: <1485690232175-58351.post@...3046...> Here is a little program that copies a small 'sh' file from the program's folder and runs it. Hope it helps. runscript.tar <http://gambas.8142.n7.nabble.com/file/n58351/runscript.tar> ----- Check out www.gambas.one -- View this message in context: http://gambas.8142.n7.nabble.com/how-to-execute-file-or-bash-script-packaged-inside-gambas-tp20046p58351.html Sent from the gambas-user mailing list archive at Nabble.com. From mmcg29440 at ...3163... Sun Jan 29 15:22:05 2017 From: mmcg29440 at ...3163... (Marty) Date: Sun, 29 Jan 2017 07:22:05 -0700 (MST) Subject: [Gambas-user] how-to execute file or bash script packaged inside Gambas In-Reply-To: <CAFJMe7SXQnfMh9Z_rcX+WjkBs6Dr0rmrp14h67TdfQ2kwmEWgw@...627...> References: <73abb3e80811220623n302fcfeev4e6239f59cbd19ea@...627...> <1485623236018-58345.post@...3046...> <9bd7d7e1-b9bf-d9c0-bf31-f940b00c4fec@...1...> <dcb72328-7280-362f-fdc4-29cbd1543bb6@...1...> <CAFJMe7Tqq6EUhvOSAx5VVKRs7eo1QLvppQ4+JAshscQ+n1vVvA@...627...> <!&!AAAAAAAAAAAYAAAAAAAAAMgV5JlR2FVDl5W96SsTJPLCgAAAEAAAAMW4VQjnLtZGtnCB+3f4zGABAAAAAA==@frontier.com> <CAFJMe7SXQnfMh9Z_rcX+WjkBs6Dr0rmrp14h67TdfQ2kwmEWgw@...627...> Message-ID: <!&!AAAAAAAAAAAYAAAAAAAAAMgV5JlR2FVDl5W96SsTJPLCgAAAEAAAAPPIwHpEgypLtBII+bJbw/QBAAAAAA==@frontier.com> Jussi, I?ve found the answer. The file 1.tmp in directory /tmp/Gambas.1000/3092 is created at the time COPY "update.sh" TO sTempscript is executed. Because it is dynamically created it does not have execute permissions. After executing COPY "update.sh" TO sTempscript set the permissions on sTempscript to rwx using chmod. Then the script will run. Now that caused another problem. The script passes parameters to a python program that is still in the project directory not in /tmp?. This causes a file not found error when the script executes. These temp files remain after the program exits. I should delete the when the program exits. What should I do to work around the file not found error? Marty From: Jussi Lahtinen [via Gambas] [mailto:ml-node+s8142n58350h67 at ...3046...] Sent: Saturday, January 28, 2017 4:36 PM To: Marty <mmcg29440 at ...3163...> Subject: Re: how-to execute file or bash script packaged inside Gambas Literally here: /tmp/gambas.1000/3092/1.tmp Read the error message carefully! Paste this into terminal and it will open the folder for you: nemo /tmp/gambas.1000/3092/ Jussi On Sat, Jan 28, 2017 at 11:25 PM, Marty <[hidden email]> wrote: > Jussi, > > > > Thanks for your response. I?ve checked /etc/fstab and There are only two > partitions the main and swap. I do not see any entry for a tmp partition. > I?m running Gambas 3.91 under Mint17.1. > > Did a routine install when I installed it right from the CD. > > > > Bennoit, > > > > Thanks for your suggestion also. All of the files in the project directory > have execute permissions set. Where is /tmp/Gambas located? I look at its > permissions. > > > > Marty > > > > From: Jussi Lahtinen [via Gambas] [mailto:ml-node+s8142n58348h5@ > n7.nabble.com] > Sent: Saturday, January 28, 2017 12:38 PM > To: Marty <[hidden email]> > Subject: Re: how-to execute file or bash script packaged inside gambas > > > > Also does the tmp partition have noexec set (check /etc/fstab)? It's common > way to harden Linux installation, but people kind of abuses /tmp... it's > not for executions. > > > Jussi > > On Sat, Jan 28, 2017 at 9:09 PM, Beno?t Minisini < > [hidden email]> wrote: > > > > Le 28/01/2017 ? 20:03, Beno?t Minisini a ?crit : > > > Le 28/01/2017 ? 18:07, Marty a ?crit : > > >> Want to run a script file packaged within the Gambas project. Tried > the > > >> method below. > > >> > > >> DIM sTempScript as String > > >> > > >> sTempScript = Temp$ > > >> > > >> COPY "update.sh" TO sTempscript > > >> > > >> SHELL sTempScript WAIT > > >> > > >> Does not work for me. All of the python files are in the gambas > project > > >> directory and have execute permissions. > > >> > > >> The error is: /bin/sh:1:/tmp/gambas.1000/3092/1.tmp permission denied > > >> > > >> What do I change to allow the python programs to run? Is it the > project > > >> directory? > > >> > > >> Thanks, > > >> Marty > > >> > > > > > > Did you set execution rights on the shell file? > > > > > > > I mean on the copy. The permissions on the original file are ignored > > once you make an executable (they are all read-only and not executable). > > > > -- > > Beno?t Minisini > > > > ------------------------------------------------------------ > > ------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > _______________________________________________ > > Gambas-user mailing list > > [hidden email] > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > _____ > > If you reply to this email, your message will be added to the discussion > below: > > http://gambas.8142.n7.nabble.com/how-to-execute-file-or-bash > -script-packaged-inside-gambas-tp20046p58348.html > > To start a new topic under gambas-user, email > [hidden email] <mailto:[hidden email]> > To unsubscribe from how-to execute file or bash script packaged inside > gambas, click here <http://gambas.8142.n7.nabble. > com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node= > 20046&code=bW1jZzI5NDQwQGZyb250aWVyLmNvbXwyMDA0NnwxNDAwMzEwMDQ5> . > <http://gambas.8142.n7.nabble.com/template/NamlServlet.jtp?macro=macro_ > viewer&id=instant_html%21nabble%3Aemail.naml&base= > nabble.naml.namespaces.BasicNamespace-nabble.view.web. > template.NabbleNamespace-nabble.view.web.template.NodeNamesp > ace&breadcrumbs=notify_subscribers%21nabble%3Aemail. > naml-instant_emails%21nabble%3Aemail.naml-send_instant_ > email%21nabble%3Aemail.naml> NAML > > > > > > -- > View this message in context: http://gambas.8142.n7.nabble.c > om/how-to-execute-file-or-bash-script-packaged-inside-gambas > -tp20046p58349.html > Sent from the gambas-user mailing list archive at Nabble.com. > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Gambas-user mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gambas-user _____ If you reply to this email, your message will be added to the discussion below: http://gambas.8142.n7.nabble.com/how-to-execute-file-or-bash-script-packaged-inside-gambas-tp20046p58350.html To start a new topic under gambas-user, email ml-node+s8142n3h10 at ...3046... <mailto:ml-node+s8142n3h10 at ...3046...> To unsubscribe from how-to execute file or bash script packaged inside gambas, click here <http://gambas.8142.n7.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=20046&code=bW1jZzI5NDQwQGZyb250aWVyLmNvbXwyMDA0NnwxNDAwMzEwMDQ5> . <http://gambas.8142.n7.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> NAML -- View this message in context: http://gambas.8142.n7.nabble.com/how-to-execute-file-or-bash-script-packaged-inside-gambas-tp20046p58352.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas.fr at ...626... Sun Jan 29 17:47:49 2017 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 29 Jan 2017 17:47:49 +0100 Subject: [Gambas-user] how-to execute file or bash script packaged inside Gambas In-Reply-To: <!&!AAAAAAAAAAAYAAAAAAAAAMgV5JlR2FVDl5W96SsTJPLCgAAAEAAAAPPIwHpEgypLtBII+bJbw/QBAAAAAA==@frontier.com> References: <73abb3e80811220623n302fcfeev4e6239f59cbd19ea@...627...> <1485623236018-58345.post@...3046...> <9bd7d7e1-b9bf-d9c0-bf31-f940b00c4fec@...1...> <dcb72328-7280-362f-fdc4-29cbd1543bb6@...1...> <CAFJMe7Tqq6EUhvOSAx5VVKRs7eo1QLvppQ4+JAshscQ+n1vVvA@...627...> <!&!AAAAAAAAAAAYAAAAAAAAAMgV5JlR2FVDl5W96SsTJPLCgAAAEAAAAMW4VQjnLtZGtnCB+3f4zGABAAAAAA==@frontier.com> <CAFJMe7SXQnfMh9Z_rcX+WjkBs6Dr0rmrp14h67TdfQ2kwmEWgw@...627...> <!&!AAAAAAAAAAAYAAAAAAAAAMgV5JlR2FVDl5W96SsTJPLCgAAAEAAAAPPIwHpEgypLtBII+bJbw/QBAAAAAA==@frontier.com> Message-ID: <CAFkCsL7VYqQ6nfssEYW+KjCvYcsZCm3b9k1dYRu9dwOJW65izA@...627...> why a python program ?... 2017-01-29 15:22 GMT+01:00 Marty <mmcg29440 at ...3163...>: > Jussi, > > > > I?ve found the answer. The file 1.tmp in directory /tmp/Gambas.1000/3092 is created at the time COPY "update.sh" TO sTempscript is executed. Because it is dynamically created it does not have execute permissions. After executing COPY "update.sh" TO sTempscript set the permissions on sTempscript to rwx using chmod. Then the script will run. > > > > Now that caused another problem. The script passes parameters to a python program that is still in the project directory not in /tmp?. This causes a file not found error when the script executes. These temp files remain after the program exits. I should delete the when the program exits. > > > > What should I do to work around the file not found error? > > > > Marty > > > > From: Jussi Lahtinen [via Gambas] [mailto:ml-node+s8142n58350h67 at ...3640.....] > Sent: Saturday, January 28, 2017 4:36 PM > To: Marty <mmcg29440 at ...3163...> > Subject: Re: how-to execute file or bash script packaged inside Gambas > > > > Literally here: /tmp/gambas.1000/3092/1.tmp > Read the error message carefully! > > Paste this into terminal and it will open the folder for you: > nemo /tmp/gambas.1000/3092/ > > > Jussi > > On Sat, Jan 28, 2017 at 11:25 PM, Marty <[hidden email]> wrote: > > >> Jussi, >> >> >> >> Thanks for your response. I?ve checked /etc/fstab and There are only two >> partitions the main and swap. I do not see any entry for a tmp partition. >> I?m running Gambas 3.91 under Mint17.1. >> >> Did a routine install when I installed it right from the CD. >> >> >> >> Bennoit, >> >> >> >> Thanks for your suggestion also. All of the files in the project directory >> have execute permissions set. Where is /tmp/Gambas located? I look at its >> permissions. >> >> >> >> Marty >> >> >> >> From: Jussi Lahtinen [via Gambas] [mailto:ml-node+s8142n58348h5@ >> n7.nabble.com] >> Sent: Saturday, January 28, 2017 12:38 PM >> To: Marty <[hidden email]> >> Subject: Re: how-to execute file or bash script packaged inside gambas >> >> >> >> Also does the tmp partition have noexec set (check /etc/fstab)? It's common >> way to harden Linux installation, but people kind of abuses /tmp... it's >> not for executions. >> >> >> Jussi >> >> On Sat, Jan 28, 2017 at 9:09 PM, Beno?t Minisini < >> [hidden email]> wrote: >> >> >> > Le 28/01/2017 ? 20:03, Beno?t Minisini a ?crit : >> > > Le 28/01/2017 ? 18:07, Marty a ?crit : >> > >> Want to run a script file packaged within the Gambas project. Tried >> the >> > >> method below. >> > >> >> > >> DIM sTempScript as String >> > >> >> > >> sTempScript = Temp$ >> > >> >> > >> COPY "update.sh" TO sTempscript >> > >> >> > >> SHELL sTempScript WAIT >> > >> >> > >> Does not work for me. All of the python files are in the gambas >> project >> > >> directory and have execute permissions. >> > >> >> > >> The error is: /bin/sh:1:/tmp/gambas.1000/3092/1.tmp permission denied >> > >> >> > >> What do I change to allow the python programs to run? Is it the >> project >> > >> directory? >> > >> >> > >> Thanks, >> > >> Marty >> > >> >> > > >> > > Did you set execution rights on the shell file? >> > > >> > >> > I mean on the copy. The permissions on the original file are ignored >> > once you make an executable (they are all read-only and not executable). >> > >> > -- >> > Beno?t Minisini >> > >> > ------------------------------------------------------------ >> > ------------------ >> > Check out the vibrant tech community on one of the world's most >> > engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> > _______________________________________________ >> > Gambas-user mailing list >> > [hidden email] >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > >> >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> _______________________________________________ >> Gambas-user mailing list >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> _____ >> >> If you reply to this email, your message will be added to the discussion >> below: >> >> http://gambas.8142.n7.nabble.com/how-to-execute-file-or-bash >> -script-packaged-inside-gambas-tp20046p58348.html >> >> To start a new topic under gambas-user, email >> [hidden email] <mailto:[hidden email]> >> To unsubscribe from how-to execute file or bash script packaged inside >> gambas, click here <http://gambas.8142.n7.nabble. >> com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node= >> 20046&code=bW1jZzI5NDQwQGZyb250aWVyLmNvbXwyMDA0NnwxNDAwMzEwMDQ5> . >> <http://gambas.8142.n7.nabble.com/template/NamlServlet.jtp?macro=macro_ >> viewer&id=instant_html%21nabble%3Aemail.naml&base= >> nabble.naml.namespaces.BasicNamespace-nabble.view.web. >> template.NabbleNamespace-nabble.view.web.template.NodeNamesp >> ace&breadcrumbs=notify_subscribers%21nabble%3Aemail. >> naml-instant_emails%21nabble%3Aemail.naml-send_instant_ >> email%21nabble%3Aemail.naml> NAML >> >> >> >> >> >> -- >> View this message in context: http://gambas.8142.n7.nabble.c >> om/how-to-execute-file-or-bash-script-packaged-inside-gambas >> -tp20046p58349.html >> Sent from the gambas-user mailing list archive at Nabble.com. >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> _______________________________________________ >> Gambas-user mailing list >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > _____ > > If you reply to this email, your message will be added to the discussion below: > > http://gambas.8142.n7.nabble.com/how-to-execute-file-or-bash-script-packaged-inside-gambas-tp20046p58350.html > > To start a new topic under gambas-user, email ml-node+s8142n3h10 at ...3640..... <mailto:ml-node+s8142n3h10 at ...3046...> > To unsubscribe from how-to execute file or bash script packaged inside gambas, click here <http://gambas.8142.n7.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=20046&code=bW1jZzI5NDQwQGZyb250aWVyLmNvbXwyMDA0NnwxNDAwMzEwMDQ5> . > <http://gambas.8142.n7.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> NAML > > > > > > -- > View this message in context: http://gambas.8142.n7.nabble.com/how-to-execute-file-or-bash-script-packaged-inside-gambas-tp20046p58352.html > Sent from the gambas-user mailing list archive at Nabble.com. > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gbwilly at ...3606... Sun Jan 29 17:57:25 2017 From: gbwilly at ...3606... (gbwilly at ...3606...) Date: Sun, 29 Jan 2017 17:57:25 +0100 Subject: [Gambas-user] how-to execute file or bash script packaged inside Gambas In-Reply-To: <!&!AAAAAAAAAAAYAAAAAAAAAMgV5JlR2FVDl5W96SsTJPLCgAAAEAAAAPPIwHpEgypLtBII+bJbw/QBAAAAAA==@frontier.com> References: <73abb3e80811220623n302fcfeev4e6239f59cbd19ea@...627...> <1485623236018-58345.post@...3046...> <9bd7d7e1-b9bf-d9c0-bf31-f940b00c4fec@...1...> <dcb72328-7280-362f-fdc4-29cbd1543bb6@...1...> <CAFJMe7Tqq6EUhvOSAx5VVKRs7eo1QLvppQ4+JAshscQ+n1vVvA@...627...> <!&!AAAAAAAAAAAYAAAAAAAAAMgV5JlR2FVDl5W96SsTJPLCgAAAEAAAAMW4VQjnLtZGtnCB+3f4zGABAAAAAA==@frontier.com> <CAFJMe7SXQnfMh9Z_rcX+WjkBs6Dr0rmrp14h67TdfQ2kwmEWgw@...627...> <!&!AAAAAAAAAAAYAAAAAAAAAMgV5JlR2FVDl5W96SsTJPLCgAAAEAAAAPPIwHpEgypLtBII+bJbw/QBAAAAAA==@frontier.com> Message-ID: <f0d8e3dac6c32f2aa2ebc08dcb8f1d95@...3606...> On 2017-01-29 15:22, Marty wrote: > Jussi, > > > > I?ve found the answer. The file 1.tmp in directory > /tmp/Gambas.1000/3092 is created at the time COPY "update.sh" TO > sTempscript is executed. Because it is dynamically created it does not > have execute permissions. After executing COPY "update.sh" TO > sTempscript set the permissions on sTempscript to rwx using chmod. > Then the script will run. > > > > Now that caused another problem. The script passes parameters to a > python program that is still in the project directory not in /tmp?. > This causes a file not found error when the script executes. These > temp files remain after the program exits. I should delete the when > the program exits. > > > > What should I do to work around the file not found error? > > > > Marty > Hi Marty, If you have this application for personal use on your own system this is what I would do: 1. Copy (as root) the update.sh and python program to /usr/bin 2. chmod 755 both the .sh and phyton program. 3. In you application refer to the /usr/bin/update.sh script. Now your application should run just fine. If on the other hand you want to distribute this you need to do as follows: 1. Put both the update.sh and phyton program in your .hidden project folder (named Project in IDE). 2. Make a package and in 'step 8. Extra files' of the packager add your update.sh and let if be placed in /usr/bin during installation time. Do the same for the phyton program. 3. Install the package on an other system to test and you will find both your update.sh and phyton program in /usr/bin with proper priveledges, after installation. Your application should now run fine on the other system, without any manual interference by you. One thing you need to understand is that refering to files located in the project Data folder will ALWAYS be read-only access once the gambas executable of the project is made. So follow the common linux way of organising things. Place sripts in /usr/bin (this is where stuff gets executed), common application stuff (like icons and stuff that needs to be read-only accesible) could be in /usr/share. If you need read/write acces your application needs to create these files in the users home folder as that is the only place the user running the application will have read/write access. When developing you application, on the development system you need to do this manualy for testing while developing. Once distributing your application you use step 8 in package manager to make sure all is at its proper location after installing the package. Hope this helps, gbWilly From mmcg29440 at ...3163... Sun Jan 29 19:14:42 2017 From: mmcg29440 at ...3163... (Marty) Date: Sun, 29 Jan 2017 11:14:42 -0700 (MST) Subject: [Gambas-user] how-to execute file or bash script packaged inside Gambas In-Reply-To: <CAFkCsL7VYqQ6nfssEYW+KjCvYcsZCm3b9k1dYRu9dwOJW65izA@...627...> References: <73abb3e80811220623n302fcfeev4e6239f59cbd19ea@...627...> <1485623236018-58345.post@...3046...> <9bd7d7e1-b9bf-d9c0-bf31-f940b00c4fec@...1...> <dcb72328-7280-362f-fdc4-29cbd1543bb6@...1...> <CAFJMe7Tqq6EUhvOSAx5VVKRs7eo1QLvppQ4+JAshscQ+n1vVvA@...627...> <!&!AAAAAAAAAAAYAAAAAAAAAMgV5JlR2FVDl5W96SsTJPLCgAAAEAAAAMW4VQjnLtZGtnCB+3f4zGABAAAAAA==@frontier.com> <CAFJMe7SXQnfMh9Z_rcX+WjkBs6Dr0rmrp14h67TdfQ2kwmEWgw@...627...> <!&!AAAAAAAAAAAYAAAAAAAAAMgV5JlR2FVDl5W96SsTJPLCgAAAEAAAAPPIwHpEgypLtBII+bJbw/QBAAAAAA==@frontier.com> <CAFkCsL7VYqQ6nfssEYW+KjCvYcsZCm3b9k1dYRu9dwOJW65izA@...627...> Message-ID: <001101d27a69$0fdc5b60$2f951220$@frontier.com> Fabien, I?m writing a control program that has one of its parts a window to display the bandspread form a radio receiver. The python program does this well. No need to reinvent the wheel. Hope this answers your question. Marty From: Fabien Bodard-4 [via Gambas] [mailto:ml-node+s8142n58353h60 at ...3641....] Sent: Sunday, January 29, 2017 10:11 AM To: Marty <mmcg29440 at ...3163...> Subject: Re: how-to execute file or bash script packaged inside Gambas why a python program ?... 2017-01-29 15:22 GMT+01:00 Marty <[hidden email]>: > Jussi, > > > > I?ve found the answer. The file 1.tmp in directory /tmp/Gambas.1000/3092 is created at the time COPY "update.sh" TO sTempscript is executed. Because it is dynamically created it does not have execute permissions. After executing COPY "update.sh" TO sTempscript set the permissions on sTempscript to rwx using chmod. Then the script will run. > > > > Now that caused another problem. The script passes parameters to a python program that is still in the project directory not in /tmp?. This causes a file not found error when the script executes. These temp files remain after the program exits. I should delete the when the program exits. > > > > What should I do to work around the file not found error? > > > > Marty > > > > From: Jussi Lahtinen [via Gambas] [mailto:[hidden email]] > Sent: Saturday, January 28, 2017 4:36 PM > To: Marty <[hidden email]> > Subject: Re: how-to execute file or bash script packaged inside Gambas > > > > Literally here: /tmp/gambas.1000/3092/1.tmp > Read the error message carefully! > > Paste this into terminal and it will open the folder for you: > nemo /tmp/gambas.1000/3092/ > > > Jussi > > On Sat, Jan 28, 2017 at 11:25 PM, Marty <[hidden email]> wrote: > > >> Jussi, >> >> >> >> Thanks for your response. I?ve checked /etc/fstab and There are only two >> partitions the main and swap. I do not see any entry for a tmp partition. >> I?m running Gambas 3.91 under Mint17.1. >> >> Did a routine install when I installed it right from the CD. >> >> >> >> Bennoit, >> >> >> >> Thanks for your suggestion also. All of the files in the project directory >> have execute permissions set. Where is /tmp/Gambas located? I look at its >> permissions. >> >> >> >> Marty >> >> >> >> From: Jussi Lahtinen [via Gambas] [mailto:ml-node+s8142n58348h5@ >> n7.nabble.com] >> Sent: Saturday, January 28, 2017 12:38 PM >> To: Marty <[hidden email]> >> Subject: Re: how-to execute file or bash script packaged inside gambas >> >> >> >> Also does the tmp partition have noexec set (check /etc/fstab)? It's common >> way to harden Linux installation, but people kind of abuses /tmp... it's >> not for executions. >> >> >> Jussi >> >> On Sat, Jan 28, 2017 at 9:09 PM, Beno?t Minisini < >> [hidden email]> wrote: >> >> >> > Le 28/01/2017 ? 20:03, Beno?t Minisini a ?crit : >> > > Le 28/01/2017 ? 18:07, Marty a ?crit : >> > >> Want to run a script file packaged within the Gambas project. Tried >> the >> > >> method below. >> > >> >> > >> DIM sTempScript as String >> > >> >> > >> sTempScript = Temp$ >> > >> >> > >> COPY "update.sh" TO sTempscript >> > >> >> > >> SHELL sTempScript WAIT >> > >> >> > >> Does not work for me. All of the python files are in the gambas >> project >> > >> directory and have execute permissions. >> > >> >> > >> The error is: /bin/sh:1:/tmp/gambas.1000/3092/1.tmp permission denied >> > >> >> > >> What do I change to allow the python programs to run? Is it the >> project >> > >> directory? >> > >> >> > >> Thanks, >> > >> Marty >> > >> >> > > >> > > Did you set execution rights on the shell file? >> > > >> > >> > I mean on the copy. The permissions on the original file are ignored >> > once you make an executable (they are all read-only and not executable). >> > >> > -- >> > Beno?t Minisini >> > >> > ------------------------------------------------------------ >> > ------------------ >> > Check out the vibrant tech community on one of the world's most >> > engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> > _______________________________________________ >> > Gambas-user mailing list >> > [hidden email] >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > >> >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> _______________________________________________ >> Gambas-user mailing list >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> _____ >> >> If you reply to this email, your message will be added to the discussion >> below: >> >> http://gambas.8142.n7.nabble.com/how-to-execute-file-or-bash >> -script-packaged-inside-gambas-tp20046p58348.html >> >> To start a new topic under gambas-user, email >> [hidden email] <mailto:[hidden email] <mailto:[hidden%20email]> > >> To unsubscribe from how-to execute file or bash script packaged inside >> gambas, click here <http://gambas.8142.n7.nabble. >> com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node= >> 20046&code=bW1jZzI5NDQwQGZyb250aWVyLmNvbXwyMDA0NnwxNDAwMzEwMDQ5> . >> <http://gambas.8142.n7.nabble.com/template/NamlServlet.jtp?macro=macro_ >> viewer&id=instant_html%21nabble%3Aemail.naml&base= >> nabble.naml.namespaces.BasicNamespace-nabble.view.web. >> template.NabbleNamespace-nabble.view.web.template.NodeNamesp >> ace&breadcrumbs=notify_subscribers%21nabble%3Aemail. >> naml-instant_emails%21nabble%3Aemail.naml-send_instant_ >> email%21nabble%3Aemail.naml> NAML >> >> >> >> >> >> -- >> View this message in context: http://gambas.8142.n7.nabble.c >> om/how-to-execute-file-or-bash-script-packaged-inside-gambas >> -tp20046p58349.html >> Sent from the gambas-user mailing list archive at Nabble.com. >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> _______________________________________________ >> Gambas-user mailing list >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > _____ > > If you reply to this email, your message will be added to the discussion below: > > http://gambas.8142.n7.nabble.com/how-to-execute-file-or-bash-script-packaged-inside-gambas-tp20046p58350.html > > To start a new topic under gambas-user, email [hidden email] <mailto:[hidden email]> > To unsubscribe from how-to execute file or bash script packaged inside gambas, click here < . > <http://gambas.8142.n7.nabble.com/template/NamlServlet.jtp?macro=macro_viewer <http://gambas.8142.n7.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> &id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> NAML > > > > > > -- > View this message in context: http://gambas.8142.n7.nabble.com/how-to-execute-file-or-bash-script-packaged-inside-gambas-tp20046p58352.html > Sent from the gambas-user mailing list archive at Nabble.com. > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Gambas-user mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gambas-user _____ If you reply to this email, your message will be added to the discussion below: http://gambas.8142.n7.nabble.com/how-to-execute-file-or-bash-script-packaged-inside-gambas-tp20046p58353.html To start a new topic under gambas-user, email ml-node+s8142n3h10 at ...3046... <mailto:ml-node+s8142n3h10 at ...3046...> To unsubscribe from how-to execute file or bash script packaged inside gambas, click here <http://gambas.8142.n7.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=20046&code=bW1jZzI5NDQwQGZyb250aWVyLmNvbXwyMDA0NnwxNDAwMzEwMDQ5> . <http://gambas.8142.n7.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> NAML -- View this message in context: http://gambas.8142.n7.nabble.com/how-to-execute-file-or-bash-script-packaged-inside-gambas-tp20046p58355.html Sent from the gambas-user mailing list archive at Nabble.com. From jussi.lahtinen at ...626... Sun Jan 29 22:43:40 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 29 Jan 2017 23:43:40 +0200 Subject: [Gambas-user] how-to execute file or bash script packaged inside Gambas In-Reply-To: <!&!AAAAAAAAAAAYAAAAAAAAAMgV5JlR2FVDl5W96SsTJPLCgAAAEAAAAPPIwHpEgypLtBII+bJbw/QBAAAAAA==@frontier.com> References: <73abb3e80811220623n302fcfeev4e6239f59cbd19ea@...627...> <1485623236018-58345.post@...3046...> <9bd7d7e1-b9bf-d9c0-bf31-f940b00c4fec@...1...> <dcb72328-7280-362f-fdc4-29cbd1543bb6@...1...> <CAFJMe7Tqq6EUhvOSAx5VVKRs7eo1QLvppQ4+JAshscQ+n1vVvA@...627...> <!&!AAAAAAAAAAAYAAAAAAAAAMgV5JlR2FVDl5W96SsTJPLCgAAAEAAAAMW4VQjnLtZGtnCB+3f4zGABAAAAAA==@frontier.com> <CAFJMe7SXQnfMh9Z_rcX+WjkBs6Dr0rmrp14h67TdfQ2kwmEWgw@...627...> <!&!AAAAAAAAAAAYAAAAAAAAAMgV5JlR2FVDl5W96SsTJPLCgAAAEAAAAPPIwHpEgypLtBII+bJbw/QBAAAAAA==@frontier.com> Message-ID: <CAFJMe7TDR3bhjBezPud35VeZpMfe7gmHJj0T3gyxeSzyreTQAQ@...627...> I suggest you copy the script and the python executables in dedicated folder made by your program. Example your program could create: /home/MyProgram/scripts Or /home/MyProgram/tmp And copy things there for the execution. Do you really need to remove the scripts after execution or are they executed every time with the program? Jussi On Sun, Jan 29, 2017 at 4:22 PM, Marty <mmcg29440 at ...3163...> wrote: > Jussi, > > > > I?ve found the answer. The file 1.tmp in directory /tmp/Gambas.1000/3092 > is created at the time COPY "update.sh" TO sTempscript is executed. Because > it is dynamically created it does not have execute permissions. After > executing COPY "update.sh" TO sTempscript set the permissions on > sTempscript to rwx using chmod. Then the script will run. > > > > Now that caused another problem. The script passes parameters to a python > program that is still in the project directory not in /tmp?. This causes a > file not found error when the script executes. These temp files remain > after the program exits. I should delete the when the program exits. > > > > What should I do to work around the file not found error? > > > > Marty > > > > From: Jussi Lahtinen [via Gambas] [mailto:ml-node+ > s8142n58350h67 at ...3046...] > Sent: Saturday, January 28, 2017 4:36 PM > To: Marty <mmcg29440 at ...3163...> > Subject: Re: how-to execute file or bash script packaged inside Gambas > > > > Literally here: /tmp/gambas.1000/3092/1.tmp > Read the error message carefully! > > Paste this into terminal and it will open the folder for you: > nemo /tmp/gambas.1000/3092/ > > > Jussi > > On Sat, Jan 28, 2017 at 11:25 PM, Marty <[hidden email]> wrote: > > > > Jussi, > > > > > > > > Thanks for your response. I?ve checked /etc/fstab and There are only two > > partitions the main and swap. I do not see any entry for a tmp partition. > > I?m running Gambas 3.91 under Mint17.1. > > > > Did a routine install when I installed it right from the CD. > > > > > > > > Bennoit, > > > > > > > > Thanks for your suggestion also. All of the files in the project > directory > > have execute permissions set. Where is /tmp/Gambas located? I look at its > > permissions. > > > > > > > > Marty > > > > > > > > From: Jussi Lahtinen [via Gambas] [mailto:ml-node+s8142n58348h5@ > > n7.nabble.com] > > Sent: Saturday, January 28, 2017 12:38 PM > > To: Marty <[hidden email]> > > Subject: Re: how-to execute file or bash script packaged inside gambas > > > > > > > > Also does the tmp partition have noexec set (check /etc/fstab)? It's > common > > way to harden Linux installation, but people kind of abuses /tmp... it's > > not for executions. > > > > > > Jussi > > > > On Sat, Jan 28, 2017 at 9:09 PM, Beno?t Minisini < > > [hidden email]> wrote: > > > > > > > Le 28/01/2017 ? 20:03, Beno?t Minisini a ?crit : > > > > Le 28/01/2017 ? 18:07, Marty a ?crit : > > > >> Want to run a script file packaged within the Gambas project. Tried > > the > > > >> method below. > > > >> > > > >> DIM sTempScript as String > > > >> > > > >> sTempScript = Temp$ > > > >> > > > >> COPY "update.sh" TO sTempscript > > > >> > > > >> SHELL sTempScript WAIT > > > >> > > > >> Does not work for me. All of the python files are in the gambas > > project > > > >> directory and have execute permissions. > > > >> > > > >> The error is: /bin/sh:1:/tmp/gambas.1000/3092/1.tmp permission > denied > > > >> > > > >> What do I change to allow the python programs to run? Is it the > > project > > > >> directory? > > > >> > > > >> Thanks, > > > >> Marty > > > >> > > > > > > > > Did you set execution rights on the shell file? > > > > > > > > > > I mean on the copy. The permissions on the original file are ignored > > > once you make an executable (they are all read-only and not > executable). > > > > > > -- > > > Beno?t Minisini > > > > > > ------------------------------------------------------------ > > > ------------------ > > > Check out the vibrant tech community on one of the world's most > > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > > _______________________________________________ > > > Gambas-user mailing list > > > [hidden email] > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > ------------------------------------------------------------ > > ------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > _______________________________________________ > > Gambas-user mailing list > > [hidden email] > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > _____ > > > > If you reply to this email, your message will be added to the discussion > > below: > > > > http://gambas.8142.n7.nabble.com/how-to-execute-file-or-bash > > -script-packaged-inside-gambas-tp20046p58348.html > > > > To start a new topic under gambas-user, email > > [hidden email] <mailto:[hidden email]> > > To unsubscribe from how-to execute file or bash script packaged inside > > gambas, click here <http://gambas.8142.n7.nabble. > > com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node= > > 20046&code=bW1jZzI5NDQwQGZyb250aWVyLmNvbXwyMDA0NnwxNDAwMzEwMDQ5> . > > <http://gambas.8142.n7.nabble.com/template/NamlServlet.jtp?macro=macro_ > > viewer&id=instant_html%21nabble%3Aemail.naml&base= > > nabble.naml.namespaces.BasicNamespace-nabble.view.web. > > template.NabbleNamespace-nabble.view.web.template.NodeNamesp > > ace&breadcrumbs=notify_subscribers%21nabble%3Aemail. > > naml-instant_emails%21nabble%3Aemail.naml-send_instant_ > > email%21nabble%3Aemail.naml> NAML > > > > > > > > > > > > -- > > View this message in context: http://gambas.8142.n7.nabble.c > > om/how-to-execute-file-or-bash-script-packaged-inside-gambas > > -tp20046p58349.html > > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------ > > ------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > _______________________________________________ > > Gambas-user mailing list > > [hidden email] > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > _____ > > If you reply to this email, your message will be added to the discussion > below: > > http://gambas.8142.n7.nabble.com/how-to-execute-file-or- > bash-script-packaged-inside-gambas-tp20046p58350.html > > To start a new topic under gambas-user, email > ml-node+s8142n3h10 at ...3046... <mailto:ml-node+s8142n3h10 at ...3046...> > To unsubscribe from how-to execute file or bash script packaged inside > gambas, click here <http://gambas.8142.n7.nabble. > com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=20046&code= > bW1jZzI5NDQwQGZyb250aWVyLmNvbXwyMDA0NnwxNDAwMzEwMDQ5> . > <http://gambas.8142.n7.nabble.com/template/NamlServlet.jtp? > macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml& > base=nabble.naml.namespaces.BasicNamespace-nabble.view. > web.template.NabbleNamespace-nabble.view.web.template. > NodeNamespace&breadcrumbs=notify_subscribers%21nabble% > 3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_ > instant_email%21nabble%3Aemail.naml> NAML > > > > > > -- > View this message in context: http://gambas.8142.n7.nabble. > com/how-to-execute-file-or-bash-script-packaged-inside- > gambas-tp20046p58352.html > Sent from the gambas-user mailing list archive at Nabble.com. > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mmcg29440 at ...3163... Mon Jan 30 00:07:00 2017 From: mmcg29440 at ...3163... (Marty) Date: Sun, 29 Jan 2017 16:07:00 -0700 (MST) Subject: [Gambas-user] how-to execute file or bash script packaged inside Gambas In-Reply-To: <CAFJMe7TDR3bhjBezPud35VeZpMfe7gmHJj0T3gyxeSzyreTQAQ@...627...> References: <73abb3e80811220623n302fcfeev4e6239f59cbd19ea@...627...> <1485623236018-58345.post@...3046...> <9bd7d7e1-b9bf-d9c0-bf31-f940b00c4fec@...1...> <dcb72328-7280-362f-fdc4-29cbd1543bb6@...1...> <CAFJMe7Tqq6EUhvOSAx5VVKRs7eo1QLvppQ4+JAshscQ+n1vVvA@...627...> <!&!AAAAAAAAAAAYAAAAAAAAAMgV5JlR2FVDl5W96SsTJPLCgAAAEAAAAMW4VQjnLtZGtnCB+3f4zGABAAAAAA==@frontier.com> <CAFJMe7SXQnfMh9Z_rcX+WjkBs6Dr0rmrp14h67TdfQ2kwmEWgw@...627...> <!&!AAAAAAAAAAAYAAAAAAAAAMgV5JlR2FVDl5W96SsTJPLCgAAAEAAAAPPIwHpEgypLtBII+bJbw/QBAAAAAA==@frontier.com> <CAFJMe7TDR3bhjBezPud35VeZpMfe7gmHJj0T3gyxeSzyreTQAQ@...627...> Message-ID: <000b01d27a91$eee1fcc0$cca5f640$@frontier.com> Jussi, Sounds simple enough. Should the tmp directory be in the user?s home directory? If so is there a way Gambas can ?know? the user id in order to create the directory? No, the files do not need to be deleted after each run if not in /tmp/Gambas.1000? Marty From: Jussi Lahtinen [via Gambas] [mailto:ml-node+s8142n58356h53 at ...3046...] Sent: Sunday, January 29, 2017 3:08 PM To: Marty <mmcg29440 at ...3163...> Subject: Re: how-to execute file or bash script packaged inside Gambas I suggest you copy the script and the python executables in dedicated folder made by your program. Example your program could create: /home/MyProgram/scripts Or /home/MyProgram/tmp And copy things there for the execution. Do you really need to remove the scripts after execution or are they executed every time with the program? Jussi On Sun, Jan 29, 2017 at 4:22 PM, Marty <[hidden email]> wrote: > Jussi, > > > > I?ve found the answer. The file 1.tmp in directory /tmp/Gambas.1000/3092 > is created at the time COPY "update.sh" TO sTempscript is executed. Because > it is dynamically created it does not have execute permissions. After > executing COPY "update.sh" TO sTempscript set the permissions on > sTempscript to rwx using chmod. Then the script will run. > > > > Now that caused another problem. The script passes parameters to a python > program that is still in the project directory not in /tmp?. This causes a > file not found error when the script executes. These temp files remain > after the program exits. I should delete the when the program exits. > > > > What should I do to work around the file not found error? > > > > Marty > > > > From: Jussi Lahtinen [via Gambas] [mailto:ml-node+ > [hidden email]] > Sent: Saturday, January 28, 2017 4:36 PM > To: Marty <[hidden email]> > Subject: Re: how-to execute file or bash script packaged inside Gambas > > > > Literally here: /tmp/gambas.1000/3092/1.tmp > Read the error message carefully! > > Paste this into terminal and it will open the folder for you: > nemo /tmp/gambas.1000/3092/ > > > Jussi > > On Sat, Jan 28, 2017 at 11:25 PM, Marty <[hidden email]> wrote: > > > > Jussi, > > > > > > > > Thanks for your response. I?ve checked /etc/fstab and There are only two > > partitions the main and swap. I do not see any entry for a tmp partition. > > I?m running Gambas 3.91 under Mint17.1. > > > > Did a routine install when I installed it right from the CD. > > > > > > > > Bennoit, > > > > > > > > Thanks for your suggestion also. All of the files in the project > directory > > have execute permissions set. Where is /tmp/Gambas located? I look at its > > permissions. > > > > > > > > Marty > > > > > > > > From: Jussi Lahtinen [via Gambas] [mailto:ml-node+s8142n58348h5@ > > n7.nabble.com] > > Sent: Saturday, January 28, 2017 12:38 PM > > To: Marty <[hidden email]> > > Subject: Re: how-to execute file or bash script packaged inside gambas > > > > > > > > Also does the tmp partition have noexec set (check /etc/fstab)? It's > common > > way to harden Linux installation, but people kind of abuses /tmp... it's > > not for executions. > > > > > > Jussi > > > > On Sat, Jan 28, 2017 at 9:09 PM, Beno?t Minisini < > > [hidden email]> wrote: > > > > > > > Le 28/01/2017 ? 20:03, Beno?t Minisini a ?crit : > > > > Le 28/01/2017 ? 18:07, Marty a ?crit : > > > >> Want to run a script file packaged within the Gambas project. Tried > > the > > > >> method below. > > > >> > > > >> DIM sTempScript as String > > > >> > > > >> sTempScript = Temp$ > > > >> > > > >> COPY "update.sh" TO sTempscript > > > >> > > > >> SHELL sTempScript WAIT > > > >> > > > >> Does not work for me. All of the python files are in the gambas > > project > > > >> directory and have execute permissions. > > > >> > > > >> The error is: /bin/sh:1:/tmp/gambas.1000/3092/1.tmp permission > denied > > > >> > > > >> What do I change to allow the python programs to run? Is it the > > project > > > >> directory? > > > >> > > > >> Thanks, > > > >> Marty > > > >> > > > > > > > > Did you set execution rights on the shell file? > > > > > > > > > > I mean on the copy. The permissions on the original file are ignored > > > once you make an executable (they are all read-only and not > executable). > > > > > > -- > > > Beno?t Minisini > > > > > > ------------------------------------------------------------ > > > ------------------ > > > Check out the vibrant tech community on one of the world's most > > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > > _______________________________________________ > > > Gambas-user mailing list > > > [hidden email] > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > ------------------------------------------------------------ > > ------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > _______________________________________________ > > Gambas-user mailing list > > [hidden email] > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > _____ > > > > If you reply to this email, your message will be added to the discussion > > below: > > > > http://gambas.8142.n7.nabble.com/how-to-execute-file-or-bash > > -script-packaged-inside-gambas-tp20046p58348.html > > > > To start a new topic under gambas-user, email > > [hidden email] <mailto:[hidden email] <mailto:[hidden%20email]> > > > To unsubscribe from how-to execute file or bash script packaged inside > > gambas, click here <http://gambas.8142.n7.nabble. > > com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node= > > 20046&code=bW1jZzI5NDQwQGZyb250aWVyLmNvbXwyMDA0NnwxNDAwMzEwMDQ5> . > > <http://gambas.8142.n7.nabble.com/template/NamlServlet.jtp?macro=macro_ > > viewer&id=instant_html%21nabble%3Aemail.naml&base= > > nabble.naml.namespaces.BasicNamespace-nabble.view.web. > > template.NabbleNamespace-nabble.view.web.template.NodeNamesp > > ace&breadcrumbs=notify_subscribers%21nabble%3Aemail. > > naml-instant_emails%21nabble%3Aemail.naml-send_instant_ > > email%21nabble%3Aemail.naml> NAML > > > > > > > > > > > > -- > > View this message in context: http://gambas.8142.n7.nabble.c > > om/how-to-execute-file-or-bash-script-packaged-inside-gambas > > -tp20046p58349.html > > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------ > > ------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > _______________________________________________ > > Gambas-user mailing list > > [hidden email] > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > _____ > > If you reply to this email, your message will be added to the discussion > below: > > http://gambas.8142.n7.nabble.com/how-to-execute-file-or- > bash-script-packaged-inside-gambas-tp20046p58350.html > > To start a new topic under gambas-user, email > [hidden email] <mailto:[hidden email]> > To unsubscribe from how-to execute file or bash script packaged inside > gambas, click here <http://gambas.8142.n7.nabble. > com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=20046&code= > bW1jZzI5NDQwQGZyb250aWVyLmNvbXwyMDA0NnwxNDAwMzEwMDQ5> . > <http://gambas.8142.n7.nabble.com/template/NamlServlet.jtp? > macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml& > base=nabble.naml.namespaces.BasicNamespace-nabble.view. > web.template.NabbleNamespace-nabble.view.web.template. > NodeNamespace&breadcrumbs=notify_subscribers%21nabble% > 3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_ > instant_email%21nabble%3Aemail.naml> NAML > > > > > > -- > View this message in context: http://gambas.8142.n7.nabble. > com/how-to-execute-file-or-bash-script-packaged-inside- > gambas-tp20046p58352.html > Sent from the gambas-user mailing list archive at Nabble.com. > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Gambas-user mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gambas-user _____ If you reply to this email, your message will be added to the discussion below: http://gambas.8142.n7.nabble.com/how-to-execute-file-or-bash-script-packaged-inside-gambas-tp20046p58356.html To start a new topic under gambas-user, email ml-node+s8142n3h10 at ...3046... <mailto:ml-node+s8142n3h10 at ...3046...> To unsubscribe from how-to execute file or bash script packaged inside gambas, click here <http://gambas.8142.n7.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=20046&code=bW1jZzI5NDQwQGZyb250aWVyLmNvbXwyMDA0NnwxNDAwMzEwMDQ5> . <http://gambas.8142.n7.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> NAML -- View this message in context: http://gambas.8142.n7.nabble.com/how-to-execute-file-or-bash-script-packaged-inside-gambas-tp20046p58357.html Sent from the gambas-user mailing list archive at Nabble.com. From jussi.lahtinen at ...626... Mon Jan 30 05:08:39 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 30 Jan 2017 06:08:39 +0200 Subject: [Gambas-user] how-to execute file or bash script packaged inside Gambas In-Reply-To: <000b01d27a91$eee1fcc0$cca5f640$@frontier.com> References: <73abb3e80811220623n302fcfeev4e6239f59cbd19ea@...627...> <1485623236018-58345.post@...3046...> <9bd7d7e1-b9bf-d9c0-bf31-f940b00c4fec@...1...> <dcb72328-7280-362f-fdc4-29cbd1543bb6@...1...> <CAFJMe7Tqq6EUhvOSAx5VVKRs7eo1QLvppQ4+JAshscQ+n1vVvA@...627...> <!&!AAAAAAAAAAAYAAAAAAAAAMgV5JlR2FVDl5W96SsTJPLCgAAAEAAAAMW4VQjnLtZGtnCB+3f4zGABAAAAAA==@frontier.com> <CAFJMe7SXQnfMh9Z_rcX+WjkBs6Dr0rmrp14h67TdfQ2kwmEWgw@...627...> <!&!AAAAAAAAAAAYAAAAAAAAAMgV5JlR2FVDl5W96SsTJPLCgAAAEAAAAPPIwHpEgypLtBII+bJbw/QBAAAAAA==@frontier.com> <CAFJMe7TDR3bhjBezPud35VeZpMfe7gmHJj0T3gyxeSzyreTQAQ@...627...> <000b01d27a91$eee1fcc0$cca5f640$@frontier.com> Message-ID: <CAFJMe7SgUvid+EVyMd7sf=6s-AVEthv+GqtUxmkOOBPBENxx2A@...627...> Well I would avoid executing things in /tmp and there is no sense in asking root permission to put it in /usr/bin or so. So directory in home is good option. System.User.Home gives you what you need. Jussi On Mon, Jan 30, 2017 at 1:07 AM, Marty <mmcg29440 at ...3163...> wrote: > Jussi, > > > > Sounds simple enough. Should the tmp directory be in the user?s home > directory? If so is there a way Gambas can ?know? the user id in order to > create the directory? > > No, the files do not need to be deleted after each run if not in > /tmp/Gambas.1000? > > > > Marty > > > > From: Jussi Lahtinen [via Gambas] [mailto:ml-node+ > s8142n58356h53 at ...3046...] > Sent: Sunday, January 29, 2017 3:08 PM > To: Marty <mmcg29440 at ...3163...> > Subject: Re: how-to execute file or bash script packaged inside Gambas > > > > I suggest you copy the script and the python executables in dedicated > folder made by your program. > Example your program could create: > > /home/MyProgram/scripts > Or > /home/MyProgram/tmp > > And copy things there for the execution. Do you really need to remove the > scripts after execution or are they executed every time with the program? > > > > Jussi > > > > On Sun, Jan 29, 2017 at 4:22 PM, Marty <[hidden email]> wrote: > > > > Jussi, > > > > > > > > I?ve found the answer. The file 1.tmp in directory /tmp/Gambas.1000/3092 > > is created at the time COPY "update.sh" TO sTempscript is executed. > Because > > it is dynamically created it does not have execute permissions. After > > executing COPY "update.sh" TO sTempscript set the permissions on > > sTempscript to rwx using chmod. Then the script will run. > > > > > > > > Now that caused another problem. The script passes parameters to a python > > program that is still in the project directory not in /tmp?. This causes > a > > file not found error when the script executes. These temp files remain > > after the program exits. I should delete the when the program exits. > > > > > > > > What should I do to work around the file not found error? > > > > > > > > Marty > > > > > > > > From: Jussi Lahtinen [via Gambas] [mailto:ml-node+ > > [hidden email]] > > Sent: Saturday, January 28, 2017 4:36 PM > > To: Marty <[hidden email]> > > Subject: Re: how-to execute file or bash script packaged inside Gambas > > > > > > > > Literally here: /tmp/gambas.1000/3092/1.tmp > > Read the error message carefully! > > > > Paste this into terminal and it will open the folder for you: > > nemo /tmp/gambas.1000/3092/ > > > > > > Jussi > > > > On Sat, Jan 28, 2017 at 11:25 PM, Marty <[hidden email]> wrote: > > > > > > > Jussi, > > > > > > > > > > > > Thanks for your response. I?ve checked /etc/fstab and There are only > two > > > partitions the main and swap. I do not see any entry for a tmp > partition. > > > I?m running Gambas 3.91 under Mint17.1. > > > > > > Did a routine install when I installed it right from the CD. > > > > > > > > > > > > Bennoit, > > > > > > > > > > > > Thanks for your suggestion also. All of the files in the project > > directory > > > have execute permissions set. Where is /tmp/Gambas located? I look at > its > > > permissions. > > > > > > > > > > > > Marty > > > > > > > > > > > > From: Jussi Lahtinen [via Gambas] [mailto:ml-node+s8142n58348h5@ > > > n7.nabble.com] > > > Sent: Saturday, January 28, 2017 12:38 PM > > > To: Marty <[hidden email]> > > > Subject: Re: how-to execute file or bash script packaged inside gambas > > > > > > > > > > > > Also does the tmp partition have noexec set (check /etc/fstab)? It's > > common > > > way to harden Linux installation, but people kind of abuses /tmp... > it's > > > not for executions. > > > > > > > > > Jussi > > > > > > On Sat, Jan 28, 2017 at 9:09 PM, Beno?t Minisini < > > > [hidden email]> wrote: > > > > > > > > > > Le 28/01/2017 ? 20:03, Beno?t Minisini a ?crit : > > > > > Le 28/01/2017 ? 18:07, Marty a ?crit : > > > > >> Want to run a script file packaged within the Gambas project. > Tried > > > the > > > > >> method below. > > > > >> > > > > >> DIM sTempScript as String > > > > >> > > > > >> sTempScript = Temp$ > > > > >> > > > > >> COPY "update.sh" TO sTempscript > > > > >> > > > > >> SHELL sTempScript WAIT > > > > >> > > > > >> Does not work for me. All of the python files are in the gambas > > > project > > > > >> directory and have execute permissions. > > > > >> > > > > >> The error is: /bin/sh:1:/tmp/gambas.1000/3092/1.tmp permission > > denied > > > > >> > > > > >> What do I change to allow the python programs to run? Is it the > > > project > > > > >> directory? > > > > >> > > > > >> Thanks, > > > > >> Marty > > > > >> > > > > > > > > > > Did you set execution rights on the shell file? > > > > > > > > > > > > > I mean on the copy. The permissions on the original file are ignored > > > > once you make an executable (they are all read-only and not > > executable). > > > > > > > > -- > > > > Beno?t Minisini > > > > > > > > ------------------------------------------------------------ > > > > ------------------ > > > > Check out the vibrant tech community on one of the world's most > > > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > [hidden email] > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > ------------------------------------------------------------ > > > ------------------ > > > Check out the vibrant tech community on one of the world's most > > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > > _______________________________________________ > > > Gambas-user mailing list > > > [hidden email] > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > _____ > > > > > > If you reply to this email, your message will be added to the > discussion > > > below: > > > > > > http://gambas.8142.n7.nabble.com/how-to-execute-file-or-bash > > > -script-packaged-inside-gambas-tp20046p58348.html > > > > > > To start a new topic under gambas-user, email > > > [hidden email] <mailto:[hidden email] <mailto:[hidden%20email]> > > > > To unsubscribe from how-to execute file or bash script packaged inside > > > gambas, click here <http://gambas.8142.n7.nabble. > > > com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node= > > > 20046&code=bW1jZzI5NDQwQGZyb250aWVyLmNvbXwyMDA0NnwxNDAwMzEwMDQ5> . > > > <http://gambas.8142.n7.nabble.com/template/NamlServlet.jtp? > macro=macro_ > > > viewer&id=instant_html%21nabble%3Aemail.naml&base= > > > nabble.naml.namespaces.BasicNamespace-nabble.view.web. > > > template.NabbleNamespace-nabble.view.web.template.NodeNamesp > > > ace&breadcrumbs=notify_subscribers%21nabble%3Aemail. > > > naml-instant_emails%21nabble%3Aemail.naml-send_instant_ > > > email%21nabble%3Aemail.naml> NAML > > > > > > > > > > > > > > > > > > -- > > > View this message in context: http://gambas.8142.n7.nabble.c > > > om/how-to-execute-file-or-bash-script-packaged-inside-gambas > > > -tp20046p58349.html > > > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------ > > > ------------------ > > > Check out the vibrant tech community on one of the world's most > > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > > _______________________________________________ > > > Gambas-user mailing list > > > [hidden email] > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > ------------------------------------------------------------ > > ------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > _______________________________________________ > > Gambas-user mailing list > > [hidden email] > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > _____ > > > > If you reply to this email, your message will be added to the discussion > > below: > > > > http://gambas.8142.n7.nabble.com/how-to-execute-file-or- > > bash-script-packaged-inside-gambas-tp20046p58350.html > > > > To start a new topic under gambas-user, email > > [hidden email] <mailto:[hidden email]> > > To unsubscribe from how-to execute file or bash script packaged inside > > gambas, click here <http://gambas.8142.n7.nabble. > > com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=20046&code= > > bW1jZzI5NDQwQGZyb250aWVyLmNvbXwyMDA0NnwxNDAwMzEwMDQ5> . > > <http://gambas.8142.n7.nabble.com/template/NamlServlet.jtp? > > macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml& > > base=nabble.naml.namespaces.BasicNamespace-nabble.view. > > web.template.NabbleNamespace-nabble.view.web.template. > > NodeNamespace&breadcrumbs=notify_subscribers%21nabble% > > 3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_ > > instant_email%21nabble%3Aemail.naml> NAML > > > > > > > > > > > > -- > > View this message in context: http://gambas.8142.n7.nabble. > > com/how-to-execute-file-or-bash-script-packaged-inside- > > gambas-tp20046p58352.html > > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------ > > ------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > _______________________________________________ > > Gambas-user mailing list > > [hidden email] > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > _____ > > If you reply to this email, your message will be added to the discussion > below: > > http://gambas.8142.n7.nabble.com/how-to-execute-file-or- > bash-script-packaged-inside-gambas-tp20046p58356.html > > To start a new topic under gambas-user, email > ml-node+s8142n3h10 at ...3046... <mailto:ml-node+s8142n3h10 at ...3046...> > To unsubscribe from how-to execute file or bash script packaged inside > gambas, click here <http://gambas.8142.n7.nabble. > com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=20046&code= > bW1jZzI5NDQwQGZyb250aWVyLmNvbXwyMDA0NnwxNDAwMzEwMDQ5> . > <http://gambas.8142.n7.nabble.com/template/NamlServlet.jtp? > macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml& > base=nabble.naml.namespaces.BasicNamespace-nabble.view. > web.template.NabbleNamespace-nabble.view.web.template. > NodeNamespace&breadcrumbs=notify_subscribers%21nabble% > 3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_ > instant_email%21nabble%3Aemail.naml> NAML > > > > > > -- > View this message in context: http://gambas.8142.n7.nabble. > com/how-to-execute-file-or-bash-script-packaged-inside- > gambas-tp20046p58357.html > Sent from the gambas-user mailing list archive at Nabble.com. > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Mon Jan 30 09:22:17 2017 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 30 Jan 2017 09:22:17 +0100 Subject: [Gambas-user] how-to execute file or bash script packaged inside Gambas In-Reply-To: <CAFJMe7SgUvid+EVyMd7sf=6s-AVEthv+GqtUxmkOOBPBENxx2A@...627...> References: <73abb3e80811220623n302fcfeev4e6239f59cbd19ea@...627...> <1485623236018-58345.post@...3046...> <9bd7d7e1-b9bf-d9c0-bf31-f940b00c4fec@...1...> <dcb72328-7280-362f-fdc4-29cbd1543bb6@...1...> <CAFJMe7Tqq6EUhvOSAx5VVKRs7eo1QLvppQ4+JAshscQ+n1vVvA@...627...> <!&!AAAAAAAAAAAYAAAAAAAAAMgV5JlR2FVDl5W96SsTJPLCgAAAEAAAAMW4VQjnLtZGtnCB+3f4zGABAAAAAA==@frontier.com> <CAFJMe7SXQnfMh9Z_rcX+WjkBs6Dr0rmrp14h67TdfQ2kwmEWgw@...627...> <!&!AAAAAAAAAAAYAAAAAAAAAMgV5JlR2FVDl5W96SsTJPLCgAAAEAAAAPPIwHpEgypLtBII+bJbw/QBAAAAAA==@frontier.com> <CAFJMe7TDR3bhjBezPud35VeZpMfe7gmHJj0T3gyxeSzyreTQAQ@...627...> <000b01d27a91$eee1fcc0$cca5f640$@frontier.com> <CAFJMe7SgUvid+EVyMd7sf=6s-AVEthv+GqtUxmkOOBPBENxx2A@...627...> Message-ID: <CAFkCsL5Ov03+2iYuTfwAx=2Vm-cA75GVF-Kritxa_BAGNUtYRQ@...627...> Use: User.Home &/ ".cache/gambas3/yourprogram" Or User.Home &/ ".cache/yourprogram" .cache is the standard for cached parts of programs. For example I use ~/.cache/gb.map for caching gb.map tiles 2017-01-30 5:08 GMT+01:00 Jussi Lahtinen <jussi.lahtinen at ...626...>: > Well I would avoid executing things in /tmp and there is no sense in asking > root permission to put it in /usr/bin or so. > So directory in home is good option. System.User.Home gives you what you > need. > > > Jussi > > > > On Mon, Jan 30, 2017 at 1:07 AM, Marty <mmcg29440 at ...3163...> wrote: > >> Jussi, >> >> >> >> Sounds simple enough. Should the tmp directory be in the user?s home >> directory? If so is there a way Gambas can ?know? the user id in order to >> create the directory? >> >> No, the files do not need to be deleted after each run if not in >> /tmp/Gambas.1000? >> >> >> >> Marty >> >> >> >> From: Jussi Lahtinen [via Gambas] [mailto:ml-node+ >> s8142n58356h53 at ...3046...] >> Sent: Sunday, January 29, 2017 3:08 PM >> To: Marty <mmcg29440 at ...3163...> >> Subject: Re: how-to execute file or bash script packaged inside Gambas >> >> >> >> I suggest you copy the script and the python executables in dedicated >> folder made by your program. >> Example your program could create: >> >> /home/MyProgram/scripts >> Or >> /home/MyProgram/tmp >> >> And copy things there for the execution. Do you really need to remove the >> scripts after execution or are they executed every time with the program? >> >> >> >> Jussi >> >> >> >> On Sun, Jan 29, 2017 at 4:22 PM, Marty <[hidden email]> wrote: >> >> >> > Jussi, >> > >> > >> > >> > I?ve found the answer. The file 1.tmp in directory /tmp/Gambas.1000/3092 >> > is created at the time COPY "update.sh" TO sTempscript is executed. >> Because >> > it is dynamically created it does not have execute permissions. After >> > executing COPY "update.sh" TO sTempscript set the permissions on >> > sTempscript to rwx using chmod. Then the script will run. >> > >> > >> > >> > Now that caused another problem. The script passes parameters to a python >> > program that is still in the project directory not in /tmp?. This causes >> a >> > file not found error when the script executes. These temp files remain >> > after the program exits. I should delete the when the program exits. >> > >> > >> > >> > What should I do to work around the file not found error? >> > >> > >> > >> > Marty >> > >> > >> > >> > From: Jussi Lahtinen [via Gambas] [mailto:ml-node+ >> > [hidden email]] >> > Sent: Saturday, January 28, 2017 4:36 PM >> > To: Marty <[hidden email]> >> > Subject: Re: how-to execute file or bash script packaged inside Gambas >> > >> > >> > >> > Literally here: /tmp/gambas.1000/3092/1.tmp >> > Read the error message carefully! >> > >> > Paste this into terminal and it will open the folder for you: >> > nemo /tmp/gambas.1000/3092/ >> > >> > >> > Jussi >> > >> > On Sat, Jan 28, 2017 at 11:25 PM, Marty <[hidden email]> wrote: >> > >> > >> > > Jussi, >> > > >> > > >> > > >> > > Thanks for your response. I?ve checked /etc/fstab and There are only >> two >> > > partitions the main and swap. I do not see any entry for a tmp >> partition. >> > > I?m running Gambas 3.91 under Mint17.1. >> > > >> > > Did a routine install when I installed it right from the CD. >> > > >> > > >> > > >> > > Bennoit, >> > > >> > > >> > > >> > > Thanks for your suggestion also. All of the files in the project >> > directory >> > > have execute permissions set. Where is /tmp/Gambas located? I look at >> its >> > > permissions. >> > > >> > > >> > > >> > > Marty >> > > >> > > >> > > >> > > From: Jussi Lahtinen [via Gambas] [mailto:ml-node+s8142n58348h5@ >> > > n7.nabble.com] >> > > Sent: Saturday, January 28, 2017 12:38 PM >> > > To: Marty <[hidden email]> >> > > Subject: Re: how-to execute file or bash script packaged inside gambas >> > > >> > > >> > > >> > > Also does the tmp partition have noexec set (check /etc/fstab)? It's >> > common >> > > way to harden Linux installation, but people kind of abuses /tmp... >> it's >> > > not for executions. >> > > >> > > >> > > Jussi >> > > >> > > On Sat, Jan 28, 2017 at 9:09 PM, Beno?t Minisini < >> > > [hidden email]> wrote: >> > > >> > > >> > > > Le 28/01/2017 ? 20:03, Beno?t Minisini a ?crit : >> > > > > Le 28/01/2017 ? 18:07, Marty a ?crit : >> > > > >> Want to run a script file packaged within the Gambas project. >> Tried >> > > the >> > > > >> method below. >> > > > >> >> > > > >> DIM sTempScript as String >> > > > >> >> > > > >> sTempScript = Temp$ >> > > > >> >> > > > >> COPY "update.sh" TO sTempscript >> > > > >> >> > > > >> SHELL sTempScript WAIT >> > > > >> >> > > > >> Does not work for me. All of the python files are in the gambas >> > > project >> > > > >> directory and have execute permissions. >> > > > >> >> > > > >> The error is: /bin/sh:1:/tmp/gambas.1000/3092/1.tmp permission >> > denied >> > > > >> >> > > > >> What do I change to allow the python programs to run? Is it the >> > > project >> > > > >> directory? >> > > > >> >> > > > >> Thanks, >> > > > >> Marty >> > > > >> >> > > > > >> > > > > Did you set execution rights on the shell file? >> > > > > >> > > > >> > > > I mean on the copy. The permissions on the original file are ignored >> > > > once you make an executable (they are all read-only and not >> > executable). >> > > > >> > > > -- >> > > > Beno?t Minisini >> > > > >> > > > ------------------------------------------------------------ >> > > > ------------------ >> > > > Check out the vibrant tech community on one of the world's most >> > > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> > > > _______________________________________________ >> > > > Gambas-user mailing list >> > > > [hidden email] >> > > > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > >> > > >> > > ------------------------------------------------------------ >> > > ------------------ >> > > Check out the vibrant tech community on one of the world's most >> > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> > > _______________________________________________ >> > > Gambas-user mailing list >> > > [hidden email] >> > > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > >> > > >> > > >> > > _____ >> > > >> > > If you reply to this email, your message will be added to the >> discussion >> > > below: >> > > >> > > http://gambas.8142.n7.nabble.com/how-to-execute-file-or-bash >> > > -script-packaged-inside-gambas-tp20046p58348.html >> > > >> > > To start a new topic under gambas-user, email >> > > [hidden email] <mailto:[hidden email] <mailto:[hidden%20email]> > >> > > To unsubscribe from how-to execute file or bash script packaged inside >> > > gambas, click here <http://gambas.8142.n7.nabble. >> > > com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node= >> > > 20046&code=bW1jZzI5NDQwQGZyb250aWVyLmNvbXwyMDA0NnwxNDAwMzEwMDQ5> . >> > > <http://gambas.8142.n7.nabble.com/template/NamlServlet.jtp? >> macro=macro_ >> > > viewer&id=instant_html%21nabble%3Aemail.naml&base= >> > > nabble.naml.namespaces.BasicNamespace-nabble.view.web. >> > > template.NabbleNamespace-nabble.view.web.template.NodeNamesp >> > > ace&breadcrumbs=notify_subscribers%21nabble%3Aemail. >> > > naml-instant_emails%21nabble%3Aemail.naml-send_instant_ >> > > email%21nabble%3Aemail.naml> NAML >> > > >> > > >> > > >> > > >> > > >> > > -- >> > > View this message in context: http://gambas.8142.n7.nabble.c >> > > om/how-to-execute-file-or-bash-script-packaged-inside-gambas >> > > -tp20046p58349.html >> > > Sent from the gambas-user mailing list archive at Nabble.com. >> > > ------------------------------------------------------------ >> > > ------------------ >> > > Check out the vibrant tech community on one of the world's most >> > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> > > _______________________________________________ >> > > Gambas-user mailing list >> > > [hidden email] >> > > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > >> > >> > ------------------------------------------------------------ >> > ------------------ >> > Check out the vibrant tech community on one of the world's most >> > engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> > _______________________________________________ >> > Gambas-user mailing list >> > [hidden email] >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > >> > >> > >> > _____ >> > >> > If you reply to this email, your message will be added to the discussion >> > below: >> > >> > http://gambas.8142.n7.nabble.com/how-to-execute-file-or- >> > bash-script-packaged-inside-gambas-tp20046p58350.html >> > >> > To start a new topic under gambas-user, email >> > [hidden email] <mailto:[hidden email]> >> > To unsubscribe from how-to execute file or bash script packaged inside >> > gambas, click here <http://gambas.8142.n7.nabble. >> > com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=20046&code= >> > bW1jZzI5NDQwQGZyb250aWVyLmNvbXwyMDA0NnwxNDAwMzEwMDQ5> . >> > <http://gambas.8142.n7.nabble.com/template/NamlServlet.jtp? >> > macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml& >> > base=nabble.naml.namespaces.BasicNamespace-nabble.view. >> > web.template.NabbleNamespace-nabble.view.web.template. >> > NodeNamespace&breadcrumbs=notify_subscribers%21nabble% >> > 3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_ >> > instant_email%21nabble%3Aemail.naml> NAML >> > >> > >> > >> > >> > >> > -- >> > View this message in context: http://gambas.8142.n7.nabble. >> > com/how-to-execute-file-or-bash-script-packaged-inside- >> > gambas-tp20046p58352.html >> > Sent from the gambas-user mailing list archive at Nabble.com. >> > ------------------------------------------------------------ >> > ------------------ >> > Check out the vibrant tech community on one of the world's most >> > engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> > _______________________________________________ >> > Gambas-user mailing list >> > [hidden email] >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > >> >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> _______________________________________________ >> Gambas-user mailing list >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> _____ >> >> If you reply to this email, your message will be added to the discussion >> below: >> >> http://gambas.8142.n7.nabble.com/how-to-execute-file-or- >> bash-script-packaged-inside-gambas-tp20046p58356.html >> >> To start a new topic under gambas-user, email >> ml-node+s8142n3h10 at ...3046... <mailto:ml-node+s8142n3h10 at ...3046...> >> To unsubscribe from how-to execute file or bash script packaged inside >> gambas, click here <http://gambas.8142.n7.nabble. >> com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=20046&code= >> bW1jZzI5NDQwQGZyb250aWVyLmNvbXwyMDA0NnwxNDAwMzEwMDQ5> . >> <http://gambas.8142.n7.nabble.com/template/NamlServlet.jtp? >> macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml& >> base=nabble.naml.namespaces.BasicNamespace-nabble.view. >> web.template.NabbleNamespace-nabble.view.web.template. >> NodeNamespace&breadcrumbs=notify_subscribers%21nabble% >> 3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_ >> instant_email%21nabble%3Aemail.naml> NAML >> >> >> >> >> >> -- >> View this message in context: http://gambas.8142.n7.nabble. >> com/how-to-execute-file-or-bash-script-packaged-inside- >> gambas-tp20046p58357.html >> Sent from the gambas-user mailing list archive at Nabble.com. >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From bagonergi at ...626... Mon Jan 30 09:41:39 2017 From: bagonergi at ...626... (Gianluigi) Date: Mon, 30 Jan 2017 09:41:39 +0100 Subject: [Gambas-user] Double Click not open Gambas project in Gnome shell In-Reply-To: <CAFkCsL4qm9AdaJyuxMQHj_XGHT435JgCM+9dm_JTnzTKUzxkSw@...627...> References: <CAJ2rqFY19OsVm643p_bmr1F6f0EeeJU1RsqjWBxZC=5EEahuww@...627...> <CAFkCsL4_X+Cqm9Y9REi9hh=xbEBF=hSCsOKwGa6Wbdv7kxO0Kw@...627...> <CAJ2rqFYgV23UMuXbzVX-OLJi85jRcTsCqteBrSMc8DRHAvVEVQ@...627...> <CAFkCsL5kHwQJAE1YvUHG8rb+p1oQ2FJK=e_rEv=TNMR=wXTJyA@...627...> <CAJ2rqFZdx=A253bpJc3vTMJabYkXphgDVktf4XHWH_W2wyT30A@...627...> <CAFkCsL4qm9AdaJyuxMQHj_XGHT435JgCM+9dm_JTnzTKUzxkSw@...627...> Message-ID: <CAJ2rqFYCAH4hER-DndTPY_H2417jmgv6AJaFQK9FqwGVkk-r3w@...627...> Hi Fabien, you're right, he tried to make an executable bash script, but it does not open by double click. So the problem is not Gambas, any other suggestions to change the file association? Regards Gianluigi 2017-01-26 14:30 GMT+01:00 Fabien Bodard <gambas.fr at ...626...>: > this is a begining of answer... change the file association. > Nevertheless normally without this it must run... it is an executable > (script) with a magic header # > > 2017-01-26 13:34 GMT+01:00 Gianluigi <bagonergi at ...626...>: > > Hi Fabien, > > > > while we wait for the answer, I forgot to say that the file association > is > > "octet-stream" instead of "application/x-gambas3" > > > > Regards > > Gianluigi > > > > 2017-01-26 12:15 GMT+01:00 Fabien Bodard <gambas.fr at ...626...>: > > > >> so it's a problem from gnome shell that don't launch directly an > >> executable or something that looklike to a script. > >> > >> can he try to launch a gnome app by the same way... like gedit but > >> directly by the executable in /usr/bin > >> > >> 2017-01-26 11:02 GMT+01:00 Gianluigi <bagonergi at ...626...>: > >> > Hi Fabien, > >> > > >> > Yes, with '$ ./xxx.gambas', his project works > >> > > >> > Regards > >> > Gianluigi > >> > > >> > 2017-01-25 18:03 GMT+01:00 Fabien Bodard <gambas.fr at ...626...>: > >> > > >> >> hum ... seem to be a right problem or a conf problem in the shell. > >> >> > >> >> is > >> >> $ ./xxx.gambas > >> >> > >> >> Working ? > >> >> > >> >> 2017-01-25 17:53 GMT+01:00 Gianluigi <bagonergi at ...626...>: > >> >> > A friend of ours with Arch Linux Gnome shell can not start with a > >> double > >> >> > click the .gambas projects. > >> >> > > >> >> > If he using terminal "gbr3 xxx.gambas" the project opens. > >> >> > > >> >> > Does anyone know how to do? > >> >> > > >> >> > Regards > >> >> > Gianluigi > >> >> > ------------------------------------------------------------ > >> >> ------------------ > >> >> > Check out the vibrant tech community on one of the world's most > >> >> > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > >> >> > _______________________________________________ > >> >> > Gambas-user mailing list > >> >> > Gambas-user at lists.sourceforge.net > >> >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > >> >> > >> >> > >> >> > >> >> -- > >> >> Fabien Bodard > >> >> > >> >> ------------------------------------------------------------ > >> >> ------------------ > >> >> Check out the vibrant tech community on one of the world's most > >> >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot > >> >> _______________________________________________ > >> >> Gambas-user mailing list > >> >> Gambas-user at lists.sourceforge.net > >> >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> >> > >> > ------------------------------------------------------------ > >> ------------------ > >> > Check out the vibrant tech community on one of the world's most > >> > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > >> > _______________________________________________ > >> > Gambas-user mailing list > >> > Gambas-user at lists.sourceforge.net > >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> > >> > >> -- > >> Fabien Bodard > >> > >> ------------------------------------------------------------ > >> ------------------ > >> Check out the vibrant tech community on one of the world's most > >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > ------------------------------------------------------------ > ------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Mon Jan 30 10:22:13 2017 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 30 Jan 2017 10:22:13 +0100 Subject: [Gambas-user] Double Click not open Gambas project in Gnome shell In-Reply-To: <CAJ2rqFYCAH4hER-DndTPY_H2417jmgv6AJaFQK9FqwGVkk-r3w@...627...> References: <CAJ2rqFY19OsVm643p_bmr1F6f0EeeJU1RsqjWBxZC=5EEahuww@...627...> <CAFkCsL4_X+Cqm9Y9REi9hh=xbEBF=hSCsOKwGa6Wbdv7kxO0Kw@...627...> <CAJ2rqFYgV23UMuXbzVX-OLJi85jRcTsCqteBrSMc8DRHAvVEVQ@...627...> <CAFkCsL5kHwQJAE1YvUHG8rb+p1oQ2FJK=e_rEv=TNMR=wXTJyA@...627...> <CAJ2rqFZdx=A253bpJc3vTMJabYkXphgDVktf4XHWH_W2wyT30A@...627...> <CAFkCsL4qm9AdaJyuxMQHj_XGHT435JgCM+9dm_JTnzTKUzxkSw@...627...> <CAJ2rqFYCAH4hER-DndTPY_H2417jmgv6AJaFQK9FqwGVkk-r3w@...627...> Message-ID: <CAFkCsL7ALJGBb1sJsAgrfWqj2RjxZtYFO-2SpZ6hYtLzNO07mw@...627...> I don't really know GnomeShell. But i think there is an option somewhere that allow or not to execute an executable script from the navigator. But I leave this work to you :-) 2017-01-30 9:41 GMT+01:00 Gianluigi <bagonergi at ...626...>: > Hi Fabien, > > you're right, he tried to make an executable bash script, but it does not > open by double click. > So the problem is not Gambas, any other suggestions to change the file > association? > > Regards > Gianluigi > > 2017-01-26 14:30 GMT+01:00 Fabien Bodard <gambas.fr at ...626...>: > >> this is a begining of answer... change the file association. >> Nevertheless normally without this it must run... it is an executable >> (script) with a magic header # >> >> 2017-01-26 13:34 GMT+01:00 Gianluigi <bagonergi at ...626...>: >> > Hi Fabien, >> > >> > while we wait for the answer, I forgot to say that the file association >> is >> > "octet-stream" instead of "application/x-gambas3" >> > >> > Regards >> > Gianluigi >> > >> > 2017-01-26 12:15 GMT+01:00 Fabien Bodard <gambas.fr at ...626...>: >> > >> >> so it's a problem from gnome shell that don't launch directly an >> >> executable or something that looklike to a script. >> >> >> >> can he try to launch a gnome app by the same way... like gedit but >> >> directly by the executable in /usr/bin >> >> >> >> 2017-01-26 11:02 GMT+01:00 Gianluigi <bagonergi at ...626...>: >> >> > Hi Fabien, >> >> > >> >> > Yes, with '$ ./xxx.gambas', his project works >> >> > >> >> > Regards >> >> > Gianluigi >> >> > >> >> > 2017-01-25 18:03 GMT+01:00 Fabien Bodard <gambas.fr at ...626...>: >> >> > >> >> >> hum ... seem to be a right problem or a conf problem in the shell. >> >> >> >> >> >> is >> >> >> $ ./xxx.gambas >> >> >> >> >> >> Working ? >> >> >> >> >> >> 2017-01-25 17:53 GMT+01:00 Gianluigi <bagonergi at ...626...>: >> >> >> > A friend of ours with Arch Linux Gnome shell can not start with a >> >> double >> >> >> > click the .gambas projects. >> >> >> > >> >> >> > If he using terminal "gbr3 xxx.gambas" the project opens. >> >> >> > >> >> >> > Does anyone know how to do? >> >> >> > >> >> >> > Regards >> >> >> > Gianluigi >> >> >> > ------------------------------------------------------------ >> >> >> ------------------ >> >> >> > Check out the vibrant tech community on one of the world's most >> >> >> > engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> >> >> > _______________________________________________ >> >> >> > Gambas-user mailing list >> >> >> > Gambas-user at lists.sourceforge.net >> >> >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> >> >> >> >> >> >> >> >> -- >> >> >> Fabien Bodard >> >> >> >> >> >> ------------------------------------------------------------ >> >> >> ------------------ >> >> >> Check out the vibrant tech community on one of the world's most >> >> >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> >> >> _______________________________________________ >> >> >> Gambas-user mailing list >> >> >> Gambas-user at lists.sourceforge.net >> >> >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> >> > ------------------------------------------------------------ >> >> ------------------ >> >> > Check out the vibrant tech community on one of the world's most >> >> > engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> >> > _______________________________________________ >> >> > Gambas-user mailing list >> >> > Gambas-user at lists.sourceforge.net >> >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> >> >> >> >> -- >> >> Fabien Bodard >> >> >> >> ------------------------------------------------------------ >> >> ------------------ >> >> Check out the vibrant tech community on one of the world's most >> >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> >> _______________________________________________ >> >> Gambas-user mailing list >> >> Gambas-user at lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> > ------------------------------------------------------------ >> ------------------ >> > Check out the vibrant tech community on one of the world's most >> > engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> -- >> Fabien Bodard >> >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From clangbone at ...43... Mon Jan 30 11:07:46 2017 From: clangbone at ...43... (j h) Date: Mon, 30 Jan 2017 10:07:46 +0000 (UTC) Subject: [Gambas-user] Gambas-user Digest, Vol 128, Issue 32 In-Reply-To: <mailman.88499.1485528115.2424.gambas-user@lists.sourceforge.net> References: <mailman.88499.1485528115.2424.gambas-user@lists.sourceforge.net> Message-ID: <1582907113.26522123.1485770866188@...3424...> Thanks for the help with? my timer problem guys, it got me sorted.Cheers! On Friday, 27 January 2017, 14:42, "gambas-user-request at ...629...ge.net" <gambas-user-request at lists.sourceforge.net> wrote: Send Gambas-user mailing list submissions to ??? gambas-user at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit ??? https://lists.sourceforge.net/lists/listinfo/gambas-user or, via email, send a message with subject or body 'help' to ??? gambas-user-request at lists.sourceforge.net You can reach the person managing the list at ??? gambas-user-owner at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gambas-user digest..." Today's Topics: ? 1. gambaswiki.org seems to be down (Christof Thalhofer) ? 2. Re: gambaswiki.org seems to be down (Beno?t Minisini) ? 3. Re: Desktop size in sdl2 (Shane) ? 4. [Gambas Bug Tracker] Bug #1072: Image pixelated farm??? software ? ? ? (bugtracker at ...3416...) ? 5. play audio trough Jack audio server using ONLY gambas ? ? ? resources (Federico Allegretti) ? 6. Timer (j h) ? 7. Re: Timer (Rolf-Werner Eilert) ? 8. Re: Desktop size in sdl2 (Fabien Bodard) ---------------------------------------------------------------------- Message: 1 Date: Thu, 26 Jan 2017 14:46:32 +0100 From: Christof Thalhofer <chrisml at ...3340...> Subject: [Gambas-user] gambaswiki.org seems to be down To: mailing list for gambas users <gambas-user at lists.sourceforge.net> Message-ID: <38124547-1286-cd54-c4cb-26ee58649b0c at ...3340...> Content-Type: text/plain; charset="utf-8" Hello, Service Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature ------------------------------ Message: 2 Date: Thu, 26 Jan 2017 15:09:50 +0100 From: Beno?t Minisini <gambas at ...1...> Subject: Re: [Gambas-user] gambaswiki.org seems to be down To: mailing list for gambas users <gambas-user at lists.sourceforge.net> Message-ID: ??? <0999b703-6bb5-5a6d-ee1f-9da2b6c666d2 at ...1...> Content-Type: text/plain; charset=windows-1252; format=flowed Le 26/01/2017 ? 14:46, Christof Thalhofer a ?crit : > Hello, > > Service Unavailable > > The server is temporarily unable to service your request due to > maintenance downtime or capacity problems. Please try again later. > > Alles Gute > > Christof Thalhofer > It's back! -- Beno?t Minisini ------------------------------ Message: 3 Date: Fri, 27 Jan 2017 10:51:02 +1100 From: Shane <buster6seven at ...626...> Subject: Re: [Gambas-user] Desktop size in sdl2 To: mailing list for gambas users <gambas-user at lists.sourceforge.net> Message-ID: <6c64d1f1-888d-fd54-1c96-ff4a5bd798b1 at ...626...> Content-Type: text/plain; charset=windows-1252; format=flowed So I can center my window on the Screen On 26/01/17 22:12, Fabien Bodard wrote: > why the desktop ? > > 2017-01-26 0:29 GMT+01:00 Shane <buster6seven at ...626...>: >> How do you get the Desktop size in SDL2? >> >> >> >> ------------------------------------------------------------------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------ Message: 4 Date: Fri, 27 Jan 2017 00:04:53 GMT From: <bugtracker at ...3416...> Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1072: Image pixelated ??? farm??? software To: uno.cero at ...3595...,gambas-user at lists.sourceforge.net Message-ID: <BUG1072 at ...3416...> Content-Type: text/plain;charset=utf-8; charset="utf-8" http://gambaswiki.org/bugtracker/edit?object=BUG.1072&from=L21haW4- V?ctor PEREZ reported a new bug. Summary ------- Image pixelated farm software Type? ? ? ? ? ? : Bug Priority? ? ? ? : Low Gambas version? : 3.9 Product? ? ? ? ? : Software farm Description ----------- The images of the projects on the farm are blurred or pixelated. Do you need any special format? Why does that happen System information ------------------ Gambas=3.9.2 OperatingSystem=Linux Kernel=3.19.0-32-generic Architecture=x86 Distribution=Linux Mint 17.3 Rosa Desktop=MATE Theme=Gtk Language=es_UY.UTF-8 Memory=1950M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 ------------------------------ Message: 5 Date: Fri, 27 Jan 2017 14:23:54 +0100 From: Federico Allegretti <allegfede at ...626...> Subject: [Gambas-user] play audio trough Jack audio server using ONLY ??? gambas??? resources To: gambas-user at lists.sourceforge.net Message-ID: ??? <CAGUPqz7Gva_rXzESH=HfZP300n-X-Wgej=vCtO-c-99=OObV9w at ...627...> Content-Type: text/plain; charset=UTF-8 hello everybody. Trying to play audio files with GB.MEDIA and his jack audio sink plug in. I got gb.media returning media informations (like duration), but no playback after play. ' Gambas class file Private Player_A As MediaPlayer? 'player che gestira' i media con gb.media (gstreamer) Private UscitaAudio As MediaControl 'l'area di rendering dei media ...... Public Sub Button3_Click() ? Player_A = New MediaPlayer As "MediaPlayer" ? UscitaAudio = New MediaControl(Player_A, "jackaudiosink") ? Player_A.URL = Media.URL(Label1.Text) ? Player_A.Play ? Timer1.Start End ...... in patch bay i cannot see the gambas "client" creation nor cable connected, like i see if i run in the shell this command: gst-launch audiotestsrc ! jackaudiosink so i suppose i need a way to create the jack audio client, but cannot figure out the procedure. Thanks for the help. Federico -- Open TV Architecture project: http://sourceforge.net/projects/otva/ Messagenet VOIP: 5338759 YouTube Channel: v1p3r's lab VIMEO HD videos: http://www.vimeo.com/user1912745/videos ------------------------------ Message: 6 Date: Fri, 27 Jan 2017 13:51:18 +0000 (UTC) From: j h <clangbone at ...43...> Subject: [Gambas-user] Timer To: "gambas-user at lists.sourceforge.net" ??? <gambas-user at lists.sourceforge.net> Message-ID: <306042578.24122630.1485525078224 at ...3424...> Content-Type: text/plain; charset=UTF-8 I need help with a simple Stopwatch program in Gambas 3.9.2 The program has a form with 3 buttons and a valuebox. Button 1 starts timer. Button 2 stops timer. Button 3 restarts timer. As usual I just cannot get the syntax correct to make it work. When I copy/paste from the help browser still not right! I really want to like and use Gambas but am put off by the unclear help and lack of very simple examples.? Here is where I Went delete happy then gave up. ' Gambas class file Public Sub Form_Open() ? End Public Sub Timer1_Timer() ? ValueBox1.Value = Timer1 ? End Public Sub ValueBox1_MouseDown() End Public Sub Button1_Click() Timer1.Enabled = True End Public Sub Button2_Click() ? End Public Sub Button3_Click() ? End Any help would help. Ta. ------------------------------ Message: 7 Date: Fri, 27 Jan 2017 15:33:18 +0100 From: Rolf-Werner Eilert <rwe-sse at ...3629...> Subject: Re: [Gambas-user] Timer To: gambas-user at lists.sourceforge.net Message-ID: <588B5A2E.7030901 at ...3629...> Content-Type: text/plain; charset=UTF-8; format=flowed Hi, > > The program has a form with 3 buttons and a valuebox. > Button 1 starts timer. > Button 2 stops timer. > Button 3 restarts timer. Restart? What for, you have Button 1... Or do you mean "resume"? > > As usual I just cannot get the syntax correct to make it work. > When I copy/paste from the help browser still not right! > > I really want to like and use Gambas but am put off by the unclear help and lack of very simple examples. I agree, that could be improved. You're welcome to help ;) > ' Gambas class file > > Public Sub Form_Open() > > > > End > > Public Sub Timer1_Timer() > >? ? ValueBox1.Value = Timer1 > > > End Hm, guess you got this Timer thing wrong. As soon as activated, Timer will just run and the program will jump into the Timer event each time it "ticks" (the time you adjust, e. g. 1000 ms for 1 second). So, if you want your clock to tick every second, make a counter variable for the whole class file and set Inc MyCounterVariable within the Timer1_Timer() event and let the clock show it. Public Sub Timer1_Timer() Inc MyCounterVariable 'show the value in this line End For the beginning, use a Label to show the value. > Public Sub Button1_Click() > > Timer1.Enabled = True > > End > > > > Public Sub Button2_Click() > > > > End > > Public Sub Button3_Click() > > > > End > > > Won't be back before Monday, but hope it helps :) Regards Rolf ------------------------------ Message: 8 Date: Fri, 27 Jan 2017 15:41:47 +0100 From: Fabien Bodard <gambas.fr at ...626...> Subject: Re: [Gambas-user] Desktop size in sdl2 To: mailing list for gambas users <gambas-user at lists.sourceforge.net> Message-ID: ??? <CAFkCsL5V7XLHnGHNEnxPgF2-Wn=7VpnKfSQ0oWC0sQ0dJeDbug at ...1162.....627...> Content-Type: text/plain; charset=UTF-8 you can do : Dim s As String Dim aDesktop As Integer[] Exec ["xprop", "-root", "_NET_DESKTOP_GEOMETRY"] Wait To s aDesktop = Split(Split(Trim(s), "=")[1]) 2017-01-27 0:51 GMT+01:00 Shane <buster6seven at ...626...>: > So I can center my window on the Screen > > > On 26/01/17 22:12, Fabien Bodard wrote: >> why the desktop ? >> >> 2017-01-26 0:29 GMT+01:00 Shane <buster6seven at ...626...>: >>> How do you get the Desktop size in SDL2? >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard ------------------------------ ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user End of Gambas-user Digest, Vol 128, Issue 32 ******************************************** From bugtracker at ...3416... Tue Jan 31 11:14:18 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 31 Jan 2017 10:14:18 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1073: build failure with gcc-7 (Debian experimental) Message-ID: <BUG1073@...3416...> http://gambaswiki.org/bugtracker/edit?object=BUG.1073&from=L21haW4- Gianfranco COSTAMAGNA reported a new bug. Summary ------- build failure with gcc-7 (Debian experimental) Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- make[3]: Entering directory '/<<PKGBUILDDIR>>/gb.db.sqlite2' make all-recursive make[4]: Entering directory '/<<PKGBUILDDIR>>/gb.db.sqlite2' Making all in src make[5]: Entering directory '/<<PKGBUILDDIR>>/gb.db.sqlite2/src' CXX gb_db_sqlite2_la-main.lo CXX gb_db_sqlite2_la-dataset.lo CXX gb_db_sqlite2_la-qry_dat.lo CXX gb_db_sqlite2_la-sqlitedataset.lo sqlitedataset.cpp: In function 'fType GetFieldType(const char*, unsigned int*)': sqlitedataset.cpp:768:13: error: invalid conversion from 'char' to 'char*' [-fpermissive] _right = '\0'; ^~~~ As seen in bug: http://bugs.debian.org/853343 This isn't a real issue, seems a cast is enough to fix it, but I don't know if there are other failures after fixing this one (and there is a lot of time before gcc-7 will be the default! Just taking this as placeholder :) thanks G.