From adamnt42 at gmail.com Wed Mar 2 09:36:28 2022 From: adamnt42 at gmail.com (bb) Date: Wed, 02 Mar 2022 19:06:28 +1030 Subject: [Gambas-user] Read only attributes for structs? Message-ID: <05bb442c9310fa0252fa6c15ad635e8a1a8e06bd.camel@gmail.com> Possible? Likely? Dare I hope? b From gambas.fr at gmail.com Wed Mar 2 09:39:23 2022 From: gambas.fr at gmail.com (Fabien Bodard) Date: Wed, 2 Mar 2022 09:39:23 +0100 Subject: [Gambas-user] A small renew In-Reply-To: References: Message-ID: I know about it and I will maybe see about that this we... if anyone want to contribut can let you access and explain how to update the site ... It's manual work :-D. Gambasforge was a true hardwork to demonstrate the ability to code a site in gambas. Now it' is old and many things happen since 15 years... so It's an huge work to upgrade it. For example the Captchat api who now not work. And this bug on sending messages ... well nothing hard but need time :'( Le lun. 28 f?vr. 2022 ? 11:14, Martin Belmonte a ?crit : > > El 25/2/22 a las 19:16, Fabien Bodard escribi?: > > the site work again and numerous codes examples can be explore > ok, i made a post [1] it works, but when I do "public" the browser show > the page with the message: > > The connection was reset > The connection to the server was reset while the page was loading. > The site could be temporarily unavailable or too busy. Try again in > a few moments. > If you are unable to load any pages, check your computer?s network > connection. > If your computer or network is protected by a firewall or proxy, > make sure that Firefox is permitted to access the Web. > > Because of this, I sent the same message twice. > Then when I set one of these messages as solved, the same window also > appears in the browser (firefox). > > [1] > https://gambas-fr.org/sujet-5082-presentation-de-la-classe-config-configuration-de-logiciels-avec-json--page-1.html#m1 > > Martin. > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- -- Fabien Bodard From mbelmonte at belmotek.net Wed Mar 2 11:47:59 2022 From: mbelmonte at belmotek.net (Martin Belmonte) Date: Wed, 2 Mar 2022 11:47:59 +0100 Subject: [Gambas-user] A small renew In-Reply-To: References: Message-ID: El 2/3/22 a las 9:39, Fabien Bodard escribi?: > if anyone > want to contribut I never made a web with gambas or any other language but I would love to do it. If you guide me a little I'm willing to make the effort. I think that every time I tried to do something like this I was stuck and I had no one to ask. Martin. From simonlebon54 at yahoo.com Wed Mar 2 18:56:40 2022 From: simonlebon54 at yahoo.com (Steve G) Date: Wed, 02 Mar 2022 08:56:40 -0900 Subject: [Gambas-user] window placement In-Reply-To: References: Message-ID: <7e4b790c-8e9c-41e3-9337-3d36c6e40dc2@yahoo.com> Sorry it took so long I was fighting covid and 6 feet of snow. Details are Fedora 35 using gnome 41 and Gambas 3.16. Gtk two or three same problem. Multiple monitor setup. Setting the top and left positions of a window does not move the window. So simply put the following code does not work. In the form open Me.top = 5 Me.left = 5 That is so simple as I can make the code yet the window will not go where it belongs. In version 315 this worked perfectly fine. ?Sent from TypeApp ? On Mar 2, 2022, 02:14, at 02:14, user-request at lists.gambas-basic.org wrote: >Send User mailing list submissions to > user at lists.gambas-basic.org > >To subscribe or unsubscribe via the World Wide Web, visit > http://lists.gambas-basic.org/listinfo/user >or, via email, send a message with subject or body 'help' to > user-request at lists.gambas-basic.org > >You can reach the person managing the list at > user-owner at lists.gambas-basic.org > >When replying, please edit your Subject line so it is more specific >than "Re: Contents of User digest..." > > >Today's Topics: > > 1. Read only attributes for structs? (bb) > 2. Re: A small renew (Fabien Bodard) > 3. Re: A small renew (Martin Belmonte) > > >---------------------------------------------------------------------- > >Message: 1 >Date: Wed, 02 Mar 2022 19:06:28 +1030 >From: bb >To: Gambas Mailing List >Subject: [Gambas-user] Read only attributes for structs? >Message-ID: <05bb442c9310fa0252fa6c15ad635e8a1a8e06bd.camel at gmail.com> >Content-Type: text/plain > >Possible? Likely? Dare I hope? >b > > > >------------------------------ > >Message: 2 >Date: Wed, 2 Mar 2022 09:39:23 +0100 >From: Fabien Bodard >To: Gambas Mailing List >Subject: Re: [Gambas-user] A small renew >Message-ID: > >Content-Type: text/plain; charset="UTF-8" > >I know about it and I will maybe see about that this we... if anyone >want to contribut can let you access and explain how to update the >site ... It's manual work :-D. > >Gambasforge was a true hardwork to demonstrate the ability to code a >site in gambas. Now it' is old and many things happen since 15 >years... so It's an huge work to upgrade it. > >For example the Captchat api who now not work. > >And this bug on sending messages ... well nothing hard but need time >:'( > >Le lun. 28 f?vr. 2022 ? 11:14, Martin Belmonte > a ?crit : >> >> El 25/2/22 a las 19:16, Fabien Bodard escribi?: >> > the site work again and numerous codes examples can be explore >> ok, i made a post [1] it works, but when I do "public" the browser >show >> the page with the message: >> >> The connection was reset >> The connection to the server was reset while the page was loading. >> The site could be temporarily unavailable or too busy. Try again >in >> a few moments. >> If you are unable to load any pages, check your computer?s >network >> connection. >> If your computer or network is protected by a firewall or proxy, >> make sure that Firefox is permitted to access the Web. >> >> Because of this, I sent the same message twice. >> Then when I set one of these messages as solved, the same window also >> appears in the browser (firefox). >> >> [1] >> >https://gambas-fr.org/sujet-5082-presentation-de-la-classe-config-configuration-de-logiciels-avec-json--page-1.html#m1 >> >> Martin. >> >> ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > > > >-- >Fabien Bodard > > >------------------------------ > >Message: 3 >Date: Wed, 2 Mar 2022 11:47:59 +0100 >From: Martin Belmonte >To: user at lists.gambas-basic.org >Subject: Re: [Gambas-user] A small renew >Message-ID: >Content-Type: text/plain; charset=UTF-8; format=flowed > >El 2/3/22 a las 9:39, Fabien Bodard escribi?: >> if anyone >> want to contribut >I never made a web with gambas or any other language but I would love >to >do it. >If you guide me a little I'm willing to make the effort. >I think that every time I tried to do something like this I was stuck >and I had no one to ask. >Martin. > > >------------------------------ > >Subject: Digest Footer > >----[ Gambas mailing-list is hosted by https://www.hostsharing.net >]---- > > >------------------------------ > >End of User Digest, Vol 54, Issue 1 >*********************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Wed Mar 2 21:41:38 2022 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 2 Mar 2022 21:41:38 +0100 Subject: [Gambas-user] window placement In-Reply-To: <7e4b790c-8e9c-41e3-9337-3d36c6e40dc2@yahoo.com> References: <7e4b790c-8e9c-41e3-9337-3d36c6e40dc2@yahoo.com> Message-ID: <7211e052-5a08-661b-a8d8-c46e760ce9bb@gmail.com> Le 02/03/2022 ? 18:56, Steve G via User a ?crit?: > Sorry it took so long I was fighting covid and 6 feet of snow. > > Details are Fedora 35 using gnome 41 and Gambas 3.16. Gtk two or three > same problem. Multiple monitor setup. Setting the top and left positions > of a window does not move the window. So simply put the following code > does not work. > > In the form open > > Me.top = 5 > Me.left = 5 > > That is so simple as I can make the code yet the window will not go > where it belongs. In version 315 this worked perfectly fine. > Do you use Wayland? Please post the full system information returned by the IDE corresponding menu entry. Does it change anything if you use the Move() method instead of setting the two properties one by one? -- Beno?t Minisini From g4mba5 at gmail.com Wed Mar 2 22:43:34 2022 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 2 Mar 2022 22:43:34 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.17.0 Message-ID: <2ccfd59d-5941-2891-5485-a525f7f2a684@gmail.com> Hi, I have tagged a pre-release of Gambas 3.17.0. Download it at: https://gitlab.com/gambas/gambas/-/archive/3.17.0-pre1/gambas-3.17.0-pre1.tar.bz2 Please try to compile and install it, and report any problem. Thanks! -- Beno?t Minisini From mbelmonte at belmotek.net Wed Mar 2 22:45:28 2022 From: mbelmonte at belmotek.net (Martin Belmonte) Date: Wed, 2 Mar 2022 22:45:28 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.17.0 In-Reply-To: <2ccfd59d-5941-2891-5485-a525f7f2a684@gmail.com> References: <2ccfd59d-5941-2891-5485-a525f7f2a684@gmail.com> Message-ID: <294f4ca7-447c-d634-d2d5-a4f4a5266bab@belmotek.net> El 2/3/22 a las 22:43, Beno?t Minisini escribi?: > > Please try to compile and install it, and report any problem. ok. From bsteers4 at gmail.com Thu Mar 3 01:26:47 2022 From: bsteers4 at gmail.com (Bruce Steers) Date: Thu, 3 Mar 2022 00:26:47 +0000 Subject: [Gambas-user] Pre-release of Gambas 3.17.0 In-Reply-To: <2ccfd59d-5941-2891-5485-a525f7f2a684@gmail.com> References: <2ccfd59d-5941-2891-5485-a525f7f2a684@gmail.com> Message-ID: problem 1 version still says 3.16.90 will let you know of any others. Respects BruceS On Wed, 2 Mar 2022 at 21:44, Beno?t Minisini wrote: > Hi, > > I have tagged a pre-release of Gambas 3.17.0. > > Download it at: > > > https://gitlab.com/gambas/gambas/-/archive/3.17.0-pre1/gambas-3.17.0-pre1.tar.bz2 > > Please try to compile and install it, and report any problem. > > Thanks! > > -- > Beno?t Minisini > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Thu Mar 3 01:31:06 2022 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 3 Mar 2022 01:31:06 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.17.0 In-Reply-To: References: <2ccfd59d-5941-2891-5485-a525f7f2a684@gmail.com> Message-ID: Le 03/03/2022 ? 01:26, Bruce Steers a ?crit?: > problem 1 > version still says 3.16.90 > > will let you know of any others. > > Respects > BruceS > Yes, I didn't update the version to 3.17.0, as it's just a pre-release. Regards, -- Beno?t Minisini From bsteers4 at gmail.com Thu Mar 3 01:47:11 2022 From: bsteers4 at gmail.com (Bruce Steers) Date: Thu, 3 Mar 2022 00:47:11 +0000 Subject: [Gambas-user] Pre-release of Gambas 3.17.0 In-Reply-To: References: <2ccfd59d-5941-2891-5485-a525f7f2a684@gmail.com> Message-ID: No biggie I just wasn't sure if it had installed or not to begin with ? Well it installed, works okay. Looks no different to 3.16.90 ? Any particular reason for the shift to 17? Respects. BruceS On Thu, 3 Mar 2022, 00:33 Beno?t Minisini, wrote: > Le 03/03/2022 ? 01:26, Bruce Steers a ?crit : > > problem 1 > > version still says 3.16.90 > > > > will let you know of any others. > > > > Respects > > BruceS > > > > Yes, I didn't update the version to 3.17.0, as it's just a pre-release. > > Regards, > > -- > Beno?t Minisini > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Thu Mar 3 01:54:14 2022 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 3 Mar 2022 01:54:14 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.17.0 In-Reply-To: References: <2ccfd59d-5941-2891-5485-a525f7f2a684@gmail.com> Message-ID: Le 03/03/2022 ? 01:47, Bruce Steers a ?crit?: > Any particular reason for the shift to 17? There are no real blocking bugs and no features I want to add anymore. Regards, -- Beno?t Minisini From chrisml at deganius.de Thu Mar 3 10:44:45 2022 From: chrisml at deganius.de (Christof Thalhofer) Date: Thu, 3 Mar 2022 10:44:45 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.17.0 In-Reply-To: <2ccfd59d-5941-2891-5485-a525f7f2a684@gmail.com> References: <2ccfd59d-5941-2891-5485-a525f7f2a684@gmail.com> Message-ID: <15c0a9f0-4306-3429-2b88-1a12cb5ba282@deganius.de> Hi, Am 02.03.22 um 22:43 schrieb Beno?t Minisini: > Please try to compile and install it, and report any problem. I found this new bug: http://gambaswiki.org/bugtracker/edit?object=BUG.2490 And this old one is not fixed in XFCE: http://gambaswiki.org/bugtracker/edit?object=BUG.1807 Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: From mbelmonte at belmotek.net Thu Mar 3 10:57:29 2022 From: mbelmonte at belmotek.net (Martin Belmonte) Date: Thu, 3 Mar 2022 10:57:29 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.17.0 In-Reply-To: <2ccfd59d-5941-2891-5485-a525f7f2a684@gmail.com> References: <2ccfd59d-5941-2891-5485-a525f7f2a684@gmail.com> Message-ID: El 2/3/22 a las 22:43, Beno?t Minisini escribi?: > Please try to compile and install it, and report any problem. Everything seems to be working properly. Regards. From chrisml at deganius.de Thu Mar 3 11:39:35 2022 From: chrisml at deganius.de (Christof Thalhofer) Date: Thu, 3 Mar 2022 11:39:35 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.17.0 In-Reply-To: <2ccfd59d-5941-2891-5485-a525f7f2a684@gmail.com> References: <2ccfd59d-5941-2891-5485-a525f7f2a684@gmail.com> Message-ID: <9dbe6783-8956-4774-a4b7-e8e46f234f7c@deganius.de> Am 02.03.22 um 22:43 schrieb Beno?t Minisini: > Please try to compile and install it, and report any problem. Since 3.16.x Dialog isn't translated any more, the strings in the 'Dialog.SaveFile' are in English even if the project's language is 'de'. Are there some missing translations? I added this bug: http://gambaswiki.org/bugtracker/edit?object=BUG.2491 Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: From chrisml at deganius.de Thu Mar 3 12:49:09 2022 From: chrisml at deganius.de (Christof Thalhofer) Date: Thu, 3 Mar 2022 12:49:09 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.17.0 - Namespace Support In-Reply-To: <2ccfd59d-5941-2891-5485-a525f7f2a684@gmail.com> References: <2ccfd59d-5941-2891-5485-a525f7f2a684@gmail.com> Message-ID: Hi, > As now the IDE allows to define a default name space for all exported > class of a project, this syntax is the only way to export a class > with the same name, as the EXPORT keyword alone does before. http://gambaswiki.org/edit/lang/export?ht=namespace Where can the default namespace string can be defined inside the IDE? I cannot find a field in the project properties dialog. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: From bsteers4 at gmail.com Thu Mar 3 13:01:31 2022 From: bsteers4 at gmail.com (Bruce Steers) Date: Thu, 3 Mar 2022 12:01:31 +0000 Subject: [Gambas-user] Pre-release of Gambas 3.17.0 In-Reply-To: References: <2ccfd59d-5941-2891-5485-a525f7f2a684@gmail.com> Message-ID: On Thu, 3 Mar 2022 at 00:55, Beno?t Minisini wrote: > Le 03/03/2022 ? 01:47, Bruce Steers a ?crit : > > Any particular reason for the shift to 17? > > There are no real blocking bugs and no features I want to add anymore. > > Regards, > > -- > Beno?t Minisini > Oh wow, do you mean this is like the final complete and refined version, just bug-fixes now? I noticed you've changed dev branch to 3.17.0 not 3.17.90 which seemed unusual. Wishing well BruceS -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisml at deganius.de Thu Mar 3 13:42:03 2022 From: chrisml at deganius.de (Christof Thalhofer) Date: Thu, 3 Mar 2022 13:42:03 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.17.0 In-Reply-To: <2ccfd59d-5941-2891-5485-a525f7f2a684@gmail.com> References: <2ccfd59d-5941-2891-5485-a525f7f2a684@gmail.com> Message-ID: Am 02.03.22 um 22:43 schrieb Beno?t Minisini: > Please try to compile and install it, and report any problem. Found another one: http://gambaswiki.org/bugtracker/edit?object=BUG.2492 Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: From chrisml at deganius.de Thu Mar 3 13:46:02 2022 From: chrisml at deganius.de (Christof Thalhofer) Date: Thu, 3 Mar 2022 13:46:02 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.17.0 - Namespace Support In-Reply-To: References: <2ccfd59d-5941-2891-5485-a525f7f2a684@gmail.com> Message-ID: <4bbd649b-e0d2-d656-df8c-e06f2fd4e077@deganius.de> Regarding namespaces: As I see, namespaces can't be accessed from inside the project. So if there is a class 'CTest' which contains: 'Export To MyNamespace' Another class in the same project cannot call it like so: 'Dim MNC As New MyNamespace:CTest' even if the IDE is able to display the namespace and does the completion well. It would be nice if that would be possible, because then we could test it. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: From bsteers4 at gmail.com Thu Mar 3 16:18:42 2022 From: bsteers4 at gmail.com (Bruce Steers) Date: Thu, 3 Mar 2022 15:18:42 +0000 Subject: [Gambas-user] knowing if PPA is possible Message-ID: I'm adding ppa upgrade option to my gambas updater. i need to know if PPA is possible though. Best solution I have is using uname as it apparently should exist on most linux os's Something like this... *Shell "uname -v" To sVar* *If sVar Like "*-Ubuntu SMP *" Then bPPA_Possible = True* that works for ubuntu and linuxmint and "should" i guess work for any other ubuntu based os's other option was to check /etc/os-release and only add known working os's. Ubuntu and Linuxmint are the only ones i know of. Any suggestions/warnings welcomed Cheers BruceS -------------- next part -------------- An HTML attachment was scrubbed... URL: From loewen.amj at gmail.com Thu Mar 3 19:18:13 2022 From: loewen.amj at gmail.com (=?UTF-8?Q?Andr=c3=a9_LOEWEN?=) Date: Thu, 3 Mar 2022 19:18:13 +0100 Subject: [Gambas-user] WebDateChoose does not always show all days of the month Message-ID: <426ef08e-449b-5007-1966-ff8c86ab41e4@gmail.com> Hello, For some dates the WebDateChooser does not show all days of the month. Example: For May 2022, the days 30.5.2022 and 31.5.2022 are missing and unfortunately cannot be selected in the next month. The error is probably in: Public Sub panCalendar_Render() of the WebDateChooser class. For Y = 1 to 5 ... NEXT (about line 162) shall be replaced by For Y = 1 To *6*...NEXT This fix works fine for me. Kind Regards Andr? -------------- next part -------------- An HTML attachment was scrubbed... URL: From bsteers4 at gmail.com Thu Mar 3 20:03:35 2022 From: bsteers4 at gmail.com (Bruce Steers) Date: Thu, 3 Mar 2022 19:03:35 +0000 Subject: [Gambas-user] gbc3 compiler flags change Message-ID: I have been searching the gambas repo for the exact version change that removed gbc3 flags -m for public modules in place of -fpublic-module I have a script that compiles a project and makes a desktop icon but the change of gbc3 flags means i need to know the version when that change happened. tia BruceS -------------- next part -------------- An HTML attachment was scrubbed... URL: From simonlebon54 at yahoo.com Thu Mar 3 20:11:22 2022 From: simonlebon54 at yahoo.com (Steve G) Date: Thu, 03 Mar 2022 10:11:22 -0900 Subject: [Gambas-user] Re window placement In-Reply-To: References: Message-ID: Le 02/03/2022 ? 18:56, Steve G via User a ?crit?: Sorry it took so long I was fighting covid and 6 feet of snow. Details are Fedora 35 using gnome 41 and Gambas 3.16. Gtk two or three same problem. Multiple monitor setup. Setting the top and left positions of a window does not move the window. So simply put the following code does not work. In the form open Me.top = 5 Me.left = 5 That is so simple as I can make the code yet the window will not go where it belongs. In version 315 this worked perfectly fine. Do you use Wayland? Please post the full system information returned by the IDE corresponding menu entry. Does it change anything if you use the Move() method instead of setting the two properties one by one? As requested the information is below I am using X not Wayland. [System] Gambas=3.16.2 OperatingSystem=Linux Kernel=5.16.7-200.fc35.x86_64 Architecture=x86_64 Distribution=redhat Fedora release 35 (Thirty Five) Desktop=GNOME Font=Cantarell,11 Scale=8 Theme=adwaita Language=en_US.UTF-8 Memory=11913M [Libraries] [Environment] BASH_ENV=/usr/share/lmod/lmod/init/bash DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DEBUGINFOD_URLS=https://debuginfod.fedoraproject.org/ DESKTOP_SESSION=gnome DISPLAY=:1 EDITOR=/usr/bin/nano GB_GUI=gb.gtk3 GDMSESSION=gnome GDM_LANG=en_US.UTF-8 GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=4423 GJS_DEBUG_OUTPUT=stderr GJS_DEBUG_TOPICS=JS ERROR;JS LOG HISTCONTROL=ignoredups HISTSIZE=1000 HOME= HOSTNAME=fedora INVOCATION_ID=30dfff10474349239a989fb3d364097a JOURNAL_STREAM=8:30510 KDEDIRS=/usr LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LESSOPEN=||/usr/bin/lesspipe.sh %s LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod LMOD_DIR=/usr/share/lmod/lmod/libexec LMOD_PKG=/usr/share/lmod/lmod LMOD_ROOT=/usr/share/lmod LMOD_SETTARG_FULL_SUPPORT=no LMOD_VERSION=8.4.30 LMOD_sys=Linux LOGNAME= MAIL=/var/spool/mail/ MANAGERPID=1810 MANPATH=/usr/share/lmod/lmod/share/man: MODULEPATH=/etc/modulefiles:/usr/share/modulefiles:/usr/share/modulefiles/Linux:/usr/share/modulefiles/Core:/usr/share/lmod/lmod/modulefiles/Core MODULEPATH_ROOT=/usr/share/modulefiles MODULESHOME=/usr/share/lmod/lmod MOZ_GMP_PATH=/usr/lib64/mozilla/plugins/gmp-gmpopenh264/system-installed PATH=/.local/bin:/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin PWD= QT_IM_MODULE=ibus QT_LOGGING_RULES=*.debug=false SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/1946,unix/unix:/tmp/.ICE-unix/1946 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=1890 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh SYSTEMD_EXEC_PID=1972 TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=2 XAUTHORITY=/run/user/1000/gdm/Xauthority XDG_CURRENT_DESKTOP=GNOME XDG_DATA_DIRS=/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/ XDG_MENU_PREFIX=gnome- XDG_RUNTIME_DIR=/run/user/1000 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=gnome XDG_SESSION_TYPE=x11 XMODIFIERS=@im=ibus which_declare=declare -f ?Sent from TypeApp ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Thu Mar 3 23:13:19 2022 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 3 Mar 2022 23:13:19 +0100 Subject: [Gambas-user] gbc3 compiler flags change In-Reply-To: References: Message-ID: <097b7a0f-f10f-16f7-3570-6d03e7a37a18@gmail.com> Le 03/03/2022 ? 20:03, Bruce Steers a ?crit?: > I have been searching the gambas repo for the exact version change that > removed gbc3 flags? -m for public modules in place of -fpublic-module > > I have a script that compiles a project and makes a desktop icon but the > change of gbc3 flags means i need to know the version when that change > happened. > > tia > > BruceS > Use 'git log -p .' inside the compiler source directory, and you will easily find the commit of that change. -- Beno?t Minisini From g4mba5 at gmail.com Thu Mar 3 23:15:06 2022 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 3 Mar 2022 23:15:06 +0100 Subject: [Gambas-user] gbc3 compiler flags change In-Reply-To: <097b7a0f-f10f-16f7-3570-6d03e7a37a18@gmail.com> References: <097b7a0f-f10f-16f7-3570-6d03e7a37a18@gmail.com> Message-ID: <69073d55-4a96-f288-9497-e5b87c64852d@gmail.com> Le 03/03/2022 ? 23:13, Beno?t Minisini a ?crit?: > Le 03/03/2022 ? 20:03, Bruce Steers a ?crit?: >> I have been searching the gambas repo for the exact version change >> that removed gbc3 flags? -m for public modules in place of >> -fpublic-module >> >> I have a script that compiles a project and makes a desktop icon but >> the change of gbc3 flags means i need to know the version when that >> change happened. >> >> tia >> >> BruceS >> > > Use 'git log -p .' inside the compiler source directory, and you will > easily find the commit of that change. > So it's: -- Beno?t Minisini From g4mba5 at gmail.com Thu Mar 3 23:19:26 2022 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 3 Mar 2022 23:19:26 +0100 Subject: [Gambas-user] gbc3 compiler flags change In-Reply-To: <69073d55-4a96-f288-9497-e5b87c64852d@gmail.com> References: <097b7a0f-f10f-16f7-3570-6d03e7a37a18@gmail.com> <69073d55-4a96-f288-9497-e5b87c64852d@gmail.com> Message-ID: <6f8882d9-0662-7560-5a62-e734c88ff590@gmail.com> Le 03/03/2022 ? 23:15, Beno?t Minisini a ?crit?: > Le 03/03/2022 ? 23:13, Beno?t Minisini a ?crit?: >> Le 03/03/2022 ? 20:03, Bruce Steers a ?crit?: >>> I have been searching the gambas repo for the exact version change >>> that removed gbc3 flags? -m for public modules in place of >>> -fpublic-module >>> >>> I have a script that compiles a project and makes a desktop icon but >>> the change of gbc3 flags means i need to know the version when that >>> change happened. >>> >>> tia >>> >>> BruceS >>> >> >> Use 'git log -p .' inside the compiler source directory, and you will >> easily find the commit of that change. >> > > So it's: > > Oops... It's since 3.17.0 -- Beno?t Minisini From g4mba5 at gmail.com Thu Mar 3 23:27:41 2022 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 3 Mar 2022 23:27:41 +0100 Subject: [Gambas-user] WebDateChoose does not always show all days of the month In-Reply-To: <426ef08e-449b-5007-1966-ff8c86ab41e4@gmail.com> References: <426ef08e-449b-5007-1966-ff8c86ab41e4@gmail.com> Message-ID: <5ff00572-a270-7066-2544-b29975229156@gmail.com> Le 03/03/2022 ? 19:18, Andr? LOEWEN a ?crit?: > Hello, > > For some dates the WebDateChooser does not show all days of the month. > Example: For May 2022, the days 30.5.2022 and 31.5.2022 are missing and > unfortunately cannot be selected in the next month. > > The error is probably in: > Public Sub panCalendar_Render() of the WebDateChooser class. > > For Y = 1 to 5 ... NEXT (about line 162) > shall be replaced by For Y = 1 To *6*...NEXT > > This fix works fine for me. > > Kind Regards > > Andr? > Thanks for the fix, merged in master. Regards, -- Beno?t Minisini From chrisml at deganius.de Fri Mar 4 12:14:48 2022 From: chrisml at deganius.de (Christof Thalhofer) Date: Fri, 4 Mar 2022 12:14:48 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.17.0 In-Reply-To: <2ccfd59d-5941-2891-5485-a525f7f2a684@gmail.com> References: <2ccfd59d-5941-2891-5485-a525f7f2a684@gmail.com> Message-ID: Am 02.03.22 um 22:43 schrieb Beno?t Minisini: > Please try to compile and install it, and report any problem. Found a new one. Profiler hangs: gambaswiki.org/bugtracker/edit?object=BUG.2494 Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: From bsteers4 at gmail.com Fri Mar 4 15:59:40 2022 From: bsteers4 at gmail.com (Bruce Steers) Date: Fri, 4 Mar 2022 14:59:40 +0000 Subject: [Gambas-user] gbc3 compiler flags change In-Reply-To: <6f8882d9-0662-7560-5a62-e734c88ff590@gmail.com> References: <097b7a0f-f10f-16f7-3570-6d03e7a37a18@gmail.com> <69073d55-4a96-f288-9497-e5b87c64852d@gmail.com> <6f8882d9-0662-7560-5a62-e734c88ff590@gmail.com> Message-ID: Thank you Ben I will remember git log -p , i tried searching gitlab for the change it but no success. Thanks again BruceS On Thu, 3 Mar 2022 at 22:20, Beno?t Minisini wrote: > Le 03/03/2022 ? 23:15, Beno?t Minisini a ?crit : > > Le 03/03/2022 ? 23:13, Beno?t Minisini a ?crit : > >> Le 03/03/2022 ? 20:03, Bruce Steers a ?crit : > >>> I have been searching the gambas repo for the exact version change > >>> that removed gbc3 flags -m for public modules in place of > >>> -fpublic-module > >>> > >>> I have a script that compiles a project and makes a desktop icon but > >>> the change of gbc3 flags means i need to know the version when that > >>> change happened. > >>> > >>> tia > >>> > >>> BruceS > >>> > >> > >> Use 'git log -p .' inside the compiler source directory, and you will > >> easily find the commit of that change. > >> > > > > So it's: > > > > > > Oops... > > It's since 3.17.0 > > -- > Beno?t Minisini > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Fri Mar 4 16:03:28 2022 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 4 Mar 2022 16:03:28 +0100 Subject: [Gambas-user] gbc3 compiler flags change In-Reply-To: References: <097b7a0f-f10f-16f7-3570-6d03e7a37a18@gmail.com> <69073d55-4a96-f288-9497-e5b87c64852d@gmail.com> <6f8882d9-0662-7560-5a62-e734c88ff590@gmail.com> Message-ID: <0443c79c-3a57-7db0-ca06-21799d621cf1@gmail.com> Le 04/03/2022 ? 15:59, Bruce Steers a ?crit?: > Thank you Ben > I will remember git log -p? , > i tried searching gitlab for the change it but no success. > > Thanks again > BruceS > The '-p' is for reading the source code change. You can omit it to read the commit logs, which are roughly reliable. Regards, -- Beno?t Minisini From gambas.fr at gmail.com Fri Mar 4 17:32:51 2022 From: gambas.fr at gmail.com (Fabien Bodard) Date: Fri, 4 Mar 2022 17:32:51 +0100 Subject: [Gambas-user] gb.httpd Message-ID: Hi, Why when I want to use a gb.net.form with gb.httpd, My Borswer can't connect ... gb.httpd: bind 0.0.0.0 - Address already in use gb.httpd: bind :: - Permission denied gb.httpd: bind 0.0.0.0 - Permission denied -- Fabien Bodard From roberto.premoli at tiscali.it Fri Mar 4 18:16:45 2022 From: roberto.premoli at tiscali.it (roberto.premoli at tiscali.it) Date: Fri, 04 Mar 2022 18:16:45 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.17.0 In-Reply-To: References: <2ccfd59d-5941-2891-5485-a525f7f2a684@gmail.com> Message-ID: <3df683fbee697c8543d5b6cc1992e198@tiscali.it> Il 04.03.2022 12:14 Christof Thalhofer ha scritto: > Am 02.03.22 um 22:43 schrieb Beno?t Minisini: > >> Please try to compile and install it, and report any problem. > > Found a new one. Profiler hangs: > > gambaswiki.org/bugtracker/edit?object=BUG.2494 > Alles Gute > Christof Thalhofer > -- Dies ist keine Signatur I try the link but i got request to login. i have not accout: it is possible to see buglist without to have an account? something equivalent to this? https://dev.haiku-os.org/query?milestone=R1%2Fbeta4&group=status&status=assigned&status=in-progress&status=new&status=reopened Voucher MISE per P.IVA e PMI: fino a 2500? per la Banda Ultralarga. https://www.tiscali.it/business/prodotti/voucher/?r=TS00000A00025&dm=link&p=tiscali&utm_source=tiscali&utm_medium=link&utm_campaign=voucherbusiness&utm_content=voucherbusiness&wt_np=tiscali.link.footermail.voucher.business.btb. From t.lee.davidson at gmail.com Fri Mar 4 20:28:57 2022 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Fri, 4 Mar 2022 14:28:57 -0500 Subject: [Gambas-user] Re window placement In-Reply-To: References: Message-ID: <112ec07b-5960-24a0-e5e5-2358001b10c2@gmail.com> On 3/3/22 14:11, Steve G via User wrote: > > Le 02/03/2022 ? 18:56, Steve G via User a ?crit?: > > Sorry it took so long I was fighting covid and 6 feet of snow. > > Details are Fedora 35 using gnome 41 and Gambas 3.16. Gtk two or three > same problem. Multiple monitor setup. Setting the top and left positions > of a window does not move the window. So simply put the following code > does not work. > > In the form open > > Me.top = 5 > Me.left = 5 > > That is so simple as I can make the code yet the window will not go > where it belongs. In version 315 this worked perfectly fine. > > > Do you use Wayland? Please post the full system information returned by > the IDE corresponding menu entry. > > Does it change anything if you use the Move() method instead of setting > the two properties one by one? > > > As requested the information is below I am using X not Wayland. > [System] > Gambas=3.16.2 > OperatingSystem=Linux > Kernel=5.16.7-200.fc35.x86_64 > Architecture=x86_64 > Distribution=redhat Fedora release 35 (Thirty Five) > Desktop=GNOME > Font=Cantarell,11 > Scale=8 > Theme=adwaita > Language=en_US.UTF-8 > Memory=11913M > > [Libraries] > > [Environment] [snip] It works as expected here on KDE Plasma with a single monitor using both Qt5 and GTK3 graphical components. Form.Move() also works as expected. BTW, do you have absolutely no libraries installed? -- Lee [System] Gambas=3.16.3 OperatingSystem=Linux Kernel=5.3.18-150300.59.49-default Architecture=x86_64 Distribution=openSUSE Leap 15.3 Desktop=KDE5 Font=Noto Sans,10 Scale=7 Theme=breeze Language=en_US.UTF-8 Memory=15999M [Libraries] Cairo=/usr/lib64/libcairo.so.2.11600.0 Curl=/usr/lib64/libcurl.so.4.6.0 DBus=/usr/lib64/libdbus-1.so.3.19.4 GDK2=/usr/lib64/libgdk-x11-2.0.so.0.2400.32 GDK3=/usr/lib64/libgdk-3.so.0.2404.16 GStreamer=/usr/lib64/libgstreamer-1.0.so.0.1603.0 GTK+2=/usr/lib64/libgtk-x11-2.0.so.0.2400.32 GTK+3=/usr/lib64/libgtk-3.so.0.2404.16 OpenGL=/usr/lib64/libGL.so.1.7.0 Poppler=/usr/lib64/libpoppler.so.89.0.0 QT5=/usr/lib64/libQt5Core.so.5.12.7 SDL=/usr/lib64/libSDL-1.2.so.0.11.4 SQLite=/usr/lib64/libsqlite3.so.0.8.6 From simonlebon54 at yahoo.com Fri Mar 4 20:58:21 2022 From: simonlebon54 at yahoo.com (Steve G) Date: Fri, 04 Mar 2022 10:58:21 -0900 Subject: [Gambas-user] Re window placement In-Reply-To: References: Message-ID: <68dbc966-31ea-4120-86cc-1cf64fd3f946@yahoo.com> On 3/3/22 14:11, Steve G via User wrote: Le 02/03/2022 ? 18:56, Steve G via User a ?crit?: Sorry it took so long I was fighting covid and 6 feet of snow. Details are Fedora 35 using gnome 41 and Gambas 3.16. Gtk two or three same problem. Multiple monitor setup. Setting the top and left positions of a window does not move the window. So simply put the following code does not work. In the form open Me.top = 5 Me.left = 5 That is so simple as I can make the code yet the window will not go where it belongs. In version 315 this worked perfectly fine. Do you use Wayland? Please post the full system information returned by the IDE corresponding menu entry. Does it change anything if you use the Move() method instead of setting the two properties one by one? As requested the information is below I am using X not Wayland. [System] Gambas=3.16.2 OperatingSystem=Linux Kernel=5.16.7-200.fc35.x86_64 Architecture=x86_64 Distribution=redhat Fedora release 35 (Thirty Five) Desktop=GNOME Font=Cantarell,11 Scale=8 Theme=adwaita Language=en_US.UTF-8 Memory=11913M [Libraries] [Environment] [snip] It works as expected here on KDE Plasma with a single monitor using both Qt5 and GTK3 graphical components. Form.Move() also works as expected. BTW, do you have absolutely no libraries installed? That's great that it works on a completely different system. But it seems to be multiple? monitor system that's really affected. And in the configuration I have it worked beautifully and flawlessly in the previous version. But in this version it is so screwed up I cannot put this out to anybody. The move does not work either by the way. Not sure if this makes a difference but the windows I am moving are child windows. ?Sent from TypeApp ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From bsteers4 at gmail.com Fri Mar 4 22:18:04 2022 From: bsteers4 at gmail.com (Bruce Steers) Date: Fri, 4 Mar 2022 21:18:04 +0000 Subject: [Gambas-user] Re window placement In-Reply-To: <68dbc966-31ea-4120-86cc-1cf64fd3f946@yahoo.com> References: <68dbc966-31ea-4120-86cc-1cf64fd3f946@yahoo.com> Message-ID: On Fri, 4 Mar 2022 at 19:59, Steve G via User wrote: > > On 3/3/22 14:11, Steve G via User wrote: > > > Le 02/03/2022 ? 18:56, Steve G via User a ?crit?: > > Sorry it took so long I was fighting covid and 6 feet of snow. > > Details are Fedora 35 using gnome 41 and Gambas 3.16. Gtk two or three > same problem. Multiple monitor setup. Setting the top and left positions > of a window does not move the window. So simply put the following code > does not work. > > In the form open > > Me.top = 5 > Me.left = 5 > > That is so simple as I can make the code yet the window will not go > where it belongs. In version 315 this worked perfectly fine. > > > Do you use Wayland? Please post the full system information returned by > the IDE corresponding menu entry. > > Does it change anything if you use the Move() method instead of setting > the two properties one by one? > > > As requested the information is below I am using X not Wayland. > [System] > Gambas=3.16.2 > OperatingSystem=Linux > Kernel=5.16.7-200.fc35.x86_64 > Architecture=x86_64 > Distribution=redhat Fedora release 35 (Thirty Five) > Desktop=GNOME > Font=Cantarell,11 > Scale=8 > Theme=adwaita > Language=en_US.UTF-8 > Memory=11913M > > [Libraries] > > [Environment] > > [snip] > > It works as expected here on KDE Plasma with a single monitor using both > Qt5 and GTK3 graphical components. Form.Move() also > works as expected. > > BTW, do you have absolutely no libraries installed? > > > That's great that it works on a completely different system. But it seems > to be multiple monitor system that's really affected. And in the > configuration I have it worked beautifully and flawlessly in the previous > version. But in this version it is so screwed up I cannot put this out to > anybody. The move does not work either by the way. Not sure if this makes a > difference but the windows I am moving are child windows. > I have just tested this on fedora 35 gnome my findings... it works as expected on gnome default x11 and gnome xorg sessions. it fails with wayland neither Move() or Me.Left or Me.Top do anything. SteveG make sure you are not using gnome on wayland and use the x11 / xorg sessions, Also with fedora35 both x11 and wayland give no libraries listed in gambas system information BruceS -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisml at deganius.de Fri Mar 4 23:03:37 2022 From: chrisml at deganius.de (Christof Thalhofer) Date: Fri, 4 Mar 2022 23:03:37 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.17.0 In-Reply-To: <3df683fbee697c8543d5b6cc1992e198@tiscali.it> References: <2ccfd59d-5941-2891-5485-a525f7f2a684@gmail.com> <3df683fbee697c8543d5b6cc1992e198@tiscali.it> Message-ID: <1cf070b4-f2f3-3f0d-5129-849e7ec82784@deganius.de> Am 04.03.22 um 18:16 schrieb roberto.premoli at tiscali.it: >> gambaswiki.org/bugtracker/edit?object=BUG.2494 > I try the link but i got request to login. i have not accout: it is > possible to see buglist without to > have an account? It's not possible at the moment. But you can create an account here: http://gambaswiki.org/bugtracker?register > Voucher MISE per P.IVA e PMI: fino a 2500? per la Banda Ultralarga. What? Can I get 2500 EUR from you via broadband??? ;-) Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: From hans at gambas-buch.de Mon Mar 7 13:03:03 2022 From: hans at gambas-buch.de (Hans Lehmann) Date: Mon, 7 Mar 2022 13:03:03 +0100 Subject: [Gambas-user] File-Icon Message-ID: An HTML attachment was scrubbed... URL: From bsteers4 at gmail.com Mon Mar 7 13:30:53 2022 From: bsteers4 at gmail.com (Bruce Steers) Date: Mon, 7 Mar 2022 12:30:53 +0000 Subject: [Gambas-user] File-Icon In-Reply-To: References: Message-ID: try gb.desktop and DesktopMime DesktopMime.FromFile(sPath).GetIcon(iSize) BruceS On Mon, 7 Mar 2022 at 12:04, Hans Lehmann wrote: > > Hello. > > n file names are stored in a string array. We are looking for a solution > to determine the icon corresponding to the mime type (data type Picture) > from the file name - or the file extension - and store it in an icon array. > > With kind regards > > Hans > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Mon Mar 7 20:16:32 2022 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 7 Mar 2022 20:16:32 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.17.0 - Namespace Support In-Reply-To: References: <2ccfd59d-5941-2891-5485-a525f7f2a684@gmail.com> Message-ID: <114ef223-5540-6a57-8ad0-c65c16e503ec@gmail.com> Le 03/03/2022 ? 12:49, Christof Thalhofer a ?crit?: > Hi, > >> As now the IDE allows to define a default name space for all exported >> class of a project, this syntax is the only way to export a class >> with the same name, as the EXPORT keyword alone does before. > http://gambaswiki.org/edit/lang/export?ht=namespace > > Where can the default namespace string can be defined inside the IDE? I > cannot find a field in the project properties dialog. > > Alles Gute > > Christof Thalhofer > Hi, I removed the option from the IDE, because I think it can be a big source of confusion if the namespace is not explicit in each class. Regards, -- Beno?t Minisini From brian at westwoodsvcs.com Mon Mar 7 20:28:18 2022 From: brian at westwoodsvcs.com (Brian G) Date: Mon, 7 Mar 2022 11:28:18 -0800 (PST) Subject: [Gambas-user] Arrays of mixed numeric type always float[] not variant[] Message-ID: <165487677.33930.1646681298563.JavaMail.zimbra@westwoodsvcs.com> When I create an array dim a = [1, 2, 3, 4, 4.5] Gambas always creates a float[] not variant[], which makes it impossible to add sets like [1,3,4] to the array later. Is this the correct behavior for mixed arrays of numbers? "Failure is the key to success; each mistake teaches us something" .. Morihei Ueshiba Brian G -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Mon Mar 7 22:17:59 2022 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 7 Mar 2022 22:17:59 +0100 Subject: [Gambas-user] Arrays of mixed numeric type always float[] not variant[] In-Reply-To: <165487677.33930.1646681298563.JavaMail.zimbra@westwoodsvcs.com> References: <165487677.33930.1646681298563.JavaMail.zimbra@westwoodsvcs.com> Message-ID: <3e8ca636-6610-a64a-2fcd-8b945d26e3fe@gmail.com> Le 07/03/2022 ? 20:28, Brian G a ?crit?: > When I create an array > > dim a = [1, 2, 3, 4, 4.5] > Gambas always creates a float[] not variant[], which makes it impossible > to add sets like [1,3,4] to the array later.? Is this the correct > behavior for mixed arrays of numbers? > > "Failure is the key to success; > ?each mistake teaches us something" ?.. Morihei Ueshiba > Brian G > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- Yes. If you don't like it, do not use the "[...]" operator for creating your array. -- Beno?t Minisini From chrisml at deganius.de Mon Mar 7 23:22:01 2022 From: chrisml at deganius.de (Christof Thalhofer) Date: Mon, 7 Mar 2022 23:22:01 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.17.0 - Namespace Support In-Reply-To: <114ef223-5540-6a57-8ad0-c65c16e503ec@gmail.com> References: <2ccfd59d-5941-2891-5485-a525f7f2a684@gmail.com> <114ef223-5540-6a57-8ad0-c65c16e503ec@gmail.com> Message-ID: <8f00f249-330a-5b9f-ecc6-bca54be41bfc@deganius.de> Am 07.03.22 um 20:16 schrieb Beno?t Minisini: > I removed the option from the IDE, because I think it can be a big > source of confusion if the namespace is not explicit in each class. Although I think I would only ever use a single namespace per library, I imagine you are right. But then we have to live with the fact that typos can also throw the programmer into confusion: "Export To Deganius" vs "Export To Degenius" For me I would find a default namespace for a library convenient and helpful. But i also think that we will be able to retrofit it when we see that it is more practical later on. Is the option still in the interpreter but 'hidden' in the IDE? Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: From g4mba5 at gmail.com Mon Mar 7 23:30:43 2022 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 7 Mar 2022 23:30:43 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.17.0 - Namespace Support In-Reply-To: <8f00f249-330a-5b9f-ecc6-bca54be41bfc@deganius.de> References: <2ccfd59d-5941-2891-5485-a525f7f2a684@gmail.com> <114ef223-5540-6a57-8ad0-c65c16e503ec@gmail.com> <8f00f249-330a-5b9f-ecc6-bca54be41bfc@deganius.de> Message-ID: <7951e721-ee18-514c-f6be-840f3de931cb@gmail.com> Le 07/03/2022 ? 23:22, Christof Thalhofer a ?crit?: > Am 07.03.22 um 20:16 schrieb Beno?t Minisini: > >> I removed the option from the IDE, because I think it can be a big >> source of confusion if the namespace is not explicit in each class. > > Although I think I would only ever use a single namespace per library, I > imagine you are right. > > But then we have to live with the fact that typos can also throw the > programmer into confusion: > > "Export To Deganius" > vs > "Export To Degenius" > > For me I would find a default namespace for a library convenient and > helpful. But i also think that we will be able to retrofit it when we > see that it is more practical later on. > > Is the option still in the interpreter but 'hidden' in the IDE? > > Alles Gute > > Christof Thalhofer > It's just hidden in the IDE. The option is in the compiler. The interpreter does not care with namespaces. Regards, -- Beno?t Minisini From chrisml at deganius.de Mon Mar 7 23:59:10 2022 From: chrisml at deganius.de (Christof Thalhofer) Date: Mon, 7 Mar 2022 23:59:10 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.17.0 - Namespace Support In-Reply-To: <7951e721-ee18-514c-f6be-840f3de931cb@gmail.com> References: <2ccfd59d-5941-2891-5485-a525f7f2a684@gmail.com> <114ef223-5540-6a57-8ad0-c65c16e503ec@gmail.com> <8f00f249-330a-5b9f-ecc6-bca54be41bfc@deganius.de> <7951e721-ee18-514c-f6be-840f3de931cb@gmail.com> Message-ID: Am 07.03.22 um 23:30 schrieb Beno?t Minisini: > It's just hidden in the IDE. The option is in the compiler. The > interpreter does not care with namespaces. I thought again. You are right. If we make such a significant element (like a default namespace) visible only in the IDE or in the .project file, we create a problem: The code would not reflect what it does in all cases, and that is crucial IMO. Therefore I think it is better to leave it as it is and we remove the sentence from the documentation. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: From chrisml at deganius.de Tue Mar 8 09:09:18 2022 From: chrisml at deganius.de (Christof Thalhofer) Date: Tue, 8 Mar 2022 09:09:18 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.17.0 - Namespace Support In-Reply-To: References: <2ccfd59d-5941-2891-5485-a525f7f2a684@gmail.com> <114ef223-5540-6a57-8ad0-c65c16e503ec@gmail.com> <8f00f249-330a-5b9f-ecc6-bca54be41bfc@deganius.de> <7951e721-ee18-514c-f6be-840f3de931cb@gmail.com> Message-ID: <2cf10ae2-7f9f-e481-20e8-7c8233d29af1@deganius.de> Am 07.03.22 um 23:59 schrieb Christof Thalhofer: > Therefore I think it is better to leave it as it is and we remove the > sentence from the documentation. I removed the sentence from the documentation. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: From wig at noxqs.org Tue Mar 8 14:14:36 2022 From: wig at noxqs.org (wig) Date: Tue, 8 Mar 2022 14:14:36 +0100 Subject: [Gambas-user] File, Open project: show path? Message-ID: Sometimes I miss seeing the path of the project in this Recent Projects dialog. It happens when messing around with projects with the same name in different locations. For example when looking which version of an old project to put in git. I temporary changed it for myself with adding a line to the ProjectBox Class around Line 207 $hDrawingArea_HasFocus ... .. .. Me.Tooltip = .Path Just an idea.. By the way; 3.17.0 compiles and runs nice on openSUSE 15.3-KDE Plasma. Thanks a lot! wig From bsteers4 at gmail.com Tue Mar 8 15:34:42 2022 From: bsteers4 at gmail.com (Bruce Steers) Date: Tue, 8 Mar 2022 14:34:42 +0000 Subject: [Gambas-user] File, Open project: show path? In-Reply-To: References: Message-ID: Hover the mouse over the files icon image in the recent projects chooser :) BruceS On Tue, 8 Mar 2022 at 13:38, wig wrote: > > Sometimes I miss seeing the path of the project in this Recent Projects > dialog. > > It happens when messing around with projects with the same name in > different locations. For example when looking which version of an old > project to put in git. > > I temporary changed it for myself with adding a line to the ProjectBox > Class around Line 207 > $hDrawingArea_HasFocus ... > .. > .. > Me.Tooltip = .Path > > > Just an idea.. > > By the way; 3.17.0 compiles and runs nice on openSUSE 15.3-KDE Plasma. > Thanks a lot! > > wig > > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bsteers4 at gmail.com Tue Mar 8 15:47:11 2022 From: bsteers4 at gmail.com (Bruce Steers) Date: Tue, 8 Mar 2022 14:47:11 +0000 Subject: [Gambas-user] File, Open project: show path? In-Reply-To: References: Message-ID: It's already in ProjectBox.class Line 83 SetPath() $sToolTip = Replace($sPath, System.User.Home, "~") Lines 122 / 123 DrawingArea_MouseMove() If Rect(DS, DS, ICON_SIZE, ICON_SIZE).Contains(Mouse.X, Mouse.Y) Then sTooltip = $sToolTip If sTooltip <> $hDrawingArea.Tooltip Then $hDrawingArea.Tooltip = sTooltip It's funny to me because i did EXACTLY the same thing only i was half way through adding my own tooltip bit when I suddenly noticed it was already there :) Respects BruceS On Tue, 8 Mar 2022 at 14:34, Bruce Steers wrote: > Hover the mouse over the files icon image in the recent projects chooser :) > BruceS > > > On Tue, 8 Mar 2022 at 13:38, wig wrote: > >> >> Sometimes I miss seeing the path of the project in this Recent Projects >> dialog. >> >> It happens when messing around with projects with the same name in >> different locations. For example when looking which version of an old >> project to put in git. >> >> I temporary changed it for myself with adding a line to the ProjectBox >> Class around Line 207 >> $hDrawingArea_HasFocus ... >> .. >> .. >> Me.Tooltip = .Path >> >> >> Just an idea.. >> >> By the way; 3.17.0 compiles and runs nice on openSUSE 15.3-KDE Plasma. >> Thanks a lot! >> >> wig >> >> >> >> ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bsteers4 at gmail.com Tue Mar 8 15:53:21 2022 From: bsteers4 at gmail.com (Bruce Steers) Date: Tue, 8 Mar 2022 14:53:21 +0000 Subject: [Gambas-user] File, Open project: show path? In-Reply-To: References: Message-ID: This does seem to be missed by people Ben, I've seen it missed by someone on the gambasone forum, wig missed it, and I did too. Maybe expand the hover area so the tooltip shows the path hovering anywhere on the item? Respects BruceS On Tue, 8 Mar 2022 at 14:47, Bruce Steers wrote: > It's already in ProjectBox.class > Line 83 SetPath() > $sToolTip = Replace($sPath, System.User.Home, "~") > > Lines 122 / 123 DrawingArea_MouseMove() > If Rect(DS, DS, ICON_SIZE, ICON_SIZE).Contains(Mouse.X, Mouse.Y) Then > sTooltip = $sToolTip > If sTooltip <> $hDrawingArea.Tooltip Then $hDrawingArea.Tooltip = sTooltip > > It's funny to me because i did EXACTLY the same thing only i was half way > through adding my own tooltip bit when I suddenly noticed it was already > there :) > Respects > BruceS > > > On Tue, 8 Mar 2022 at 14:34, Bruce Steers wrote: > >> Hover the mouse over the files icon image in the recent projects chooser >> :) >> BruceS >> >> >> On Tue, 8 Mar 2022 at 13:38, wig wrote: >> >>> >>> Sometimes I miss seeing the path of the project in this Recent Projects >>> dialog. >>> >>> It happens when messing around with projects with the same name in >>> different locations. For example when looking which version of an old >>> project to put in git. >>> >>> I temporary changed it for myself with adding a line to the ProjectBox >>> Class around Line 207 >>> $hDrawingArea_HasFocus ... >>> .. >>> .. >>> Me.Tooltip = .Path >>> >>> >>> Just an idea.. >>> >>> By the way; 3.17.0 compiles and runs nice on openSUSE 15.3-KDE Plasma. >>> Thanks a lot! >>> >>> wig >>> >>> >>> >>> ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- >>> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From bsteers4 at gmail.com Tue Mar 8 16:04:19 2022 From: bsteers4 at gmail.com (Bruce Steers) Date: Tue, 8 Mar 2022 15:04:19 +0000 Subject: [Gambas-user] File, Open project: show path? In-Reply-To: References: Message-ID: On Tue, 8 Mar 2022 at 14:53, Bruce Steers wrote: > This does seem to be missed by people Ben, I've seen it missed by someone > on the gambasone forum, wig missed it, and I did too. > > Maybe expand the hover area so the tooltip shows the path hovering > anywhere on the item? > Or at least expand it to cover the project name text as well as the icon. I think it is natural someone may hover over the name text to see if path appears but not so natural to try the little icon. Maybe line 122 could be... If Rect(DS, DS, $hDrawingArea.W - DS * 4, ICON_SIZE).Contains(Mouse.X, Mouse.Y) Then sTooltip = $sToolTip Respects BruceS -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Tue Mar 8 16:05:59 2022 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 8 Mar 2022 16:05:59 +0100 Subject: [Gambas-user] File, Open project: show path? In-Reply-To: References: Message-ID: Le 08/03/2022 ? 15:53, Bruce Steers a ?crit?: > This does seem to be missed by people Ben, I've seen it missed by > someone on the gambasone forum, wig missed it, and I did too. > > Maybe expand the hover area so the tooltip shows the path hovering > anywhere on the item? > > Respects > BruceS > Yes, something should be done. -- Beno?t Minisini From wig at noxqs.org Tue Mar 8 16:06:44 2022 From: wig at noxqs.org (wig) Date: Tue, 08 Mar 2022 16:06:44 +0100 Subject: [Gambas-user] =?utf-8?q?File=2C_Open_project=3A_show_path=3F?= In-Reply-To: References: Message-ID: Ah sorry, even in 3.14.3 it is there already, but very subtle. And indeed, the user gets the tooltip faster when it is set on the whole area. For the icon you have to position more precisely, and you might miss it. But I will find it now, thanks! wig. Bruce Steers schreef op 2022-03-08 15:53: > This does seem to be missed by people Ben, I've seen it missed by someone on the gambasone forum, wig missed it, and I did too. > > Maybe expand the hover area so the tooltip shows the path hovering anywhere on the item? > > Respects > BruceS > > On Tue, 8 Mar 2022 at 14:47, Bruce Steers wrote: > > It's already in ProjectBox.class > Line 83 SetPath() > $sToolTip = Replace($sPath, System.User.Home, "~") > > Lines 122 / 123 DrawingArea_MouseMove() > If Rect(DS, DS, ICON_SIZE, ICON_SIZE).Contains(Mouse.X, Mouse.Y) Then sTooltip = $sToolTip > If sTooltip <> $hDrawingArea.Tooltip Then $hDrawingArea.Tooltip = sTooltip > > It's funny to me because i did EXACTLY the same thing only i was half way through adding my own tooltip bit when I suddenly noticed it was already there :) > > Respects > BruceS > > On Tue, 8 Mar 2022 at 14:34, Bruce Steers wrote: > > Hover the mouse over the files icon image in the recent projects chooser :) > BruceS > > On Tue, 8 Mar 2022 at 13:38, wig wrote: > Sometimes I miss seeing the path of the project in this Recent Projects > dialog. > > It happens when messing around with projects with the same name in > different locations. For example when looking which version of an old > project to put in git. > > I temporary changed it for myself with adding a line to the ProjectBox > Class around Line 207 > $hDrawingArea_HasFocus ... > .. > .. > Me.Tooltip = .Path > > Just an idea.. > > By the way; 3.17.0 compiles and runs nice on openSUSE 15.3-KDE Plasma. > Thanks a lot! > > wig > > ----[ http://gambaswiki.org/wiki/doc/netiquette [1] ]---- ----[ http://gambaswiki.org/wiki/doc/netiquette [1] ]---- Links: ------ [1] http://gambaswiki.org/wiki/doc/netiquette -------------- next part -------------- An HTML attachment was scrubbed... URL: From bsteers4 at gmail.com Tue Mar 8 16:45:45 2022 From: bsteers4 at gmail.com (Bruce Steers) Date: Tue, 8 Mar 2022 15:45:45 +0000 Subject: [Gambas-user] File, Open project: show path? In-Reply-To: References: Message-ID: On Tue, 8 Mar 2022 at 15:08, Beno?t Minisini wrote: > Le 08/03/2022 ? 15:53, Bruce Steers a ?crit : > > This does seem to be missed by people Ben, I've seen it missed by > > someone on the gambasone forum, wig missed it, and I did too. > > > > Maybe expand the hover area so the tooltip shows the path hovering > > anywhere on the item? > > > > Respects > > BruceS > > > > Yes, something should be done. > Indeed , less talk more action eh :) Merge submitted to simply expand hover width. Maybe it is better to add _Enter() _Leave() events for whole of item? Hope you are well my friend. BruceS -------------- next part -------------- An HTML attachment was scrubbed... URL: From tercoide at hotmail.com Tue Mar 8 17:20:21 2022 From: tercoide at hotmail.com (martin p cristia) Date: Tue, 8 Mar 2022 13:20:21 -0300 Subject: [Gambas-user] It is possible to print without having to show the system's config form? In-Reply-To: References: Message-ID: Form the help: Printing a document To print a document: * Instanciate a Printer object. * Call theConfigure method. A printing configuration dialog is displayed.? <----- I WANT TO SKIP THIS * Call thePrint method to run the printing process. * TheBegin event is raised when t................. My program has its own print setup form, so the printer's name, paper size and page settings are all set into the instanciated Printer object, say printer1. There is no need for the .Configure method, so its not called; but it shows anyway after printer1.Print method. Is there a way to prevent this? -- Saludos Ing. Martin P Cristia -------------- next part -------------- An HTML attachment was scrubbed... URL: From t.lee.davidson at gmail.com Tue Mar 8 19:32:12 2022 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Tue, 8 Mar 2022 13:32:12 -0500 Subject: [Gambas-user] Arrays of mixed numeric type always float[] not variant[] In-Reply-To: <165487677.33930.1646681298563.JavaMail.zimbra@westwoodsvcs.com> References: <165487677.33930.1646681298563.JavaMail.zimbra@westwoodsvcs.com> Message-ID: On 3/7/22 14:28, Brian G wrote: > When I create an array > > dim a = [1, 2, 3, 4, 4.5] > Gambas always creates a float[] not variant[], which makes it impossible to add sets like [1,3,4] to the array later.? Is this > the correct > behavior for mixed arrays of numbers? Is there a reason you can't declare the array as Variant[]? I don't have any problem inserting an integer array into a variant array. This code: Public Sub Main() Dim a As Variant[] = [1, 2, 3, 4.5, 5] a.Insert([6, 7, 8]) For Each b As Variant In a Print b & "\t" & TypeOf(b) Next End Yields: 1 7 2 7 3 7 4.5 7 5 7 6 4 7 4 8 4 -- Lee From brian at westwoodsvcs.com Wed Mar 9 01:04:24 2022 From: brian at westwoodsvcs.com (=?UTF-8?B?QnJpYW4gRw==?=) Date: Wed, 09 Mar 2022 03:04:24 +0300 Subject: [Gambas-user] =?utf-8?q?Arrays_of_mixed_numeric_type_always_floa?= =?utf-8?b?dFtdIG5vdCB2YXJpYW50W10=?= In-Reply-To: References: <165487677.33930.1646681298563.JavaMail.zimbra@westwoodsvcs.com> Message-ID: <1646784264.917622122@f15.my.com> Yes I can do that, I guess I was not thinking... Thanks. Tuesday, 08 March 2022, 10:33AM -08:00 from T Lee Davidson t.lee.davidson at gmail.com : >On 3/7/22 14:28, Brian G wrote: > When I create an array > > dim a = [1, 2, 3, 4, 4.5] > Gambas always creates a float[] not variant[], which makes it impossible to add sets like [1,3,4] to the array later.? Is this > the correct > behavior for mixed arrays of numbers? > >Is there a reason you can't declare the array as Variant[]? I don't have any problem inserting an integer array into a variant >array. > >This code: >Public Sub Main() > >???Dim a As Variant[] = [1, 2, 3, 4.5, 5] > >???a.Insert([6, 7, 8]) >???For Each b As Variant In a >?????Print b & "\t" & TypeOf(b) >???Next > >End > >Yields: >1 7 >2 7 >3 7 >4.5 7 >5 7 >6 4 >7 4 >8 4 > > >-- >Lee > >----[ http://gambaswiki.org/wiki/doc/netiquette ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From mbelmonte at belmotek.net Wed Mar 9 10:51:10 2022 From: mbelmonte at belmotek.net (Martin Belmonte) Date: Wed, 9 Mar 2022 10:51:10 +0100 Subject: [Gambas-user] It is possible to print without having to show the system's config form? In-Reply-To: References: Message-ID: <8585999c-0d8f-090c-d53b-1a9b0d7171bd@belmotek.net> El 8/3/22 a las 17:20, martin p cristia escribi?: > My program has its own print setup form, so the printer's name, paper > size and page settings are all set into the instanciated Printer object, > say printer1. There is no need for the .Configure method, so its not > called; but it shows anyway after printer1.Print method. Is there a way > to prevent this? Taking the program from the farm called Printing_example (by cogier), it is possible to observe that there is a call to the .Configure method and it makes the form appear, which you don't want to happen. Well if you comment that line you will see that the form does not appear and the printout comes out directly from the default printer. Public Sub ButtonPrint_Click() ' commenting the line below results in direct printing by printer without the configuration form appearing. 'If PrinterOne.Configure() Then Return PrinterOne.Print End Public Sub PrinterOne_Draw() Paint.DrawText(TextArea1.Text, 10, 10) End Regards. Mart?n. From mbelmonte at belmotek.net Wed Mar 9 12:08:09 2022 From: mbelmonte at belmotek.net (Martin Belmonte) Date: Wed, 9 Mar 2022 12:08:09 +0100 Subject: [Gambas-user] Trying to improve the image quality output Message-ID: Hi, I use a gambas code [1] to made images imposition [4] in order to print two pages in one sheet and save paper. The final image quality is lower that original so: 1) Is possible improve the final quality in the gambas code [1] ? 2) There are some code to use Imagemagick with Extern in gambas, focused in the Montage function [2]? I use [3] in terminal that offer a better image quality that gambas Cairo.Paint. Please see the screenshot in imgur.com, where is possible see the diferences between original image and gambas otput image https://imgur.com/7frYu2F [1] hCanvas = New CairoPdfSurface("/tmp/job.pdf, 420.0, 297.0) Cairo.Begin(hCanvas) h = 297 * 2.85 w = h * (1 / Sqr(2)) hImageL = Image.Load("/tmp/001.tif").Stretch(w, h) hImageR = Image.Load("/tmp/002.tif"]).Stretch(w, h) Cairo.Source = Cairo.ImagePattern(hImageL, 0, 0,, Cairo.FilterBest) Cairo.Paint Cairo.Source = Cairo.ImagePattern(hImageR, w, 0,, Cairo.FilterBest) Cairo.Paint Cairo.ShowPage() [2] https://imagemagick.org/script/montage.php [3] magick montage -geometry +4+4 001.tif 002.tif montage.jpeg [4] https://en.wikipedia.org/wiki/Imposition ----- Regards Mart?n. From g4mba5 at gmail.com Wed Mar 9 15:44:22 2022 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 9 Mar 2022 15:44:22 +0100 Subject: [Gambas-user] Release of Gambas 3.17.0 Message-ID: Hi, Gambas 3.17.0 is finally released, after a last-minute bug has been fixed. This is a huge release again, with more than 1,200 changes, optimizations and bug fixes. The main features of this release are: - A new lightweight HTML viewer component, gb.form.htmlview, based on the litehtml library. - Namespace support for exported symbols. - Support for static variables local to a function. - The IDE now can debug a process that run on another computer through ssh. - The debugger now can stop each time the value of an expression changes. - The profiler can now profile the code of the components loaded by the project. - Serialization now does not duplicate objects anymore, and so deal with any complex object structures even with circular dependencies. - Shr, Shl, Asr, Asl, Lsl, Lsr, Rol and Ror can now be used as operators. - Text highlighting has been redesigned to support different color names by file types. - Support for right-to-left language in GUI controls has been enhanced. - The new gb.gtk3.opengl component bring the GLArea OpenGL control to the GTK+3 component. - The gb.web.gui component has been enhanced with a tree control, keyboard events, global shortcuts and better focus management. See the Release Notes for all the details: https://gambaswiki.org/wiki/doc/release/3.17.0 Download it at: https://gitlab.com/gambas/gambas/-/archive/3.17.0/gambas-3.17.0.tar.bz2 The stable Ubuntu PPA will be updated soon. Enjoy it! -- Beno?t Minisini From jmcbride at mail-on.us Wed Mar 9 17:21:53 2022 From: jmcbride at mail-on.us (Jerry McBride) Date: Wed, 9 Mar 2022 11:21:53 -0500 Subject: [Gambas-user] Release of Gambas 3.17.0 In-Reply-To: References: Message-ID: <0E790969-B66B-4CEE-B5A2-287ECE74D4C2@mail-on.us> Sent from my iPhone XI and iOS 15.0 > On Mar 9, 2022, at 09:44, Beno?t Minisini wrote: > > ?Hi, > > Gambas 3.17.0 is finally released, after a last-minute bug has been fixed. > > This is a huge release again, with more than 1,200 changes, optimizations and bug fixes. > > The main features of this release are: > > - A new lightweight HTML viewer component, gb.form.htmlview, based on the litehtml library. > > - Namespace support for exported symbols. > > - Support for static variables local to a function. > > - The IDE now can debug a process that run on another computer through ssh. > > - The debugger now can stop each time the value of an expression changes. > > - The profiler can now profile the code of the components loaded by the project. > > - Serialization now does not duplicate objects anymore, and so deal with any complex object structures even with circular dependencies. > > - Shr, Shl, Asr, Asl, Lsl, Lsr, Rol and Ror can now be used as operators. > > - Text highlighting has been redesigned to support different color names by file types. > > - Support for right-to-left language in GUI controls has been enhanced. > > - The new gb.gtk3.opengl component bring the GLArea OpenGL control to the GTK+3 component. > > - The gb.web.gui component has been enhanced with a tree control, keyboard events, global shortcuts and better focus management. > > See the Release Notes for all the details: > https://gambaswiki.org/wiki/doc/release/3.17.0 > > Download it at: > https://gitlab.com/gambas/gambas/-/archive/3.17.0/gambas-3.17.0.tar.bz2 > > The stable Ubuntu PPA will be updated soon. > > Enjoy it! > > -- > Beno?t Minisini > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- From chrisml at deganius.de Wed Mar 9 18:36:15 2022 From: chrisml at deganius.de (Christof Thalhofer) Date: Wed, 9 Mar 2022 18:36:15 +0100 Subject: [Gambas-user] Release of Gambas 3.17.0 In-Reply-To: References: Message-ID: <634fc640-cd73-75a7-c3d7-60de3defd40b@deganius.de> Hi Beno?t, Am 09.03.22 um 15:44 schrieb Beno?t Minisini: > Enjoy it! We will! Congratulations on the new release and thank you very much! :-) Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: From roberto.premoli at tiscali.it Wed Mar 9 20:01:20 2022 From: roberto.premoli at tiscali.it (roberto.premoli at tiscali.it) Date: Wed, 09 Mar 2022 20:01:20 +0100 Subject: [Gambas-user] Release of Gambas 3.17.0 In-Reply-To: References: Message-ID: > - Shr, Shl, Asr, Asl, Lsl, Lsr, Rol and Ror can now be used as > operators. these instructions take back, from the fog of memory, the epic teenager's years I spent to wrote Z80 assembly on ZX Spectrum... roberto Voucher MISE per P.IVA e PMI: fino a 2500? per la Banda Ultralarga. https://www.tiscali.it/business/prodotti/voucher/?r=TS00000A00025&dm=link&p=tiscali&utm_source=tiscali&utm_medium=link&utm_campaign=voucherbusiness&utm_content=voucherbusiness&wt_np=tiscali.link.footermail.voucher.business.btb. From mbelmonte at belmotek.net Wed Mar 9 22:08:14 2022 From: mbelmonte at belmotek.net (Martin Belmonte) Date: Wed, 9 Mar 2022 22:08:14 +0100 Subject: [Gambas-user] Release of Gambas 3.17.0 In-Reply-To: References: Message-ID: El 9/3/22 a las 15:44, Beno?t Minisini escribi?: > Gambas 3.17.0 is finally released, after a last-minute bug has been fixed. > This is a huge release again, with more than 1,200 changes, > optimizations and bug fixes. Congratulations Beno?t !! Thank you very much. Mart?n. From chrisml at deganius.de Wed Mar 9 22:50:02 2022 From: chrisml at deganius.de (Christof Thalhofer) Date: Wed, 9 Mar 2022 22:50:02 +0100 Subject: [Gambas-user] Release of Gambas 3.17.0 In-Reply-To: References: Message-ID: <2c7f2370-b1a1-a4f7-32cc-771ed9a06bfa@deganius.de> Am 09.03.22 um 20:01 schrieb roberto.premoli at tiscali.it: >> - Shr, Shl, Asr, Asl, Lsl, Lsr, Rol and Ror can now be used as >> operators. > > these instructions take back, from the fog of memory, the epic > teenager's years I spent to wrote Z80 assembly on ZX Spectrum... > > roberto This is not my playground. Can someone write tests for these operators? The right place for these tests is 'app/src/gambas3-selftest' One can also write tests, give me the sources and I can integrate it into Gambas3-Selftest. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: From gambas.fr at gmail.com Thu Mar 10 07:21:19 2022 From: gambas.fr at gmail.com (Fabien Bodard) Date: Thu, 10 Mar 2022 07:21:19 +0100 Subject: [Gambas-user] Release of Gambas 3.17.0 In-Reply-To: <2c7f2370-b1a1-a4f7-32cc-771ed9a06bfa@deganius.de> References: <2c7f2370-b1a1-a4f7-32cc-771ed9a06bfa@deganius.de> Message-ID: Thank you Beno?t, and all the contributors for this new release ?. 22 year and still alive .. Gambas is less known than pyton but at least, it exist. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jose.rodriguez at cenpalab.cu Thu Mar 10 09:16:21 2022 From: jose.rodriguez at cenpalab.cu (jose.rodriguez at cenpalab.cu) Date: Thu, 10 Mar 2022 08:16:21 +0000 Subject: [Gambas-user] Release of Gambas 3.17.0 In-Reply-To: References: <2c7f2370-b1a1-a4f7-32cc-771ed9a06bfa@deganius.de> Message-ID: <9d55f3b3fecc2d3022efb7ce65b51735@cenpalab.cu> March 10, 2022 1:20 AM, "Fabien Bodard" wrote: > Thank you Beno?t, and all the contributors for this new release ?. > Indeed, thank you...!!! > > 22 year and still alive .. Gambas is less known than pyton but at least, it exist. > It's been 22 years already? Wow, amazing how one looses track of time. I started using Gambas pretty much near the beginning, and for quite a while, mostly while I was on the VectorLinux team and did a few VL tools in it, then started developing in java mostly, but still maintained some intermittent (though enthusiastic) use of Gambas. Regards, Joe1962 From adamnt42 at gmail.com Thu Mar 10 10:13:54 2022 From: adamnt42 at gmail.com (bb) Date: Thu, 10 Mar 2022 19:43:54 +1030 Subject: [Gambas-user] Release of Gambas 3.17.0 In-Reply-To: <9d55f3b3fecc2d3022efb7ce65b51735@cenpalab.cu> References: <2c7f2370-b1a1-a4f7-32cc-771ed9a06bfa@deganius.de> <9d55f3b3fecc2d3022efb7ce65b51735@cenpalab.cu> Message-ID: On Thu, 2022-03-10 at 08:16 +0000, jose.rodriguez at cenpalab.cu wrote: > It's been 22 years already? Wow, amazing how one looses track of > time. I started using Gambas pretty much near the beginning, and for > quite a while, mostly while I was on the VectorLinux team and did a > few VL tools in it, then started developing in java mostly, but still > maintained some intermittent (though enthusiastic) use of Gambas. > > Regards, > > Joe1962 Maybe a timeline would be a good thing (or at least of some interest) on the new website? b From dickson.tim at googlemail.com Thu Mar 10 10:19:51 2022 From: dickson.tim at googlemail.com (Tim Dickson) Date: Thu, 10 Mar 2022 09:19:51 +0000 Subject: [Gambas-user] Release of Gambas 3.17.0 In-Reply-To: References: Message-ID: <51638357-1234-49f9-0994-6eb4e5719d51@googlemail.com> many thanks Beno?t, New slackware is out, and submissions for slackbuilds will soon be open, so as soon as they are, I hope to update the slackbuild for this latest version of gambas. regards, Tim On 09/03/2022 14:44, Beno?t Minisini wrote: > Hi, > > Gambas 3.17.0 is finally released, after a last-minute bug has been > fixed. > > This is a huge release again, with more than 1,200 changes, > optimizations and bug fixes. > > The main features of this release are: > > - A new lightweight HTML viewer component, gb.form.htmlview, based on > the litehtml library. > > - Namespace support for exported symbols. > > - Support for static variables local to a function. > > - The IDE now can debug a process that run on another computer through > ssh. > > - The debugger now can stop each time the value of an expression changes. > > - The profiler can now profile the code of the components loaded by > the project. > > - Serialization now does not duplicate objects anymore, and so deal > with any complex object structures even with circular dependencies. > > - Shr, Shl, Asr, Asl, Lsl, Lsr, Rol and Ror can now be used as operators. > > - Text highlighting has been redesigned to support different color > names by file types. > > - Support for right-to-left language in GUI controls has been enhanced. > > - The new gb.gtk3.opengl component bring the GLArea OpenGL control to > the GTK+3 component. > > - The gb.web.gui component has been enhanced with a tree control, > keyboard events, global shortcuts and better focus management. > > See the Release Notes for all the details: > https://gambaswiki.org/wiki/doc/release/3.17.0 > > Download it at: > https://gitlab.com/gambas/gambas/-/archive/3.17.0/gambas-3.17.0.tar.bz2 > > The stable Ubuntu PPA will be updated soon. > > Enjoy it! > -- This email has been checked for viruses by AVG. https://www.avg.com From chrisml at deganius.de Thu Mar 10 10:43:16 2022 From: chrisml at deganius.de (Christof Thalhofer) Date: Thu, 10 Mar 2022 10:43:16 +0100 Subject: [Gambas-user] Release of Gambas 3.17.0 In-Reply-To: <51638357-1234-49f9-0994-6eb4e5719d51@googlemail.com> References: <51638357-1234-49f9-0994-6eb4e5719d51@googlemail.com> Message-ID: <897537fa-15cc-3576-f421-dd235f1821ec@deganius.de> Am 10.03.22 um 10:19 schrieb Tim Dickson via User: > many thanks Beno?t, > New slackware is out, and submissions for slackbuilds will soon be open, > so as soon as they are, I hope to update the slackbuild for this latest > version of gambas. You should wait for 3.17.1 at minimum because now a lot of people will try it out and a couple of bugs will appear. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: From antonioceula at gmail.com Thu Mar 10 10:57:35 2022 From: antonioceula at gmail.com (Antonio F.S.) Date: Thu, 10 Mar 2022 10:57:35 +0100 Subject: [Gambas-user] Release of Gambas 3.17.0 In-Reply-To: References: Message-ID: <16726b1c-4a0c-b91b-eebb-0cab01d83991@gmail.com> El 9/3/22 a las 15:44, Beno?t Minisini escribi?: > Hi, > > Gambas 3.17.0 is finally released, after a last-minute bug has been > fixed... ------------ Good morning. My congratulations to all the Gambas maintenance and improvement team for this new version. Although I don't communicate much here, I read with interest what is sent to the list. I continue to investigate my two old beloved programming systems: Clipper in Harbour and Basic in Gambas. :-) :-) Many thanks and encouragement. Best regards. Antonio F.S. From tercoide at hotmail.com Thu Mar 10 13:31:10 2022 From: tercoide at hotmail.com (martin p cristia) Date: Thu, 10 Mar 2022 09:31:10 -0300 Subject: [Gambas-user] Release of Gambas 3.17.0 In-Reply-To: References: Message-ID: Many thanks for that. Will test it and give feedback. El 3/10/22 a las 03:22, user-request at lists.gambas-basic.org escribi?: > - The new gb.gtk3.opengl component bring the GLArea OpenGL control to > the GTK+3 component. -- Saludos Ing. Martin P Cristia From bagonergi at gmail.com Thu Mar 10 13:34:32 2022 From: bagonergi at gmail.com (Gianluigi) Date: Thu, 10 Mar 2022 13:34:32 +0100 Subject: [Gambas-user] Is it possible to use a library that uses gb.sdl2 in a graphic project? Message-ID: In an attempt to answer this e-mail https://lists.gambas-basic.org/pipermail/user/2022-March/075615.html I tried to create a project that, using gb.sdl2 through a library, would change a TIF file into BMP and then use gb.image to obtain a compressed JPEG file. It seems impossible, the library alone works, but when inserted in a project it does not load the TIF image (ERROR: Unable to load image). I attach here the complete zipped project: https://paste.c-net.org/LashedEarplugs Note: you must import the .gambas library inside the TestTiff project. Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Thu Mar 10 13:51:06 2022 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 10 Mar 2022 13:51:06 +0100 Subject: [Gambas-user] Trying to improve the image quality output In-Reply-To: References: Message-ID: <9317c375-1a3c-52b2-30e1-180dcc52788d@gmail.com> Le 09/03/2022 ? 12:08, Martin Belmonte a ?crit?: > Hi, > I use a gambas code [1] to made images imposition [4] in order to print > two pages in one sheet and save paper. The final image quality is lower > that original so: > > 1) Is possible improve the final quality in the gambas code [1] ? > 2) There are some code to use Imagemagick with Extern in gambas, focused > in the Montage function [2]? I use [3] in terminal that offer a better > image quality that gambas Cairo.Paint. > > Please see the screenshot in imgur.com, where is possible see the > diferences between original image and gambas otput image > https://imgur.com/7frYu2F > > [1] > > ?hCanvas = New CairoPdfSurface("/tmp/job.pdf, 420.0, 297.0) > ?Cairo.Begin(hCanvas) > > ?h = 297 * 2.85 > ?w = h * (1 / Sqr(2)) > ?hImageL = Image.Load("/tmp/001.tif").Stretch(w, h) > ?hImageR = Image.Load("/tmp/002.tif"]).Stretch(w, h) > > ?Cairo.Source = Cairo.ImagePattern(hImageL, 0, 0,, Cairo.FilterBest) > ?Cairo.Paint > ?Cairo.Source = Cairo.ImagePattern(hImageR, w, 0,, Cairo.FilterBest) > ?Cairo.Paint > ?Cairo.ShowPage() > > > [2] > https://imagemagick.org/script/montage.php > [3] > magick montage -geometry +4+4 001.tif 002.tif montage.jpeg > > [4] > https://en.wikipedia.org/wiki/Imposition > > ----- > > Regards > Mart?n. > Of course. Image dimensions are in pixels. Cairo draws with logical coordinates. You must not stretch the image to the logical coordinates, it's a non-sense. In your code, you are losing pixels. You must instead modify the pattern matrix, so that the pattern coordinates (in pixels) are stretched to the Cairo logical coordinates. Regards, -- Beno?t Minisini From mbelmonte at belmotek.net Thu Mar 10 14:10:18 2022 From: mbelmonte at belmotek.net (Martin Belmonte) Date: Thu, 10 Mar 2022 14:10:18 +0100 Subject: [Gambas-user] Is it possible to use a library that uses gb.sdl2 in a graphic project? In-Reply-To: References: Message-ID: <4e600983-b2a5-67d8-a14e-f0c4b0fb9bb4@belmotek.net> El 10/3/22 a las 13:34, Gianluigi escribi?: > TIF file into BMP Hi, I solve the problem using the freeimage library, for that i take the code from the Italian forum but i modify it to use as Task class. Maybe it will be useful for you. ' Gambas class file '''Images convertion class. To be used in conjunction with gb.Task Inherits Task Public sInput As String Public sOutput As String Public sThumb As String Public sMode As String Library "libfreeimage-3.18.0" Private Enum FIF_UNKNOWN = -1, FIF_BMP, FIF_ICO, FIF_JPEG, FIF_JNG, FIF_KOALA, FIF_LBM, FIF_IFF = 5, FIF_MNG = 6, FIF_PBM, FIF_PBMRAW, FIF_PCD, FIF_PCX, FIF_PGM, FIF_PGMRAW, FIF_PNG, FIF_PPM, FIF_PPMRAW, FIF_RAS, FIF_TARGA, FIF_TIFF, FIF_WBMP, FIF_PSD, FIF_CUT, FIF_XBM, FIF_XPM, FIF_DDS, FIF_GIF, FIF_HDR, FIF_FAXG3, FIF_SGI, FIF_EXR, FIF_J2K, FIF_JP2, FIF_PFM, FIF_PICT, FIF_RAW Private Const JPEG_DEFAULT As Integer = 0 Private Const TIFF_DEFAULT As Integer = 0 Private Const PNG_DEFAULT As Integer = 0 ' void FreeImage_Initialise(BOOL FI_DEFAULT(FALSE)) ' Initialises the library. Private Extern FreeImage_Initialise(fi_default As Boolean) ' const char * FreeImage_GetCopyrightMessage(void) ' Returns a string containing a standard copyright message. 'Private Extern FreeImage_GetCopyrightMessage() As String ' FIBITMAP * FreeImage_Load(FREE_IMAGE_FORMAT fif, const char *filename, int flags FI_DEFAULT(0)) ' Load routines. Decodes a bitmap, allocates memory for it and then returns it as a FIBITMAP. Private Extern FreeImage_Load(fif As Integer, filename As String, flags As Integer) As Pointer ' BOOL FreeImage_Save(FREE_IMAGE_FORMAT fif, FIBITMAP *dib, const char *filename, int flags FI_DEFAULT(0)) ' Saves a previously loaded FIBITMAP to a file. Private Extern FreeImage_Save(fif As Integer, dib As Pointer, filename As String, flags As Integer) As Boolean ' void FreeImage_Unload(FIBITMAP *dib) ' Unload routines. Private Extern FreeImage_Unload(dib As Pointer) ' void FreeImage_DeInitialise(void) ' Deinitialises the library. Private Extern FreeImage_DeInitialise() Public Sub Main() Dim fbm As Pointer Dim bo As Boolean Dim hImage As Image Dim hThumb As Image ' Inizializza la libreria "FreeImage": FreeImage_Initialise(False) Select sMode Case "tiff-jpeg" fbm = FreeImage_Load(FIF_TIFF, sInput, TIFF_DEFAULT) bo = FreeImage_Save(FIF_JPEG, fbm, sOutput, JPEG_DEFAULT) 'If bo = False Then Error.Raise("Impossibile salvare l'immagine !") If Not Exist(sThumb) Then hImage = Image.Load(sOutput) hThumb = hImage.Stretch(256, 358).Copy() hThumb.Save(sThumb, 10) Print "******" & sThumb & "*********" Endif Case "tiff-bmp" fbm = FreeImage_Load(FIF_TIFF, sInput, TIFF_DEFAULT) bo = FreeImage_Save(FIF_BMP, fbm, sOutput, BMP_DEFAULT) Case "jpeg-png" fbm = FreeImage_Load(FIF_JPEG, sInput, JPEG_DEFAULT) bo = FreeImage_Save(FIF_PNG, fbm, sOutput, PNG_DEFAULT) End Select ' Libera la memoria precedentemente allocata e deinizializza la libreria "FreeImage": FreeImage_Unload(fbm) FreeImage_DeInitialise() End ---------------------- Regards. From bagonergi at gmail.com Thu Mar 10 16:57:55 2022 From: bagonergi at gmail.com (Gianluigi) Date: Thu, 10 Mar 2022 16:57:55 +0100 Subject: [Gambas-user] Is it possible to use a library that uses gb.sdl2 in a graphic project? In-Reply-To: <4e600983-b2a5-67d8-a14e-f0c4b0fb9bb4@belmotek.net> References: <4e600983-b2a5-67d8-a14e-f0c4b0fb9bb4@belmotek.net> Message-ID: Il giorno gio 10 mar 2022 alle ore 14:11 Martin Belmonte < mbelmonte at belmotek.net> ha scritto: > El 10/3/22 a las 13:34, Gianluigi escribi?: > > TIF file into BMP > Hi, I solve the problem using the freeimage library, for that i take the > code from the Italian forum but i modify it to use as Task class. > Maybe it will be useful for you. > > ' Gambas class file > > '''Images convertion class. To be used in conjunction with gb.Task > > Inherits Task > .... > :-D the great vuott... I thank you very much, but I would like to find a way to do this, using only Gambas code. When I have time I will try using gb.dbus, to try to work around the problem. Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Thu Mar 10 17:04:06 2022 From: bagonergi at gmail.com (Gianluigi) Date: Thu, 10 Mar 2022 17:04:06 +0100 Subject: [Gambas-user] Is it possible to use a library that uses gb.sdl2 in a graphic project? In-Reply-To: References: <4e600983-b2a5-67d8-a14e-f0c4b0fb9bb4@belmotek.net> Message-ID: Il giorno gio 10 mar 2022 alle ore 16:57 Gianluigi ha scritto: > > > Il giorno gio 10 mar 2022 alle ore 14:11 Martin Belmonte < > mbelmonte at belmotek.net> ha scritto: > >> El 10/3/22 a las 13:34, Gianluigi escribi?: >> > TIF file into BMP >> Hi, I solve the problem using the freeimage library, for that i take the >> code from the Italian forum but i modify it to use as Task class. >> Maybe it will be useful for you. >> >> ' Gambas class file >> >> '''Images convertion class. To be used in conjunction with gb.Task >> >> Inherits Task >> .... >> > > :-D the great vuott... > I thank you very much, but I would like to find a way to do this, using > only Gambas code. > When I have time I will try using gb.dbus, to try to work around the > problem. > I forgot, of course if Benoit would add TIF to the files you can upload... ;-D > > Regards > Gianluigi > -------------- next part -------------- An HTML attachment was scrubbed... URL: From claus.dietrich at freenet.de Thu Mar 10 18:06:35 2022 From: claus.dietrich at freenet.de (Claus Dietrich) Date: Thu, 10 Mar 2022 18:06:35 +0100 Subject: [Gambas-user] Non of my Web-Apps work any longer since 3.17.0 Message-ID: Non of my Web-Apps work any longer since 3.17.0. A small green message field shows "Compiling project .....OK" and then nothing happens .... the browser doesn't open. I am using gb.web.gui. Any Idea? Regards Claus From vuott at tutanota.com Thu Mar 10 18:03:33 2022 From: vuott at tutanota.com (vuott at tutanota.com) Date: Thu, 10 Mar 2022 18:03:33 +0100 (CET) Subject: [Gambas-user] Is it possible to use a library that uses gb.sdl2 in a graphic project? In-Reply-To: References: <4e600983-b2a5-67d8-a14e-f0c4b0fb9bb4@belmotek.net> Message-ID: ? but I would like to find a way to do this, using only Gambas code. ? Well, maybe by using gb.media Component: ************* Public Sub Main() ? Dim pl As New MediaPipeline ? Dim src, deb, vdc, enc, snk As MediaControl ? Dim primofile As String ? ? primofile = "/tmp/primofile" ? src = New MediaControl(pl, "filesrc") ? src["location"] = "/path/of/file.tif" ? deb = New MediaControl(pl, "decodebin") ? vdc = New MediaControl(pl, "videoconvert") ? enc = New MediaControl(pl, "avenc_bmp") ? snk = New MediaControl(pl, "filesink") ? snk["location"] = primofile ? src.LinkTo(deb) ? deb.LinkLaterTo(vdc) ? vdc.LinkTo(enc) ? enc.LinkTo(snk) ? pl.Play() ? Repeat ??? Wait 0.01 ? Until Stat(primofile).Size > 0 ? Copy primofile To "/tmp/new/file.bmp" ? pl.Close End ****************************** 10 mar 2022, 16:57 da bagonergi at gmail.com: > > > Il giorno gio 10 mar 2022 alle ore 14:11 Martin Belmonte <> mbelmonte at belmotek.net> > ha scritto: > >> El 10/3/22 a las 13:34, Gianluigi escribi?: >> >? ?TIF file into BMP >> Hi, I solve the problem using the freeimage library, for that i take the >> code from the Italian forum but i modify it to use as Task class. >> Maybe it will be useful for you. >> >> ' Gambas class file >> >> '''Images convertion class. To be used in conjunction with gb.Task >> >> Inherits Task >> .... >> > > :-D the great vuott... > I thank you very much, but I would like to find a way to do this, using only Gambas code. > When I have time I will try using gb.dbus, to try to work around the problem. > > Regards > Gianluigi > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mbelmonte at belmotek.net Thu Mar 10 18:15:12 2022 From: mbelmonte at belmotek.net (Martin Belmonte) Date: Thu, 10 Mar 2022 18:15:12 +0100 Subject: [Gambas-user] Is it possible to use a library that uses gb.sdl2 in a graphic project? In-Reply-To: References: <4e600983-b2a5-67d8-a14e-f0c4b0fb9bb4@belmotek.net> Message-ID: <3a7e8c0f-ffe8-7239-7a4e-66ac05192403@belmotek.net> El 10/3/22 a las 16:57, Gianluigi escribi?: > the great vuott... hehe, Vuott is one of the "consuls" in the Spanish forum, he always proposes interesting code like this. From mbelmonte at belmotek.net Thu Mar 10 18:48:22 2022 From: mbelmonte at belmotek.net (Martin Belmonte) Date: Thu, 10 Mar 2022 18:48:22 +0100 Subject: [Gambas-user] Is it possible to use a library that uses gb.sdl2 in a graphic project? In-Reply-To: References: Message-ID: <07dcbdc1-e8fe-8be6-c6ac-4c8e1bb2ebd7@belmotek.net> El 10/3/22 a las 13:34, Gianluigi escribi?: > It seems impossible, the library alone works, but when inserted in a > project it does not load the TIF image (ERROR: Unable to load image). Gianluigi, I set all like you describe in .txt, it works in my system. https://imgur.com/PtQIutg.png Regards. From loewen.amj at gmail.com Thu Mar 10 18:57:15 2022 From: loewen.amj at gmail.com (=?UTF-8?Q?Andr=c3=a9_LOEWEN?=) Date: Thu, 10 Mar 2022 18:57:15 +0100 Subject: [Gambas-user] Non of my Web-Apps work any longer since 3.17.0 In-Reply-To: References: Message-ID: <3ad04c57-382b-03ff-4909-b1ba65b16abf@gmail.com> Hello, In the IDE: Debug>Configuration: set Use embedded HTTP server to on. Kind regards Andr? On 10.03.22 18:06, Claus Dietrich wrote: > Non of my Web-Apps work any longer since 3.17.0. A small green message > field shows "Compiling project .....OK" and then nothing happens .... > the browser doesn't open. > > I am using gb.web.gui. > > Any Idea? > > Regards > > Claus > > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- From claus.dietrich at freenet.de Thu Mar 10 20:22:35 2022 From: claus.dietrich at freenet.de (Claus Dietrich) Date: Thu, 10 Mar 2022 20:22:35 +0100 Subject: [Gambas-user] Non of my Web-Apps work any longer since 3.17.0 In-Reply-To: References: Message-ID: <68d983f2-f610-4ab0-5f1a-bf9dd0a5c527@freenet.de> >Hello, >In the IDE: Debug>Configuration: set Use embedded HTTP server to on. >Kind regards >Andr? Thanks Andr?, this worked. It seems, that the upgrade to 3.17.0 changed my configuration. Intended? Normal? Best regards, Claus From claus.dietrich at freenet.de Thu Mar 10 20:41:45 2022 From: claus.dietrich at freenet.de (Claus Dietrich) Date: Thu, 10 Mar 2022 20:41:45 +0100 Subject: [Gambas-user] Non of my Web-Apps work any longer since 3.17.0 In-Reply-To: <68d983f2-f610-4ab0-5f1a-bf9dd0a5c527@freenet.de> References: <68d983f2-f610-4ab0-5f1a-bf9dd0a5c527@freenet.de> Message-ID: Ooops, I just found, that this setting is not stored, which explains that it went lost with the upgrade. I have to activate it each time I start Gambas. Benoit: Assuming that this was not intended .. shall I report this in the BugTracker? Regards, Claus Am 10.03.22 um 20:22 schrieb Claus Dietrich: >> Hello, > >> In the IDE: Debug>Configuration: set Use embedded HTTP server to on. > >> Kind regards > >> Andr? > > > Thanks Andr?, this worked. > > It seems, that the upgrade to 3.17.0 changed my configuration. > Intended? Normal? > > Best regards, Claus > From loewen.amj at gmail.com Thu Mar 10 20:49:37 2022 From: loewen.amj at gmail.com (=?UTF-8?Q?Andr=c3=a9_LOEWEN?=) Date: Thu, 10 Mar 2022 20:49:37 +0100 Subject: [Gambas-user] Non of my Web-Apps work any longer since 3.17.0 In-Reply-To: <68d983f2-f610-4ab0-5f1a-bf9dd0a5c527@freenet.de> References: <68d983f2-f610-4ab0-5f1a-bf9dd0a5c527@freenet.de> Message-ID: <0642b198-15cf-54ca-c781-26c75a0de58d@gmail.com> On 10.03.22 20:22, Claus Dietrich wrote: >> Hello, > >> In the IDE: Debug>Configuration: set Use embedded HTTP server to on. > >> Kind regards > >> Andr? > > > Thanks Andr?, this worked. > > It seems, that the upgrade to 3.17.0 changed my configuration. > Intended? Normal? > > Best regards, Claus > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- Hello Claus, Don't know if it's normal. I compiled my web applications without any problems under 3.17 and uploaded them to the web server. (Many thanks to Beno?t, and all the contributors!). Only this afternoon while troubleshooting I ran into the 'embedded server issue'. I can live with it. But, in my opinion it is not normal that even if you have selected the embedded server and you select the configuration menu again, the option is no longer selected. Best Regards Andr? From bsteers4 at gmail.com Thu Mar 10 20:09:39 2022 From: bsteers4 at gmail.com (Bruce Steers) Date: Thu, 10 Mar 2022 19:09:39 +0000 Subject: [Gambas-user] File, Open project: show path? In-Reply-To: References: Message-ID: On Tue, 8 Mar 2022 at 15:09, wig wrote: > Ah sorry, even in 3.14.3 it is there already, but very subtle. > > And indeed, the user gets the tooltip faster when it is set on the whole > area. For the icon you have to position more precisely, and you might miss > it. > > But I will find it now, thanks! > > wig. > It is now unmissable :) Benoit kindly added the full path string to the lower part of each box, hovering over the path part will show the whole string as a tool tip if you cannot see it all. Thank you Benoit :) BruceS -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Untitled.png Type: image/png Size: 198082 bytes Desc: not available URL: From g4mba5 at gmail.com Thu Mar 10 21:53:01 2022 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 10 Mar 2022 21:53:01 +0100 Subject: [Gambas-user] Non of my Web-Apps work any longer since 3.17.0 In-Reply-To: References: <68d983f2-f610-4ab0-5f1a-bf9dd0a5c527@freenet.de> Message-ID: Le 10/03/2022 ? 20:41, Claus Dietrich a ?crit?: > Ooops, I just found, that this setting is not stored, which explains > that it went lost with the upgrade. I have to activate it each time I > start Gambas. > > Benoit: Assuming that this was not intended .. shall I report this in > the BugTracker? > > Regards, Claus > Yes, it's a bug, the settings should be remembered as expected. Note that now the debugger settings are not stored in the shared project configuration file (shared with git) anymore, but in the local project configuration file (not shared with git). Regards, -- Beno?t Minisini From olivier.cruilles at yahoo.fr Thu Mar 10 21:59:32 2022 From: olivier.cruilles at yahoo.fr (Linus) Date: Thu, 10 Mar 2022 15:59:32 -0500 Subject: [Gambas-user] Release of Gambas 3.17.0 In-Reply-To: References: Message-ID: <556C630C-F9F1-4832-8913-E0C95C637B0C@yahoo.fr> Thank you Beno?t, and all the contributors for this new release. I hope the Gambas community will grow time after time, as it is and stay a really viable and good language. 17 years programming in Gambas and always amazed by it. Olivier Cruilles olivier.cruilles at yahoo.fr > Le 9 mars 2022 ? 09:44, Beno?t Minisini a ?crit : > > Hi, > > Gambas 3.17.0 is finally released, after a last-minute bug has been fixed. > > This is a huge release again, with more than 1,200 changes, optimizations and bug fixes. > > The main features of this release are: > > - A new lightweight HTML viewer component, gb.form.htmlview, based on the litehtml library. > > - Namespace support for exported symbols. > > - Support for static variables local to a function. > > - The IDE now can debug a process that run on another computer through ssh. > > - The debugger now can stop each time the value of an expression changes. > > - The profiler can now profile the code of the components loaded by the project. > > - Serialization now does not duplicate objects anymore, and so deal with any complex object structures even with circular dependencies. > > - Shr, Shl, Asr, Asl, Lsl, Lsr, Rol and Ror can now be used as operators. > > - Text highlighting has been redesigned to support different color names by file types. > > - Support for right-to-left language in GUI controls has been enhanced. > > - The new gb.gtk3.opengl component bring the GLArea OpenGL control to the GTK+3 component. > > - The gb.web.gui component has been enhanced with a tree control, keyboard events, global shortcuts and better focus management. > > See the Release Notes for all the details: > https://gambaswiki.org/wiki/doc/release/3.17.0 > > Download it at: > https://gitlab.com/gambas/gambas/-/archive/3.17.0/gambas-3.17.0.tar.bz2 > > The stable Ubuntu PPA will be updated soon. > > Enjoy it! > > -- > Beno?t Minisini > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Thu Mar 10 23:49:19 2022 From: bagonergi at gmail.com (Gianluigi) Date: Thu, 10 Mar 2022 23:49:19 +0100 Subject: [Gambas-user] Is it possible to use a library that uses gb.sdl2 in a graphic project? In-Reply-To: References: <4e600983-b2a5-67d8-a14e-f0c4b0fb9bb4@belmotek.net> Message-ID: Il giorno gio 10 mar 2022 alle ore 18:11 vuott--- via User < user at lists.gambas-basic.org> ha scritto: > ? but I would like to find a way to do this, using only Gambas code. ? > > Well, > maybe by using gb.media Component: > ... > Hi vuott, on 'Copy primofile To "/tmp/new/file.bmp"' I get an error: The file or directory does not exist Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Thu Mar 10 23:51:15 2022 From: bagonergi at gmail.com (Gianluigi) Date: Thu, 10 Mar 2022 23:51:15 +0100 Subject: [Gambas-user] Is it possible to use a library that uses gb.sdl2 in a graphic project? In-Reply-To: <07dcbdc1-e8fe-8be6-c6ac-4c8e1bb2ebd7@belmotek.net> References: <07dcbdc1-e8fe-8be6-c6ac-4c8e1bb2ebd7@belmotek.net> Message-ID: Il giorno gio 10 mar 2022 alle ore 18:49 Martin Belmonte < mbelmonte at belmotek.net> ha scritto: > El 10/3/22 a las 13:34, Gianluigi escribi?: > > It seems impossible, the library alone works, but when inserted in a > > project it does not load the TIF image (ERROR: Unable to load image). > Gianluigi, I set all like you describe in .txt, it works in my system. > https://imgur.com/PtQIutg.png > Regards. > Hi Martin, I tried to download the latest master but I keep getting the error. What version of Gambas do you have, maybe it's a bug? Who knows maybe Benoit can take a look! Benoit, the project is here: https://paste.c-net.org/LashedEarplugs Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Fri Mar 11 00:55:14 2022 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 11 Mar 2022 00:55:14 +0100 Subject: [Gambas-user] Is it possible to use a library that uses gb.sdl2 in a graphic project? In-Reply-To: References: Message-ID: Le 10/03/2022 ? 13:34, Gianluigi a ?crit?: > In an attempt to answer this e-mail > https://lists.gambas-basic.org/pipermail/user/2022-March/075615.html > > I tried to create a project that, using gb.sdl2 through a library, would > change a TIF file into BMP and then use gb.image to obtain a compressed > JPEG file. > It seems impossible, the library alone works, but when inserted in a > project it does not load the TIF image (ERROR: Unable to load image). > > I attach here the complete zipped project: > https://paste.c-net.org/LashedEarplugs > > > Note: you must import the .gambas library inside the TestTiff project. > > Regards > Gianluigi > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- SDL2 is supposed to be able to load almost any image format. For TIFF format, the documentation says that the library is loaded dynamically at runtime. I can't say more. https://www.libsdl.org/projects/SDL_image/ As for saving a JPEG image, you must use the 'gb.image.io' component. Regards, -- Beno?t Minisini From vuott at tutanota.com Fri Mar 11 03:42:47 2022 From: vuott at tutanota.com (vuott at tutanota.com) Date: Fri, 11 Mar 2022 03:42:47 +0100 (CET) Subject: [Gambas-user] Is it possible to use a library that uses gb.sdl2 in a graphic project? In-Reply-To: References: <4e600983-b2a5-67d8-a14e-f0c4b0fb9bb4@belmotek.net> Message-ID: Change: ???? Copy primofile To "/tmp/new_file.bmp" ciao vuott 10 mar 2022, 23:49 da bagonergi at gmail.com: > > > Il giorno gio 10 mar 2022 alle ore 18:11 vuott--- via User <> user at lists.gambas-basic.org> > ha scritto: > >> ? but I would like to find a way to do this, using only Gambas code. ? >> >> Well, >> maybe by using gb.media Component: >> ... >> > > Hi vuott, > on 'Copy primofile To "/tmp/new/file.bmp"' > I get an error: The file or directory does not exist > > Regards > Gianluigi > ? > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Fri Mar 11 10:13:26 2022 From: bagonergi at gmail.com (Gianluigi) Date: Fri, 11 Mar 2022 10:13:26 +0100 Subject: [Gambas-user] Is it possible to use a library that uses gb.sdl2 in a graphic project? In-Reply-To: References: <4e600983-b2a5-67d8-a14e-f0c4b0fb9bb4@belmotek.net> Message-ID: Il giorno ven 11 mar 2022 alle ore 03:43 vuott--- via User < user at lists.gambas-basic.org> ha scritto: > Change: > > Copy primofile To "/tmp/new_file.bmp" > > ciao > vuott > Hi vuott, yes you are right, sorry I was distracted by my code. I adapted it to my example and it works fine. Why do I have the impression of shooting a gnat with a cannon? :-) Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- H4sIAAAAAAAAA+xZCyCU2dt/XdNkS5R046VyqTFmxoyhjFu5lXLNLZfGzMQwZsYYoTDTbXeTa2pT kjaRUmy2QpelcikqUkrtbkRS/NUabFjMd+ZWanfru1T/79uvh3nfd855ruc5v+ec844HbYNnFJPD MYI+HaEBEfB44R1DwKMn3qUEYXBYDNYEbWKMNYHQGPCIhWD8J/TpNUVFckhsGIaCaSTG+/g+1P9/ lDyk+UdFssmfaBL81/MPnglf8v856O382y0PYTIjqWzUBiY7/KPZECbYxAT3t/nHYfHi/OMIoIMA 8o/DGwP8oz+aB++h/+f5XwDbk8KDSJGwHcg4bEejU2FjFBqB2CxpABcEDK9mbqS6k0l0KkUfjUQj CXikCd4AtHtQYzgwEdbXEc8bmMSAaeGkYKqOsHMth0ancWJBvwc7igoarNlsEiOYGk5lCIUk31DA Jl1ogsQOpjHeMG8WOSOZj5iJX0DnWx5hkBikCRZpgjEQ9biHMKNd2NSNNGr0G23iZpsoDofJmNjq RiVRnBn0CU7GI+IR/+6kfEb6G/yT6aTIyI9l40P4J6Cx7+LfhPAF/5+F9KT4F2Uc3gBghkC4sGkb SRwqvDDShcQJga0jYXcOm8YIBj1RQXQaGXaPChKVhkBnFpWhb4AAuJmIViGmOVQ2ANU6ncUoFiN4 2WJUKEt8pQpvQeEscOXQNoivG3SQsI4LjcyJYlNFLkTq+L+r8q/w+xbD6ig6hwb67Ej0SBCDLYPy trsTeAOtyRxRhGLXJWES3zF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/g1u5zaQAHgAAA== From bagonergi at gmail.com Fri Mar 11 10:18:12 2022 From: bagonergi at gmail.com (Gianluigi) Date: Fri, 11 Mar 2022 10:18:12 +0100 Subject: [Gambas-user] Is it possible to use a library that uses gb.sdl2 in a graphic project? In-Reply-To: References: Message-ID: Il giorno ven 11 mar 2022 alle ore 00:56 Beno?t Minisini ha scritto: > > SDL2 is supposed to be able to load almost any image format. For TIFF > format, the documentation says that the library is loaded dynamically at > runtime. I can't say more. > > https://www.libsdl.org/projects/SDL_image/ > > As for saving a JPEG image, you must use the 'gb.image.io' component. > > Regards, > > -- > Beno?t Minisini > Hi Benoit, I thank you very much for the answer, but here the malfunction doesn't happen in the saving, it happens when loading the TIF file. Saving works even with only gb.image, as the file I attached on vuott's code seems to show. Why does it work for Martin and not for me, what could be the reason? Why is the gb.sdl2 component incompatible with gb.gui, gb.gui.qt etc.? Could this be the reason for the malfunction? Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas.fr at gmail.com Fri Mar 11 10:23:12 2022 From: gambas.fr at gmail.com (Fabien Bodard) Date: Fri, 11 Mar 2022 10:23:12 +0100 Subject: [Gambas-user] Need help on dataview Message-ID: Hi, I want to maintain the position of the selected line after an update of the datasource ... How can I do that ? I take any good idea :-) There is no data count change just dataline info change ... but when I call datasource.update , the dataview loose the position ... and the index ... -- Fabien Bodard From bagonergi at gmail.com Fri Mar 11 10:54:03 2022 From: bagonergi at gmail.com (Gianluigi) Date: Fri, 11 Mar 2022 10:54:03 +0100 Subject: [Gambas-user] Need help on dataview In-Reply-To: References: Message-ID: Il giorno ven 11 mar 2022 alle ore 10:24 Fabien Bodard ha scritto: > Hi, > > > I want to maintain the position of the selected line after an update > of the datasource ... How can I do that ? > > I take any good idea :-) > > There is no data count change just dataline info change ... but when I > call datasource.update , the dataview loose the position ... and the > index ... > > -- > Fabien Bodard > Hi Fabien, I don't know if this is correct or it's just stupid, maybe you could take note of the current key before the changes and afterwards reposition the focus there (DataBrowser1.View.Rows[xxx].Selected = True): In Public Sub DataBrowser1_MouseDown() Try iCurrentKey = CInt(DataSource1.Current[0]) If Error Then iCurrentKey = $iCurrentKey Endif ... Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Fri Mar 11 11:02:56 2022 From: bagonergi at gmail.com (Gianluigi) Date: Fri, 11 Mar 2022 11:02:56 +0100 Subject: [Gambas-user] Need help on dataview In-Reply-To: References: Message-ID: Il giorno ven 11 mar 2022 alle ore 10:54 Gianluigi ha scritto: > > > Il giorno ven 11 mar 2022 alle ore 10:24 Fabien Bodard < > gambas.fr at gmail.com> ha scritto: > >> Hi, >> >> >> I want to maintain the position of the selected line after an update >> of the datasource ... How can I do that ? >> >> I take any good idea :-) >> >> There is no data count change just dataline info change ... but when I >> call datasource.update , the dataview loose the position ... and the >> index ... >> >> -- >> Fabien Bodard >> > > Hi Fabien, > > I don't know if this is correct or it's just stupid, maybe you could take > note of the current key before the changes and afterwards reposition the > focus there (DataBrowser1.View.Rows[xxx].Selected = True): > In Public Sub DataBrowser1_MouseDown() > Try iCurrentKey = CInt(DataSource1.Current[0]) > If Error Then > iCurrentKey = $iCurrentKey > Endif > ... > > Regards > Gianluigi > Sorry DataView and not DataBrowser, but it's the same right? :-) -------------- next part -------------- An HTML attachment was scrubbed... URL: From adamnt42 at gmail.com Fri Mar 11 13:17:52 2022 From: adamnt42 at gmail.com (bb) Date: Fri, 11 Mar 2022 22:47:52 +1030 Subject: [Gambas-user] Need help on dataview In-Reply-To: References: Message-ID: <480fe6ba7cc6ef1ccde3fdabd53b40ecdb61a15f.camel@gmail.com> On Fri, 2022-03-11 at 10:23 +0100, Fabien Bodard wrote: > Hi, > > > I want to maintain the position of? the selected line after an update > of the datasource ... How can I do that ? > > I take any good idea :-) > > There is no data count change just dataline info change ... but when > I > call datasource.update , the dataview loose the position ... and the > index ... > Yes, this one is a genuine AU:bastard. I have seen it time after time. Do I have an aswer - no. Gian is on the right track (? TR) but it seems to me that you need to do it case by case e.g. by every event, in partictular moises and keys. Irts not good. b p.s, If thia makews little sense consider 3 shots of Dimple BTW wht doesnt th imgvwr thimgy respomd sny mores? From g4mba5 at gmail.com Fri Mar 11 13:35:56 2022 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 11 Mar 2022 13:35:56 +0100 Subject: [Gambas-user] Is it possible to use a library that uses gb.sdl2 in a graphic project? In-Reply-To: References: Message-ID: <2160f8aa-a395-2f90-3a9f-6248289f11ed@gmail.com> Le 11/03/2022 ? 10:18, Gianluigi a ?crit?: > > > Il giorno ven 11 mar 2022 alle ore 00:56 Beno?t Minisini > > ha scritto: > > > SDL2 is supposed to be able to load almost any image format. For TIFF > format, the documentation says that the library is loaded > dynamically at > runtime. I can't say more. > > https://www.libsdl.org/projects/SDL_image/ > > > As for saving a JPEG image, you must use the 'gb.image.io > ' component. > > Regards, > > -- > Beno?t Minisini > > > Hi Benoit, > > I thank you very much for the answer, but here the malfunction doesn't > happen in the saving, it happens when loading the TIF file. > Saving works even with only gb.image, as the file I attached on vuott's > code seems to show. It's just because gb.sdl2 have a Image.Save() method that write a BMP file only. > > Why does it work for Martin and not for me, what could be the reason? No idea. > Why is the gb.sdl2 component incompatible with gb.gui, gb.gui.qt etc.? Because it's a GUI component like them. You can't use Qt and SDL at the same time, it's a non-sense (same thing for GTK+). Regards, -- Beno?t Minisini From bagonergi at gmail.com Fri Mar 11 13:52:35 2022 From: bagonergi at gmail.com (Gianluigi) Date: Fri, 11 Mar 2022 13:52:35 +0100 Subject: [Gambas-user] Is it possible to use a library that uses gb.sdl2 in a graphic project? In-Reply-To: <2160f8aa-a395-2f90-3a9f-6248289f11ed@gmail.com> References: <2160f8aa-a395-2f90-3a9f-6248289f11ed@gmail.com> Message-ID: Il giorno ven 11 mar 2022 alle ore 13:36 Beno?t Minisini ha scritto: > ... > Because it's a GUI component like them. You can't use Qt and SDL at the > same time, it's a non-sense (same thing for GTK+). > > Regards, > > -- > Beno?t Minisini > Hi Benoit, thanks, imagined this and it is for this reason that I separated the use of gb.sdl2 in a library. Can you kindly tell me if my code works for you? Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Fri Mar 11 14:03:51 2022 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 11 Mar 2022 14:03:51 +0100 Subject: [Gambas-user] Is it possible to use a library that uses gb.sdl2 in a graphic project? In-Reply-To: References: <2160f8aa-a395-2f90-3a9f-6248289f11ed@gmail.com> Message-ID: Le 11/03/2022 ? 13:52, Gianluigi a ?crit?: > Hi Benoit, > > thanks, imagined this and it is for this reason that I separated the use > of gb.sdl2 in a library. > > Can you kindly tell me if my code works for you? > > Regards > Gianluigi > Which code? -- Beno?t Minisini From bagonergi at gmail.com Fri Mar 11 14:07:35 2022 From: bagonergi at gmail.com (Gianluigi) Date: Fri, 11 Mar 2022 14:07:35 +0100 Subject: [Gambas-user] Is it possible to use a library that uses gb.sdl2 in a graphic project? In-Reply-To: References: <2160f8aa-a395-2f90-3a9f-6248289f11ed@gmail.com> Message-ID: Il giorno ven 11 mar 2022 alle ore 14:04 Beno?t Minisini ha scritto: > Le 11/03/2022 ? 13:52, Gianluigi a ?crit : > > Hi Benoit, > > > > thanks, imagined this and it is for this reason that I separated the use > > of gb.sdl2 in a library. > > > > Can you kindly tell me if my code works for you? > > > > Regards > > Gianluigi > > > > Which code? > The code posted here: https://paste.c-net.org/LashedEarplugs Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From vuott at tutanota.com Fri Mar 11 14:30:00 2022 From: vuott at tutanota.com (vuott at tutanota.com) Date: Fri, 11 Mar 2022 14:30:00 +0100 (CET) Subject: [Gambas-user] Is it possible to use a library that uses gb.sdl2 in a graphic project? In-Reply-To: References: <4e600983-b2a5-67d8-a14e-f0c4b0fb9bb4@belmotek.net> Message-ID: ? Why do I have the impression of shooting a gnat with a cannon? ? Using "Pipeline" Class, we have to assemble and connect the necessary functionalities (GStreamer plugins) from loading the tif file to creating the bmp file. Miao? =^.^= 11 mar 2022, 10:13 da bagonergi at gmail.com: > > > Il giorno ven 11 mar 2022 alle ore 03:43 vuott--- via User <> user at lists.gambas-basic.org> > ha scritto: > >> Change: >> >> ???? Copy primofile To "/tmp/new_file.bmp" >> >> ciao >> vuott >> > > Hi vuott, > > yes you are right, sorry I was distracted by my code. > I adapted it to my example and it works fine. > Why do I have the impression of shooting a gnat with a cannon? :-) > > Regards > Gianluigi > ? > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Fri Mar 11 14:53:54 2022 From: bagonergi at gmail.com (Gianluigi) Date: Fri, 11 Mar 2022 14:53:54 +0100 Subject: [Gambas-user] Is it possible to use a library that uses gb.sdl2 in a graphic project? In-Reply-To: References: <4e600983-b2a5-67d8-a14e-f0c4b0fb9bb4@belmotek.net> Message-ID: Il giorno ven 11 mar 2022 alle ore 14:31 vuott--- via User < user at lists.gambas-basic.org> ha scritto: > ? *Why do I have the impression of shooting a gnat with a cannon? *? > > Using "Pipeline" Class, we have to assemble and connect the necessary > functionalities (GStreamer plugins) from loading the tif file to creating > the bmp file. > > Miao =^.^= > ? long live cats Miao =^.^= ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Fri Mar 11 15:47:53 2022 From: bagonergi at gmail.com (Gianluigi) Date: Fri, 11 Mar 2022 15:47:53 +0100 Subject: [Gambas-user] Is it possible to use a library that uses gb.sdl2 in a graphic project? In-Reply-To: References: <2160f8aa-a395-2f90-3a9f-6248289f11ed@gmail.com> Message-ID: Il giorno ven 11 mar 2022 alle ore 14:07 Gianluigi ha scritto: > > > Il giorno ven 11 mar 2022 alle ore 14:04 Beno?t Minisini > ha scritto: > >> Le 11/03/2022 ? 13:52, Gianluigi a ?crit : >> > Hi Benoit, >> > >> > thanks, imagined this and it is for this reason that I separated the >> use >> > of gb.sdl2 in a library. >> > >> > Can you kindly tell me if my code works for you? >> > >> > Regards >> > Gianluigi >> > >> >> Which code? >> > > The code posted here: > https://paste.c-net.org/LashedEarplugs > Actually my question could also be changed in this way. Why in the IDE that is a graphic project that uses QT or GTK you can use the sdl2 library but I can't, where am I wrong? Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Fri Mar 11 16:02:00 2022 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 11 Mar 2022 16:02:00 +0100 Subject: [Gambas-user] Is it possible to use a library that uses gb.sdl2 in a graphic project? In-Reply-To: References: <2160f8aa-a395-2f90-3a9f-6248289f11ed@gmail.com> Message-ID: Le 11/03/2022 ? 15:47, Gianluigi a ?crit?: > > Actually my question could also be changed in this way. > Why in the IDE that is a graphic project that uses QT or GTK you can use > the sdl2 library but I can't, where am I wrong? > > Regards > Gianluigi > I don't understand your point. You can't use 'gb.sdl2' with any other GUI component, they are not compatible (because they all implement their own event loop). Of course, you can load the SDL2 shared libraries with the QT or GTK+ shared libraries, but what for? Regards, -- Beno?t Minisini From dickson.tim at googlemail.com Fri Mar 11 16:27:56 2022 From: dickson.tim at googlemail.com (Tim Dickson) Date: Fri, 11 Mar 2022 15:27:56 +0000 Subject: [Gambas-user] Is it possible to use a library that uses gb.sdl2 in a graphic project? In-Reply-To: References: <2160f8aa-a395-2f90-3a9f-6248289f11ed@gmail.com> Message-ID: Because sdl does it's own windowing, without a gui. (unless you write one). It "owns" the window it creates, or full screen. You have to manually create your own "controls" for SDL/SDL2, rather than the window being "owned" by GTK or QT. You need to think of SDL/SDL2 as a third (cross platform) windowing system that only offers a basic window (form) or fullscreen, without any widgets, but does give access to device hardware (mice, keyboard, controllers, audio and graphics) and openGL. the S in SDL is simple, because there are no widgets, unlike what you find in GTK or QT. regards, Tim On 11/03/2022 14:47, Gianluigi wrote: > > > Il giorno ven 11 mar 2022 alle ore 14:07 Gianluigi > ha scritto: > > > > Il giorno ven 11 mar 2022 alle ore 14:04 Beno?t Minisini > ha scritto: > > Le 11/03/2022 ? 13:52, Gianluigi a ?crit?: > > Hi Benoit, > > > > thanks, imagined this and it is for this reason that I > separated the use > > of gb.sdl2 in a library. > > > > Can you kindly tell me if my code works for you? > > > > Regards > > Gianluigi > > > > Which code? > > The code posted here: > https://paste.c-net.org/LashedEarplugs > > > Actually my question could also be changed in this way. > Why in the IDE that is a graphic project that uses QT or GTK you can > use the sdl2 library but I can't, where am I wrong? > > Regards > Gianluigi > > ----[http://gambaswiki.org/wiki/doc/netiquette ]---- -- This email has been checked for viruses by AVG. https://www.avg.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mbelmonte at belmotek.net Fri Mar 11 16:45:33 2022 From: mbelmonte at belmotek.net (Martin Belmonte) Date: Fri, 11 Mar 2022 16:45:33 +0100 Subject: [Gambas-user] Is it possible to use a library that uses gb.sdl2 in a graphic project? In-Reply-To: References: <07dcbdc1-e8fe-8be6-c6ac-4c8e1bb2ebd7@belmotek.net> Message-ID: <3acabd4c-4172-9707-1ee4-76655340973c@belmotek.net> El 10/3/22 a las 23:51, Gianluigi escribi?: > Hi Martin, > I tried to download the latest master but I keep getting the error. > What version of Gambas do you have, maybe it's a bug? Hi Gianluigi, Actually I'm running the 3.17 master version [System] Gambas=3.17.0 3fb3a5078 (master) OperatingSystem=Linux Kernel=5.16.13-arch1-1 Architecture=x86_64 Distribution=EndeavourOS Linux Desktop=XFCE Font=Noto Sans,10 Scale=7 Theme=arc-dark Language=es_ES.UTF-8 Memory=7856M [Libraries] Cairo=libcairo.so.2.11704.0 Curl=libcurl.so.4.7.0 DBus=libdbus-1.so.3.32.0 GDK2=libgdk-x11-2.0.so.0.2400.33 GDK3=libgdk-3.so.0.2404.29 GStreamer=libgstreamer-1.0.so.0.2000.0 GTK+2=libgtk-x11-2.0.so.0.2400.33 GTK+3=libgtk-3.so.0.2404.29 OpenGL=libGL.so.1.7.0 Poppler=libpoppler.so.119.0.0 QT5=libQt5Core.so.5.15.3 SDL=libSDL-1.2.so.0.11.5 SQLite=libsqlite3.so.0.8.6 Maybe the error ocurrs because some library version incompatible or missing. I mean, if work in my computer with te "same" gambas version the problem resides in other place. Wich system you use? Regards From bagonergi at gmail.com Fri Mar 11 17:28:31 2022 From: bagonergi at gmail.com (Gianluigi) Date: Fri, 11 Mar 2022 17:28:31 +0100 Subject: [Gambas-user] Is it possible to use a library that uses gb.sdl2 in a graphic project? In-Reply-To: References: <2160f8aa-a395-2f90-3a9f-6248289f11ed@gmail.com> Message-ID: Il giorno ven 11 mar 2022 alle ore 16:03 Beno?t Minisini ha scritto: > Le 11/03/2022 ? 15:47, Gianluigi a ?crit : > > > > Actually my question could also be changed in this way. > > Why in the IDE that is a graphic project that uses QT or GTK you can use > > the sdl2 library but I can't, where am I wrong? > > > > Regards > > Gianluigi > > > > I don't understand your point. > > You can't use 'gb.sdl2' with any other GUI component, they are not > compatible (because they all implement their own event loop). > > Of course, you can load the SDL2 shared libraries with the QT or GTK+ > shared libraries, but what for? > > Regards, > > -- > Beno?t Minisini > Hi Benoit, I'm sorry I couldn't explain that I wanted to use the gb.sdl2 component to load a tif file and turn it into a jpeg file. Anyway I tried the code to satisfy Martin's request and it works for him and vuott's code that uses gb.media works too. I would say that as soon as I thank Tim and answer Martin we can close the discussion here. Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Fri Mar 11 17:32:01 2022 From: bagonergi at gmail.com (Gianluigi) Date: Fri, 11 Mar 2022 17:32:01 +0100 Subject: [Gambas-user] Is it possible to use a library that uses gb.sdl2 in a graphic project? In-Reply-To: References: <2160f8aa-a395-2f90-3a9f-6248289f11ed@gmail.com> Message-ID: Il giorno ven 11 mar 2022 alle ore 16:28 Tim Dickson via User < user at lists.gambas-basic.org> ha scritto: > Because sdl does it's own windowing, without a gui. (unless you write > one). It "owns" the window it creates, or full screen. You have to manually > create your own "controls" for SDL/SDL2, rather than the window being > "owned" by GTK or QT. > > You need to think of SDL/SDL2 as a third (cross platform) windowing system > that only offers a basic window (form) or fullscreen, without any widgets, > but does give access to device hardware (mice, keyboard, controllers, audio > and graphics) and openGL. the S in SDL is simple, because there are no > widgets, unlike what you find in GTK or QT. > regards, Tim > > Hi Tim, thank you very much for the explanation Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Fri Mar 11 17:34:47 2022 From: bagonergi at gmail.com (Gianluigi) Date: Fri, 11 Mar 2022 17:34:47 +0100 Subject: [Gambas-user] Is it possible to use a library that uses gb.sdl2 in a graphic project? In-Reply-To: <3acabd4c-4172-9707-1ee4-76655340973c@belmotek.net> References: <07dcbdc1-e8fe-8be6-c6ac-4c8e1bb2ebd7@belmotek.net> <3acabd4c-4172-9707-1ee4-76655340973c@belmotek.net> Message-ID: Il giorno ven 11 mar 2022 alle ore 16:46 Martin Belmonte < mbelmonte at belmotek.net> ha scritto: > ... > Maybe the error ocurrs because some library version incompatible or > missing. I mean, if work in my computer with te "same" gambas version > the problem resides in other place. > Wich system you use? > Regards Hi Martin, I am currently using: [System] Gambas=3.17.90 91faa8b (master) OperatingSystem=Linux Kernel=5.13.0-35-generic Architecture=x86_64 Distribution=Ubuntu 20.04.4 LTS Desktop=UBUNTU Font=Ubuntu,11 Scale=8 Theme=yaru Language=it_IT.UTF-8 Memory=32015M [Libraries] Cairo=libcairo.so.2.11600.0 Curl=libcurl.so.4.6.0 DBus=libdbus-1.so.3.19.11 GDK2=libgdk-x11-2.0.so.0.2400.32 GDK3=libgdk-3.so.0.2404.16 GStreamer=libgstreamer-1.0.so.0.1602.0 GTK+2=libgtk-x11-2.0.so.0.2400.32 GTK+3=libgtk-3.so.0.2404.16 OpenGL=libGL.so.1.7.0 Poppler=libpoppler.so.97.0.0 QT5=libQt5Core.so.5.12.8 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 Like you I think that it depends on some missing library, but I don't understand why if tried separately both programs work. Maybe something interfering with the loading of the library... Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From t.lee.davidson at gmail.com Fri Mar 11 18:36:31 2022 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Fri, 11 Mar 2022 12:36:31 -0500 Subject: [Gambas-user] Need help on dataview In-Reply-To: References: Message-ID: <517d91c1-509f-4491-605d-7402e6f65251@gmail.com> On 3/11/22 04:23, Fabien Bodard wrote: > Hi, > > > I want to maintain the position of the selected line after an update > of the datasource ... How can I do that ? > > I take any good idea :-) > > There is no data count change just dataline info change ... but when I > call datasource.update , the dataview loose the position ... and the > index ... > Since you are calling Datasource.Update manually, you have the opportunity to store the index prior to updating. Then, just restore it after the update. Simple. Or, did I miss something? [code] Public Sub btnUpdate_Click() Dim iIndex As Integer iIndex = DataView1.Index DataView1.Update DataView1.MoveTo(iIndex) End [/code] -- Lee From gambas.fr at gmail.com Fri Mar 11 21:37:23 2022 From: gambas.fr at gmail.com (Fabien Bodard) Date: Fri, 11 Mar 2022 21:37:23 +0100 Subject: [Gambas-user] Need help on dataview In-Reply-To: <517d91c1-509f-4491-605d-7402e6f65251@gmail.com> References: <517d91c1-509f-4491-605d-7402e6f65251@gmail.com> Message-ID: Thank you to all > -------------- next part -------------- An HTML attachment was scrubbed... URL: From claus.dietrich at freenet.de Sat Mar 12 11:40:20 2022 From: claus.dietrich at freenet.de (Claus Dietrich) Date: Sat, 12 Mar 2022 11:40:20 +0100 Subject: [Gambas-user] Non of my Web-Apps work any longer since 3.17.0 Message-ID: >http://gambaswiki.org/bugtracker/edit?object=BUG.2500&from=L21haW4- > >Comment #1 by Beno?t MINISINI: > >It has been fixed in commit https://gitlab.com/gambas/gambas/-/commit/2e8262cbc29d9f03dd34e0e46af978801d8c9ea1. > >Beno?t MINISINI changed the state of the bug to: Fixed. Hi Beno?t Thanks for the quick fix. Claus From roberto.premoli at tiscali.it Sat Mar 12 17:23:51 2022 From: roberto.premoli at tiscali.it (roberto.premoli at tiscali.it) Date: Sat, 12 Mar 2022 17:23:51 +0100 Subject: [Gambas-user] Non of my Web-Apps work any longer since 3.17.0 In-Reply-To: References: Message-ID: <4d95d6c5588dc3c558b21f6b86d00c9f@tiscali.it> Il 12.03.2022 11:40 Claus Dietrich ha scritto: >> http://gambaswiki.org/bugtracker/edit?object=BUG.2500&from=L21haW4- >> [1] why it is necessary to login to see bugs? Rooberto Voucher MISE per P.IVA e PMI: fino a 2500? per la Banda Ultralarga. https://www.tiscali.it/business/prodotti/voucher/?r=TS00000A00025&dm=link&p=tiscali&utm_source=tiscali&utm_medium=link&utm_campaign=voucherbusiness&utm_content=voucherbusiness&wt_np=tiscali.link.footermail.voucher.business.btb. From bsteers4 at gmail.com Sat Mar 12 19:10:18 2022 From: bsteers4 at gmail.com (Bruce Steers) Date: Sat, 12 Mar 2022 18:10:18 +0000 Subject: [Gambas-user] Non of my Web-Apps work any longer since 3.17.0 In-Reply-To: <4d95d6c5588dc3c558b21f6b86d00c9f@tiscali.it> References: <4d95d6c5588dc3c558b21f6b86d00c9f@tiscali.it> Message-ID: On Sat, 12 Mar 2022 at 16:24, wrote: > Il 12.03.2022 11:40 Claus Dietrich ha scritto: > > >> http://gambaswiki.org/bugtracker/edit?object=BUG.2500&from=L21haW4- > >> [1] > > > why it is necessary to login to see bugs? > Rooberto > Because that's just how it is, bugtracker is private. Why can you not just sign up and log in? ? BruceS -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at westwoodsvcs.com Sat Mar 12 23:31:32 2022 From: brian at westwoodsvcs.com (Brian G) Date: Sat, 12 Mar 2022 14:31:32 -0800 (PST) Subject: [Gambas-user] With new debugger is it possible to debug a task object now? Message-ID: <1417924108.36438.1647124292380.JavaMail.zimbra@westwoodsvcs.com> With the new debugger is there now a way to debug a task running that was started from a program being debugged in one ide from another instance of the ide? "Failure is the key to success; each mistake teaches us something" .. Morihei Ueshiba Brian G -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Sat Mar 12 23:53:56 2022 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 12 Mar 2022 23:53:56 +0100 Subject: [Gambas-user] With new debugger is it possible to debug a task object now? In-Reply-To: <1417924108.36438.1647124292380.JavaMail.zimbra@westwoodsvcs.com> References: <1417924108.36438.1647124292380.JavaMail.zimbra@westwoodsvcs.com> Message-ID: <41b477a1-61da-540b-5718-61c5a8e9e1ce@gmail.com> Le 12/03/2022 ? 23:31, Brian G a ?crit?: > With the new debugger is there now a way to debug a task running that > was started from a program being debugged in one ide from another > instance of the ide? > > "Failure is the key to success; > ?each mistake teaches us something" ?.. Morihei Ueshiba > Brian G > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- I don't think so. What did you think about? -- Beno?t Minisini From brailateo at gmail.com Sun Mar 13 13:32:52 2022 From: brailateo at gmail.com (Constantin Teodorescu) Date: Sun, 13 Mar 2022 14:32:52 +0200 Subject: [Gambas-user] Wrong variable type returning from PostgreSQL resultset Message-ID: My program worked perfectly on Gambas 3.14.3 version on Ubuntu Linux 20.04 64 bit I have copied the program on a Linux Mint 20.2 with Gambas 3.17.0 installed and got an error running it. When debugging it I discovered that value returned by a resultset on an id (serial) column is no longer integer but STRING! :-o rst2 = Connections["PgDB"].Exec("SELECT * FROM companies") . . . If rst2["id"] <= someInteger Then <= Error here ... The error is: "Type mismatch: wanted integer, got String instead I managed to cheat it with If Val(rst2["id"]) <= someInteger Then but it should be properly fixed in the next Gambas version! Best regards, Constantin Teodorescu -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Sun Mar 13 13:46:12 2022 From: bagonergi at gmail.com (Gianluigi) Date: Sun, 13 Mar 2022 13:46:12 +0100 Subject: [Gambas-user] Wrong variable type returning from PostgreSQL resultset In-Reply-To: References: Message-ID: Il giorno dom 13 mar 2022 alle ore 13:34 Constantin Teodorescu < brailateo at gmail.com> ha scritto: > My program worked perfectly on Gambas 3.14.3 version on Ubuntu Linux 20.04 > 64 bit > > I have copied the program on a Linux Mint 20.2 with Gambas 3.17.0 > installed and got an error running it. > When debugging it I discovered that value returned by a resultset on an id > (serial) column is no longer integer but STRING! :-o > > rst2 = Connections["PgDB"].Exec("SELECT * FROM companies") > . . . > If rst2["id"] <= someInteger Then <= Error here > ... > > The error is: "Type mismatch: wanted integer, got String instead > > I managed to cheat it with > If Val(rst2["id"]) <= someInteger Then > > but it should be properly fixed in the next Gambas version! > > Best regards, > Constantin Teodorescu > Hi, You get the same error even if you write If rst2!id <= someInteger Then... or rst2[id]... or If rst2["id"] <= cstr(someInteger) Then... ? Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Sun Mar 13 13:49:55 2022 From: bagonergi at gmail.com (Gianluigi) Date: Sun, 13 Mar 2022 13:49:55 +0100 Subject: [Gambas-user] Wrong variable type returning from PostgreSQL resultset In-Reply-To: References: Message-ID: Il giorno dom 13 mar 2022 alle ore 13:46 Gianluigi ha scritto: > > Hi, > > You get the same error even if you write If rst2!id <= someInteger Then... > or rst2[id]... or If rst2["id"] <= cstr(someInteger) Then... ? > > Regards > Gianluigi > I forgot, comparing two strings is not the same as comparing two integers -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Sun Mar 13 15:33:27 2022 From: bagonergi at gmail.com (Gianluigi) Date: Sun, 13 Mar 2022 15:33:27 +0100 Subject: [Gambas-user] Wrong variable type returning from PostgreSQL resultset In-Reply-To: References: Message-ID: Il giorno dom 13 mar 2022 alle ore 13:49 Gianluigi ha scritto: > > > Il giorno dom 13 mar 2022 alle ore 13:46 Gianluigi > ha scritto: > >> >> Hi, >> >> You get the same error even if you write If rst2!id <= someInteger >> Then... or rst2[id]... or If rst2["id"] <= cstr(someInteger) Then... ? >> >> Regards >> Gianluigi >> > > I forgot, comparing two strings is not the same as comparing two integers > Sorry Constantin, my brain is now useless. The Ukrainian events don't help either.... I tried on the Master (bd3fa13) and it works, I did this: I added a button to the test example Public Sub Button1_Click() Dim rData As Result Dim hForm As FRequest rData = $hConn.Exec("SELECT * FROM test WHERE id = 12") If rData["id"] >= 6 Then Print "EUREKA" Else Print "BOOOH!" Endif rData = $hConn.Exec("SELECT * FROM test WHERE id = 12") hForm = New FRequest($hConn, rData) hForm.Show End Result the console writes EUREKA and the rquest window opens :-) Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Sun Mar 13 15:43:24 2022 From: bagonergi at gmail.com (Gianluigi) Date: Sun, 13 Mar 2022 15:43:24 +0100 Subject: [Gambas-user] Wrong variable type returning from PostgreSQL resultset In-Reply-To: References: Message-ID: Il giorno dom 13 mar 2022 alle ore 15:33 Gianluigi ha scritto: > > > Il giorno dom 13 mar 2022 alle ore 13:49 Gianluigi > ha scritto: > >> >> >> Il giorno dom 13 mar 2022 alle ore 13:46 Gianluigi >> ha scritto: >> >>> >>> Hi, >>> >>> You get the same error even if you write If rst2!id <= someInteger >>> Then... or rst2[id]... or If rst2["id"] <= cstr(someInteger) Then... ? >>> >>> Regards >>> Gianluigi >>> >> >> I forgot, comparing two strings is not the same as comparing two integers >> > > Sorry Constantin, > > my brain is now useless. The Ukrainian events don't help either.... > Maybe written like that it makes more sense ;-D Public Sub Button1_Click() Dim rData As Result Dim hForm As FRequest rData = $hConn.Exec("SELECT * FROM test WHERE id = 12") If rData["id"] >= 6 Then Print "EUREKA" hForm = New FRequest($hConn, rData) hForm.Show Else Print "BOOOH" Endif End > Regards > Gianluigi > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisml at deganius.de Sun Mar 13 16:46:59 2022 From: chrisml at deganius.de (Christof Thalhofer) Date: Sun, 13 Mar 2022 16:46:59 +0100 Subject: [Gambas-user] Wrong variable type returning from PostgreSQL resultset In-Reply-To: References: Message-ID: Am 13.03.22 um 13:32 schrieb Constantin Teodorescu: > My program worked perfectly on Gambas 3.14.3 version on Ubuntu Linux > 20.04 64 bit > > I have copied the program on a Linux Mint 20.2 with Gambas 3.17.0 > installed and got an error running it. > When debugging it I discovered that value returned by a resultset on an > id (serial) column is no longer integer but STRING! :-o This bug is already fixed. You have to wait for the release of 3.17.1. http://gambaswiki.org/bugtracker/edit?object=BUG.2490&from=L21haW4- Alles Gute Christof Thalhofer -- [x] nail here for new monitor From brian at westwoodsvcs.com Sun Mar 13 18:32:47 2022 From: brian at westwoodsvcs.com (=?UTF-8?B?QnJpYW4gRw==?=) Date: Sun, 13 Mar 2022 20:32:47 +0300 Subject: [Gambas-user] =?utf-8?q?With_new_debugger_is_it_possible_to_debu?= =?utf-8?q?g_a_task_object_now=3F?= In-Reply-To: <41b477a1-61da-540b-5718-61c5a8e9e1ce@gmail.com> References: <1417924108.36438.1647124292380.JavaMail.zimbra@westwoodsvcs.com> <41b477a1-61da-540b-5718-61c5a8e9e1ce@gmail.com> Message-ID: <1647192767.960900526@f6.my.com> If one knows the pid of the task. Then connect to it and begin debugging. Just like a remote debug. -- Thanks Brian G Saturday, 12 March 2022, 02:54PM -08:00 from Beno?t Minisini g4mba5 at gmail.com : >Le 12/03/2022 ? 23:31, Brian G a ?crit?: > With the new debugger is there now a way to debug a task running that > was started from a program being debugged in one ide from another > instance of the ide? > > "Failure is the key to success; > ?each mistake teaches us something" ?.. Morihei Ueshiba > Brian G > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > >I don't think so. What did you think about? > >-- >Beno?t Minisini > >----[ http://gambaswiki.org/wiki/doc/netiquette ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at westwoodsvcs.com Wed Mar 16 22:19:17 2022 From: brian at westwoodsvcs.com (=?UTF-8?B?QnJpYW4gRw==?=) Date: Thu, 17 Mar 2022 00:19:17 +0300 Subject: [Gambas-user] =?utf-8?q?No_mail_two_days=3F?= Message-ID: <1647465557.507782086@f4.my.com> Is there an issue with gambas mail system? -- Thanks Brian G -------------- next part -------------- An HTML attachment was scrubbed... URL: From jussi.lahtinen at gmail.com Wed Mar 16 23:09:04 2022 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Thu, 17 Mar 2022 00:09:04 +0200 Subject: [Gambas-user] No mail two days? In-Reply-To: <1647465557.507782086@f4.my.com> References: <1647465557.507782086@f4.my.com> Message-ID: Probably not. Jussi On Thu, Mar 17, 2022 at 12:06 AM Brian G wrote: > Is there an issue with gambas mail system? > > -- > Thanks > Brian G > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas.fr at gmail.com Thu Mar 17 10:26:32 2022 From: gambas.fr at gmail.com (Fabien Bodard) Date: Thu, 17 Mar 2022 10:26:32 +0100 Subject: [Gambas-user] No mail two days? In-Reply-To: References: <1647465557.507782086@f4.my.com> Message-ID: True ... it is really strange ... and I do not receipt bugtraker notifications too. Le mer. 16 mars 2022 ? 23:10, Jussi Lahtinen a ?crit : > > Probably not. > > Jussi > > On Thu, Mar 17, 2022 at 12:06 AM Brian G wrote: >> >> Is there an issue with gambas mail system? >> >> -- >> Thanks >> Brian G >> >> >> ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- -- Fabien Bodard From chrisml at deganius.de Thu Mar 17 11:20:52 2022 From: chrisml at deganius.de (Christof Thalhofer) Date: Thu, 17 Mar 2022 11:20:52 +0100 Subject: [Gambas-user] No mail two days? In-Reply-To: References: <1647465557.507782086@f4.my.com> Message-ID: <2321adb7-4854-8af2-591c-644287f70b11@deganius.de> Am 17.03.22 um 10:26 schrieb Fabien Bodard: > True ... it is really strange ... and I do not receipt bugtraker > notifications too. This morning came 4 BT messages. The mail system at all is running well. If you are in doubt, look at the archives. https://lists.gambas-basic.org/pipermail/bugtracker/ https://lists.gambas-basic.org/pipermail/notification/ https://lists.gambas-basic.org/pipermail/user/ Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: From gambas.fr at gmail.com Thu Mar 17 14:45:43 2022 From: gambas.fr at gmail.com (Fabien Bodard) Date: Thu, 17 Mar 2022 14:45:43 +0100 Subject: [Gambas-user] No mail two days? In-Reply-To: <2321adb7-4854-8af2-591c-644287f70b11@deganius.de> References: <1647465557.507782086@f4.my.com> <2321adb7-4854-8af2-591c-644287f70b11@deganius.de> Message-ID: It's mute time :-) From chrisml at deganius.de Thu Mar 17 15:24:30 2022 From: chrisml at deganius.de (Christof Thalhofer) Date: Thu, 17 Mar 2022 15:24:30 +0100 Subject: [Gambas-user] No mail two days? In-Reply-To: References: <1647465557.507782086@f4.my.com> <2321adb7-4854-8af2-591c-644287f70b11@deganius.de> Message-ID: <078306f4-383e-09c7-156c-c45cb980f6e9@deganius.de> Am 17.03.22 um 14:45 schrieb Fabien Bodard: > It's mute time :-) Let's relax a bit :-) Alles Gute Christof Thalhofer -- [x] nail here for new monitor From alarch at alarch.pw Thu Mar 24 00:20:00 2022 From: alarch at alarch.pw (Marc Guillaume) Date: Thu, 24 Mar 2022 00:20:00 +0100 Subject: [Gambas-user] How to interrupt a process waiting for a response in non interactive application Message-ID: <20220324002000.78017d79@marc-ThinkCentre-M92P> Hello, I am struggling with the management of a process. I want to launch a ssh command on remote servers (more than 200 servers), connections using an ssh key. The server's key on which the gambas application is running is normally deployed on the servers via ansible from another machine. However sometimes the ssh configuration is faulty and does not allow ssh key connection, and ask for a password. I don't have control over this process. The problem occurs if the server is configured to ask for a password. In this case the process remains blocked indefinitely. I would like to be able to abandon it after a timeout value that I can determine in the configuration. If the server is unknow I get the 255 error return, but il y have accepted it's key in known_hosts an it ask for a password the process hang. I use such a code (simplified for explanation): Public sConfirmConProcess As String Public Sub Button1_Click() Dim sCommande As String sConfirmConProcess = "" sCommande = "ssh -v -o ConnectTimeout=10 -p 22 -q -l root " & TextBox1.Text & " \"exit\";echo $?;" Shell sCommande Wait For Input As "ConProcess" If CInt(Trim(sConfirmConProcess)) = 0 Then print "connexion confirm?e" Else print "connexion ?chou?e ou en timeout " & sConfirmConProcess Endif Catch Print Error.Text End Public Sub ConProcess_Read() Dim sLine As String sLine = Read #Last, -256 sConfirmConProcess &= sLine End Public Sub ConProcess_kill() Print "Processus termin?" End If the remote server asks for a password the process doesn't send anything and the application remains blocked. The Read event is never triggered. How to use the process to be able to stop it if it does not answer after a given time? Cheers, -- Alarc'h My configuration (I can't upgrade at this time) : [System] Gambas=3.14.3 OperatingSystem=Linux Kernel=5.4.0-104-generic Architecture=x86_64 Distribution=Ubuntu 20.04.4 LTS Desktop=KDE5 Theme=Oxygen Language=fr_FR.UTF-8 Memory=7749M [Libraries] Cairo=libcairo.so.2.11600.0 Curl=libcurl.so.4.6.0 DBus=libdbus-1.so.3.19.11 GStreamer=libgstreamer-1.0.so.0.1602.0 GTK+2=libgtk-x11-2.0.so.0.2400.32 GTK+3=libgtk-3.so.0.2404.16 OpenGL=libGL.so.1.7.0 Poppler=libpoppler.so.97.0.0 QT5=libQt5Core.so.5.12.8 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 DEFAULTS_PATH=/usr/share/gconf/plasma.default.path DESKTOP_SESSION=plasma DISPLAY=:0 GB_GUI=gb.qt5 GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 HOME= KDE_FULL_SESSION=true KDE_SESSION_UID=1000 KDE_SESSION_VERSION=5 LANG=fr_FR.UTF-8 LANGUAGE=fr_FR.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/plasma.mandatory.path PAM_KWALLET5_LOGIN=/run/user/1000/kwallet5.socket PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD= QT_ACCESSIBILITY=1 QT_AUTO_SCREEN_SCALE_FACTOR=0 SESSION_MANAGER=local/:@/tmp/.ICE-unix/1027,unix/:/tmp/.ICE-unix/1027 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=955 SSH_AUTH_SOCK=/tmp/ssh-hjFJjLNLg2A4/agent.911 TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XCURSOR_SIZE=0 XCURSOR_THEME=breeze_cursors XDG_CONFIG_DIRS=/etc/xdg/xdg-plasma:/etc/xdg:/usr/share/kubuntu-default-settings/kf5-settings XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/usr/share/plasma:/usr/local/share:/usr/share:/var/lib/snapd/desktop 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=3 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 XDG_SESSION_TYPE=x11 XDG_VTNR=1 From g4mba5 at gmail.com Thu Mar 24 00:54:15 2022 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 24 Mar 2022 00:54:15 +0100 Subject: [Gambas-user] How to interrupt a process waiting for a response in non interactive application In-Reply-To: <20220324002000.78017d79@marc-ThinkCentre-M92P> References: <20220324002000.78017d79@marc-ThinkCentre-M92P> Message-ID: <91f59c52-e0f4-ce7a-a6a1-641afd2a73ed@gmail.com> Le 24/03/2022 ? 00:20, Marc Guillaume a ?crit?: > Hello, > > I am struggling with the management of a process. I want to launch a > ssh command on remote servers (more than 200 servers), connections > using an ssh key. > > The server's key on which the gambas application is running is > normally deployed on the servers via ansible from another machine. > > However sometimes the ssh configuration is faulty and does not allow > ssh key connection, and ask for a password. I don't have control over > this process. > > The problem occurs if the server is configured to ask for a password. > In this case the process remains blocked indefinitely. I would like to > be able to abandon it after a timeout value that I can determine in the > configuration. If the server is unknow I get the 255 error return, but > il y have accepted it's key in known_hosts an it ask for a password the > process hang. > > [...] To deal with the 'ssh' command, you must use the 'gb.util' component that adds an "Expect()" method to the process class that handles automatic detection of command prompts and answers. To deal with the timeout, you must use the "Timeout" argument of the "Wait()" method of the Process class. So you must do something like that (adapt to your needs!): --8<----------- hProcess = Exec ["ssh", "-v", "-o", "ConnectTimeout=10", "-p", "22", "-q", "@"] For Input Output as "SshProcess" ' Note: "For Input Output" is needed, as ssh needs a virtual terminal. hProcess.Expect("(yes/no*)?", "yes") hProcess.Expect(":", "TheSshPassword") hProcess.Wait(MyTimeout) Public Sub SshProcess_Read() ... End --8<----------- Regards, -- Beno?t Minisini From alarch at alarch.pw Thu Mar 24 02:21:31 2022 From: alarch at alarch.pw (Marc Guillaume) Date: Thu, 24 Mar 2022 02:21:31 +0100 Subject: [Gambas-user] How to interrupt a process waiting for a response in non interactive application In-Reply-To: <91f59c52-e0f4-ce7a-a6a1-641afd2a73ed@gmail.com> References: <20220324002000.78017d79@marc-ThinkCentre-M92P> <91f59c52-e0f4-ce7a-a6a1-641afd2a73ed@gmail.com> Message-ID: <20220324022131.5426a411@marc-ThinkCentre-M92P> Le Thu, 24 Mar 2022 00:54:15 +0100, Beno?t Minisini a ?crit : > Le 24/03/2022 ? 00:20, Marc Guillaume a ?crit?: > > Hello, > > > > I am struggling with the management of a process. I want to launch a > > ssh command on remote servers (more than 200 servers), connections > > using an ssh key. > > > > The server's key on which the gambas application is running is > > normally deployed on the servers via ansible from another machine. > > > > However sometimes the ssh configuration is faulty and does not allow > > ssh key connection, and ask for a password. I don't have control > > over this process. > > > > The problem occurs if the server is configured to ask for a > > password. In this case the process remains blocked indefinitely. I > > would like to be able to abandon it after a timeout value that I > > can determine in the configuration. If the server is unknow I get > > the 255 error return, but il y have accepted it's key in > > known_hosts an it ask for a password the process hang. > > > > [...] > > To deal with the 'ssh' command, you must use the 'gb.util' component > that adds an "Expect()" method to the process class that handles > automatic detection of command prompts and answers. > > To deal with the timeout, you must use the "Timeout" argument of the > "Wait()" method of the Process class. > > So you must do something like that (adapt to your needs!): > > --8<----------- > > hProcess = Exec ["ssh", "-v", "-o", "ConnectTimeout=10", "-p", "22", > "-q", "@"] For Input Output as "SshProcess" > > ' Note: "For Input Output" is needed, as ssh needs a virtual terminal. > > hProcess.Expect("(yes/no*)?", "yes") > hProcess.Expect(":", "TheSshPassword") > > hProcess.Wait(MyTimeout) > > Public Sub SshProcess_Read() > ... > End > > --8<----------- > > Regards, > thanks for your help! It is better to use exec according to what I read instead of shell to save resources or in this case shell is really not adapted? I see that expect only appears with version 3.15 and for the moment I'm stuck in 3.14 on the PPA of focal. But already with the wait method I am not blocked anymore. And as I don't have the passwords of the servers anyway, expect is not essential. By keeping only the last line returned by the connection request and by searching if it ends with : (the password request) I can eliminate this case and not be blocked anymore. I need to do more tests but this code seems to work well: Public Sub Button1_Click() Dim sCommande As String Dim iRetproc As Integer sAffichage = "" hConProcess = Exec ["ssh", "-p", "22", "-q", "root@" & TextBox1.Text] For Input Output As "SshProcess" hConProcess.Wait(15) If RegExp.Match(Trim(sAffichage), ".*:$") Then iRetproc = 1 Else iRetproc = hConProcess.Value Endif If hConProcess.State <> 0 Then hConProcess.Kill Endif If iRetproc = 0 Then TextBox2.text = "connexion confirm?e" Else TextBox2.text = "connexion ?chou?e ou en timeout " Endif Catch Print Error.Text End Public Sub SshProcess_Read() Dim sLine As String sLine = Read #Last, -256 sAffichage = sLine End From simonlebon54 at yahoo.com Thu Mar 24 19:08:28 2022 From: simonlebon54 at yahoo.com (Steve G) Date: Thu, 24 Mar 2022 10:08:28 -0800 Subject: [Gambas-user] User Digest, Vol 54, Issue 8 In-Reply-To: References: Message-ID: <28f73d84-37b3-42df-a66b-e4cd70014545@yahoo.com> I'm just wondering if the issue I had brought up is going to be taken care of. Me.top=5 Me.left=5 Above is what does not work. I am desperately waiting for a fix to this because my main biggest largest project is now in effective because I cannot play screens on the proper monitor or proper location. I love gambas it is a project that you guys took on that I could not even fathom and you've done very well. However think of what would happen in your programming language if one day everything's working great and then an update comes along and now two plus two equals five it would screw up a lot of things on you. And as it stands right now every time I try to put up a screen it goes someplace else and the wrong information is going to the wrong places. I have not found a way to fix this myself and I have not heard whether or not this is being fixed in the new versions. Please I need the help. ?Sent from TypeApp ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From bsteers4 at gmail.com Thu Mar 24 20:45:59 2022 From: bsteers4 at gmail.com (Bruce Steers) Date: Thu, 24 Mar 2022 19:45:59 +0000 Subject: [Gambas-user] User Digest, Vol 54, Issue 8 In-Reply-To: <28f73d84-37b3-42df-a66b-e4cd70014545@yahoo.com> References: <28f73d84-37b3-42df-a66b-e4cd70014545@yahoo.com> Message-ID: Did you add it to the Bug Tracker yet? If it's that serious and means that much to you , add it to the bugtracker, just once, instead of yet another periodic email here about it that will probably get forgotten about again in time. :) BruceS -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Thu Mar 24 22:46:13 2022 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 24 Mar 2022 22:46:13 +0100 Subject: [Gambas-user] User Digest, Vol 54, Issue 8 In-Reply-To: References: <28f73d84-37b3-42df-a66b-e4cd70014545@yahoo.com> Message-ID: <07390155-e4aa-462d-8e22-025afc2d49fa@gmail.com> Le 24/03/2022 ? 20:45, Bruce Steers a ?crit?: > Did you add it to the Bug Tracker yet? > > If it's that serious and means that much to you , add it to the > bugtracker, just once, > instead of yet another periodic email here about it that will probably > get forgotten about again in time. > > :) > > BruceS > I think there is already an issue for that in the bugtracker, but I can't find it at the moment... -- Beno?t Minisini From bsteers4 at gmail.com Fri Mar 25 00:06:47 2022 From: bsteers4 at gmail.com (Bruce Steers) Date: Thu, 24 Mar 2022 23:06:47 +0000 Subject: [Gambas-user] User Digest, Vol 54, Issue 8 In-Reply-To: <07390155-e4aa-462d-8e22-025afc2d49fa@gmail.com> References: <28f73d84-37b3-42df-a66b-e4cd70014545@yahoo.com> <07390155-e4aa-462d-8e22-025afc2d49fa@gmail.com> Message-ID: On Thu, 24 Mar 2022, 21:47 Beno?t Minisini, wrote: > Le 24/03/2022 ? 20:45, Bruce Steers a ?crit : > > Did you add it to the Bug Tracker > yet? > > > > If it's that serious and means that much to you , add it to the > > bugtracker, just once, > > instead of yet another periodic email here about it that will probably > > get forgotten about again in time. > > > > :) > > > > BruceS > > > > I think there is already an issue for that in the bugtracker, but I > can't find it at the moment... > Aah I see. SteveG, did you add it to bug tracker already? I recommend getting on the bug tracker and communicating with Ben directly there. One problem is you use the web interface here not emails so the questions you have asked and answers you have answered are a bit jumbled up and out of place and thus hard to find. IE, the reply sometimes does not even contain the message being replied to. The bug tracker provides a single coherent thread and is a much better way to keep questions and answers together for better reference and progress. Honestly if it's important the bug tracker is the best place to get it resolved efficiently not the mailing list through the web portal ? Just trying to help ? Respects BruceS > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Fri Mar 25 09:35:53 2022 From: bagonergi at gmail.com (Gianluigi) Date: Fri, 25 Mar 2022 09:35:53 +0100 Subject: [Gambas-user] Error 27 on starting Gambas Message-ID: A friend of ours from the Italian forum with Gambas3 from PPA on Xubuntu 32 when he opens the IDE gets this error: ERROR: #27: Cannot load component 'gb.form.htmlview': /usr/lib/gambas3/ gb.form.htmlview.so: classe ELF errata: ELFCLASS64 Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Fri Mar 25 09:57:10 2022 From: bagonergi at gmail.com (Gianluigi) Date: Fri, 25 Mar 2022 09:57:10 +0100 Subject: [Gambas-user] Error 27 on starting Gambas In-Reply-To: References: Message-ID: Il giorno ven 25 mar 2022 alle ore 09:35 Gianluigi ha scritto: > A friend of ours from the Italian forum with Gambas3 from PPA on Xubuntu > 32 when he opens the IDE gets this error: > ERROR: #27: Cannot load component 'gb.form.htmlview': /usr/lib/gambas3/ > gb.form.htmlview.so: classe ELF errata: ELFCLASS64 > Hi Benoit, I forgot to point out that our friend is a small craftsman who uses Gambas for work. Thanks for your attention Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Fri Mar 25 13:50:30 2022 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 25 Mar 2022 13:50:30 +0100 Subject: [Gambas-user] Error 27 on starting Gambas In-Reply-To: References: Message-ID: Le 25/03/2022 ? 09:35, Gianluigi a ?crit?: > A friend of ours from the Italian forum with Gambas3 from PPA on Xubuntu > 32 when he opens the IDE gets this error: > ERROR: #27: Cannot load component 'gb.form.htmlview': > /usr/lib/gambas3/gb.form.htmlview.so : > classe ELF errata: ELFCLASS64 > > Regards > Gianluigi > The error message means that he installed a 64-bits library on its 32-bits OS. No idea how he did that. Regards, -- Beno?t Minisini From bagonergi at gmail.com Fri Mar 25 13:56:36 2022 From: bagonergi at gmail.com (Gianluigi) Date: Fri, 25 Mar 2022 13:56:36 +0100 Subject: [Gambas-user] Error 27 on starting Gambas In-Reply-To: References: Message-ID: Il giorno ven 25 mar 2022 alle ore 13:51 Beno?t Minisini ha scritto: > Le 25/03/2022 ? 09:35, Gianluigi a ?crit : > > A friend of ours from the Italian forum with Gambas3 from PPA on Xubuntu > > 32 when he opens the IDE gets this error: > > ERROR: #27: Cannot load component 'gb.form.htmlview': > > /usr/lib/gambas3/gb.form.htmlview.so : > > classe ELF errata: ELFCLASS64 > > > > Regards > > Gianluigi > > > > The error message means that he installed a 64-bits library on its > 32-bits OS. No idea how he did that. > > Regards, > > -- > Beno?t Minisini > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > Thank you, what can you do to delete the library and install the right one? Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Fri Mar 25 21:44:44 2022 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 25 Mar 2022 21:44:44 +0100 Subject: [Gambas-user] Error 27 on starting Gambas In-Reply-To: References: Message-ID: <524a825a-6a18-9cc6-f67b-a849da05a033@gmail.com> Le 25/03/2022 ? 13:56, Gianluigi a ?crit?: > > > Il giorno ven 25 mar 2022 alle ore 13:51 Beno?t Minisini > > ha scritto: > > Le 25/03/2022 ? 09:35, Gianluigi a ?crit?: > > A friend of ours from the Italian forum with Gambas3 from PPA on > Xubuntu > > 32 when he opens the IDE gets this error: > > ERROR: #27: Cannot load component 'gb.form.htmlview': > > /usr/lib/gambas3/gb.form.htmlview.so > >: > > classe ELF errata: ELFCLASS64 > > > > Regards > > Gianluigi > > > > The error message means that he installed a 64-bits library on its > 32-bits OS. No idea how he did that. > > Regards, > > -- > Beno?t Minisini > > ----[ http://gambaswiki.org/wiki/doc/netiquette > ]---- > > > > Thank you, > what can you do to delete the library and install the right one? > > Regards > Gianluigi > No idea, I don't know how one can screw up his system that way using the Ubuntu package manager. Unless the Gambas PPA is broken, but it seems not. Without more details, I can't say more. -- Beno?t Minisini From bagonergi at gmail.com Sat Mar 26 08:15:16 2022 From: bagonergi at gmail.com (Gianluigi) Date: Sat, 26 Mar 2022 08:15:16 +0100 Subject: [Gambas-user] Error 27 on starting Gambas In-Reply-To: <524a825a-6a18-9cc6-f67b-a849da05a033@gmail.com> References: <524a825a-6a18-9cc6-f67b-a849da05a033@gmail.com> Message-ID: Il giorno ven 25 mar 2022 alle ore 21:45 Beno?t Minisini ha scritto: > Le 25/03/2022 ? 13:56, Gianluigi a ?crit : > > > > > > Il giorno ven 25 mar 2022 alle ore 13:51 Beno?t Minisini > > > ha scritto: > > > > Le 25/03/2022 ? 09:35, Gianluigi a ?crit : > > > A friend of ours from the Italian forum with Gambas3 from PPA on > > Xubuntu > > > 32 when he opens the IDE gets this error: > > > ERROR: #27: Cannot load component 'gb.form.htmlview': > > > /usr/lib/gambas3/gb.form.htmlview.so > > >: > > > classe ELF errata: ELFCLASS64 > > > > > > Regards > > > Gianluigi > > > > > > > The error message means that he installed a 64-bits library on its > > 32-bits OS. No idea how he did that. > > > > Regards, > > > > -- > > Beno?t Minisini > > > > ----[ http://gambaswiki.org/wiki/doc/netiquette > > ]---- > > > > > > > > Thank you, > > what can you do to delete the library and install the right one? > > > > Regards > > Gianluigi > > > No idea, I don't know how one can screw up his system that way using the > Ubuntu package manager. Unless the Gambas PPA is broken, but it seems not. > > Without more details, I can't say more. > > -- > Beno?t Minisini > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > Our friend solved it by uninstalling the PPA and compiling the stable. Thanks Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Sat Mar 26 08:20:39 2022 From: bagonergi at gmail.com (Gianluigi) Date: Sat, 26 Mar 2022 08:20:39 +0100 Subject: [Gambas-user] Error 27 on starting Gambas In-Reply-To: References: <524a825a-6a18-9cc6-f67b-a849da05a033@gmail.com> Message-ID: Il giorno sab 26 mar 2022 alle ore 08:15 Gianluigi ha scritto: > > > Il giorno ven 25 mar 2022 alle ore 21:45 Beno?t Minisini > ha scritto: > >> Le 25/03/2022 ? 13:56, Gianluigi a ?crit : >> > >> > >> > Il giorno ven 25 mar 2022 alle ore 13:51 Beno?t Minisini >> > > ha scritto: >> > >> > Le 25/03/2022 ? 09:35, Gianluigi a ?crit : >> > > A friend of ours from the Italian forum with Gambas3 from PPA on >> > Xubuntu >> > > 32 when he opens the IDE gets this error: >> > > ERROR: #27: Cannot load component 'gb.form.htmlview': >> > > /usr/lib/gambas3/gb.form.htmlview.so > > >> > >: >> > > classe ELF errata: ELFCLASS64 >> > > >> > > Regards >> > > Gianluigi >> > > >> > >> > The error message means that he installed a 64-bits library on its >> > 32-bits OS. No idea how he did that. >> > >> > Regards, >> > >> > -- >> > Beno?t Minisini >> > >> > ----[ http://gambaswiki.org/wiki/doc/netiquette >> > ]---- >> > >> > >> > >> > Thank you, >> > what can you do to delete the library and install the right one? >> > >> > Regards >> > Gianluigi >> > >> No idea, I don't know how one can screw up his system that way using the >> Ubuntu package manager. Unless the Gambas PPA is broken, but it seems not. >> >> Without more details, I can't say more. >> >> -- >> Beno?t Minisini >> >> ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- >> > > Our friend solved it by uninstalling the PPA and compiling the stable. > > Thanks > Gianluigi > I forgot, if someone is interested here is the discussion on the Italian forum: https://www.gambas-it.org/smf/index.php?topic=9137.msg51634#msg51634 Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From rwe-sse at osnanet.de Wed Mar 30 10:54:12 2022 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Wed, 30 Mar 2022 10:54:12 +0200 Subject: [Gambas-user] Program producing constant load Message-ID: <57c6537b-8b05-d3b1-2bba-8c4d9d1f1277@osnanet.de> For my office use, I made a remake of my calendar program. Everything running fine so far, but today I saw that when I have the program on the active screen, it produces a constant load of about 40 % (the little faker on my desktop has 4 CPUs and Xosview says 1.3 with the calendar visible). top says gbr3 is sucking CPU, but of course no more information. So my question is, how can I find out what is going on within my program? Obviously, there is one event which is fired over and over again. Regards Rolf From g4mba5 at gmail.com Wed Mar 30 11:32:53 2022 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 30 Mar 2022 11:32:53 +0200 Subject: [Gambas-user] Program producing constant load In-Reply-To: <57c6537b-8b05-d3b1-2bba-8c4d9d1f1277@osnanet.de> References: <57c6537b-8b05-d3b1-2bba-8c4d9d1f1277@osnanet.de> Message-ID: Le 30/03/2022 ? 10:54, Rolf-Werner Eilert a ?crit?: > For my office use, I made a remake of my calendar program. > > Everything running fine so far, but today I saw that when I have the > program on the active screen, it produces a constant load of about 40 % > (the little faker on my desktop has 4 CPUs and Xosview says 1.3 with the > calendar visible). > > top says gbr3 is sucking CPU, but of course no more information. > > So my question is, how can I find out what is going on within my > program? Obviously, there is one event which is fired over and over again. > > Regards > Rolf > gbx3 -t displays each ligne executed. It generates a lot of log in the terminal, but you can see what the program runs exactly. Regards, -- Beno?t Minisini From rwe-sse at osnanet.de Wed Mar 30 12:05:50 2022 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Wed, 30 Mar 2022 12:05:50 +0200 Subject: [Gambas-user] Program producing constant load In-Reply-To: References: <57c6537b-8b05-d3b1-2bba-8c4d9d1f1277@osnanet.de> Message-ID: <7afabe89-e7f7-30ff-1ffc-87ca28e4974c@osnanet.de> Am 30.03.22 um 11:32 schrieb Beno?t Minisini: > Le 30/03/2022 ? 10:54, Rolf-Werner Eilert a ?crit?: >> For my office use, I made a remake of my calendar program. >> >> Everything running fine so far, but today I saw that when I have the >> program on the active screen, it produces a constant load of about 40 >> % (the little faker on my desktop has 4 CPUs and Xosview says 1.3 with >> the calendar visible). >> >> top says gbr3 is sucking CPU, but of course no more information. >> >> So my question is, how can I find out what is going on within my >> program? Obviously, there is one event which is fired over and over >> again. >> >> Regards >> Rolf >> > > gbx3 -t displays each ligne executed. It generates a lot of log in the > terminal, but you can see what the program runs exactly. > > Regards, > Oh yes, that shows it clearly: There is a large gridview displaying the hours for each day. Obviously, the gridview constantly fires up the Data event which jumps into one function looking for the school holidays. The question is, why is Data called over and over again? This is an Ubuntu Mate and I chose gb.qt5 and gb.qt5.ext as libraries. May that be the reason? Or should I look for something else? I have other projects running with the same libraries here, they use Gridview as well, and they do not constantly fire the Data event. Regards Rolf From roberto.premoli at tiscali.it Wed Mar 30 11:52:44 2022 From: roberto.premoli at tiscali.it (roberto.premoli at tiscali.it) Date: Wed, 30 Mar 2022 11:52:44 +0200 Subject: [Gambas-user] Program producing constant load In-Reply-To: <57c6537b-8b05-d3b1-2bba-8c4d9d1f1277@osnanet.de> References: <57c6537b-8b05-d3b1-2bba-8c4d9d1f1277@osnanet.de> Message-ID: <2aa4206589804d1e19100baee68055e6@tiscali.it> Il 30.03.2022 10:54 Rolf-Werner Eilert ha scritto: > For my office use, I made a remake of my calendar program. > > Everything running fine so far, but today I saw that when I have the > program on the active screen, it produces a constant load of about 40 > % > (the little faker on my desktop has 4 CPUs and Xosview says 1.3 with > the > calendar visible). > > top says gbr3 is sucking CPU, but of course no more information. > > So my question is, how can I find out what is going on within my > program? Obviously, there is one event which is fired over and over > again. > > Regards > Rolf > hello, to go directly to your question, i have not a precise answer but let say this: Maybe you have some "timer" that is triggered too much opten: maybe you set the tick = 1 instead 1000. because it is milliseconds and you want it to tick every second, you must set it as 1000 and not 1. This is a typical error i did i past, maybe you the same now. hope this helps. Roberto Voucher MISE per P.IVA e PMI: fino a 2500? per la Banda Ultralarga. https://casa.tiscali.it/promo/?u=https://promozioni.tiscali.it/voucher_business/?r=TS00000A00025&dm=link&p=tiscali&utm_source=tiscali&utm_medium=link&utm_campaign=voucherbusiness&wt_np=tiscali.link.footermail.voucherbusiness.btb.. From rwe-sse at osnanet.de Wed Mar 30 12:57:07 2022 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Wed, 30 Mar 2022 12:57:07 +0200 Subject: [Gambas-user] Program producing constant load In-Reply-To: <2aa4206589804d1e19100baee68055e6@tiscali.it> References: <57c6537b-8b05-d3b1-2bba-8c4d9d1f1277@osnanet.de> <2aa4206589804d1e19100baee68055e6@tiscali.it> Message-ID: Am 30.03.22 um 11:52 schrieb roberto.premoli at tiscali.it: > Il 30.03.2022 10:54 Rolf-Werner Eilert ha scritto: > >> For my office use, I made a remake of my calendar program. >> >> Everything running fine so far, but today I saw that when I have the >> program on the active screen, it produces a constant load of about 40 % >> (the little faker on my desktop has 4 CPUs and Xosview says 1.3 with the >> calendar visible). >> >> top says gbr3 is sucking CPU, but of course no more information. >> >> So my question is, how can I find out what is going on within my >> program? Obviously, there is one event which is fired over and over >> again. >> >> Regards >> Rolf >> > > hello, > to go directly to your question, i have not a precise answer but let say > this: > > Maybe you have some "timer" that is triggered too much opten: maybe you > set the tick = 1 instead 1000. > because it is milliseconds and you want it to tick every second, you > must set it as 1000 and not 1. > This is a typical error i did i past, maybe you the same now. > > hope this helps. > Roberto > Unfortunately, it is not that simple. I have indeed a timer that ticks at 1000, but only when the program starts. The other one ticks at 60000 every minute. But nonetheless, thanks for the hint! Rolf From g4mba5 at gmail.com Wed Mar 30 13:14:39 2022 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 30 Mar 2022 13:14:39 +0200 Subject: [Gambas-user] Program producing constant load In-Reply-To: References: <57c6537b-8b05-d3b1-2bba-8c4d9d1f1277@osnanet.de> Message-ID: <2702d6be-911e-2213-2c0b-9858f1bd10e8@gmail.com> Le 30/03/2022 ? 11:32, Beno?t Minisini a ?crit?: > Le 30/03/2022 ? 10:54, Rolf-Werner Eilert a ?crit?: >> For my office use, I made a remake of my calendar program. >> >> Everything running fine so far, but today I saw that when I have the >> program on the active screen, it produces a constant load of about 40 >> % (the little faker on my desktop has 4 CPUs and Xosview says 1.3 with >> the calendar visible). >> >> top says gbr3 is sucking CPU, but of course no more information. >> >> So my question is, how can I find out what is going on within my >> program? Obviously, there is one event which is fired over and over >> again. >> >> Regards >> Rolf >> > > gbx3 -t displays each ligne executed. It generates a lot of log in the > terminal, but you can see what the program runs exactly. > > Regards, > Another possibility is running your program from the IDE with profiling enabled. -- Beno?t Minisini From adamnt42 at gmail.com Wed Mar 30 13:18:07 2022 From: adamnt42 at gmail.com (bb) Date: Wed, 30 Mar 2022 21:48:07 +1030 Subject: [Gambas-user] Program producing constant load In-Reply-To: <2702d6be-911e-2213-2c0b-9858f1bd10e8@gmail.com> References: <57c6537b-8b05-d3b1-2bba-8c4d9d1f1277@osnanet.de> <2702d6be-911e-2213-2c0b-9858f1bd10e8@gmail.com> Message-ID: <237e8b2390cc19ebb7e752ee6afe358bd3b0773c.camel@gmail.com> On Wed, 2022-03-30 at 13:14 +0200, Beno?t Minisini wrote: > Le 30/03/2022 ? 11:32, Beno?t Minisini a ?crit?: > > Le 30/03/2022 ? 10:54, Rolf-Werner Eilert a ?crit?: > > > For my office use, I made a remake of my calendar program. > > > > > > Everything running fine so far, but today I saw that when I have > > > the > > > program on the active screen, it produces a constant load of > > > about 40 > > > % (the little faker on my desktop has 4 CPUs and Xosview says 1.3 > > > with > > > the calendar visible). > > > > > > top says gbr3 is sucking CPU, but of course no more information. > > > > > > So my question is, how can I find out what is going on within my > > > program? Obviously, there is one event which is fired over and > > > over > > > again. > > > > > > Regards > > > Rolf > > > > > > > gbx3 -t displays each ligne executed. It generates a lot of log in > > the > > terminal, but you can see what the program runs exactly. > > > > Regards, > > > > Another possibility is running your program from the IDE with > profiling > enabled. > Guessing... Maybe change your timer with the Activate event so it only fires when you "look at" the the running program. b From bsteers4 at gmail.com Wed Mar 30 14:05:03 2022 From: bsteers4 at gmail.com (Bruce Steers) Date: Wed, 30 Mar 2022 13:05:03 +0100 Subject: [Gambas-user] Program producing constant load In-Reply-To: <7afabe89-e7f7-30ff-1ffc-87ca28e4974c@osnanet.de> References: <57c6537b-8b05-d3b1-2bba-8c4d9d1f1277@osnanet.de> <7afabe89-e7f7-30ff-1ffc-87ca28e4974c@osnanet.de> Message-ID: On Wed, 30 Mar 2022 at 11:06, Rolf-Werner Eilert wrote: > Am 30.03.22 um 11:32 schrieb Beno?t Minisini: > > Le 30/03/2022 ? 10:54, Rolf-Werner Eilert a ?crit : > >> For my office use, I made a remake of my calendar program. > >> > >> Everything running fine so far, but today I saw that when I have the > >> program on the active screen, it produces a constant load of about 40 > >> % (the little faker on my desktop has 4 CPUs and Xosview says 1.3 with > >> the calendar visible). > >> > >> top says gbr3 is sucking CPU, but of course no more information. > >> > >> So my question is, how can I find out what is going on within my > >> program? Obviously, there is one event which is fired over and over > >> again. > >> > >> Regards > >> Rolf > >> > > > > gbx3 -t displays each ligne executed. It generates a lot of log in the > > terminal, but you can see what the program runs exactly. > > > > Regards, > > > > Oh yes, that shows it clearly: There is a large gridview displaying the > hours for each day. Obviously, the gridview constantly fires up the Data > event which jumps into one function looking for the school holidays. > > The question is, why is Data called over and over again? > > This is an Ubuntu Mate and I chose gb.qt5 and gb.qt5.ext as libraries. > May that be the reason? Or should I look for something else? I have > other projects running with the same libraries here, they use Gridview > as well, and they do not constantly fire the Data event. > Lets see the code. I suspect there is some code causing the data event to trigger again within the data event. Like putting any instructions in a _Draw event that cause an object refresh will cause a recursive loop BruceS -------------- next part -------------- An HTML attachment was scrubbed... URL: From rwe-sse at osnanet.de Wed Mar 30 16:47:43 2022 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Wed, 30 Mar 2022 16:47:43 +0200 Subject: [Gambas-user] Program producing constant load In-Reply-To: <2702d6be-911e-2213-2c0b-9858f1bd10e8@gmail.com> References: <57c6537b-8b05-d3b1-2bba-8c4d9d1f1277@osnanet.de> <2702d6be-911e-2213-2c0b-9858f1bd10e8@gmail.com> Message-ID: <2e72b93e-bac1-9cd8-27b3-7dcffe160a72@osnanet.de> Am 30.03.22 um 13:14 schrieb Beno?t Minisini: > Le 30/03/2022 ? 11:32, Beno?t Minisini a ?crit?: >> Le 30/03/2022 ? 10:54, Rolf-Werner Eilert a ?crit?: >>> For my office use, I made a remake of my calendar program. >>> >>> Everything running fine so far, but today I saw that when I have the >>> program on the active screen, it produces a constant load of about 40 >>> % (the little faker on my desktop has 4 CPUs and Xosview says 1.3 >>> with the calendar visible). >>> >>> top says gbr3 is sucking CPU, but of course no more information. >>> >>> So my question is, how can I find out what is going on within my >>> program? Obviously, there is one event which is fired over and over >>> again. >>> >>> Regards >>> Rolf >>> >> >> gbx3 -t displays each ligne executed. It generates a lot of log in the >> terminal, but you can see what the program runs exactly. >> >> Regards, >> > > Another possibility is running your program from the IDE with profiling > enabled. > I did it, and it showed me that it is not the big gridview with the week's days but the three small ones at the left side which simulate a three-months calendar. These three are called over and over again, but I cannot find a reason for it. From rwe-sse at osnanet.de Wed Mar 30 16:49:44 2022 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Wed, 30 Mar 2022 16:49:44 +0200 Subject: [Gambas-user] Program producing constant load In-Reply-To: References: <57c6537b-8b05-d3b1-2bba-8c4d9d1f1277@osnanet.de> <7afabe89-e7f7-30ff-1ffc-87ca28e4974c@osnanet.de> Message-ID: <218db44a-e77d-6851-9b5a-ce08a9a357a1@osnanet.de> Am 30.03.22 um 14:05 schrieb Bruce Steers: > > > On Wed, 30 Mar 2022 at 11:06, Rolf-Werner Eilert > wrote: > > Am 30.03.22 um 11:32 schrieb Beno?t Minisini: > > Le 30/03/2022 ? 10:54, Rolf-Werner Eilert a ?crit?: > >> For my office use, I made a remake of my calendar program. > >> > >> Everything running fine so far, but today I saw that when I have > the > >> program on the active screen, it produces a constant load of > about 40 > >> % (the little faker on my desktop has 4 CPUs and Xosview says > 1.3 with > >> the calendar visible). > >> > >> top says gbr3 is sucking CPU, but of course no more information. > >> > >> So my question is, how can I find out what is going on within my > >> program? Obviously, there is one event which is fired over and over > >> again. > >> > >> Regards > >> Rolf > >> > > > > gbx3 -t displays each ligne executed. It generates a lot of log > in the > > terminal, but you can see what the program runs exactly. > > > > Regards, > > > > Oh yes, that shows it clearly: There is a large gridview displaying the > hours for each day. Obviously, the gridview constantly fires up the > Data > event which jumps into one function looking for the school holidays. > > The question is, why is Data called over and over again? > > This is an Ubuntu Mate and I chose gb.qt5 and gb.qt5.ext as libraries. > May that be the reason? Or should I look for something else? I have > other projects running with the same libraries here, they use Gridview > as well, and they do not constantly fire the Data event. > > > Lets see the code. > I suspect there is some code causing the data event to trigger again > within the data event. > > Like putting any instructions in a _Draw event that cause an object > refresh will cause a recursive loop > BruceS Good idea! Here is a tar.gz of the project, but without the calendar data. Sorry, but it would be too complicated to deliver these data too. So you can look at the code, but I guess you won't be able to get it running. Regards Rolf -------------- next part -------------- A non-text attachment was scrubbed... Name: Kalender4-0.0.10.tar.gz Type: application/gzip Size: 144705 bytes Desc: not available URL: From rwe-sse at osnanet.de Wed Mar 30 16:51:12 2022 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Wed, 30 Mar 2022 16:51:12 +0200 Subject: [Gambas-user] Program producing constant load In-Reply-To: References: <57c6537b-8b05-d3b1-2bba-8c4d9d1f1277@osnanet.de> <7afabe89-e7f7-30ff-1ffc-87ca28e4974c@osnanet.de> Message-ID: <4bb002b0-9891-3d70-0847-a6a179eeaba1@osnanet.de> Am 30.03.22 um 14:05 schrieb Bruce Steers: > > > On Wed, 30 Mar 2022 at 11:06, Rolf-Werner Eilert > wrote: > > Am 30.03.22 um 11:32 schrieb Beno?t Minisini: > > Le 30/03/2022 ? 10:54, Rolf-Werner Eilert a ?crit?: > >> For my office use, I made a remake of my calendar program. > >> > >> Everything running fine so far, but today I saw that when I have > the > >> program on the active screen, it produces a constant load of > about 40 > >> % (the little faker on my desktop has 4 CPUs and Xosview says > 1.3 with > >> the calendar visible). > >> > >> top says gbr3 is sucking CPU, but of course no more information. > >> > >> So my question is, how can I find out what is going on within my > >> program? Obviously, there is one event which is fired over and over > >> again. > >> > >> Regards > >> Rolf > >> > > > > gbx3 -t displays each ligne executed. It generates a lot of log > in the > > terminal, but you can see what the program runs exactly. > > > > Regards, > > > > Oh yes, that shows it clearly: There is a large gridview displaying the > hours for each day. Obviously, the gridview constantly fires up the > Data > event which jumps into one function looking for the school holidays. > > The question is, why is Data called over and over again? > > This is an Ubuntu Mate and I chose gb.qt5 and gb.qt5.ext as libraries. > May that be the reason? Or should I look for something else? I have > other projects running with the same libraries here, they use Gridview > as well, and they do not constantly fire the Data event. > > > Lets see the code. > I suspect there is some code causing the data event to trigger again > within the data event. > > Like putting any instructions in a _Draw event that cause an object > refresh will cause a recursive loop > BruceS > > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- Err - take a look at kalMonat1 to kalMonat3 _Data. Curiously, the third one is called more often than the other two. From jussi.lahtinen at gmail.com Wed Mar 30 22:24:00 2022 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Wed, 30 Mar 2022 23:24:00 +0300 Subject: [Gambas-user] Program producing constant load In-Reply-To: <2e72b93e-bac1-9cd8-27b3-7dcffe160a72@osnanet.de> References: <57c6537b-8b05-d3b1-2bba-8c4d9d1f1277@osnanet.de> <2702d6be-911e-2213-2c0b-9858f1bd10e8@gmail.com> <2e72b93e-bac1-9cd8-27b3-7dcffe160a72@osnanet.de> Message-ID: > I did it, and it showed me that it is not the big gridview with the > week's days but the three small ones at the left side which simulate a > three-months calendar. These three are called over and over again, but I > cannot find a reason for it. > The profiler should show where the calls are made..? Jussi -------------- next part -------------- An HTML attachment was scrubbed... URL: From rwe-sse at osnanet.de Thu Mar 31 09:53:06 2022 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Thu, 31 Mar 2022 09:53:06 +0200 Subject: [Gambas-user] Program producing constant load In-Reply-To: References: <57c6537b-8b05-d3b1-2bba-8c4d9d1f1277@osnanet.de> <2702d6be-911e-2213-2c0b-9858f1bd10e8@gmail.com> <2e72b93e-bac1-9cd8-27b3-7dcffe160a72@osnanet.de> Message-ID: <56f1c0d7-1914-53e3-a8df-d142e7cd1838@osnanet.de> Am 30.03.22 um 22:24 schrieb Jussi Lahtinen: > > I did it, and it showed me that it is not the big gridview with the > week's days but the three small ones at the left side which simulate a > three-months calendar. These three are called over and over again, > but I > cannot find a reason for it. > > > The profiler should show where the calls are made..? > > Jussi > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- Yes, as I said, I found it. But it does not show where the calls originate from. I browsed the code and looked for any .Rows.Count and .Columns.Count calls. These would be the only direct calls for Gridview to start the Data event as far as I know. But these appear only in one Sub which is called by Click events of buttons etc. Neither is there any recursive thing or calling the wrong Gridview from another Data event. Regards Rolf From rwe-sse at osnanet.de Thu Mar 31 10:15:02 2022 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Thu, 31 Mar 2022 10:15:02 +0200 Subject: [Gambas-user] Program producing constant load In-Reply-To: References: <57c6537b-8b05-d3b1-2bba-8c4d9d1f1277@osnanet.de> <2702d6be-911e-2213-2c0b-9858f1bd10e8@gmail.com> <2e72b93e-bac1-9cd8-27b3-7dcffe160a72@osnanet.de> Message-ID: Am 30.03.22 um 22:24 schrieb Jussi Lahtinen: > > I did it, and it showed me that it is not the big gridview with the > week's days but the three small ones at the left side which simulate a > three-months calendar. These three are called over and over again, > but I > cannot find a reason for it. > > > The profiler should show where the calls are made..? > > Jussi > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- Maybe the fact that the phenomenon only appears when the calendar is visible (i. e. the screen where it is placed is visible), could help finding the reason? When I change to another screen, the callings stop. CPU load is near 0. The program as such continues, as e. g. popups still appear. Regards Rolf From rwe-sse at osnanet.de Thu Mar 31 12:56:13 2022 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Thu, 31 Mar 2022 12:56:13 +0200 Subject: [Gambas-user] Program producing constant load In-Reply-To: References: <57c6537b-8b05-d3b1-2bba-8c4d9d1f1277@osnanet.de> <7afabe89-e7f7-30ff-1ffc-87ca28e4974c@osnanet.de> Message-ID: Am 30.03.22 um 14:05 schrieb Bruce Steers: > > > On Wed, 30 Mar 2022 at 11:06, Rolf-Werner Eilert > wrote: > > Am 30.03.22 um 11:32 schrieb Beno?t Minisini: > > Le 30/03/2022 ? 10:54, Rolf-Werner Eilert a ?crit?: > >> For my office use, I made a remake of my calendar program. > >> > >> Everything running fine so far, but today I saw that when I have > the > >> program on the active screen, it produces a constant load of > about 40 > >> % (the little faker on my desktop has 4 CPUs and Xosview says > 1.3 with > >> the calendar visible). > >> > >> top says gbr3 is sucking CPU, but of course no more information. > >> > >> So my question is, how can I find out what is going on within my > >> program? Obviously, there is one event which is fired over and over > >> again. > >> > >> Regards > >> Rolf > >> > > > > gbx3 -t displays each ligne executed. It generates a lot of log > in the > > terminal, but you can see what the program runs exactly. > > > > Regards, > > > > Oh yes, that shows it clearly: There is a large gridview displaying the > hours for each day. Obviously, the gridview constantly fires up the > Data > event which jumps into one function looking for the school holidays. > > The question is, why is Data called over and over again? > > This is an Ubuntu Mate and I chose gb.qt5 and gb.qt5.ext as libraries. > May that be the reason? Or should I look for something else? I have > other projects running with the same libraries here, they use Gridview > as well, and they do not constantly fire the Data event. > > > Lets see the code. > I suspect there is some code causing the data event to trigger again > within the data event. > > Like putting any instructions in a _Draw event that cause an object > refresh will cause a recursive loop > BruceS > > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- Here is a special version Kalender4-Test which uses a special directory for its calendar data and should run on other systems too. You need the archive and the kaltes.tar.gz of the special directory. Unpack or copy the latter to your $home as $home/.kalendertest/... It contains only holiday data, everything else is left out, but it runs this way and maybe shows the problem. Hope this helps! Regards Rolf -------------- next part -------------- A non-text attachment was scrubbed... Name: Kalender4-Test-0.0.10.tar.gz Type: application/gzip Size: 144433 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: kaltest.tar.gz Type: application/gzip Size: 2127 bytes Desc: not available URL: From hans at gambas-buch.de Thu Mar 31 18:03:16 2022 From: hans at gambas-buch.de (Hans Lehmann) Date: Thu, 31 Mar 2022 18:03:16 +0200 Subject: [Gambas-user] Class HTTPClient - UserAgent Message-ID: <2761440e-a4d4-cae6-4fbe-29aa2de6fc18@gambas-buch.de> Hello. Is this information in the documentation of the HTTPClient class for the HTTPClient.UserAgent property with 'The default UserAgent used is Gambas Http/1.0' (still) correct? When I start a programme that uses the class HTTPClient and have the agent output, it currently says: Gambas/3.17 (gb.net.curl; Linux). This corresponds to the given syntax. What now - what to do? With kind regards Hans From t.lee.davidson at gmail.com Thu Mar 31 18:43:31 2022 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Thu, 31 Mar 2022 12:43:31 -0400 Subject: [Gambas-user] Class HTTPClient - UserAgent In-Reply-To: <2761440e-a4d4-cae6-4fbe-29aa2de6fc18@gambas-buch.de> References: <2761440e-a4d4-cae6-4fbe-29aa2de6fc18@gambas-buch.de> Message-ID: On 3/31/22 12:03, Hans Lehmann wrote: > Hello. > > Is this information in the documentation of the HTTPClient class for the HTTPClient.UserAgent property with 'The default > UserAgent used is Gambas Http/1.0' (still) correct? > When I start a programme that uses the class HTTPClient and have the agent output, it currently says: Gambas/3.17 (gb.net.curl; > Linux). This corresponds to the given syntax. What now - what to do? > > With kind regards > Hans The documentation for that was apparently outdated. I updated it. I don't know what you're asking with, "What now - what to do?" Does the current user-agent string present a problem for you? If you want it to be different, just change it. -- Lee From bsteers4 at gmail.com Thu Mar 31 18:50:24 2022 From: bsteers4 at gmail.com (Bruce Steers) Date: Thu, 31 Mar 2022 17:50:24 +0100 Subject: [Gambas-user] Program producing constant load In-Reply-To: References: <57c6537b-8b05-d3b1-2bba-8c4d9d1f1277@osnanet.de> <7afabe89-e7f7-30ff-1ffc-87ca28e4974c@osnanet.de> Message-ID: On Thu, 31 Mar 2022 at 11:57, Rolf-Werner Eilert wrote: > Am 30.03.22 um 14:05 schrieb Bruce Steers: > > > > > > On Wed, 30 Mar 2022 at 11:06, Rolf-Werner Eilert > > wrote: > > > > Am 30.03.22 um 11:32 schrieb Beno?t Minisini: > > > Le 30/03/2022 ? 10:54, Rolf-Werner Eilert a ?crit : > > >> For my office use, I made a remake of my calendar program. > > >> > > >> Everything running fine so far, but today I saw that when I have > > the > > >> program on the active screen, it produces a constant load of > > about 40 > > >> % (the little faker on my desktop has 4 CPUs and Xosview says > > 1.3 with > > >> the calendar visible). > > >> > > >> top says gbr3 is sucking CPU, but of course no more information. > > >> > > >> So my question is, how can I find out what is going on within my > > >> program? Obviously, there is one event which is fired over and > over > > >> again. > > >> > > >> Regards > > >> Rolf > > >> > > > > > > gbx3 -t displays each ligne executed. It generates a lot of log > > in the > > > terminal, but you can see what the program runs exactly. > > > > > > Regards, > > > > > > > Oh yes, that shows it clearly: There is a large gridview displaying > the > > hours for each day. Obviously, the gridview constantly fires up the > > Data > > event which jumps into one function looking for the school holidays. > > > > The question is, why is Data called over and over again? > > > > This is an Ubuntu Mate and I chose gb.qt5 and gb.qt5.ext as > libraries. > > May that be the reason? Or should I look for something else? I have > > other projects running with the same libraries here, they use > Gridview > > as well, and they do not constantly fire the Data event. > > > > > > Lets see the code. > > I suspect there is some code causing the data event to trigger again > > within the data event. > > > > Like putting any instructions in a _Draw event that cause an object > > refresh will cause a recursive loop > > BruceS > > > > > > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]---- > > Here is a special version Kalender4-Test which uses a special directory > for its calendar data and should run on other systems too. > > You need the archive and the kaltes.tar.gz of the special directory. > Unpack or copy the latter to your $home as $home/.kalendertest/... It > contains only holiday data, everything else is left out, but it runs > this way and maybe shows the problem. > > Hope this helps! > A bit , i am hindered as i do not speak German so do not understand your function/variable names but i've had a look. woTermine_Scroll() seems to fire all the time. istFerientag() function runs a lot. I have been testing by adding break points then holding down F8 key to see what code is running. in woTermine_Scroll() was a good place for a break point. Also the application does not exit cleanly (I have to use the ide stop button). either a file open or a timer not stopped is causing it not to exit. Sorry i cannot help further. BruceS -------------- next part -------------- An HTML attachment was scrubbed... URL: From hans at gambas-buch.de Thu Mar 31 19:12:30 2022 From: hans at gambas-buch.de (Hans Lehmann) Date: Thu, 31 Mar 2022 19:12:30 +0200 Subject: [Gambas-user] Class HTTPClient - UserAgent In-Reply-To: References: <2761440e-a4d4-cae6-4fbe-29aa2de6fc18@gambas-buch.de> Message-ID: Am 31.03.22 um 18:43 schrieb T Lee Davidson: > The documentation for that was apparently outdated. I updated it. Hello Lee. Thank you for the change to the documentation. With kind regards Hans From jussi.lahtinen at gmail.com Thu Mar 31 23:23:37 2022 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Fri, 1 Apr 2022 00:23:37 +0300 Subject: [Gambas-user] Program producing constant load In-Reply-To: <56f1c0d7-1914-53e3-a8df-d142e7cd1838@osnanet.de> References: <57c6537b-8b05-d3b1-2bba-8c4d9d1f1277@osnanet.de> <2702d6be-911e-2213-2c0b-9858f1bd10e8@gmail.com> <2e72b93e-bac1-9cd8-27b3-7dcffe160a72@osnanet.de> <56f1c0d7-1914-53e3-a8df-d142e7cd1838@osnanet.de> Message-ID: > Yes, as I said, I found it. But it does not show where the calls > originate from. > Surely there is something..? You mean it shows only the event loop? Have you already tried to switch between Qt and Gtk ? Jussi -------------- next part -------------- An HTML attachment was scrubbed... URL: