From bugtracker at gambaswiki.org Sun Dec 1 16:33:29 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 01 Dec 2019 15:33:29 GMT Subject: [Gambas-bugtracker] Bug #1664: Error with gb.scanner with Brother DCPL2550DW scanner In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1664&from=L21haW4- Comment #5 by Fabien BODARD: Sorry for the delay, but I was recovering from a serious accident. Thank you for taking the time to look at the component code. However, commenting on a line is not the answer. By cons the fact that you brought me the output of scanimage is very useful to find where my parser kidding. From bugtracker at gambaswiki.org Sun Dec 1 18:37:44 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 01 Dec 2019 17:37:44 GMT Subject: [Gambas-bugtracker] Bug #1664: Error with gb.scanner with Brother DCPL2550DW scanner In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1664&from=L21haW4- Comment #6 by Fabien BODARD: Normally this is fixed in the commit: 19b6d484 Tell me if other problems appear. From bugtracker at gambaswiki.org Tue Dec 3 18:05:47 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 03 Dec 2019 17:05:47 GMT Subject: [Gambas-bugtracker] Bug #1691: QT toolkits printer generated pdf are really weird Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1691&from=L21haW4- Fabien BODARD reported a new bug. Summary ------- QT toolkits printer generated pdf are really weird Type : Bug Priority : High Gambas version : Master Product : GUI components Description ----------- If you set the name in Printer.OutputFile with an extention it have not the same size as if it have not. QT5 : With: 482 ko Without: 59,5 ko QT4.... ARRRRRGH With : 9.3 MO Without : 9.3 MO GTK2 With : 36.7 ko Without : 36.7 ko GTK3 With : 36,7 ko Without : 36.7 ko The winner is GTK !! QT5 is not so bad but only without extention For the same generation simplescan make a file of : 150 ko but i'm not sur it use perfectly the same pictures. Well at less QT4 is in a bad moon, and QT5 do strange things. I join the testdemo source archive. System information ------------------ [System] Gambas=3.14.90 8f3536238 (master) OperatingSystem=Linux Kernel=5.3.0-23-generic Architecture=x86_64 Distribution=Ubuntu 19.10 Desktop=KDE5 Theme=Breeze Language=fr_FR.UTF-8 Memory=7847M [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] APPMENU_DISPLAY_BOTH=1 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=plasma DISPLAY=:0 GB_GUI=gb.qt5 GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 GS_LIB=/.fonts HOME= KDE_FULL_SESSION=true KDE_SESSION_UID=1000 KDE_SESSION_VERSION=5 LANG=fr_FR.UTF-8 LANGUAGE=fr_FR.UTF-8 LOGNAME= PAM_KWALLET5_LOGIN=/run/user/1000/kwallet5.socket PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD= QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_LOGGING_RULES=*.debug=false SESSION_MANAGER=local/:@/tmp/.ICE-unix/1610,unix/:/tmp/.ICE-unix/1610 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=1524 SSH_AUTH_SOCK=/tmp/ssh-lBsHtkbsHy3J/agent.1482 TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XCURSOR_THEME=breeze_cursors XDG_CONFIG_DIRS=/etc/xdg/xdg-plasma:/etc/xdg:/usr/share/kubuntu-default-settings/kf5-settings XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/usr/share/plasma:/usr/local/share:/usr/share:/var/lib/snapd/desktop XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=KDE XDG_SESSION_ID=3 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 XDG_SESSION_TYPE=x11 XDG_VTNR=1 From bugtracker at gambaswiki.org Tue Dec 3 18:08:35 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 03 Dec 2019 17:08:35 GMT Subject: [Gambas-bugtracker] Bug #1233: Scanner.Class error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1233&from=L21haW4- Comment #1 by Fabien BODARD: Done. Fabien BODARD changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Tue Dec 3 18:10:19 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 03 Dec 2019 17:10:19 GMT Subject: [Gambas-bugtracker] Bug #1664: Error with gb.scanner with Brother DCPL2550DW scanner In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1664&from=L21haW4- Comment #7 by Fabien BODARD: Fixed ! Fabien BODARD changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Tue Dec 3 18:11:09 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 03 Dec 2019 17:11:09 GMT Subject: [Gambas-bugtracker] Bug #1354: gb.Chart Legend Colors In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1354&from=L21haW4- Comment #2 by Fabien BODARD: Working on a new component to replace the old one Fabien BODARD changed the state of the bug to: Abandoned. From bugtracker at gambaswiki.org Tue Dec 3 18:12:36 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 03 Dec 2019 17:12:36 GMT Subject: [Gambas-bugtracker] Bug #1515: gb.report2 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1515&from=L21haW4- Comment #7 by Fabien BODARD: No news... Fabien BODARD changed the state of the bug to: Abandoned. From bugtracker at gambaswiki.org Tue Dec 3 18:13:18 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 03 Dec 2019 17:13:18 GMT Subject: [Gambas-bugtracker] Bug #1158: The gb.chart Chart class "Proportionnal" property is misspellt In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1158&from=L21haW4- Comment #3 by Fabien BODARD: Currently rewriting the component... Fabien BODARD changed the state of the bug to: Abandoned. From bugtracker at gambaswiki.org Tue Dec 3 20:33:03 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 03 Dec 2019 19:33:03 GMT Subject: [Gambas-bugtracker] Bug #1691: QT toolkits printer generated pdf are really weird In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1691&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Upstream. From bugtracker at gambaswiki.org Tue Dec 3 20:33:22 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 03 Dec 2019 19:33:22 GMT Subject: [Gambas-bugtracker] Bug #1691: QT toolkits printer generated pdf are really weird In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1691&from=L21haW4- Comment #1 by Beno?t MINISINI: 9.3 Mo -> The image is stored in the PDF uncompressed. 482 Ko -> The image is stored as a JPEG. 59.5 Ko / 36.7 Ko -> The image is stored as a PNG (which is smaller because the image is black & white). Anyway, this is a weird bug in Qt5. From bugtracker at gambaswiki.org Tue Dec 3 21:06:49 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 03 Dec 2019 20:06:49 GMT Subject: [Gambas-bugtracker] Bug #1691: QT toolkits printer generated pdf are really weird In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1691&from=L21haW4- Comment #2 by Fabien BODARD: Is it a way to make all the ToolKit working the same way ? From bugtracker at gambaswiki.org Sat Dec 7 03:41:56 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 07 Dec 2019 02:41:56 GMT Subject: [Gambas-bugtracker] Bug #1692: Unable to compile gb.scanner Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1692&from=L21haW4- vuott VUOTT reported a new bug. Summary ------- Unable to compile gb.scanner Type : Bug Priority : Medium Gambas version : Master Product : Unknown Description ----------- Hello, updating with 038d9d63, at end of "make install" I obtain this warning: Unable to compile gb.scanner I found an error here: Compiling gb.scanner... gbc3: error: Component not found: gb.form.print System information ------------------ [System] Gambas=3.14.90 038d9d6 (master) OperatingSystem=Linux Kernel=5.3.0-24-generic Architecture=x86_64 Distribution=Linux Mint 19.2 Tina Desktop=CINNAMON Theme=Qt5CTProxy Language=it_IT.UTF-8 Memory=5383M [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] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path DESKTOP_SESSION=cinnamon DISPLAY=:0 GB_GUI=gb.qt5 GDMSESSION=cinnamon GDM_LANG=it GNOME_DESKTOP_SESSION_ID=this-is-deprecated GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 GTK_MODULES=gail:atk-bridge GTK_OVERLAY_SCROLLING=1 HOME= INSIDE_NEMO_PYTHON= LANG=it_IT.UTF-8 LANGUAGE=it_IT.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path PATH=/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT_ACCESSIBILITY=1 QT_LOGGING_RULES=*.debug=false QT_QPA_PLATFORMTHEME=qt5ct SESSION_MANAGER=local/:@/tmp/.ICE-unix/927,unix/:/tmp/.ICE-unix/927 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=993 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg XDG_CURRENT_DESKTOP=X-Cinnamon XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=cinnamon XDG_SESSION_ID=c1 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 From bugtracker at gambaswiki.org Sat Dec 7 16:05:29 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 07 Dec 2019 15:05:29 GMT Subject: [Gambas-bugtracker] Bug #1693: Some weird locations for some parameters in IDE options Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1693&from=L21haW4- Fabien BODARD reported a new bug. Summary ------- Some weird locations for some parameters in IDE options Type : Request Priority : Medium Gambas version : Master Product : Development Environment Description ----------- I think some properties for editor are not in the good panel in the Option Dialog. see attached image. System information ------------------ [System] Gambas=3.12.90 2a8ebf365 (master) OperatingSystem=Linux Kernel=4.14.94-1-MANJARO Architecture=x86_64 Distribution=Manjaro Linux Desktop=KDE5 Theme=Breeze Language=fr_FR.UTF-8 Memory=7866M [Libraries] Cairo=libcairo.so.2.11600.0 Curl=libcurl.so.4.0.0 Curl=libcurl.so.4.1.0 Curl=libcurl.so.4.2.0 Curl=libcurl.so.4.3.0 Curl=libcurl.so.4.4.0 Curl=libcurl.so.4.5.0 DBus=libdbus-1.so.3.19.9 GStreamer=libgstreamer-1.0.so.0.1404.0 GTK+2=libgtk-x11-2.0.so.0.2400.32 GTK+3=libgtk-3.so.0.2403.0 OpenGL=libGL.so.1.7.0 Poppler=libpoppler.so.83.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.12.0 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] APPMENU_DISPLAY_BOTH=1 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=/usr/share/xsessions/plasma DISPLAY=:0 GB_GUI=gb.qt5 GS_LIB=/.fonts GTK_MODULES=canberra-gtk-module HOME= KDE_FULL_SESSION=true KDE_SESSION_UID=1000 KDE_SESSION_VERSION=5 LANG=fr_FR.UTF-8 LANGUAGE=fr_FR.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 LOGNAME= MAIL=/var/spool/mail/ MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins PAM_KWALLET5_LOGIN=/run/user/1000/kwallet5.socket PATH=/bin:/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl PWD= QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 SESSION_MANAGER=local/:@/tmp/.ICE-unix/1087,unix/:/tmp/.ICE-unix/1087 SHELL=/bin/bash SHLVL=1 TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XCURSOR_THEME=breeze_cursors XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=KDE XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session3 XDG_SESSION_TYPE=x11 XDG_VTNR=1 _=/bin/kwrapper5 From bugtracker at gambaswiki.org Sat Dec 7 20:24:41 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 07 Dec 2019 19:24:41 GMT Subject: [Gambas-bugtracker] Bug #1692: Unable to compile gb.scanner In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1692&from=L21haW4- vuott VUOTT changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Mon Dec 9 05:02:48 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 09 Dec 2019 04:02:48 GMT Subject: [Gambas-bugtracker] Bug #1675: Switching or adding components crashes IDE In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1675&from=L21haW4- Comment #2 by James COOK: The original program was LightTable from the examples. Also a simple program made with an older version of Gambas written with QT4. Other people that I know on Gambas One have had the same problem. The only solution I found was to create a QT5 program and copy and paste the code to it. I think the problem stems from the missing QT4 utilities which I think are missing. When trying to load the program it say there are missing libraries for QT4. I am using Gambas 2.14.2 now which has the same problem and 3.14.1 did. James COOK changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Tue Dec 10 17:09:49 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 10 Dec 2019 16:09:49 GMT Subject: [Gambas-bugtracker] Bug #1694: Gambas Wiki Logout Impossible Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1694&from=L21haW4- Gianluigi GRADASCHI reported a new bug. Summary ------- Gambas Wiki Logout Impossible Type : Bug Priority : Medium Gambas version : Master Product : Language Description ----------- I can't logout from the Gambas wiki System information ------------------ [System] Gambas=3.14.90 5e907c6 (master) OperatingSystem=Linux Kernel=4.15.0-72-generic Architecture=x86_64 Distribution=Ubuntu 18.04.3 LTS Desktop=UBUNTU:GNOME Theme=Fusion Language=it_IT.UTF-8 Memory=15969M [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=/home//.local/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=22755 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=it_IT.UTF-8 LC_ADDRESS=it_IT.UTF-8 LC_IDENTIFICATION=it_IT.UTF-8 LC_MEASUREMENT=it_IT.UTF-8 LC_MONETARY=it_IT.UTF-8 LC_NAME=it_IT.UTF-8 LC_NUMERIC=it_IT.UTF-8 LC_PAPER=it_IT.UTF-8 LC_TELEPHONE=it_IT.UTF-8 LC_TIME=it_IT.UTF-8 LOGNAME= PAPERSIZE=a4 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD=/home/ QT4_IM_MODULE=xim QT_ACCESSIBILITY=1 QT_IM_MODULE=ibus QT_LOGGING_RULES=*.debug=false SESSION_MANAGER=local/:@/tmp/.ICE-unix/1271,unix/:/tmp/.ICE-unix/1271 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=1387 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=1 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=1 XDG_SESSION_TYPE=x11 XDG_VTNR=1 XMODIFIERS=@im=ibus From bugtracker at gambaswiki.org Wed Dec 11 01:14:55 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 11 Dec 2019 00:14:55 GMT Subject: [Gambas-bugtracker] Bug #1694: Gambas Wiki Logout Impossible In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1694&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Wed Dec 11 01:41:08 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 11 Dec 2019 00:41:08 GMT Subject: [Gambas-bugtracker] Bug #1675: Switching or adding components crashes IDE In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1675&from=L21haW4- Comment #3 by Beno?t MINISINI: Please provide the project you are talking about, I can't reproduce what you are talking about. Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Sat Dec 14 09:49:37 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 14 Dec 2019 08:49:37 GMT Subject: [Gambas-bugtracker] Bug #1695: textedit box steals text destined for textbox populated by timer tick Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1695&from=L21haW4- Brian G reported a new bug. Summary ------- textedit box steals text destined for textbox populated by timer tick Type : Bug Priority : High Gambas version : 3.14 Product : GUI components Description ----------- When a timer is used in the main form to populate information into textboxes. and a second form is then opened from the main forms menu. and the second form has a texteditor when you press a key to type into the textedit box, the content from one of the textboxes will be stolen and then included after the keystroke into the textedit box Kind of strange thing to happen. I am including a sample app. I am doing some control software which polls and displays information into text boxes, I have a script editor page to control the real time process. I can not type...... lol System information ------------------ [System] Gambas=3.14.2 OperatingSystem=Linux Kernel=5.3.0-24-generic Architecture=x86_64 Distribution=Linux Mint 19.2 Tina Desktop=MATE Theme=Qt5CTProxy Language=en_US.UTF-8 Memory=7340M [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 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=en_US GIO_LAUNCHED_DESKTOP_FILE=/Desktop/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=25326 GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 GTK_MODULES=gail:atk-bridge GTK_OVERLAY_SCROLLING=0 HOME= INSIDE_CAJA_PYTHON= LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path MATE_DESKTOP_SESSION_ID=this-is-deprecated PATH=/.local/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT_ACCESSIBILITY=1 QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_QPA_PLATFORMTHEME=qt5ct QT_SCALE_FACTOR=1 SESSION_MANAGER=local/:@/tmp/.ICE-unix/3462,unix/:/tmp/.ICE-unix/3462 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=3800 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh 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 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=c6 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session2 XDG_SESSION_TYPE=x11 XDG_VTNR=7 From bugtracker at gambaswiki.org Sun Dec 15 07:03:27 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 15 Dec 2019 06:03:27 GMT Subject: [Gambas-bugtracker] Bug #1696: Write of a string[] to a MEMORY FILE only save or reads first element, lof() always returns zero on memory file Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1696&from=L21haW4- Brian G reported a new bug. Summary ------- Write of a string[] to a MEMORY FILE only save or reads first element, lof() always returns zero on memory file Type : Bug Priority : High Gambas version : 3.14 Product : GUI components Description ----------- Two issues around memory files A write of a string array only seems to save the first element, the same number of elements are returned but all elements after the first are empty strings LOF() on a memory file always returns 0 although Seek() returns the next position working. I have included a test file, in development. If I can help fix the problem? System information ------------------ [System] Gambas=3.14.2 OperatingSystem=Linux Kernel=5.3.0-24-generic Architecture=x86_64 Distribution=Linux Mint 19.2 Tina Desktop=MATE Theme=Qt5CTProxy Language=en_US.UTF-8 Memory=7340M [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 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=en_US GIO_LAUNCHED_DESKTOP_FILE=/Desktop/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=25326 GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 GTK_MODULES=gail:atk-bridge GTK_OVERLAY_SCROLLING=0 HOME= INSIDE_CAJA_PYTHON= LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path MATE_DESKTOP_SESSION_ID=this-is-deprecated PATH=/.local/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT_ACCESSIBILITY=1 QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_QPA_PLATFORMTHEME=qt5ct QT_SCALE_FACTOR=1 SESSION_MANAGER=local/:@/tmp/.ICE-unix/3462,unix/:/tmp/.ICE-unix/3462 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=3800 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh 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 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=c6 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session2 XDG_SESSION_TYPE=x11 XDG_VTNR=7 From bugtracker at gambaswiki.org Sun Dec 15 09:12:20 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 15 Dec 2019 08:12:20 GMT Subject: [Gambas-bugtracker] Bug #1696: Write of a string[] to a MEMORY FILE only save or reads first element, lof() always returns zero on memory file In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1696&from=L21haW4- Comment #1 by Beno?t MINISINI: Of course, your computation of binary storage length is false. Object.SizeOf() on any array will return 40 on a 64 bits system, the contents of the array being stored somewhere else. If you want to write anything, you have to rely on serialization only (READ and WRITE), not on your own guesses. From bugtracker at gambaswiki.org Mon Dec 16 00:43:16 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 15 Dec 2019 23:43:16 GMT Subject: [Gambas-bugtracker] Bug #1697: Bad syntax with loop causes compiler to segfault..... Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1697&from=L21haW4- Brian G reported a new bug. Summary ------- Bad syntax with loop causes compiler to segfault..... Type : Bug Priority : Medium Gambas version : 3.14 Product : GUI components Description ----------- This bad syntax causes the compiler to complain about a missing file then segfault Public Sub Main() Dim i As Integer = 0 Loop ' should be do...loop until but does not catch the bad syntax Inc i Print "Hello world" Until i > 20 End This happened because I am Dumb, but perhaps it should be fixed! System information ------------------ [System] Gambas=3.14.2 OperatingSystem=Linux Kernel=5.3.0-24-generic Architecture=x86_64 Distribution=Linux Mint 19.2 Tina Desktop=MATE Theme=Qt5CTProxy Language=en_US.UTF-8 Memory=7340M [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] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-Bq6hlmj8gk,guid=6fb218c37fc0ac4fcd28f2e65df6c205 DISPLAY=:50 GB_GUI=gb.qt5 GIO_LAUNCHED_DESKTOP_FILE=/Desktop/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=13713 GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 GTK_MODULES=gail:atk-bridge GTK_OVERLAY_SCROLLING=0 HOME= INSIDE_CAJA_PYTHON= LANG=en_US.UTF-8 LD_LIBRARY_PATH= LOGNAME= MAIL=/var/mail/ MATE_DESKTOP_SESSION_ID=this-is-deprecated PATH=/.local/bin:/bin:/.local/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PULSE_CLIENTCONFIG=/.x2go/C--50-1576452607_stDMATE_dp24/.pulse-client.conf PWD= QT_ACCESSIBILITY=1 QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_GRAPHICSSYSTEM=native QT_QPA_PLATFORMTHEME=qt5ct QT_SCALE_FACTOR=1 SESSION_MANAGER=local/:@/tmp/.ICE-unix/10632,unix/:/tmp/.ICE-unix/10632 SHELL=/bin/bash SHLVL=3 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh SSH_CLIENT=73.48.159.94 44096 2727 SSH_CONNECTION=73.48.159.94 44096 192.168.1.8 2727 STARTUP=/usr/bin/im-launch /usr/bin/env LD_LIBRARY_PATH= mate-session TERM=dumb TZ=:/etc/localtime USER= X2GO_AGENT_PID=10368 X2GO_SESSION=-50-1576452607_stDMATE_dp24 XAUTHORITY=/.Xauthority 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/1000 XDG_SESSION_ID=213 XSESSION_EXEC=mate-session From bugtracker at gambaswiki.org Mon Dec 16 10:20:40 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 16 Dec 2019 09:20:40 GMT Subject: [Gambas-bugtracker] Bug #1696: Write of a string[] to a MEMORY FILE only save or reads first element, lof() always returns zero on memory file In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1696&from=L21haW4- Comment #2 by Brian G: Yes I know my calculation is false, but i need to guestimate the size as there is no way of know how long the storage required is before you write. there is no serialize function on an object which returns a size without writing first... catch 22 Anyway, the error in the reading of arraysof strings or any string from a memory file, is that the reader stops at the null terminating the string, and never reads past it for string arrays and puts everything off for other structures. The read position never increments past the null byte when trying to read strings from memory file. The work around, is to read every string individually then read a byte for the 0 terminator, repeat. I hope its easy to fix. Any Ideas on how to do a serialize without actually writing the data? thanks From bugtracker at gambaswiki.org Mon Dec 16 11:55:20 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 16 Dec 2019 10:55:20 GMT Subject: [Gambas-bugtracker] Bug #1696: Write of a string[] to a MEMORY FILE only save or reads first element, lof() always returns zero on memory file In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1696&from=L21haW4- Comment #3 by Brian G: Could you possibly add a serialize , along with the usual for read write create etc so we could do xx = memory mypointer for serialize ' this does no actual output and ignores the pointer value WRITE #xx, object len = lof(xx) or so This would be a great help for many things! From bugtracker at gambaswiki.org Mon Dec 16 13:22:04 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 16 Dec 2019 12:22:04 GMT Subject: [Gambas-bugtracker] Bug #1696: Write of a string[] to a MEMORY FILE only save or reads first element, lof() always returns zero on memory file In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1696&from=L21haW4- Comment #4 by Beno?t MINISINI: To know how many bytes were written, you can do : hFile = OPEN MEMORY mypointer FOR WRITE WRITE #hFile, ... len = Seek(hFile) If you want the normal serialization process (no null byte <=> end of string), you should serialize to a string. From bugtracker at gambaswiki.org Mon Dec 16 13:27:32 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 16 Dec 2019 12:27:32 GMT Subject: [Gambas-bugtracker] Bug #1696: Write of a string[] to a MEMORY FILE only save or reads first element, lof() always returns zero on memory file In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1696&from=L21haW4- Comment #5 by Beno?t MINISINI: Ah OK, I understand the bug now: READ forgot to skip the null byte at the end of the string when reading a memory stream. I fix that... Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Mon Dec 16 13:33:59 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 16 Dec 2019 12:33:59 GMT Subject: [Gambas-bugtracker] Bug #1696: Write of a string[] to a MEMORY FILE only save or reads first element, lof() always returns zero on memory file In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1696&from=L21haW4- Comment #6 by Beno?t MINISINI: Fixed in commit https://gitlab.com/gambas/gambas/commit/b8ca134643f42a3a26d03fa3930a2b1499de9b8e. From bugtracker at gambaswiki.org Mon Dec 16 13:34:11 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 16 Dec 2019 12:34:11 GMT Subject: [Gambas-bugtracker] Bug #1696: Write of a string[] to a MEMORY FILE only save or reads first element, lof() always returns zero on memory file In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1696&from=L21haW4- Comment #7 by Beno?t MINISINI: Can you confirm? Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Mon Dec 16 19:59:29 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 16 Dec 2019 18:59:29 GMT Subject: [Gambas-bugtracker] Bug #1696: Write of a string[] to a MEMORY FILE only save or reads first element, lof() always returns zero on memory file In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1696&from=L21haW4- Comment #8 by Brian G: I will download and build to confirm. I understand how to serialize to memory memory, I am doing that. The issue is that I need to know how much shared memory to allocate before i serialize to it. So am really unable to do as you suggested. that is why adding a serialize keyword to the open memory or memory that causes no real output only the count of byte to write. would be useful as I could do seek(mFile) and get size of memory to allocate and then do the real write to memory for example. mypointer = null Mfile = MEMORY #mypointer for serialize write #mFile, "asdasdasdsadsad" as string mLength = seek(mFile) close mFile mypointer = mmap(null,mLength,0,1) mFile = MEMORY #mypointer for write write "asdasdasdsadsad" as string close mFile Would adding that key word be possible? Brian G changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Mon Dec 16 20:02:35 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 16 Dec 2019 19:02:35 GMT Subject: [Gambas-bugtracker] Bug #1696: Write of a string[] to a MEMORY FILE only save or reads first element, lof() always returns zero on memory file In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1696&from=L21haW4- Comment #9 by Brian G: Of Course best would be mLen = Serialize(x) ' where x is anything that can be written to a file From bugtracker at gambaswiki.org Mon Dec 16 22:16:21 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 16 Dec 2019 21:16:21 GMT Subject: [Gambas-bugtracker] Bug #1698: Errors while building gmp component Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1698&from=L21haW4- Brian G reported a new bug. Summary ------- Errors while building gmp component Type : Bug Priority : Medium Gambas version : 3.14 Product : Development Environment Description ----------- this is the result of the build for gmp, Is there something I am doing wrong, I have had the same problem for last two releases In file included from /usr/include/boost/container/detail/std_fwd.hpp:26, from /usr/include/boost/container/container_fwd.hpp:61, from /usr/include/boost/container/allocator_traits.hpp:31, from /usr/include/boost/container/flat_map.hpp:24, from /usr/include/CGAL/config.h:123, from /usr/include/CGAL/gmp.h:22, from main.h:31, from main.c:28: /usr/include/boost/container/detail/std_fwd.hpp:27:1: error: unknown type name ?namespace?; did you mean ?isspace?? BOOST_MOVE_STD_NS_BEG ^~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/container/detail/std_fwd.hpp:27:1: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?{? token BOOST_MOVE_STD_NS_BEG ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/boost/container/allocator_traits.hpp:31, from /usr/include/boost/container/flat_map.hpp:24, from /usr/include/CGAL/config.h:123, from /usr/include/CGAL/gmp.h:22, from main.h:31, from main.c:28: /usr/include/boost/container/container_fwd.hpp:64:1: error: unknown type name ?namespace?; did you mean ?isspace?? namespace boost{ ^~~~~~~~~ isspace /usr/include/boost/container/container_fwd.hpp:64:16: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?{? token namespace boost{ ^ /usr/include/boost/container/container_fwd.hpp:70:1: error: unknown type name ?namespace?; did you mean ?isspace?? namespace boost{ namespace container{ namespace container_detail{ ^~~~~~~~~ isspace /usr/include/boost/container/container_fwd.hpp:70:16: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?{? token namespace boost{ namespace container{ namespace container_detail{ ^ /usr/include/boost/container/container_fwd.hpp:75:1: error: unknown type name ?namespace?; did you mean ?isspace?? namespace boost{ namespace container{ namespace pmr{ ^~~~~~~~~ isspace /usr/include/boost/container/container_fwd.hpp:75:16: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?{? token namespace boost{ namespace container{ namespace pmr{ ^ /usr/include/boost/container/container_fwd.hpp:80:10: fatal error: cstddef: No such file or directory #include ^~~~~~~~~ System information ------------------ [System] Gambas=3.14.2 OperatingSystem=Linux Kernel=5.3.0-24-generic Architecture=x86_64 Distribution=Linux Mint 19.2 Tina Desktop=MATE Theme=Qt5CTProxy Language=en_US.UTF-8 Memory=7340M [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] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-Bq6hlmj8gk,guid=6fb218c37fc0ac4fcd28f2e65df6c205 DISPLAY=:50 GB_GUI=gb.qt5 GIO_LAUNCHED_DESKTOP_FILE=/Desktop/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=12230 GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 GTK_MODULES=gail:atk-bridge GTK_OVERLAY_SCROLLING=0 HOME= INSIDE_CAJA_PYTHON= LANG=en_US.UTF-8 LD_LIBRARY_PATH= LOGNAME= MAIL=/var/mail/ MATE_DESKTOP_SESSION_ID=this-is-deprecated PATH=/.local/bin:/bin:/.local/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PULSE_CLIENTCONFIG=/.x2go/C--50-1576452607_stDMATE_dp24/.pulse-client.conf PWD= QT_ACCESSIBILITY=1 QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_GRAPHICSSYSTEM=native QT_QPA_PLATFORMTHEME=qt5ct QT_SCALE_FACTOR=1 SESSION_MANAGER=local/:@/tmp/.ICE-unix/10632,unix/:/tmp/.ICE-unix/10632 SHELL=/bin/bash SHLVL=3 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh SSH_CLIENT=73.48.159.94 44096 2727 SSH_CONNECTION=73.48.159.94 44096 192.168.1.8 2727 STARTUP=/usr/bin/im-launch /usr/bin/env LD_LIBRARY_PATH= mate-session TERM=dumb TZ=:/etc/localtime USER= X2GO_AGENT_PID=10368 X2GO_SESSION=-50-1576452607_stDMATE_dp24 XAUTHORITY=/.Xauthority 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/1000 XDG_SESSION_ID=213 XSESSION_EXEC=mate-session From bugtracker at gambaswiki.org Mon Dec 16 23:25:37 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 16 Dec 2019 22:25:37 GMT Subject: [Gambas-bugtracker] Bug #1696: Write of a string[] to a MEMORY FILE only save or reads first element, lof() always returns zero on memory file In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1696&from=L21haW4- Comment #10 by Brian G: I have compiled and run your fix, Everything seems to work fine now, Thank you From bugtracker at gambaswiki.org Tue Dec 17 06:22:04 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Dec 2019 05:22:04 GMT Subject: [Gambas-bugtracker] Bug #1697: Bad syntax with loop causes compiler to segfault..... In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1697&from=L21haW4- Comment #1 by Beno?t MINISINI: No crash here. I have the "LOOP without DO" error message from the compiler as expected. From bugtracker at gambaswiki.org Tue Dec 17 06:27:23 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Dec 2019 05:27:23 GMT Subject: [Gambas-bugtracker] Bug #1698: Errors while building gmp component In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1698&from=L21haW4- Comment #1 by Beno?t MINISINI: It seems that there is something seriously broken on your system if your compiler cannot compile the standard C++ include files... From bugtracker at gambaswiki.org Tue Dec 17 06:28:50 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Dec 2019 05:28:50 GMT Subject: [Gambas-bugtracker] Bug #1688: Gambas do not create the .deb package for ubuntu In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1688&from=L21haW4- Comment #1 by Beno?t MINISINI: Can you send me your full project so that I try to build the package on my commputer? Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Tue Dec 17 06:31:40 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Dec 2019 05:31:40 GMT Subject: [Gambas-bugtracker] Bug #1681: Segmentation fault In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1681&from=L21haW4- Comment #3 by Beno?t MINISINI: Did you still have the crash if you change your QT widget theme? Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Tue Dec 17 23:26:41 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Dec 2019 22:26:41 GMT Subject: [Gambas-bugtracker] Bug #1699: Pointers are not written to memory streams correctly when set to null Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1699&from=L21haW4- Brian G reported a new bug. Summary ------- Pointers are not written to memory streams correctly when set to null Type : Bug Priority : Medium Gambas version : 3.14 Product : Development Environment Description ----------- When writing a pointer to a memory stream if it is set to null or if you write null as a pointer, only the upper half of the value is written to memory dim x as pointer = null xfile = memory some_memory_pointer for write write #xFile, null as pointer or write #xFile, x as pointer memory before write = &H ff ff ff ff ff ff ff ff .... ff memory after write = &H ff ff ff ff 00 00 00 00 .... ff but if I dim y as long = 0 write #xFile, y as long memory before write = &H ff ff ff ff ff ff ff ff .... ff memory after write = &H 00 00 00 00 00 00 00 00 .... ff works correctly it seems that pointers set to null and null only writes upper address part, but yet spaces over the lower part But if the pointer has a value of a real address, it works fine. Perhaps NULL is only defined as an integer or used as such????? System information ------------------ [System] Gambas=3.14.90 OperatingSystem=Linux Kernel=5.3.0-24-generic Architecture=x86_64 Distribution=Linux Mint 19.2 Tina Desktop=MATE Theme=Qt5CTProxy Language=en_US.UTF-8 Memory=7340M [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] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-Cc4TNls81i,guid=19d1db6b79269a4b515194a55df948aa DISPLAY=:50 GB_GUI=gb.qt5 GIO_LAUNCHED_DESKTOP_FILE=/Desktop/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=16256 GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 GTK_MODULES=gail:atk-bridge GTK_OVERLAY_SCROLLING=0 HOME= INSIDE_CAJA_PYTHON= LANG=en_US.UTF-8 LD_LIBRARY_PATH= LOGNAME= MAIL=/var/mail/ MATE_DESKTOP_SESSION_ID=this-is-deprecated PATH=/.local/bin:/bin:/.local/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PULSE_CLIENTCONFIG=/.x2go/C--50-1576618149_stDMATE_dp24/.pulse-client.conf PWD= QT_ACCESSIBILITY=1 QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_GRAPHICSSYSTEM=native QT_LOGGING_RULES=*.debug=false QT_QPA_PLATFORMTHEME=qt5ct QT_SCALE_FACTOR=1 SESSION_MANAGER=local/:@/tmp/.ICE-unix/15792,unix/:/tmp/.ICE-unix/15792 SHELL=/bin/bash SHLVL=3 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh SSH_CLIENT=73.48.159.94 51386 2727 SSH_CONNECTION=73.48.159.94 51386 192.168.1.8 2727 STARTUP=/usr/bin/im-launch /usr/bin/env LD_LIBRARY_PATH= mate-session TERM=dumb TZ=:/etc/localtime USER= X2GO_AGENT_PID=15533 X2GO_SESSION=-50-1576618149_stDMATE_dp24 XAUTHORITY=/.Xauthority 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/1000 XDG_SESSION_ID=313 XSESSION_EXEC=mate-session From bugtracker at gambaswiki.org Tue Dec 17 23:29:00 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Dec 2019 22:29:00 GMT Subject: [Gambas-bugtracker] Bug #1697: Bad syntax with loop causes compiler to segfault..... In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1697&from=L21haW4- Comment #2 by Brian G: Ok Will try it on the new master I just downloaded From bugtracker at gambaswiki.org Tue Dec 17 23:32:01 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Dec 2019 22:32:01 GMT Subject: [Gambas-bugtracker] Bug #1697: Bad syntax with loop causes compiler to segfault..... In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1697&from=L21haW4- Brian G added an attachment: Screenshot at 2019-12-17 14-31-20.png From bugtracker at gambaswiki.org Tue Dec 17 23:32:17 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Dec 2019 22:32:17 GMT Subject: [Gambas-bugtracker] Bug #1697: Bad syntax with loop causes compiler to segfault..... In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1697&from=L21haW4- Brian G added an attachment: Screenshot at 2019-12-17 14-30-47.png From bugtracker at gambaswiki.org Tue Dec 17 23:33:48 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Dec 2019 22:33:48 GMT Subject: [Gambas-bugtracker] Bug #1697: Bad syntax with loop causes compiler to segfault..... In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1697&from=L21haW4- Comment #3 by Brian G: It still is happening with latest master. for me anyway! lol, I can try to get more specific info if you can direct me From bugtracker at gambaswiki.org Tue Dec 17 23:35:02 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Dec 2019 22:35:02 GMT Subject: [Gambas-bugtracker] Bug #1697: Bad syntax with loop causes compiler to segfault..... In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1697&from=L21haW4- Comment #4 by Brian G: The second picture happens first, them when next is clicked the segfault appears From bugtracker at gambaswiki.org Tue Dec 17 23:39:30 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Dec 2019 22:39:30 GMT Subject: [Gambas-bugtracker] Bug #1697: Bad syntax with loop causes compiler to segfault..... In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1697&from=L21haW4- Brian G added an attachment: Screenshot at 2019-12-17 14-30-47.png From bugtracker at gambaswiki.org Tue Dec 17 23:39:33 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Dec 2019 22:39:33 GMT Subject: [Gambas-bugtracker] Bug #1697: Bad syntax with loop causes compiler to segfault..... In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1697&from=L21haW4- Brian G added an attachment: Screenshot at 2019-12-17 14-31-20.png From bugtracker at gambaswiki.org Tue Dec 17 23:44:23 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Dec 2019 22:44:23 GMT Subject: [Gambas-bugtracker] Bug #1698: Errors while building gmp component In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1698&from=L21haW4- Comment #2 by Brian G: Well it is only this one component that has the problem, and it happens on more than one computer. Is there some library that I may be missing, setting? version of compiler? From bugtracker at gambaswiki.org Wed Dec 18 05:31:33 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 18 Dec 2019 04:31:33 GMT Subject: [Gambas-bugtracker] Bug #1696: Write of a string[] to a MEMORY FILE only save or reads first element, lof() always returns zero on memory file In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1696&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Wed Dec 18 05:37:31 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 18 Dec 2019 04:37:31 GMT Subject: [Gambas-bugtracker] Bug #1698: Errors while building gmp component In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1698&from=L21haW4- Comment #3 by Beno?t MINISINI: No idea, it compiles perfectly on the last Ubuntu. But if the error is inside a standard C++ boost library include file, it suggests that your system has something wrong! From bugtracker at gambaswiki.org Wed Dec 18 05:43:39 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 18 Dec 2019 04:43:39 GMT Subject: [Gambas-bugtracker] Bug #1699: Pointers are not written to memory streams correctly when set to null In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1699&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Wed Dec 18 05:44:49 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 18 Dec 2019 04:44:49 GMT Subject: [Gambas-bugtracker] Bug #1697: Bad syntax with loop causes compiler to segfault..... In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1697&from=L21haW4- Comment #5 by Beno?t MINISINI: Can you compile the project from the command-line and send me the output? Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Wed Dec 18 05:47:44 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 18 Dec 2019 04:47:44 GMT Subject: [Gambas-bugtracker] Bug #1699: Pointers are not written to memory streams correctly when set to null In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1699&from=L21haW4- Comment #1 by Beno?t MINISINI: Does commit https://gitlab.com/gambas/gambas/commit/b98ca797e449b8a9d36b6aed6aba512495bd83c4 fix the problem? Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Wed Dec 18 06:36:59 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 18 Dec 2019 05:36:59 GMT Subject: [Gambas-bugtracker] Bug #1699: Pointers are not written to memory streams correctly when set to null In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1699&from=L21haW4- Comment #2 by Beno?t MINISINI: Use very last commit instead. From bugtracker at gambaswiki.org Wed Dec 18 06:51:48 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 18 Dec 2019 05:51:48 GMT Subject: [Gambas-bugtracker] Bug #1698: Errors while building gmp component In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1698&from=L21haW4- Comment #4 by Tobias BOEGE: Errors such as this: > unknown type name ?namespace?; did you mean ?isspace?? strongly indicate that you are compiling C++ headers with a C compiler. Using the C compiler is correct, since gb.gmp is written in C, so how do we get C++ headers included? Look at the trace of included files: > In file included from /usr/include/boost/container/detail/std_fwd.hpp:26, > from /usr/include/boost/container/container_fwd.hpp:61, > from /usr/include/boost/container/allocator_traits.hpp:31, > from /usr/include/boost/container/flat_map.hpp:24, > from /usr/include/CGAL/config.h:123, > from /usr/include/CGAL/gmp.h:22, > from main.h:31, > from main.c:28: Apparently your system prefers CGAL's gmp.h over GMP's identically named one. The former is C++ and includes boost headers which lead to the errors. Do you have libgmp-dev (or whatever it is for your distribution) installed? If yes, that would mean that the normal gmp.h is overshadowed by CGAL's version, which would be a strange thing to happen. I don't know if that is something that needs configuration on your system or if the configure script in Gambas should somehow be smarter... Tobias BOEGE changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Wed Dec 18 07:00:30 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 18 Dec 2019 06:00:30 GMT Subject: [Gambas-bugtracker] Bug #1699: Pointers are not written to memory streams correctly when set to null In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1699&from=L21haW4- Comment #3 by Brian G: Will give it a try, will let you know Brian G changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Wed Dec 18 07:22:55 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 18 Dec 2019 06:22:55 GMT Subject: [Gambas-bugtracker] Bug #1699: Pointers are not written to memory streams correctly when set to null In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1699&from=L21haW4- Comment #4 by Beno?t MINISINI: I have added a new "null" stream, that will allows you to count the number of bytes written by the serialization without actually writing anything anywhere. Moreover, I added a "NullTerminatedString" property to the Stream class to toggle between null terminated, and length prefixed strings. From bugtracker at gambaswiki.org Wed Dec 18 07:29:07 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 18 Dec 2019 06:29:07 GMT Subject: [Gambas-bugtracker] Bug #1699: Pointers are not written to memory streams correctly when set to null In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1699&from=L21haW4- Comment #5 by Brian G: Wonderful, I will give it a try tomorrow. From bugtracker at gambaswiki.org Wed Dec 18 07:38:40 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 18 Dec 2019 06:38:40 GMT Subject: [Gambas-bugtracker] Bug #1699: Pointers are not written to memory streams correctly when set to null In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1699&from=L21haW4- Comment #6 by Brian G: Can you give me a quick example of how to write the memory statement to open a null stream, or do I just make a pointer equal to null. x = memory null for write ? From bugtracker at gambaswiki.org Wed Dec 18 07:39:54 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 18 Dec 2019 06:39:54 GMT Subject: [Gambas-bugtracker] Bug #1699: Pointers are not written to memory streams correctly when set to null In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1699&from=L21haW4- Comment #7 by Brian G: And then use seek after the writes? From bugtracker at gambaswiki.org Wed Dec 18 07:43:03 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 18 Dec 2019 06:43:03 GMT Subject: [Gambas-bugtracker] Bug #1698: Errors while building gmp component In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1698&from=L21haW4- Comment #5 by Brian G: I will look at my library setup in morning. Thanks for the help Brian G changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Wed Dec 18 08:12:19 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 18 Dec 2019 07:12:19 GMT Subject: [Gambas-bugtracker] Bug #1699: Pointers are not written to memory streams correctly when set to null In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1699&from=L21haW4- Comment #8 by Beno?t MINISINI: Do something like that: hFile = Open Null For Write hFile.NullTerminatedString = TRUE MySerialize(hFile) iLen = Seek(hFile) Close #hFile MyPointer = Alloc(iLen) hFile = Open Memory MyPointer For Write ' you can set NullTerminatedString to FALSE in the memory stream instead of setting it to TRUE in the null stream. ' hFile.NullTerminatedString = FALSE MySerialize(hFile) Close #hFile From bugtracker at gambaswiki.org Wed Dec 18 08:13:51 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 18 Dec 2019 07:13:51 GMT Subject: [Gambas-bugtracker] Bug #1699: Pointers are not written to memory streams correctly when set to null In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1699&from=L21haW4- Comment #9 by Brian G: Would you consider adding the following special methods for objects _serialize returns written length of object _read(x as file) object can read it's self _write(x as file) object can write it's self And have read and write statements look for these methods at runtime So we can author object that can store themselves and load themselves So one would write Write #xx, myobject Write Call's the _write for the object if present Read #xx as myclass Read. Creates instance of myclass and calls _read if present This would be a very powerful extention to the io of objects From bugtracker at gambaswiki.org Wed Dec 18 08:46:22 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 18 Dec 2019 07:46:22 GMT Subject: [Gambas-bugtracker] Bug #1699: Pointers are not written to memory streams correctly when set to null In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1699&from=L21haW4- Comment #10 by Beno?t MINISINI: _read() and _write() should be possible. But for _serialize, nope, you will have to use the null stream. From bugtracker at gambaswiki.org Wed Dec 18 21:58:38 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 18 Dec 2019 20:58:38 GMT Subject: [Gambas-bugtracker] Bug #1697: Bad syntax with loop causes compiler to segfault..... In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1697&from=L21haW4- Comment #6 by Brian G: I will try to do that Brian G changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Wed Dec 18 22:30:12 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 18 Dec 2019 21:30:12 GMT Subject: [Gambas-bugtracker] Bug #1698: Errors while building gmp component In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1698&from=L21haW4- Comment #6 by Brian G: Ok, Found the problem! Looks like somehow the qt5 dev pulled in the qt5-cgal lib....... After removing the qt5-cgal and other libraries associated with them, I was able to build The correct libs were installed but as you suggested being overridden by the cgal libs Now I will have to check qt5 projects... lol Thanks for your help. From bugtracker at gambaswiki.org Wed Dec 18 22:30:23 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 18 Dec 2019 21:30:23 GMT Subject: [Gambas-bugtracker] Bug #1698: Errors while building gmp component In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1698&from=L21haW4- Brian G changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Wed Dec 18 22:40:50 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 18 Dec 2019 21:40:50 GMT Subject: [Gambas-bugtracker] Bug #1697: Bad syntax with loop causes compiler to segfault..... In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1697&from=L21haW4- Comment #7 by Brian G: Here is the output brian at GN41:/srv/3d/testloop$ gbc3 -v -a Removing .info and .list files ------------------------------------------------------------------------ Compiling Main.module... Adding class Main Unused MODULE Main Static size : 0 octets Dynamic size : 0 octets Static Public Procedure Main() Compiling @init()... 0000 : 1000 RETURN (0) Compiling @new()... 0000 : 1000 RETURN (0) Compiling Main()... LOCAL i AS Integer Segmentation fault (core dumped) From bugtracker at gambaswiki.org Wed Dec 18 22:57:19 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 18 Dec 2019 21:57:19 GMT Subject: [Gambas-bugtracker] Bug #1699: Pointers are not written to memory streams correctly when set to null In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1699&from=L21haW4- Brian G changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Wed Dec 18 23:01:37 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 18 Dec 2019 22:01:37 GMT Subject: [Gambas-bugtracker] Bug #1695: textedit box steals text destined for textbox populated by timer tick In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1695&from=L21haW4- Comment #1 by Brian G: Does anyone have time to help me with this. I am unable to find a work around that works? From bugtracker at gambaswiki.org Thu Dec 19 08:09:37 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 19 Dec 2019 07:09:37 GMT Subject: [Gambas-bugtracker] Bug #1697: Bad syntax with loop causes compiler to segfault..... In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1697&from=L21haW4- Comment #8 by Beno?t MINISINI: Now with the debugger? $ gdb gbc3 ... (gdb) run -va Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Thu Dec 19 08:17:43 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 19 Dec 2019 07:17:43 GMT Subject: [Gambas-bugtracker] Bug #1695: textedit box steals text destined for textbox populated by timer tick In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1695&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Thu Dec 19 09:01:37 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 19 Dec 2019 08:01:37 GMT Subject: [Gambas-bugtracker] Bug #1695: textedit box steals text destined for textbox populated by timer tick In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1695&from=L21haW4- Comment #2 by Beno?t MINISINI: Fixed in commit https://gitlab.com/gambas/gambas/commit/4771af3b27aaccc2ef11266866d3aafe97efaf72. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Sat Dec 21 03:59:27 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 21 Dec 2019 02:59:27 GMT Subject: [Gambas-bugtracker] Bug #1695: textedit box steals text destined for textbox populated by timer tick In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1695&from=L21haW4- Comment #3 by Brian G: Thank you! From bugtracker at gambaswiki.org Sat Dec 21 04:04:53 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 21 Dec 2019 03:04:53 GMT Subject: [Gambas-bugtracker] Bug #1697: Bad syntax with loop causes compiler to segfault..... In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1697&from=L21haW4- Comment #9 by Brian G: Starting program: /usr/bin/gbc3 -va Removing .info and .list files ------------------------------------------------------------------------ Compiling Main.module... Adding class Main Unused MODULE Main Static size : 0 octets Dynamic size : 0 octets Static Public Procedure Main() Compiling @init()... 0000 : 1000 RETURN (0) Compiling @new()... 0000 : 1000 RETURN (0) Compiling Main()... LOCAL i AS Integer Program received signal SIGSEGV, Segmentation fault. 0x000055555556a758 in TRANS_loop (type=type at entry=37) at gbc_trans_ctrl.c:753 753 if (type == RS_LOOP) (gdb) Brian G changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Sat Dec 21 04:05:14 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 21 Dec 2019 03:05:14 GMT Subject: [Gambas-bugtracker] Bug #1697: Bad syntax with loop causes compiler to segfault..... In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1697&from=L21haW4- Comment #10 by Brian G: I hope this helps From bugtracker at gambaswiki.org Sat Dec 21 10:28:42 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 21 Dec 2019 09:28:42 GMT Subject: [Gambas-bugtracker] Bug #1697: Bad syntax with loop causes compiler to segfault..... In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1697&from=L21haW4- Comment #11 by Beno?t MINISINI: Not really, it can't segfault at this line (comparing two integers!). Can you print the backtrace of the crash? Otherwise is it possible to grant me an ssh access to that machine so that I can debug the crash directly? Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Sat Dec 21 10:30:06 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 21 Dec 2019 09:30:06 GMT Subject: [Gambas-bugtracker] Bug #1697: Bad syntax with loop causes compiler to segfault..... In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1697&from=L21haW4- Comment #12 by Beno?t MINISINI: Before doing that, please recompile the compiler by disabling optimizations: $ cd /main/gbc $ make clean $ make "CFLAGS=-O0 -g" $ cd .. $ sudo make install From bugtracker at gambaswiki.org Sun Dec 22 10:24:39 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 22 Dec 2019 09:24:39 GMT Subject: [Gambas-bugtracker] Bug #1700: Hide methods from compiler warnings Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1700&from=L21haW4- C THAL reported a new bug. Summary ------- Hide methods from compiler warnings Type : Request Priority : Medium Gambas version : 3.14 Product : Language Description ----------- I have a lot of methods that I just use during development or bug fixing and that open a single form or do only a special task of the whole project. They all reside in a module which usually calls just the one method I currently need in Main(). So for every compiler run I get a lot of warnings about "Unused function"s in that module and I would like to get rid of that. Variables can be excluded from the compiler warnings by writing them in parantheses: Dim (sSth) As String Could the same be done with methods in future? For example: Sub (HideThisSub)() End System information ------------------ Fake From bugtracker at gambaswiki.org Sun Dec 22 17:25:40 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 22 Dec 2019 16:25:40 GMT Subject: [Gambas-bugtracker] Bug #1688: Gambas do not create the .deb package for ubuntu In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1688&from=L21haW4- Comment #2 by V?ctor PEREZ: https://sourceforge.net/projects/visorrv1960/files/temporales10/VisorRV1960-0.7.9.tar.gz/download V?ctor PEREZ changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Sun Dec 22 17:27:46 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 22 Dec 2019 16:27:46 GMT Subject: [Gambas-bugtracker] Bug #1688: Gambas do not create the .deb package for ubuntu In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1688&from=L21haW4- Comment #3 by V?ctor PEREZ: The problem appeared when I went from gambas3 3.14 to 3.14.2. uninstall gambas3 completely and install it again, the problem was not corrected. From bugtracker at gambaswiki.org Sun Dec 22 20:39:18 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 22 Dec 2019 19:39:18 GMT Subject: [Gambas-bugtracker] Bug #1697: Bad syntax with loop causes compiler to segfault..... In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1697&from=L21haW4- Comment #13 by Brian G: I can give you direct access to the machine, when would you like to try this I will also do the recompile and try again in the mean time Brian G changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Sun Dec 22 20:50:24 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 22 Dec 2019 19:50:24 GMT Subject: [Gambas-bugtracker] Bug #1700: Hide methods from compiler warnings In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1700&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Sun Dec 22 20:51:00 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 22 Dec 2019 19:51:00 GMT Subject: [Gambas-bugtracker] Bug #1700: Hide methods from compiler warnings In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1700&from=L21haW4- Comment #1 by Beno?t MINISINI: Done in commit https://gitlab.com/gambas/gambas/commit/b09ab3933816a12bd62d297866b70796e0561f61. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Sun Dec 22 20:54:42 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 22 Dec 2019 19:54:42 GMT Subject: [Gambas-bugtracker] Bug #1701: Very Slow 33times pointers l = long@(xxxpointer) notation compared to memcpy(varptr(l), MyPointer, sizeof(gb.long)) Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1701&from=L21haW4- Brian G reported a new bug. Summary ------- Very Slow 33times pointers l = long@(xxxpointer) notation compared to memcpy(varptr(l),MyPointer,sizeof(gb.long)) Type : Bug Priority : Medium Gambas version : 3.14 Product : Language Description ----------- It seems that pointers to values in memory are very slow , can this be fixed, I know it has to be slower but, any way to speed this up? I am doing a lot of manipulation of shared memory in my app, so have had to resort to memcpy and memcmp. The following program as example: Extern memset(location As Pointer, value As Integer, Len As Integer) As Integer In "libc:6" Extern memcpy(dest As Pointer, src As Pointer, Len As Integer) As Integer In "libc:6" Public Sub Main() Dim MyPointer As Pointer = Alloc(10000) Dim MyLong As Long Dim MyLong2 As Long = 0 Dim starttime As Float Dim end1, end2 As Float Print "Testing speed of indirect reference using mylong = long@(mypointer) pointer Refrence 1,000,000 times" memset(MyPointer, 0, 32) starttime = Timer For i As Integer = 1 To 1000000 MyLong = Long@(MyPointer) Next end2 = Timer - starttime Print "Time required to fetch long@ ", end2 Print "Testing speed of indirect reference using mylong = memcpy pointer Refrence 1,000,000" starttime = Timer For i As Integer = 1 To 1000000 memcpy(VarPtr(MyLong2), MyPointer, SizeOf(gb.long)) Next end1 = Timer - starttime Print "Time required to copy long ", end1 Print "Factor in speed diff =", end2 / end1 Free(MyPointer) End output follow: Testing speed of indirect refrence using mylong = long@(mypointer) pointer Refrence 1,000,000 times Time required to fetch long@ 8.61431147900294 Testing speed of indirect refrence using mylong = memcpy pointer Refrence 1,000,000 Time required to copy long 0.255567631014856 Factor in speed diff = 33.7065826560102 System information ------------------ [System] Gambas=3.14.90 OperatingSystem=Linux Kernel=5.3.0-24-generic Architecture=x86_64 Distribution=Linux Mint 19.2 Tina Desktop=MATE Theme=Qt5CTProxy Language=en_US.UTF-8 Memory=7340M [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 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=en_US GIO_LAUNCHED_DESKTOP_FILE=/Desktop/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=20831 GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 GTK_MODULES=gail:atk-bridge GTK_OVERLAY_SCROLLING=0 HOME= INSIDE_CAJA_PYTHON= LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path MATE_DESKTOP_SESSION_ID=this-is-deprecated PATH=/.local/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT_ACCESSIBILITY=1 QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_LOGGING_RULES=*.debug=false QT_QPA_PLATFORMTHEME=qt5ct QT_SCALE_FACTOR=1 SESSION_MANAGER=local/:@/tmp/.ICE-unix/1474,unix/:/tmp/.ICE-unix/1474 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=1811 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh 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 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 From bugtracker at gambaswiki.org Sun Dec 22 20:54:47 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 22 Dec 2019 19:54:47 GMT Subject: [Gambas-bugtracker] Bug #1697: Bad syntax with loop causes compiler to segfault..... In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1697&from=L21haW4- Comment #14 by Beno?t MINISINI: Do the recompilation first, as explained in comment #12. What is your timezone? Just tell me when and how to access your machine, and I will adapt. Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Sun Dec 22 20:55:59 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 22 Dec 2019 19:55:59 GMT Subject: [Gambas-bugtracker] Bug #1697: Bad syntax with loop causes compiler to segfault..... In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1697&from=L21haW4- Comment #15 by Brian G: Ok I will set up up and give you access right now, do you have x2go installed Brian G changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Sun Dec 22 20:59:25 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 22 Dec 2019 19:59:25 GMT Subject: [Gambas-bugtracker] Bug #1697: Bad syntax with loop causes compiler to segfault..... In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1697&from=L21haW4- Comment #16 by Brian G: ok email me at justlostintime at gamil.com and i will send you the credentials From bugtracker at gambaswiki.org Sun Dec 22 21:01:27 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 22 Dec 2019 20:01:27 GMT Subject: [Gambas-bugtracker] Bug #1697: Bad syntax with loop causes compiler to segfault..... In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1697&from=L21haW4- Comment #17 by Brian G: sorry justlostintime at gmail.com From bugtracker at gambaswiki.org Sun Dec 22 21:29:45 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 22 Dec 2019 20:29:45 GMT Subject: [Gambas-bugtracker] Bug #1688: Gambas do not create the .deb package for ubuntu In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1688&from=L21haW4- Comment #4 by Beno?t MINISINI: No problem to build the package. I think your problem comes from the spaces in your directory name ('Lanzamiento VisorRV1960 v. 0.7.9'). Try to not use directory with spaces, and I guess the packager will work. I will try to modify the shell commands encapsulated in the package so that they escape their argument correctly. But it is not that simple with the strange and complicated shell syntax... From bugtracker at gambaswiki.org Sun Dec 22 21:30:07 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 22 Dec 2019 20:30:07 GMT Subject: [Gambas-bugtracker] Bug #1697: Bad syntax with loop causes compiler to segfault..... In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1697&from=L21haW4- Comment #18 by Brian G: OK after disabling all optimizations it is working correctly ???? From bugtracker at gambaswiki.org Sun Dec 22 21:40:32 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 22 Dec 2019 20:40:32 GMT Subject: [Gambas-bugtracker] Bug #1688: Gambas do not create the .deb package for ubuntu In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1688&from=L21haW4- Comment #5 by Beno?t MINISINI: I meant: don't use spaces in the directory where you generate the package, not the directory where you store the project. From bugtracker at gambaswiki.org Sun Dec 22 21:42:11 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 22 Dec 2019 20:42:11 GMT Subject: [Gambas-bugtracker] Bug #1697: Bad syntax with loop causes compiler to segfault..... In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1697&from=L21haW4- Comment #19 by Beno?t MINISINI: It's possible if there is a memory corruption. You get a crash in one case, not in the other. I don't know what 'x2go' is and what you mean with "credentials". I just need an ssh access. From bugtracker at gambaswiki.org Sun Dec 22 21:45:00 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 22 Dec 2019 20:45:00 GMT Subject: [Gambas-bugtracker] Bug #1688: Gambas do not create the .deb package for ubuntu In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1688&from=L21haW4- Comment #6 by Beno?t MINISINI: Normally fixed in commit https://gitlab.com/gambas/gambas/commit/87228b9c4f0950bbcdd0aa7717ce331e972ae980. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Sun Dec 22 21:49:23 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 22 Dec 2019 20:49:23 GMT Subject: [Gambas-bugtracker] Bug #1701: Very Slow 33times pointers l = long@(xxxpointer) notation compared to memcpy(varptr(l), MyPointer, sizeof(gb.long)) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1701&from=L21haW4- Comment #1 by Beno?t MINISINI: Not unexpected: Gambas is an interpreter, and moreover it checks illegal memory access when using pointer reading functions like Long@(). So things are slower. I don't know what you want to achieve, but an interpreted language is usually not the good tool for doing such things (copying memory with pointers). You could have luck with the JIT compiler, but alas at the moment it does not optimize the xxx@() functions. If optimization had been implemented, you would get very good speed. From bugtracker at gambaswiki.org Sun Dec 22 23:14:06 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 22 Dec 2019 22:14:06 GMT Subject: [Gambas-bugtracker] Bug #1688: Gambas do not create the .deb package for ubuntu In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1688&from=L21haW4- Comment #7 by V?ctor PEREZ: Now it seems all right, thanks. From bugtracker at gambaswiki.org Sun Dec 22 23:17:10 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 22 Dec 2019 22:17:10 GMT Subject: [Gambas-bugtracker] Bug #1697: Bad syntax with loop causes compiler to segfault..... In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1697&from=L21haW4- Comment #20 by Brian G: ok, I need to give you a log in and password, web address even for ssh It happens every time before optimization off x2go is desktop access, apt install x2goclient From bugtracker at gambaswiki.org Mon Dec 23 11:00:13 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 23 Dec 2019 10:00:13 GMT Subject: [Gambas-bugtracker] Bug #1701: Very Slow 33times pointers l = long@(xxxpointer) notation compared to memcpy(varptr(l), MyPointer, sizeof(gb.long)) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1701&from=L21haW4- Comment #2 by Brian G: right now if i use fast functions my application aborts everytime... I am using them in a shared memory area, how is it checking for valid memory? From bugtracker at gambaswiki.org Mon Dec 23 11:06:45 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 23 Dec 2019 10:06:45 GMT Subject: [Gambas-bugtracker] Bug #1701: Very Slow 33times pointers l = long@(xxxpointer) notation compared to memcpy(varptr(l), MyPointer, sizeof(gb.long)) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1701&from=L21haW4- Comment #3 by Beno?t MINISINI: It shouldn't, you should report a bug. Unless you use FAST on an unimplemented feature ('ByRef' for example). It checks for valid memory by intercepting segmentation fault signals. This is why it is so slow. I have just implemented in the just-in-time compiler unsafe implementation of Byte@, Short@, and so on. They just read the memory pointer directly without checking everything. The code is not pushed yet. From bugtracker at gambaswiki.org Mon Dec 23 11:27:23 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 23 Dec 2019 10:27:23 GMT Subject: [Gambas-bugtracker] Bug #1701: Very Slow 33times pointers l = long@(xxxpointer) notation compared to memcpy(varptr(l), MyPointer, sizeof(gb.long)) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1701&from=L21haW4- Comment #4 by Beno?t MINISINI: Done in commit https://gitlab.com/gambas/gambas/commit/b5affdfa60be5ae605004551107892c795247908. The slowness won't be fixed. But you have now a fast solution, so I mark the bug as fixed. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Mon Dec 23 11:29:09 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 23 Dec 2019 10:29:09 GMT Subject: [Gambas-bugtracker] Bug #1697: Bad syntax with loop causes compiler to segfault..... In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1697&from=L21haW4- Comment #21 by Beno?t MINISINI: OK. I don't need a full desktop access, as I will just do debugging with gdb. If possible, give me the needed rights so that I can recompile and reinstall the source code if needed, without having to ask you everytime. Thanks! From bugtracker at gambaswiki.org Mon Dec 23 11:29:56 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 23 Dec 2019 10:29:56 GMT Subject: [Gambas-bugtracker] Bug #1656: Under ubuntu, modal windows do not stack in the right way. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1656&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Mon Dec 23 11:31:26 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 23 Dec 2019 10:31:26 GMT Subject: [Gambas-bugtracker] Bug #1659: Excessive white space in MenuButton In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1659&from=L21haW4- Comment #1 by Beno?t MINISINI: Hasn't it been fixed since the last development versions? Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Mon Dec 23 11:41:57 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 23 Dec 2019 10:41:57 GMT Subject: [Gambas-bugtracker] Bug #1654: Do not generate the property functions when Use is used In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1654&from=L21haW4- Comment #2 by Beno?t MINISINI: Fixed in commit https://gitlab.com/gambas/gambas/commit/5c69af0777b92c26388feb962c45b49fbaa26210. Now you have to use the SHIFT key to automatically insert property handlers, in the case you are using the PROPERTY ... USE syntax. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Wed Dec 25 10:10:20 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 25 Dec 2019 09:10:20 GMT Subject: [Gambas-bugtracker] Bug #1701: Very Slow 33times pointers l = long@(xxxpointer) notation compared to memcpy(varptr(l), MyPointer, sizeof(gb.long)) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1701&from=L21haW4- Comment #5 by Brian G: Will give it a try after christmas, thank you! From bugtracker at gambaswiki.org Wed Dec 25 10:14:42 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 25 Dec 2019 09:14:42 GMT Subject: [Gambas-bugtracker] Bug #1697: Bad syntax with loop causes compiler to segfault..... In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1697&from=L21haW4- Comment #22 by Brian G: I will, please send email so i can respond with information, I don't want to publish it here... Thanks From bugtracker at gambaswiki.org Wed Dec 25 17:38:31 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 25 Dec 2019 16:38:31 GMT Subject: [Gambas-bugtracker] Bug #1702: Manjaro packager doesn't work properly Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1702&from=L21haW4- Mart?n BELMONTE reported a new bug. Summary ------- Manjaro packager doesn't work properly Type : Bug Priority : High Gambas version : Master Product : Bugtracker Description ----------- Hi, Merry Christmas. I'm trying to create some packages in Manjaro for Manjaro (gambas 3.14.2 ) and it doesn't work, but it worked before (older gambas version). Any ideas? thanks Tanks. System information ------------------ Creando el directorio de construcci?n. cd '/tmp/gambas.1000/31002/archlinux' makepkg -g >> PKGBUILD Creando paquete... cd '/tmp/gambas.1000/31002/archlinux' makepkg --allsource /tmp/gambas.1000/31002/archlinux/PKGBUILD: l?nea 17: ==: orden no encontrada /tmp/gambas.1000/31002/archlinux/PKGBUILD: l?nea 18: -: orden no encontrada /tmp/gambas.1000/31002/archlinux/PKGBUILD: l?nea 19: -: orden no encontrada /tmp/gambas.1000/31002/archlinux/PKGBUILD: l?nea 20: -: orden no encontrada /tmp/gambas.1000/31002/archlinux/PKGBUILD: l?nea 21: -: orden no encontrada /tmp/gambas.1000/31002/archlinux/PKGBUILD: l?nea 22: ==: orden no encontrada ==> Creando el paquete: pruebas-gambas 0.0.2-1 (dom 22 dic 2019 19:59:24 CET) ==> Recibiendo las fuentes... -> pruebas_gambas-0.0.2.tar.bz2 ha sido encontrado -> license.txt ha sido encontrado -> pruebas-gambas.desktop ha sido encontrado -> pruebas_gambas.png ha sido encontrado ==> Validando los archivos source con md5sums... pruebas_gambas-0.0.2.tar.bz2 ... HA FALLADO license.txt ... HA FALLADO pruebas-gambas.desktop ... HA FALLADO pruebas_gambas.png ... HA FALLADO ==> ERROR: ?Uno o m?s archivos no superaron el control de validaci?n! From bugtracker at gambaswiki.org Tue Dec 31 17:47:56 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 31 Dec 2019 16:47:56 GMT Subject: [Gambas-bugtracker] Bug #1703: _print(stream) as an object special function Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1703&from=L21haW4- Brian G reported a new bug. Summary ------- _print(stream) as an object special function Type : Request Priority : Medium Gambas version : Master Product : Language Description ----------- I see that you have added the _Read and _Write for 3.15. One more request please would it also be possible to add _print(optional TheStream as stream = stdout?? or such) This would also be a very powerful addition to the standard io methods such that we can just Print myclass, ........ and the class will write a printable sequence to the current output stream? System information ------------------ 3.15 From bugtracker at gambaswiki.org Tue Dec 31 17:52:05 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 31 Dec 2019 16:52:05 GMT Subject: [Gambas-bugtracker] Bug #1703: _print(stream) as an object special function In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1703&from=L21haW4- Comment #1 by Brian G: P.S. Where can I find the 3.15 release or pre-release for using the _read and _write function, I am really excited by these changes! From bugtracker at gambaswiki.org Tue Dec 31 18:28:31 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 31 Dec 2019 17:28:31 GMT Subject: [Gambas-bugtracker] Bug #1703: _print(stream) as an object special function In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1703&from=L21haW4- Comment #2 by Beno?t MINISINI: The development version is the master branch of git. You will find it at https://gitlab.com/gambas/gambas. Otherwise there is a gambas-daily ubuntu ppa that provides binary packages of the development version at https://launchpad.net/~gambas-team/+archive/ubuntu/gambas-daily. From bugtracker at gambaswiki.org Tue Dec 31 18:29:37 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 31 Dec 2019 17:29:37 GMT Subject: [Gambas-bugtracker] Bug #1703: _print(stream) as an object special function In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1703&from=L21haW4- Comment #3 by Beno?t MINISINI: I'm not very fond of doing a "_print" method. There is no real need for that, except eventually for debugging purpose.