From bugtracker at gambaswiki.org Sun Mar 1 06:20:55 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 01 Mar 2020 05:20:55 GMT Subject: [Gambas-bugtracker] Bug #1742: Add an optional message to the Stop command Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1742&from=L21haW4- Bruce BRUEN reported a new bug. Summary ------- Add an optional message to the Stop command Type : Request Priority : Medium Gambas version : 3.14 Product : Unknown Description ----------- This is just a shortcut to save having to include Print/Error commands just before the stop. During development, I frequently leave unresolved error conditions hanging around with Stop's in them as I might be focussing on some other part of the code. These are usually the error conditions that don't happen often, such as I'm processing a large set of records with some complex code, maybe one record in the set has a null value that I haven't figured out what to do about yet as I'm looking at some other aspect of the processing.... So, If not CurrentTransaction.Taxable Then Stop "Tax flag is null" is a lot more concise than If not CurrentTransaction.Taxable Then Print "Tax flag is null" Stop Endif (Especially in the middle of a complex set of if..elses) and this is the important bit... would immediately take my mind to the problem rather than having to think about what caused the Stop. Also the reason for the stop might (and sometimes does) occur somewhere else.. so If sFault then Stop sFault where sFault is a message set nowhere near where the Stop command is in the code.... regards B System information ------------------ [System] Gambas=3.11.90 d3c17c791 (local) OperatingSystem=Linux Kernel=4.16.13-pclos1 Architecture=x86_64 Distribution=PCLinuxOS Desktop=MATE Theme=Gtk Language=en_US.UTF-8 Memory=7491M [Libraries] [Environment] BROWSER=/usr/bin/www-browser CANBERRA_DRIVER=pulse DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-tYSAEsKmJW,guid=084be9baa369436402ea749d5bebea13 DESKTOP_SESSION=05MATE DISPLAY=:0 GB_GUI=gb.qt4 GCONF_TMPDIR=/tmp GDMSESSION=05MATE GDM_XSERVER_LOCATION=local GIO_LAUNCHED_DESKTOP_FILE=/Desktop/projectbrowser5.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=16405 GIT_PAGER=less -FRS GNOME_KEYRING_CONTROL=/.cache/keyring-787ASZ GTK2_RC_FILES=/.gtkrc-2.0 GTK_MODULES=canberra-gtk-module GTK_OVERLAY_SCROLLING=0 G_FILENAME_ENCODING=@locale HISTCONTROL=ignoredups HISTSIZE=1000 HOME= HOSTNAME= INPUTRC=/etc/inputrc LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_ADDRESS=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 LC_IDENTIFICATION=en_US.UTF-8 LC_MEASUREMENT=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_NAME=en_US.UTF-8 LC_NUMERIC=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_SOURCED=1 LC_TELEPHONE=en_US.UTF-8 LC_TIME=en_US.UTF-8 LD_LIBRARY_PATH=:/usr/lib64:/usr/lib LESS=-MM LESSCHARSET=utf-8 LESSKEY=/etc/.less LESSOPEN=|/usr/bin/lesspipe.sh %s LOGNAME= LS_COLORS= MAIL=/var/spool/mail/ MATE_DESKTOP_SESSION_ID=this-is-deprecated MDV_MENU_STYLE=discovery META_CLASS=desktop NLSPATH=/usr/share/locale/%l/%N PATH=/bin:/usr/bin:/usr/local/bin:/usr/games:/usr/lib64/qt4/bin:/usr/lib64/qt5/bin:/bin:/sbin:/usr/sbin PWD= PYTHONDONTWRITEBYTECODE=1 PYTHONSTARTUP=/etc/pythonrc.py QT4DOCDIR=/usr/share/doc/qt4 QT5DOCDIR=/usr/share/doc/qt5 QTDIR=/usr/lib64/qt4 QTDIR5=/usr/lib64/qt5 QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_SCALE_FACTOR=1 SESSION_MANAGER=local/:@/tmp/.ICE-unix/29853,unix/:/tmp/.ICE-unix/29853 SHELL=/bin/bash SHLVL=1 SSH_AGENT_PID=29892 SSH_AUTH_SOCK=/.cache/keyring-787ASZ/ssh TMP=/tmp/ TMPDIR=/tmp/ TZ=:/etc/localtime USER= WINDOWPATH=8 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/mate:/etc/xdg/discovery:/etc/xdg XDG_CURRENT_DESKTOP=MATE XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/ XDG_SESSION_COOKIE=-1542187537.274074-1876948711 XMODIFIERS=@im=none _=/usr/bin/gambas3 From bugtracker at gambaswiki.org Mon Mar 2 17:12:17 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 02 Mar 2020 16:12:17 GMT Subject: [Gambas-bugtracker] Bug #1733: gb.openssl Expose Key Derivation Functions In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1733&from=L21haW4- Comment #4 by Gen BRAGA: Would this help? From bugtracker at gambaswiki.org Mon Mar 2 17:12:28 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 02 Mar 2020 16:12:28 GMT Subject: [Gambas-bugtracker] Bug #1733: gb.openssl Expose Key Derivation Functions In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1733&from=L21haW4- Gen BRAGA added an attachment: gb.openssl.pbkdf2-0.0.1.tar.gz From bugtracker at gambaswiki.org Mon Mar 2 18:21:20 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 02 Mar 2020 17:21:20 GMT Subject: [Gambas-bugtracker] Bug #1733: gb.openssl Expose Key Derivation Functions In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1733&from=L21haW4- Comment #5 by REALITYRIPPLE: @Gen: It needs a few adjustments regarding the Salt (I made it a byte array instead of a string, otherwise stuff gets real messy real quick), but SHA256, 384, and 512 are easily implementable as well! Just gotta add: Private Extern EVP_sha1() As String Private Extern EVP_sha256() As String Private Extern EVP_sha384() As String Private Extern EVP_sha512() As String and pass the results of those functions as the Digest. From bugtracker at gambaswiki.org Mon Mar 2 18:30:09 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 02 Mar 2020 17:30:09 GMT Subject: [Gambas-bugtracker] Bug #1742: Add an optional message to the Stop command In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1742&from=L21haW4- Comment #1 by Beno?t MINISINI: Why don't you use the ASSERT instruction for that? Assert CurrentTransaction.Taxable Print "Tax flag is null" From bugtracker at gambaswiki.org Mon Mar 2 21:10:00 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 02 Mar 2020 20:10:00 GMT Subject: [Gambas-bugtracker] Bug #1733: gb.openssl Expose Key Derivation Functions In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1733&from=L21haW4- Comment #6 by Gen BRAGA: Yes, I made it as a draft, but I'm taking your hints into account now. Seems to me you already have done it this way, am I right? Wasnt it enought? Any considerations? Is it too slow? From bugtracker at gambaswiki.org Mon Mar 2 21:24:08 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 02 Mar 2020 20:24:08 GMT Subject: [Gambas-bugtracker] Bug #1733: gb.openssl Expose Key Derivation Functions In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1733&from=L21haW4- Comment #7 by REALITYRIPPLE: No, it'll work just fine as an API call, it just seems like if there's a component for the library, then it should get in as many common use-cases as possible. From bugtracker at gambaswiki.org Tue Mar 3 18:27:04 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 03 Mar 2020 17:27:04 GMT Subject: [Gambas-bugtracker] Bug #1705: improve property manipulation with help views and classes. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1705&from=L21haW4- Comment #4 by V?ctor PEREZ: It could be something like that, maybe https://www.youtube.com/watch?v=w8L1LhJ6k90 From bugtracker at gambaswiki.org Tue Mar 3 19:50:51 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 03 Mar 2020 18:50:51 GMT Subject: [Gambas-bugtracker] Bug #1705: improve property manipulation with help views and classes. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1705&from=L21haW4- Comment #5 by V?ctor PEREZ: another that occurs to me is to enlarge the area of detection of the mouse in the same class, perhaps enlarging the arrows and allowing the action throughout the entire length of the panel and not only in the arrow icons, I do not ask. because this is how it is not comfortable to hide and see! From bugtracker at gambaswiki.org Tue Mar 3 23:08:35 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 03 Mar 2020 22:08:35 GMT Subject: [Gambas-bugtracker] Bug #1743: Bug unig WebTabPanel Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1743&from=L21haW4- Olivier CRUILLES reported a new bug. Summary ------- Bug unig WebTabPanel Type : Bug Priority : Medium Gambas version : Master Product : Development Environment Description ----------- Hi Benoit, I'm building a new application entirely with gb.web.form module and really it's impressible what we can do with it. The documentation is just the bad point but I'm able to use it as I want. In this application I use a WebTabPanel and I create dynamically new Tab by code. All works fine when I create New Tabs but after I delete those, a message appear in my browser raised by Javascript lib. Of course I can send you my project (~12MB zipped) Attached a screenshot of the message in Chromium. Thank you Olivier System information ------------------ [System] Gambas=3.14.90 OperatingSystem=Linux Kernel=5.3.0-40-generic Architecture=x86_64 Distribution=Linux Mint 19.3 Tricia Desktop=MATE Theme=Qt5CTProxy Language=fr_CA.UTF-8 Memory=7962M [Libraries] Cairo=libcairo.so.2.11510.0 Curl=libcurl.so.4.5.0 DBus=libdbus-1.so.3.19.4 GStreamer=libgstreamer-1.0.so.0.1405.0 GTK+2=libgtk-x11-2.0.so.0.2400.32 GTK+3=libgtk-3.so.0.2200.30 OpenGL=libGL.so.1.0.0 Poppler=libpoppler.so.73.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.9.5 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CLUTTER_BACKEND=x11 CLUTTER_IM_MODULE=xim COMPIZ_CONFIG_PROFILE=mate DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DEFAULTS_PATH=/usr/share/gconf/mate.default.path DESKTOP_SESSION=mate DISPLAY=:0 GB_GUI=gb.qt5 GDMSESSION=mate GDM_LANG=fr_CA GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 GTK_IM_MODULE=xim GTK_MODULES=gail:atk-bridge GTK_OVERLAY_SCROLLING=0 HOME= IM_CONFIG_PHASE=2 LANG=fr_CA.UTF-8 LANGUAGE=fr_CA.UTF-8 LC_ADDRESS=fr_FR.UTF-8 LC_IDENTIFICATION=fr_FR.UTF-8 LC_MEASUREMENT=fr_FR.UTF-8 LC_MONETARY=fr_FR.UTF-8 LC_NAME=fr_FR.UTF-8 LC_NUMERIC=fr_FR.UTF-8 LC_PAPER=fr_FR.UTF-8 LC_TELEPHONE=fr_FR.UTF-8 LC_TIME=fr_FR.UTF-8 LIBVIRT_DEFAULT_URI=qemu:///system LOGNAME= MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path MATE_DESKTOP_SESSION_ID=this-is-deprecated PAPERSIZE=a4 PATH=/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD= QT4_IM_MODULE=xim QT_ACCESSIBILITY=1 QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_IM_MODULE=ibus QT_LOGGING_RULES=*.debug=false QT_QPA_PLATFORMTHEME=qt5ct QT_SCALE_FACTOR=1 SESSION_MANAGER=local/:@/tmp/.ICE-unix/1973,unix/:/tmp/.ICE-unix/1973 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=2145 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh S_COLORS=auto TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg XDG_CURRENT_DESKTOP=MATE XDG_DATA_DIRS=/usr/share/mate:/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=mate XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 XMODIFIERS=@im=ibus From bugtracker at gambaswiki.org Tue Mar 3 23:21:31 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 03 Mar 2020 22:21:31 GMT Subject: [Gambas-bugtracker] Bug #1743: Bug unig WebTabPanel In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1743&from=L21haW4- Comment #1 by Beno?t MINISINI: I stopped working on 'gb.web.form', because its internal design was bad in term of performances. I'm now working on 'gb.web.form2', which has exactly the same goal, but with better performances, and a behaviour logic far more similar to GUI programming with an event loop. Would you like to test your project with it? From bugtracker at gambaswiki.org Tue Mar 3 23:34:53 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 03 Mar 2020 22:34:53 GMT Subject: [Gambas-bugtracker] Bug #1743: Bug unig WebTabPanel In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1743&from=L21haW4- Comment #2 by Olivier CRUILLES: I have tried my project using gb.web.form2 but unfortunately it does not work. First I have deleted WebSlider do not exist in gb.web.form2 (for now I guess). The browser does not receive any data and the startup page is not displayed. Attached the screenshot. From bugtracker at gambaswiki.org Tue Mar 3 23:35:05 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 03 Mar 2020 22:35:05 GMT Subject: [Gambas-bugtracker] Bug #1743: Bug unig WebTabPanel In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1743&from=L21haW4- Olivier CRUILLES added an attachment: S?lection_347.png From bugtracker at gambaswiki.org Tue Mar 3 23:52:05 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 03 Mar 2020 22:52:05 GMT Subject: [Gambas-bugtracker] Bug #1743: Bug unig WebTabPanel In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1743&from=L21haW4- Comment #3 by Beno?t MINISINI: Can you send me your project? From bugtracker at gambaswiki.org Tue Mar 3 23:56:43 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 03 Mar 2020 22:56:43 GMT Subject: [Gambas-bugtracker] Bug #1743: Bug unig WebTabPanel In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1743&from=L21haW4- Comment #4 by Olivier CRUILLES: Attached the project. Login: admin Password: admin From bugtracker at gambaswiki.org Tue Mar 3 23:57:44 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 03 Mar 2020 22:57:44 GMT Subject: [Gambas-bugtracker] Bug #1743: Bug unig WebTabPanel In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1743&from=L21haW4- Olivier CRUILLES added an attachment: gbAsStatsConsoleBSNew-0.6.tar.gz From bugtracker at gambaswiki.org Thu Mar 5 02:39:26 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 05 Mar 2020 01:39:26 GMT Subject: [Gambas-bugtracker] Bug #1705: improve property manipulation with help views and classes. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1705&from=L21haW4- Comment #6 by Beno?t MINISINI: Isn't What I did in master exactly what you suggested? From bugtracker at gambaswiki.org Thu Mar 5 02:39:50 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 05 Mar 2020 01:39:50 GMT Subject: [Gambas-bugtracker] Bug #1742: Add an optional message to the Stop command In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1742&from=L21haW4- Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Fri Mar 6 16:56:56 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 06 Mar 2020 15:56:56 GMT Subject: [Gambas-bugtracker] Bug #1705: improve property manipulation with help views and classes. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1705&from=L21haW4- Paul BICKERMANN changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Fri Mar 6 16:57:03 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 06 Mar 2020 15:57:03 GMT Subject: [Gambas-bugtracker] Bug #1705: improve property manipulation with help views and classes. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1705&from=L21haW4- Paul BICKERMANN changed the state of the bug to: Opened. From bugtracker at gambaswiki.org Fri Mar 6 21:45:56 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 06 Mar 2020 20:45:56 GMT Subject: [Gambas-bugtracker] Bug #1743: Bug unig WebTabPanel In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1743&from=L21haW4- Comment #5 by Beno?t MINISINI: I fixed some things in 'gb.web.form2', but this is not enough. Which mail address can I use so that I can talk with you in french? From bugtracker at gambaswiki.org Fri Mar 6 21:57:24 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 06 Mar 2020 20:57:24 GMT Subject: [Gambas-bugtracker] Bug #1743: Bug unig WebTabPanel In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1743&from=L21haW4- Comment #6 by Olivier CRUILLES: Thank you Benoit. Mail: olivier.cruilles at yahoo.fr From bugtracker at gambaswiki.org Sun Mar 8 10:38:48 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 08 Mar 2020 09:38:48 GMT Subject: [Gambas-bugtracker] Bug #1744: Key.Code Alternate in gb.webform2 Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1744&from=L21haW4- Safiur RAHMAN reported a new bug. Summary ------- Key.Code Alternate in gb.webform2 Type : Request Priority : Low Gambas version : Master Product : Web components Description ----------- How can we catch key.code while using gambas3-gb-webform2 (without using external js). Is it possible to add this feature? System information ------------------ [System] Gambas=3.14.2 OperatingSystem=Linux Kernel=5.3.0-40-generic Architecture=x86_64 Distribution=Ubuntu 18.04.3 LTS Desktop=UBUNTU:GNOME Theme=Fusion Language=en_US.UTF-8 Memory=7879M [Libraries] Cairo=libcairo.so.2.11510.0 Curl=libcurl.so.4.5.0 DBus=libdbus-1.so.3.19.4 GStreamer=libgstreamer-1.0.so.0.1405.0 GTK+2=libgtk-x11-2.0.so.0.2400.32 GTK+3=libgtk-3.so.0.2200.30 OpenGL=libGL.so.1.0.0 Poppler=libpoppler.so.73.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.9.5 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CLUTTER_IM_MODULE=xim DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=ubuntu DISPLAY=:0 GB_GUI=gb.qt5 GDMSESSION=ubuntu GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=7155 GJS_DEBUG_OUTPUT=stderr GJS_DEBUG_TOPICS=JS ERROR;JS LOG GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_SHELL_SESSION_MODE=ubuntu GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 GTK_IM_MODULE=ibus GTK_MODULES=gail:atk-bridge HOME=/home/ IM_CONFIG_PHASE=2 LANG=en_US.UTF-8 LC_ADDRESS=bho_NP LC_IDENTIFICATION=bho_NP LC_MEASUREMENT=bho_NP LC_MONETARY=bho_NP LC_NAME=bho_NP LC_NUMERIC=bho_NP LC_PAPER=bho_NP LC_TELEPHONE=bho_NP LC_TIME=bho_NP LOGNAME= PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD=/home/ QT4_IM_MODULE=xim QT_ACCESSIBILITY=1 QT_IM_MODULE=ibus SESSION_MANAGER=local/:@/tmp/.ICE-unix/3317,unix/:/tmp/.ICE-unix/3317 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=3394 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=2 XAUTHORITY=/run/user/1000/gdm/Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg XDG_CURRENT_DESKTOP=ubuntu:GNOME XDG_DATA_DIRS=/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop XDG_MENU_PREFIX=gnome- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_DESKTOP=ubuntu XDG_SESSION_ID=2 XDG_SESSION_TYPE=x11 XDG_VTNR=2 XMODIFIERS=@im=ibus From bugtracker at gambaswiki.org Sun Mar 8 18:37:09 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 08 Mar 2020 17:37:09 GMT Subject: [Gambas-bugtracker] Bug #1705: improve property manipulation with help views and classes. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1705&from=L21haW4- Comment #7 by V?ctor PEREZ: I just see, now yes, great, very comfortable, thank you very much V?ctor PEREZ changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Mon Mar 9 12:58:22 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 09 Mar 2020 11:58:22 GMT Subject: [Gambas-bugtracker] Bug #1745: prawns hang when dragging form a folder, the tree of the project Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1745&from=L21haW4- V?ctor PEREZ reported a new bug. Summary ------- prawns hang when dragging form a folder, the tree of the project Type : Bug Priority : Low Gambas version : 3.14 Product : Development Environment Description ----------- https://studio.youtube.com/video/IameBJbYbOQ/edit visorrv1960 project is on the farm System information ------------------ [System] Gambas=3.12.2 OperatingSystem=Linux Kernel=4.4.0-142-generic Architecture=x86 Distribution=Linux Mint 18.1 Serena Desktop=MATE Theme=Gtk Language=es_UY.UTF-8 Memory=1757M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.803.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CLUTTER_BACKEND=x11 COMPIZ_CONFIG_PROFILE=mate DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-GPFWuyZvm4,guid=29576f3a455bdb6b3df5f1465c7c4860 DEFAULTS_PATH=/usr/share/gconf/mate.default.path DESKTOP_SESSION=mate DISPLAY=:0 GB_GUI=gb.qt5 GDMSESSION=mate GDM_XSERVER_LOCATION=local GTK_MODULES=gail:atk-bridge GTK_OVERLAY_SCROLLING=0 HOME= LANG=es_UY.UTF-8 LC_ADDRESS=es_UY.UTF-8 LC_IDENTIFICATION=es_UY.UTF-8 LC_MEASUREMENT=es_UY.UTF-8 LC_MONETARY=es_UY.UTF-8 LC_NAME=es_UY.UTF-8 LC_NUMERIC=es_UY.UTF-8 LC_PAPER=es_UY.UTF-8 LC_TELEPHONE=es_UY.UTF-8 LC_TIME=es_UY.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path MATE_DESKTOP_SESSION_ID=this-is-deprecated MDMSESSION=mate MDM_LANG=es_UY.UTF-8 MDM_XSERVER_LOCATION=local PAPERSIZE=a4 PATH=/bin:/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT_ACCESSIBILITY=1 QT_IM_MODULE=compose QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_STYLE_OVERRIDE=gtk SESSION_MANAGER=local/:@/tmp/.ICE-unix/1217,unix/:/tmp/.ICE-unix/1217 SHELL=/bin/bash SSH_AGENT_PID=1288 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=7 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg XDG_CURRENT_DESKTOP=MATE XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=23e7429435e943319b749149eed39e68-1551648864.200534-1157168256 XDG_SESSION_DESKTOP=mate XDG_SESSION_ID=c1 XDG_VTNR=7 From bugtracker at gambaswiki.org Mon Mar 9 13:04:34 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 09 Mar 2020 12:04:34 GMT Subject: [Gambas-bugtracker] Bug #1745: prawns hang when dragging form a folder, the tree of the project In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1745&from=L21haW4- Comment #1 by V?ctor PEREZ: https://www.youtube.com/watch?v=sFHJfcPJz9Q From bugtracker at gambaswiki.org Mon Mar 9 13:05:57 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 09 Mar 2020 12:05:57 GMT Subject: [Gambas-bugtracker] Bug #1745: prawns hang when dragging form a folder, the tree of the project In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1745&from=L21haW4- Comment #2 by V?ctor PEREZ: [System] Gambas=3.14.90 OperatingSystem=Linux Kernel=4.15.0-88-generic Architecture=x86 Distribution=Linux Mint 19 Tara Desktop=MATE Theme=Qt5CTProxy Language=es_UY.UTF-8 Memory=2830M [Libraries] Cairo=libcairo.so.2.11510.0 Curl=libcurl.so.4.5.0 DBus=libdbus-1.so.3.19.4 GStreamer=libgstreamer-1.0.so.0.1405.0 GTK+2=libgtk-x11-2.0.so.0.2400.32 GTK+3=libgtk-3.so.0.2200.30 OpenGL=libGL.so.1.0.0 Poppler=libpoppler.so.73.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.9.5 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 From bugtracker at gambaswiki.org Mon Mar 9 15:15:02 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 09 Mar 2020 14:15:02 GMT Subject: [Gambas-bugtracker] Bug #1746: Add ability to include Major Version number as part of the package name Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1746&from=L21haW4- Brian G reported a new bug. Summary ------- Add ability to include Major Version number as part of the package name Type : Request Priority : Medium Gambas version : Master Product : Development Environment Description ----------- Add ability to include the major revision number as part of the shared library installation package name. Currently each install package released deletes all the older versions of the library. In Linux the major number denotes the interface level as a standard for shared libraries. What I am talking about is allowing the major version number of the shared library to control the name of the package to be changed such that their could be available to an application developer multiple versions of the library. This does not change the library name. Nor would it at all change the dependency chain of your install package or older versions of the app being reinstalled as both versions would be available to resolve dependencies during the install. Both company.bogolib.1.0.0 and company.bogolib.2.0.0 Are available now, the original apps dependencies are unchanged and resolve correctly. I don't believe you can link a libc:10 lib with a cc4 compiled and developed app and have it work correctly. But developers don't usually like the lib name to change, when the environment is updated. I does in fact allow you to control the version of interface your application uses. If you need your old app to use the old version of a library don't change the major version number for that apps version of the library during bug fixes and changes. Update the minor version numbers of the library after the changes to it. That way you Stay compatible. >From a shared library developers point of view: This allows the release of publicly available libraries with interface specs that can be changed and the app builder/designer can decide to upgrade or not to the new super duper version of the library for his new release without compromising the existing installed or reinstalled base. >From Application Developers point of View : When you release a updated version of your app that requires a lib with some not compatible changes to the interface enhancing the performance/ability etc then it is time to bump the major number and release the app with the bumped interface number. This In fact allows your older version app to happily co-exist with the new one. And even be reinstalled. And future change and bug fixes to the library without issues. If in the future you would like your old App to use the new library for some reason then it is time to update it. In this case you are in fact releasing a new version of the app. So maybe its dependency chain should be updated. Are All your shared libraries open source? I am not trying to make anyone's life more difficult here. I am only trying to smooth the over all development cycle and app redevelopment cycle. I really believe that this would be a useful and well used tool during the development and release cycle. I have made a merge request adding the ability for the Scripter to use only the major release number or Major Minor release number for shared libraries. Today I thought the IDE had to select a specific version of the library to link with. Maybe I don't understand well enough. Components don't care about the release information just the Gambas version but shared libraries depend on the release information in the IDE. maybe the IDE needs tweeked to allow filtering on major number only as well if it does not already do that. Initially my thoughts turn towards script by default. Thank You Brian G System information ------------------ Master From bugtracker at gambaswiki.org Mon Mar 9 17:31:43 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 09 Mar 2020 16:31:43 GMT Subject: [Gambas-bugtracker] Bug #1747: auto string to num conversion cause jit to crash Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1747&from=L21haW4- Brian G reported a new bug. Summary ------- auto string to num conversion cause jit to crash Type : Bug Priority : High Gambas version : Master Product : JIT compiler Description ----------- when using auto conversion of string to number, string+string works fine but -string is invalid not detected til run time but if one is using fast then the jit crashes at compile time: this script demonstrates the error #!/usr/bin/gbs3 ' Gambas Script File Created 03/09/2020 16:28:11.531 Fast Public i As String = "1" Public j As String[] = ["-1", "2", "3"] Public Sub tester(count As Integer) Print count End Public Sub Main() tester(j[0]) 'this does the conversion auto Print j[1] + j[2] 'this does the conversion auto Print -j[0] 'this does not run as its invalid 'but not detected till runtime, but worste it causes the jit to fail End System information ------------------ master From bugtracker at gambaswiki.org Mon Mar 9 21:24:36 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 09 Mar 2020 20:24:36 GMT Subject: [Gambas-bugtracker] Bug #1733: gb.openssl Expose Key Derivation Functions In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1733&from=L21haW4- REALITYRIPPLE added an attachment: keyderivation.txt From bugtracker at gambaswiki.org Mon Mar 9 21:30:41 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 09 Mar 2020 20:30:41 GMT Subject: [Gambas-bugtracker] Bug #1733: gb.openssl Expose Key Derivation Functions In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1733&from=L21haW4- Comment #8 by REALITYRIPPLE: Egh, I did not mean to attach that to the previous comment... Anyway, there's my shot at Pbkdf2 and Scrypt in "Gambas C". And I guess since they have different parameters, they should remain different functions. The example code fails silently if there's a problem, and since I've never written anything in C for Gambas before, there's probably one or two expected ways of doing things or pre-written functions that I missed. Also note that Pbkdf2 requires OpenSSL 1.0.2 and Scrypt requires 1.1.0. I have no idea what the graceful way of handling that is, so I just failed silently based on OPENSSL_VERSION_NUMBER. From bugtracker at gambaswiki.org Tue Mar 10 00:06:00 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 09 Mar 2020 23:06:00 GMT Subject: [Gambas-bugtracker] Bug #1748: gb.pdf component Poppler 0.86(.1?) incompatibility Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1748&from=L21haW4- REALITYRIPPLE reported a new bug. Summary ------- gb.pdf component Poppler 0.86(.1?) incompatibility Type : Bug Priority : Medium Gambas version : Master Product : GUI components Description ----------- Having trouble compiling CPdfDocument.cpp on Arch with new Poppler version. Threw in a new const for 0.86 to fix the errors, but I have no idea if the result is functional. Here's the essence of the changes made (sans const). Line 259: -dest = THIS->doc->findDest((GooString *) name); //now returns unique_ptr +dest = THIS->doc->findDest((GooString *) name).get(); //so get the actual ptr Line 320: -tmp=((LinkURI*)act)->getURI(); break; //now returns a normal string +tmp=new GooString(((LinkURI*)act)->getURI()); break; //so Goo it Same GooString construction on Lines 323 and 326. System information ------------------ Poppler 0.86.1 Haven't tested on 0.86.0, but I'm pretty sure the changes happened then. From bugtracker at gambaswiki.org Tue Mar 10 00:40:06 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 09 Mar 2020 23:40:06 GMT Subject: [Gambas-bugtracker] Bug #1747: auto string to num conversion cause jit to crash In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1747&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Tue Mar 10 00:42:08 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 09 Mar 2020 23:42:08 GMT Subject: [Gambas-bugtracker] Bug #1747: auto string to num conversion cause jit to crash In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1747&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed in commit https://gitlab.com/gambas/gambas/-/commit/b83205f539ffbe8248088bd40014863cb3a71e15. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Tue Mar 10 00:42:19 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 09 Mar 2020 23:42:19 GMT Subject: [Gambas-bugtracker] Bug #1748: gb.pdf component Poppler 0.86(.1?) incompatibility In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1748&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Tue Mar 10 00:43:01 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 09 Mar 2020 23:43:01 GMT Subject: [Gambas-bugtracker] Bug #1744: Key.Code Alternate in gb.webform2 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1744&from=L21haW4- Comment #1 by Beno?t MINISINI: Where do you want to catch key event exactly? From bugtracker at gambaswiki.org Tue Mar 10 00:50:00 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 09 Mar 2020 23:50:00 GMT Subject: [Gambas-bugtracker] Bug #1745: prawns hang when dragging form a folder, the tree of the project In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1745&from=L21haW4- Comment #3 by Beno?t MINISINI: I think you have a problem in your Gambas installation. How did you do it? From bugtracker at gambaswiki.org Tue Mar 10 00:50:34 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 09 Mar 2020 23:50:34 GMT Subject: [Gambas-bugtracker] Bug #1743: Bug unig WebTabPanel In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1743&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Abandoned. From bugtracker at gambaswiki.org Tue Mar 10 04:06:56 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 10 Mar 2020 03:06:56 GMT Subject: [Gambas-bugtracker] Bug #1748: gb.pdf component Poppler 0.86(.1?) incompatibility In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1748&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed in commit https://gitlab.com/gambas/gambas/-/commit/916b866b69b3849e09dbecdbe90df519bb243eb6. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Tue Mar 10 05:54:35 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 10 Mar 2020 04:54:35 GMT Subject: [Gambas-bugtracker] Bug #1744: Key.Code Alternate in gb.webform2 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1744&from=L21haW4- Comment #2 by Safiur RAHMAN: I am converting a desktop app made in gambas to web app using gambas webform. The key events are to be catched on textbox, buttons and forms. For example while typing numerical values prohibit alphabets, using F1, F2 etc. From bugtracker at gambaswiki.org Tue Mar 10 15:20:06 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 10 Mar 2020 14:20:06 GMT Subject: [Gambas-bugtracker] Bug #1749: String conversion and error catch cause jit to abort Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1749&from=L21haW4- Brian G reported a new bug. Summary ------- String conversion and error catch cause jit to abort Type : Bug Priority : High Gambas version : Master Product : JIT compiler Description ----------- This script #!/usr/bin/gbs3 ' Gambas Script File Created 03/10/2020 14:17:13.518 Fast Public Sub Main() Print "1" + "2" Print "-1" Print -"1" Catch Print Error.txt End causes this output: 3 -1 ** ** OOPS! INTERNAL ERROR. Program aborting, sorry! :-( ** Stack mismatch in JIT function (SP +2) ** ** MMain.Main.13: #11: Unknown symbol 'txt' in class 'Error' ** ** Please send a bug report to the gambas bugtracker [1] or to the gambas mailing-list [2]. ** [1] http://gambaswiki.org/bugtracker ** [2] https://lists.gambas-basic.org/listinfo/user ** System information ------------------ master From bugtracker at gambaswiki.org Tue Mar 10 15:21:07 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 10 Mar 2020 14:21:07 GMT Subject: [Gambas-bugtracker] Bug #1749: String conversion and error catch cause jit to abort In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1749&from=L21haW4- Brian G changed the state of the bug to: Rejected. From bugtracker at gambaswiki.org Tue Mar 10 15:22:01 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 10 Mar 2020 14:22:01 GMT Subject: [Gambas-bugtracker] Bug #1749: String conversion and error catch cause jit to abort In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1749&from=L21haW4- Comment #1 by Brian G: My Error sorry! From bugtracker at gambaswiki.org Tue Mar 10 15:27:48 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 10 Mar 2020 14:27:48 GMT Subject: [Gambas-bugtracker] Bug #1750: The tabstrip class does not focus on its container, instead it focuses its children. Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1750&from=L21haW4- V?ctor PEREZ reported a new bug. Summary ------- The tabstrip class does not focus on its container, instead it focuses its children. Type : Bug Priority : Low Gambas version : Master Product : Development Environment Description ----------- https://www.youtube.com/watch?v=pwBYqTzF0qw System information ------------------ [System] Gambas=3.12.2 OperatingSystem=Linux Kernel=4.4.0-142-generic Architecture=x86 Distribution=Linux Mint 18.1 Serena Desktop=MATE Theme=Gtk Language=es_UY.UTF-8 Memory=1757M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.803.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CLUTTER_BACKEND=x11 COMPIZ_CONFIG_PROFILE=mate DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-GPFWuyZvm4,guid=29576f3a455bdb6b3df5f1465c7c4860 DEFAULTS_PATH=/usr/share/gconf/mate.default.path DESKTOP_SESSION=mate DISPLAY=:0 GB_GUI=gb.qt5 GDMSESSION=mate GDM_XSERVER_LOCATION=local GTK_MODULES=gail:atk-bridge GTK_OVERLAY_SCROLLING=0 HOME= LANG=es_UY.UTF-8 LC_ADDRESS=es_UY.UTF-8 LC_IDENTIFICATION=es_UY.UTF-8 LC_MEASUREMENT=es_UY.UTF-8 LC_MONETARY=es_UY.UTF-8 LC_NAME=es_UY.UTF-8 LC_NUMERIC=es_UY.UTF-8 LC_PAPER=es_UY.UTF-8 LC_TELEPHONE=es_UY.UTF-8 LC_TIME=es_UY.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path MATE_DESKTOP_SESSION_ID=this-is-deprecated MDMSESSION=mate MDM_LANG=es_UY.UTF-8 MDM_XSERVER_LOCATION=local PAPERSIZE=a4 PATH=/bin:/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT_ACCESSIBILITY=1 QT_IM_MODULE=compose QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_STYLE_OVERRIDE=gtk SESSION_MANAGER=local/:@/tmp/.ICE-unix/1217,unix/:/tmp/.ICE-unix/1217 SHELL=/bin/bash SSH_AGENT_PID=1288 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=7 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg XDG_CURRENT_DESKTOP=MATE XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=23e7429435e943319b749149eed39e68-1551648864.200534-1157168256 XDG_SESSION_DESKTOP=mate XDG_SESSION_ID=c1 XDG_VTNR=7 From bugtracker at gambaswiki.org Tue Mar 10 18:04:26 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 10 Mar 2020 17:04:26 GMT Subject: [Gambas-bugtracker] Bug #1751: Editor App "Save As" does nothing Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1751&from=L21haW4- Tom CALLAWAY reported a new bug. Summary ------- Editor App "Save As" does nothing Type : Bug Priority : Medium Gambas version : 3.14 Product : Unknown Description ----------- On Fedora Linux, the "Save As" menu option does nothing in the simple editor. To reproduce: 1. Launch gambas3 2. Click on "Open file" 3. A file chooser opens, select any text file. 4. That file opens in an editor window. 5. From the File drop down menu, select "Save as..." 6. Nothing happens System information ------------------ Fedora Linux (reproduced on 31 and 32). Tested with gambas 3.14.2 and 3.14.3. From bugtracker at gambaswiki.org Tue Mar 10 22:28:27 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 10 Mar 2020 21:28:27 GMT Subject: [Gambas-bugtracker] Bug #1752: Extra Dependencies list is slow and unreliable when Distro-specific Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1752&from=L21haW4- REALITYRIPPLE reported a new bug. Summary ------- Extra Dependencies list is slow and unreliable when Distro-specific Type : Bug Priority : Medium Gambas version : Master Product : Development Environment Description ----------- The list of Extra Dependencies is a mess when the "Same dependencies for all targets" checkbox is unchecked. For example, I have zbar set as a requirement - on Debian and Ubuntu, the package name is "zbar-tools", on every other OS, it's just "zbar". When I choose one distro or another in the dropdown, it often takes a few seconds for the changes to become apparent, even when there are no other extra dependencies in the list. This ends up having troubling effects when trying to add new dependencies to each distro in turn, as you have to pause between each dropdown selection before making any additions or changes to the list, which can be even messier if different distros have the same list, since you can't tell when the change has occurred. The result can be that a target distro can be skipped when updating, or can even be overwritten by a different distro's list. My suggestion is to simply disable the list and all the buttons when things are loading, if the load time is for some reason unavoidable. Side Note: I'm not using any version numbers in these tests. System information ------------------ [System] Gambas=3.14.90 OperatingSystem=Linux Kernel=5.3.0-40-generic Architecture=x86_64 Distribution=Ubuntu 19.10 Desktop=XFCE Theme=Gtk Language=en_US.UTF-8 Memory=3927M [Libraries] Cairo=libcairo.so.2.11600.0 Curl=libcurl.so.4.5.0 DBus=libdbus-1.so.3.19.10 GStreamer=libgstreamer-1.0.so.0.1601.0 GTK+2=libgtk-x11-2.0.so.0.2400.32 GTK+3=libgtk-3.so.0.2404.8 OpenGL=libGL.so.1.7.0 Poppler=libpoppler.so.90.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.12.4 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CLUTTER_BACKEND=x11 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=xubuntu DISPLAY=:0.0 GB_GUI=gb.qt5 GDMSESSION=xubuntu GDM_LANG=en_US GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 GTK_OVERLAY_SCROLLING=0 HOME= LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_ALL=en_US.UTF-8 LOGNAME= PANEL_GDK_CORE_DEVICE_EVENTS=0 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD= QT_LOGGING_RULES=*.debug=false QT_QPA_PLATFORMTHEME=gtk2 SESSION_MANAGER=local/:@/tmp/.ICE-unix/2199,unix/:/tmp/.ICE-unix/2199 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=2299 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XCURSOR_THEME=DMZ (Black) XDG_CONFIG_DIRS=/etc/xdg/xdg-xubuntu:/etc/xdg:/etc/xdg XDG_CURRENT_DESKTOP=XFCE XDG_DATA_DIRS=/usr/share/xubuntu:/usr/share/xfce4:/usr/local/share:/usr/share:/var/lib/snapd/desktop:/usr/share XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=xfce- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=xubuntu XDG_SESSION_ID=c1 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 From bugtracker at gambaswiki.org Wed Mar 11 01:52:12 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 11 Mar 2020 00:52:12 GMT Subject: [Gambas-bugtracker] Bug #1752: Extra Dependencies list is slow and unreliable when Distro-specific In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1752&from=L21haW4- Comment #1 by Beno?t MINISINI: Apparently it's just a refresh problem. Is it fixed for you with commit https://gitlab.com/gambas/gambas/-/commit/39ace33d5ef41e3dff4eff4349d0747826e81905 ? Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Wed Mar 11 01:52:25 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 11 Mar 2020 00:52:25 GMT Subject: [Gambas-bugtracker] Bug #1751: Editor App "Save As" does nothing In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1751&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Wed Mar 11 01:52:42 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 11 Mar 2020 00:52:42 GMT Subject: [Gambas-bugtracker] Bug #1745: prawns hang when dragging form a folder, the tree of the project In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1745&from=L21haW4- Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Wed Mar 11 01:53:40 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 11 Mar 2020 00:53:40 GMT Subject: [Gambas-bugtracker] Bug #1746: Add ability to include Major Version number as part of the package name In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1746&from=L21haW4- Comment #1 by Beno?t MINISINI: In commit https://gitlab.com/gambas/gambas/-/commit/39ace33d5ef41e3dff4eff4349d0747826e81905, I added a new option that adds the project major version number to the package name. Does it fulfill your request? Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Wed Mar 11 01:54:41 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 11 Mar 2020 00:54:41 GMT Subject: [Gambas-bugtracker] Bug #1750: The tabstrip class does not focus on its container, instead it focuses its children. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1750&from=L21haW4- Comment #1 by Beno?t MINISINI: Please update your system information in your account configuration. From bugtracker at gambaswiki.org Wed Mar 11 01:57:34 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 11 Mar 2020 00:57:34 GMT Subject: [Gambas-bugtracker] Bug #1750: The tabstrip class does not focus on its container, instead it focuses its children. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1750&from=L21haW4- Comment #2 by Beno?t MINISINI: Anyway, I don't understand what you are talking about, and I don't see the relation between the youtube video and the issue title. From bugtracker at gambaswiki.org Wed Mar 11 05:30:21 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 11 Mar 2020 04:30:21 GMT Subject: [Gambas-bugtracker] Bug #1752: Extra Dependencies list is slow and unreliable when Distro-specific In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1752&from=L21haW4- Comment #2 by REALITYRIPPLE: Yep, wonderfully smooth! From bugtracker at gambaswiki.org Wed Mar 11 16:19:08 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 11 Mar 2020 15:19:08 GMT Subject: [Gambas-bugtracker] Bug #1746: Add ability to include Major Version number as part of the package name In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1746&from=L21haW4- Comment #2 by Brian G: Yes this looks great, Will do some more testing thank you! Not sure how appropriate for anything but shared libraries. This is really great! Brian G changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Wed Mar 11 16:27:15 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 11 Mar 2020 15:27:15 GMT Subject: [Gambas-bugtracker] Bug #1753: Distribution Directory not project specific, on installation builds Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1753&from=L21haW4- Brian G reported a new bug. Summary ------- Distribution Directory not project specific, on installation builds Type : Bug Priority : Low Gambas version : Master Product : Development Environment Description ----------- Not sure if this is a feature or bug. When creating the installation packages for projects. The distribution directory is the same for all projects This has caught me a few times when I forget to change it for the particular project I am working on. Would it be possible for each project to remember the distribution directory it uses. It has been this way for a long time, so I am not sure if there are reasons for this. Thanks System information ------------------ master From bugtracker at gambaswiki.org Wed Mar 11 20:48:56 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 11 Mar 2020 19:48:56 GMT Subject: [Gambas-bugtracker] Bug #1753: Distribution Directory not project specific, on installation builds In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1753&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Thu Mar 12 00:09:10 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 11 Mar 2020 23:09:10 GMT Subject: [Gambas-bugtracker] Bug #1754: INSTALL.html on Linux contains spam links Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1754&from=L21haW4- Hayden BARNES reported a new bug. Summary ------- INSTALL.html on Linux contains spam links Type : Bug Priority : High Gambas version : Unknown Product : Unknown Description ----------- Selected 'Unknown' product because I did not see a section for documentation. INSTALL.html in the Linux package contains a table of contents with links to 'Instructions for specific distributions' for Ubuntu and Arch. The links for Ubuntu and Arch in that table of contents goes to gambadocs.org which is now a squatted domain that points to spam. These spammy sites have been known to spread malware too. System information ------------------ Ubuntu 20.04 From bugtracker at gambaswiki.org Thu Mar 12 00:42:08 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 11 Mar 2020 23:42:08 GMT Subject: [Gambas-bugtracker] Bug #1754: INSTALL.html on Linux contains spam links In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1754&from=L21haW4- Comment #1 by Beno?t MINISINI: Mmm... Completely forgotten that file. The simpler would be deleting that useless file. Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Thu Mar 12 00:45:44 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 11 Mar 2020 23:45:44 GMT Subject: [Gambas-bugtracker] Bug #1754: INSTALL.html on Linux contains spam links In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1754&from=L21haW4- Comment #2 by Beno?t MINISINI: Deleted in commit https://gitlab.com/gambas/gambas/-/commit/10cfe348acbb0423fb1b3cc46d3d443fdce31764. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Thu Mar 12 00:46:03 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 11 Mar 2020 23:46:03 GMT Subject: [Gambas-bugtracker] Bug #1750: The tabstrip class does not focus on its container, instead it focuses its children. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1750&from=L21haW4- Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Thu Mar 12 01:49:01 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 12 Mar 2020 00:49:01 GMT Subject: [Gambas-bugtracker] Bug #1744: Key.Code Alternate in gb.webform2 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1744&from=L21haW4- Comment #3 by Beno?t MINISINI: It's not possible to do that because the dialog between the browser and the application is asynchronous. If the pressed key is sent by the browser to the application so that an event is raised inside, then the answer will be received in a javascript callback outside of the javascript key press event handler. In other words, you will be able to receive events for pressed key, but you won't be able to cancel them. From bugtracker at gambaswiki.org Thu Mar 12 08:28:05 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 12 Mar 2020 07:28:05 GMT Subject: [Gambas-bugtracker] Bug #1744: Key.Code Alternate in gb.webform2 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1744&from=L21haW4- Comment #4 by Safiur RAHMAN: Receiving events for pressed keys will be fine. Rest I will adjust in application. Do you have plan to add ValueBox control? From bugtracker at gambaswiki.org Thu Mar 12 08:32:34 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 12 Mar 2020 07:32:34 GMT Subject: [Gambas-bugtracker] Bug #1754: INSTALL.html on Linux contains spam links In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1754&from=L21haW4- Comment #3 by C THAL: There are a lot more links like this in gambaswiki.org: https://www.google.com/search?source=q=site%3Agambaswiki.org+gambasdoc C THAL changed the state of the bug to: Opened. From bugtracker at gambaswiki.org Thu Mar 12 08:35:17 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 12 Mar 2020 07:35:17 GMT Subject: [Gambas-bugtracker] Bug #1754: INSTALL.html on Linux contains spam links In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1754&from=L21haW4- Comment #4 by C THAL: Sorry, the link was edited by me, but wrong. This one works: https://www.google.com/search?q=site%3Agambaswiki.org+gambasdoc&oq=site%3Agambaswiki.org+gambasdochttps://www.google.com/search?source=q=site%3Agambaswiki.org+gambasdoc From bugtracker at gambaswiki.org Thu Mar 12 08:40:14 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 12 Mar 2020 07:40:14 GMT Subject: [Gambas-bugtracker] Bug #1754: INSTALL.html on Linux contains spam links In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1754&from=L21haW4- Comment #5 by C THAL: Grmbl. why is Google so complicated? Next try: https://www.google.com/search?q=site:gambaswiki.org+gambasdoc&nfpr=1&sa=X&ved=2ahUKEwiamceAt5ToAhX_QRUIHR9wCfkQvgUoAXoECAsQLw This one finally works ;-) From bugtracker at gambaswiki.org Thu Mar 12 13:12:06 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 12 Mar 2020 12:12:06 GMT Subject: [Gambas-bugtracker] Bug #1754: INSTALL.html on Linux contains spam links In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1754&from=L21haW4- Comment #6 by Beno?t MINISINI: Please open another ticket then. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Thu Mar 12 21:03:11 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 12 Mar 2020 20:03:11 GMT Subject: [Gambas-bugtracker] Bug #1755: Lots of links to spammer website gambasdoc.org in gambaswiki.org Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1755&from=L21haW4- C THAL reported a new bug. Summary ------- Lots of links to spammer website gambasdoc.org in gambaswiki.org Type : Bug Priority : Medium Gambas version : Master Product : Wiki Description ----------- This is what Google finds: https://www.google.com/search?q=site:gambaswiki.org+gambasdoc&nfpr=1&sa=X&ved=2ahUKEwiamceAt5ToAhX_QRUIHR9wCfkQvgUoAXoECAsQLw AFAICS this links could be fixed by replacing the string "http://gambasdoc.org/help/" with "/wiki/" in the wiki data in a bulk modification. System information ------------------ Blub From bugtracker at gambaswiki.org Thu Mar 12 22:50:01 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 12 Mar 2020 21:50:01 GMT Subject: [Gambas-bugtracker] Bug #1755: Lots of links to spammer website gambasdoc.org in gambaswiki.org In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1755&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Fri Mar 13 00:36:41 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 12 Mar 2020 23:36:41 GMT Subject: [Gambas-bugtracker] Bug #1755: Lots of links to spammer website gambasdoc.org in gambaswiki.org In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1755&from=L21haW4- Comment #1 by Beno?t MINISINI: Done. I normally removed all references to gambasdoc.org everywhere. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Fri Mar 13 01:18:21 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 13 Mar 2020 00:18:21 GMT Subject: [Gambas-bugtracker] Bug #1744: Key.Code Alternate in gb.webform2 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1744&from=L21haW4- Comment #5 by Beno?t MINISINI: You have the Change event in the TextBox control, that allows to do something if the TextBox contents is not what you want. Otherwise, yes, I will do a ValueBox. That way I can implement the checks with javascript code. And I will implement KeyPress and KeyRelease events, but later. Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Fri Mar 13 03:36:22 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 13 Mar 2020 02:36:22 GMT Subject: [Gambas-bugtracker] Bug #1756: Extra Dependencies Package List Blocks Underscores Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1756&from=L21haW4- REALITYRIPPLE reported a new bug. Summary ------- Extra Dependencies Package List Blocks Underscores Type : Bug Priority : Medium Gambas version : Master Product : Development Environment Description ----------- Packages that contain underscores can't be added to the Dependencies list, though there are packages with underscores in their names. I don't know what the rules about package names are for each distro, but at the very least, there's a few on openSUSE that have underscores. System information ------------------ Not Applicable From bugtracker at gambaswiki.org Sun Mar 15 22:52:33 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 15 Mar 2020 21:52:33 GMT Subject: [Gambas-bugtracker] Bug #1757: Reading a struct as an object causes serialization error, Writing seems to work Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1757&from=L21haW4- Brian G reported a new bug. Summary ------- Reading a struct as an object causes serialization error, Writing seems to work Type : Bug Priority : Medium Gambas version : Master Product : Development Environment Description ----------- The following code cause a serialization error upon reading the structure from the file. Memory dump shows the data appears to be written correctly. ' Gambas module file Public Struct myStruct a As Integer b As Float c As String End Struct Public Sub Main() Dim Memfile As Pointer Dim TheStruct As New MyStruct TheStruct.c = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" TheStruct.b = 4 TheStruct.a = 4.4 memfile = Alloc(2000) Dim mFile As File mfile = Memory MemFile For Write Write #mFile, TheStruct As Object Close mfile mfile = Memory MemFile For Read TheStruct = Read #mFile As Object Print TheStruct.a Print TheStruct.b Print TheStruct.c Free(memfile) Close mfile End System information ------------------ master From bugtracker at gambaswiki.org Sun Mar 15 22:57:50 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 15 Mar 2020 21:57:50 GMT Subject: [Gambas-bugtracker] Bug #1758: Merge updated scripter Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1758&from=L21haW4- Brian G reported a new bug. Summary ------- Merge updated scripter Type : Request Priority : Medium Gambas version : Master Product : Development Environment Description ----------- Would it be possible to merge the updated scripter with library support soon. After it is accepted I would like to add proper support for structures to the scriptes as a new merge I don't want to do too many things at one time. System information ------------------ master From bugtracker at gambaswiki.org Mon Mar 16 08:48:16 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 16 Mar 2020 07:48:16 GMT Subject: [Gambas-bugtracker] Bug #1759: Select event in menu item Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1759&from=L21haW4- Gloria PALAZZOLO reported a new bug. Summary ------- Select event in menu item Type : Request Priority : Low Gambas version : Unknown Product : Bugtracker Description ----------- When I scroll through the menus (or popup menus) it would be nice to know which menu item I am selecting (not clicking) for example to put on a label a broader description of the functionality of that menu. System information ------------------ [System] Gambas=3.11.4 OperatingSystem=Linux Kernel=3.10.0-957.27.2.el7.x86_64 Architecture=x86_64 Distribution=redhat CentOS Linux release 7.6.1810 (Core) Desktop=MATE Theme=Windows Language=es_ES.UTF-8 Memory=7803M [Libraries] Cairo=libcairo.so.2.11512.0 DBus=libdbus-1.so.3.14.14 GTK+2=libgtk-x11-2.0.so.0.2400.31 OpenGL=libGL.so.1.7.0 [Environment] B_LKPATH=/pgr:. B_MACAD=00:19:5B:6F:59:FE B_MACLO=15 B_MACNA=1 B_MACNU=8 B_MACPC=118 B_MACPW=DFHLLH B_MACSN=2130 B_PATH=/files:. B_TERMTYPE=COHERENT B_YR2000=50 DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-QzvpQP3gX2,guid=d6a35df8f49987b239af415b5e6f1c63 DESKTOP_SESSION=mate DISPLAY=:0 EDITOR=vi GB_GUI=gb.qt4 GDMSESSION=mate GDM_LANG=es_ES.UTF-8 GIO_LAUNCHED_DESKTOP_FILE=/Escritorio/GAMBAS.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=8357 GTK_IM_MODULE=gtk-im-context-simple GTK_OVERLAY_SCROLLING=0 HISTCONTROL=ignoredups HISTSIZE=1000 HOME= HOSTNAME= IMSETTINGS_INTEGRATE_DESKTOP=yes IMSETTINGS_MODULE=none LANG=es_ES.UTF-8 LESSOPEN=||/usr/bin/lesspipe.sh %s LOGNAME= MAIL=/var/spool/mail/ MATE_DESKTOP_SESSION_ID=this-is-deprecated OLDPWD= PATH=/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/pgr:/bin PWD=/files QT_GRAPHICSSYSTEM_CHECKED=1 QT_IM_MODULE=xim SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/4808,unix/unix:/tmp/.ICE-unix/4808 SHELL=/bin/bash SHLVL=1 SSH_AGENT_PID=4971 SSH_AUTH_SOCK=/run/user/1001/keyring/ssh TERM=dumb TTY= TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=1 XAUTHORITY=/run/gdm/auth-for--UMYZf4/database XDG_CURRENT_DESKTOP=MATE XDG_DATA_DIRS=/.local/share/flatpak/exports/share/:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/ XDG_RUNTIME_DIR=/run/user/1001 XDG_SEAT=seat0 XDG_SESSION_DESKTOP=mate XDG_SESSION_ID=1 XDG_SESSION_TYPE=x11 XDG_VTNR=1 XMODIFIERS=@im=none _=/usr/bin/mate-session From bugtracker at gambaswiki.org Mon Mar 16 18:31:54 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 16 Mar 2020 17:31:54 GMT Subject: [Gambas-bugtracker] Bug #1758: Merge updated scripter In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1758&from=L21haW4- Comment #1 by Beno?t MINISINI: The bugtracker is for bug. Please use the mailing-list for development. Anyway, I must look at it again before merging it. Beno?t MINISINI changed the state of the bug to: Invalid. From bugtracker at gambaswiki.org Mon Mar 16 18:33:23 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 16 Mar 2020 17:33:23 GMT Subject: [Gambas-bugtracker] Bug #1756: Extra Dependencies Package List Blocks Underscores In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1756&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Mon Mar 16 18:36:07 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 16 Mar 2020 17:36:07 GMT Subject: [Gambas-bugtracker] Bug #1756: Extra Dependencies Package List Blocks Underscores In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1756&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed in commit https://gitlab.com/gambas/gambas/-/commit/e52fc136d15a8c67ff46aef344c131b89ea8a578. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Tue Mar 17 23:45:21 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Mar 2020 22:45:21 GMT Subject: [Gambas-bugtracker] Bug #1741: .Configure reports everything will be built but make fails for SDL In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1741&from=L21haW4- Comment #2 by Brian G: Here is the output and the config file attached make[4]: Entering directory '/srv/gambas/gambas/gb.sdl/src' CXX gb_sdl_la-SDLapp.lo CXX gb_sdl_la-SDLcore.lo CXX gb_sdl_la-SDLerror.lo CXX gb_sdl_la-SDLdebug.lo CXX gb_sdl_la-SDLgfx.lo CXX gb_sdl_la-SDLfont.lo CXX gb_sdl_la-SDLcursor.lo CXX gb_sdl_la-SDLosrender.lo CXX gb_sdl_la-SDLsurface.lo CXX gb_sdl_la-SDLtexture.lo CXX gb_sdl_la-SDLwindow.lo CXX gb_sdl_la-Cconst.lo CXX gb_sdl_la-Cdesktop.lo CXX gb_sdl_la-Cdraw.lo CXX gb_sdl_la-Cfont.lo CXX gb_sdl_la-Cimage.lo CXX gb_sdl_la-Cjoystick.lo CXX gb_sdl_la-Ckey.lo CXX gb_sdl_la-Cmouse.lo CXX gb_sdl_la-Cwindow.lo CXX gb_sdl_la-main.lo CXXLD gb.sdl.la /usr/bin/ld: cannot find -lGL collect2: error: ld returned 1 exit status Makefile:503: recipe for target 'gb.sdl.la' failed make[4]: *** [gb.sdl.la] Error 1 make[4]: Leaving directory '/srv/gambas/gambas/gb.sdl/src' Makefile:443: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory '/srv/gambas/gambas/gb.sdl' Makefile:375: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/srv/gambas/gambas/gb.sdl' Makefile:437: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/srv/gambas/gambas' Makefile:378: recipe for target 'all' failed make: *** [all] Error 2 Brian G changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Tue Mar 17 23:46:14 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Mar 2020 22:46:14 GMT Subject: [Gambas-bugtracker] Bug #1741: .Configure reports everything will be built but make fails for SDL In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1741&from=L21haW4- Brian G added an attachment: configure. From bugtracker at gambaswiki.org Wed Mar 18 17:45:41 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 18 Mar 2020 16:45:41 GMT Subject: [Gambas-bugtracker] Bug #1760: double quotes must function as parentheses Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1760&from=L21haW4- V?ctor PEREZ reported a new bug. Summary ------- double quotes must function as parentheses Type : Request Priority : Low Gambas version : 3.14 Product : Development Environment Description ----------- double quotes must function as parentheses; if there is a space in front of where we are going to add a double quote, then we add the two double quotes. But if there is any character immediately after where we are going to add the quote, you should not add two double quotes but a double quote. System information ------------------ [System] Gambas=3.12.2 OperatingSystem=Linux Kernel=4.4.0-142-generic Architecture=x86 Distribution=Linux Mint 18.1 Serena Desktop=MATE Theme=Gtk Language=es_UY.UTF-8 Memory=1757M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.803.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CLUTTER_BACKEND=x11 COMPIZ_CONFIG_PROFILE=mate DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-GPFWuyZvm4,guid=29576f3a455bdb6b3df5f1465c7c4860 DEFAULTS_PATH=/usr/share/gconf/mate.default.path DESKTOP_SESSION=mate DISPLAY=:0 GB_GUI=gb.qt5 GDMSESSION=mate GDM_XSERVER_LOCATION=local GTK_MODULES=gail:atk-bridge GTK_OVERLAY_SCROLLING=0 HOME= LANG=es_UY.UTF-8 LC_ADDRESS=es_UY.UTF-8 LC_IDENTIFICATION=es_UY.UTF-8 LC_MEASUREMENT=es_UY.UTF-8 LC_MONETARY=es_UY.UTF-8 LC_NAME=es_UY.UTF-8 LC_NUMERIC=es_UY.UTF-8 LC_PAPER=es_UY.UTF-8 LC_TELEPHONE=es_UY.UTF-8 LC_TIME=es_UY.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path MATE_DESKTOP_SESSION_ID=this-is-deprecated MDMSESSION=mate MDM_LANG=es_UY.UTF-8 MDM_XSERVER_LOCATION=local PAPERSIZE=a4 PATH=/bin:/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT_ACCESSIBILITY=1 QT_IM_MODULE=compose QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_STYLE_OVERRIDE=gtk SESSION_MANAGER=local/:@/tmp/.ICE-unix/1217,unix/:/tmp/.ICE-unix/1217 SHELL=/bin/bash SSH_AGENT_PID=1288 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=7 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg XDG_CURRENT_DESKTOP=MATE XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=23e7429435e943319b749149eed39e68-1551648864.200534-1157168256 XDG_SESSION_DESKTOP=mate XDG_SESSION_ID=c1 XDG_VTNR=7 From bugtracker at gambaswiki.org Thu Mar 19 22:12:24 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 19 Mar 2020 21:12:24 GMT Subject: [Gambas-bugtracker] Bug #1761: is it possible to add to the property tooltip of the classes the component they belong to? Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1761&from=L21haW4- V?ctor PEREZ reported a new bug. Summary ------- is it possible to add to the property tooltip of the classes the component they belong to? Type : Request Priority : Low Gambas version : 3.14 Product : Development Environment Description ----------- is it possible to add to the property tooltip of the classes the component they belong to? It would be the name of the class and component to which it belongs. System information ------------------ [System] Gambas=3.12.2 OperatingSystem=Linux Kernel=4.4.0-142-generic Architecture=x86 Distribution=Linux Mint 18.1 Serena Desktop=MATE Theme=Gtk Language=es_UY.UTF-8 Memory=1757M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.803.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CLUTTER_BACKEND=x11 COMPIZ_CONFIG_PROFILE=mate DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-GPFWuyZvm4,guid=29576f3a455bdb6b3df5f1465c7c4860 DEFAULTS_PATH=/usr/share/gconf/mate.default.path DESKTOP_SESSION=mate DISPLAY=:0 GB_GUI=gb.qt5 GDMSESSION=mate GDM_XSERVER_LOCATION=local GTK_MODULES=gail:atk-bridge GTK_OVERLAY_SCROLLING=0 HOME= LANG=es_UY.UTF-8 LC_ADDRESS=es_UY.UTF-8 LC_IDENTIFICATION=es_UY.UTF-8 LC_MEASUREMENT=es_UY.UTF-8 LC_MONETARY=es_UY.UTF-8 LC_NAME=es_UY.UTF-8 LC_NUMERIC=es_UY.UTF-8 LC_PAPER=es_UY.UTF-8 LC_TELEPHONE=es_UY.UTF-8 LC_TIME=es_UY.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path MATE_DESKTOP_SESSION_ID=this-is-deprecated MDMSESSION=mate MDM_LANG=es_UY.UTF-8 MDM_XSERVER_LOCATION=local PAPERSIZE=a4 PATH=/bin:/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT_ACCESSIBILITY=1 QT_IM_MODULE=compose QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_STYLE_OVERRIDE=gtk SESSION_MANAGER=local/:@/tmp/.ICE-unix/1217,unix/:/tmp/.ICE-unix/1217 SHELL=/bin/bash SSH_AGENT_PID=1288 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=7 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg XDG_CURRENT_DESKTOP=MATE XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=23e7429435e943319b749149eed39e68-1551648864.200534-1157168256 XDG_SESSION_DESKTOP=mate XDG_SESSION_ID=c1 XDG_VTNR=7 From bugtracker at gambaswiki.org Thu Mar 19 22:13:21 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 19 Mar 2020 21:13:21 GMT Subject: [Gambas-bugtracker] Bug #1761: is it possible to add to the property tooltip of the classes the component they belong to? In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1761&from=L21haW4- V?ctor PEREZ added an attachment: barratools55.png From bugtracker at gambaswiki.org Mon Mar 23 18:00:03 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 23 Mar 2020 17:00:03 GMT Subject: [Gambas-bugtracker] Bug #1762: Gambas3 does not support Wayland Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1762&from=L21haW4- Tom CALLAWAY reported a new bug. Summary ------- Gambas3 does not support Wayland Type : Bug Priority : Medium Gambas version : 3.14 Product : Unknown Description ----------- Fedora has had Wayland as its default display server technology for a few releases now (instead of xorg/X11). Since Gambas3's Linux support is coded exclusively to X11, this means that Gambas3 (and any gambas3 native app) crashes almost immediately. Example: $ xt7-player-mpv.gambas QSocketNotifier: Can only be used with threads started with QThread Segmentation fault (core dumped) The backtrace looks like this: Thread no. 1 (6 frames) #0 _XInternAtom at IntAtom.c:76 #1 XInternAtom at IntAtom.c:175 #2 init_atoms at x11.c:129 #3 X11_init at x11.c:352 #4 QT_Init at main.cpp:1134 #5 hook_main at main.cpp:987 There is a tracker bug in Fedora's bugzilla here: https://bugzilla.redhat.com/show_bug.cgi?id=1774215 System information ------------------ This bug affects all Fedora Linux installs using Wayland. While Xorg remains an option, users have to reconfigure their system to use it, and many users assume that something is wrong with Gambas3. From bugtracker at gambaswiki.org Wed Mar 25 06:18:48 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 25 Mar 2020 05:18:48 GMT Subject: [Gambas-bugtracker] Bug #1684: Unable to fill WebcomboBox using List property if its parent form is embedded in other form In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1684&from=L21haW4- Comment #1 by Safiur RAHMAN: This is not a duplicate of Bug 1683. Whereas the bug 1683 has been fixed, this WebCombobox has not been fixed yet in 3.14.3 From bugtracker at gambaswiki.org Wed Mar 25 08:53:08 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 25 Mar 2020 07:53:08 GMT Subject: [Gambas-bugtracker] Bug #1684: Unable to fill WebcomboBox using List property if its parent form is embedded in other form In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1684&from=L21haW4- Comment #2 by Safiur RAHMAN: The webcombo box do load the list, the webtable do load the data but only on some button click event. The combo box doesn't load with list, the webtable doesn't load the data on Form Open event when the form is embedded to another form. From bugtracker at gambaswiki.org Thu Mar 26 21:23:14 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 26 Mar 2020 20:23:14 GMT Subject: [Gambas-bugtracker] Bug #1762: Gambas3 does not support Wayland In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1762&from=L21haW4- Comment #1 by Beno?t MINISINI: On Wayland, Gambas should run through X-Wayland. Isn't it a problem in X-Wayland ? From bugtracker at gambaswiki.org Thu Mar 26 21:25:13 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 26 Mar 2020 20:25:13 GMT Subject: [Gambas-bugtracker] Bug #1762: Gambas3 does not support Wayland In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1762&from=L21haW4- Comment #2 by Tom CALLAWAY: I am admittedly not an expert here, but my understanding is that because you're making X11 specific calls, this goes outside of what X-Wayland is able to support. From bugtracker at gambaswiki.org Thu Mar 26 21:29:24 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 26 Mar 2020 20:29:24 GMT Subject: [Gambas-bugtracker] Bug #1762: Gambas3 does not support Wayland In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1762&from=L21haW4- Comment #3 by Tom CALLAWAY: Hmm. On second reading, that isn't right. I will see what the Xorg/Wayland folks think here. From bugtracker at gambaswiki.org Thu Mar 26 21:44:10 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 26 Mar 2020 20:44:10 GMT Subject: [Gambas-bugtracker] Bug #1762: Gambas3 does not support Wayland In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1762&from=L21haW4- Comment #4 by Beno?t MINISINI: Maybe I use something exotic that X-Wayland does not support, but then I would be unlucky. If you're aware of any documentation about what X-Wayland does not support, just tell me. From bugtracker at gambaswiki.org Fri Mar 27 00:23:53 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 26 Mar 2020 23:23:53 GMT Subject: [Gambas-bugtracker] Bug #1684: Unable to fill WebcomboBox using List property if its parent form is embedded in other form In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1684&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Opened. From bugtracker at gambaswiki.org Fri Mar 27 00:25:38 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 26 Mar 2020 23:25:38 GMT Subject: [Gambas-bugtracker] Bug #1684: Unable to fill WebcomboBox using List property if its parent form is embedded in other form In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1684&from=L21haW4- Comment #3 by Beno?t MINISINI: OK, I see: the 'Open' event is not raised when you embed a form, because then the form because a normal control. You must use the _new() constructor instead. Beno?t MINISINI changed the state of the bug to: Rejected. From bugtracker at gambaswiki.org Fri Mar 27 07:42:11 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 27 Mar 2020 06:42:11 GMT Subject: [Gambas-bugtracker] Bug #1763: Request for HTML Select List in gambas-web-gui Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1763&from=L21haW4- Safiur RAHMAN reported a new bug. Summary ------- Request for HTML Select List in gambas-web-gui Type : Request Priority : Low Gambas version : Master Product : Web components Description ----------- I want to request you for WebListBox (HTML Select List) similar to WebComboBox but with list view because we cannot use WebTable for storing list and getting the selected text. System information ------------------ [System] Gambas=3.14.3 OperatingSystem=Linux Kernel=5.3.0-42-generic Architecture=x86_64 Distribution=Ubuntu 19.10 Desktop=UBUNTU:GNOME Theme=Fusion Language=C.UTF-8 Memory=3817M [Libraries] Cairo=libcairo.so.2.11600.0 Curl=libcurl.so.4.5.0 DBus=libdbus-1.so.3.19.10 GStreamer=libgstreamer-1.0.so.0.1601.0 GTK+2=libgtk-x11-2.0.so.0.2400.32 GTK+3=libgtk-3.so.0.2404.8 OpenGL=libGL.so.1.7.0 Poppler=libpoppler.so.90.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.12.4 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CLUTTER_IM_MODULE=ibus DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION= DISPLAY=:0 GB_GUI=gb.qt5 GDMSESSION= GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=6552 GJS_DEBUG_OUTPUT=stderr GJS_DEBUG_TOPICS=JS ERROR;JS LOG GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_SHELL_SESSION_MODE= GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 GTK_IM_MODULE=ibus GTK_MODULES=gail:atk-bridge:appmenu-gtk-module HOME= IM_CONFIG_PHASE=1 INVOCATION_ID=255219cecb5f4ae8b0ee01655aa8b083 JOURNAL_STREAM=9:40751 LANG=C.UTF-8 LOGNAME= MANAGERPID=1572 PATH=/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD= QT4_IM_MODULE=ibus QT_IM_MODULE=ibus SESSION_MANAGER=local/:@/tmp/.ICE-unix/1780,unix/:/tmp/.ICE-unix/1780 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=1683 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=2 XAUTHORITY=/run/user/1000/gdm/Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-:/etc/xdg XDG_CURRENT_DESKTOP=:GNOME XDG_DATA_DIRS=/usr/share/:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop XDG_MENU_PREFIX=gnome- XDG_RUNTIME_DIR=/run/user/1000 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP= XDG_SESSION_TYPE=x11 XMODIFIERS=@im=ibus _=/usr/bin/dbus-update-activation-environment From bugtracker at gambaswiki.org Fri Mar 27 21:18:20 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 27 Mar 2020 20:18:20 GMT Subject: [Gambas-bugtracker] Bug #1764: Timer continues to tick for new task into method from parent Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1764&from=L21haW4- Brian G reported a new bug. Summary ------- Timer continues to tick for new task into method from parent Type : Bug Priority : High Gambas version : Master Product : Development Environment Description ----------- When a new task is created any timer running in the parent, will continue to run in the context of the new process id calling the parents timer method in the context of the new process. I have attached a project which shows this. Parent code: Public tm As New Timer As "MyTime" Public MyTask As Task Public Sub Main() Print "Hello starting timers and task test" tm.delay = 1000 tm.enabled = True MyTask = New TestTimerTask Wait While True Wait 1 Wend End Public Sub MyTime_Timer() Print "Tick pid="; Application.id End Task Code : Inherits Task Public Sub main() Dim i As Integer While i < 200 Print "task loop id="; Application.id Wait 1.5 Wend End Example Output Hello starting timers and task test task loop id=4236 Tick pid=4236 Tick pid=4235 task loop id=4236 Tick pid=4236 Tick pid=4235 Tick pid=4236 Tick pid=4235 task loop id=4236 Tick pid=4235 System information ------------------ master From bugtracker at gambaswiki.org Sat Mar 28 17:46:18 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 28 Mar 2020 16:46:18 GMT Subject: [Gambas-bugtracker] Bug #1764: Timer continues to tick for new task into method from parent In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1764&from=L21haW4- Comment #1 by Olivier CRUILLES: Hello, I'm very interested by this bug or not issue, because I have used a lot of Task in many project and it was one of my problem to manage. In my case I found a work around using variables to lock Timer execution in Task by check if this the PID of the main process or a task. It work fine but it's a little tricky to put in place. One of my project create more than millions task per day and it work. So for now I don't now if it's really a bug or just an side effect of the fork mechanism used to create a Task. Surely Benoit will answer on that. Olivier Cruilles From bugtracker at gambaswiki.org Sun Mar 29 19:22:43 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 29 Mar 2020 17:22:43 GMT Subject: [Gambas-bugtracker] Bug #1764: Timer continues to tick for new task into method from parent In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1764&from=L21haW4- Comment #2 by Brian G: Found two work arounds if and only if the timer was declared as a global pubic as in the code above. but if the timer is private to a class or module in the parent, then there is in fact no way to directly stop the timer I guess I could add special code to do this, or only use global timers. or check shared variable in the main class to stop the timer executing its unintended operation. For global timers these are useful. add if MyTask.handle = application.id then tm.stop() to the main timer task or in startup of new task's main() add main.tm.stop() which refers to the parent class directly which is called main in this case Both are interesting, but are actually out of the scope of the controlling new task.... Makes things a little confusing would it be possible to dynamically stop the time for the forked task or allow the task to define the timer and _timer function again and allow access to the time and function directly? or not, just add some documentation to timer class and task class describing how to handle timers in tasks From bugtracker at gambaswiki.org Sun Mar 29 19:36:07 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 29 Mar 2020 17:36:07 GMT Subject: [Gambas-bugtracker] Bug #1764: Timer continues to tick for new task into method from parent In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1764&from=L21haW4- Comment #3 by Beno?t MINISINI: As Olivier said, the task are run by the fork() system call. So running a task inherits every object existing at the moment it starts: open file descriptors, and especially the running timers. Should we stop the running timers when a task starts? It would be an exception with the fact that everything is inherited, and I don't like exceptions. And maybe someone will find a case where that is useful. So I suggest adding a Timer.StopAll() static method or something similar, so that you can stop all the running timers in one line of code if needed. What do you think? From bugtracker at gambaswiki.org Sun Mar 29 19:36:13 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 29 Mar 2020 17:36:13 GMT Subject: [Gambas-bugtracker] Bug #1764: Timer continues to tick for new task into method from parent In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1764&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Sun Mar 29 20:47:19 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 29 Mar 2020 18:47:19 GMT Subject: [Gambas-bugtracker] Bug #1764: Timer continues to tick for new task into method from parent In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1764&from=L21haW4- Comment #4 by Brian G: That sounds like a good solution to me. That is if it only stops the timers for the new task. When the call is in the first few lines in the main() of the new task. Not perfect as a tick could happen before the new task has a chance to stop it. But the event handler will not be dispatch in the first few instructions of the new task I guess. From bugtracker at gambaswiki.org Sun Mar 29 20:48:20 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 29 Mar 2020 18:48:20 GMT Subject: [Gambas-bugtracker] Bug #1764: Timer continues to tick for new task into method from parent In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1764&from=L21haW4- Comment #5 by Brian G: I wonder what Oliver thinks From bugtracker at gambaswiki.org Sun Mar 29 20:58:31 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 29 Mar 2020 18:58:31 GMT Subject: [Gambas-bugtracker] Bug #1764: Timer continues to tick for new task into method from parent In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1764&from=L21haW4- Comment #6 by Beno?t MINISINI: Anyway it's more complex than I thought first... From bugtracker at gambaswiki.org Sun Mar 29 21:02:54 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 29 Mar 2020 19:02:54 GMT Subject: [Gambas-bugtracker] Bug #1764: Timer continues to tick for new task into method from parent In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1764&from=L21haW4- Comment #7 by Olivier CRUILLES: Hello, I think the feature to stop all Timer in the task in one shot as Benoit propose seems to be a good thing. So that way we could stop all Timer (mainly dedicated to work in the parent Process and not in the task) at the beginning of the Main SUB of the Task. After that we could write exactly what we want in the Task. For sure the feature need to only stop the Timer already defined and not new Timer that could be defined specialy in the Task because I use Timer in my Tasks. Olivier From bugtracker at gambaswiki.org Sun Mar 29 23:29:27 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 29 Mar 2020 21:29:27 GMT Subject: [Gambas-bugtracker] Bug #1764: Timer continues to tick for new task into method from parent In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1764&from=L21haW4- Comment #8 by Brian G: How do you create the timer? Are you Using Timer_create ...... Is it possible to set the thread pid for the sigalrm so it is only sent to the requesting(originating) task? From bugtracker at gambaswiki.org Mon Mar 30 14:04:14 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 30 Mar 2020 12:04:14 GMT Subject: [Gambas-bugtracker] Bug #1764: Timer continues to tick for new task into method from parent In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1764&from=L21haW4- Comment #9 by Olivier CRUILLES: I'm not sure you talk to me. Timer_create does not exist as I can see in the help so could you explain more please. From bugtracker at gambaswiki.org Tue Mar 31 15:23:12 2020 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 31 Mar 2020 13:23:12 GMT Subject: [Gambas-bugtracker] Bug #1764: Timer continues to tick for new task into method from parent In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1764&from=L21haW4- Comment #10 by Brian G: No My question is for Beno?t. Regarding method used in c,c++ to provide the timer object.