From sbungay at ...3301... Sun Oct 2 17:20:50 2016 From: sbungay at ...3301... (sbungay) Date: Sun, 2 Oct 2016 11:20:50 -0400 Subject: [Gambas-user] gambasdoc.org up for sale? Message-ID: <16b9fa55-6f91-59f8-f432-c36ffcfc6ece@...3301...> Just started working on a new application (it has been a couple of months) and when I'm typing the IDE is popping up autocompletion messages that report gambasdoc.org is for sale? This, IMHO, is the problem with online services such as this. If it was local this wouldn't happen. Anyway, Is there a new url to point the IDE to for autocomplete? Oh, Mint 17.3 64 Bit Gambas 3.1.1 (the one in the Repo) From sbungay at ...3301... Sun Oct 2 17:50:51 2016 From: sbungay at ...3301... (sbungay) Date: Sun, 2 Oct 2016 11:50:51 -0400 Subject: [Gambas-user] Cursor misplaced in IDE Editor... Message-ID: <23915a73-d820-280e-fea3-fc8e89b97614@...3301...> The editor is placing the cursor one character to the left of where it should be, see attached. Has this been fixed? Re.: gambasorg.doc I searched through the archives of emails stored locally here and found that the gambasdoc.org url has been gone for a while, my bad. I never did like pop up documentation, preferring to keep the docs open in a separate browser window, but the cursor thing is annoying, has it been fixed? -------------- next part -------------- A non-text attachment was scrubbed... Name: GambasIDECursorMisplaced1.png Type: image/png Size: 34649 bytes Desc: not available URL: From taboege at ...626... Sun Oct 2 18:01:03 2016 From: taboege at ...626... (Tobias Boege) Date: Sun, 2 Oct 2016 18:01:03 +0200 Subject: [Gambas-user] gambasdoc.org up for sale? In-Reply-To: <16b9fa55-6f91-59f8-f432-c36ffcfc6ece@...3301...> References: <16b9fa55-6f91-59f8-f432-c36ffcfc6ece@...3301...> Message-ID: <20161002160103.GA715@...3600...> On Sun, 02 Oct 2016, sbungay wrote: > Just started working on a new application (it has been a couple of > months) and when I'm typing the IDE is popping up autocompletion > messages that report gambasdoc.org is for sale? This, IMHO, is the > problem with online services such as this. If it was local this wouldn't > happen. Anyway, Is there a new url to point the IDE to for autocomplete? > The "new" domain is gambaswiki.org. Gambas 3.5.3 from April 2014 was, according to release notes, the first Gambas version to use the that domain. IIRC, gambasdoc.org was kept alive for backward compatibility until at least April 2015, but was readonly and had big red notices that a domain transition happened. > Oh, Mint 17.3 64 Bit > Gambas 3.1.1 (the one in the Repo) > 3.1.1 is four and a half years old. My advice would be to upgrade. I'm aware some people are infuriated whenever somebody suggests that, but a lot happens in four years and nobody will look into bug reports for ancient versions. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Sun Oct 2 18:03:58 2016 From: taboege at ...626... (Tobias Boege) Date: Sun, 2 Oct 2016 18:03:58 +0200 Subject: [Gambas-user] Cursor misplaced in IDE Editor... In-Reply-To: <23915a73-d820-280e-fea3-fc8e89b97614@...3301...> References: <23915a73-d820-280e-fea3-fc8e89b97614@...3301...> Message-ID: <20161002160358.GB715@...3600...> On Sun, 02 Oct 2016, sbungay wrote: > The editor is placing the cursor one character to the left of where it > should be, see attached. Has this been fixed? > I'm not sure, I never had that issue. But I remember people reporting it before and these reports have stopped at some time, so it probably was fixed. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From sbungay at ...3301... Sun Oct 2 19:06:18 2016 From: sbungay at ...3301... (sbungay) Date: Sun, 2 Oct 2016 13:06:18 -0400 Subject: [Gambas-user] gambasdoc.org up for sale? In-Reply-To: <20161002160103.GA715@...3600...> References: <16b9fa55-6f91-59f8-f432-c36ffcfc6ece@...3301...> <20161002160103.GA715@...3600...> Message-ID: On 16-10-02 12:01 PM, Tobias Boege wrote: > On Sun, 02 Oct 2016, sbungay wrote: >> Just started working on a new application (it has been a couple of >> months) and when I'm typing the IDE is popping up autocompletion >> messages that report gambasdoc.org is for sale? This, IMHO, is the >> problem with online services such as this. If it was local this wouldn't >> happen. Anyway, Is there a new url to point the IDE to for autocomplete? >> > > The "new" domain is gambaswiki.org. Gambas 3.5.3 from April 2014 was, > according to release notes, the first Gambas version to use the that > domain. IIRC, gambasdoc.org was kept alive for backward compatibility > until at least April 2015, but was readonly and had big red notices > that a domain transition happened. > >> Oh, Mint 17.3 64 Bit >> Gambas 3.1.1 (the one in the Repo) >> > > 3.1.1 is four and a half years old. My advice would be to upgrade. > I'm aware some people are infuriated whenever somebody suggests that, > but a lot happens in four years and nobody will look into bug reports > for ancient versions. > Naw, not infuriated, I was installing GAMBAS from sources long before from REPO, it would be nice for the distro maintainers to keep up though. :/ I dload the most recent and see if it will compile.... haven't done that is AGES. > Regards, > Tobi > From demosthenesk at ...626... Sun Oct 2 19:55:06 2016 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Sun, 2 Oct 2016 20:55:06 +0300 Subject: [Gambas-user] reconf-all error Message-ID: <63e5df4c-2505-27bd-a513-eb2559b18ee8@...626...> Hello, i get these errors please help... user at ...3615... ~/Downloads/gambas3-3.9.1 $ ./reconf-all ./reconf-all: 7: ./reconf-all: libtoolize: not found autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal aclocal: warning: couldn't open directory 'm4': No such file or directory autoreconf: configure.ac: tracing autoreconf: configure.ac: adding subdirectory main to autoreconf autoreconf: Entering directory `main' autoreconf: running: aclocal -I m4 --install autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoconf configure:4148: error: possibly undefined macro: AC_LIBTOOL_DLOPEN If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure:4150: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL configure:4151: error: possibly undefined macro: AC_DISABLE_STATIC autoreconf: /usr/bin/autoconf failed with exit status: 1 user at ...3615... ~/Downloads/gambas3-3.9.1 $ my os is lmde2. From gambas at ...1... Sun Oct 2 20:13:01 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 2 Oct 2016 20:13:01 +0200 Subject: [Gambas-user] reconf-all error In-Reply-To: <63e5df4c-2505-27bd-a513-eb2559b18ee8@...626...> References: <63e5df4c-2505-27bd-a513-eb2559b18ee8@...626...> Message-ID: Le 02/10/2016 ? 19:55, Demosthenes Koptsis a ?crit : > Hello, > > i get these errors please help... > > user at ...3615... ~/Downloads/gambas3-3.9.1 $ ./reconf-all > ./reconf-all: 7: ./reconf-all: libtoolize: not found > autoreconf: Entering directory `.' > autoreconf: configure.ac: not using Gettext > autoreconf: running: aclocal > aclocal: warning: couldn't open directory 'm4': No such file or directory > autoreconf: configure.ac: tracing > autoreconf: configure.ac: adding subdirectory main to autoreconf > autoreconf: Entering directory `main' > autoreconf: running: aclocal -I m4 --install > autoreconf: configure.ac: not using Libtool > autoreconf: running: /usr/bin/autoconf > configure:4148: error: possibly undefined macro: AC_LIBTOOL_DLOPEN > If this token and others are legitimate, please use m4_pattern_allow. > See the Autoconf documentation. > configure:4150: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL > configure:4151: error: possibly undefined macro: AC_DISABLE_STATIC > autoreconf: /usr/bin/autoconf failed with exit status: 1 > user at ...3615... ~/Downloads/gambas3-3.9.1 $ > > my os is lmde2. > > > > ------------------------------------------------------------------------------ > 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 > You must install libtool package. Regards, -- Beno?t Minisini From demosthenesk at ...626... Sun Oct 2 20:17:58 2016 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Sun, 2 Oct 2016 21:17:58 +0300 Subject: [Gambas-user] reconf-all error In-Reply-To: References: <63e5df4c-2505-27bd-a513-eb2559b18ee8@...626...> Message-ID: Ok, thanks.... if you want add libtool to sudo-apt get packages for debian. On 10/02/2016 09:13 PM, Beno?t Minisini wrote: > Le 02/10/2016 ? 19:55, Demosthenes Koptsis a ?crit : >> Hello, >> >> i get these errors please help... >> >> user at ...3615... ~/Downloads/gambas3-3.9.1 $ ./reconf-all >> ./reconf-all: 7: ./reconf-all: libtoolize: not found >> autoreconf: Entering directory `.' >> autoreconf: configure.ac: not using Gettext >> autoreconf: running: aclocal >> aclocal: warning: couldn't open directory 'm4': No such file or directory >> autoreconf: configure.ac: tracing >> autoreconf: configure.ac: adding subdirectory main to autoreconf >> autoreconf: Entering directory `main' >> autoreconf: running: aclocal -I m4 --install >> autoreconf: configure.ac: not using Libtool >> autoreconf: running: /usr/bin/autoconf >> configure:4148: error: possibly undefined macro: AC_LIBTOOL_DLOPEN >> If this token and others are legitimate, please use m4_pattern_allow. >> See the Autoconf documentation. >> configure:4150: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL >> configure:4151: error: possibly undefined macro: AC_DISABLE_STATIC >> autoreconf: /usr/bin/autoconf failed with exit status: 1 >> user at ...3615... ~/Downloads/gambas3-3.9.1 $ >> >> my os is lmde2. >> >> >> >> ------------------------------------------------------------------------------ >> 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 >> > You must install libtool package. > > Regards, > From demosthenesk at ...626... Sun Oct 2 20:53:56 2016 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Sun, 2 Oct 2016 21:53:56 +0300 Subject: [Gambas-user] libpq.so Message-ID: Hello, in my lmde2 i have the libpq.so file in folder /usr/lib/x86_64-linux-gnu/libpq.so however the configure -C command cannot find it and i get || || THESE COMPONENTS ARE DISABLED: || - gb.db.postgresql From chrisml at ...3340... Sun Oct 2 21:14:18 2016 From: chrisml at ...3340... (Christof Thalhofer) Date: Sun, 2 Oct 2016 21:14:18 +0200 Subject: [Gambas-user] gambasdoc.org up for sale? In-Reply-To: <16b9fa55-6f91-59f8-f432-c36ffcfc6ece@...3301...> References: <16b9fa55-6f91-59f8-f432-c36ffcfc6ece@...3301...> Message-ID: <85264d61-b116-52c0-28d2-66564287420d@...3340...> Am 02.10.2016 um 17:20 schrieb sbungay: > Oh, Mint 17.3 64 Bit > Gambas 3.1.1 (the one in the Repo) 3.1.1 is very old. With Mint you should be able to install an actual Gambas version from Launchpad: https://launchpad.net/~gambas-team/+archive/ubuntu/gambas3 Alles Gute Christof Thalhofer -- Dies ist keine Signatur From gambas at ...1... Sun Oct 2 21:20:56 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 2 Oct 2016 21:20:56 +0200 Subject: [Gambas-user] libpq.so In-Reply-To: References: Message-ID: <4f4e68de-7f7b-2a16-950e-6b3f5a8942e8@...1...> Le 02/10/2016 ? 20:53, Demosthenes Koptsis a ?crit : > Hello, > > in my lmde2 i have the libpq.so file in folder > > /usr/lib/x86_64-linux-gnu/libpq.so > > > however the configure -C command cannot find it and i get > > || > || THESE COMPONENTS ARE DISABLED: > || - gb.db.postgresql > Compiling needs -development- packages! You must install the postgresql development packages. Moreover, you may have to install two development packages for postgresql: one for the client library, another one for some server include files that should be in the client library development package. It depends on your distribution and its version. Regards, -- Beno?t Minisini From demosthenesk at ...626... Sun Oct 2 23:01:19 2016 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Mon, 3 Oct 2016 00:01:19 +0300 Subject: [Gambas-user] gb.jit Ubuntu 16.04.1 LTS Message-ID: Hello, i have apt-get install all packages according help wiki. i get this error || || THESE COMPONENTS ARE DISABLED: || - gb.jit || what packages i need to install ? In wiki says LLVM >= 3.1 but what packages are they? Regards Dim From demosthenesk at ...626... Mon Oct 3 10:32:06 2016 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Mon, 3 Oct 2016 11:32:06 +0300 Subject: [Gambas-user] Menu has no Click() event Message-ID: <411cb037-6569-a5f3-217f-c31e2c616ce9@...626...> Hello, i try to implement a systray icon with a popup menu. In wiki says that each menu has a Click() event but i cannot find it in code. I attach the small project. -------------- next part -------------- A non-text attachment was scrubbed... Name: TestG.tar.gz Type: application/x-gzip Size: 13391 bytes Desc: not available URL: From bagonergi at ...626... Mon Oct 3 11:01:20 2016 From: bagonergi at ...626... (Gianluigi) Date: Mon, 3 Oct 2016 11:01:20 +0200 Subject: [Gambas-user] gb.jit Ubuntu 16.04.1 LTS In-Reply-To: References: Message-ID: Hello Demosthenes, Benoit Minisini docet: $ ./reconf $ LLVM_CONFIG=llvm-config-3.5 ./configure -C $ make Regards Gianluigi 2016-10-02 23:01 GMT+02:00 Demosthenes Koptsis : > Hello, > > i have apt-get install all packages according help wiki. > > i get this error > > || > || THESE COMPONENTS ARE DISABLED: > || - gb.jit > || > > what packages i need to install ? > > In wiki says LLVM >= 3.1 > > but what packages are they? > > > Regards Dim > > > ------------------------------------------------------------ > ------------------ > 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... Mon Oct 3 11:21:14 2016 From: bagonergi at ...626... (Gianluigi) Date: Mon, 3 Oct 2016 11:21:14 +0200 Subject: [Gambas-user] Menu has no Click() event In-Reply-To: <411cb037-6569-a5f3-217f-c31e2c616ce9@...626...> References: <411cb037-6569-a5f3-217f-c31e2c616ce9@...626...> Message-ID: True, both Ubuntu that Mint no response from direct clicks. Only by clicking on the menu. Regards Gianluigi 2016-10-03 10:32 GMT+02:00 Demosthenes Koptsis : > Hello, > > i try to implement a systray icon with a popup menu. > > In wiki says that each menu has a Click() event but i cannot find it in > code. > > I attach the small project. > > > > ------------------------------------------------------------ > ------------------ > 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... Mon Oct 3 13:21:16 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 3 Oct 2016 13:21:16 +0200 Subject: [Gambas-user] Menu has no Click() event In-Reply-To: <411cb037-6569-a5f3-217f-c31e2c616ce9@...626...> References: <411cb037-6569-a5f3-217f-c31e2c616ce9@...626...> Message-ID: Le 03/10/2016 ? 10:32, Demosthenes Koptsis a ?crit : > Hello, > > i try to implement a systray icon with a popup menu. > > In wiki says that each menu has a Click() event but i cannot find it in > code. > > I attach the small project. > Are you using the last version finally? -- Beno?t Minisini From demosthenesk at ...626... Mon Oct 3 13:33:31 2016 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Mon, 3 Oct 2016 14:33:31 +0300 Subject: [Gambas-user] Menu has no Click() event In-Reply-To: References: <411cb037-6569-a5f3-217f-c31e2c616ce9@...626...> Message-ID: On 3/10/2016 14:21 ??, Beno?t Minisini wrote: > Le 03/10/2016 ? 10:32, Demosthenes Koptsis a ?crit : >> Hello, >> >> i try to implement a systray icon with a popup menu. >> >> In wiki says that each menu has a Click() event but i cannot find it in >> code. >> >> I attach the small project. >> > Are you using the last version finally? > i use 3.9.0 From demosthenesk at ...626... Mon Oct 3 13:37:02 2016 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Mon, 3 Oct 2016 14:37:02 +0300 Subject: [Gambas-user] gb.jit Ubuntu 16.04.1 LTS In-Reply-To: References: Message-ID: On 3/10/2016 12:01 ??, Gianluigi wrote: > LLVM_CONFIG=llvm-config-3.5 ./configure -C ok it has accepted it.... now i build with make.... let's see... From gambas at ...1... Mon Oct 3 13:39:17 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 3 Oct 2016 13:39:17 +0200 Subject: [Gambas-user] Menu has no Click() event In-Reply-To: References: <411cb037-6569-a5f3-217f-c31e2c616ce9@...626...> Message-ID: <4044675f-a69c-2e4e-332a-6aabeee2f0b1@...1...> Le 03/10/2016 ? 13:33, Demosthenes Koptsis a ?crit : > On 3/10/2016 14:21 ??, Beno?t Minisini wrote: >> Le 03/10/2016 ? 10:32, Demosthenes Koptsis a ?crit : >>> Hello, >>> >>> i try to implement a systray icon with a popup menu. >>> >>> In wiki says that each menu has a Click() event but i cannot find it in >>> code. >>> >>> I attach the small project. >>> >> Are you using the last version finally? >> > i use 3.9.0 > Your program cannot work: - You must give your popup-menu a name that matches the string defined in the TrayIcon PopupMenu property. - You must define that menu before setting the property (this should not be necessary, but at the moment it works like that). - Once the popup menu is defined, you should not let-it popup on the Click event. All what I said is true with the new trayicon procotol. I guess you are using an old desktop that does not implement it, and so has other problems. Please post your system information so that I know. Regards, -- Beno?t Minisini From demosthenesk at ...626... Mon Oct 3 14:21:41 2016 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Mon, 3 Oct 2016 15:21:41 +0300 Subject: [Gambas-user] Menu has no Click() event In-Reply-To: <4044675f-a69c-2e4e-332a-6aabeee2f0b1@...1...> References: <411cb037-6569-a5f3-217f-c31e2c616ce9@...626...> <4044675f-a69c-2e4e-332a-6aabeee2f0b1@...1...> Message-ID: On 3/10/2016 14:39 ??, Beno?t Minisini wrote: > Le 03/10/2016 ? 13:33, Demosthenes Koptsis a ?crit : >> On 3/10/2016 14:21 ??, Beno?t Minisini wrote: >>> Le 03/10/2016 ? 10:32, Demosthenes Koptsis a ?crit : >>>> Hello, >>>> >>>> i try to implement a systray icon with a popup menu. >>>> >>>> In wiki says that each menu has a Click() event but i cannot find it in >>>> code. >>>> >>>> I attach the small project. >>>> >>> Are you using the last version finally? >>> >> i use 3.9.0 >> > Your program cannot work: > - You must give your popup-menu a name that matches the string defined > in the TrayIcon PopupMenu property. > - You must define that menu before setting the property (this should not > be necessary, but at the moment it works like that). > - Once the popup menu is defined, you should not let-it popup on the > Click event. > > All what I said is true with the new trayicon procotol. > > I guess you are using an old desktop that does not implement it, and so > has other problems. > > Please post your system information so that I know. > > Regards, > i use latest Ubuntu 16.04.1 LTS Mate edition From ron at ...1740... Mon Oct 3 14:23:16 2016 From: ron at ...1740... (Ron) Date: Mon, 3 Oct 2016 14:23:16 +0200 Subject: [Gambas-user] gb.jit Ubuntu 16.04.1 LTS In-Reply-To: References: Message-ID: I wonder can't the configure steps find this out by themselves. Ie. Try if the specific config versions exists of default cannot be found? Op 3 okt. 2016 17:01 schreef "Gianluigi" : > Hello Demosthenes, > > Benoit Minisini docet: > > $ ./reconf > $ LLVM_CONFIG=llvm-config-3.5 ./configure -C > $ make > > Regards > Gianluigi > > 2016-10-02 23:01 GMT+02:00 Demosthenes Koptsis : > > > Hello, > > > > i have apt-get install all packages according help wiki. > > > > i get this error > > > > || > > || THESE COMPONENTS ARE DISABLED: > > || - gb.jit > > || > > > > what packages i need to install ? > > > > In wiki says LLVM >= 3.1 > > > > but what packages are they? > > > > > > Regards Dim > > > > > > ------------------------------------------------------------ > > ------------------ > > 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 demosthenesk at ...626... Mon Oct 3 14:27:53 2016 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Mon, 3 Oct 2016 15:27:53 +0300 Subject: [Gambas-user] Menu has no Click() event In-Reply-To: <4044675f-a69c-2e4e-332a-6aabeee2f0b1@...1...> References: <411cb037-6569-a5f3-217f-c31e2c616ce9@...626...> <4044675f-a69c-2e4e-332a-6aabeee2f0b1@...1...> Message-ID: <18800624-d069-8f7f-8c83-52769c99760e@...626...> On 3/10/2016 14:39 ??, Beno?t Minisini wrote: > Le 03/10/2016 ? 13:33, Demosthenes Koptsis a ?crit : >> On 3/10/2016 14:21 ??, Beno?t Minisini wrote: >>> Le 03/10/2016 ? 10:32, Demosthenes Koptsis a ?crit : >>>> Hello, >>>> >>>> i try to implement a systray icon with a popup menu. >>>> >>>> In wiki says that each menu has a Click() event but i cannot find it in >>>> code. >>>> >>>> I attach the small project. >>>> >>> Are you using the last version finally? >>> >> i use 3.9.0 >> > Your program cannot work: > - You must give your popup-menu a name that matches the string defined > in the TrayIcon PopupMenu property. > - You must define that menu before setting the property (this should not > be necessary, but at the moment it works like that). > - Once the popup menu is defined, you should not let-it popup on the > Click event. > > All what I said is true with the new trayicon procotol. > > I guess you are using an old desktop that does not implement it, and so > has other problems. > > Please post your system information so that I know. > > Regards, > Ok i put a Name to the hMenu ... still no Click() event ------------------------------------ ' Gambas class file Public hMenu As Menu Public hMenu2 As Menu Public hMenu3 As Menu Public Sub Form_Open() 'Create the popup menu hMenu = New Menu(Me, True) hMenu.Name = "hMenu" hMenu2 = New Menu(hMenu) hMenu2.Text = "Mount ISO" hMenu3 = New Menu(hMenu) hMenu3.Text = "Unmount ISO" TrayIcon1.PopupMenu = "hMenu" TrayIcon1.Show TrayIcon1.Visible = True End Public Sub TrayIcon1_Click() hMenu.Popup End Public Sub Timer1_Timer() If Me.Visible == True Then Me.Visible = False Endif End Public Sub hMenu2_Click() Message.Info("hello qwerty") End ----------------------------------------- From demosthenesk at ...626... Mon Oct 3 14:30:33 2016 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Mon, 3 Oct 2016 15:30:33 +0300 Subject: [Gambas-user] gb.jit Ubuntu 16.04.1 LTS In-Reply-To: References: Message-ID: On 3/10/2016 15:23 ??, Ron wrote: > I wonder can't the configure steps find this out by themselves. Ie. Try if > the specific config versions exists of default cannot be found? > > Op 3 okt. 2016 17:01 schreef "Gianluigi" : > >> Hello Demosthenes, >> >> Benoit Minisini docet: >> >> $ ./reconf >> $ LLVM_CONFIG=llvm-config-3.5 ./configure -C >> $ make >> >> Regards >> Gianluigi >> >> 2016-10-02 23:01 GMT+02:00 Demosthenes Koptsis : >> >>> Hello, >>> >>> i have apt-get install all packages according help wiki. >>> >>> i get this error >>> >>> || >>> || THESE COMPONENTS ARE DISABLED: >>> || - gb.jit >>> || >>> >>> what packages i need to install ? >>> >>> In wiki says LLVM >= 3.1 >>> >>> but what packages are they? >>> >>> >>> Regards Dim >>> >>> >>> ------------------------------------------------------------ >>> ------------------ >>> 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 >> > ------------------------------------------------------------------------------ > 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 ubuntu has llvm 3.8 by default. i have installed both 3.8 and 3.5 and with LLVM_CONFIG=llvm-config-3.5 ./configure -C it works now i run gambas 3.9.2 finally From bagonergi at ...626... Mon Oct 3 15:10:34 2016 From: bagonergi at ...626... (Gianluigi) Date: Mon, 3 Oct 2016 15:10:34 +0200 Subject: [Gambas-user] Menu has no Click() event In-Reply-To: <18800624-d069-8f7f-8c83-52769c99760e@...626...> References: <411cb037-6569-a5f3-217f-c31e2c616ce9@...626...> <4044675f-a69c-2e4e-332a-6aabeee2f0b1@...1...> <18800624-d069-8f7f-8c83-52769c99760e@...626...> Message-ID: You can take a look here [0]. I repeat, in Ubuntu click the icon is not registered by the poject. Regards Gianluigi [0] http://gambas.8142.n7.nabble.com/TrayIcon-question-td55955.html [System] Gambas=3.9.90 r7884 OperatingSystem=Linux Kernel=4.4.0-38-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-k6RIFlWV3J 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=5746 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=/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/1405,unix/:/tmp/.ICE-unix/1405 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/1207 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 2016-10-03 14:27 GMT+02:00 Demosthenes Koptsis : > On 3/10/2016 14:39 ??, Beno?t Minisini wrote: > > Le 03/10/2016 ? 13:33, Demosthenes Koptsis a ?crit : > >> On 3/10/2016 14:21 ??, Beno?t Minisini wrote: > >>> Le 03/10/2016 ? 10:32, Demosthenes Koptsis a ?crit : > >>>> Hello, > >>>> > >>>> i try to implement a systray icon with a popup menu. > >>>> > >>>> In wiki says that each menu has a Click() event but i cannot find it > in > >>>> code. > >>>> > >>>> I attach the small project. > >>>> > >>> Are you using the last version finally? > >>> > >> i use 3.9.0 > >> > > Your program cannot work: > > - You must give your popup-menu a name that matches the string defined > > in the TrayIcon PopupMenu property. > > - You must define that menu before setting the property (this should not > > be necessary, but at the moment it works like that). > > - Once the popup menu is defined, you should not let-it popup on the > > Click event. > > > > All what I said is true with the new trayicon procotol. > > > > I guess you are using an old desktop that does not implement it, and so > > has other problems. > > > > Please post your system information so that I know. > > > > Regards, > > > Ok i put a Name to the hMenu ... still no Click() event > > ------------------------------------ > > ' Gambas class file > > Public hMenu As Menu > Public hMenu2 As Menu > Public hMenu3 As Menu > > Public Sub Form_Open() > > 'Create the popup menu > hMenu = New Menu(Me, True) > hMenu.Name = "hMenu" > > hMenu2 = New Menu(hMenu) > hMenu2.Text = "Mount ISO" > > hMenu3 = New Menu(hMenu) > hMenu3.Text = "Unmount ISO" > > TrayIcon1.PopupMenu = "hMenu" > TrayIcon1.Show > TrayIcon1.Visible = True > > End > > Public Sub TrayIcon1_Click() > > hMenu.Popup > > End > > Public Sub Timer1_Timer() > > If Me.Visible == True Then > Me.Visible = False > Endif > > End > > Public Sub hMenu2_Click() > > Message.Info("hello qwerty") > > 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 demosthenesk at ...626... Mon Oct 3 15:29:53 2016 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Mon, 3 Oct 2016 16:29:53 +0300 Subject: [Gambas-user] Menu has no Click() event In-Reply-To: References: <411cb037-6569-a5f3-217f-c31e2c616ce9@...626...> <4044675f-a69c-2e4e-332a-6aabeee2f0b1@...1...> <18800624-d069-8f7f-8c83-52769c99760e@...626...> Message-ID: <3bd3cf7a-ed42-044b-af65-4a1abdaf8307@...626...> On 3/10/2016 16:10 ??, Gianluigi wrote: > You can take a look here [0]. > I repeat, in Ubuntu click the icon is not registered by the poject. What does it mean? In Ubuntu, the TrayIcon is been seen correctly. But when i click it, Public Sub TrayIcon1_Click() is been called. How can i have access to each Menu_Click() subroutines? > Regards > Gianluigi > [0] http://gambas.8142.n7.nabble.com/TrayIcon-question-td55955.html > > [System] > Gambas=3.9.90 r7884 > OperatingSystem=Linux > Kernel=4.4.0-38-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-k6RIFlWV3J > 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=5746 > 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=/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/1405,unix/:/tmp/.ICE-unix/1405 > 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/1207 > 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 > > 2016-10-03 14:27 GMT+02:00 Demosthenes Koptsis : > >> On 3/10/2016 14:39 ??, Beno?t Minisini wrote: >>> Le 03/10/2016 ? 13:33, Demosthenes Koptsis a ?crit : >>>> On 3/10/2016 14:21 ??, Beno?t Minisini wrote: >>>>> Le 03/10/2016 ? 10:32, Demosthenes Koptsis a ?crit : >>>>>> Hello, >>>>>> >>>>>> i try to implement a systray icon with a popup menu. >>>>>> >>>>>> In wiki says that each menu has a Click() event but i cannot find it >> in >>>>>> code. >>>>>> >>>>>> I attach the small project. >>>>>> >>>>> Are you using the last version finally? >>>>> >>>> i use 3.9.0 >>>> >>> Your program cannot work: >>> - You must give your popup-menu a name that matches the string defined >>> in the TrayIcon PopupMenu property. >>> - You must define that menu before setting the property (this should not >>> be necessary, but at the moment it works like that). >>> - Once the popup menu is defined, you should not let-it popup on the >>> Click event. >>> >>> All what I said is true with the new trayicon procotol. >>> >>> I guess you are using an old desktop that does not implement it, and so >>> has other problems. >>> >>> Please post your system information so that I know. >>> >>> Regards, >>> >> Ok i put a Name to the hMenu ... still no Click() event >> >> ------------------------------------ >> >> ' Gambas class file >> >> Public hMenu As Menu >> Public hMenu2 As Menu >> Public hMenu3 As Menu >> >> Public Sub Form_Open() >> >> 'Create the popup menu >> hMenu = New Menu(Me, True) >> hMenu.Name = "hMenu" >> >> hMenu2 = New Menu(hMenu) >> hMenu2.Text = "Mount ISO" >> >> hMenu3 = New Menu(hMenu) >> hMenu3.Text = "Unmount ISO" >> >> TrayIcon1.PopupMenu = "hMenu" >> TrayIcon1.Show >> TrayIcon1.Visible = True >> >> End >> >> Public Sub TrayIcon1_Click() >> >> hMenu.Popup >> >> End >> >> Public Sub Timer1_Timer() >> >> If Me.Visible == True Then >> Me.Visible = False >> Endif >> >> End >> >> Public Sub hMenu2_Click() >> >> Message.Info("hello qwerty") >> >> 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 >> > ------------------------------------------------------------------------------ > 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... Mon Oct 3 15:45:30 2016 From: bagonergi at ...626... (Gianluigi) Date: Mon, 3 Oct 2016 15:45:30 +0200 Subject: [Gambas-user] Menu has no Click() event In-Reply-To: <3bd3cf7a-ed42-044b-af65-4a1abdaf8307@...626...> References: <411cb037-6569-a5f3-217f-c31e2c616ce9@...626...> <4044675f-a69c-2e4e-332a-6aabeee2f0b1@...1...> <18800624-d069-8f7f-8c83-52769c99760e@...626...> <3bd3cf7a-ed42-044b-af65-4a1abdaf8307@...626...> Message-ID: Changes so without timer: Public Sub Form_Open() 'Create the popup menu hMenu = New Menu(Me, True) As "goofy" hMenu.Name = "hMenu" hMenu2 = New Menu(hMenu) As "pluto" hMenu2.Text = "Mount ISO" hMenu3 = New Menu(hMenu) As "donald duck" hMenu3.Text = "Unmount ISO" TrayIcon1.PopupMenu = "hMenu" TrayIcon1.Show TrayIcon1.Visible = True End ... but goofy not work 2016-10-03 15:29 GMT+02:00 Demosthenes Koptsis : > On 3/10/2016 16:10 ??, Gianluigi wrote: > > You can take a look here [0]. > > I repeat, in Ubuntu click the icon is not registered by the poject. > > What does it mean? > In Ubuntu, the TrayIcon is been seen correctly. > But when i click it, Public Sub TrayIcon1_Click() > is been called. > > How can i have access to each Menu_Click() subroutines? > > > Regards > > Gianluigi > > [0] http://gambas.8142.n7.nabble.com/TrayIcon-question-td55955.html > > > > [System] > > Gambas=3.9.90 r7884 > > OperatingSystem=Linux > > Kernel=4.4.0-38-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-k6RIFlWV3J > > 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=5746 > > 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=/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/ > 1405,unix/:/tmp/.ICE-unix/1405 > > 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/1207 > > 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 > > > > 2016-10-03 14:27 GMT+02:00 Demosthenes Koptsis : > > > >> On 3/10/2016 14:39 ??, Beno?t Minisini wrote: > >>> Le 03/10/2016 ? 13:33, Demosthenes Koptsis a ?crit : > >>>> On 3/10/2016 14:21 ??, Beno?t Minisini wrote: > >>>>> Le 03/10/2016 ? 10:32, Demosthenes Koptsis a ?crit : > >>>>>> Hello, > >>>>>> > >>>>>> i try to implement a systray icon with a popup menu. > >>>>>> > >>>>>> In wiki says that each menu has a Click() event but i cannot find it > >> in > >>>>>> code. > >>>>>> > >>>>>> I attach the small project. > >>>>>> > >>>>> Are you using the last version finally? > >>>>> > >>>> i use 3.9.0 > >>>> > >>> Your program cannot work: > >>> - You must give your popup-menu a name that matches the string defined > >>> in the TrayIcon PopupMenu property. > >>> - You must define that menu before setting the property (this should > not > >>> be necessary, but at the moment it works like that). > >>> - Once the popup menu is defined, you should not let-it popup on the > >>> Click event. > >>> > >>> All what I said is true with the new trayicon procotol. > >>> > >>> I guess you are using an old desktop that does not implement it, and so > >>> has other problems. > >>> > >>> Please post your system information so that I know. > >>> > >>> Regards, > >>> > >> Ok i put a Name to the hMenu ... still no Click() event > >> > >> ------------------------------------ > >> > >> ' Gambas class file > >> > >> Public hMenu As Menu > >> Public hMenu2 As Menu > >> Public hMenu3 As Menu > >> > >> Public Sub Form_Open() > >> > >> 'Create the popup menu > >> hMenu = New Menu(Me, True) > >> hMenu.Name = "hMenu" > >> > >> hMenu2 = New Menu(hMenu) > >> hMenu2.Text = "Mount ISO" > >> > >> hMenu3 = New Menu(hMenu) > >> hMenu3.Text = "Unmount ISO" > >> > >> TrayIcon1.PopupMenu = "hMenu" > >> TrayIcon1.Show > >> TrayIcon1.Visible = True > >> > >> End > >> > >> Public Sub TrayIcon1_Click() > >> > >> hMenu.Popup > >> > >> End > >> > >> Public Sub Timer1_Timer() > >> > >> If Me.Visible == True Then > >> Me.Visible = False > >> Endif > >> > >> End > >> > >> Public Sub hMenu2_Click() > >> > >> Message.Info("hello qwerty") > >> > >> 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 > >> > > ------------------------------------------------------------ > ------------------ > > 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 charlie at ...2793... Mon Oct 3 15:28:06 2016 From: charlie at ...2793... (Charlie) Date: Mon, 3 Oct 2016 06:28:06 -0700 (MST) Subject: [Gambas-user] gambasdoc.org up for sale? In-Reply-To: <85264d61-b116-52c0-28d2-66564287420d@...3340...> References: <16b9fa55-6f91-59f8-f432-c36ffcfc6ece@...3301...> <85264d61-b116-52c0-28d2-66564287420d@...3340...> Message-ID: <1475501286925-57456.post@...3046...> In Mint/Ubuntu etc. simply run the following line to install the latest stable release of Gambas: - */sudo add-apt-repository -y ppa:gambas-team/gambas3 && sudo apt-get update && sudo apt-get -y install gambas3/* This way you will stay up to date with any later stable releases. -- View this message in context: http://gambas.8142.n7.nabble.com/gambasdoc-org-up-for-sale-tp57430p57456.html Sent from the gambas-user mailing list archive at Nabble.com. From charlie at ...2793... Mon Oct 3 15:55:24 2016 From: charlie at ...2793... (Charlie) Date: Mon, 3 Oct 2016 06:55:24 -0700 (MST) Subject: [Gambas-user] Menu has no Click() event In-Reply-To: References: <411cb037-6569-a5f3-217f-c31e2c616ce9@...626...> <4044675f-a69c-2e4e-332a-6aabeee2f0b1@...1...> <18800624-d069-8f7f-8c83-52769c99760e@...626...> <3bd3cf7a-ed42-044b-af65-4a1abdaf8307@...626...> Message-ID: <1475502924041-57457.post@...3046...> Your code works fine in Linux Mint 18 Cinnamon 64bit http://www.cogier.com/gambas/TestG.png -- View this message in context: http://gambas.8142.n7.nabble.com/Menu-has-no-Click-event-tp57442p57457.html Sent from the gambas-user mailing list archive at Nabble.com. From bagonergi at ...626... Mon Oct 3 18:18:35 2016 From: bagonergi at ...626... (Gianluigi) Date: Mon, 3 Oct 2016 18:18:35 +0200 Subject: [Gambas-user] Menu has no Click() event In-Reply-To: <1475502924041-57457.post@...3046...> References: <411cb037-6569-a5f3-217f-c31e2c616ce9@...626...> <4044675f-a69c-2e4e-332a-6aabeee2f0b1@...1...> <18800624-d069-8f7f-8c83-52769c99760e@...626...> <3bd3cf7a-ed42-044b-af65-4a1abdaf8307@...626...> <1475502924041-57457.post@...3046...> Message-ID: Hello Charlie, It also works the message? 2016-10-03 15:55 GMT+02:00 Charlie : > Your code works fine in Linux Mint 18 Cinnamon 64bit > http://www.cogier.com/gambas/TestG.png > > > > > -- > View this message in context: http://gambas.8142.n7.nabble. > com/Menu-has-no-Click-event-tp57442p57457.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 > -------------- next part -------------- A non-text attachment was scrubbed... Name: Schermata del 2016-10-03 18-10-25.png Type: image/png Size: 279672 bytes Desc: not available URL: From demosthenesk at ...626... Mon Oct 3 18:38:46 2016 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Mon, 3 Oct 2016 19:38:46 +0300 Subject: [Gambas-user] Menu has no Click() event In-Reply-To: References: <411cb037-6569-a5f3-217f-c31e2c616ce9@...626...> <4044675f-a69c-2e4e-332a-6aabeee2f0b1@...1...> <18800624-d069-8f7f-8c83-52769c99760e@...626...> <3bd3cf7a-ed42-044b-af65-4a1abdaf8307@...626...> <1475502924041-57457.post@...3046...> Message-ID: <86738b41-acb3-9cfd-fd15-5b09039c2457@...626...> Yes it works also in Ubuntu Mate. Final code: ---------------------- ' Gambas class file Public hMenu As Menu Public hMenu2 As Menu Public hMenu3 As Menu Public Sub Form_Open() TrayIcon1.PopupMenu = "hMenu" TrayIcon1.Show TrayIcon1.Visible = True 'Create the popup menu hMenu = New Menu(Me, True) As "RootMenu" hMenu2 = New Menu(hMenu) As "Menu2" hMenu2.Text = "Mount ISO" hMenu3 = New Menu(hMenu) As "Menu3" hMenu3.Text = "Unmount ISO" End Public Sub TrayIcon1_Click() hMenu.Popup End Public Sub Timer1_Timer() If Me.Visible == True Then Me.Visible = False Endif End Public Sub Menu2_Click() Message.Info("hello Menu2") End Public Sub Menu3_Click() Message.Info("hello Menu3") End ---------------------------- On 3/10/2016 19:18 ??, Gianluigi wrote: > Hello Charlie, > It also works the message? > > 2016-10-03 15:55 GMT+02:00 Charlie : > >> Your code works fine in Linux Mint 18 Cinnamon 64bit >> http://www.cogier.com/gambas/TestG.png >> >> >> >> >> -- >> View this message in context: http://gambas.8142.n7.nabble. >> com/Menu-has-no-Click-event-tp57442p57457.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 From bagonergi at ...626... Mon Oct 3 20:00:21 2016 From: bagonergi at ...626... (Gianluigi) Date: Mon, 3 Oct 2016 20:00:21 +0200 Subject: [Gambas-user] Menu has no Click() event In-Reply-To: <86738b41-acb3-9cfd-fd15-5b09039c2457@...626...> References: <411cb037-6569-a5f3-217f-c31e2c616ce9@...626...> <4044675f-a69c-2e4e-332a-6aabeee2f0b1@...1...> <18800624-d069-8f7f-8c83-52769c99760e@...626...> <3bd3cf7a-ed42-044b-af65-4a1abdaf8307@...626...> <1475502924041-57457.post@...3046...> <86738b41-acb3-9cfd-fd15-5b09039c2457@...626...> Message-ID: In my Ubuntu the your code without *hMenu.Name = "hMenu"* do not work. And this code is unnecessary: Public Sub TrayIcon1_Click() hMenu.Popup End Public Sub Timer1_Timer() If Me.Visible == True Then Me.Visible = False Endif End 2016-10-03 18:38 GMT+02:00 Demosthenes Koptsis : > Yes it works also in Ubuntu Mate. > > Final code: > ---------------------- > ' Gambas class file > > Public hMenu As Menu > Public hMenu2 As Menu > Public hMenu3 As Menu > > Public Sub Form_Open() > > TrayIcon1.PopupMenu = "hMenu" > TrayIcon1.Show > TrayIcon1.Visible = True > > 'Create the popup menu > hMenu = New Menu(Me, True) As "RootMenu" > > hMenu2 = New Menu(hMenu) As "Menu2" > hMenu2.Text = "Mount ISO" > > hMenu3 = New Menu(hMenu) As "Menu3" > hMenu3.Text = "Unmount ISO" > > End > > Public Sub TrayIcon1_Click() > > hMenu.Popup > > End > > Public Sub Timer1_Timer() > > If Me.Visible == True Then > Me.Visible = False > Endif > > End > > Public Sub Menu2_Click() > > Message.Info("hello Menu2") > > End > > Public Sub Menu3_Click() > > Message.Info("hello Menu3") > > End > ---------------------------- > > On 3/10/2016 19:18 ??, Gianluigi wrote: > > Hello Charlie, > > It also works the message? > > > > 2016-10-03 15:55 GMT+02:00 Charlie : > > > >> Your code works fine in Linux Mint 18 Cinnamon 64bit > >> http://www.cogier.com/gambas/TestG.png > >> > >> > >> > >> > >> -- > >> View this message in context: http://gambas.8142.n7.nabble. > >> com/Menu-has-no-Click-event-tp57442p57457.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 > > > ------------------------------------------------------------ > ------------------ > 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 demosthenesk at ...626... Mon Oct 3 21:07:14 2016 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Mon, 3 Oct 2016 22:07:14 +0300 Subject: [Gambas-user] Menu has no Click() event In-Reply-To: References: <411cb037-6569-a5f3-217f-c31e2c616ce9@...626...> <4044675f-a69c-2e4e-332a-6aabeee2f0b1@...1...> <18800624-d069-8f7f-8c83-52769c99760e@...626...> <3bd3cf7a-ed42-044b-af65-4a1abdaf8307@...626...> <1475502924041-57457.post@...3046...> <86738b41-acb3-9cfd-fd15-5b09039c2457@...626...> Message-ID: yes you are right ... it was my mistake during copy/paste On 3/10/2016 21:00 ??, Gianluigi wrote: > In my Ubuntu the your code without *hMenu.Name = "hMenu"* do not work. > > And this code is unnecessary: > > Public Sub TrayIcon1_Click() > > hMenu.Popup > > End > > Public Sub Timer1_Timer() > > If Me.Visible == True Then > Me.Visible = False > Endif > > End > > 2016-10-03 18:38 GMT+02:00 Demosthenes Koptsis : > >> Yes it works also in Ubuntu Mate. >> >> Final code: >> ---------------------- >> ' Gambas class file >> >> Public hMenu As Menu >> Public hMenu2 As Menu >> Public hMenu3 As Menu >> >> Public Sub Form_Open() >> >> TrayIcon1.PopupMenu = "hMenu" >> TrayIcon1.Show >> TrayIcon1.Visible = True >> >> 'Create the popup menu >> hMenu = New Menu(Me, True) As "RootMenu" >> >> hMenu2 = New Menu(hMenu) As "Menu2" >> hMenu2.Text = "Mount ISO" >> >> hMenu3 = New Menu(hMenu) As "Menu3" >> hMenu3.Text = "Unmount ISO" >> >> End >> >> Public Sub TrayIcon1_Click() >> >> hMenu.Popup >> >> End >> >> Public Sub Timer1_Timer() >> >> If Me.Visible == True Then >> Me.Visible = False >> Endif >> >> End >> >> Public Sub Menu2_Click() >> >> Message.Info("hello Menu2") >> >> End >> >> Public Sub Menu3_Click() >> >> Message.Info("hello Menu3") >> >> End >> ---------------------------- >> >> On 3/10/2016 19:18 ??, Gianluigi wrote: >>> Hello Charlie, >>> It also works the message? >>> >>> 2016-10-03 15:55 GMT+02:00 Charlie : >>> >>>> Your code works fine in Linux Mint 18 Cinnamon 64bit >>>> http://www.cogier.com/gambas/TestG.png >>>> >>>> >>>> >>>> >>>> -- >>>> View this message in context: http://gambas.8142.n7.nabble. >>>> com/Menu-has-no-Click-event-tp57442p57457.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 >> >> ------------------------------------------------------------ >> ------------------ >> 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 demosthenesk at ...626... Mon Oct 3 21:16:20 2016 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Mon, 3 Oct 2016 22:16:20 +0300 Subject: [Gambas-user] sni-qt/3330" WARN Message-ID: Hi, i try to Run the systray project in Linux Mint 18 Mate x64, edition and i get "sni-qt/3330" WARN 22:10:44.398 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE finally the project cannot run From demosthenesk at ...626... Mon Oct 3 21:19:41 2016 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Mon, 3 Oct 2016 22:19:41 +0300 Subject: [Gambas-user] Fwd: sni-qt/3330" WARN In-Reply-To: References: Message-ID: <8aeff056-0ddd-cc7f-250b-9594b9ae6eaa@...626...> Sorry for my mistake.... The program runs but i get this message in console "sni-qt/3330" WARN 22:10:44.398 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE -------- Forwarded Message -------- Subject: sni-qt/3330" WARN Date: Mon, 3 Oct 2016 22:16:20 +0300 From: Demosthenes Koptsis To: gambas-user at lists.sourceforge.net Hi, i try to Run the systray project in Linux Mint 18 Mate x64, edition and i get "sni-qt/3330" WARN 22:10:44.398 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE finally the project cannot run From bagonergi at ...626... Mon Oct 3 21:25:31 2016 From: bagonergi at ...626... (Gianluigi) Date: Mon, 3 Oct 2016 21:25:31 +0200 Subject: [Gambas-user] sni-qt/3330" WARN In-Reply-To: References: Message-ID: I think it's better to create the menu with the IDE gambas. Create the TrayIcon as in this thread [0] and close the window into Form_Open. [0] http://gambas.8142.n7.nabble.com/TrayIcon-question-td55955.html 2016-10-03 21:16 GMT+02:00 Demosthenes Koptsis : > Hi, > > i try to Run the systray project in Linux Mint 18 Mate x64, edition > > and i get > > "sni-qt/3330" WARN 22:10:44.398 void > StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE > > finally the project cannot run > > > > ------------------------------------------------------------ > ------------------ > 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 demosthenesk at ...626... Mon Oct 3 21:34:52 2016 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Mon, 3 Oct 2016 22:34:52 +0300 Subject: [Gambas-user] sni-qt/3330" WARN In-Reply-To: References: Message-ID: <210ea1a9-f641-62ea-ea15-50b8d09e986b@...626...> If i create the Menu with IDE Gambas it will be a menu on top of the form. Creating the menu by code it is ok now. The only change to work was to add at the end of New() the event name hMenu = New Menu(Me, True) As "RootMenu" hMenu2 = New Menu(hMenu) As "Menu2" hMenu3 = New Menu(hMenu) As "Menu3" On 3/10/2016 22:25 ??, Gianluigi wrote: > I think it's better to create the menu with the IDE gambas. > Create the TrayIcon as in this thread [0] and close the window into > Form_Open. > > [0] http://gambas.8142.n7.nabble.com/TrayIcon-question-td55955.html > > 2016-10-03 21:16 GMT+02:00 Demosthenes Koptsis : > >> Hi, >> >> i try to Run the systray project in Linux Mint 18 Mate x64, edition >> >> and i get >> >> "sni-qt/3330" WARN 22:10:44.398 void >> StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE >> >> finally the project cannot run >> >> >> >> ------------------------------------------------------------ >> ------------------ >> 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 bagonergi at ...626... Mon Oct 3 21:58:21 2016 From: bagonergi at ...626... (Gianluigi) Date: Mon, 3 Oct 2016 21:58:21 +0200 Subject: [Gambas-user] sni-qt/3330" WARN In-Reply-To: <210ea1a9-f641-62ea-ea15-50b8d09e986b@...626...> References: <210ea1a9-f641-62ea-ea15-50b8d09e986b@...626...> Message-ID: Try this code (creating the menu with the IDE gambas): ' Gambas class file Public $hTray As TrayIcon Public Sub _new() $hTray = New TrayIcon As "tyIcon" '$hTray.Icon = Picture["griG.png"] $hTray.PopupMenu = "myMenu" $hTray.Show myMenu.Hide End Public Sub Form_Open() Me.Close End Public Sub Menu2_Click() Message("The Menu2 was clicked") End Public Sub Menu3_Click() Message("The Menu3 was clicked") End Public Sub Menu4_Click() $hTray.Hide End 2016-10-03 21:34 GMT+02:00 Demosthenes Koptsis : > If i create the Menu with IDE Gambas it will be a menu on top of the form. > > Creating the menu by code it is ok now. > The only change to work was to add at the end of New() the event name > > hMenu = New Menu(Me, True) As "RootMenu" > hMenu2 = New Menu(hMenu) As "Menu2" > hMenu3 = New Menu(hMenu) As "Menu3" > > On 3/10/2016 22:25 ??, Gianluigi wrote: > > I think it's better to create the menu with the IDE gambas. > > Create the TrayIcon as in this thread [0] and close the window into > > Form_Open. > > > > [0] http://gambas.8142.n7.nabble.com/TrayIcon-question-td55955.html > > > > 2016-10-03 21:16 GMT+02:00 Demosthenes Koptsis : > > > >> Hi, > >> > >> i try to Run the systray project in Linux Mint 18 Mate x64, edition > >> > >> and i get > >> > >> "sni-qt/3330" WARN 22:10:44.398 void > >> StatusNotifierItemFactory::connectToSnw() Invalid interface to > SNW_SERVICE > >> > >> finally the project cannot run > >> > >> > >> > >> ------------------------------------------------------------ > >> ------------------ > >> 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 > > > > ------------------------------------------------------------ > ------------------ > 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 demosthenesk at ...626... Tue Oct 4 19:55:55 2016 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Tue, 4 Oct 2016 20:55:55 +0300 Subject: [Gambas-user] Load an Image from Data Message-ID: Hi, i have 3 images imported in a Gambas3 Project. The images are in Data folder of Gambas IDE. How do i load an image from Data folder? Regards, Dim From demosthenesk at ...626... Tue Oct 4 20:29:32 2016 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Tue, 4 Oct 2016 21:29:32 +0300 Subject: [Gambas-user] sni-qt/3330" WARN In-Reply-To: References: Message-ID: <4c64d70a-3c5d-b60c-4b3c-30e83867d2a0@...626...> Hello, i follow your suggestion, and i think is easier to create with IDE the menu and after assign it to TrayIcon. Thanks for the hack!!!! On 3/10/2016 22:25 ??, Gianluigi wrote: > I think it's better to create the menu with the IDE gambas. > Create the TrayIcon as in this thread [0] and close the window into > Form_Open. > > [0] http://gambas.8142.n7.nabble.com/TrayIcon-question-td55955.html > > 2016-10-03 21:16 GMT+02:00 Demosthenes Koptsis : > >> Hi, >> >> i try to Run the systray project in Linux Mint 18 Mate x64, edition >> >> and i get >> >> "sni-qt/3330" WARN 22:10:44.398 void >> StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE >> >> finally the project cannot run >> >> >> >> ------------------------------------------------------------ >> ------------------ >> 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 bagonergi at ...626... Tue Oct 4 21:04:44 2016 From: bagonergi at ...626... (Gianluigi) Date: Tue, 4 Oct 2016 21:04:44 +0200 Subject: [Gambas-user] Load an Image from Data In-Reply-To: References: Message-ID: Not sure I understand: PictureBox1.Picture = Picture["NamePicture.extension"] 2016-10-04 19:55 GMT+02:00 Demosthenes Koptsis : > Hi, > > i have 3 images imported in a Gambas3 Project. > > The images are in Data folder of Gambas IDE. > > How do i load an image from Data folder? > > > Regards, > > Dim > > > ------------------------------------------------------------ > ------------------ > 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 demosthenesk at ...626... Wed Oct 5 09:31:14 2016 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Wed, 5 Oct 2016 10:31:14 +0300 Subject: [Gambas-user] Load an Image from Data In-Reply-To: References: Message-ID: <5fd6cdda-eeb5-00bb-ffa2-31a1ed2af634@...626...> Yes, that was it! Thanks Dim On 4/10/2016 22:04 ??, Gianluigi wrote: > Not sure I understand: > > PictureBox1.Picture = Picture["NamePicture.extension"] > > 2016-10-04 19:55 GMT+02:00 Demosthenes Koptsis : > >> Hi, >> >> i have 3 images imported in a Gambas3 Project. >> >> The images are in Data folder of Gambas IDE. >> >> How do i load an image from Data folder? >> >> >> Regards, >> >> Dim >> >> >> ------------------------------------------------------------ >> ------------------ >> 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 demosthenesk at ...626... Wed Oct 5 09:34:41 2016 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Wed, 5 Oct 2016 10:34:41 +0300 Subject: [Gambas-user] x86 and x64 executables Message-ID: Hello, is there possible to create gambas3 application for x64 and x86 architectures from the same gambas3 IDE? Or i have to install gambas3 in separated machines? Regards, Dim From taboege at ...626... Wed Oct 5 09:54:34 2016 From: taboege at ...626... (Tobias Boege) Date: Wed, 5 Oct 2016 09:54:34 +0200 Subject: [Gambas-user] x86 and x64 executables In-Reply-To: References: Message-ID: <20161005075434.GB715@...3600...> On Wed, 05 Oct 2016, Demosthenes Koptsis wrote: > Hello, > > is there possible to create gambas3 application > > for x64 and x86 architectures from the same gambas3 IDE? > > Or i have to install gambas3 in separated machines? > Gambas applications are compiled into bytecode which is interpreted by the... interpreter. Your Gambas projects are independent of the under- lying architecture. They run as soon as you have Gambas installed on your machine of choice. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From charlie at ...2793... Wed Oct 5 09:15:16 2016 From: charlie at ...2793... (Charlie) Date: Wed, 5 Oct 2016 00:15:16 -0700 (MST) Subject: [Gambas-user] Load an Image from Data In-Reply-To: <5fd6cdda-eeb5-00bb-ffa2-31a1ed2af634@...626...> References: <5fd6cdda-eeb5-00bb-ffa2-31a1ed2af634@...626...> Message-ID: <1475651716475-57474.post@...3046...> Interesting. I have always used: - *PictureBox1.Picture = Picture.load("Test.png")* -- View this message in context: http://gambas.8142.n7.nabble.com/Load-an-Image-from-Data-tp57467p57474.html Sent from the gambas-user mailing list archive at Nabble.com. From demosthenesk at ...626... Wed Oct 5 13:28:59 2016 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Wed, 5 Oct 2016 14:28:59 +0300 Subject: [Gambas-user] x86 and x64 executables In-Reply-To: <20161005075434.GB715@...3600...> References: <20161005075434.GB715@...3600...> Message-ID: <0f2c8f58-10e3-4dbb-bb3f-c53840b5fdee@...626...> Thanks Tobi !!! On 10/05/2016 10:54 AM, Tobias Boege wrote: > On Wed, 05 Oct 2016, Demosthenes Koptsis wrote: >> Hello, >> >> is there possible to create gambas3 application >> >> for x64 and x86 architectures from the same gambas3 IDE? >> >> Or i have to install gambas3 in separated machines? >> > Gambas applications are compiled into bytecode which is interpreted by > the... interpreter. Your Gambas projects are independent of the under- > lying architecture. They run as soon as you have Gambas installed on > your machine of choice. > > Regards, > Tobi > From gambas at ...1... Wed Oct 5 13:59:57 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 5 Oct 2016 13:59:57 +0200 Subject: [Gambas-user] Load an Image from Data In-Reply-To: <1475651716475-57474.post@...3046...> References: <5fd6cdda-eeb5-00bb-ffa2-31a1ed2af634@...626...> <1475651716475-57474.post@...3046...> Message-ID: Le 05/10/2016 ? 09:15, Charlie a ?crit : > Interesting. I have always used: - > *PictureBox1.Picture = Picture.load("Test.png")* > From the wiki. :-) http://gambaswiki.org/wiki/comp/gb.qt4/picture/_get -- Beno?t Minisini From jf.monteiro at ...43... Wed Oct 5 15:26:34 2016 From: jf.monteiro at ...43... (Jose Monteiro) Date: Wed, 5 Oct 2016 13:26:34 +0000 (UTC) Subject: [Gambas-user] Displaying a pdf file to the user References: <1240951389.333419.1475673994134.ref@...3424...> Message-ID: <1240951389.333419.1475673994134@...3424...> I know how to call an external viewer. Is it simple to show a one page pdf file inside a Gambas3 control? RegardsJos? Monteiro From mckaygerhard at ...626... Wed Oct 5 16:00:57 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Wed, 5 Oct 2016 10:00:57 -0400 Subject: [Gambas-user] x86 and x64 executables In-Reply-To: <0f2c8f58-10e3-4dbb-bb3f-c53840b5fdee@...626...> References: <20161005075434.GB715@...3600...> <0f2c8f58-10e3-4dbb-bb3f-c53840b5fdee@...626...> Message-ID: event if are jit related, the jit module takes care fo the subsystem machiine Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2016-10-05 7:28 GMT-04:00 Demosthenes Koptsis : > Thanks Tobi !!! > > > On 10/05/2016 10:54 AM, Tobias Boege wrote: > > On Wed, 05 Oct 2016, Demosthenes Koptsis wrote: > >> Hello, > >> > >> is there possible to create gambas3 application > >> > >> for x64 and x86 architectures from the same gambas3 IDE? > >> > >> Or i have to install gambas3 in separated machines? > >> > > Gambas applications are compiled into bytecode which is interpreted by > > the... interpreter. Your Gambas projects are independent of the under- > > lying architecture. They run as soon as you have Gambas installed on > > your machine of choice. > > > > Regards, > > Tobi > > > > > ------------------------------------------------------------ > ------------------ > 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 shirishag75 at ...626... Thu Oct 6 16:25:32 2016 From: shirishag75 at ...626... (=?UTF-8?B?c2hpcmlzaCDgpLbgpL/gpLDgpYDgpLc=?=) Date: Thu, 6 Oct 2016 19:55:32 +0530 Subject: [Gambas-user] gbx3: warning: 4 allocation(s) non freed Message-ID: Hi all, I/We have been compiling a cpu-z like tool called I-Nex and came across the warning above. See https://github.com/i-nex/I-Nex The issue can be seen at https://github.com/i-nex/I-Nex/issues/7 Somebody also tried compiling with gambas 3.9.1 but still the issue persists. Can somebody look/guide us where the issue could be ? I am on Debian testing and these versions are in my system - ??[shirish at ...57...] - [~] - [10171] ??[$] apt-cache policy gambas3-gb-desktop-x11 gambas3-gb-desktop gambas3-gb-form-stock gambas3-gb-form gambas3-gb-qt4 gambas3-gb-image gambas3-runtime gambas3-gb-desktop-x11: Installed: 3.8.4-6+b1 Candidate: 3.8.4-6+b1 Version table: *** 3.8.4-6+b1 600 600 http://httpredir.debian.org/debian testing/main amd64 Packages 1 http://httpredir.debian.org/debian unstable/main amd64 Packages 100 /var/lib/dpkg/status gambas3-gb-desktop: Installed: 3.8.4-6+b1 Candidate: 3.8.4-6+b1 Version table: *** 3.8.4-6+b1 600 600 http://httpredir.debian.org/debian testing/main amd64 Packages 1 http://httpredir.debian.org/debian unstable/main amd64 Packages 100 /var/lib/dpkg/status gambas3-gb-form-stock: Installed: 3.8.4-6 Candidate: 3.8.4-6 Version table: *** 3.8.4-6 600 600 http://httpredir.debian.org/debian testing/main amd64 Packages 1 http://httpredir.debian.org/debian unstable/main amd64 Packages 100 /var/lib/dpkg/status gambas3-gb-form: Installed: 3.8.4-6 Candidate: 3.8.4-6 Version table: *** 3.8.4-6 600 600 http://httpredir.debian.org/debian testing/main amd64 Packages 1 http://httpredir.debian.org/debian unstable/main amd64 Packages 100 /var/lib/dpkg/status gambas3-gb-qt4: Installed: 3.8.4-6+b1 Candidate: 3.8.4-6+b1 Version table: *** 3.8.4-6+b1 600 600 http://httpredir.debian.org/debian testing/main amd64 Packages 1 http://httpredir.debian.org/debian unstable/main amd64 Packages 100 /var/lib/dpkg/status gambas3-gb-image: Installed: 3.8.4-6+b1 Candidate: 3.8.4-6+b1 Version table: *** 3.8.4-6+b1 600 600 http://httpredir.debian.org/debian testing/main amd64 Packages 1 http://httpredir.debian.org/debian unstable/main amd64 Packages 100 /var/lib/dpkg/status gambas3-runtime: Installed: 3.8.4-6+b1 Candidate: 3.8.4-6+b1 Version table: *** 3.8.4-6+b1 600 600 http://httpredir.debian.org/debian testing/main amd64 Packages 1 http://httpredir.debian.org/debian unstable/main amd64 Packages 100 /var/lib/dpkg/status Basically all are at 3.8.4-6+b1 but as seen in the bug/ticket somebody also tried doing the same with 3.9.1 Looking forward to some tips/resolution. -- Regards, Shirish Agarwal ????? ??????? My quotes in this email licensed under CC 3.0 http://creativecommons.org/licenses/by-nc/3.0/ http://flossexperiences.wordpress.com EB80 462B 08E1 A0DE A73A 2C2F 9F3D C7A4 E1C4 D2D8 From shirishag75 at ...626... Thu Oct 6 16:56:50 2016 From: shirishag75 at ...626... (=?UTF-8?B?c2hpcmlzaCDgpLbgpL/gpLDgpYDgpLc=?=) Date: Thu, 6 Oct 2016 20:26:50 +0530 Subject: [Gambas-user] gbx3: warning: 4 allocation(s) non freed In-Reply-To: References: Message-ID: addition at bottom :- On 06/10/2016, shirish ????? wrote: > Hi all, > > I/We have been compiling a cpu-z like tool called I-Nex and came > across the warning above. > > See https://github.com/i-nex/I-Nex > > The issue can be seen at https://github.com/i-nex/I-Nex/issues/7 > > Somebody also tried compiling with gambas 3.9.1 but still the issue > persists. > > Can somebody look/guide us where the issue could be ? > > I am on Debian testing and these versions are in my system - > > ??[shirish at ...57...] - [~] - [10171] > ??[$] apt-cache policy gambas3-gb-desktop-x11 gambas3-gb-desktop > gambas3-gb-form-stock gambas3-gb-form gambas3-gb-qt4 gambas3-gb-image > gambas3-runtime > > gambas3-gb-desktop-x11: > Installed: 3.8.4-6+b1 > Candidate: 3.8.4-6+b1 > Version table: > *** 3.8.4-6+b1 600 > 600 http://httpredir.debian.org/debian testing/main amd64 Packages > 1 http://httpredir.debian.org/debian unstable/main amd64 Packages > 100 /var/lib/dpkg/status > gambas3-gb-desktop: > Installed: 3.8.4-6+b1 > Candidate: 3.8.4-6+b1 > Version table: > *** 3.8.4-6+b1 600 > 600 http://httpredir.debian.org/debian testing/main amd64 Packages > 1 http://httpredir.debian.org/debian unstable/main amd64 Packages > 100 /var/lib/dpkg/status > gambas3-gb-form-stock: > Installed: 3.8.4-6 > Candidate: 3.8.4-6 > Version table: > *** 3.8.4-6 600 > 600 http://httpredir.debian.org/debian testing/main amd64 Packages > 1 http://httpredir.debian.org/debian unstable/main amd64 Packages > 100 /var/lib/dpkg/status > gambas3-gb-form: > Installed: 3.8.4-6 > Candidate: 3.8.4-6 > Version table: > *** 3.8.4-6 600 > 600 http://httpredir.debian.org/debian testing/main amd64 Packages > 1 http://httpredir.debian.org/debian unstable/main amd64 Packages > 100 /var/lib/dpkg/status > gambas3-gb-qt4: > Installed: 3.8.4-6+b1 > Candidate: 3.8.4-6+b1 > Version table: > *** 3.8.4-6+b1 600 > 600 http://httpredir.debian.org/debian testing/main amd64 Packages > 1 http://httpredir.debian.org/debian unstable/main amd64 Packages > 100 /var/lib/dpkg/status > gambas3-gb-image: > Installed: 3.8.4-6+b1 > Candidate: 3.8.4-6+b1 > Version table: > *** 3.8.4-6+b1 600 > 600 http://httpredir.debian.org/debian testing/main amd64 Packages > 1 http://httpredir.debian.org/debian unstable/main amd64 Packages > 100 /var/lib/dpkg/status > gambas3-runtime: > Installed: 3.8.4-6+b1 > Candidate: 3.8.4-6+b1 > Version table: > *** 3.8.4-6+b1 600 > 600 http://httpredir.debian.org/debian testing/main amd64 Packages > 1 http://httpredir.debian.org/debian unstable/main amd64 Packages > 100 /var/lib/dpkg/status > > Basically all are at 3.8.4-6+b1 but as seen in the bug/ticket somebody > also tried doing the same with 3.9.1 > > Looking forward to some tips/resolution. > Here are the details you need and please CC me as I have turned off mails as am info. overloaded . I have edited some details in the info. you need for security reasons, hope that is understandable. All the ones with x's are the ones I edited. [System] Gambas=3.8.4 OperatingSystem=Linux Kernel=4.7.0-1-amd64 Architecture=x86_64 Distribution= stretch/sid Desktop=MATE Theme=Gtk Language=en_US.UTF-8 Memory=1995M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.7 GStreamer=libgstreamer-1.0.so.0.803.0 GTK+2=libgtk-x11-2.0.so.0.2400.31 GTK+3=libgtk-3.so.0.2200.1 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.61.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.6.1 SDL=libSDL-1.2.so.0.11.4 [Environment] CLUTTER_BACKEND=x11 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_AUTOSTART_ID=xxxxxxxxxxxxxxxxx DESKTOP_SESSION=mate DISPLAY=:0 GB_GUI=gb.qt5 GDMSESSION=mate GDM_LANG=en_US.utf8 GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 GTK_MODULES=gail:atk-bridge:canberra-gtk-module GTK_OVERLAY_SCROLLING=0 GUAKE_TAB_UUID=xxxxxxxxxxxxxxxx HOME= LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 LESS=-R LOGNAME= LSCOLORS=xxxxxxxxxxxxxxxxx MATE_DESKTOP_SESSION_ID=this-is-deprecated PAGER=less PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games PWD= QT_ACCESSIBILITY=1 QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 SESSION_MANAGER=local/:@/tmp/.ICE-unix/2190,unix/:/tmp/.ICE-unix/2190 SHELL=/usr/bin/zsh SHLVL=1 SSH_AGENT_PID=2300 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TERM=xterm TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CURRENT_DESKTOP=MATE XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/ XDG_GREETER_DATA_DIR=/var/lib/lightdm/data/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=mate XDG_SESSION_ID=2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 ZSH=/.oh-my-zsh _=/usr/bin/gambas3 -- Regards, Shirish Agarwal ????? ??????? My quotes in this email licensed under CC 3.0 http://creativecommons.org/licenses/by-nc/3.0/ http://flossexperiences.wordpress.com EB80 462B 08E1 A0DE A73A 2C2F 9F3D C7A4 E1C4 D2D8 From gambas at ...1... Thu Oct 6 17:14:16 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 6 Oct 2016 17:14:16 +0200 Subject: [Gambas-user] gbx3: warning: 4 allocation(s) non freed In-Reply-To: References: Message-ID: I don't have the time now to make a VM and compile and install all the needed stuff in it. So: can you send me the output of the 'i-nex-cpuid' command on one of your system? And do you have the final warning message all the time? Le 06/10/2016 ? 16:56, shirish ????? a ?crit : > addition at bottom :- > > On 06/10/2016, shirish ????? wrote: >> Hi all, >> >> I/We have been compiling a cpu-z like tool called I-Nex and came >> across the warning above. >> >> See https://github.com/i-nex/I-Nex >> >> The issue can be seen at https://github.com/i-nex/I-Nex/issues/7 >> >> Somebody also tried compiling with gambas 3.9.1 but still the issue >> persists. >> >> Can somebody look/guide us where the issue could be ? >> >> I am on Debian testing and these versions are in my system - >> >> ??[shirish at ...57...] - [~] - [10171] >> ??[$] apt-cache policy gambas3-gb-desktop-x11 gambas3-gb-desktop >> gambas3-gb-form-stock gambas3-gb-form gambas3-gb-qt4 gambas3-gb-image >> gambas3-runtime >> >> gambas3-gb-desktop-x11: >> Installed: 3.8.4-6+b1 >> Candidate: 3.8.4-6+b1 >> Version table: >> *** 3.8.4-6+b1 600 >> 600 http://httpredir.debian.org/debian testing/main amd64 Packages >> 1 http://httpredir.debian.org/debian unstable/main amd64 Packages >> 100 /var/lib/dpkg/status >> gambas3-gb-desktop: >> Installed: 3.8.4-6+b1 >> Candidate: 3.8.4-6+b1 >> Version table: >> *** 3.8.4-6+b1 600 >> 600 http://httpredir.debian.org/debian testing/main amd64 Packages >> 1 http://httpredir.debian.org/debian unstable/main amd64 Packages >> 100 /var/lib/dpkg/status >> gambas3-gb-form-stock: >> Installed: 3.8.4-6 >> Candidate: 3.8.4-6 >> Version table: >> *** 3.8.4-6 600 >> 600 http://httpredir.debian.org/debian testing/main amd64 Packages >> 1 http://httpredir.debian.org/debian unstable/main amd64 Packages >> 100 /var/lib/dpkg/status >> gambas3-gb-form: >> Installed: 3.8.4-6 >> Candidate: 3.8.4-6 >> Version table: >> *** 3.8.4-6 600 >> 600 http://httpredir.debian.org/debian testing/main amd64 Packages >> 1 http://httpredir.debian.org/debian unstable/main amd64 Packages >> 100 /var/lib/dpkg/status >> gambas3-gb-qt4: >> Installed: 3.8.4-6+b1 >> Candidate: 3.8.4-6+b1 >> Version table: >> *** 3.8.4-6+b1 600 >> 600 http://httpredir.debian.org/debian testing/main amd64 Packages >> 1 http://httpredir.debian.org/debian unstable/main amd64 Packages >> 100 /var/lib/dpkg/status >> gambas3-gb-image: >> Installed: 3.8.4-6+b1 >> Candidate: 3.8.4-6+b1 >> Version table: >> *** 3.8.4-6+b1 600 >> 600 http://httpredir.debian.org/debian testing/main amd64 Packages >> 1 http://httpredir.debian.org/debian unstable/main amd64 Packages >> 100 /var/lib/dpkg/status >> gambas3-runtime: >> Installed: 3.8.4-6+b1 >> Candidate: 3.8.4-6+b1 >> Version table: >> *** 3.8.4-6+b1 600 >> 600 http://httpredir.debian.org/debian testing/main amd64 Packages >> 1 http://httpredir.debian.org/debian unstable/main amd64 Packages >> 100 /var/lib/dpkg/status >> >> Basically all are at 3.8.4-6+b1 but as seen in the bug/ticket somebody >> also tried doing the same with 3.9.1 >> >> Looking forward to some tips/resolution. >> > > Here are the details you need and please CC me as I have turned off > mails as am info. overloaded . I have edited some details in the info. > you need for security reasons, hope that is understandable. All the > ones with x's are the ones I edited. > > [System] > Gambas=3.8.4 > OperatingSystem=Linux > Kernel=4.7.0-1-amd64 > Architecture=x86_64 > Distribution= stretch/sid > Desktop=MATE > Theme=Gtk > Language=en_US.UTF-8 > Memory=1995M > > [Libraries] > Cairo=libcairo.so.2.11400.6 > Curl=libcurl.so.4.4.0 > DBus=libdbus-1.so.3.14.7 > GStreamer=libgstreamer-1.0.so.0.803.0 > GTK+2=libgtk-x11-2.0.so.0.2400.31 > GTK+3=libgtk-3.so.0.2200.1 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.61.0.0 > QT4=libQtCore.so.4.8.7 > QT5=libQt5Core.so.5.6.1 > SDL=libSDL-1.2.so.0.11.4 > > [Environment] > CLUTTER_BACKEND=x11 > DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus > DESKTOP_AUTOSTART_ID=xxxxxxxxxxxxxxxxx > DESKTOP_SESSION=mate > DISPLAY=:0 > GB_GUI=gb.qt5 > GDMSESSION=mate > GDM_LANG=en_US.utf8 > GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 > GTK_MODULES=gail:atk-bridge:canberra-gtk-module > GTK_OVERLAY_SCROLLING=0 > GUAKE_TAB_UUID=xxxxxxxxxxxxxxxx > HOME= > LANG=en_US.UTF-8 > LC_CTYPE=en_US.UTF-8 > LESS=-R > LOGNAME= > LSCOLORS=xxxxxxxxxxxxxxxxx > MATE_DESKTOP_SESSION_ID=this-is-deprecated > PAGER=less > PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games > PWD= > QT_ACCESSIBILITY=1 > QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 > SESSION_MANAGER=local/:@/tmp/.ICE-unix/2190,unix/:/tmp/.ICE-unix/2190 > SHELL=/usr/bin/zsh > SHLVL=1 > SSH_AGENT_PID=2300 > SSH_AUTH_SOCK=/run/user/1000/keyring/ssh > TERM=xterm > TZ=:/etc/localtime > USER= > XAUTHORITY=/.Xauthority > XDG_CURRENT_DESKTOP=MATE > XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/ > XDG_GREETER_DATA_DIR=/var/lib/lightdm/data/ > XDG_RUNTIME_DIR=/run/user/1000 > XDG_SEAT=seat0 > XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 > XDG_SESSION_DESKTOP=mate > XDG_SESSION_ID=2 > XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 > XDG_SESSION_TYPE=x11 > XDG_VTNR=7 > ZSH=/.oh-my-zsh > _=/usr/bin/gambas3 > -- Beno?t Minisini From moviga at ...3488... Thu Oct 6 18:12:17 2016 From: moviga at ...3488... (Moviga Technologies) Date: Thu, 6 Oct 2016 18:12:17 +0200 Subject: [Gambas-user] Displaying a pdf file to the user In-Reply-To: <1240951389.333419.1475673994134@...3424...> References: <1240951389.333419.1475673994134.ref@...3424...> <1240951389.333419.1475673994134@...3424...> Message-ID: Yes, very. Use the gb.pdf component. Dim hPDF As New PdfDocument hPDF.Open("path") PictureBox1.Picture = hPDF[1].Image.Picture Den 05. okt. 2016 15:26, skrev Jose Monteiro: > I know how to call an external viewer. Is it simple to show a one page pdf file inside a Gambas3 control? > RegardsJos? Monteiro > ------------------------------------------------------------------------------ > 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 moviga at ...3488... Fri Oct 7 15:38:14 2016 From: moviga at ...3488... (Moviga Technologies) Date: Fri, 7 Oct 2016 15:38:14 +0200 Subject: [Gambas-user] gb.report2 documentation Message-ID: Hello (Fabien)! The documentation of the report component is quite lacking, and the example on the farm is not all too helpful as it uses quite few of the available bells and whistles. Is it possible you could complete the documentation? From moviga at ...3488... Fri Oct 7 15:41:51 2016 From: moviga at ...3488... (Moviga Technologies) Date: Fri, 7 Oct 2016 15:41:51 +0200 Subject: [Gambas-user] gb.report2 documentation In-Reply-To: References: Message-ID: For example, how can I set the different components' values on Report1 from FMain? From moviga at ...3488... Fri Oct 7 15:46:44 2016 From: moviga at ...3488... (Moviga Technologies) Date: Fri, 7 Oct 2016 15:46:44 +0200 Subject: [Gambas-user] gb.report2 documentation In-Reply-To: References: Message-ID: OK, sorry - there were actually two examples on the farm :) The last one was more useful! From bugtracker at ...3416... Sat Oct 8 11:32:11 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 08 Oct 2016 09:32:11 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1017: Let formatting fix faulty capitalising Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1017&from=L21haW4- Moviga TECHNOLOGIES reported a new bug. Summary ------- Let formatting fix faulty capitalising Type : Request Priority : Medium Gambas version : 3.9.90 (TRUNK) Product : Development Environment Description ----------- When a variable has been declared Public iValue as Integer and somewhere, by mistake, ivalue was typed, it would be nice if the formatter/prettyfier/beautifier also took care of the faulty capitalising and fixed it to be as declared. From bugtracker at ...3416... Sat Oct 8 13:55:12 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 08 Oct 2016 11:55:12 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1008: Library window crashes IDE because of double libs In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1008&from=L21haW4- Comment #1 by Beno?t MINISINI: Sorry, I can't reproduce the bug. If a library is installed in both locations, then the global one (located in '/usr/lib/gambas3') is ignored. Can you run the IDE source project from the IDE, and make the same test, so that you get the exact line of code in the IDE that triggers the error? Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Sat Oct 8 13:58:20 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 08 Oct 2016 11:58:20 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1010: Custom runtime libraries not found In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1010&from=L21haW4- Comment #1 by Beno?t MINISINI: What was your Gambas version before the update? Since gambas 3.9.0, libraries are now installed locally when you make an executable from their project. (They can be installed globally by a package made from their project). Can you try to make those executables, and check that then you see them when you click on the "Select a library" button? Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Sat Oct 8 14:01:54 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 08 Oct 2016 12:01:54 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1012: Button goes to right up corner In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1012&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From demosthenesk at ...626... Sat Oct 8 14:08:55 2016 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Sat, 8 Oct 2016 15:08:55 +0300 Subject: [Gambas-user] App idle with long loops Message-ID: <0f77ae62-17a0-73e7-de10-33a876f2a142@...626...> Hello, i have very long (time consuming) For loops and my app is frozen until loop is finished. for example i wget urls with a custom Sub which Shell("wgetURLS.sh") To sOUTPUT 'get urls For i = 0 To iDepth wgetURLS(i * 10) Next Public Sub wgetURLS(iStart As Integer) ..... Shell("wgetURLS.sh") To sOUTPUT ..... -------------- Is there possible to set the gui idle and the same time run For...loops? From bugtracker at ...3416... Sat Oct 8 14:09:33 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 08 Oct 2016 12:09:33 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1016: Packing for ubuntu and debian problem whit some characters in program description. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1016&from=L21haW4- Comment #1 by Beno?t MINISINI: Normally newlines are already automatically handled. Please post a project having the problem you describe. Beno?t MINISINI changed the state of the bug to: NeedsInfo. From gambas at ...1... Sat Oct 8 14:11:36 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 8 Oct 2016 14:11:36 +0200 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1013: gb.db.odbc new GetRecordCount mechanism seem not work with firebird database In-Reply-To: <228555af-880c-4bec-9eac-e624f92d7964@...3493...> References: <228555af-880c-4bec-9eac-e624f92d7964@...3493...> Message-ID: <2a7b73f0-68ae-b238-f605-e50c65652179@...1...> Le 25/09/2016 ? 23:14, d4t4full at ...626... a ?crit : > Christian, > > Hi. I made the GetRecordCount() function. > > Can you please be more specific as why it does not work for you? I do not have an FB DB to test, so if you could please be clear as how it fails I'll appreciate it. > > Thank you, > zxMarce. You should have answered directly in the bugtracker. I copy your mail in it. Regards, -- Beno?t Minisini From bugtracker at ...3416... Sat Oct 8 14:12:01 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 08 Oct 2016 12:12:01 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1013: gb.db.odbc new GetRecordCount mechanism seem not work with firebird database In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1013&from=L21haW4- Comment #2 by Beno?t MINISINI: >From zxMarce: Christian, Hi. I made the GetRecordCount() function. Can you please be more specific as why it does not work for you? I do not have an FB DB to test, so if you could please be clear as how it fails I'll appreciate it. Thank you, zxMarce. Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Sat Oct 8 14:16:43 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 08 Oct 2016 12:16:43 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1014: org.freedesktop.DBus.Properties Method:GetALL not implemented? In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1014&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Sat Oct 8 14:20:33 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 08 Oct 2016 12:20:33 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1014: org.freedesktop.DBus.Properties Method:GetALL not implemented? In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1014&from=L21haW4- Comment #1 by Beno?t MINISINI: It should be a bug in the gb.dbus component. Can you send your project so that I can see what happens exactly? Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Sat Oct 8 14:26:07 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 08 Oct 2016 12:26:07 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #996: F2 does not work on classes followed by () In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.996&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Sat Oct 8 14:34:43 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 08 Oct 2016 12:34:43 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #940: Running IDE with a filename locks the file In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.940&from=L21haW4- Comment #10 by Beno?t MINISINI: I finally just added the "If IsFake() Then Return" line in Gambas 3.9, to allow files located in a linked directory to be modified only when opened alone. When these files are opened from a project, they keep being locked. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Sat Oct 8 14:36:53 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 08 Oct 2016 12:36:53 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #940: Running IDE with a filename locks the file In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.940&from=L21haW4- Comment #11 by Beno?t MINISINI: Fixed in revision #7926. From bugtracker at ...3416... Sat Oct 8 14:37:31 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 08 Oct 2016 12:37:31 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1007: gambas from 3.9.0 to last svn crash on ubuntu 16.04 vm In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1007&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Sat Oct 8 14:40:12 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 08 Oct 2016 12:40:12 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #854: IDE Crash when "Double Click" the Publish button on Publis Software Dialog In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.854&from=L21haW4- Comment #14 by Beno?t MINISINI: Do you still have the bug with a more recent version of QT? From bugtracker at ...3416... Sat Oct 8 14:48:53 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 08 Oct 2016 12:48:53 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1012: Button goes to right up corner In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1012&from=L21haW4- Comment #3 by Beno?t MINISINI: I see no bug here. The main form arrangement is set to "Column", and so the button is moved according to it. Beno?t MINISINI changed the state of the bug to: Rejected. From taboege at ...626... Sat Oct 8 18:09:34 2016 From: taboege at ...626... (Tobias Boege) Date: Sat, 8 Oct 2016 18:09:34 +0200 Subject: [Gambas-user] App idle with long loops In-Reply-To: <0f77ae62-17a0-73e7-de10-33a876f2a142@...626...> References: <0f77ae62-17a0-73e7-de10-33a876f2a142@...626...> Message-ID: <20161008160934.GA714@...3600...> On Sat, 08 Oct 2016, Demosthenes Koptsis wrote: > Hello, > > i have very long (time consuming) For loops and my app is frozen until > loop is finished. > > for example i wget urls with a custom Sub which Shell("wgetURLS.sh") To > sOUTPUT > > 'get urls > For i = 0 To iDepth > wgetURLS(i * 10) > Next > > Public Sub wgetURLS(iStart As Integer) > ..... > > Shell("wgetURLS.sh") To sOUTPUT > > ..... > > -------------- > > Is there possible to set the gui idle and the same time run For...loops? > If you only want to refresh the GUI (e.g. if your For loops update a ProgressBar on your form and you want to update the value of that bar during the loop), then Wait [1] is sufficient. If you want the GUI to be fully operatable while your loops run in the background, you have to use a background Task [2]. As Gambas is single- threaded, Tasks are implemented as external processes which execute one of your classes. This limits the things you can do with Tasks (you cannot directly modify the main program, for example, but have to send data and status reports through a pipe from your Task to the main process and interpret them there). However, if all you want is loading some files via wget, that should not be a problem. Of course, there is also the gb.net.curl component which can download files asynchronously. If you can use that (which depends on what you want to do), you should. And as a fourth option, looking further into your code: if you want to execute shell scripts in a For loop, then don't use the Shell-To syntax but create a Process object instead and accumulate its output in Read events. The event loop will take care of everything and the GUI will be usable without any extra effort on your side. Finding the best solution depends, who would have thought, on what you want to do *specifically*. Tasks are the most general and most cumbersome option. Regards, Tobi [1] http://gambaswiki.org/wiki/lang/wait [2] http://gambaswiki.org/wiki/comp/gb/task -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From demosthenesk at ...626... Sat Oct 8 23:54:58 2016 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Sun, 9 Oct 2016 00:54:58 +0300 Subject: [Gambas-user] App idle with long loops In-Reply-To: <20161008160934.GA714@...3600...> References: <0f77ae62-17a0-73e7-de10-33a876f2a142@...626...> <20161008160934.GA714@...3600...> Message-ID: On 8/10/2016 19:09 ??, Tobias Boege wrote: > On Sat, 08 Oct 2016, Demosthenes Koptsis wrote: >> Hello, >> >> i have very long (time consuming) For loops and my app is frozen until >> loop is finished. >> >> for example i wget urls with a custom Sub which Shell("wgetURLS.sh") To >> sOUTPUT >> >> 'get urls >> For i = 0 To iDepth >> wgetURLS(i * 10) >> Next >> >> Public Sub wgetURLS(iStart As Integer) >> ..... >> >> Shell("wgetURLS.sh") To sOUTPUT >> >> ..... >> >> -------------- >> >> Is there possible to set the gui idle and the same time run For...loops? >> > If you only want to refresh the GUI (e.g. if your For loops update a > ProgressBar on your form and you want to update the value of that bar > during the loop), then Wait [1] is sufficient. > > If you want the GUI to be fully operatable while your loops run in the > background, you have to use a background Task [2]. As Gambas is single- > threaded, Tasks are implemented as external processes which execute one > of your classes. This limits the things you can do with Tasks (you cannot > directly modify the main program, for example, but have to send data and > status reports through a pipe from your Task to the main process and > interpret them there). However, if all you want is loading some files via > wget, that should not be a problem. > > Of course, there is also the gb.net.curl component which can download files > asynchronously. If you can use that (which depends on what you want to do), > you should. > > And as a fourth option, looking further into your code: if you want to > execute shell scripts in a For loop, then don't use the Shell-To syntax > but create a Process object instead and accumulate its output in Read > events. The event loop will take care of everything and the GUI will be > usable without any extra effort on your side. > > Finding the best solution depends, who would have thought, on what you want > to do *specifically*. Tasks are the most general and most cumbersome option. > > Regards, > Tobi > > [1] http://gambaswiki.org/wiki/lang/wait > [2] http://gambaswiki.org/wiki/comp/gb/task > Thanks very much for the details. Regards, Dim From bugtracker at ...3416... Sun Oct 9 00:08:55 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 08 Oct 2016 22:08:55 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #854: IDE Crash when "Double Click" the Publish button on Publis Software Dialog In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.854&from=L21haW4- Comment #15 by Zainudin AHMAD: Yes, with QT4=libQtCore.so.4.8.7. this happen only with QT4 it's fine with QT5 [System] Gambas=3.9 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] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-qzf2vnQDIE,guid=a1431601947ca2802b11a85057f96bd9 DEFAULTS_PATH=/usr/share/gconf/lxqt.default.path DESKTOP_SESSION=lxqt DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=lxqt GDM_LANG=en_US GTK_CSD=0 HOME= LANG=en_US.UTF-8 LANGUAGE=en_US 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 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD= QT_IM_MODULE=compose QT_PLATFORM_PLUGIN=lxqt QT_QPA_PLATFORMTHEME=lxqt SAL_USE_VCLPLUGIN=kde4 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=2274 SSH_AUTH_SOCK=/tmp/ssh-zrSYMyPEhtEW/agent.2227 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... Sun Oct 9 00:09:21 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 08 Oct 2016 22:09:21 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #854: IDE Crash when "Double Click" the Publish button on Publis Software Dialog In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.854&from=L21haW4- Zainudin AHMAD changed the state of the bug to: Opened. From bugtracker at ...3416... Sun Oct 9 00:13:02 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 08 Oct 2016 22:13:02 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #808: [gtk3] Form/window can resize without any code for resize in source code In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.808&from=L21haW4- Comment #5 by Zainudin AHMAD: Possible Upstream issues. it's fine in lubuntu 16.04 From bugtracker at ...3416... Sun Oct 9 00:26:16 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 08 Oct 2016 22:26:16 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #781: gtk+/gtk3 different with qt4, position y = 0 qt4 window is not at bottom panel In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.781&from=L21haW4- Comment #5 by Zainudin AHMAD: I am still get this issue in lubuntu 16.04 with gambas 3.90. this happen with QT4 and QT5. From bugtracker at ...3416... Sun Oct 9 00:41:47 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 08 Oct 2016 22:41:47 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #779: me.top = 0 , can't work ( in event _new() ) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.779&from=L21haW4- Comment #5 by Zainudin AHMAD: temporary solution, just set with -1 value. example : move(-1,-1) or me.top=-1 me.left=-1 Resolve :) From mclennan at ...3614... Sun Oct 9 01:23:17 2016 From: mclennan at ...3614... (Piper984) Date: Sat, 8 Oct 2016 16:23:17 -0700 (MST) Subject: [Gambas-user] MediaPlayer bug with AboutToFinish and URL? Message-ID: <1475968997565-57513.post@...3046...> Hi:I have been playing with the Gambas MediaPlayer and the related Gambas wrappers of GStreamer libs recently hoping that I can find enough functionality in the gb.media libraries to be able to construct my and not have to ever go back to doing my GUIs in C.I have used the Playbin plugin in the past w/ PyGST and also C. When the video is about done playing an event can fire that lets the hosting application set the URL property to a new video should the app want to play another video at the end of the current video.I am seeing two weird *bugs* w/ the Gambas MediaPlayer. I looked at the C code herehttps://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/gb.media/src/c_mediaplayer.cand see that for the most part the MediaPlayer is a very slick wrapper of the Playbin element. So hopefully the issue will be easy to find / correct for someone with some deeper background of the gb.media library.The issues:#1) Even though the "AboutToFinish" event fires successfully, setting the URL makes no effect here, and the "END" event will then fire at the end of the current video. The 'Video_Changed' event does not fire. If after starting starting a video, I manually change the .URL property (from a button click event) then at the end of the first video I will get a 'Video_Changed' event and the second video will start. #2) When I am able to get the MediaPlayer to set the .URL property to the second value, and the video does start to play at the end of the first video, the audio plays but the video does not update until I invoke the .Pause() method and even then it's just displays that frame and when I invoke .Play() after .Pause() the video does not continue but the audio does. Codec issue?I am using Ubuntu 14.04, Gambas 3.9.0. GStreamer 1.2.4 (kinda old, but playbin works as I'd expect under Python and C).Here is some of the code:' Gambas class filePublic objMedia1 As New MediaPlayer As "MP1"Public Sub Button1_Click() objMedia1.URL = "file:///home/chris/Desktop/big-buck-bunny_trailer.webm" objMedia1.SetWindow(DrawingArea1, DrawingArea1.X, DrawingArea1.Y, DrawingArea1.Width, DrawingArea1.Height) objMedia1.Play()EndPublic Sub btnNewURL_Click() ' invoking this 10-15 seconds into the video clip seems to have the desired effect. objMedia1.URL = "file:///home/chris/Desktop/sintel_trailer-480p.webm"End Public Sub MP1_End() Print "Video Ended."EndPublic Sub MP1_AboutToFinish() ' this doesn't have any effect. objMedia1.URL = "file:///home/chris/Desktop/sintel_trailer-480p.webm"EndPublic Sub MP1_VideoChanged()' This only fires when @ the end of the first video when I've manually set the URL property from a button click. If I set' the URL property from the _AboutToFinish() event Sub then nothing happens (other then _END firing when video #1 has completed). Print "Video Changed."EndHopefully that's semi-clear. I hope this is something that can be easily reproduced and fixed! I really enjoy how productive I can be w/ Gambas and now that I've gotten used to doing GUIs and semi-complex application business logic with Gambas I really don't ever want to have to do those in C again. :)Thanks!Piper -- View this message in context: http://gambas.8142.n7.nabble.com/MediaPlayer-bug-with-AboutToFinish-and-URL-tp57513.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Sun Oct 9 02:53:17 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 9 Oct 2016 02:53:17 +0200 Subject: [Gambas-user] MediaPlayer bug with AboutToFinish and URL? In-Reply-To: <1475968997565-57513.post@...3046...> References: <1475968997565-57513.post@...3046...> Message-ID: Le 09/10/2016 ? 01:23, Piper984 a ?crit : > Hi:I have been playing with the Gambas MediaPlayer and the related Gambas > wrappers of GStreamer libs recently hoping that I can find enough > functionality in the gb.media libraries to be able to construct my and not > have to ever go back to doing my GUIs in C.I have used the Playbin plugin in > the past w/ PyGST and also C. When the video is about done playing an event > can fire that lets the hosting application set the URL property to a new > video should the app want to play another video at the end of the current > video.I am seeing two weird *bugs* w/ the Gambas MediaPlayer. I looked at > the C code > herehttps://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/gb.media/src/c_mediaplayer.cand > see that for the most part the MediaPlayer is a very slick wrapper of the > Playbin element. So hopefully the issue will be easy to find / correct for > someone with some deeper background of the gb.media library.The issues:#1) > Even though the "AboutToFinish" event fires successfully, setting the URL > makes no effect here, and the "END" event will then fire at the end of the > current video. The 'Video_Changed' event does not fire. If after starting > starting a video, I manually change the .URL property (from a button click > event) then at the end of the first video I will get a 'Video_Changed' event > and the second video will start. #2) When I am able to get the MediaPlayer > to set the .URL property to the second value, and the video does start to > play at the end of the first video, the audio plays but the video does not > update until I invoke the .Pause() method and even then it's just displays > that frame and when I invoke .Play() after .Pause() the video does not > continue but the audio does. Codec issue?I am using Ubuntu 14.04, Gambas > 3.9.0. GStreamer 1.2.4 (kinda old, but playbin works as I'd expect under > Python and C).Here is some of the code:' Gambas class filePublic objMedia1 > As New MediaPlayer As "MP1"Public Sub Button1_Click() objMedia1.URL = > "file:///home/chris/Desktop/big-buck-bunny_trailer.webm" > objMedia1.SetWindow(DrawingArea1, DrawingArea1.X, DrawingArea1.Y, > DrawingArea1.Width, DrawingArea1.Height) objMedia1.Play()EndPublic Sub > btnNewURL_Click() ' invoking this 10-15 seconds into the video clip seems > to have the desired effect. objMedia1.URL = > "file:///home/chris/Desktop/sintel_trailer-480p.webm"End Public Sub > MP1_End() Print "Video Ended."EndPublic Sub MP1_AboutToFinish() ' this > doesn't have any effect. objMedia1.URL = > "file:///home/chris/Desktop/sintel_trailer-480p.webm"EndPublic Sub > MP1_VideoChanged()' This only fires when @ the end of the first video when > I've manually set the URL property from a button click. If I set' the URL > property from the _AboutToFinish() event Sub then nothing happens (other > then _END firing when video #1 has completed). Print "Video > Changed."EndHopefully that's semi-clear. I hope this is something that can > be easily reproduced and fixed! I really enjoy how productive I can be w/ > Gambas and now that I've gotten used to doing GUIs and semi-complex > application business logic with Gambas I really don't ever want to have to > do those in C again. :)Thanks!Piper > Do you have a more readable version of your mail? -- Beno?t Minisini From gambas at ...1... Sun Oct 9 02:54:21 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 9 Oct 2016 02:54:21 +0200 Subject: [Gambas-user] MediaPlayer bug with AboutToFinish and URL? In-Reply-To: References: <1475968997565-57513.post@...3046...> Message-ID: <03a45263-9c92-d64c-625e-2f995811b52a@...1...> Le 09/10/2016 ? 02:53, Beno?t Minisini a ?crit : > Le 09/10/2016 ? 01:23, Piper984 a ?crit : >> Hi:I have been playing with the Gambas MediaPlayer and the related Gambas >> wrappers of GStreamer libs recently hoping that I can find enough >> functionality in the gb.media libraries to be able to construct my and >> not >> have to ever go back to doing my GUIs in C.I have used the Playbin >> plugin in >> the past w/ PyGST and also C. When the video is about done playing an >> event >> can fire that lets the hosting application set the URL property to a new >> video should the app want to play another video at the end of the current >> video.I am seeing two weird *bugs* w/ the Gambas MediaPlayer. I >> looked at >> the C code >> herehttps://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/gb.media/src/c_mediaplayer.cand >> >> see that for the most part the MediaPlayer is a very slick wrapper of the >> Playbin element. So hopefully the issue will be easy to find / >> correct for >> someone with some deeper background of the gb.media library.The >> issues:#1) >> Even though the "AboutToFinish" event fires successfully, setting the URL >> makes no effect here, and the "END" event will then fire at the end of >> the >> current video. The 'Video_Changed' event does not fire. If after >> starting >> starting a video, I manually change the .URL property (from a button >> click >> event) then at the end of the first video I will get a 'Video_Changed' >> event >> and the second video will start. #2) When I am able to get the >> MediaPlayer >> to set the .URL property to the second value, and the video does start to >> play at the end of the first video, the audio plays but the video does >> not >> update until I invoke the .Pause() method and even then it's just >> displays >> that frame and when I invoke .Play() after .Pause() the video does not >> continue but the audio does. Codec issue?I am using Ubuntu 14.04, Gambas >> 3.9.0. GStreamer 1.2.4 (kinda old, but playbin works as I'd expect under >> Python and C).Here is some of the code:' Gambas class filePublic >> objMedia1 >> As New MediaPlayer As "MP1"Public Sub Button1_Click() objMedia1.URL = >> "file:///home/chris/Desktop/big-buck-bunny_trailer.webm" >> objMedia1.SetWindow(DrawingArea1, DrawingArea1.X, DrawingArea1.Y, >> DrawingArea1.Width, DrawingArea1.Height) objMedia1.Play()EndPublic Sub >> btnNewURL_Click() ' invoking this 10-15 seconds into the video clip >> seems >> to have the desired effect. objMedia1.URL = >> "file:///home/chris/Desktop/sintel_trailer-480p.webm"End Public Sub >> MP1_End() Print "Video Ended."EndPublic Sub MP1_AboutToFinish() ' this >> doesn't have any effect. objMedia1.URL = >> "file:///home/chris/Desktop/sintel_trailer-480p.webm"EndPublic Sub >> MP1_VideoChanged()' This only fires when @ the end of the first video >> when >> I've manually set the URL property from a button click. If I set' the >> URL >> property from the _AboutToFinish() event Sub then nothing happens (other >> then _END firing when video #1 has completed). Print "Video >> Changed."EndHopefully that's semi-clear. I hope this is something that >> can >> be easily reproduced and fixed! I really enjoy how productive I can >> be w/ >> Gambas and now that I've gotten used to doing GUIs and semi-complex >> application business logic with Gambas I really don't ever want to >> have to >> do those in C again. :)Thanks!Piper >> > > Do you have a more readable version of your mail? > And can you post your project too? Or at least the media player part. -- Beno?t Minisini From mclennan at ...3614... Sun Oct 9 01:34:10 2016 From: mclennan at ...3614... (Piper984) Date: Sat, 8 Oct 2016 16:34:10 -0700 (MST) Subject: [Gambas-user] MediaPlayer bug with AboutToFinish and URL? In-Reply-To: References: <1475968997565-57513.post@...3046...> Message-ID: <1475969650670-57516.post@...3046...> Hi Beno?t: Posting again without 'html' boxed clicked. Whoops. I have been playing with the Gambas MediaPlayer and the related Gambas wrappers of GStreamer libs recently hoping that I can find enough functionality in the gb.media libraries to be able to construct my app and not have to ever go back to doing my GUIs in C. I have used the Playbin plugin in the past w/ PyGST and also C. When the video is about done playing an event can fire that lets the hosting application set the URL property to a new video should the app want to play another video at the end of the current video. I am seeing two weird *bugs* w/ the Gambas MediaPlayer. I looked at the C code here https://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/gb.media/src/c_mediaplayer.c and see that for the most part the MediaPlayer is a very slick wrapper of the Playbin element. So hopefully the issue will be easy to find / correct for someone with some deeper background of the gb.media library. The issues: #1) Even though the "AboutToFinish" event fires successfully, setting the URL makes no effect here, and the "END" event will then fire at the end of the current video. The 'Video_Changed' event does not fire. If after starting starting a video, I manually change the .URL property (from a button click event) then at the end of the first video I will get a 'Video_Changed' event and the second video will start. #2) When I am able to get the MediaPlayer to set the .URL property to the second value, and the video does start to play at the end of the first video, the audio plays but the video does not update until I invoke the .Pause() method and even then it's just displays that frame and when I invoke .Play() after .Pause() the video does not continue but the audio does. Codec issue? I am using Ubuntu 14.04, Gambas 3.9.0. GStreamer 1.2.4 (kinda old, but playbin works as I'd expect under Python and C). Here is some of the code: ' Gambas class file Public objMedia1 As New MediaPlayer As "MP1" Public Sub Button1_Click() objMedia1.URL = "file:///home/chris/Desktop/big-buck-bunny_trailer.webm" objMedia1.SetWindow(DrawingArea1, DrawingArea1.X, DrawingArea1.Y, DrawingArea1.Width, DrawingArea1.Height) objMedia1.Play() End Public Sub btnNewURL_Click() ' invoking this 10-15 seconds into the video clip seems to have the desired effect. objMedia1.URL = "file:///home/chris/Desktop/sintel_trailer-480p.webm" End Public Sub MP1_End() Print "Video Ended." End Public Sub MP1_AboutToFinish() ' this doesn't have any effect. objMedia1.URL = "file:///home/chris/Desktop/sintel_trailer-480p.webm" End Public Sub MP1_VideoChanged() ' This only fires when @ the end of the first video when I've manually set the URL property from a button click. If I set ' the URL property from the _AboutToFinish() event Sub then nothing happens (other then _END firing when video #1 has completed). Print "Video Changed." End Hopefully that's semi-clear. I hope this is something that can be easily reproduced and fixed! I really enjoy how productive I can be w/ Gambas and now that I've gotten used to doing GUIs and semi-complex application business logic with Gambas I really don't ever want to have to do those in C again. :) Thanks! Piper -- View this message in context: http://gambas.8142.n7.nabble.com/MediaPlayer-bug-with-AboutToFinish-and-URL-tp57513p57516.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Sun Oct 9 03:28:44 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 9 Oct 2016 03:28:44 +0200 Subject: [Gambas-user] MediaPlayer bug with AboutToFinish and URL? In-Reply-To: <1475969650670-57516.post@...3046...> References: <1475968997565-57513.post@...3046...> <1475969650670-57516.post@...3046...> Message-ID: Le 09/10/2016 ? 01:34, Piper984 a ?crit : > Hi Beno?t: Posting again without 'html' boxed clicked. Whoops. > > > I have been playing with the Gambas MediaPlayer and the related Gambas > wrappers of GStreamer libs recently hoping that I can find enough > functionality in the gb.media libraries to be able to construct my app and > not have to ever go back to doing my GUIs in C. > > I have used the Playbin plugin in the past w/ PyGST and also C. When the > video is about done playing an event can fire that lets the hosting > application set the URL property to a new video should the app want to play > another video at the end of the current video. > > I am seeing two weird *bugs* w/ the Gambas MediaPlayer. I looked at the C > code here > https://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/gb.media/src/c_mediaplayer.c > and see that for the most part the MediaPlayer is a very slick wrapper of > the Playbin element. So hopefully the issue will be easy to find / correct > for someone with some deeper background of the gb.media library. On the contrary, as gb.media is just a thin wrapper, the bug will be hard to fix, if it can be fixed! As for the AboutToFinish event, the corresponding glib signal is not raised in the main thread. So, as Gambas is single-threaded, the signal is postponed to the main thread to be raised as a Gambas event. As far as I know, this is the only logic difference with a program written in C! > > The issues: > > #1) Even though the "AboutToFinish" event fires successfully, setting the > URL makes no effect here, and the "END" event will then fire at the end of > the current video. The 'Video_Changed' event does not fire. If after > starting starting a video, I manually change the .URL property (from a > button click event) then at the end of the first video I will get a > 'Video_Changed' event and the second video will start. I have done a simple test on my system: setting the URL during AboutToFinish... completely freezes the process. I will try to know what happens. > > #2) When I am able to get the MediaPlayer to set the .URL property to the > second value, and the video does start to play at the end of the first > video, the audio plays but the video does not update until I invoke the > .Pause() method and even then it's just displays that frame and when I > invoke .Play() after .Pause() the video does not continue but the audio > does. Codec issue? Maybe. GStreamer is a very sensitive animal. -- Beno?t Minisini From mclennan at ...3614... Sun Oct 9 02:20:54 2016 From: mclennan at ...3614... (Piper984) Date: Sat, 8 Oct 2016 17:20:54 -0700 (MST) Subject: [Gambas-user] MediaPlayer bug with AboutToFinish and URL? In-Reply-To: References: <1475968997565-57513.post@...3046...> <1475969650670-57516.post@...3046...> Message-ID: <1475972454172-57518.post@...3046...> Cool, thanks for looking into it. I have stubbed out the code into a small project here: http://www.pitchpipetuner.com/gambas/prjVideoTest02.zip It's about 12 megs. Also in the zip file are the two video files for testing. Sounds like you already have a testing app going though. Re: GStreamer: Yeah, it's a beast. It's always an insane amount of work to get that last 20% of functionality working in any app. Thanks! -- View this message in context: http://gambas.8142.n7.nabble.com/MediaPlayer-bug-with-AboutToFinish-and-URL-tp57513p57518.html Sent from the gambas-user mailing list archive at Nabble.com. From shordi at ...626... Sun Oct 9 12:56:39 2016 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Sun, 9 Oct 2016 12:56:39 +0200 Subject: [Gambas-user] App idle with long loops In-Reply-To: References: <0f77ae62-17a0-73e7-de10-33a876f2a142@...626...> <20161008160934.GA714@...3600...> Message-ID: Is there any example of task fork use? I have a proyect who sending massive e-mails to our customers and I guess that task can be a good solution... Regards 2016-10-08 23:54 GMT+02:00 Demosthenes Koptsis : > On 8/10/2016 19:09 ??, Tobias Boege wrote: > > On Sat, 08 Oct 2016, Demosthenes Koptsis wrote: > >> Hello, > >> > >> i have very long (time consuming) For loops and my app is frozen until > >> loop is finished. > >> > >> for example i wget urls with a custom Sub which Shell("wgetURLS.sh") To > >> sOUTPUT > >> > >> 'get urls > >> For i = 0 To iDepth > >> wgetURLS(i * 10) > >> Next > >> > >> Public Sub wgetURLS(iStart As Integer) > >> ..... > >> > >> Shell("wgetURLS.sh") To sOUTPUT > >> > >> ..... > >> > >> -------------- > >> > >> Is there possible to set the gui idle and the same time run For...loops? > >> > > If you only want to refresh the GUI (e.g. if your For loops update a > > ProgressBar on your form and you want to update the value of that bar > > during the loop), then Wait [1] is sufficient. > > > > If you want the GUI to be fully operatable while your loops run in the > > background, you have to use a background Task [2]. As Gambas is single- > > threaded, Tasks are implemented as external processes which execute one > > of your classes. This limits the things you can do with Tasks (you cannot > > directly modify the main program, for example, but have to send data and > > status reports through a pipe from your Task to the main process and > > interpret them there). However, if all you want is loading some files via > > wget, that should not be a problem. > > > > Of course, there is also the gb.net.curl component which can download > files > > asynchronously. If you can use that (which depends on what you want to > do), > > you should. > > > > And as a fourth option, looking further into your code: if you want to > > execute shell scripts in a For loop, then don't use the Shell-To syntax > > but create a Process object instead and accumulate its output in Read > > events. The event loop will take care of everything and the GUI will be > > usable without any extra effort on your side. > > > > Finding the best solution depends, who would have thought, on what you > want > > to do *specifically*. Tasks are the most general and most cumbersome > option. > > > > Regards, > > Tobi > > > > [1] http://gambaswiki.org/wiki/lang/wait > > [2] http://gambaswiki.org/wiki/comp/gb/task > > > Thanks very much for the details. > > Regards, > > Dim > > > ------------------------------------------------------------ > ------------------ > 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 Karl.Reinl at ...2345... Sun Oct 9 14:36:52 2016 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 09 Oct 2016 14:36:52 +0200 Subject: [Gambas-user] App idle with long loops In-Reply-To: References: <0f77ae62-17a0-73e7-de10-33a876f2a142@...626...> <20161008160934.GA714@...3600...> Message-ID: <1476016612.5508.2.camel@...3609...> Am Sonntag, den 09.10.2016, 12:56 +0200 schrieb Jorge Carri?n: > Is there any example of task fork use? I have a proyect who sending massive > e-mails to our customers and I guess that task can be a good solution... > > Regards > > 2016-10-08 23:54 GMT+02:00 Demosthenes Koptsis : > > > On 8/10/2016 19:09 ??, Tobias Boege wrote: > > > On Sat, 08 Oct 2016, Demosthenes Koptsis wrote: > > >> Hello, > > >> > > >> i have very long (time consuming) For loops and my app is frozen until > > >> loop is finished. > > >> > > >> for example i wget urls with a custom Sub which Shell("wgetURLS.sh") To > > >> sOUTPUT > > >> > > >> 'get urls > > >> For i = 0 To iDepth > > >> wgetURLS(i * 10) > > >> Next > > >> > > >> Public Sub wgetURLS(iStart As Integer) > > >> ..... > > >> > > >> Shell("wgetURLS.sh") To sOUTPUT > > >> > > >> ..... > > >> > > >> -------------- > > >> > > >> Is there possible to set the gui idle and the same time run For...loops? > > >> > > > If you only want to refresh the GUI (e.g. if your For loops update a > > > ProgressBar on your form and you want to update the value of that bar > > > during the loop), then Wait [1] is sufficient. > > > > > > If you want the GUI to be fully operatable while your loops run in the > > > background, you have to use a background Task [2]. As Gambas is single- > > > threaded, Tasks are implemented as external processes which execute one > > > of your classes. This limits the things you can do with Tasks (you cannot > > > directly modify the main program, for example, but have to send data and > > > status reports through a pipe from your Task to the main process and > > > interpret them there). However, if all you want is loading some files via > > > wget, that should not be a problem. > > > > > > Of course, there is also the gb.net.curl component which can download > > files > > > asynchronously. If you can use that (which depends on what you want to > > do), > > > you should. > > > > > > And as a fourth option, looking further into your code: if you want to > > > execute shell scripts in a For loop, then don't use the Shell-To syntax > > > but create a Process object instead and accumulate its output in Read > > > events. The event loop will take care of everything and the GUI will be > > > usable without any extra effort on your side. > > > > > > Finding the best solution depends, who would have thought, on what you > > want > > > to do *specifically*. Tasks are the most general and most cumbersome > > option. > > > > > > Regards, > > > Tobi > > > > > > [1] http://gambaswiki.org/wiki/lang/wait > > > [2] http://gambaswiki.org/wiki/comp/gb/task > > > > > Thanks very much for the details. > > > > Regards, > > > > Dim > > > > > > ------------------------------------------------------------ > > ------------------ > > 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 > Salut I once found this one : http://gambas.8142.n7.nabble.com/attachment/17635/0/TaskTest.zip It still exists, but don't remember if it worked. -- Amicalement Charlie From shordi at ...626... Sun Oct 9 15:19:49 2016 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Sun, 9 Oct 2016 15:19:49 +0200 Subject: [Gambas-user] App idle with long loops In-Reply-To: <1476016612.5508.2.camel@...3609...> References: <0f77ae62-17a0-73e7-de10-33a876f2a142@...626...> <20161008160934.GA714@...3600...> <1476016612.5508.2.camel@...3609...> Message-ID: It's an empty proyect, I'm afraid... Thanks for the trying. Regards 2016-10-09 14:36 GMT+02:00 Charlie Reinl : > Am Sonntag, den 09.10.2016, 12:56 +0200 schrieb Jorge Carri?n: > > Is there any example of task fork use? I have a proyect who sending > massive > > e-mails to our customers and I guess that task can be a good solution... > > > > Regards > > > > 2016-10-08 23:54 GMT+02:00 Demosthenes Koptsis : > > > > > On 8/10/2016 19:09 ??, Tobias Boege wrote: > > > > On Sat, 08 Oct 2016, Demosthenes Koptsis wrote: > > > >> Hello, > > > >> > > > >> i have very long (time consuming) For loops and my app is frozen > until > > > >> loop is finished. > > > >> > > > >> for example i wget urls with a custom Sub which > Shell("wgetURLS.sh") To > > > >> sOUTPUT > > > >> > > > >> 'get urls > > > >> For i = 0 To iDepth > > > >> wgetURLS(i * 10) > > > >> Next > > > >> > > > >> Public Sub wgetURLS(iStart As Integer) > > > >> ..... > > > >> > > > >> Shell("wgetURLS.sh") To sOUTPUT > > > >> > > > >> ..... > > > >> > > > >> -------------- > > > >> > > > >> Is there possible to set the gui idle and the same time run > For...loops? > > > >> > > > > If you only want to refresh the GUI (e.g. if your For loops update a > > > > ProgressBar on your form and you want to update the value of that bar > > > > during the loop), then Wait [1] is sufficient. > > > > > > > > If you want the GUI to be fully operatable while your loops run in > the > > > > background, you have to use a background Task [2]. As Gambas is > single- > > > > threaded, Tasks are implemented as external processes which execute > one > > > > of your classes. This limits the things you can do with Tasks (you > cannot > > > > directly modify the main program, for example, but have to send data > and > > > > status reports through a pipe from your Task to the main process and > > > > interpret them there). However, if all you want is loading some > files via > > > > wget, that should not be a problem. > > > > > > > > Of course, there is also the gb.net.curl component which can download > > > files > > > > asynchronously. If you can use that (which depends on what you want > to > > > do), > > > > you should. > > > > > > > > And as a fourth option, looking further into your code: if you want > to > > > > execute shell scripts in a For loop, then don't use the Shell-To > syntax > > > > but create a Process object instead and accumulate its output in Read > > > > events. The event loop will take care of everything and the GUI will > be > > > > usable without any extra effort on your side. > > > > > > > > Finding the best solution depends, who would have thought, on what > you > > > want > > > > to do *specifically*. Tasks are the most general and most cumbersome > > > option. > > > > > > > > Regards, > > > > Tobi > > > > > > > > [1] http://gambaswiki.org/wiki/lang/wait > > > > [2] http://gambaswiki.org/wiki/comp/gb/task > > > > > > > Thanks very much for the details. > > > > > > Regards, > > > > > > Dim > > > > > > > > > ------------------------------------------------------------ > > > ------------------ > > > 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 > > > > Salut > > I once found this one : > http://gambas.8142.n7.nabble.com/attachment/17635/0/TaskTest.zip > > It still exists, but don't remember if it worked. > > > -- > 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 karl.reinl at ...9... Sun Oct 9 16:34:35 2016 From: karl.reinl at ...9... (Karl Reinl) Date: Sun, 09 Oct 2016 16:34:35 +0200 Subject: [Gambas-user] App idle with long loops In-Reply-To: References: <0f77ae62-17a0-73e7-de10-33a876f2a142@...626...> <20161008160934.GA714@...3600...> <1476016612.5508.2.camel@...3609...> Message-ID: <1476023675.5268.3.camel@...3609...> Am Sonntag, den 09.10.2016, 15:19 +0200 schrieb Jorge Carri?n: > It's an empty proyect, I'm afraid... > Thanks for the trying. > > Regards > > 2016-10-09 14:36 GMT+02:00 Charlie Reinl : > > > Am Sonntag, den 09.10.2016, 12:56 +0200 schrieb Jorge Carri?n: > > > Is there any example of task fork use? I have a proyect who sending > > massive > > > e-mails to our customers and I guess that task can be a good solution... > > > > > > Regards > > > > > > 2016-10-08 23:54 GMT+02:00 Demosthenes Koptsis : > > > > > > > On 8/10/2016 19:09 ??, Tobias Boege wrote: > > > > > On Sat, 08 Oct 2016, Demosthenes Koptsis wrote: > > > > >> Hello, > > > > >> > > > > >> i have very long (time consuming) For loops and my app is frozen > > until > > > > >> loop is finished. > > > > >> > > > > >> for example i wget urls with a custom Sub which > > Shell("wgetURLS.sh") To > > > > >> sOUTPUT > > > > >> > > > > >> 'get urls > > > > >> For i = 0 To iDepth > > > > >> wgetURLS(i * 10) > > > > >> Next > > > > >> > > > > >> Public Sub wgetURLS(iStart As Integer) > > > > >> ..... > > > > >> > > > > >> Shell("wgetURLS.sh") To sOUTPUT > > > > >> > > > > >> ..... > > > > >> > > > > >> -------------- > > > > >> > > > > >> Is there possible to set the gui idle and the same time run > > For...loops? > > > > >> > > > > > If you only want to refresh the GUI (e.g. if your For loops update a > > > > > ProgressBar on your form and you want to update the value of that bar > > > > > during the loop), then Wait [1] is sufficient. > > > > > > > > > > If you want the GUI to be fully operatable while your loops run in > > the > > > > > background, you have to use a background Task [2]. As Gambas is > > single- > > > > > threaded, Tasks are implemented as external processes which execute > > one > > > > > of your classes. This limits the things you can do with Tasks (you > > cannot > > > > > directly modify the main program, for example, but have to send data > > and > > > > > status reports through a pipe from your Task to the main process and > > > > > interpret them there). However, if all you want is loading some > > files via > > > > > wget, that should not be a problem. > > > > > > > > > > Of course, there is also the gb.net.curl component which can download > > > > files > > > > > asynchronously. If you can use that (which depends on what you want > > to > > > > do), > > > > > you should. > > > > > > > > > > And as a fourth option, looking further into your code: if you want > > to > > > > > execute shell scripts in a For loop, then don't use the Shell-To > > syntax > > > > > but create a Process object instead and accumulate its output in Read > > > > > events. The event loop will take care of everything and the GUI will > > be > > > > > usable without any extra effort on your side. > > > > > > > > > > Finding the best solution depends, who would have thought, on what > > you > > > > want > > > > > to do *specifically*. Tasks are the most general and most cumbersome > > > > option. > > > > > > > > > > Regards, > > > > > Tobi > > > > > > > > > > [1] http://gambaswiki.org/wiki/lang/wait > > > > > [2] http://gambaswiki.org/wiki/comp/gb/task > > > > > > > > > Thanks very much for the details. > > > > > > > > Regards, > > > > > > > > Dim > > > > > > > > > > > > ------------------------------------------------------------ > > > > ------------------ > > > > 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 > > > > > > > Salut > > > > I once found this one : > > http://gambas.8142.n7.nabble.com/attachment/17635/0/TaskTest.zip > > > > It still exists, but don't remember if it worked. > > > > > > -- > > Amicalement > > Charlie Salut Jorge, go to bottom of that page http://gambas.8142.n7.nabble.com/gb-task-any-example-td17634.html there is the non empty project. -- Amicalement Charlie From gambas.fr at ...626... Sun Oct 9 17:50:36 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 9 Oct 2016 17:50:36 +0200 Subject: [Gambas-user] App idle with long loops In-Reply-To: References: <0f77ae62-17a0-73e7-de10-33a876f2a142@...626...> <20161008160934.GA714@...3600...> Message-ID: 2016-10-08 23:54 GMT+02:00 Demosthenes Koptsis : > On 8/10/2016 19:09 ??, Tobias Boege wrote: >> On Sat, 08 Oct 2016, Demosthenes Koptsis wrote: >>> Hello, >>> >>> i have very long (time consuming) For loops and my app is frozen until >>> loop is finished. >>> >>> for example i wget urls with a custom Sub which Shell("wgetURLS.sh") To >>> sOUTPUT >>> >>> 'get urls >>> For i = 0 To iDepth >>> wgetURLS(i * 10) >>> Next >>> >>> Public Sub wgetURLS(iStart As Integer) >>> ..... >>> >>> Shell("wgetURLS.sh") To sOUTPUT >>> >>> ..... >>> >>> -------------- >>> >>> Is there possible to set the gui idle and the same time run For...loops? >>> >> If you only want to refresh the GUI (e.g. if your For loops update a >> ProgressBar on your form and you want to update the value of that bar >> during the loop), then Wait [1] is sufficient. >> >> If you want the GUI to be fully operatable while your loops run in the >> background, you have to use a background Task [2]. As Gambas is single- >> threaded, Tasks are implemented as external processes which execute one >> of your classes. This limits the things you can do with Tasks (you cannot >> directly modify the main program, for example, but have to send data and >> status reports through a pipe from your Task to the main process and >> interpret them there). However, if all you want is loading some files via >> wget, that should not be a problem. >> >> Of course, there is also the gb.net.curl component which can download files >> asynchronously. If you can use that (which depends on what you want to do), >> you should. >> >> And as a fourth option, looking further into your code: if you want to >> execute shell scripts in a For loop, then don't use the Shell-To syntax >> but create a Process object instead and accumulate its output in Read >> events. The event loop will take care of everything and the GUI will be >> usable without any extra effort on your side. >> >> Finding the best solution depends, who would have thought, on what you want >> to do *specifically*. Tasks are the most general and most cumbersome option. for my feel, i prefers using multiple process objects or if i use httpClient multiple client. There is an exemple of use in the gb.map source (tilemap) of multiple http server client >> >> Regards, >> Tobi >> >> [1] http://gambaswiki.org/wiki/lang/wait >> [2] http://gambaswiki.org/wiki/comp/gb/task >> > Thanks very much for the details. > > Regards, > > Dim > > > ------------------------------------------------------------------------------ > 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... Sun Oct 9 17:51:41 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 9 Oct 2016 17:51:41 +0200 Subject: [Gambas-user] App idle with long loops In-Reply-To: <1476023675.5268.3.camel@...3609...> References: <0f77ae62-17a0-73e7-de10-33a876f2a142@...626...> <20161008160934.GA714@...3600...> <1476016612.5508.2.camel@...3609...> <1476023675.5268.3.camel@...3609...> Message-ID: and also the mandelbrot example use the task class From taboege at ...626... Sun Oct 9 18:40:28 2016 From: taboege at ...626... (Tobias Boege) Date: Sun, 9 Oct 2016 18:40:28 +0200 Subject: [Gambas-user] App idle with long loops In-Reply-To: References: <0f77ae62-17a0-73e7-de10-33a876f2a142@...626...> <20161008160934.GA714@...3600...> Message-ID: <20161009164028.GA6698@...3600...> On Sun, 09 Oct 2016, Jorge Carri?n wrote: > 2016-10-08 23:54 GMT+02:00 Demosthenes Koptsis : > > > On 8/10/2016 19:09 ??, Tobias Boege wrote: > > > On Sat, 08 Oct 2016, Demosthenes Koptsis wrote: > > >> Hello, > > >> > > >> i have very long (time consuming) For loops and my app is frozen until > > >> loop is finished. > > >> > > >> for example i wget urls with a custom Sub which Shell("wgetURLS.sh") To > > >> sOUTPUT > > >> > > >> 'get urls > > >> For i = 0 To iDepth > > >> wgetURLS(i * 10) > > >> Next > > >> > > >> Public Sub wgetURLS(iStart As Integer) > > >> ..... > > >> > > >> Shell("wgetURLS.sh") To sOUTPUT > > >> > > >> ..... > > >> > > >> -------------- > > >> > > >> Is there possible to set the gui idle and the same time run For...loops? > > >> > > > If you only want to refresh the GUI (e.g. if your For loops update a > > > ProgressBar on your form and you want to update the value of that bar > > > during the loop), then Wait [1] is sufficient. > > > > > > If you want the GUI to be fully operatable while your loops run in the > > > background, you have to use a background Task [2]. As Gambas is single- > > > threaded, Tasks are implemented as external processes which execute one > > > of your classes. This limits the things you can do with Tasks (you cannot > > > directly modify the main program, for example, but have to send data and > > > status reports through a pipe from your Task to the main process and > > > interpret them there). However, if all you want is loading some files via > > > wget, that should not be a problem. > > > > > > Of course, there is also the gb.net.curl component which can download > > files > > > asynchronously. If you can use that (which depends on what you want to > > do), > > > you should. > > > > > > And as a fourth option, looking further into your code: if you want to > > > execute shell scripts in a For loop, then don't use the Shell-To syntax > > > but create a Process object instead and accumulate its output in Read > > > events. The event loop will take care of everything and the GUI will be > > > usable without any extra effort on your side. > > > > > > Finding the best solution depends, who would have thought, on what you > > want > > > to do *specifically*. Tasks are the most general and most cumbersome > > option. > > > > > > Regards, > > > Tobi > > > > > > [1] http://gambaswiki.org/wiki/lang/wait > > > [2] http://gambaswiki.org/wiki/comp/gb/task > > > > > Thanks very much for the details. > > > > Regards, > > > > Dim > > > > > Is there any example of task fork use? I have a proyect who sending massive > e-mails to our customers and I guess that task can be a good solution... > > Regards > It normally works like this: - You write a dedicated class, let's call it MyTask, to perform your task. This class must inherit the Task class. - The constructor of MyTask can receive some arguments for the task, like an array of recipient addresses and bodies for your batch email. - After the MyTask object is created, the process fork is postponed to the next invocation of the event loop. You may want to keep this in mind if you sometimes start a whole bunch of tasks at once or if you want to wait for the results of your task in the current procedure. To have the tasks started, you either have to enter the event loop, either by rolling up the current code path or by calling Wait. - The interpreter will then fork and jump into the Main() method of the MyTask object. The standard output of the new process running the Task is redirected into the main program and raises Read events of the Task object. You can also return serialisable data from the Main() method which is transferred into the main process and which you can fetch these using MyTask.Value. - Because returning a single value at the end of the task may not be sufficient, you normally end up using the standard output to communicate more regularly with the main process. I could imagine that you want to send messages of the form: "sent\tx\tn" to your main process, indicating that you just sent the x-th email of n emails total. The main process intercepts this string, has to parse it and can then update a ProcessBar or something. This is the way I use Tasks in my projects, anyway. An example can also be found in the gb.form component. The FileView class uses a background task named CTaskPreview to make preview of images in the background and send them to the main process once they're ready. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From shordi at ...626... Sun Oct 9 19:07:20 2016 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Sun, 9 Oct 2016 19:07:20 +0200 Subject: [Gambas-user] App idle with long loops In-Reply-To: <20161009164028.GA6698@...3600...> References: <0f77ae62-17a0-73e7-de10-33a876f2a142@...626...> <20161008160934.GA714@...3600...> <20161009164028.GA6698@...3600...> Message-ID: Thanks to every one for the information. I think I have enough to make my proyect more usable. Best Regards 2016-10-09 18:40 GMT+02:00 Tobias Boege : > On Sun, 09 Oct 2016, Jorge Carri?n wrote: > > 2016-10-08 23:54 GMT+02:00 Demosthenes Koptsis : > > > > > On 8/10/2016 19:09 ??, Tobias Boege wrote: > > > > On Sat, 08 Oct 2016, Demosthenes Koptsis wrote: > > > >> Hello, > > > >> > > > >> i have very long (time consuming) For loops and my app is frozen > until > > > >> loop is finished. > > > >> > > > >> for example i wget urls with a custom Sub which > Shell("wgetURLS.sh") To > > > >> sOUTPUT > > > >> > > > >> 'get urls > > > >> For i = 0 To iDepth > > > >> wgetURLS(i * 10) > > > >> Next > > > >> > > > >> Public Sub wgetURLS(iStart As Integer) > > > >> ..... > > > >> > > > >> Shell("wgetURLS.sh") To sOUTPUT > > > >> > > > >> ..... > > > >> > > > >> -------------- > > > >> > > > >> Is there possible to set the gui idle and the same time run > For...loops? > > > >> > > > > If you only want to refresh the GUI (e.g. if your For loops update a > > > > ProgressBar on your form and you want to update the value of that bar > > > > during the loop), then Wait [1] is sufficient. > > > > > > > > If you want the GUI to be fully operatable while your loops run in > the > > > > background, you have to use a background Task [2]. As Gambas is > single- > > > > threaded, Tasks are implemented as external processes which execute > one > > > > of your classes. This limits the things you can do with Tasks (you > cannot > > > > directly modify the main program, for example, but have to send data > and > > > > status reports through a pipe from your Task to the main process and > > > > interpret them there). However, if all you want is loading some > files via > > > > wget, that should not be a problem. > > > > > > > > Of course, there is also the gb.net.curl component which can download > > > files > > > > asynchronously. If you can use that (which depends on what you want > to > > > do), > > > > you should. > > > > > > > > And as a fourth option, looking further into your code: if you want > to > > > > execute shell scripts in a For loop, then don't use the Shell-To > syntax > > > > but create a Process object instead and accumulate its output in Read > > > > events. The event loop will take care of everything and the GUI will > be > > > > usable without any extra effort on your side. > > > > > > > > Finding the best solution depends, who would have thought, on what > you > > > want > > > > to do *specifically*. Tasks are the most general and most cumbersome > > > option. > > > > > > > > Regards, > > > > Tobi > > > > > > > > [1] http://gambaswiki.org/wiki/lang/wait > > > > [2] http://gambaswiki.org/wiki/comp/gb/task > > > > > > > Thanks very much for the details. > > > > > > Regards, > > > > > > Dim > > > > > > > > Is there any example of task fork use? I have a proyect who sending > massive > > e-mails to our customers and I guess that task can be a good solution... > > > > Regards > > > > It normally works like this: > > - You write a dedicated class, let's call it MyTask, to perform your > task. > This class must inherit the Task class. > - The constructor of MyTask can receive some arguments for the task, like > an array of recipient addresses and bodies for your batch email. > - After the MyTask object is created, the process fork is postponed to > the > next invocation of the event loop. You may want to keep this in mind if > you sometimes start a whole bunch of tasks at once or if you want to > wait for the results of your task in the current procedure. To have the > tasks started, you either have to enter the event loop, either by > rolling up the current code path or by calling Wait. > - The interpreter will then fork and jump into the Main() method of the > MyTask object. The standard output of the new process running the Task > is redirected into the main program and raises Read events of the Task > object. You can also return serialisable data from the Main() method > which is transferred into the main process and which you can fetch > these > using MyTask.Value. > - Because returning a single value at the end of the task may not be > sufficient, you normally end up using the standard output to > communicate > more regularly with the main process. I could imagine that you want to > send messages of the form: > > "sent\tx\tn" > > to your main process, indicating that you just sent the x-th email of > n emails total. The main process intercepts this string, has to parse > it > and can then update a ProcessBar or something. This is the way I use > Tasks in my projects, anyway. > > An example can also be found in the gb.form component. The FileView class > uses a background task named CTaskPreview to make preview of images in the > background and send them to the main process once they're ready. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------ > ------------------ > 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 mckaygerhard at ...626... Mon Oct 10 01:36:56 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sun, 9 Oct 2016 19:36:56 -0400 Subject: [Gambas-user] gbx3: warning: 4 allocation(s) non freed In-Reply-To: References: Message-ID: hi benoit i see the same message in my gambas since 3.8, in previous 3.4 i do not see, i always use the 3.4 gambas due i dont like the modernis but sqlite componet have lot of bugs before 3.7 so i update to 3.8 and now using 3.9 have same messages specially when we have multiple forms that popups others Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2016-10-06 11:14 GMT-04:00 Beno?t Minisini : > I don't have the time now to make a VM and compile and install all the > needed stuff in it. > > So: can you send me the output of the 'i-nex-cpuid' command on one of > your system? > > And do you have the final warning message all the time? > > Le 06/10/2016 ? 16:56, shirish ????? a ?crit : > > addition at bottom :- > > > > On 06/10/2016, shirish ????? wrote: > >> Hi all, > >> > >> I/We have been compiling a cpu-z like tool called I-Nex and came > >> across the warning above. > >> > >> See https://github.com/i-nex/I-Nex > >> > >> The issue can be seen at https://github.com/i-nex/I-Nex/issues/7 > >> > >> Somebody also tried compiling with gambas 3.9.1 but still the issue > >> persists. > >> > >> Can somebody look/guide us where the issue could be ? > >> > >> I am on Debian testing and these versions are in my system - > >> > >> ??[shirish at ...57...] - [~] - [10171] > >> ??[$] apt-cache policy gambas3-gb-desktop-x11 gambas3-gb-desktop > >> gambas3-gb-form-stock gambas3-gb-form gambas3-gb-qt4 gambas3-gb-image > >> gambas3-runtime > >> > >> gambas3-gb-desktop-x11: > >> Installed: 3.8.4-6+b1 > >> Candidate: 3.8.4-6+b1 > >> Version table: > >> *** 3.8.4-6+b1 600 > >> 600 http://httpredir.debian.org/debian testing/main amd64 > Packages > >> 1 http://httpredir.debian.org/debian unstable/main amd64 > Packages > >> 100 /var/lib/dpkg/status > >> gambas3-gb-desktop: > >> Installed: 3.8.4-6+b1 > >> Candidate: 3.8.4-6+b1 > >> Version table: > >> *** 3.8.4-6+b1 600 > >> 600 http://httpredir.debian.org/debian testing/main amd64 > Packages > >> 1 http://httpredir.debian.org/debian unstable/main amd64 > Packages > >> 100 /var/lib/dpkg/status > >> gambas3-gb-form-stock: > >> Installed: 3.8.4-6 > >> Candidate: 3.8.4-6 > >> Version table: > >> *** 3.8.4-6 600 > >> 600 http://httpredir.debian.org/debian testing/main amd64 > Packages > >> 1 http://httpredir.debian.org/debian unstable/main amd64 > Packages > >> 100 /var/lib/dpkg/status > >> gambas3-gb-form: > >> Installed: 3.8.4-6 > >> Candidate: 3.8.4-6 > >> Version table: > >> *** 3.8.4-6 600 > >> 600 http://httpredir.debian.org/debian testing/main amd64 > Packages > >> 1 http://httpredir.debian.org/debian unstable/main amd64 > Packages > >> 100 /var/lib/dpkg/status > >> gambas3-gb-qt4: > >> Installed: 3.8.4-6+b1 > >> Candidate: 3.8.4-6+b1 > >> Version table: > >> *** 3.8.4-6+b1 600 > >> 600 http://httpredir.debian.org/debian testing/main amd64 > Packages > >> 1 http://httpredir.debian.org/debian unstable/main amd64 > Packages > >> 100 /var/lib/dpkg/status > >> gambas3-gb-image: > >> Installed: 3.8.4-6+b1 > >> Candidate: 3.8.4-6+b1 > >> Version table: > >> *** 3.8.4-6+b1 600 > >> 600 http://httpredir.debian.org/debian testing/main amd64 > Packages > >> 1 http://httpredir.debian.org/debian unstable/main amd64 > Packages > >> 100 /var/lib/dpkg/status > >> gambas3-runtime: > >> Installed: 3.8.4-6+b1 > >> Candidate: 3.8.4-6+b1 > >> Version table: > >> *** 3.8.4-6+b1 600 > >> 600 http://httpredir.debian.org/debian testing/main amd64 > Packages > >> 1 http://httpredir.debian.org/debian unstable/main amd64 > Packages > >> 100 /var/lib/dpkg/status > >> > >> Basically all are at 3.8.4-6+b1 but as seen in the bug/ticket somebody > >> also tried doing the same with 3.9.1 > >> > >> Looking forward to some tips/resolution. > >> > > > > Here are the details you need and please CC me as I have turned off > > mails as am info. overloaded . I have edited some details in the info. > > you need for security reasons, hope that is understandable. All the > > ones with x's are the ones I edited. > > > > [System] > > Gambas=3.8.4 > > OperatingSystem=Linux > > Kernel=4.7.0-1-amd64 > > Architecture=x86_64 > > Distribution= stretch/sid > > Desktop=MATE > > Theme=Gtk > > Language=en_US.UTF-8 > > Memory=1995M > > > > [Libraries] > > Cairo=libcairo.so.2.11400.6 > > Curl=libcurl.so.4.4.0 > > DBus=libdbus-1.so.3.14.7 > > GStreamer=libgstreamer-1.0.so.0.803.0 > > GTK+2=libgtk-x11-2.0.so.0.2400.31 > > GTK+3=libgtk-3.so.0.2200.1 > > OpenGL=libGL.so.1.2.0 > > Poppler=libpoppler.so.61.0.0 > > QT4=libQtCore.so.4.8.7 > > QT5=libQt5Core.so.5.6.1 > > SDL=libSDL-1.2.so.0.11.4 > > > > [Environment] > > CLUTTER_BACKEND=x11 > > DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus > > DESKTOP_AUTOSTART_ID=xxxxxxxxxxxxxxxxx > > DESKTOP_SESSION=mate > > DISPLAY=:0 > > GB_GUI=gb.qt5 > > GDMSESSION=mate > > GDM_LANG=en_US.utf8 > > GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 > > GTK_MODULES=gail:atk-bridge:canberra-gtk-module > > GTK_OVERLAY_SCROLLING=0 > > GUAKE_TAB_UUID=xxxxxxxxxxxxxxxx > > HOME= > > LANG=en_US.UTF-8 > > LC_CTYPE=en_US.UTF-8 > > LESS=-R > > LOGNAME= > > LSCOLORS=xxxxxxxxxxxxxxxxx > > MATE_DESKTOP_SESSION_ID=this-is-deprecated > > PAGER=less > > PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games > > PWD= > > QT_ACCESSIBILITY=1 > > QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 > > SESSION_MANAGER=local/:@/tmp/.ICE-unix/ > 2190,unix/:/tmp/.ICE-unix/2190 > > SHELL=/usr/bin/zsh > > SHLVL=1 > > SSH_AGENT_PID=2300 > > SSH_AUTH_SOCK=/run/user/1000/keyring/ssh > > TERM=xterm > > TZ=:/etc/localtime > > USER= > > XAUTHORITY=/.Xauthority > > XDG_CURRENT_DESKTOP=MATE > > XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/ > > XDG_GREETER_DATA_DIR=/var/lib/lightdm/data/ > > XDG_RUNTIME_DIR=/run/user/1000 > > XDG_SEAT=seat0 > > XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 > > XDG_SESSION_DESKTOP=mate > > XDG_SESSION_ID=2 > > XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 > > XDG_SESSION_TYPE=x11 > > XDG_VTNR=7 > > ZSH=/.oh-my-zsh > > _=/usr/bin/gambas3 > > > > > -- > 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... Mon Oct 10 11:51:26 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 10 Oct 2016 09:51:26 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1014: org.freedesktop.DBus.Properties Method:GetALL not implemented? In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1014&from=L21haW4- Comment #2 by Antonio OREFICE: Ok, i've stripped the relevant code from the main project (which is big). It still seems to reproduce the bug, or whatever. I'm unable to fine an attach button, so i uploaded the project here: http://wpage.unina.it/aorefice/sharevari/mpris.tar.gz Thanks! From bugtracker at ...3416... Mon Oct 10 11:51:48 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 10 Oct 2016 09:51:48 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1014: org.freedesktop.DBus.Properties Method:GetALL not implemented? In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1014&from=L21haW4- Antonio OREFICE added an attachment: mpris.tar.gz From casa.busturia at ...397... Mon Oct 10 15:43:11 2016 From: casa.busturia at ...397... (Busturia Xx) Date: Mon, 10 Oct 2016 13:43:11 +0000 (UTC) Subject: [Gambas-user] different UTF-8 References: <651321186.4284351.1476106991873.ref@...3424...> Message-ID: <651321186.4284351.1476106991873@...3424...> Hi When I paint a text in my drawing area I get bad characters. I think that it is because I red that text from mysql. Mysql use collation UTF8_mb4_unicode_ci and gambas use utf8 general. I have this code Dim Rs as result, MyField as string ... ... MyField=Rs!field_name Paint.begin(MyDrawingArea) ... ... Paint.text(MyField) Paint.end I could see that MyField value is 'abc 1" but I get "abc " and two bad characters. I tried without database field MyField="abc 1" Paint.begin(MyDrawingArea) ... ... Paint.text(MyField) Paint.end And it works fine, so I think that all the encoding problems above are caused by text being submitted in one character set and viewed in another. What can I do? From bagonergi at ...626... Mon Oct 10 19:51:39 2016 From: bagonergi at ...626... (Gianluigi) Date: Mon, 10 Oct 2016 19:51:39 +0200 Subject: [Gambas-user] different UTF-8 In-Reply-To: <651321186.4284351.1476106991873@...3424...> References: <651321186.4284351.1476106991873.ref@...3424...> <651321186.4284351.1476106991873@...3424...> Message-ID: You can see here: http://gambaswiki.org/wiki/lang/conv (Look that your mail is read as spam) Regards Gianluigi 2016-10-10 15:43 GMT+02:00 Busturia Xx : > Hi > > When I paint a text in my drawing area I get bad characters. I think that > it is because I red that text from mysql. > > Mysql use collation UTF8_mb4_unicode_ci and gambas use utf8 general. > > I have this code > > Dim Rs as result, MyField as string > > ... > ... > MyField=Rs!field_name > > Paint.begin(MyDrawingArea) > ... > ... > Paint.text(MyField) > Paint.end > > I could see that MyField value is 'abc 1" but I get "abc " and two bad > characters. > > I tried without database field > > MyField="abc 1" > > Paint.begin(MyDrawingArea) > ... > ... > Paint.text(MyField) > Paint.end > > And it works fine, so I think that all the encoding problems above are > caused by text being submitted in one character set and viewed in another. > > What can I do? > > ------------------------------------------------------------ > ------------------ > 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 Oct 11 22:11:46 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 11 Oct 2016 20:11:46 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1016: Packing for ubuntu and debian problem whit some characters in program description. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1016&from=L21haW4- Comment #2 by Mart?n BELMONTE: Hi Benoit, on this link you can find the source code (naranjito-0.0.6.tar.gz). https://www.gambas-es.org/viewtopic.php?f=5&t=5465&start=30 Remember: The problem is in the program description no in code. Regards. From bugtracker at ...3416... Tue Oct 11 22:12:20 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 11 Oct 2016 20:12:20 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1016: Packing for ubuntu and debian problem whit some characters in program description. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1016&from=L21haW4- Mart?n BELMONTE added an attachment: naranjito-0.0.6.tar.gz From charlie at ...2793... Wed Oct 12 16:31:18 2016 From: charlie at ...2793... (Charlie) Date: Wed, 12 Oct 2016 07:31:18 -0700 (MST) Subject: [Gambas-user] App idle with long loops In-Reply-To: References: <0f77ae62-17a0-73e7-de10-33a876f2a142@...626...> <20161008160934.GA714@...3600...> <20161009164028.GA6698@...3600...> Message-ID: <1476282678436-57539.post@...3046...> Hi Dim, I thought that as you are using 'wget' the easy way to keep control was to use a BASH script which would do the job in the background. I have written a bit of code that creates the BASH script and runs it in the background, leaving the main program still responsive. Hope it helps. WgetFiles.tar Check out Gambas.One -- View this message in context: http://gambas.8142.n7.nabble.com/App-idle-with-long-loops-tp57494p57539.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Wed Oct 12 17:59:33 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 12 Oct 2016 17:59:33 +0200 Subject: [Gambas-user] App idle with long loops In-Reply-To: <1476282678436-57539.post@...3046...> References: <0f77ae62-17a0-73e7-de10-33a876f2a142@...626...> <20161008160934.GA714@...3600...> <20161009164028.GA6698@...3600...> <1476282678436-57539.post@...3046...> Message-ID: <0bb33bad-e09e-640a-357b-6df27f25c9dd@...1...> Le 12/10/2016 ? 16:31, Charlie a ?crit : > Hi Dim, > I thought that as you are using 'wget' the easy way to keep control was to > use a BASH script which would do the job in the background. I have written a > bit of code that creates the BASH script and runs it in the background, > leaving the main program still responsive. Hope it helps. > WgetFiles.tar > Check out Gambas.One > It's useless to create a bash script to run wget in the background. Just use Shell or Exec directly. Moreover, with Exec, you avoid running a not really needed intermediate shell process. Regards, -- Beno?t Minisini From chrisml at ...3340... Wed Oct 12 18:27:23 2016 From: chrisml at ...3340... (Christof Thalhofer) Date: Wed, 12 Oct 2016 18:27:23 +0200 Subject: [Gambas-user] Gambas 3.9.1 on Launchpad? Message-ID: <2d8cbfa3-bf28-632e-2941-2598f85677f1@...3340...> Hello, Gambas 3.9.1 is released according to http://gambas.sourceforge.net/en/main.html But it cannot be found on Launchpad Gambas3 stable: https://launchpad.net/~gambas-team/+archive/ubuntu/gambas3 Shouldn't it be there? Alles Gute Christof Thalhofer -- Dies ist keine Signatur From jussi.lahtinen at ...626... Thu Oct 13 01:24:46 2016 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 13 Oct 2016 02:24:46 +0300 Subject: [Gambas-user] Inconsistencies with drawing methods Message-ID: Hi! Please see the attachments. You can reproduce the problem by simply running the attached project. Jussi [System] Gambas=3.9.90 r7927 OperatingSystem=Linux Kernel=3.19.0-32-generic Architecture=x86_64 Distribution=Linux Mint 17.3 Rosa Desktop=CINNAMON Theme=Gtk Language=en_US.UTF-8 Memory=7984M [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_BACKEND=x11 CLUTTER_IM_MODULE=xim DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-3TQSfAKYWT,guid=8a4a09138d585c403820288a57fe2641 DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path DESKTOP_SESSION=cinnamon DISPLAY=:0.0 GB_GUI=gb.qt4 GB_PROFILE_MAX=1000 GDMSESSION=cinnamon GDM_XSERVER_LOCATION=local GIO_LAUNCHED_DESKTOP_FILE=/Desktop/Gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=17277 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL=/run/user/1000/keyring-mG7gBc GPG_AGENT_INFO=/run/user/1000/keyring-mG7gBc/gpg:0:1 GTK_IM_MODULE=xim HOME= INSIDE_NEMO_PYTHON= LANG=en_US.UTF-8 LC_ADDRESS=fi_FI.UTF-8 LC_IDENTIFICATION=fi_FI.UTF-8 LC_MEASUREMENT=fi_FI.UTF-8 LC_MONETARY=fi_FI.UTF-8 LC_NAME=fi_FI.UTF-8 LC_NUMERIC=fi_FI.UTF-8 LC_PAPER=fi_FI.UTF-8 LC_TELEPHONE=fi_FI.UTF-8 LC_TIME=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path MDMSESSION=cinnamon MDM_LANG=en_US.UTF-8 MDM_XSERVER_LOCATION=local PAPERSIZE=letter PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT4_IM_MODULE=xim QT_STYLE_OVERRIDE=gtk SESSION_MANAGER=local/:@/tmp/.ICE-unix/1629,unix/:/tmp/.ICE-unix/1629 SHELL=/bin/bash SSH_AGENT_PID=1696 SSH_AUTH_SOCK=/run/user/1000/keyring-mG7gBc/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=8 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg XDG_CURRENT_DESKTOP=X-Cinnamon XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=5a45fa29109f0ee2389b1b0355283726-1476273729.98885-276817279 XDG_SESSION_DESKTOP=cinnamon XDG_SESSION_ID=c1 XDG_VTNR=8 XMODIFIERS=@im=none -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot from 2016-10-13 02:20:44.png Type: image/png Size: 1930 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: DrawInconsistency-0.0.1.tar.gz Type: application/x-gzip Size: 11542 bytes Desc: not available URL: From sebikul at ...626... Thu Oct 13 03:08:51 2016 From: sebikul at ...626... (=?UTF-8?Q?Sebasti=C3=A1n_Kulesz?=) Date: Thu, 13 Oct 2016 01:08:51 +0000 Subject: [Gambas-user] Gambas 3.9.1 on Launchpad? In-Reply-To: <2d8cbfa3-bf28-632e-2941-2598f85677f1@...3340...> References: <2d8cbfa3-bf28-632e-2941-2598f85677f1@...3340...> Message-ID: My bad! The update should be live by now. On Wed, Oct 12, 2016, 13:29 Christof Thalhofer wrote: > Hello, > > Gambas 3.9.1 is released according to > http://gambas.sourceforge.net/en/main.html > > But it cannot be found on Launchpad Gambas3 stable: > https://launchpad.net/~gambas-team/+archive/ubuntu/gambas3 > > Shouldn't it be there? > > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > ------------------------------------------------------------------------------ > 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... Thu Oct 13 07:27:53 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 13 Oct 2016 05:27:53 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1018: It would be nice if we could get to th farm from the web page? Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1018&from=L21haW4- Bruce BRUEN reported a new bug. Summary ------- It would be nice if we could get to th farm from the web page? Type : Request Priority : Low Gambas version : Unknown Product : Software farm Description ----------- ... It's just sort of a missing thing ... Might not be possible? From jusabejusabe at ...626... Thu Oct 13 07:54:21 2016 From: jusabejusabe at ...626... (Julio Sanchez) Date: Thu, 13 Oct 2016 07:54:21 +0200 Subject: [Gambas-user] Gambas 3.9.1 on Launchpad? In-Reply-To: References: <2d8cbfa3-bf28-632e-2941-2598f85677f1@...3340...> Message-ID: Sebasti?n: Thank you for your work!!! :) Regards Julio 2016-10-13 3:08 GMT+02:00 Sebasti?n Kulesz : > My bad! The update should be live by now. > > On Wed, Oct 12, 2016, 13:29 Christof Thalhofer > wrote: > > > Hello, > > > > Gambas 3.9.1 is released according to > > http://gambas.sourceforge.net/en/main.html > > > > But it cannot be found on Launchpad Gambas3 stable: > > https://launchpad.net/~gambas-team/+archive/ubuntu/gambas3 > > > > Shouldn't it be there? > > > > > > Alles Gute > > > > Christof Thalhofer > > > > -- > > Dies ist keine Signatur > > > > > > ------------------------------------------------------------ > ------------------ > > 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 chrisml at ...3340... Thu Oct 13 08:09:24 2016 From: chrisml at ...3340... (Christof Thalhofer) Date: Thu, 13 Oct 2016 08:09:24 +0200 Subject: [Gambas-user] Gambas 3.9.1 on Launchpad? In-Reply-To: References: <2d8cbfa3-bf28-632e-2941-2598f85677f1@...3340...> Message-ID: <5d884a21-14eb-fb22-ebd0-9616fab7708f@...3340...> Am 13.10.2016 um 03:08 schrieb Sebasti?n Kulesz: > The update should be live by now. Great! Thank you very much! :-) Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From ualex73 at ...626... Thu Oct 13 08:15:39 2016 From: ualex73 at ...626... (Alexie) Date: Thu, 13 Oct 2016 08:15:39 +0200 Subject: [Gambas-user] Gambas 3.9.1 on Launchpad? In-Reply-To: <5d884a21-14eb-fb22-ebd0-9616fab7708f@...3340...> References: <2d8cbfa3-bf28-632e-2941-2598f85677f1@...3340...> <5d884a21-14eb-fb22-ebd0-9616fab7708f@...3340...> Message-ID: Thanks from me too :-) 2016-10-13 8:09 GMT+02:00 Christof Thalhofer : > Am 13.10.2016 um 03:08 schrieb Sebasti?n Kulesz: > > The update should be live by now. > > Great! Thank you very much! > > :-) > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > ------------------------------------------------------------ > ------------------ > 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 shordi at ...626... Thu Oct 13 10:45:49 2016 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Thu, 13 Oct 2016 10:45:49 +0200 Subject: [Gambas-user] Gambas 3.9.1 on Launchpad? In-Reply-To: References: <2d8cbfa3-bf28-632e-2941-2598f85677f1@...3340...> Message-ID: Sebas: you know how important are you for a lot of us. Thanks again. 2016-10-13 7:54 GMT+02:00 Julio Sanchez : > Sebasti?n: > > Thank you for your work!!! > > :) > > Regards > > Julio > > 2016-10-13 3:08 GMT+02:00 Sebasti?n Kulesz : > > > My bad! The update should be live by now. > > > > On Wed, Oct 12, 2016, 13:29 Christof Thalhofer > > wrote: > > > > > Hello, > > > > > > Gambas 3.9.1 is released according to > > > http://gambas.sourceforge.net/en/main.html > > > > > > But it cannot be found on Launchpad Gambas3 stable: > > > https://launchpad.net/~gambas-team/+archive/ubuntu/gambas3 > > > > > > Shouldn't it be there? > > > > > > > > > Alles Gute > > > > > > Christof Thalhofer > > > > > > -- > > > Dies ist keine Signatur > > > > > > > > > ------------------------------------------------------------ > > ------------------ > > > 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 > > > ------------------------------------------------------------ > ------------------ > 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... Thu Oct 13 11:20:35 2016 From: bagonergi at ...626... (Gianluigi) Date: Thu, 13 Oct 2016 11:20:35 +0200 Subject: [Gambas-user] Gambas 3.9.1 on Launchpad? In-Reply-To: References: <2d8cbfa3-bf28-632e-2941-2598f85677f1@...3340...> Message-ID: ? Regards Gianluigi 2016-10-13 10:45 GMT+02:00 Jorge Carri?n : > Sebas: you know how important are you for a lot of us. > > Thanks again. > > > > 2016-10-13 7:54 GMT+02:00 Julio Sanchez : > > > Sebasti?n: > > > > Thank you for your work!!! > > > > :) > > > > Regards > > > > Julio > > > > 2016-10-13 3:08 GMT+02:00 Sebasti?n Kulesz : > > > > > My bad! The update should be live by now. > > > > > > On Wed, Oct 12, 2016, 13:29 Christof Thalhofer > > > wrote: > > > > > > > Hello, > > > > > > > > Gambas 3.9.1 is released according to > > > > http://gambas.sourceforge.net/en/main.html > > > > > > > > But it cannot be found on Launchpad Gambas3 stable: > > > > https://launchpad.net/~gambas-team/+archive/ubuntu/gambas3 > > > > > > > > Shouldn't it be there? > > > > > > > > > > > > Alles Gute > > > > > > > > Christof Thalhofer > > > > > > > > -- > > > > Dies ist keine Signatur > > > > > > > > > > > > ------------------------------------------------------------ > > > ------------------ > > > > 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 > > > > > ------------------------------------------------------------ > > ------------------ > > 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... Thu Oct 13 16:48:01 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 13 Oct 2016 14:48:01 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1013: gb.db.odbc new GetRecordCount mechanism seem not work with firebird database In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1013&from=L21haW4- Comment #3 by Christian FAURE: Thanks for review this problem, this is the test code: Print "-----------" FBConnect() ' connect to database Db.Debug = True ' enable debug messages Try rs = fb.Exec("select current_date from RDB$DATABASE") 'this select always return one row with current date If Error.Code Then Print "Error";; Error.Text;; Error.Code Endif If rs.Available Then Print "Result Available!" Print rs[0] Else 'when GetRecordCount give 0 rows, then rs.Available is false Print "Result not Available" Endif Print "-----------" with unmodified source (gambas 3.9.1 - 2.11 from openSuse 42.1) the console show: ----------- gb.db.odbc: 0xb6da38: select current_date from RDB$DATABASE gb.db.odbc.GetRecordCount: Success, count=0 gb.db.odbc: -> 0 rows Result not Available ----------- i'm sure this select return one row. then i've modified the odbc component (source from gambas site, v 3.9.1), function do_query like this /* Internal function to implement the query execution */ static int do_query(DB_DATABASE *db, const char *error, ODBC_RESULT ** res, const char *qtemp, int nsubst, ...) { #ifdef ODBC_DEBUG_HEADER fprintf(stderr,"[ODBC][%s][%d]\n",__FILE__,__LINE__); fprintf(stderr,"\tdo_query db %p, ODBC_result res %p, db->handle %p, query = '%s'\n", db, res, db->handle, query); fflush(stderr); #endif va_list args; ODBC_CONN *handle = (ODBC_CONN *)db->handle; SQLRETURN retcode= SQL_SUCCESS; SQLRETURN retcodecnt= SQL_SUCCESS; ODBC_RESULT * odbcres; const char *query; int i; if (nsubst) { va_start(args, nsubst); if (nsubst > 3) nsubst = 3; for (i = 0; i < nsubst; i++) query_param[i] = va_arg(args, char *); query = DB.SubstString(qtemp, 0, query_get_param); } else query = qtemp; if (DB.IsDebug()) fprintf(stderr, "gb.db.odbc: %p: %s\n", handle, query); GB.AllocZero(POINTER(&odbcres), sizeof(ODBC_RESULT)); /* Allocate the space for the result structure */ retcode = SQLAllocHandle(SQL_HANDLE_STMT, handle->odbcHandle, &odbcres->odbcStatHandle); if ((retcode != SQL_SUCCESS) && (retcode != SQL_SUCCESS_WITH_INFO)) { GB.Error("Cannot allocate statement handle"); return retcode; } retcode = SQLSetStmtAttr(odbcres->odbcStatHandle, SQL_ATTR_CURSOR_SCROLLABLE, (SQLPOINTER) SQL_SCROLLABLE, 0); if ((retcode != SQL_SUCCESS) && (retcode != SQL_SUCCESS_WITH_INFO)) { odbcres->Cursor_Scrollable = SQL_FALSE; } else odbcres->Cursor_Scrollable = SQL_TRUE; odbcres->Function_exist = handle->FetchScroll_exist; /* Execute the query */ retcode = SQLExecDirect(odbcres->odbcStatHandle, (SQLCHAR *) query, SQL_NTS); if ((retcode != SQL_SUCCESS) && (retcode != SQL_SUCCESS_WITH_INFO)) { SQLFreeHandle(SQL_HANDLE_STMT, odbcres->odbcStatHandle); GB.Error("Error while executing the statement"); return retcode; } if (res) { /*retcode = SQLRowCount(odbcres->odbcStatHandle, &odbcres->count); if (retcode != SQL_SUCCESS && retcode != SQL_SUCCESS_WITH_INFO) { SQLFreeHandle(SQL_HANDLE_STMT, odbcres->odbcStatHandle); GB.Error("Unable to retrieve row count"); return retcode; }*/ retcodecnt = SQLRowCount(odbcres->odbcStatHandle, &odbcres->count); if (retcodecnt != SQL_SUCCESS && retcodecnt != SQL_SUCCESS_WITH_INFO) { SQLFreeHandle(SQL_HANDLE_STMT, odbcres->odbcStatHandle); GB.Error("Unable to retrieve row count"); return retcodecnt; } //odbcres->count = GetRecordCount(odbcres->odbcStatHandle, odbcres->Cursor_Scrollable); if (DB.IsDebug()) fprintf(stderr, "gb.db.odbc: -> %d rows\n", (int)odbcres->count); *res = odbcres; } else { SQLFreeHandle(SQL_HANDLE_STMT, odbcres->odbcStatHandle); GB.Free(POINTER(&odbcres)); } return retcode; } then the same gambas code print this on the console: ----------- gb.db.odbc: 0x889a28: select current_date from RDB$DATABASE gb.db.odbc: -> 1 rows Result Available! 10/13/2016 00:00:00 ----------- maybe we can add some flag in database driver like "enable_optimizations" to enable the new GetRecordCount and/or other non odbc compliant tuned features? Best regards. From shordi at ...626... Thu Oct 13 18:29:01 2016 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Thu, 13 Oct 2016 18:29:01 +0200 Subject: [Gambas-user] A question about WebView Message-ID: Is there a way to stop the follow of links in webview when webview is in "edit mode" (editable=true)? Best Regards From bugtracker at ...3416... Thu Oct 13 19:36:20 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 13 Oct 2016 17:36:20 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1013: gb.db.odbc new GetRecordCount mechanism seem not work with firebird database In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1013&from=L21haW4- Comment #4 by Christian FAURE: If you want, i can run a firebird database instance at home and provide the ip address, port and login (via private mail) to test/debug let me know. From bugtracker at ...3416... Thu Oct 13 19:59:15 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 13 Oct 2016 17:59:15 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1013: gb.db.odbc new GetRecordCount mechanism seem not work with firebird database In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1013&from=L21haW4- Comment #5 by zxMarce: I will create a FB DB in my machine and will test this. Normally, as per the documentation, ODBC's SQLRowCount() only return a valid row count for INSERT and DELETE statements. But Gambas does need a 'proper' row count. Therefore, I created the GetRecordCount(). What I noticed, but have no idea if it will affect the result, is that your query does not have a column. Please try this query with both calls (SQLRowCount() and GetRecordCount()) to see if it makes a difference: SELECT current_date AS MyDate FROM RDB$DATABASE Thanks. From gambas at ...1... Thu Oct 13 23:50:26 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 13 Oct 2016 23:50:26 +0200 Subject: [Gambas-user] Inconsistencies with drawing methods In-Reply-To: References: Message-ID: <88f69e50-8293-059f-6327-1f5a88440275@...1...> Le 13/10/2016 ? 01:24, Jussi Lahtinen a ?crit : > Hi! > Please see the attachments. You can reproduce the problem by simply running > the attached project. > > > Jussi > The Draw class normally draws with antialiasing disabled, but apparently the DrawingArea force antialiasing to be enabled. I will try to understand way. Anyway, you should not use the Draw class for newer project, it is deprecated. You must use the Paint class instead. Regards, -- Beno?t Minisini From rterry at ...1823... Fri Oct 14 00:05:50 2016 From: rterry at ...1823... (richard terry) Date: Fri, 14 Oct 2016 09:05:50 +1100 Subject: [Gambas-user] Incomplete gambas 3.9 install Message-ID: Hi List, Just built a new machine for work and after doing a standard apt-get install gambas3 when running my project the error messages missing desktop.x11, gb.media and gb.media.form ?what's going on and how to fix. Thanks richard From bugtracker at ...3416... Fri Oct 14 02:28:44 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 14 Oct 2016 00:28:44 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1013: gb.db.odbc new GetRecordCount mechanism seem not work with firebird database In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1013&from=L21haW4- Comment #6 by Christian FAURE: Thanks for explain the SQLRowCount, i've tested with column name, but result is the same: ----------- gb.db.odbc: 0xe40a48: select current_date as MyDate from RDB$DATABASE gb.db.odbc.GetRecordCount: Success, count=0 gb.db.odbc: -> 0 rows Result not Available ----------- From bugtracker at ...3416... Fri Oct 14 02:48:16 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 14 Oct 2016 00:48:16 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1013: gb.db.odbc new GetRecordCount mechanism seem not work with firebird database In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1013&from=L21haW4- Comment #7 by Christian FAURE: after reading a bit of documentation, as you say, the SQLRowCount is for updates/inserts/deletes not for Selects, but at unixodbc site they indicates to use SQLRowCount for selects: http://www.unixodbc.org/doc/ProgrammerManual/Tutorial/resul.html From t.lee.davidson at ...626... Fri Oct 14 03:56:12 2016 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Thu, 13 Oct 2016 21:56:12 -0400 Subject: [Gambas-user] Incomplete gambas 3.9 install In-Reply-To: References: Message-ID: Whatever distribution you are using may likely did not automatically install ALL of the Gambas components. For this particular project, you will probably need to also install the gambas3-gb-desktop and gambas3-gb-media (however they are named in your distro) components. On 10/13/2016 06:05 PM, richard terry wrote: > Hi List, > > > Just built a new machine for work and after doing a standard apt-get > install gambas3 when running my project the error messages missing > desktop.x11, gb.media and gb.media.form > > ?what's going on and how to fix. > > > Thanks > > > richard > > > > ------------------------------------------------------------------------------ > 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 bagonergi at ...626... Fri Oct 14 11:39:41 2016 From: bagonergi at ...626... (Gianluigi) Date: Fri, 14 Oct 2016 11:39:41 +0200 Subject: [Gambas-user] A question about WebView In-Reply-To: References: Message-ID: Hello Jorge, I do not understand the question, could you be more specific? Thank you Gianluigi 2016-10-13 18:29 GMT+02:00 Jorge Carri?n : > Is there a way to stop the follow of links in webview when webview is in > "edit mode" (editable=true)? > > Best Regards > ------------------------------------------------------------ > ------------------ > 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 Oct 14 11:54:17 2016 From: bagonergi at ...626... (Gianluigi) Date: Fri, 14 Oct 2016 11:54:17 +0200 Subject: [Gambas-user] Incomplete gambas 3.9 install In-Reply-To: References: Message-ID: Probably say a stupidity, try doing: Project > Compile all and restart. Regards Gianluigi 2016-10-14 3:56 GMT+02:00 T Lee Davidson : > Whatever distribution you are using may likely did not automatically > install ALL of the Gambas components. For this particular > project, you will probably need to also install the gambas3-gb-desktop and > gambas3-gb-media (however they are named in your > distro) components. > > > On 10/13/2016 06:05 PM, richard terry wrote: > > Hi List, > > > > > > Just built a new machine for work and after doing a standard apt-get > > install gambas3 when running my project the error messages missing > > desktop.x11, gb.media and gb.media.form > > > > ?what's going on and how to fix. > > > > > > Thanks > > > > > > richard > > > > > > > > ------------------------------------------------------------ > ------------------ > > 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 bagonergi at ...626... Fri Oct 14 11:55:34 2016 From: bagonergi at ...626... (Gianluigi) Date: Fri, 14 Oct 2016 11:55:34 +0200 Subject: [Gambas-user] A question about WebView In-Reply-To: References: Message-ID: Hello Jorge, I do not understand the question, could you be more specific? Thank you Gianluigi 2016-10-13 18:29 GMT+02:00 Jorge Carri?n : > Is there a way to stop the follow of links in webview when webview is in > "edit mode" (editable=true)? > > Best Regards > ------------------------------------------------------------ > ------------------ > 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 shordi at ...626... Fri Oct 14 12:15:45 2016 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Fri, 14 Oct 2016 12:15:45 +0200 Subject: [Gambas-user] A question about WebView In-Reply-To: References: Message-ID: I'm trying to do a control like textEdit, but allowing with links and images, based on webBrowser example. All is done and works fine, but if I create a link (: > Hello Jorge, > I do not understand the question, could you be more specific? > Thank you > Gianluigi > > 2016-10-13 18:29 GMT+02:00 Jorge Carri?n : > > > Is there a way to stop the follow of links in webview when webview is in > > "edit mode" (editable=true)? > > > > Best Regards > > ------------------------------------------------------------ > > ------------------ > > 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 moviga at ...3488... Fri Oct 14 15:03:35 2016 From: moviga at ...3488... (Moviga Technologies) Date: Fri, 14 Oct 2016 15:03:35 +0200 Subject: [Gambas-user] A question about WebView In-Reply-To: References: Message-ID: <8fc9a332-95fa-81fa-2ee2-61ae04f114c7@...3488...> There might be a way to do it with Gambas, but you can use javascript's preventDefault() http://www.w3schools.com/jsref/event_preventdefault.asp Den 14. okt. 2016 12:15, skrev Jorge Carri?n: > I'm trying to do a control like textEdit, but allowing with links and > images, based on webBrowser example. > > All is done and works fine, but if I create a link ( click on it the webview, naturally, follows the link and I loose all the > changes on the page. > > I want prevent that behaviour in the way that if user clik on a link and > the editable property is true, the webview doesn't follow the link. > > Hope this will be more clear. > > Best Regards > > 2016-10-14 11:39 GMT+02:00 Gianluigi : > >> Hello Jorge, >> I do not understand the question, could you be more specific? >> Thank you >> Gianluigi >> >> 2016-10-13 18:29 GMT+02:00 Jorge Carri?n : >> >>> Is there a way to stop the follow of links in webview when webview is in >>> "edit mode" (editable=true)? >>> >>> Best Regards >>> ------------------------------------------------------------ >>> ------------------ >>> 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 >> > ------------------------------------------------------------------------------ > 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 shordi at ...626... Fri Oct 14 17:25:28 2016 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Fri, 14 Oct 2016 17:25:28 +0200 Subject: [Gambas-user] A question about WebView In-Reply-To: <8fc9a332-95fa-81fa-2ee2-61ae04f114c7@...3488...> References: <8fc9a332-95fa-81fa-2ee2-61ae04f114c7@...3488...> Message-ID: Well... I think that I've found a workaround only with gambas. (It's a little tricky but it works), Thank you for the answers. Best Regards 2016-10-14 15:03 GMT+02:00 Moviga Technologies : > There might be a way to do it with Gambas, but you can use javascript's > preventDefault() > > http://www.w3schools.com/jsref/event_preventdefault.asp > > > Den 14. okt. 2016 12:15, skrev Jorge Carri?n: > > I'm trying to do a control like textEdit, but allowing with links and > > images, based on webBrowser example. > > > > All is done and works fine, but if I create a link ( > click on it the webview, naturally, follows the link and I loose all the > > changes on the page. > > > > I want prevent that behaviour in the way that if user clik on a link and > > the editable property is true, the webview doesn't follow the link. > > > > Hope this will be more clear. > > > > Best Regards > > > > 2016-10-14 11:39 GMT+02:00 Gianluigi : > > > >> Hello Jorge, > >> I do not understand the question, could you be more specific? > >> Thank you > >> Gianluigi > >> > >> 2016-10-13 18:29 GMT+02:00 Jorge Carri?n : > >> > >>> Is there a way to stop the follow of links in webview when webview is > in > >>> "edit mode" (editable=true)? > >>> > >>> Best Regards > >>> ------------------------------------------------------------ > >>> ------------------ > >>> 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 > >> > > ------------------------------------------------------------ > ------------------ > > 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 bagonergi at ...626... Fri Oct 14 22:39:41 2016 From: bagonergi at ...626... (Gianluigi) Date: Fri, 14 Oct 2016 22:39:41 +0200 Subject: [Gambas-user] A question about WebView In-Reply-To: References: <8fc9a332-95fa-81fa-2ee2-61ae04f114c7@...3488...> Message-ID: Lucky you Jorge, if here in Genoa, today not there had been a whirlwind (no electricity and discarge notebook :-( ) I (too) would have answered so: '------------------------------ Public Sub Form_Open() WebView1.HTML = MakeHtml() End Private Function MakeHtml() As String Dim sHtml As String sHtml = "" & "\n" sHtml &= "" & "\n" sHtml &= "" & "\n" sHtml &= "Documentation" & "\n" sHtml &= "" & "\n" sHtml &= "" & "\n" sHtml &= "" & "\n" Return sHtml End Public Sub Form_Close() Print WebView1.HTML End '-------------------------------------- It is no good code, but I had come this way. As I'm starting to study WebView I wanted to ask you, this is how it should be implemented the script. Otherwise? Can you give me any suggestions? Regards Gianluigi 2016-10-14 17:25 GMT+02:00 Jorge Carri?n : > Well... I think that I've found a workaround only with gambas. (It's a > little tricky but it works), > > Thank you for the answers. > > Best Regards > > 2016-10-14 15:03 GMT+02:00 Moviga Technologies : > > > There might be a way to do it with Gambas, but you can use javascript's > > preventDefault() > > > > http://www.w3schools.com/jsref/event_preventdefault.asp > > > > > > Den 14. okt. 2016 12:15, skrev Jorge Carri?n: > > > I'm trying to do a control like textEdit, but allowing with links and > > > images, based on webBrowser example. > > > > > > All is done and works fine, but if I create a link ( I > > > click on it the webview, naturally, follows the link and I loose all > the > > > changes on the page. > > > > > > I want prevent that behaviour in the way that if user clik on a link > and > > > the editable property is true, the webview doesn't follow the link. > > > > > > Hope this will be more clear. > > > > > > Best Regards > > > > > > 2016-10-14 11:39 GMT+02:00 Gianluigi : > > > > > >> Hello Jorge, > > >> I do not understand the question, could you be more specific? > > >> Thank you > > >> Gianluigi > > >> > > >> 2016-10-13 18:29 GMT+02:00 Jorge Carri?n : > > >> > > >>> Is there a way to stop the follow of links in webview when webview is > > in > > >>> "edit mode" (editable=true)? > > >>> > > >>> Best Regards > > >>> ------------------------------------------------------------ > > >>> ------------------ > > >>> 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 > > >> > > > ------------------------------------------------------------ > > ------------------ > > > 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 > > > ------------------------------------------------------------ > ------------------ > 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 Oct 15 10:07:46 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 15 Oct 2016 08:07:46 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1019: Crash of 3.9.1 IDE while editing code Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1019&from=L21haW4- Ron KLINKIEN reported a new bug. Summary ------- Crash of 3.9.1 IDE while editing code Type : Bug Priority : High Gambas version : 3.9.90 (TRUNK) Product : Development Environment Description ----------- While creating new code I crashed my IDE while deleting some bogus code. I seem te be able to reproduce it. Open attached project, go to code view of FMain, place cursor between run and () and type backspaces to delete the run word and the space in front of it. This application has raised an unexpected error and must abort. [21] Out of bounds. CDocumentation.ScanClass.686 System information ------------------ [System] Gambas=3.9.1 OperatingSystem=Linux Kernel=4.4.0-42-generic Architecture=x86_64 Distribution=Ubuntu 16.04.1 LTS Desktop=UNITY Theme=Gtk Language=en_US.UTF-8 Memory=16015M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-0.10.so.0.30.0 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 [Enviment] CLUTTER_IM_MODULE=xim COMPIZ_BIN_PATH=/usr/bin/ COMPIZ_CONFIG_PROFILE=ubuntu DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-PhTpmKPAnK 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=/.local/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=6837 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL= GNOME_KEYRING_PID= GPG_AGENT_INFO=/.gnupg/S.gpg-agent:0:1 GTK2_MODULES=overlay-scrollbar GTK_IM_MODULE=ibus GTK_MODULES=gail:atk-bridge:unity-gtk-module HOME= IM_CONFIG_PHASE=1 INSTANCE= JOB=unity-settings-daemon LANG=en_US.UTF-8 LANGUAGE=en_US LC_ADDRESS=nl_NL.UTF-8 LC_IDENTIFICATION=nl_NL.UTF-8 LC_MEASUREMENT=nl_NL.UTF-8 LC_MONETARY=nl_NL.UTF-8 LC_NAME=nl_NL.UTF-8 LC_NUMERIC=nl_NL.UTF-8 LC_PAPER=nl_NL.UTF-8 LC_TELEPHONE=nl_NL.UTF-8 LC_TIME=nl_NL.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path NODE_PATH=/usr/lib/nodejs:/usr/lib/node_modules:/usr/share/javascript PATH=/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=ibus QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_QPA_PLATFORMTHEME=appmenu-qt5 SESSION=ubuntu SESSIONTYPE=gnome-session 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/1847 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/:/var/lib/snapd/desktop XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=ubuntu XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 XMODIFIERS=@...3498...=ibus From bugtracker at ...3416... Sat Oct 15 10:08:06 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 15 Oct 2016 08:08:06 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1019: Crash of 3.9.1 IDE while editing code In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1019&from=L21haW4- Ron KLINKIEN added an attachment: WoTS-0.0.1.tar.gz From bugtracker at ...3416... Sat Oct 15 17:34:26 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 15 Oct 2016 15:34:26 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1019: Crash of 3.9.1 IDE while editing code In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1019&from=L21haW4- Comment #1 by Nigel GERRARD: I have loaded a bug fix for this in Revision 7932. From dag at ...3591... Sat Oct 15 23:10:09 2016 From: dag at ...3591... (dag) Date: Sat, 15 Oct 2016 14:10:09 -0700 (MST) Subject: [Gambas-user] Documentation, 2 things Message-ID: <1476565809239-57577.post@...3046...> hello, #1 can someone recommend me a good documentation place, please. I am a person who needs an example, mostly. The officail documentation does not help me often, it seems to me it uses the same word for explaining itself. normaly I am not so bad in abstraction... It gets irritating when i get completly different results doing exact as in the official documentation, example translation. I can tell more, but don't want to go off topic. I am aware of that the documentation is as complex as the programming itself, have been through that many times in my job life, so you have my understanding. Thanks in advance. #2 Would it be any help if I write some small projects, with which can help newbies? (like me. I am not a newbie for real, was with gambas very early, but had brakes, due to illness). I find the small sniplets very useful, sometimes only one line gives the aha-effect. I am mostly into using mysql with direct access, not the built in objects.( oldfashioned, almost prehistoric, line by line programmer who likes the full control) . In the moment I make a project I call Sniplets: reading out the structures of a mysql (or any DB), and prepare them for easy to make formulas for the data handling on this table. If done well, a new programm is made in 0.5 secs, avoding very much boring typing. In phpmyadmin one can do it too, but this is a little more advanced. I plan one easy template and one some more complex to use in combination with Sniplets (i called). To be clearer, Sniplet is a code generator. Many have given me help, not at least Beno?t, thanks to you!, whom I must have made desperate with tiny things. I want to give something back, the humble things I can, meassured against the huge project Gambas grew up to. kind regards Dag -- View this message in context: http://gambas.8142.n7.nabble.com/Documentation-2-things-tp57577.html Sent from the gambas-user mailing list archive at Nabble.com. From jusabejusabe at ...626... Sun Oct 16 13:22:46 2016 From: jusabejusabe at ...626... (Julio Sanchez) Date: Sun, 16 Oct 2016 13:22:46 +0200 Subject: [Gambas-user] Documentation, 2 things In-Reply-To: <1476565809239-57577.post@...3046...> References: <1476565809239-57577.post@...3046...> Message-ID: Hi Dag: In his day believed the website (and still active): http://cursogambas.blogspot.com.es/p/indice.html Has multiple examples and simple projects, applied to each article. The course starts from "0" and ends in design patterns (via GUI, data structures, databases, and even examples with arduino !!). And referring to more information on gambaswiki related article. The only flaw: languaje is Spanish But you can help translate the web using google translate regards Jsbsan 2016-10-15 23:10 GMT+02:00 dag : > hello, > > #1 > can someone recommend me a good documentation place, please. I am a person > who needs an example, mostly. The officail documentation does not help me > often, it seems to me it uses the same word for explaining itself. normaly > I > am not so bad in abstraction... > > It gets irritating when i get completly different results doing exact as in > the official documentation, example translation. I can tell more, but don't > want to go off topic. I am aware of that the documentation is as complex as > the programming itself, have been through that many times in my job life, > so > you have my understanding. Thanks in advance. > > #2 > Would it be any help if I write some small projects, with which can help > newbies? (like me. I am not a newbie for real, was with gambas very early, > but had brakes, due to illness). I find the small sniplets very useful, > sometimes only one line gives the aha-effect. I am mostly into using mysql > with direct access, not the built in objects.( oldfashioned, almost > prehistoric, line by line programmer who likes the full control) . In the > moment I make a project I call Sniplets: reading out the structures of a > mysql (or any DB), and prepare them for easy to make formulas for the data > handling on this table. If done well, a new programm is made in 0.5 secs, > avoding very much boring typing. In phpmyadmin one can do it too, but this > is a little more advanced. I plan one easy template and one some more > complex to use in combination with Sniplets (i called). To be clearer, > Sniplet is a code generator. > > Many have given me help, not at least Beno?t, thanks to you!, whom I must > have made desperate with tiny things. I want to give something back, the > humble things I can, meassured against the huge project Gambas grew up to. > > kind regards > Dag > > > > -- > View this message in context: http://gambas.8142.n7.nabble. > com/Documentation-2-things-tp57577.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 dag at ...3591... Sun Oct 16 12:06:54 2016 From: dag at ...3591... (dag) Date: Sun, 16 Oct 2016 03:06:54 -0700 (MST) Subject: [Gambas-user] Documentation, 2 things In-Reply-To: References: <1476565809239-57577.post@...3046...> Message-ID: hello jsbsan my situation: a norwegian talking german at home, english outside. why: living in spain :) a little bit i can, i try as much as possible to speak native. i take the pages as spanish course. thank you very much! kind regards Dag Am 16.10.2016 um 12:00 schrieb jsbsan [via Gambas]: > Hi Dag: > In his day believed the website (and still active): > > http://cursogambas.blogspot.com.es/p/indice.html > > Has multiple examples and simple projects, applied to each article. > > The course starts from "0" and ends in design patterns (via GUI, data > structures, databases, and even examples with arduino !!). And > referring to > more information on gambaswiki related article. > > The only flaw: languaje is Spanish > > But you can help translate the web using google translate > > regards > > Jsbsan > > 2016-10-15 23:10 GMT+02:00 dag <[hidden email] > >: > > > hello, > > > > #1 > > can someone recommend me a good documentation place, please. I am a > person > > who needs an example, mostly. The officail documentation does not > help me > > often, it seems to me it uses the same word for explaining itself. > normaly > > I > > am not so bad in abstraction... > > > > It gets irritating when i get completly different results doing > exact as in > > the official documentation, example translation. I can tell more, > but don't > > want to go off topic. I am aware of that the documentation is as > complex as > > the programming itself, have been through that many times in my job > life, > > so > > you have my understanding. Thanks in advance. > > > > #2 > > Would it be any help if I write some small projects, with which can > help > > newbies? (like me. I am not a newbie for real, was with gambas very > early, > > but had brakes, due to illness). I find the small sniplets very useful, > > sometimes only one line gives the aha-effect. I am mostly into using > mysql > > with direct access, not the built in objects.( oldfashioned, almost > > prehistoric, line by line programmer who likes the full control) . > In the > > moment I make a project I call Sniplets: reading out the structures > of a > > mysql (or any DB), and prepare them for easy to make formulas for > the data > > handling on this table. If done well, a new programm is made in 0.5 > secs, > > avoding very much boring typing. In phpmyadmin one can do it too, > but this > > is a little more advanced. I plan one easy template and one some more > > complex to use in combination with Sniplets (i called). To be clearer, > > Sniplet is a code generator. > > > > Many have given me help, not at least Beno?t, thanks to you!, whom I > must > > have made desperate with tiny things. I want to give something back, > the > > humble things I can, meassured against the huge project Gambas grew > up to. > > > > kind regards > > Dag > > > > > > > > -- > > View this message in context: http://gambas.8142.n7.nabble. > > com/Documentation-2-things-tp57577.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/Documentation-2-things-tp57577p57578.html > > To unsubscribe from Documentation, 2 things, click here > . > NAML > > -- View this message in context: http://gambas.8142.n7.nabble.com/Documentation-2-things-tp57577p57579.html Sent from the gambas-user mailing list archive at Nabble.com. From taboege at ...626... Sun Oct 16 18:17:13 2016 From: taboege at ...626... (Tobias Boege) Date: Sun, 16 Oct 2016 18:17:13 +0200 Subject: [Gambas-user] Documentation, 2 things In-Reply-To: References: <1476565809239-57577.post@...3046...> Message-ID: <20161016161713.GA702@...3600...> On Sun, 16 Oct 2016, dag wrote: > hello jsbsan > > my situation: a norwegian talking german at home, english outside. why: > living in spain :) a little bit i can, i try as much as possible to > speak native. i take the pages as spanish course. > > thank you very much! > If you speak German, there is also the Gambas-Buch [1], a work-in-progress online book with many example projects. Regards, Tobi [1] http://gambas-buch.de -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From dag at ...3591... Sun Oct 16 17:15:01 2016 From: dag at ...3591... (dag) Date: Sun, 16 Oct 2016 08:15:01 -0700 (MST) Subject: [Gambas-user] Documentation, 2 things In-Reply-To: <20161016161713.GA702@...3600...> References: <1476565809239-57577.post@...3046...> <20161016161713.GA702@...3600...> Message-ID: Hello Tobi, yes thank you, I know that. Perhaps I am a little impatient in my seeking. in one point I didnt find the solution. New topic. , Regards Dag Am 16.10.2016 um 16:55 schrieb Tobias Boege-2 [via Gambas]: > On Sun, 16 Oct 2016, dag wrote: > > hello jsbsan > > > > my situation: a norwegian talking german at home, english outside. why: > > living in spain :) a little bit i can, i try as much as possible to > > speak native. i take the pages as spanish course. > > > > thank you very much! > > > > If you speak German, there is also the Gambas-Buch [1], a > work-in-progress > online book with many example projects. > > Regards, > Tobi > > [1] http://gambas-buch.de > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------------------------ > > 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/Documentation-2-things-tp57577p57580.html > > To unsubscribe from Documentation, 2 things, click here > . > NAML > > -- View this message in context: http://gambas.8142.n7.nabble.com/Documentation-2-things-tp57577p57581.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas.fr at ...626... Sun Oct 16 22:44:57 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 16 Oct 2016 22:44:57 +0200 Subject: [Gambas-user] Documentation, 2 things In-Reply-To: References: <1476565809239-57577.post@...3046...> Message-ID: The truth is we really need an official courses site. Like Julio did it must start from the begining ... Learning the basic and programming stuff like gambas oo programming. Then from the front page allows the user to choose courses on different subject from control using to Linux generalities Le 16 oct. 2016 13:24, "Julio Sanchez" a ?crit : > Hi Dag: > In his day believed the website (and still active): > > http://cursogambas.blogspot.com.es/p/indice.html > > Has multiple examples and simple projects, applied to each article. > > The course starts from "0" and ends in design patterns (via GUI, data > structures, databases, and even examples with arduino !!). And referring to > more information on gambaswiki related article. > > The only flaw: languaje is Spanish > > But you can help translate the web using google translate > > regards > > Jsbsan > > 2016-10-15 23:10 GMT+02:00 dag : > > > hello, > > > > #1 > > can someone recommend me a good documentation place, please. I am a > person > > who needs an example, mostly. The officail documentation does not help me > > often, it seems to me it uses the same word for explaining itself. > normaly > > I > > am not so bad in abstraction... > > > > It gets irritating when i get completly different results doing exact as > in > > the official documentation, example translation. I can tell more, but > don't > > want to go off topic. I am aware of that the documentation is as complex > as > > the programming itself, have been through that many times in my job life, > > so > > you have my understanding. Thanks in advance. > > > > #2 > > Would it be any help if I write some small projects, with which can help > > newbies? (like me. I am not a newbie for real, was with gambas very > early, > > but had brakes, due to illness). I find the small sniplets very useful, > > sometimes only one line gives the aha-effect. I am mostly into using > mysql > > with direct access, not the built in objects.( oldfashioned, almost > > prehistoric, line by line programmer who likes the full control) . In > the > > moment I make a project I call Sniplets: reading out the structures of a > > mysql (or any DB), and prepare them for easy to make formulas for the > data > > handling on this table. If done well, a new programm is made in 0.5 secs, > > avoding very much boring typing. In phpmyadmin one can do it too, but > this > > is a little more advanced. I plan one easy template and one some more > > complex to use in combination with Sniplets (i called). To be clearer, > > Sniplet is a code generator. > > > > Many have given me help, not at least Beno?t, thanks to you!, whom I must > > have made desperate with tiny things. I want to give something back, the > > humble things I can, meassured against the huge project Gambas grew up > to. > > > > kind regards > > Dag > > > > > > > > -- > > View this message in context: http://gambas.8142.n7.nabble. > > com/Documentation-2-things-tp57577.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 > From dag at ...3591... Sun Oct 16 23:03:08 2016 From: dag at ...3591... (dag) Date: Sun, 16 Oct 2016 14:03:08 -0700 (MST) Subject: [Gambas-user] Documentation, 2 things In-Reply-To: References: <1476565809239-57577.post@...3046...> Message-ID: <9f582bbd-9e90-e066-9012-24e72997917c@...3591...> Hi Fabien, I am sure I do not have the grand overview like you, but I can definitly tell what i miss. I have programmed frontends for 30 years, not into systemprogramming. I had about 5 years of gambas-break, and was stunned over how fast things was growing. only the wast of objects is suprising, and also suprisingly good, I feel humble to the project. the thought of the different web-sites taking care of Gambas is good and nice, but a leading site is really wanted, as you say. also the forums have the lack of different levels of knowlegde: a newbie often gets abused from other: why do you not read the manual and so. not very nice. I see in the gambas-user more respectful taking care, and that i am glad for. i want to help with this task wherever i can. regards Dag Am 16.10.2016 um 21:22 schrieb Fabien Bodard-4 [via Gambas]: > The truth is we really need an official courses site. Like Julio did it > must start from the begining ... Learning the basic and programming stuff > like gambas oo programming. Then from the front page allows the user to > choose courses on different subject from control using to Linux > generalities > Le 16 oct. 2016 13:24, "Julio Sanchez" <[hidden email] > > a ?crit : > > > Hi Dag: > > In his day believed the website (and still active): > > > > http://cursogambas.blogspot.com.es/p/indice.html > > > > Has multiple examples and simple projects, applied to each article. > > > > The course starts from "0" and ends in design patterns (via GUI, data > > structures, databases, and even examples with arduino !!). And > referring to > > more information on gambaswiki related article. > > > > The only flaw: languaje is Spanish > > > > But you can help translate the web using google translate > > > > regards > > > > Jsbsan > > > > 2016-10-15 23:10 GMT+02:00 dag <[hidden email] > >: > > > > > hello, > > > > > > #1 > > > can someone recommend me a good documentation place, please. I am a > > person > > > who needs an example, mostly. The officail documentation does not > help me > > > often, it seems to me it uses the same word for explaining itself. > > normaly > > > I > > > am not so bad in abstraction... > > > > > > It gets irritating when i get completly different results doing > exact as > > in > > > the official documentation, example translation. I can tell more, but > > don't > > > want to go off topic. I am aware of that the documentation is as > complex > > as > > > the programming itself, have been through that many times in my > job life, > > > so > > > you have my understanding. Thanks in advance. > > > > > > #2 > > > Would it be any help if I write some small projects, with which > can help > > > newbies? (like me. I am not a newbie for real, was with gambas very > > early, > > > but had brakes, due to illness). I find the small sniplets very > useful, > > > sometimes only one line gives the aha-effect. I am mostly into using > > mysql > > > with direct access, not the built in objects.( oldfashioned, almost > > > prehistoric, line by line programmer who likes the full control) > . In > > the > > > moment I make a project I call Sniplets: reading out the > structures of a > > > mysql (or any DB), and prepare them for easy to make formulas for the > > data > > > handling on this table. If done well, a new programm is made in > 0.5 secs, > > > avoding very much boring typing. In phpmyadmin one can do it too, but > > this > > > is a little more advanced. I plan one easy template and one some more > > > complex to use in combination with Sniplets (i called). To be > clearer, > > > Sniplet is a code generator. > > > > > > Many have given me help, not at least Beno?t, thanks to you!, whom > I must > > > have made desperate with tiny things. I want to give something > back, the > > > humble things I can, meassured against the huge project Gambas > grew up > > to. > > > > > > kind regards > > > Dag > > > > > > > > > > > > -- > > > View this message in context: http://gambas.8142.n7.nabble. > > > com/Documentation-2-things-tp57577.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 > > > ------------------------------------------------------------------------------ > > 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/Documentation-2-things-tp57577p57582.html > > To unsubscribe from Documentation, 2 things, click here > . > NAML > > -- View this message in context: http://gambas.8142.n7.nabble.com/Documentation-2-things-tp57577p57583.html Sent from the gambas-user mailing list archive at Nabble.com. From mckaygerhard at ...626... Mon Oct 17 01:34:16 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sun, 16 Oct 2016 19:34:16 -0400 Subject: [Gambas-user] Documentation, 2 things In-Reply-To: <9f582bbd-9e90-e066-9012-24e72997917c@...3591...> References: <1476565809239-57577.post@...3046...> <9f582bbd-9e90-e066-9012-24e72997917c@...3591...> Message-ID: hi Dig and Jbsan, Dig i recomended personally the jbsan blog course.. its the only cource with a timeline based on learn for beginners the site from jbsan its the best, its a great course for beginners i think if a oficial course will be made in near future, jbsan mus be the right men, the choose one for manage the direction of... Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2016-10-16 17:03 GMT-04:00 dag : > Hi Fabien, > > I am sure I do not have the grand overview like you, but I can definitly > tell what i miss. I have programmed frontends for 30 years, not into > systemprogramming. I had about 5 years of gambas-break, and was stunned > over how fast things was growing. only the wast of objects is suprising, > and also suprisingly good, I feel humble to the project. the thought of > the different web-sites taking care of Gambas is good and nice, but a > leading site is really wanted, as you say. also the forums have the lack > of different levels of knowlegde: a newbie often gets abused from other: > why do you not read the manual and so. not very nice. I see in the > gambas-user more respectful taking care, and that i am glad for. i want > to help with this task wherever i can. > > regards > Dag > > Am 16.10.2016 um 21:22 schrieb Fabien Bodard-4 [via Gambas]: > > The truth is we really need an official courses site. Like Julio did it > > must start from the begining ... Learning the basic and programming stuff > > like gambas oo programming. Then from the front page allows the user to > > choose courses on different subject from control using to Linux > > generalities > > Le 16 oct. 2016 13:24, "Julio Sanchez" <[hidden email] > > > a ?crit : > > > > > Hi Dag: > > > In his day believed the website (and still active): > > > > > > http://cursogambas.blogspot.com.es/p/indice.html > > > > > > Has multiple examples and simple projects, applied to each article. > > > > > > The course starts from "0" and ends in design patterns (via GUI, data > > > structures, databases, and even examples with arduino !!). And > > referring to > > > more information on gambaswiki related article. > > > > > > The only flaw: languaje is Spanish > > > > > > But you can help translate the web using google translate > > > > > > regards > > > > > > Jsbsan > > > > > > 2016-10-15 23:10 GMT+02:00 dag <[hidden email] > > >: > > > > > > > hello, > > > > > > > > #1 > > > > can someone recommend me a good documentation place, please. I am a > > > person > > > > who needs an example, mostly. The officail documentation does not > > help me > > > > often, it seems to me it uses the same word for explaining itself. > > > normaly > > > > I > > > > am not so bad in abstraction... > > > > > > > > It gets irritating when i get completly different results doing > > exact as > > > in > > > > the official documentation, example translation. I can tell more, but > > > don't > > > > want to go off topic. I am aware of that the documentation is as > > complex > > > as > > > > the programming itself, have been through that many times in my > > job life, > > > > so > > > > you have my understanding. Thanks in advance. > > > > > > > > #2 > > > > Would it be any help if I write some small projects, with which > > can help > > > > newbies? (like me. I am not a newbie for real, was with gambas very > > > early, > > > > but had brakes, due to illness). I find the small sniplets very > > useful, > > > > sometimes only one line gives the aha-effect. I am mostly into using > > > mysql > > > > with direct access, not the built in objects.( oldfashioned, almost > > > > prehistoric, line by line programmer who likes the full control) > > . In > > > the > > > > moment I make a project I call Sniplets: reading out the > > structures of a > > > > mysql (or any DB), and prepare them for easy to make formulas for the > > > data > > > > handling on this table. If done well, a new programm is made in > > 0.5 secs, > > > > avoding very much boring typing. In phpmyadmin one can do it too, but > > > this > > > > is a little more advanced. I plan one easy template and one some more > > > > complex to use in combination with Sniplets (i called). To be > > clearer, > > > > Sniplet is a code generator. > > > > > > > > Many have given me help, not at least Beno?t, thanks to you!, whom > > I must > > > > have made desperate with tiny things. I want to give something > > back, the > > > > humble things I can, meassured against the huge project Gambas > > grew up > > > to. > > > > > > > > kind regards > > > > Dag > > > > > > > > > > > > > > > > -- > > > > View this message in context: http://gambas.8142.n7.nabble. > > > > com/Documentation-2-things-tp57577.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 > > > > > ------------------------------------------------------------ > ------------------ > > > > 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/Documentation-2-things- > tp57577p57582.html > > > > To unsubscribe from Documentation, 2 things, click here > > macro=unsubscribe_by_code&node=57577&code=ZGFnQGNkLWJhaGlhLmNvbXw1NzU3N3 > wtOTQ0MTA4MTYy>. > > NAML > > 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> > > > > > > > > -- > View this message in context: http://gambas.8142.n7.nabble. > com/Documentation-2-things-tp57577p57583.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 dag at ...3591... Mon Oct 17 00:29:34 2016 From: dag at ...3591... (dag) Date: Sun, 16 Oct 2016 15:29:34 -0700 (MST) Subject: [Gambas-user] Documentation, 2 things In-Reply-To: References: <1476565809239-57577.post@...3046...> <9f582bbd-9e90-e066-9012-24e72997917c@...3591...> Message-ID: <2c0e0ad0-aa4a-52f1-8b62-6232399f9a38@...3591...> hi but as i learned that the site from jbsan is in spanish. i love spanish, even live there. but for technical reasons i think english is better. confess that i cath my selfby programming in german, no good thing if sharing with others.( i know i can translate, but the fieldnames...). i will stil go in and look. no more tonight... regards Dag Am 17.10.2016 um 00:12 schrieb PICCORO McKAY Lenz [via Gambas]: > hi Dig and Jbsan, Dig i recomended personally the jbsan blog course.. its > the only cource with a timeline based on learn for beginners > > the site from jbsan its the best, its a great course for beginners > > i think if a oficial course will be made in near future, jbsan mus be the > right men, the choose one for manage the direction of... > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2016-10-16 17:03 GMT-04:00 dag <[hidden email] > >: > > > Hi Fabien, > > > > I am sure I do not have the grand overview like you, but I can > definitly > > tell what i miss. I have programmed frontends for 30 years, not into > > systemprogramming. I had about 5 years of gambas-break, and was stunned > > over how fast things was growing. only the wast of objects is > suprising, > > and also suprisingly good, I feel humble to the project. the thought of > > the different web-sites taking care of Gambas is good and nice, but a > > leading site is really wanted, as you say. also the forums have the > lack > > of different levels of knowlegde: a newbie often gets abused from > other: > > why do you not read the manual and so. not very nice. I see in the > > gambas-user more respectful taking care, and that i am glad for. i want > > to help with this task wherever i can. > > > > regards > > Dag > > > > Am 16.10.2016 um 21:22 schrieb Fabien Bodard-4 [via Gambas]: > > > The truth is we really need an official courses site. Like Julio > did it > > > must start from the begining ... Learning the basic and > programming stuff > > > like gambas oo programming. Then from the front page allows the > user to > > > choose courses on different subject from control using to Linux > > > generalities > > > Le 16 oct. 2016 13:24, "Julio Sanchez" <[hidden email] > > > > a ?crit : > > > > > > > Hi Dag: > > > > In his day believed the website (and still active): > > > > > > > > http://cursogambas.blogspot.com.es/p/indice.html > > > > > > > > Has multiple examples and simple projects, applied to each article. > > > > > > > > The course starts from "0" and ends in design patterns (via GUI, > data > > > > structures, databases, and even examples with arduino !!). And > > > referring to > > > > more information on gambaswiki related article. > > > > > > > > The only flaw: languaje is Spanish > > > > > > > > But you can help translate the web using google translate > > > > > > > > regards > > > > > > > > Jsbsan > > > > > > > > 2016-10-15 23:10 GMT+02:00 dag <[hidden email] > > > >: > > > > > > > > > hello, > > > > > > > > > > #1 > > > > > can someone recommend me a good documentation place, please. I > am a > > > > person > > > > > who needs an example, mostly. The officail documentation does not > > > help me > > > > > often, it seems to me it uses the same word for explaining > itself. > > > > normaly > > > > > I > > > > > am not so bad in abstraction... > > > > > > > > > > It gets irritating when i get completly different results doing > > > exact as > > > > in > > > > > the official documentation, example translation. I can tell > more, but > > > > don't > > > > > want to go off topic. I am aware of that the documentation is as > > > complex > > > > as > > > > > the programming itself, have been through that many times in my > > > job life, > > > > > so > > > > > you have my understanding. Thanks in advance. > > > > > > > > > > #2 > > > > > Would it be any help if I write some small projects, with which > > > can help > > > > > newbies? (like me. I am not a newbie for real, was with gambas > very > > > > early, > > > > > but had brakes, due to illness). I find the small sniplets very > > > useful, > > > > > sometimes only one line gives the aha-effect. I am mostly into > using > > > > mysql > > > > > with direct access, not the built in objects.( oldfashioned, > almost > > > > > prehistoric, line by line programmer who likes the full control) > > > . In > > > > the > > > > > moment I make a project I call Sniplets: reading out the > > > structures of a > > > > > mysql (or any DB), and prepare them for easy to make formulas > for the > > > > data > > > > > handling on this table. If done well, a new programm is made in > > > 0.5 secs, > > > > > avoding very much boring typing. In phpmyadmin one can do it > too, but > > > > this > > > > > is a little more advanced. I plan one easy template and one > some more > > > > > complex to use in combination with Sniplets (i called). To be > > > clearer, > > > > > Sniplet is a code generator. > > > > > > > > > > Many have given me help, not at least Beno?t, thanks to you!, > whom > > > I must > > > > > have made desperate with tiny things. I want to give something > > > back, the > > > > > humble things I can, meassured against the huge project Gambas > > > grew up > > > > to. > > > > > > > > > > kind regards > > > > > Dag > > > > > > > > > > > > > > > > > > > > -- > > > > > View this message in context: http://gambas.8142.n7.nabble. > > > > > com/Documentation-2-things-tp57577.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 > > > > > > > ------------------------------------------------------------ > > ------------------ > > > > > > 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/Documentation-2-things- > > tp57577p57582.html > > > > > > To unsubscribe from Documentation, 2 things, click here > > > > macro=unsubscribe_by_code&node=57577&code=ZGFnQGNkLWJhaGlhLmNvbXw1NzU3N3 > > wtOTQ0MTA4MTYy>. > > > NAML > > > > 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> > > > > > > > > > > > > > > > -- > > View this message in context: http://gambas.8142.n7.nabble. > > com/Documentation-2-things-tp57577p57583.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/Documentation-2-things-tp57577p57584.html > > To unsubscribe from Documentation, 2 things, click here > . > NAML > > -- View this message in context: http://gambas.8142.n7.nabble.com/Documentation-2-things-tp57577p57585.html Sent from the gambas-user mailing list archive at Nabble.com. From rterry at ...1823... Mon Oct 17 02:26:37 2016 From: rterry at ...1823... (richard terry) Date: Mon, 17 Oct 2016 11:26:37 +1100 Subject: [Gambas-user] Incomplete gambas 3.9 install In-Reply-To: References: Message-ID: <8601979a-d20f-1a68-883d-057f97bc3aa6@...1823...> Thanks, didn't see this before I just used the ppa someone had listed previously, it seemed to work fine. richard On 14/10/16 12:56, T Lee Davidson wrote: > Whatever distribution you are using may likely did not automatically install ALL of the Gambas components. For this particular > project, you will probably need to also install the gambas3-gb-desktop and gambas3-gb-media (however they are named in your > distro) components. > > > On 10/13/2016 06:05 PM, richard terry wrote: >> Hi List, >> >> >> Just built a new machine for work and after doing a standard apt-get >> install gambas3 when running my project the error messages missing >> desktop.x11, gb.media and gb.media.form >> >> ?what's going on and how to fix. >> >> >> Thanks >> >> >> richard >> >> >> >> ------------------------------------------------------------------------------ >> 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 shordi at ...626... Mon Oct 17 06:33:08 2016 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Mon, 17 Oct 2016 06:33:08 +0200 Subject: [Gambas-user] A question about WebView In-Reply-To: References: <8fc9a332-95fa-81fa-2ee2-61ae04f114c7@...3488...> Message-ID: Hi Gianluigi: Sorry for the delay but this has been a hard (or good!) weekend for me, no computers at all... ??. I hope the problems of the whilwind are fixed yet in your town. I've seen your code and it's a good javascript based solution but I'm afraid I'm not able to implement it in my proyect. This is the first time I deal with webview component and I prefer to do it whith Gambas. Essentialy the tricky solution I've found is keep the external urls (href tags) of the html text in a string[] and then to replace all with "blind inner links" (: > Lucky you Jorge, > if here in Genoa, today not there had been a whirlwind (no electricity and > discarge notebook :-( ) I (too) would have answered so: > '------------------------------ > Public Sub Form_Open() > > WebView1.HTML = MakeHtml() > > End > > Private Function MakeHtml() As String > > Dim sHtml As String > > sHtml = "" & "\n" > sHtml &= "" & "\n" > sHtml &= "" & "\n" > sHtml &= " onclick=\"myFunction(event)\">Documentation" & "\n" > sHtml &= "" & "\n" > sHtml &= "" & "\n" > sHtml &= "" & "\n" > > Return sHtml > > End > > Public Sub Form_Close() > > Print WebView1.HTML > > End > '-------------------------------------- > It is no good code, but I had come this way. > As I'm starting to study WebView I wanted to ask you, this is how it should > be implemented the script. > Otherwise? > Can you give me any suggestions? > > Regards > Gianluigi > > 2016-10-14 17:25 GMT+02:00 Jorge Carri?n : > > > Well... I think that I've found a workaround only with gambas. (It's a > > little tricky but it works), > > > > Thank you for the answers. > > > > Best Regards > > > > 2016-10-14 15:03 GMT+02:00 Moviga Technologies : > > > > > There might be a way to do it with Gambas, but you can use javascript's > > > preventDefault() > > > > > > http://www.w3schools.com/jsref/event_preventdefault.asp > > > > > > > > > Den 14. okt. 2016 12:15, skrev Jorge Carri?n: > > > > I'm trying to do a control like textEdit, but allowing with links and > > > > images, based on webBrowser example. > > > > > > > > All is done and works fine, but if I create a link ( and > > I > > > > click on it the webview, naturally, follows the link and I loose all > > the > > > > changes on the page. > > > > > > > > I want prevent that behaviour in the way that if user clik on a link > > and > > > > the editable property is true, the webview doesn't follow the link. > > > > > > > > Hope this will be more clear. > > > > > > > > Best Regards > > > > > > > > 2016-10-14 11:39 GMT+02:00 Gianluigi : > > > > > > > >> Hello Jorge, > > > >> I do not understand the question, could you be more specific? > > > >> Thank you > > > >> Gianluigi > > > >> > > > >> 2016-10-13 18:29 GMT+02:00 Jorge Carri?n : > > > >> > > > >>> Is there a way to stop the follow of links in webview when webview > is > > > in > > > >>> "edit mode" (editable=true)? > > > >>> > > > >>> Best Regards > > > >>> ------------------------------------------------------------ > > > >>> ------------------ > > > >>> 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 > > > >> > > > > ------------------------------------------------------------ > > > ------------------ > > > > 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 > > > > > ------------------------------------------------------------ > > ------------------ > > 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 bagonergi at ...626... Mon Oct 17 15:13:34 2016 From: bagonergi at ...626... (Gianluigi) Date: Mon, 17 Oct 2016 15:13:34 +0200 Subject: [Gambas-user] A question about WebView In-Reply-To: References: <8fc9a332-95fa-81fa-2ee2-61ae04f114c7@...3488...> Message-ID: Hi Jorge, I hope you enjoyed. Yes now in Genoa everything is OK. I'll pretend to believe you've enjoyed my bad script, you are very kind. Also I'm venturing for the first time with WebView to create a project for the farm, unfortunately, I realize that I understand very little. I thank you very much for the exhaustive answer, I find the trick brilliant and points for me to new directions. I wait to download your code from the Farm. Have my best regards. Gianluigi 2016-10-17 6:33 GMT+02:00 Jorge Carri?n : > Hi Gianluigi: > > Sorry for the delay but this has been a hard (or good!) weekend for me, no > computers at all... ??. > I hope the problems of the whilwind are fixed yet in your town. > I've seen your code and it's a good javascript based solution but I'm > afraid I'm not able to implement it in my proyect. This is the first time I > deal with webview component and I prefer to do it whith Gambas. > > Essentialy the tricky solution I've found is keep the external urls (href > tags) of the html text in a string[] and then to replace all with "blind > inner links" ( Then the webview acts on that links showing the appropiate cursor undeline > font, etc. but doesn't go anywhere if you click on it. Just show a balloon > with de original url of the link. > When you read de .html property of the control all the replacements are > translated to the original Urls, so you have the html edited. > > I don't know if this is usefull for you, but is what I've done. I'll put it > on gamba's farm soon, I think. > > Best Regards > > 2016-10-14 22:39 GMT+02:00 Gianluigi : > > > Lucky you Jorge, > > if here in Genoa, today not there had been a whirlwind (no electricity > and > > discarge notebook :-( ) I (too) would have answered so: > > '------------------------------ > > Public Sub Form_Open() > > > > WebView1.HTML = MakeHtml() > > > > End > > > > Private Function MakeHtml() As String > > > > Dim sHtml As String > > > > sHtml = "" & "\n" > > sHtml &= "" & "\n" > > sHtml &= "" & "\n" > > sHtml &= " > onclick=\"myFunction(event)\">Documentation" & "\n" > > sHtml &= "" & "\n" > > sHtml &= "" & "\n" > > sHtml &= "" & "\n" > > > > Return sHtml > > > > End > > > > Public Sub Form_Close() > > > > Print WebView1.HTML > > > > End > > '-------------------------------------- > > It is no good code, but I had come this way. > > As I'm starting to study WebView I wanted to ask you, this is how it > should > > be implemented the script. > > Otherwise? > > Can you give me any suggestions? > > > > Regards > > Gianluigi > > > > 2016-10-14 17:25 GMT+02:00 Jorge Carri?n : > > > > > Well... I think that I've found a workaround only with gambas. (It's a > > > little tricky but it works), > > > > > > Thank you for the answers. > > > > > > Best Regards > > > > > > 2016-10-14 15:03 GMT+02:00 Moviga Technologies : > > > > > > > There might be a way to do it with Gambas, but you can use > javascript's > > > > preventDefault() > > > > > > > > http://www.w3schools.com/jsref/event_preventdefault.asp > > > > > > > > > > > > Den 14. okt. 2016 12:15, skrev Jorge Carri?n: > > > > > I'm trying to do a control like textEdit, but allowing with links > and > > > > > images, based on webBrowser example. > > > > > > > > > > All is done and works fine, but if I create a link ( > and > > > I > > > > > click on it the webview, naturally, follows the link and I loose > all > > > the > > > > > changes on the page. > > > > > > > > > > I want prevent that behaviour in the way that if user clik on a > link > > > and > > > > > the editable property is true, the webview doesn't follow the link. > > > > > > > > > > Hope this will be more clear. > > > > > > > > > > Best Regards > > > > > > > > > > 2016-10-14 11:39 GMT+02:00 Gianluigi : > > > > > > > > > >> Hello Jorge, > > > > >> I do not understand the question, could you be more specific? > > > > >> Thank you > > > > >> Gianluigi > > > > >> > > > > >> 2016-10-13 18:29 GMT+02:00 Jorge Carri?n : > > > > >> > > > > >>> Is there a way to stop the follow of links in webview when > webview > > is > > > > in > > > > >>> "edit mode" (editable=true)? > > > > >>> > > > > >>> Best Regards > > > > >>> ------------------------------------------------------------ > > > > >>> ------------------ > > > > >>> 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 > > > > >> > > > > > ------------------------------------------------------------ > > > > ------------------ > > > > > 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 > > > > > > > ------------------------------------------------------------ > > > ------------------ > > > 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 > > > ------------------------------------------------------------ > ------------------ > 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 shordi at ...626... Mon Oct 17 21:11:46 2016 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Mon, 17 Oct 2016 21:11:46 +0200 Subject: [Gambas-user] New update on Gambas Farm Message-ID: I've updloaded a new project in Gambas Farm (the first I upload!). Is a light html Editor control who aims to accomplish the same task than TextEdit, but using html insted of RichText. It allows url and Image links. I have been based on webrowser example from Gambas Farm. It is a component, so you can create the insallation pack and add to you system or jus copy/paste de source code to your proyect. I've translated to French, English ang German... but if there errors is google fault ? I don't speak French or German... Hope will be useful for someone Best Regards From bagonergi at ...626... Mon Oct 17 21:56:58 2016 From: bagonergi at ...626... (Gianluigi) Date: Mon, 17 Oct 2016 21:56:58 +0200 Subject: [Gambas-user] New update on Gambas Farm In-Reply-To: References: Message-ID: Hello Jorge, downloaded, thank you very much. ? Regards Gianluigi 2016-10-17 21:11 GMT+02:00 Jorge Carri?n : > I've updloaded a new project in Gambas Farm (the first I upload!). Is a > light html Editor control who aims to accomplish the same task than > TextEdit, but using html insted of RichText. > It allows url and Image links. I have been based on webrowser example from > Gambas Farm. > > It is a component, so you can create the insallation pack and add to you > system or jus copy/paste de source code to your proyect. > > I've translated to French, English ang German... but if there errors is > google fault ? I don't speak French or German... > > Hope will be useful for someone > > > Best Regards > ------------------------------------------------------------ > ------------------ > 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 mclennan at ...3614... Tue Oct 18 01:01:49 2016 From: mclennan at ...3614... (Piper984) Date: Mon, 17 Oct 2016 16:01:49 -0700 (MST) Subject: [Gambas-user] MediaPlayer bug with AboutToFinish and URL? In-Reply-To: <1475972454172-57518.post@...3046...> References: <1475968997565-57513.post@...3046...> <1475969650670-57516.post@...3046...> <1475972454172-57518.post@...3046...> Message-ID: <1476745309204-57591.post@...3046...> Hi Beno?t, Just checking in to see if you were able to learn any more regarding setting the URI during the about to finish event for the MediaPlayer component? Thanks and regards! -- View this message in context: http://gambas.8142.n7.nabble.com/MediaPlayer-bug-with-AboutToFinish-and-URL-tp57513p57591.html Sent from the gambas-user mailing list archive at Nabble.com. From shordi at ...626... Tue Oct 18 12:08:24 2016 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Tue, 18 Oct 2016 12:08:24 +0200 Subject: [Gambas-user] New update on Gambas Farm In-Reply-To: References: Message-ID: ??KISS!! Keep It Simple Stupid!! The htEdit 1.0.6 version does very tricky things in order to prevent webview to follow the externals Links. I forgot the wonderfull simplicity of STOP EVENT sentence... (Here comes the "Stupid" word). I've Updated to 1.0.7 Version in Gambas's Farm. Much more simple and solid. Sorry about the noise, GianLuigi. Best Regards 2016-10-17 21:11 GMT+02:00 Jorge Carri?n : > I've updloaded a new project in Gambas Farm (the first I upload!). Is a > light html Editor control who aims to accomplish the same task than > TextEdit, but using html insted of RichText. > It allows url and Image links. I have been based on webrowser example > from Gambas Farm. > > It is a component, so you can create the insallation pack and add to you > system or jus copy/paste de source code to your proyect. > > I've translated to French, English ang German... but if there errors is > google fault ? I don't speak French or German... > > Hope will be useful for someone > > > Best Regards > From bagonergi at ...626... Tue Oct 18 13:10:59 2016 From: bagonergi at ...626... (Gianluigi) Date: Tue, 18 Oct 2016 13:10:59 +0200 Subject: [Gambas-user] New update on Gambas Farm In-Reply-To: References: Message-ID: Hi Jorge, Upgraded, thanks. :-) Regards Gianluigi 2016-10-18 12:08 GMT+02:00 Jorge Carri?n : > ??KISS!! Keep It Simple Stupid!! > > The htEdit 1.0.6 version does very tricky things in order to prevent > webview to follow the externals Links. I forgot the wonderfull simplicity > of STOP EVENT sentence... (Here comes the "Stupid" word). > I've Updated to 1.0.7 Version in Gambas's Farm. Much more simple and solid. > Sorry about the noise, GianLuigi. > > Best Regards > > 2016-10-17 21:11 GMT+02:00 Jorge Carri?n : > > > I've updloaded a new project in Gambas Farm (the first I upload!). Is a > > light html Editor control who aims to accomplish the same task than > > TextEdit, but using html insted of RichText. > > It allows url and Image links. I have been based on webrowser example > > from Gambas Farm. > > > > It is a component, so you can create the insallation pack and add to you > > system or jus copy/paste de source code to your proyect. > > > > I've translated to French, English ang German... but if there errors is > > google fault ? I don't speak French or German... > > > > Hope will be useful for someone > > > > > > Best Regards > > > ------------------------------------------------------------ > ------------------ > 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... Tue Oct 18 14:28:49 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 18 Oct 2016 14:28:49 +0200 Subject: [Gambas-user] MediaPlayer bug with AboutToFinish and URL? In-Reply-To: <1476745309204-57591.post@...3046...> References: <1475968997565-57513.post@...3046...> <1475969650670-57516.post@...3046...> <1475972454172-57518.post@...3046...> <1476745309204-57591.post@...3046...> Message-ID: <1c306a9c-cc89-789d-5de1-605c2bb907df@...1...> Le 18/10/2016 ? 01:01, Piper984 a ?crit : > Hi Beno?t, > > Just checking in to see if you were able to learn any more regarding setting > the URI during the about to finish event for the MediaPlayer component? > > Thanks and regards! > I started working on the problem, but just to not be able to reproduce yours, but find other ones. At the moment, when I try to change the URL property, GStreamer deadlocks, and the program freezes. Maybe it's gb.media code's fault, but I didn't found what is wrong in it yet. Regards, -- Beno?t Minisini From mclennan at ...3614... Tue Oct 18 13:18:10 2016 From: mclennan at ...3614... (Piper984) Date: Tue, 18 Oct 2016 04:18:10 -0700 (MST) Subject: [Gambas-user] MediaPlayer bug with AboutToFinish and URL? In-Reply-To: <1c306a9c-cc89-789d-5de1-605c2bb907df@...1...> References: <1475968997565-57513.post@...3046...> <1475969650670-57516.post@...3046...> <1475972454172-57518.post@...3046...> <1476745309204-57591.post@...3046...> <1c306a9c-cc89-789d-5de1-605c2bb907df@...1...> Message-ID: <1476789490892-57595.post@...3046...> OK, thanks for continuing to look into it! In case it helps: Below is a Python script + Gstreamer lib where setting the URL property behaves as expected. It just toggles between playing two video clips, setting the URL property when the 'about-to-finish' event fires. Not sure if this will be of any use, but it might? I ran this script w/ Ubuntu 16.04 and GStreamer 1.8.2, which is a different system than the one I originally asked about. I have confirmed that running Gambas 3.9.0 on the same system that the Python script below runs doesn't behave as expected. Thanks again! #!/usr/bin/env python import sys, os import gi gi.require_version('Gst', '1.0') gi.require_version('Gtk', '3.0') gi.require_version('GstVideo', '1.0') from gi.repository import Gst, GObject, Gtk # Needed for window.get_xid(), xvimagesink.set_window_handle(), respectively: from gi.repository import GdkX11, GstVideo class GTK_Main(object): def __init__(self): window = Gtk.Window(Gtk.WindowType.TOPLEVEL) window.set_title("Video-Player") window.set_default_size(500, 400) window.connect("destroy", Gtk.main_quit, "WM destroy") vbox = Gtk.VBox() window.add(vbox) hbox = Gtk.HBox() vbox.pack_start(hbox, False, False, 0) self.entry = Gtk.Entry() hbox.add(self.entry) self.button = Gtk.Button("Start") hbox.pack_start(self.button, False, False, 0) self.button.connect("clicked", self.start_stop) self.movie_window = Gtk.DrawingArea() vbox.add(self.movie_window) window.show_all() self.iPos = 0 self.player = Gst.ElementFactory.make("playbin", "player") bus = self.player.get_bus() bus.add_signal_watch() bus.enable_sync_message_emission() bus.connect("message", self.on_message) bus.connect("sync-message::element", self.on_sync_message) self.player.connect("about-to-finish", self.finished) def finished(self, player): print "About to Finish" if self.iPos == 0: self.player.set_property("uri", "file:///home/chris/Desktop/test5.mp4" ) self.iPos = 1 else: self.player.set_property("uri", "file:///home/chris/Desktop/output.mp4" ) self.iPos = 0 def start_stop(self, w): if self.button.get_label() == "Start": filepath = self.entry.get_text().strip() if os.path.isfile(filepath): filepath = os.path.realpath(filepath) self.button.set_label("Stop") self.player.set_property("uri", "file:///home/chris/Desktop/output.mp4" ) self.player.set_state(Gst.State.PLAYING) else: self.player.set_state(Gst.State.NULL) self.button.set_label("Start") def on_message(self, bus, message): t = message.type if t == Gst.MessageType.EOS: self.player.set_state(Gst.State.NULL) self.button.set_label("Start") elif t == Gst.MessageType.ERROR: self.player.set_state(Gst.State.NULL) err, debug = message.parse_error() print "Error: %s" % err, debug self.button.set_label("Start") def on_sync_message(self, bus, message): if message.get_structure().get_name() == 'prepare-window-handle': imagesink = message.src imagesink.set_property("force-aspect-ratio", True) imagesink.set_window_handle(self.movie_window.get_property('window').get_xid()) GObject.threads_init() Gst.init(None) GTK_Main() Gtk.main() -- View this message in context: http://gambas.8142.n7.nabble.com/MediaPlayer-bug-with-AboutToFinish-and-URL-tp57513p57595.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Tue Oct 18 22:23:03 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 18 Oct 2016 22:23:03 +0200 Subject: [Gambas-user] MediaPlayer bug with AboutToFinish and URL? In-Reply-To: <1476789490892-57595.post@...3046...> References: <1475968997565-57513.post@...3046...> <1475969650670-57516.post@...3046...> <1475972454172-57518.post@...3046...> <1476745309204-57591.post@...3046...> <1c306a9c-cc89-789d-5de1-605c2bb907df@...1...> <1476789490892-57595.post@...3046...> Message-ID: Le 18/10/2016 ? 13:18, Piper984 a ?crit : > OK, thanks for continuing to look into it! > > In case it helps: Below is a Python script + Gstreamer lib where setting the > URL property behaves as expected. It just toggles between playing two video > clips, setting the URL property when the 'about-to-finish' event fires. Not > sure if this will be of any use, but it might? I ran this script w/ Ubuntu > 16.04 and GStreamer 1.8.2, which is a different system than the one I > originally asked about. I have confirmed that running Gambas 3.9.0 on the > same system that the Python script below runs doesn't behave as expected. > > Thanks again! > Can you send the python code as a file attachment? Thanks. -- Beno?t Minisini From gambas at ...1... Wed Oct 19 03:05:54 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 19 Oct 2016 03:05:54 +0200 Subject: [Gambas-user] MediaPlayer bug with AboutToFinish and URL? In-Reply-To: <1476789490892-57595.post@...3046...> References: <1475968997565-57513.post@...3046...> <1475969650670-57516.post@...3046...> <1475972454172-57518.post@...3046...> <1476745309204-57591.post@...3046...> <1c306a9c-cc89-789d-5de1-605c2bb907df@...1...> <1476789490892-57595.post@...3046...> Message-ID: <1c3e3e5f-8516-d048-d1e3-a700746a3e5b@...1...> Le 18/10/2016 ? 13:18, Piper984 a ?crit : > OK, thanks for continuing to look into it! > > In case it helps: Below is a Python script + Gstreamer lib where setting the > URL property behaves as expected. It just toggles between playing two video > clips, setting the URL property when the 'about-to-finish' event fires. Not > sure if this will be of any use, but it might? I ran this script w/ Ubuntu > 16.04 and GStreamer 1.8.2, which is a different system than the one I > originally asked about. I have confirmed that running Gambas 3.9.0 on the > same system that the Python script below runs doesn't behave as expected. > > Thanks again! > OK, I understood the problem: If you want to define the next media to play, you HAVE TO do it during the 'about-to-finish' GStreamer signal, which is not run in the main thread. As Gambas is not multi-threaded, its 'AboutToFinish' event is a delayed version of the 'about-to-finish' signal, raised in the main thread. And apparently, setting the uri outside of the 'about-to-finish' leads to unexpected result, and to deadlock on my system. When I say that GStreamer is an huge sensitive beast... :-/ Now I will try to find a workaround. Regards, -- Beno?t Minisini From bugtracker at ...3416... Wed Oct 19 13:21:28 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 19 Oct 2016 11:21:28 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1020: Desktop _Keyring._put: secret-tool file name inconsistency Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1020&from=L21haW4- Bastian GERMANN reported a new bug. Summary ------- Desktop _Keyring._put: secret-tool file name inconsistency Type : Bug Priority : Low Gambas version : 3.9.90 (TRUNK) Product : GUI components Description ----------- Instead of using secret-tool or the defined $sSecretTool variable, the _put method uses "secret-tools". From bugtracker at ...3416... Wed Oct 19 13:21:50 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 19 Oct 2016 11:21:50 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1020: Desktop _Keyring._put: secret-tool file name inconsistency In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1020&from=L21haW4- Bastian GERMANN added an attachment: gambas3-secret-tool.patch From bugtracker at ...3416... Wed Oct 19 13:22:13 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 19 Oct 2016 11:22:13 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1020: Desktop _Keyring._put: secret-tool file name inconsistency In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1020&from=L21haW4- Comment #1 by Bastian GERMANN: I attached a patch. From bagonergi at ...626... Thu Oct 20 13:48:55 2016 From: bagonergi at ...626... (Gianluigi) Date: Thu, 20 Oct 2016 13:48:55 +0200 Subject: [Gambas-user] Warning Could not connect to Gambas Documentation Message-ID: Warning Could not connect to Gambas Documentation Regards Gianluigi From bagonergi at ...626... Thu Oct 20 13:53:09 2016 From: bagonergi at ...626... (Gianluigi) Date: Thu, 20 Oct 2016 13:53:09 +0200 Subject: [Gambas-user] Warning Could not connect to Gambas Documentation In-Reply-To: References: Message-ID: Warning! Also Documentation inaccessible. Regards Gianluigi 2016-10-20 13:48 GMT+02:00 Gianluigi : > Warning Could not connect to Gambas Documentation > > Regards > Gianluigi > From bagonergi at ...626... Thu Oct 20 13:55:55 2016 From: bagonergi at ...626... (Gianluigi) Date: Thu, 20 Oct 2016 13:55:55 +0200 Subject: [Gambas-user] Warning Could not connect to Gambas Documentation In-Reply-To: References: Message-ID: I wanted to write "Help" Sorry 2016-10-20 13:53 GMT+02:00 Gianluigi : > Warning! > Also Documentation inaccessible. > Regards > Gianluigi > > 2016-10-20 13:48 GMT+02:00 Gianluigi : > >> Warning Could not connect to Gambas Documentation >> >> Regards >> Gianluigi >> > > From gambas at ...1... Thu Oct 20 14:29:24 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 20 Oct 2016 14:29:24 +0200 Subject: [Gambas-user] Warning Could not connect to Gambas Documentation In-Reply-To: References: Message-ID: Le 20/10/2016 ? 13:55, Gianluigi a ?crit : > I wanted to write "Help" > Sorry > It should be ok now. Regards, -- Beno?t Minisini From bagonergi at ...626... Thu Oct 20 22:01:49 2016 From: bagonergi at ...626... (Gianluigi) Date: Thu, 20 Oct 2016 22:01:49 +0200 Subject: [Gambas-user] Warning Could not connect to Gambas Documentation In-Reply-To: References: Message-ID: Excuse was not at home, now everything is OK. Thank you. Gianluigi 2016-10-20 14:29 GMT+02:00 Beno?t Minisini : > Le 20/10/2016 ? 13:55, Gianluigi a ?crit : > > I wanted to write "Help" > > Sorry > > > > It should be ok now. > > 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 gambas at ...1... Fri Oct 21 04:14:07 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 21 Oct 2016 04:14:07 +0200 Subject: [Gambas-user] MediaPlayer bug with AboutToFinish and URL? In-Reply-To: <1c3e3e5f-8516-d048-d1e3-a700746a3e5b@...1...> References: <1475968997565-57513.post@...3046...> <1475969650670-57516.post@...3046...> <1475972454172-57518.post@...3046...> <1476745309204-57591.post@...3046...> <1c306a9c-cc89-789d-5de1-605c2bb907df@...1...> <1476789490892-57595.post@...3046...> <1c3e3e5f-8516-d048-d1e3-a700746a3e5b@...1...> Message-ID: <08be640b-146e-19ed-979c-7cde25383d14@...1...> Le 19/10/2016 ? 03:05, Beno?t Minisini a ?crit : > > Now I will try to find a workaround. > > Regards, > Hi, The workaround is in revision #7933. That leads to a simplification of the MediaView control of the gb.media.form component, committed in revision #7934. Please try it and tell me the result. If it is ok, I will put these changes in the upcoming 3.9.2 release. Regards, -- Beno?t Minisini From josemaria at ...3618... Fri Oct 21 13:16:06 2016 From: josemaria at ...3618... (josemaria at ...3618...) Date: Fri, 21 Oct 2016 13:16:06 +0200 Subject: [Gambas-user] Play videos in youtube Webview with gb.qt4.webkit. Message-ID: <141df114ea47a48a7b6050f3d1d2186d@...3618...> Hi, i've been trying to play the videos example browser but always returns error. I have Gambas 3 3.7.1 installed with Ubuntu 14.04 LTS (lubuntu) in a Raspberry Pi 2. Is it possible reproducor youtube videos in any higher version? Thank you. From mclennan at ...3614... Sat Oct 22 12:51:01 2016 From: mclennan at ...3614... (Piper984) Date: Sat, 22 Oct 2016 03:51:01 -0700 (MST) Subject: [Gambas-user] MediaPlayer bug with AboutToFinish and URL? In-Reply-To: <08be640b-146e-19ed-979c-7cde25383d14@...1...> References: <1475968997565-57513.post@...3046...> <1475969650670-57516.post@...3046...> <1475972454172-57518.post@...3046...> <1476745309204-57591.post@...3046...> <1c306a9c-cc89-789d-5de1-605c2bb907df@...1...> <1476789490892-57595.post@...3046...> <1c3e3e5f-8516-d048-d1e3-a700746a3e5b@...1...> <08be640b-146e-19ed-979c-7cde25383d14@...1...> Message-ID: <1477133461839-57609.post@...3046...> Hi Beno?t, Hi pulled down the #7934 release from SourceForge and built+installed successfully. 3.9.90. I made sure the gb.media component built. Unfortunately when I set the URL during the AboutToFinish event, the next clip didn't play. In the Gambas console this warning was printed: gb.media: warning: could not catch end of stream Which might be of interest to us? I tried with both .mp4 files and .webm format. I compiled under Ubuntu 16.04. Let me know if/how I could help trouble shoot this with you. Thanks! -- View this message in context: http://gambas.8142.n7.nabble.com/MediaPlayer-bug-with-AboutToFinish-and-URL-tp57513p57609.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Sat Oct 22 19:38:49 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 22 Oct 2016 19:38:49 +0200 Subject: [Gambas-user] MediaPlayer bug with AboutToFinish and URL? In-Reply-To: <1477133461839-57609.post@...3046...> References: <1475968997565-57513.post@...3046...> <1475969650670-57516.post@...3046...> <1475972454172-57518.post@...3046...> <1476745309204-57591.post@...3046...> <1c306a9c-cc89-789d-5de1-605c2bb907df@...1...> <1476789490892-57595.post@...3046...> <1c3e3e5f-8516-d048-d1e3-a700746a3e5b@...1...> <08be640b-146e-19ed-979c-7cde25383d14@...1...> <1477133461839-57609.post@...3046...> Message-ID: <9709eae2-9465-dfee-6472-729e062a40dc@...1...> Le 22/10/2016 ? 12:51, Piper984 a ?crit : > Hi Beno?t, > > Hi pulled down the #7934 release from SourceForge and built+installed > successfully. 3.9.90. I made sure the gb.media component built. > > Unfortunately when I set the URL during the AboutToFinish event, the next > clip didn't play. In the Gambas console this warning was printed: > > gb.media: warning: could not catch end of stream > > Which might be of interest to us? I tried with both .mp4 files and .webm > format. > > I compiled under Ubuntu 16.04. Let me know if/how I could help trouble > shoot this with you. > > Thanks! > Please the your project you used for testing. As for the warning, it means that when the video/audio stream ends, GStreamer didn't emit the message as it should according to the documentation. Regards, -- Beno?t Minisini From gambas at ...1... Sat Oct 22 20:20:51 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 22 Oct 2016 20:20:51 +0200 Subject: [Gambas-user] MediaPlayer bug with AboutToFinish and URL? In-Reply-To: <9709eae2-9465-dfee-6472-729e062a40dc@...1...> References: <1475968997565-57513.post@...3046...> <1475969650670-57516.post@...3046...> <1475972454172-57518.post@...3046...> <1476745309204-57591.post@...3046...> <1c306a9c-cc89-789d-5de1-605c2bb907df@...1...> <1476789490892-57595.post@...3046...> <1c3e3e5f-8516-d048-d1e3-a700746a3e5b@...1...> <08be640b-146e-19ed-979c-7cde25383d14@...1...> <1477133461839-57609.post@...3046...> <9709eae2-9465-dfee-6472-729e062a40dc@...1...> Message-ID: Le 22/10/2016 ? 19:38, Beno?t Minisini a ?crit : > > Please the your project you used for testing. oops --> Please send the project you used for testing -- Beno?t Minisini From mclennan at ...3614... Mon Oct 24 12:39:47 2016 From: mclennan at ...3614... (Piper984) Date: Mon, 24 Oct 2016 03:39:47 -0700 (MST) Subject: [Gambas-user] MediaPlayer bug with AboutToFinish and URL? In-Reply-To: References: <1475972454172-57518.post@...3046...> <1476745309204-57591.post@...3046...> <1c306a9c-cc89-789d-5de1-605c2bb907df@...1...> <1476789490892-57595.post@...3046...> <1c3e3e5f-8516-d048-d1e3-a700746a3e5b@...1...> <08be640b-146e-19ed-979c-7cde25383d14@...1...> <1477133461839-57609.post@...3046...> <9709eae2-9465-dfee-6472-729e062a40dc@...1...> Message-ID: <1477305587133-57612.post@...3046...> prjVideoTest01.tar Hi Beno?t, attached is src of my test application. Thanks! -- View this message in context: http://gambas.8142.n7.nabble.com/MediaPlayer-bug-with-AboutToFinish-and-URL-tp57513p57612.html Sent from the gambas-user mailing list archive at Nabble.com. From mclennan at ...3614... Wed Oct 26 22:14:15 2016 From: mclennan at ...3614... (Piper984) Date: Wed, 26 Oct 2016 13:14:15 -0700 (MST) Subject: [Gambas-user] MediaPlayer bug with AboutToFinish and URL? In-Reply-To: <1477305587133-57612.post@...3046...> References: <1475972454172-57518.post@...3046...> <1476745309204-57591.post@...3046...> <1c306a9c-cc89-789d-5de1-605c2bb907df@...1...> <1476789490892-57595.post@...3046...> <1c3e3e5f-8516-d048-d1e3-a700746a3e5b@...1...> <08be640b-146e-19ed-979c-7cde25383d14@...1...> <1477133461839-57609.post@...3046...> <9709eae2-9465-dfee-6472-729e062a40dc@...1...> <1477305587133-57612.post@...3046...> Message-ID: <1477512855218-57614.post@...3046...> Hi Beno?t, Touching base here to see if you had a chance to pull down the source I uploaded? Any update? Anything I can do to help? Regards! -- View this message in context: http://gambas.8142.n7.nabble.com/MediaPlayer-bug-with-AboutToFinish-and-URL-tp57513p57614.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Thu Oct 27 01:12:29 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 27 Oct 2016 01:12:29 +0200 Subject: [Gambas-user] MediaPlayer bug with AboutToFinish and URL? In-Reply-To: <1477512855218-57614.post@...3046...> References: <1475972454172-57518.post@...3046...> <1476745309204-57591.post@...3046...> <1c306a9c-cc89-789d-5de1-605c2bb907df@...1...> <1476789490892-57595.post@...3046...> <1c3e3e5f-8516-d048-d1e3-a700746a3e5b@...1...> <08be640b-146e-19ed-979c-7cde25383d14@...1...> <1477133461839-57609.post@...3046...> <9709eae2-9465-dfee-6472-729e062a40dc@...1...> <1477305587133-57612.post@...3046...> <1477512855218-57614.post@...3046...> Message-ID: <047c0962-ee1a-00c1-07f0-d07f757ae747@...1...> Le 26/10/2016 ? 22:14, Piper984 a ?crit : > Hi Beno?t, > > Touching base here to see if you had a chance to pull down the source I > uploaded? Any update? Anything I can do to help? > > Regards! > Your project is apparently not complete and so unusable. Please send a usable project, and archive it with the IDE "make -> source archive" menu entry. Regards, -- Beno?t Minisini From mclennan at ...3614... Wed Oct 26 23:59:09 2016 From: mclennan at ...3614... (Piper984) Date: Wed, 26 Oct 2016 14:59:09 -0700 (MST) Subject: [Gambas-user] MediaPlayer bug with AboutToFinish and URL? In-Reply-To: <047c0962-ee1a-00c1-07f0-d07f757ae747@...1...> References: <1c306a9c-cc89-789d-5de1-605c2bb907df@...1...> <1476789490892-57595.post@...3046...> <1c3e3e5f-8516-d048-d1e3-a700746a3e5b@...1...> <08be640b-146e-19ed-979c-7cde25383d14@...1...> <1477133461839-57609.post@...3046...> <9709eae2-9465-dfee-6472-729e062a40dc@...1...> <1477305587133-57612.post@...3046...> <1477512855218-57614.post@...3046...> <047c0962-ee1a-00c1-07f0-d07f757ae747@...1...> Message-ID: <1477519149089-57616.post@...3046...> ok: Attached is the file that is produced via Project -> make -> source archive. Thanks! prjVideoTest01-0.gz -- View this message in context: http://gambas.8142.n7.nabble.com/MediaPlayer-bug-with-AboutToFinish-and-URL-tp57513p57616.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Thu Oct 27 01:37:46 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 27 Oct 2016 01:37:46 +0200 Subject: [Gambas-user] MediaPlayer bug with AboutToFinish and URL? In-Reply-To: <1477519149089-57616.post@...3046...> References: <1c306a9c-cc89-789d-5de1-605c2bb907df@...1...> <1476789490892-57595.post@...3046...> <1c3e3e5f-8516-d048-d1e3-a700746a3e5b@...1...> <08be640b-146e-19ed-979c-7cde25383d14@...1...> <1477133461839-57609.post@...3046...> <9709eae2-9465-dfee-6472-729e062a40dc@...1...> <1477305587133-57612.post@...3046...> <1477512855218-57614.post@...3046...> <047c0962-ee1a-00c1-07f0-d07f757ae747@...1...> <1477519149089-57616.post@...3046...> Message-ID: Le 26/10/2016 ? 23:59, Piper984 a ?crit : > ok: Attached is the file that is produced via Project -> make -> source > archive. > > Thanks! > > prjVideoTest01-0.gz > > Are you kidding? Your project is still almost void and unusable (no media player in it at all), and did you really create the source archive with the IDE? The IDE creates "tar.gz" files. Regards, -- Beno?t Minisini From gambas at ...1... Thu Oct 27 01:41:52 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 27 Oct 2016 01:41:52 +0200 Subject: [Gambas-user] MediaPlayer bug with AboutToFinish and URL? In-Reply-To: References: <1c306a9c-cc89-789d-5de1-605c2bb907df@...1...> <1476789490892-57595.post@...3046...> <1c3e3e5f-8516-d048-d1e3-a700746a3e5b@...1...> <08be640b-146e-19ed-979c-7cde25383d14@...1...> <1477133461839-57609.post@...3046...> <9709eae2-9465-dfee-6472-729e062a40dc@...1...> <1477305587133-57612.post@...3046...> <1477512855218-57614.post@...3046...> <047c0962-ee1a-00c1-07f0-d07f757ae747@...1...> <1477519149089-57616.post@...3046...> Message-ID: <2f5d5216-352b-e8bc-f995-40c59d07bffa@...1...> Le 27/10/2016 ? 01:37, Beno?t Minisini a ?crit : > Le 26/10/2016 ? 23:59, Piper984 a ?crit : >> ok: Attached is the file that is produced via Project -> make -> source >> archive. >> >> Thanks! >> >> prjVideoTest01-0.gz >> >> > > Are you kidding? Your project is still almost void and unusable (no > media player in it at all), and did you really create the source archive > with the IDE? The IDE creates "tar.gz" files. > > Regards, > Sorry, I found the media player. Can you do the same thing with the MediaView control of gb.web.form? And tell me if it works for you? -- Beno?t Minisini From gambas at ...1... Thu Oct 27 01:43:27 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 27 Oct 2016 01:43:27 +0200 Subject: [Gambas-user] MediaPlayer bug with AboutToFinish and URL? In-Reply-To: <2f5d5216-352b-e8bc-f995-40c59d07bffa@...1...> References: <1c306a9c-cc89-789d-5de1-605c2bb907df@...1...> <1476789490892-57595.post@...3046...> <1c3e3e5f-8516-d048-d1e3-a700746a3e5b@...1...> <08be640b-146e-19ed-979c-7cde25383d14@...1...> <1477133461839-57609.post@...3046...> <9709eae2-9465-dfee-6472-729e062a40dc@...1...> <1477305587133-57612.post@...3046...> <1477512855218-57614.post@...3046...> <047c0962-ee1a-00c1-07f0-d07f757ae747@...1...> <1477519149089-57616.post@...3046...> <2f5d5216-352b-e8bc-f995-40c59d07bffa@...1...> Message-ID: Le 27/10/2016 ? 01:41, Beno?t Minisini a ?crit : > Le 27/10/2016 ? 01:37, Beno?t Minisini a ?crit : >> Le 26/10/2016 ? 23:59, Piper984 a ?crit : >>> ok: Attached is the file that is produced via Project -> make -> source >>> archive. >>> >>> Thanks! >>> >>> prjVideoTest01-0.gz >>> >>> >> >> Are you kidding? Your project is still almost void and unusable (no >> media player in it at all), and did you really create the source archive >> with the IDE? The IDE creates "tar.gz" files. >> >> Regards, >> > > Sorry, I found the media player. Can you do the same thing with the > MediaView control of gb.web.form? And tell me if it works for you? > By the way: if you want to create a media URL from a local file path, you can use the Media.URL() method. -- Beno?t Minisini From gambas at ...1... Thu Oct 27 01:49:04 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 27 Oct 2016 01:49:04 +0200 Subject: [Gambas-user] MediaPlayer bug with AboutToFinish and URL? In-Reply-To: References: <1c306a9c-cc89-789d-5de1-605c2bb907df@...1...> <1476789490892-57595.post@...3046...> <1c3e3e5f-8516-d048-d1e3-a700746a3e5b@...1...> <08be640b-146e-19ed-979c-7cde25383d14@...1...> <1477133461839-57609.post@...3046...> <9709eae2-9465-dfee-6472-729e062a40dc@...1...> <1477305587133-57612.post@...3046...> <1477512855218-57614.post@...3046...> <047c0962-ee1a-00c1-07f0-d07f757ae747@...1...> <1477519149089-57616.post@...3046...> <2f5d5216-352b-e8bc-f995-40c59d07bffa@...1...> Message-ID: Le 27/10/2016 ? 01:43, Beno?t Minisini a ?crit : > Le 27/10/2016 ? 01:41, Beno?t Minisini a ?crit : >> Le 27/10/2016 ? 01:37, Beno?t Minisini a ?crit : >>> Le 26/10/2016 ? 23:59, Piper984 a ?crit : >>>> ok: Attached is the file that is produced via Project -> make -> source >>>> archive. >>>> >>>> Thanks! >>>> >>>> prjVideoTest01-0.gz >>>> >>>> >>> >>> Are you kidding? Your project is still almost void and unusable (no >>> media player in it at all), and did you really create the source archive >>> with the IDE? The IDE creates "tar.gz" files. >>> >>> Regards, >>> >> >> Sorry, I found the media player. Can you do the same thing with the >> MediaView control of gb.web.form? And tell me if it works for you? >> > > By the way: if you want to create a media URL from a local file path, > you can use the Media.URL() method. > OK, I found. You must use the NextURL property, not the URL property. Setting the URL property directly resets the player, and even can crash GStreamer if it is done while it is finishing a stream. Regards, -- Beno?t Minisini From mclennan at ...3614... Thu Oct 27 00:49:36 2016 From: mclennan at ...3614... (Piper984) Date: Wed, 26 Oct 2016 15:49:36 -0700 (MST) Subject: [Gambas-user] MediaPlayer bug with AboutToFinish and URL? In-Reply-To: References: <9709eae2-9465-dfee-6472-729e062a40dc@...1...> <1477305587133-57612.post@...3046...> <1477512855218-57614.post@...3046...> <047c0962-ee1a-00c1-07f0-d07f757ae747@...1...> <1477519149089-57616.post@...3046...> <2f5d5216-352b-e8bc-f995-40c59d07bffa@...1...> Message-ID: <1477522176006-57621.post@...3046...> Hello Beno?t, Glad you were able to use the archive. FYI: Looks like the Nabble website removes the .tar from the archive, but it's still a valid .tar file. I opened it on 16.04, 14.04, and Mac OSX, and I could see the source files (I did have to turn hidden files off). Regarding gb.media.form and the MediaView control, when setting the .URL during the AboutToFinish() event it is the same as the control from the gb.media component. I see the warning: gb.media: warning: could not catch end of stream ... and the next video clip does not load. I tried the same set of code, but changing the .URL to .NextURL but this just made the app hang at the end of the first clip. The 'END' event didn't fire, but the next URL didn't load either. If I invoked the .Stop() method the warning above will print to the console. If you are seeing this work on your development machine(s), could I ask what video card you use? Could the issue be related to the Intel video card/driver I am using? Although all works as expected w/ Python + Gstreamer library to maybe that's not the case. -- View this message in context: http://gambas.8142.n7.nabble.com/MediaPlayer-bug-with-AboutToFinish-and-URL-tp57513p57621.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Thu Oct 27 02:45:47 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 27 Oct 2016 02:45:47 +0200 Subject: [Gambas-user] MediaPlayer bug with AboutToFinish and URL? In-Reply-To: <1477522176006-57621.post@...3046...> References: <9709eae2-9465-dfee-6472-729e062a40dc@...1...> <1477305587133-57612.post@...3046...> <1477512855218-57614.post@...3046...> <047c0962-ee1a-00c1-07f0-d07f757ae747@...1...> <1477519149089-57616.post@...3046...> <2f5d5216-352b-e8bc-f995-40c59d07bffa@...1...> <1477522176006-57621.post@...3046...> Message-ID: Le 27/10/2016 ? 00:49, Piper984 a ?crit : > Hello Beno?t, > > Glad you were able to use the archive. FYI: Looks like the Nabble website > removes the .tar from the archive, but it's still a valid .tar file. I > opened it on 16.04, 14.04, and Mac OSX, and I could see the source files (I > did have to turn hidden files off). > > Regarding gb.media.form and the MediaView control, when setting the .URL > during the AboutToFinish() event it is the same as the control from the > gb.media component. I see the warning: > > gb.media: warning: could not catch end of stream > > ... and the next video clip does not load. I tried the same set of code, > but changing the .URL to .NextURL but this just made the app hang at the end > of the first clip. The 'END' event didn't fire, but the next URL didn't > load either. If I invoked the .Stop() method the warning above will print > to the console. > > If you are seeing this work on your development machine(s), could I ask what > video card you use? Could the issue be related to the Intel video > card/driver I am using? Although all works as expected w/ Python + > Gstreamer library to maybe that's not the case. > I just took your code, replaced .URL by .NextURL inside the AboutToFinish event handler, and the two media URLs by URLs that exist on my disk. And things worked as expected. The End event is raised (according to the documentation) when the player finishes all its job. Not when a stream ends. If your streams are not too big, maybe you can send them? Or put them on a server so that I can get and test them. I have an Intel GPU on Ubuntu 16.04. Regards, -- Beno?t Minisini From mclennan at ...3614... Thu Oct 27 01:30:13 2016 From: mclennan at ...3614... (Piper984) Date: Wed, 26 Oct 2016 16:30:13 -0700 (MST) Subject: [Gambas-user] MediaPlayer bug with AboutToFinish and URL? In-Reply-To: <1477522176006-57621.post@...3046...> References: <1477305587133-57612.post@...3046...> <1477512855218-57614.post@...3046...> <047c0962-ee1a-00c1-07f0-d07f757ae747@...1...> <1477519149089-57616.post@...3046...> <2f5d5216-352b-e8bc-f995-40c59d07bffa@...1...> <1477522176006-57621.post@...3046...> Message-ID: <1477524613238-57623.post@...3046...> OK: attached are some sample clips. These might be the most uninteresting video clips ever posted on the internet. ;) test1-002.mp4 test1-003.mp4 test1-004.mp4 -- View this message in context: http://gambas.8142.n7.nabble.com/MediaPlayer-bug-with-AboutToFinish-and-URL-tp57513p57623.html Sent from the gambas-user mailing list archive at Nabble.com. From bugtracker at ...3416... Fri Oct 28 08:44:21 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 28 Oct 2016 06:44:21 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1021: Doing Exec [""] I get segmentation fault Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1021&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- Doing Exec [""] I get segmentation fault Type : Bug Priority : Medium Gambas version : 3.9.90 (TRUNK) Product : Development Environment Description ----------- Doing Exec [""] I get segmentation fault Reproduce the bug: 1) Run project (attach) System information ------------------ [System] Gambas=3.9.90 r7934 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-IHurQQSXvj,guid=e6f70cbe67622590e16e85b3580be0a8 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_IM_MODULE=compose QT_PLATFORM_PLUGIN=lxqt QT_QPA_PLATFORMTHEME=lxqt SAL_USE_VCLPLUGIN=kde4 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=2254 SSH_AUTH_SOCK=/tmp/ssh-OjSI2jXVpfzW/agent.2203 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... Fri Oct 28 08:44:45 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 28 Oct 2016 06:44:45 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1021: Doing Exec [""] I get segmentation fault In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1021&from=L21haW4- Zainudin AHMAD added an attachment: Bug-segf-Exec-0.0.1.tar.gz From bugtracker at ...3416... Fri Oct 28 12:00:54 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 28 Oct 2016 10:00:54 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1019: Crash of 3.9.1 IDE while editing code In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1019&from=L21haW4- Comment #2 by Nigel GERRARD: Could you please confirm that the patch has worked for you and can be closed. Cheers Nigel From bugtracker at ...3416... Fri Oct 28 12:12:25 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 28 Oct 2016 10:12:25 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1021: Doing Exec [""] I get segmentation fault In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1021&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed in revision #7939. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Fri Oct 28 12:14:30 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 28 Oct 2016 10:14:30 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1013: gb.db.odbc new GetRecordCount mechanism seem not work with firebird database In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1013&from=L21haW4- Comment #8 by zxMarce: Christian, Sorry for the time it takes for me to answer. Well, the example code is correct (and I have seen it before), but if you follow the SQLRowCount() link in the explanatory text you get to the call's documentation, which says: SQLRowCount returns the number of rows affected by INSERT, UPDATE or DELETE. Many drivers (but not all) return the number of rows returned by the last executed SELECT statement too. The important bit here is "Many drivers (but not all)". That alone makes an important part of Gambas fail with "some" database engines, and the worst part is that there's no way to know whether the called driver supports or not returning row counts for SELECT statements. What's worse, if you think of it, the call should actually always fail for SELECT statements, because on a multithreaded multiuser RDBMS, there's always the chance that another thread/user adds or deletes records while your SELECT runs, making the call lie to you! Let me find out what to do by installing a FB DB and its ODBC driver as I said earlier. I guess I'll use some sort of IF statement. When I get a SQLRowCount() of -1 (the default value for MSSQL if memory serves), I'll make the component call my alternate routine; otherwise, I'll keep what SQLRowCount() returns. But before implementing, I must test. To mimic your setup as much as possible, please tell me what version of FB Server to get (I'm using Ubuntu 16.04 Desktop, and when I tried to install it I found there are a lot of FB flavors) and where should I get the same ODBC driver you're using if at all possible. Sounds like we have a plan? From bugtracker at ...3416... Fri Oct 28 13:30:16 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 28 Oct 2016 11:30:16 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1022: A little issue with Pop3Client Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1022&from=L21haW4- Jorge CARRI?N reported a new bug. Summary ------- A little issue with Pop3Client Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- Yesterday I did a pop3 mail notificacion project. I haven't use the pop3Client fora long, long, time and I've found it very much improve and better than old. The program uses a timer to check the new mail incoming and there is the stranger thing: doen't seem check the mail server again. I've tried this things: -Set de Client (using settings class), open it (works fine) and left it opened. A Timer send a ping from time to time and another Timer send the open method again to check the incomings mails. Doesn't work, it don't get the new mails -Set de Client, open it, check the incomings and close it. The Timer open and close each time it checks. Doesn't work too. -Set de Client to New Pop3Client, read again the settings and check the mail. This works fine... I don't really know if this is a bug or a expected behaviout, but I think it is, at least, a little weird. Best Regards From bugtracker at ...3416... Fri Oct 28 13:30:25 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 28 Oct 2016 11:30:25 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1022: A little issue with Pop3Client In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1022&from=L21haW4- Jorge CARRI?N added an attachment: avisaMail-0.1.tar.gz From bugtracker at ...3416... Fri Oct 28 13:31:55 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 28 Oct 2016 11:31:55 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1022: A little issue with Pop3Client In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1022&from=L21haW4- Comment #1 by Jorge CARRI?N: The project is in the Gamba's Farm too. From bugtracker at ...3416... Fri Oct 28 15:06:06 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 28 Oct 2016 13:06:06 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1022: A little issue with Pop3Client In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1022&from=L21haW4- Comment #2 by Jorge CARRI?N: As always, I've found a lot of bugs and fix them (still lot of bugs I think) this is the new version (with sound) From bugtracker at ...3416... Fri Oct 28 15:06:23 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 28 Oct 2016 13:06:23 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1022: A little issue with Pop3Client In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1022&from=L21haW4- Jorge CARRI?N added an attachment: avisaMail-0.2.tar.gz From bugtracker at ...3416... Fri Oct 28 15:26:51 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 28 Oct 2016 13:26:51 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1013: gb.db.odbc new GetRecordCount mechanism seem not work with firebird database In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1013&from=L21haW4- Comment #9 by Christian FAURE: Thanks for your time, the response time is not critical for me. My current setup is Firebird 2.5.6 (Classic) with libOdbcFb.so 2.0.2, i've seen an libOdbcFb.so version 2.0.4 available on firebird site. Version 3 of firebird not tested yet. From shordi at ...626... Fri Oct 28 18:01:53 2016 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Fri, 28 Oct 2016 18:01:53 +0200 Subject: [Gambas-user] About trayIcon popupmenu. Message-ID: This is the code of the old trayIcon example from Benoit.. Private $hTrayIcon As TrayIcon Public Sub Main() $hTrayIcon = New TrayIcon As "TrayIcon" $hTrayIcon.Show End Public Sub TrayIcon_MouseDown() $hTrayIcon.Hide End It works for me except the MouseDown event, that works now with Click Event. Ok. There isn't any Form here... How the PopupMenu property is suposed to be implemented? A Menu needs a Form as parent as I know... Best Regards. From bagonergi at ...626... Fri Oct 28 18:49:44 2016 From: bagonergi at ...626... (Gianluigi) Date: Fri, 28 Oct 2016 18:49:44 +0200 Subject: [Gambas-user] About trayIcon popupmenu. In-Reply-To: References: Message-ID: Hi Jorge, not sure I understand. Had you seen this post? [0] Regards Gianluigi [0] http://gambas.8142.n7.nabble.com/Menu-has-no-Click-event-td57442.html 2016-10-28 18:01 GMT+02:00 Jorge Carri?n : > This is the code of the old trayIcon example from Benoit.. > > Private $hTrayIcon As TrayIcon > > Public Sub Main() > > $hTrayIcon = New TrayIcon As "TrayIcon" > $hTrayIcon.Show > > End > > Public Sub TrayIcon_MouseDown() > > $hTrayIcon.Hide > > End > > It works for me except the MouseDown event, that works now with Click > Event. > Ok. > There isn't any Form here... How the PopupMenu property is suposed to be > implemented? A Menu needs a Form as parent as I know... > > Best Regards. > ------------------------------------------------------------ > ------------------ > The Command Line: Reinvented for Modern Developers > Did the resurgence of CLI tooling catch you by surprise? > Reconnect with the command line and become more productive. > Learn the new .NET and ASP.NET CLI. Get your free copy! > http://sdm.link/telerik > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From demosthenesk at ...626... Fri Oct 28 19:08:01 2016 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Fri, 28 Oct 2016 20:08:01 +0300 Subject: [Gambas-user] About trayIcon popupmenu. In-Reply-To: References: Message-ID: See at Application Farm, the VirtualDVD project. It implements the sys tray icon with a popup menu On 10/28/2016 07:49 PM, Gianluigi wrote: > Hi Jorge, > not sure I understand. > Had you seen this post? [0] > Regards > Gianluigi > > [0] http://gambas.8142.n7.nabble.com/Menu-has-no-Click-event-td57442.html > > 2016-10-28 18:01 GMT+02:00 Jorge Carri?n : > >> This is the code of the old trayIcon example from Benoit.. >> >> Private $hTrayIcon As TrayIcon >> >> Public Sub Main() >> >> $hTrayIcon = New TrayIcon As "TrayIcon" >> $hTrayIcon.Show >> >> End >> >> Public Sub TrayIcon_MouseDown() >> >> $hTrayIcon.Hide >> >> End >> >> It works for me except the MouseDown event, that works now with Click >> Event. >> Ok. >> There isn't any Form here... How the PopupMenu property is suposed to be >> implemented? A Menu needs a Form as parent as I know... >> >> Best Regards. >> ------------------------------------------------------------ >> ------------------ >> The Command Line: Reinvented for Modern Developers >> Did the resurgence of CLI tooling catch you by surprise? >> Reconnect with the command line and become more productive. >> Learn the new .NET and ASP.NET CLI. Get your free copy! >> http://sdm.link/telerik >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > The Command Line: Reinvented for Modern Developers > Did the resurgence of CLI tooling catch you by surprise? > Reconnect with the command line and become more productive. > Learn the new .NET and ASP.NET CLI. Get your free copy! > http://sdm.link/telerik > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bugtracker at ...3416... Fri Oct 28 23:54:55 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 28 Oct 2016 21:54:55 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1023: [gb.inotify] doing : hWatchDir = New Watch("") I get segmentation fault Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1023&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- [gb.inotify] doing : hWatchDir = New Watch("") I get segmentation fault Type : Bug Priority : Medium Gambas version : 3.9.90 (TRUNK) Product : Development Environment Description ----------- Doing : hWatchDir = New Watch("") I get segmentation fault Reproduce the Bug : 1) Use gb.inotify component 2) Run project (attach project), I get segmentation fault System information ------------------ [System] Gambas=3.9.90 r7934 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-IHurQQSXvj,guid=e6f70cbe67622590e16e85b3580be0a8 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_IM_MODULE=compose QT_PLATFORM_PLUGIN=lxqt QT_QPA_PLATFORMTHEME=lxqt SAL_USE_VCLPLUGIN=kde4 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=2254 SSH_AUTH_SOCK=/tmp/ssh-OjSI2jXVpfzW/agent.2203 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... Fri Oct 28 23:55:11 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 28 Oct 2016 21:55:11 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1023: [gb.inotify] doing : hWatchDir = New Watch("") I get segmentation fault In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1023&from=L21haW4- Zainudin AHMAD added an attachment: Bug-segf-WatchNew-0.0.1.tar.gz From bugtracker at ...3416... Sat Oct 29 03:26:02 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 29 Oct 2016 01:26:02 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1023: [gb.inotify] doing : hWatchDir = New Watch("") I get segmentation fault In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1023&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Sat Oct 29 03:39:17 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 29 Oct 2016 01:39:17 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1023: [gb.inotify] doing : hWatchDir = New Watch("") I get segmentation fault In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1023&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed in revision #7940. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Sat Oct 29 03:44:01 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 29 Oct 2016 01:44:01 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1020: Desktop _Keyring._put: secret-tool file name inconsistency In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1020&from=L21haW4- Comment #2 by Beno?t MINISINI: Merged in revision #7942. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Sat Oct 29 03:44:55 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 29 Oct 2016 01:44:55 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1019: Crash of 3.9.1 IDE while editing code In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1019&from=L21haW4- Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Sat Oct 29 03:45:16 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 29 Oct 2016 01:45:16 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1014: org.freedesktop.DBus.Properties Method:GetALL not implemented? In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1014&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Working. From bugtracker at ...3416... Sat Oct 29 03:45:49 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 29 Oct 2016 01:45:49 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1016: Packing for ubuntu and debian problem whit some characters in program description. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1016&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From shordi at ...626... Sat Oct 29 10:36:22 2016 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Sat, 29 Oct 2016 10:36:22 +0200 Subject: [Gambas-user] About trayIcon popupmenu. In-Reply-To: References: Message-ID: Gianluigi and Demostenes: I've follow the conversation between both of you and I undestand now. How it works. I was confused because of Benoit old example wich uses a Module instead a Form. I think the trick is to make a little Form with Border=False, transparent=true, skiptaskbar=true, with menu's editor make the popmenu and set the tryIcon property popupmenu as de menu name. Both events Click with left button and the pop of the menu with the right button, works fine. All is clear now. Thank you both very much. Best Regards 2016-10-28 19:08 GMT+02:00 Demosthenes Koptsis : > See at Application Farm, the VirtualDVD project. > > It implements the sys tray icon with a popup menu > > > On 10/28/2016 07:49 PM, Gianluigi wrote: > > Hi Jorge, > > not sure I understand. > > Had you seen this post? [0] > > Regards > > Gianluigi > > > > [0] http://gambas.8142.n7.nabble.com/Menu-has-no-Click-event- > td57442.html > > > > 2016-10-28 18:01 GMT+02:00 Jorge Carri?n : > > > >> This is the code of the old trayIcon example from Benoit.. > >> > >> Private $hTrayIcon As TrayIcon > >> > >> Public Sub Main() > >> > >> $hTrayIcon = New TrayIcon As "TrayIcon" > >> $hTrayIcon.Show > >> > >> End > >> > >> Public Sub TrayIcon_MouseDown() > >> > >> $hTrayIcon.Hide > >> > >> End > >> > >> It works for me except the MouseDown event, that works now with Click > >> Event. > >> Ok. > >> There isn't any Form here... How the PopupMenu property is suposed to be > >> implemented? A Menu needs a Form as parent as I know... > >> > >> Best Regards. > >> ------------------------------------------------------------ > >> ------------------ > >> The Command Line: Reinvented for Modern Developers > >> Did the resurgence of CLI tooling catch you by surprise? > >> Reconnect with the command line and become more productive. > >> Learn the new .NET and ASP.NET CLI. Get your free copy! > >> http://sdm.link/telerik > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > ------------------------------------------------------------ > ------------------ > > The Command Line: Reinvented for Modern Developers > > Did the resurgence of CLI tooling catch you by surprise? > > Reconnect with the command line and become more productive. > > Learn the new .NET and ASP.NET CLI. Get your free copy! > > http://sdm.link/telerik > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------ > ------------------ > The Command Line: Reinvented for Modern Developers > Did the resurgence of CLI tooling catch you by surprise? > Reconnect with the command line and become more productive. > Learn the new .NET and ASP.NET CLI. Get your free copy! > http://sdm.link/telerik > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Sat Oct 29 12:19:19 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 29 Oct 2016 10:19:19 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1024: gb.sdl2.audio bugs Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1024&from=L21haW4- Moviga TECHNOLOGIES reported a new bug. Summary ------- gb.sdl2.audio bugs Type : Bug Priority : Medium Gambas version : 3.9.90 (TRUNK) Product : Unknown Description ----------- I cannot get these to work: If Not Music.Playing Then Music.Play() 'It does not start playing... 'If Music.Stopped Then Music.Play() 'This does not work either Also, when loading a mp3 file, it seems random when it wants to play and when it refuses to do so using Music.Play() See attachment! System information ------------------ [System] Gambas=3.9.90 r7922 OperatingSystem=Linux Kernel=4.4.27-2-MANJARO Architecture=x86_64 Distribution=Manjaro Linux Desktop=KDE5 Theme=Breeze Language=nb_NO.UTF-8 Memory=3580M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.8 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.990.0 GTK+2=libgtk-x11-2.0.so.0.2400.31 GTK+3=libgtk-3.so.0.2200.1 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.63.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.7.0 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=nb_NO.UTF-8 LOGNAME= MAIL=/var/spool/mail/ MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins PAM_KWALLET5_LOGIN=/tmp/kwallet5_.socket PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/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/3524,unix/:/tmp/.ICE-unix/3524 SHELL=/usr/bin/fish 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=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 XDG_SESSION_TYPE=x11 XDG_VTNR=1 _=/usr/lib/kf5/start_kdeinit_wrapper From bugtracker at ...3416... Sat Oct 29 12:19:32 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 29 Oct 2016 10:19:32 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1024: gb.sdl2.audio bugs In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1024&from=L21haW4- Moviga TECHNOLOGIES added an attachment: sdl.audio.bug-0.0.1.tar.gz From bugtracker at ...3416... Sat Oct 29 13:17:22 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 29 Oct 2016 11:17:22 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1019: Crash of 3.9.1 IDE while editing code In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1019&from=L21haW4- Comment #3 by Ron KLINKIEN: The patch fixes the problem I reported, thanks! (tested with revision 7942) From bagonergi at ...626... Sat Oct 29 14:07:02 2016 From: bagonergi at ...626... (Gianluigi) Date: Sat, 29 Oct 2016 14:07:02 +0200 Subject: [Gambas-user] About trayIcon popupmenu. In-Reply-To: References: Message-ID: Jorge, thanks to you, a much more efficient trick of this: Public Sub Form_Show() Me.Visible = False End which I used until now. Regards Gianluigi 2016-10-29 10:36 GMT+02:00 Jorge Carri?n : > Gianluigi and Demostenes: > > I've follow the conversation between both of you and I undestand now. How > it works. I was confused because of Benoit old example wich uses a Module > instead a Form. > > I think the trick is to make a little Form with Border=False, > transparent=true, skiptaskbar=true, with menu's editor make the popmenu and > set the tryIcon property popupmenu as de menu name. > > Both events Click with left button and the pop of the menu with the right > button, works fine. > > All is clear now. Thank you both very much. > > Best Regards > > 2016-10-28 19:08 GMT+02:00 Demosthenes Koptsis : > > > See at Application Farm, the VirtualDVD project. > > > > It implements the sys tray icon with a popup menu > > > > > > On 10/28/2016 07:49 PM, Gianluigi wrote: > > > Hi Jorge, > > > not sure I understand. > > > Had you seen this post? [0] > > > Regards > > > Gianluigi > > > > > > [0] http://gambas.8142.n7.nabble.com/Menu-has-no-Click-event- > > td57442.html > > > > > > 2016-10-28 18:01 GMT+02:00 Jorge Carri?n : > > > > > >> This is the code of the old trayIcon example from Benoit.. > > >> > > >> Private $hTrayIcon As TrayIcon > > >> > > >> Public Sub Main() > > >> > > >> $hTrayIcon = New TrayIcon As "TrayIcon" > > >> $hTrayIcon.Show > > >> > > >> End > > >> > > >> Public Sub TrayIcon_MouseDown() > > >> > > >> $hTrayIcon.Hide > > >> > > >> End > > >> > > >> It works for me except the MouseDown event, that works now with Click > > >> Event. > > >> Ok. > > >> There isn't any Form here... How the PopupMenu property is suposed to > be > > >> implemented? A Menu needs a Form as parent as I know... > > >> > > >> Best Regards. > > >> ------------------------------------------------------------ > > >> ------------------ > > >> The Command Line: Reinvented for Modern Developers > > >> Did the resurgence of CLI tooling catch you by surprise? > > >> Reconnect with the command line and become more productive. > > >> Learn the new .NET and ASP.NET CLI. Get your free copy! > > >> http://sdm.link/telerik > > >> _______________________________________________ > > >> Gambas-user mailing list > > >> Gambas-user at lists.sourceforge.net > > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > >> > > > ------------------------------------------------------------ > > ------------------ > > > The Command Line: Reinvented for Modern Developers > > > Did the resurgence of CLI tooling catch you by surprise? > > > Reconnect with the command line and become more productive. > > > Learn the new .NET and ASP.NET CLI. Get your free copy! > > > http://sdm.link/telerik > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ------------------------------------------------------------ > > ------------------ > > The Command Line: Reinvented for Modern Developers > > Did the resurgence of CLI tooling catch you by surprise? > > Reconnect with the command line and become more productive. > > Learn the new .NET and ASP.NET CLI. Get your free copy! > > http://sdm.link/telerik > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------ > ------------------ > The Command Line: Reinvented for Modern Developers > Did the resurgence of CLI tooling catch you by surprise? > Reconnect with the command line and become more productive. > Learn the new .NET and ASP.NET CLI. Get your free copy! > http://sdm.link/telerik > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Sat Oct 29 17:30:42 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 29 Oct 2016 15:30:42 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1024: gb.sdl2.audio bugs In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1024&from=L21haW4- Comment #1 by Moviga TECHNOLOGIES: Ahh! I found the documentation of the gb.sdl component (it is missing on the gb.sdl2.audio, and I now see that it is not a boolean, but a value that is to be checked with .State. From bugtracker at ...3416... Sat Oct 29 17:30:58 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 29 Oct 2016 15:30:58 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1024: gb.sdl2.audio bugs In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1024&from=L21haW4- Moviga TECHNOLOGIES changed the state of the bug to: Rejected. From shordi at ...626... Sat Oct 29 19:13:16 2016 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Sat, 29 Oct 2016 19:13:16 +0200 Subject: [Gambas-user] About trayIcon popupmenu. In-Reply-To: References: Message-ID: Your're welcome ?? 2016-10-29 14:07 GMT+02:00 Gianluigi : > Jorge, > thanks to you, a much more efficient trick of this: > > Public Sub Form_Show() > > Me.Visible = False > > End > > which I used until now. > > Regards > Gianluigi > > 2016-10-29 10:36 GMT+02:00 Jorge Carri?n : > > > Gianluigi and Demostenes: > > > > I've follow the conversation between both of you and I undestand now. How > > it works. I was confused because of Benoit old example wich uses a Module > > instead a Form. > > > > I think the trick is to make a little Form with Border=False, > > transparent=true, skiptaskbar=true, with menu's editor make the popmenu > and > > set the tryIcon property popupmenu as de menu name. > > > > Both events Click with left button and the pop of the menu with the right > > button, works fine. > > > > All is clear now. Thank you both very much. > > > > Best Regards > > > > 2016-10-28 19:08 GMT+02:00 Demosthenes Koptsis : > > > > > See at Application Farm, the VirtualDVD project. > > > > > > It implements the sys tray icon with a popup menu > > > > > > > > > On 10/28/2016 07:49 PM, Gianluigi wrote: > > > > Hi Jorge, > > > > not sure I understand. > > > > Had you seen this post? [0] > > > > Regards > > > > Gianluigi > > > > > > > > [0] http://gambas.8142.n7.nabble.com/Menu-has-no-Click-event- > > > td57442.html > > > > > > > > 2016-10-28 18:01 GMT+02:00 Jorge Carri?n : > > > > > > > >> This is the code of the old trayIcon example from Benoit.. > > > >> > > > >> Private $hTrayIcon As TrayIcon > > > >> > > > >> Public Sub Main() > > > >> > > > >> $hTrayIcon = New TrayIcon As "TrayIcon" > > > >> $hTrayIcon.Show > > > >> > > > >> End > > > >> > > > >> Public Sub TrayIcon_MouseDown() > > > >> > > > >> $hTrayIcon.Hide > > > >> > > > >> End > > > >> > > > >> It works for me except the MouseDown event, that works now with > Click > > > >> Event. > > > >> Ok. > > > >> There isn't any Form here... How the PopupMenu property is suposed > to > > be > > > >> implemented? A Menu needs a Form as parent as I know... > > > >> > > > >> Best Regards. > > > >> ------------------------------------------------------------ > > > >> ------------------ > > > >> The Command Line: Reinvented for Modern Developers > > > >> Did the resurgence of CLI tooling catch you by surprise? > > > >> Reconnect with the command line and become more productive. > > > >> Learn the new .NET and ASP.NET CLI. Get your free copy! > > > >> http://sdm.link/telerik > > > >> _______________________________________________ > > > >> Gambas-user mailing list > > > >> Gambas-user at lists.sourceforge.net > > > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > >> > > > > ------------------------------------------------------------ > > > ------------------ > > > > The Command Line: Reinvented for Modern Developers > > > > Did the resurgence of CLI tooling catch you by surprise? > > > > Reconnect with the command line and become more productive. > > > > Learn the new .NET and ASP.NET CLI. Get your free copy! > > > > http://sdm.link/telerik > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > ------------------------------------------------------------ > > > ------------------ > > > The Command Line: Reinvented for Modern Developers > > > Did the resurgence of CLI tooling catch you by surprise? > > > Reconnect with the command line and become more productive. > > > Learn the new .NET and ASP.NET CLI. Get your free copy! > > > http://sdm.link/telerik > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------ > > ------------------ > > The Command Line: Reinvented for Modern Developers > > Did the resurgence of CLI tooling catch you by surprise? > > Reconnect with the command line and become more productive. > > Learn the new .NET and ASP.NET CLI. Get your free copy! > > http://sdm.link/telerik > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------ > ------------------ > The Command Line: Reinvented for Modern Developers > Did the resurgence of CLI tooling catch you by surprise? > Reconnect with the command line and become more productive. > Learn the new .NET and ASP.NET CLI. Get your free copy! > http://sdm.link/telerik > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Sat Oct 29 22:19:54 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 29 Oct 2016 20:19:54 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1008: Library window crashes IDE because of double libs In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1008&from=L21haW4- Comment #2 by C THAL: Ahm, I'd like to add a small video, but unfortunately there's no way to add a file here ... I just can add a comment. Ok, but I did what you wanted and it gave me the same error as you can see in the file lib-window-crash.ogv. C THAL changed the state of the bug to: Opened. From bugtracker at ...3416... Sat Oct 29 22:20:10 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 29 Oct 2016 20:20:10 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1008: Library window crashes IDE because of double libs In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1008&from=L21haW4- C THAL added an attachment: idecrash_addinglibrary.ogv From bugtracker at ...3416... Sat Oct 29 22:22:04 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 29 Oct 2016 20:22:04 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1008: Library window crashes IDE because of double libs In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1008&from=L21haW4- Comment #3 by C THAL: Ohh ... key ... now I saw the way to add a file :-) From bugtracker at ...3416... Sat Oct 29 22:39:30 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 29 Oct 2016 20:39:30 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1008: Library window crashes IDE because of double libs In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1008&from=L21haW4- C THAL added an attachment: gambas-libdir.png From bugtracker at ...3416... Sat Oct 29 22:41:13 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 29 Oct 2016 20:41:13 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1008: Library window crashes IDE because of double libs In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1008&from=L21haW4- C THAL added an attachment: local-libdir.png From bugtracker at ...3416... Sat Oct 29 22:41:25 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 29 Oct 2016 20:41:25 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1025: Doing : free(pInt) I get segmentation fault Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1025&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- Doing : free(pInt) I get segmentation fault Type : Bug Priority : Medium Gambas version : 3.9.90 (TRUNK) Product : Development Environment Description ----------- Doing : free(pInt) I get segmentation fault Public Sub Main() Dim pInt As Pointer pInt = Alloc(4) pInt = 2000 Free(pInt) End Reproduce the bug : 1) Run project (attach project) System information ------------------ [System] Gambas=3.9.90 r7934 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-IHurQQSXvj,guid=e6f70cbe67622590e16e85b3580be0a8 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_IM_MODULE=compose QT_PLATFORM_PLUGIN=lxqt QT_QPA_PLATFORMTHEME=lxqt SAL_USE_VCLPLUGIN=kde4 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=2254 SSH_AUTH_SOCK=/tmp/ssh-OjSI2jXVpfzW/agent.2203 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 Oct 29 22:41:58 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 29 Oct 2016 20:41:58 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1025: Doing : free(pInt) I get segmentation fault In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1025&from=L21haW4- Zainudin AHMAD added an attachment: Bug-segf-Free-0.0.1.tar.gz From bugtracker at ...3416... Sat Oct 29 22:44:58 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 29 Oct 2016 20:44:58 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1008: Library window crashes IDE because of double libs In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1008&from=L21haW4- Comment #4 by C THAL: I created the libs in /usr/lib/gambas3/deganius with an own makefile. Maybe I did something wrong? From bugtracker at ...3416... Sat Oct 29 22:49:08 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 29 Oct 2016 20:49:08 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1025: Doing : free(pInt) I get segmentation fault In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1025&from=L21haW4- Comment #1 by Jussi LAHTINEN: The problem is you are trying to free allocation, which is not made in the memory address (2000). I'm not sure if it is possible to test the address validity. From bugtracker at ...3416... Sat Oct 29 23:36:32 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 29 Oct 2016 21:36:32 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1019: Crash of 3.9.1 IDE while editing code In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1019&from=L21haW4- Nigel GERRARD changed the state of the bug to: Fixed. From bugtracker at ...3416... Sun Oct 30 00:36:56 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 29 Oct 2016 22:36:56 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1014: org.freedesktop.DBus.Properties Method:GetALL not implemented? In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1014&from=L21haW4- Comment #3 by Beno?t MINISINI: I confirm that with QDBusViewer, there is no crash, and the GetAll() methods seems to return the expected result. And no, you don't have to implement the GetAll() method, it is automatically implemented by the DBusObject class. The crash strangely occurs when the GetAll() result is sent back to the caller. From bugtracker at ...3416... Sun Oct 30 00:44:42 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 29 Oct 2016 22:44:42 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1014: org.freedesktop.DBus.Properties Method:GetALL not implemented? In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1014&from=L21haW4- Comment #4 by Beno?t MINISINI: I have added debugging information to GetAll() in the revision #7943. Can you use it by setting DB.Debug = True in your project, and return me the debug output when it crashes, and when it does not crash? Thanks! Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Sun Oct 30 00:49:36 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 29 Oct 2016 22:49:36 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1008: Library window crashes IDE because of double libs In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1008&from=L21haW4- Comment #5 by Zainudin AHMAD: I have the same issue /usr/lib/gambas3/hola/libmy-A:0.0.gambas <--- lib A /home/user/.local/share/gambas3/lib/hola/libmy-B:0.0.gambas <--- lib B My Patch: diff -urNaX /tmp/gambas-patch-ignore a/.src/Project/Library/FSelectLibrary.class b/.src/Project/Library/FSelectLibrary.class --- a/.src/Project/Library/FSelectLibrary.class 2016-10-30 05:36:38.000000000 +0700 +++ b/.src/Project/Library/FSelectLibrary.class 2016-10-30 05:38:26.000000000 +0700 @@ -45,7 +45,7 @@ If Not IsDir(sDir) Then Continue For Each sVendor In Dir(sDir, "*", gb.Directory).Sort(gb.Natural) - bParent = False + If Not cvwLibrary.Exist(sVendor) Then bParent = False For Each sLib In Dir(sDir &/ sVendor, "*.gambas", gb.File).Sort(gb.Natural) From bugtracker at ...3416... Sun Oct 30 00:50:05 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 29 Oct 2016 22:50:05 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1008: Library window crashes IDE because of double libs In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1008&from=L21haW4- Zainudin AHMAD added an attachment: gambas3-3.9.90~gambas3-3.9.90.patch From bugtracker at ...3416... Sun Oct 30 01:12:22 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 29 Oct 2016 23:12:22 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1014: org.freedesktop.DBus.Properties Method:GetALL not implemented? In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1014&from=L21haW4- Comment #5 by Zainudin AHMAD: Excuse me, DB.Debug = True ??? From bugtracker at ...3416... Sun Oct 30 02:45:30 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 30 Oct 2016 00:45:30 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1014: org.freedesktop.DBus.Properties Method:GetALL not implemented? In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1014&from=L21haW4- Comment #6 by Beno?t MINISINI: Sorry, I meant DBus.Debug = True. From bugtracker at ...3416... Sun Oct 30 09:38:24 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 30 Oct 2016 08:38:24 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1026: Project cracks with error 11 when trying to acces a menu Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1026&from=L21haW4- Jorge CARRI?N reported a new bug. Summary ------- Project cracks with error 11 when trying to acces a menu Type : Bug Priority : Medium Gambas version : 3.9 Product : Development Environment Description ----------- I want to set enabled=false in a IDE defined menu. Then program crash. See little project attached. Best Regards System information ------------------ [System] Gambas=3.9.1 OperatingSystem=Linux Kernel=4.4.0-45-generic Architecture=x86_64 Distribution=Linux Mint 18 Sarah Desktop=CINNAMON Theme=Cleanlooks Language=es_ES.UTF-8 Memory=15989M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-0.10.so.0.30.0 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] CINNAMON_VERSION=3.0.7 DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-FjjIve45ei,guid=3594d9cff48c3feaccf0cea558159e13 DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path DESKTOP_SESSION=cinnamon DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=cinnamon GDM_XSERVER_LOCATION=local GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=6926 GJS_DEBUG_OUTPUT=stderr GJS_DEBUG_TOPICS=JS ERROR;JS LOG GNOME_DESKTOP_SESSION_ID=this-is-deprecated GTK_MODULES=gail:atk-bridge GTK_OVERLAY_SCROLLING=1 HOME= LANG=es_ES.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path MDMSESSION=cinnamon MDM_LANG=es_ES.UTF-8 MDM_XSERVER_LOCATION=local PATH=/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT_ACCESSIBILITY=1 QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_STYLE_OVERRIDE=gtk SESSION_MANAGER=local/:@/tmp/.ICE-unix/1879,unix/:/tmp/.ICE-unix/1879 SHELL=/bin/bash SSH_AGENT_PID=2909 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=7 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg XDG_CURRENT_DESKTOP=X-Cinnamon XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=2a5d5f96ef9147c0b35535562b32d0ff-1477811727.428601-383312213 XDG_SESSION_DESKTOP=cinnamon XDG_SESSION_ID=c1 XDG_VTNR=7 From bugtracker at ...3416... Sun Oct 30 09:38:31 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 30 Oct 2016 08:38:31 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1026: Project cracks with error 11 when trying to acces a menu In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1026&from=L21haW4- Jorge CARRI?N added an attachment: menuCrack.tar.gz From bugtracker at ...3416... Sun Oct 30 11:05:16 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 30 Oct 2016 10:05:16 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1025: Doing : free(pInt) I get segmentation fault In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1025&from=L21haW4- Comment #2 by Beno?t MINISINI: This is by design. Free() is a just a call to the libc free() method, and so the freed address cannot be checked. Beno?t MINISINI changed the state of the bug to: Rejected. From bugtracker at ...3416... Sun Oct 30 11:08:21 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 30 Oct 2016 10:08:21 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1026: Project cracks with error 11 when trying to acces a menu In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1026&from=L21haW4- Comment #1 by Beno?t MINISINI: It crashes with GTK+, not with QT. But I don't see why you are talking about the Enabled property here. Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Sun Oct 30 11:16:31 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 30 Oct 2016 10:16:31 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1026: Project cracks with error 11 when trying to acces a menu In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1026&from=L21haW4- Comment #2 by Beno?t MINISINI: Fixed in revision #7944. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Sun Oct 30 11:29:32 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 30 Oct 2016 10:29:32 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1022: A little issue with Pop3Client In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1022&from=L21haW4- Comment #3 by Beno?t MINISINI: A Refresh() method was missing in the Pop3Client class. It has been implemented in revision #7945. Without it, you have to close and open the connection each time you want to check the message box. Anyway, I don't think you should keep the connection opened for that. Pop3 graphical client usually open a new connection for each message box check, and the Pop3 server may dislike a client that keep its connection opened for a long time. Try to find what the best practices are in that case. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Sun Oct 30 11:46:25 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 30 Oct 2016 10:46:25 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1016: Packing for ubuntu and debian problem whit some characters in program description. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1016&from=L21haW4- Comment #3 by Beno?t MINISINI: Fixed in revision #7946. Beno?t MINISINI changed the state of the bug to: Fixed. From shordi at ...626... Sun Oct 30 13:48:02 2016 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Sun, 30 Oct 2016 13:48:02 +0100 Subject: [Gambas-user] Feature Request Message-ID: It would be great if Gambas would report of Farm's actualizations on installed projects at start... I think. Best Regards From vuott at ...325... Sun Oct 30 17:03:23 2016 From: vuott at ...325... (Vuott) Date: Sun, 30 Oct 2016 16:03:23 +0000 (UTC) Subject: [Gambas-user] How to use gb.map ".AddPolyLine( )" method ? References: <491242680.1195137.1477843403277.ref@...3424...> Message-ID: <491242680.1195137.1477843403277@...3424...> Hello, is it possible a very simple example of MapView1.Map.AddShape(".....").AddPolyLine(.......) Method ? Regards vuott From bagonergi at ...626... Sun Oct 30 18:04:06 2016 From: bagonergi at ...626... (Gianluigi) Date: Sun, 30 Oct 2016 18:04:06 +0100 Subject: [Gambas-user] How to use gb.map ".AddPolyLine( )" method ? Message-ID: Relaunch this request from Ru Vuott: Hello, is it possible a very simple example of MapView1.Map.AddShape(".....").AddPolyLine(.......) Method ? Regards vuott From adamnt42 at ...626... Mon Oct 31 04:31:40 2016 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Mon, 31 Oct 2016 14:01:40 +1030 Subject: [Gambas-user] Methods on a property? Message-ID: <20161031140140.5b8349a99a728dc27e4927f2@...626...> Probably a dq, but.. Is it possible to write a method, apart from _read and _write, on a property of a class? Specifically, I'd like to implement a boolean function to return true if the property has a specific value. Something along the lines of MyClass.MyDateProperty.IsFuture() which would return true if the current value of the property is a date in the future? There are obvious solutions along the lines of If MyClass.MyDateProperty>Date(Now()), I'm just trying to shortcut coding common checks in the client class. regards Bruce -- B Bruen From alexchernoff at ...67... Mon Oct 31 06:22:37 2016 From: alexchernoff at ...67... (alexchernoff) Date: Sun, 30 Oct 2016 22:22:37 -0700 (MST) Subject: [Gambas-user] Get name of the calling function? Message-ID: <1477891357306-57684.post@...3046...> Hello Gambas users, anyone have any idea how to get the name of the calling function and pass it to logger or complexlogger ? The $(callLocation)] format option shows "[ComplexLogger.Log.60] ", but not where the log was called from. Would be very useful to know which function the log was called from instead of manually adding its name to each log line. Cheers -- View this message in context: http://gambas.8142.n7.nabble.com/Get-name-of-the-calling-function-tp57684.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas.fr at ...626... Mon Oct 31 09:33:34 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 31 Oct 2016 09:33:34 +0100 Subject: [Gambas-user] Feature Request In-Reply-To: References: Message-ID: 2016-10-30 13:48 GMT+01:00 Jorge Carri?n : > It would be great if Gambas would report of Farm's actualizations on > installed projects at start... I think. Maybe not at Ide start but at the farm start... It avoid some slow. > > Best Regards > ------------------------------------------------------------------------------ > The Command Line: Reinvented for Modern Developers > Did the resurgence of CLI tooling catch you by surprise? > Reconnect with the command line and become more productive. > Learn the new .NET and ASP.NET CLI. Get your free copy! > http://sdm.link/telerik > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From bugtracker at ...3416... Mon Oct 31 09:40:24 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 31 Oct 2016 08:40:24 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1014: org.freedesktop.DBus.Properties Method:GetALL not implemented? In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1014&from=L21haW4- Comment #7 by Antonio OREFICE: I never experienced a crash, it is just that the answer to GetAll() is an empty array and i suspect some mpris clients like the kde plasmoid needs that to validate the player. Anyway, there were some errors in the previous example, so i uploaded another here. http://wpage.unina.it/aorefice/sharevari/mpris.tar.gz I tried it with the last gambas revision and set DBus.Debug = True, but i'm experiencing the very same results. Here is what happens: Start the application, plasma already running: ------------------------------------------------------------- gb.dbus: start watching connection gb.dbus: add match: type='method_call',path='/',destination=':1.2385' gb.dbus: add match: type='method_call',path='/org',destination=':1.2385' gb.dbus: add match: type='method_call',path='/org/mpris',destination=':1.2385' gb.dbus: add match: type='method_call',path='/org/mpris/MediaPlayer2',destination=':1.2385' gb.dbus: warning: unhandled message: signal sender=org.freedesktop.DBus -> dest=:1.2385 serial=2 path=/org/freedes ktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired string ":1.2385" gb.dbus: warning: unhandled message: signal sender=org.freedesktop.DBus -> dest=:1.2385 serial=3 path=/org/freedes ktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired string "org.mpris.MediaPlayer2.xt7" gb.dbus: call: [org.mpris.MediaPlayer2.xt7] org.freedesktop.DBus.Properties Get gb.dbus: call: [org.mpris.MediaPlayer2.xt7] org.freedesktop.DBus.Properties Get gb.dbus: call: [org.mpris.MediaPlayer2.xt7] org.freedesktop.DBus.Properties GetAll gb.dbus: GetAll("org.mpris.MediaPlayer2"): ["CanQuit": True, "CanRaise": True, "Identity": xt7-player, "DesktopEnt ry": xt7-player, "HasTrackList": True, "SupportedMimeTypes": (String[] 0x561a9f6bcce8), "SupportedUriSchemes": (St ring[] 0x561a9f6a69e8)] gb.dbus: error: org.freedesktop.Properties.GetAll: Not enough arguments DBusObject.GetAllProperties.539 DBusObject .DBusObserver_Message.612 gb.dbus: call: [org.mpris.MediaPlayer2.xt7] org.freedesktop.DBus.Properties GetAll gb.dbus: GetAll("org.mpris.MediaPlayer2.Player"): ["Rate": 0, "Volume": 10, "CanPlay": False, "CanSeek": False, "S huffle": True, "CanPause": False, "Position": 0, "CanGoNext": False, "CanControl": False, "LoopStatus": Playlist, "MaximumRate": 0, "MinimumRate": 0, "CanGoPrevious": False, "PlaybackStatus": Playing] gb.dbus: call: [org.mpris.MediaPlayer2.xt7] org.freedesktop.DBus.Properties Get gb.dbus: call: [org.mpris.MediaPlayer2.xt7] org.freedesktop.DBus.Properties Get gb.dbus: call: [org.mpris.MediaPlayer2.xt7] org.freedesktop.DBus.Properties Get gb.dbus: call: [org.mpris.MediaPlayer2.xt7] org.freedesktop.DBus.Properties Get ################################## Then i restart plasmashell.############ In the plasmashell logs i read: [ 1.715][WW][kde.dataengine.mpris][unknown] "org.mpris.MediaPlayer2.xt7" does not implement org.freedesktop.DBus.Properties correctly [ 1.715][WW][kde.dataengine.mpris][unknown] Failed to find working MPRIS2 interface for "org.mpris.MediaPlayer2.xt7" ########################################################################## Back to the gambas logs: ------------------------------------------------------------------ gb.dbus: call: [org.mpris.MediaPlayer2.xt7] org.freedesktop.DBus.Properties GetAll gb.dbus: GetAll("org.mpris.MediaPlayer2"): ["CanQuit": True, "CanRaise": True, "Identity": xt7-player, "DesktopEntry": xt 7-player, "HasTrackList": True, "SupportedMimeTypes": (String[] 0x55f5ad11eb78), "SupportedUriSchemes": (String[] 0x55f5a d11eb28)] gb.dbus: error: org.freedesktop.Properties.GetAll: Not enough arguments DBusObject.GetAllProperties.539 DBusObject.DBusOb server_Message.612 gb.dbus: call: [org.mpris.MediaPlayer2.xt7] org.freedesktop.DBus.Properties GetAll gb.dbus: GetAll("org.mpris.MediaPlayer2.Player"): ["Rate": 0, "Volume": 10, "CanPlay": False, "CanSeek": False, "Shuffle" : True, "CanPause": False, "Position": 0, "CanGoNext": False, "CanControl": False, "LoopStatus": Playlist, "MaximumRate": 0, "MinimumRate": 0, "CanGoPrevious": False, "PlaybackStatus": Playing] If i query now via qdbusviewer: --------------------------------------------------------------------- gb.dbus: call: [org.mpris.MediaPlayer2.xt7] org.freedesktop.DBus.Introspectable Introspect gb.dbus: call: [org.mpris.MediaPlayer2.xt7] org.freedesktop.DBus.Introspectable Introspect gb.dbus: call: [org.mpris.MediaPlayer2.xt7] org.freedesktop.DBus.Introspectable Introspect gb.dbus: call: [org.mpris.MediaPlayer2.xt7] org.freedesktop.DBus.Introspectable Introspect gb.dbus: void signature gb.dbus: void signature gb.dbus: void signature gb.dbus: void signature gb.dbus: void signature gb.dbus: void signature gb.dbus: void signature gb.dbus: void signature gb.dbus: call: [org.mpris.MediaPlayer2.xt7] org.freedesktop.DBus.Properties GetAll gb.dbus: GetAll(""): [] Still an empty array, even if in the logs now i see: gb.dbus: GetAll("org.mpris.MediaPlayer2.Player"): ["Rate": 0, "Volume": 10, "CanPlay": False, "CanSeek": False, "Shuffle" : True, "CanPause": False, "Position": 0, "CanGoNext": False, "CanControl": False, "LoopStatus": Playlist, "MaximumRate": 0, "MinimumRate": 0, "CanGoPrevious": False, "PlaybackStatus": Playing] From bugtracker at ...3416... Mon Oct 31 09:40:42 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 31 Oct 2016 08:40:42 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1014: org.freedesktop.DBus.Properties Method:GetALL not implemented? In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1014&from=L21haW4- Antonio OREFICE added an attachment: .BUILDINFO From bugtracker at ...3416... Mon Oct 31 09:41:00 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 31 Oct 2016 08:41:00 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1014: org.freedesktop.DBus.Properties Method:GetALL not implemented? In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1014&from=L21haW4- Antonio OREFICE added an attachment: mpris-0.0.2.tar.gz From gambas.fr at ...626... Mon Oct 31 10:38:51 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 31 Oct 2016 10:38:51 +0100 Subject: [Gambas-user] How to use gb.map ".AddPolyLine( )" method ? In-Reply-To: References: Message-ID: Hi Vuott, First, Thank you for using my code... It need user and reports o be debugged and inprooved. So by making an example i've just find i never use polyline :-) ... so i've not see that polyline simply not work. This is corrected in the last svn. (I've also remove a bad visual thing in the back zoom) Yes i know that component really nee doc as it is quite complexto unerstand. Even if i've do all my possible to make it simpler. Public Sub Form_Open() Dim hPolyLine As New MapPoint[] MapView1.Map.AddTile("GoogleMap", "https://khms{s}.google.fr/kh/v={version}&src=app&x={x}&y={y}&z={z}&s=Galile", ["version": "702"]).SubDomains = ["0", "1", "2"] MapView1.Map["GoogleMap"].Visible = True With MapView1.Map.AddShape("Poly") hPolyLine = [MapPoint(48.457454, -4.638139), MapPoint(51.123363, 2.217329), MapPoint(48.921609, 8.106001), MapPoint(43.833550, 7.666547), MapPoint(42.487303, 3.008345), MapPoint(43.324192, -1.825640)] .AddPolyLine("Section 1", hPolyLine) End With End gb.map was a try to have a tool OffLine. So if you add a cache name in the addtile call he map is auto magically cached and usable of line. Then the mapview class is just a dynamic call to the composer class Map. The advantage is i can use map everywhere for static catch like in a printed report (this was my goal first). gb.map can show every kind of map (near) 2016-10-30 18:04 GMT+01:00 Gianluigi : > Relaunch this request from Ru Vuott: > > Hello, > > is it possible a very simple example of > MapView1.Map.AddShape(".....").AddPolyLine(.......) Method ? > > Regards > > vuott > ------------------------------------------------------------------------------ > The Command Line: Reinvented for Modern Developers > Did the resurgence of CLI tooling catch you by surprise? > Reconnect with the command line and become more productive. > Learn the new .NET and ASP.NET CLI. Get your free copy! > http://sdm.link/telerik > _______________________________________________ > 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... Mon Oct 31 10:46:32 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 31 Oct 2016 10:46:32 +0100 Subject: [Gambas-user] Methods on a property? In-Reply-To: <20161031140140.5b8349a99a728dc27e4927f2@...626...> References: <20161031140140.5b8349a99a728dc27e4927f2@...626...> Message-ID: 2016-10-31 4:31 GMT+01:00 adamnt42 at ...626... : > Probably a dq, but.. > Is it possible to write a method, apart from _read and _write, on a property of a class? Specifically, I'd like to implement a boolean function to return true if the property has a specific value. Something along the lines of MyClass.MyDateProperty.IsFuture() which would return true if the current value of the property is a date in the future? > There are obvious solutions along the lines of If MyClass.MyDateProperty>Date(Now()), I'm just trying to shortcut coding common checks in the client class. > > regards > Bruce I your case MyDateProperty is not a property but a class Maybe if you create a new DateType that inneritate from Date and adding some analysis feature. --- MyDate Class--- inherit Date Public sub IsFuture() if super.value...... end --Your Class-- Property Date as MyDate So you can use like that MyClass.Date = Date(... If MyClass.Date.Future() then ... > -- > B Bruen > > ------------------------------------------------------------------------------ > The Command Line: Reinvented for Modern Developers > Did the resurgence of CLI tooling catch you by surprise? > Reconnect with the command line and become more productive. > Learn the new .NET and ASP.NET CLI. Get your free copy! > http://sdm.link/telerik > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From alexchernoff at ...67... Mon Oct 31 10:04:19 2016 From: alexchernoff at ...67... (alexchernoff) Date: Mon, 31 Oct 2016 02:04:19 -0700 (MST) Subject: [Gambas-user] Get name of the calling function? In-Reply-To: <1477891357306-57684.post@...3046...> References: <1477891357306-57684.post@...3046...> Message-ID: <1477904659175-57691.post@...3046...> System.Backtrace[1] did it, thanks ub2 at ...3619... !!! -- View this message in context: http://gambas.8142.n7.nabble.com/Get-name-of-the-calling-function-tp57684p57691.html Sent from the gambas-user mailing list archive at Nabble.com. From shordi at ...626... Mon Oct 31 12:35:02 2016 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Mon, 31 Oct 2016 12:35:02 +0100 Subject: [Gambas-user] Feature Request In-Reply-To: References: Message-ID: I agree with that, Fabien. Regards 2016-10-31 9:33 GMT+01:00 Fabien Bodard : > 2016-10-30 13:48 GMT+01:00 Jorge Carri?n : > > It would be great if Gambas would report of Farm's actualizations on > > installed projects at start... I think. > > Maybe not at Ide start but at the farm start... It avoid some slow. > > > > > Best Regards > > ------------------------------------------------------------ > ------------------ > > The Command Line: Reinvented for Modern Developers > > Did the resurgence of CLI tooling catch you by surprise? > > Reconnect with the command line and become more productive. > > Learn the new .NET and ASP.NET CLI. Get your free copy! > > http://sdm.link/telerik > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard > > ------------------------------------------------------------ > ------------------ > The Command Line: Reinvented for Modern Developers > Did the resurgence of CLI tooling catch you by surprise? > Reconnect with the command line and become more productive. > Learn the new .NET and ASP.NET CLI. Get your free copy! > http://sdm.link/telerik > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From moviga at ...3488... Mon Oct 31 13:51:13 2016 From: moviga at ...3488... (Moviga Technologies) Date: Mon, 31 Oct 2016 13:51:13 +0100 Subject: [Gambas-user] Flyer Invasion Game - And a possible bug-report Message-ID: Hi! This weekend I had some fun making a simple game in SDL that you can find on the farm, or download here: http://forum.gambas.one/download/file.php?id=12 There is a warning in the console in the Gambas IDE that says: gbx3: warning: 2 allocation(s) non freed. Not sure where that comes from, but as C++ needs to free up stuff, I suppose it has to do with the gb.sdl2 component? From mclennan at ...3614... Mon Oct 31 16:13:45 2016 From: mclennan at ...3614... (Piper984) Date: Mon, 31 Oct 2016 08:13:45 -0700 (MST) Subject: [Gambas-user] MediaPlayer bug with AboutToFinish and URL? In-Reply-To: <1477524613238-57623.post@...3046...> References: <1477305587133-57612.post@...3046...> <1477512855218-57614.post@...3046...> <047c0962-ee1a-00c1-07f0-d07f757ae747@...1...> <1477519149089-57616.post@...3046...> <2f5d5216-352b-e8bc-f995-40c59d07bffa@...1...> <1477522176006-57621.post@...3046...> <1477524613238-57623.post@...3046...> Message-ID: <1477926825761-57694.post@...3046...> Hi, Were you able to confirm that the video clips I attached could play via the .NextURL + AboutToFinish events successfully on your development machine? For what's it's worth, I do see this error message now in the console output window when after I play any video file (either just one and then the END event fires, or if I try to set the .NextURL property during the AboutToFinish event: The program 'prjVideoTest01' received an X Window System error. This probably reflects a bug in the program. The error was 'BadDrawable (invalid Pixmap or Window parameter)'. (Details: serial 1632 error_code 9 request_code 150 minor_code 9) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) If you don't have the error (and I am assuming you don't) then perhaps there is some GTK lib or other dependence I could check into? Thanks for looking into this still! I could try to take a screencam type video of my test running if that would be helpful at all? -- View this message in context: http://gambas.8142.n7.nabble.com/MediaPlayer-bug-with-AboutToFinish-and-URL-tp57513p57694.html Sent from the gambas-user mailing list archive at Nabble.com. From bugtracker at ...3416... Mon Oct 31 22:55:05 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 31 Oct 2016 21:55:05 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #983: Indentation: Formatting of a Module goes wrong In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.983&from=L21haW4- Comment #3 by C THAL: This bug is quite annoying. It is very difficult to overlook structures of some ifs and elses when one "Sql.Begin" is inside. Unfortunately this occurs frequently in my code. So I rise the priority to "Medium".