From bugtracker at ...3416... Wed Feb 1 02:10:36 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 01 Feb 2017 01:10:36 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1073: build failure with gcc-7 (Debian experimental) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1073&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Wed Feb 1 02:10:54 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 01 Feb 2017 01:10:54 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1073: build failure with gcc-7 (Debian experimental) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1073&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed in revision #8076. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Wed Feb 1 02:11:58 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 01 Feb 2017 01:11:58 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1066: Interpreter crash on removing database index In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1066&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Working. From bugtracker at ...3416... Wed Feb 1 02:28:18 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 01 Feb 2017 01:28:18 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1066: Interpreter crash on removing database index In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1066&from=L21haW4- Comment #6 by Beno?t MINISINI: Fixed in revision #8077. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Wed Feb 1 02:46:11 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 01 Feb 2017 01:46:11 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1064: Gtk menus are unreadable when form has dark background, light foreground In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1064&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed in revision #8078. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Wed Feb 1 02:47:40 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 01 Feb 2017 01:47:40 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1062: DesktopFile for google-chrome.desktop is incomplete In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1062&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Wed Feb 1 17:32:52 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 01 Feb 2017 16:32:52 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1062: DesktopFile for google-chrome.desktop is incomplete In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1062&from=L21haW4- Comment #1 by Fabien BODARD: Fixed in rev #8079 Fabien BODARD changed the state of the bug to: Fixed. From herberthguzman at ...626... Wed Feb 1 20:46:49 2017 From: herberthguzman at ...626... (herberth guzman) Date: Wed, 1 Feb 2017 13:46:49 -0600 Subject: [Gambas-user] Available for download Innova Desktop Preview 0.1.3 Message-ID: Hello everyone Innova Desktop 1.3 Desktop Developed in Gambas3 Third version available for download Innova Preview 0.1.3 Available for now only Debia/Ubuntu systems. Special thanks to Benoit, Fabien and Zainudin Ahmad. I thank the people who have used and reported bugs Innova I fixed several bugs reported. - Custom panel. - Modified Launcher and Aggregate Functions - Anchor Apps to your panel and desktop - New Themes (30) - Settings rewritten. - The appearance of the launcher was modified. - Widget Clock was modified 0.2 - PcInfo Information of the System 0.5.1 - New gbTerminal 0.1.6 - Terminal emulator based on VT-100 External programs: - New VisorRV1960 - (Biblia Reina-Valera 1960) 0.6 - New Higgins - Application launcher 0.7 - gbEdit - Text Editor 0.9 - Xt7-Player - Audio and Video Player 0.20 - Pintascreen - A screen of capture 0.73 Available in 3 languages 1. English 2. Spanish 3. French Windows Manager supported: Openbox, Kwin and Gala The user you must have minimal Gambas 3.9 Regards. Herberth Guzman NOTA: The v1.4 will have substantial changes in the project, suggested to improve the appearance, stability and its integration. Attached link to download https://sourceforge.net/projects/innovadesktop/ Report bugs innovadesktop at ...626... From bugtracker at ...3416... Wed Feb 1 23:35:53 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 01 Feb 2017 22:35:53 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1072: Image pixelated farm software In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1072&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Wed Feb 1 23:35:58 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 01 Feb 2017 22:35:58 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1072: Image pixelated farm software In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1072&from=L21haW4- Comment #1 by Beno?t MINISINI: The screenshots are just stretched to 320 pixels. I will double the resolution. From bugtracker at ...3416... Wed Feb 1 23:47:37 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 01 Feb 2017 22:47:37 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1072: Image pixelated farm software In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1072&from=L21haW4- Comment #2 by Beno?t MINISINI: Fixed in revision #8080. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Wed Feb 1 23:57:35 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 01 Feb 2017 22:57:35 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1065: Icon does not appear in tray In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1065&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Wed Feb 1 23:57:56 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 01 Feb 2017 22:57:56 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1065: Icon does not appear in tray In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1065&from=L21haW4- Comment #1 by Beno?t MINISINI: If you use a modern desktop, the DBUS trayicon protocol is used. Otherwise, the old trayicon protocol is used. I will install LXDE to check the deal. From bugtracker at ...3416... Thu Feb 2 02:01:18 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 02 Feb 2017 01:01:18 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1065: Icon does not appear in tray In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1065&from=L21haW4- Comment #2 by Beno?t MINISINI: I have just tested with LXDE on Ubuntu. I have no problem with having a working tray icon. From bugtracker at ...3416... Thu Feb 2 02:01:35 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 02 Feb 2017 01:01:35 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1065: Icon does not appear in tray In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1065&from=L21haW4- Beno?t MINISINI added an attachment: trayicon-lxde.png From bugtracker at ...3416... Thu Feb 2 02:02:05 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 02 Feb 2017 01:02:05 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1065: Icon does not appear in tray In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1065&from=L21haW4- Comment #3 by Beno?t MINISINI: Please post a little project that reproduces your problem. Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Thu Feb 2 08:31:00 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 02 Feb 2017 07:31:00 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1065: Icon does not appear in tray In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1065&from=L21haW4- Comment #4 by ABDUL ZAGIROV: Trayicon appears when one uses classical Ubuntu with Unity graphical environment with postinstalled LXDE or XFCE in addition. But it doesnt work when it comes to XUbuntu linux distribution with preinstalled XFCE or Lubuntu with LXDE. Perhaps it is a distribution problem. I tested on both 14.04.5 and 16.04.1 versions of XUbuntu. The same result. /home/abdul/downloads/trayicon-xubuntu.tar.gz From bugtracker at ...3416... Thu Feb 2 08:31:15 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 02 Feb 2017 07:31:15 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1065: Icon does not appear in tray In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1065&from=L21haW4- ABDUL ZAGIROV added an attachment: trayicon-xubuntu.tar.gz From bugtracker at ...3416... Thu Feb 2 10:23:01 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 02 Feb 2017 09:23:01 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1074: Rdir failed to scan remote directories Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1074&from=L21haW4- Federico ALLEGRETTI reported a new bug. Summary ------- Rdir failed to scan remote directories Type : Bug Priority : Medium Gambas version : 3.9 Product : Language Description ----------- updating Gambas from 3.8.4 (original Ubuntu repositories) to gambas 3.9.2 (gambas team repository), Rdir lost the ability to scan remote mounted folders This code: Public Sub Form_Open() Dim oggetto As String For Each oggetto In RDir("/mnt/Stranamore/Dischi Stranamore 2007", "*.mp3") TextArea1.Text = oggetto & gb.CrLf & TextArea1.Text Next End works with Gambas 3.8.4, but no file was returned with gambas 3.9.2 this code (local folder): Public Sub Form_Open() Dim oggetto As String For Each oggetto In RDir(user.home, "*.mp3") TextArea1.Text = oggetto & gb.CrLf & TextArea1.Text Next End works on both the enviroments. System information ------------------ v1p3r at ...3642...:~$ uname -a Linux linuxbox 4.4.0-59-generic #80-Ubuntu SMP Fri Jan 6 17:47:47 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux v1p3r at ...3642...:~$ lsb_release -a LSB Version: core-9.20160110ubuntu0.2-amd64:core-9.20160110ubuntu0.2-noarch:security-9.20160110ubuntu0.2-amd64:security-9.20160110ubuntu0.2-noarch Distributor ID: Ubuntu Description: Ubuntu 16.04.1 LTS Release: 16.04 Codename: xenial v1p3r at ...3642...:~$ cat /etc/apt/sources.list.d/gambas-team-ubuntu-gambas3-xenial.list deb http://ppa.launchpad.net/gambas-team/gambas3/ubuntu xenial main # deb-src http://ppa.launchpad.net/gambas-team/gambas3/ubuntu xenial main From bugtracker at ...3416... Thu Feb 2 10:27:13 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 02 Feb 2017 09:27:13 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1074: Rdir failed to scan remote directories In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1074&from=L21haW4- Comment #1 by Beno?t MINISINI: Can you post the result of : $ ls -la /mnt/Stranamore Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Thu Feb 2 11:14:57 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 02 Feb 2017 10:14:57 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1075: Make Installation Package fails under Arch Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1075&from=L21haW4- Moviga TECHNOLOGIES reported a new bug. Summary ------- Make Installation Package fails under Arch Type : Bug Priority : Medium Gambas version : 3.9 Product : Unknown Description ----------- I'm trying to make an install package of the Innova 0.1.3 DE under Arch. At the end I am getting: ``` ==> Enters fakeroot environment... ==> Starting package()... install: could not create normal file '/tmp/gambas.1000/6690/archlinux/pkg/innova/usr/share/desktop-directories/desktop-directories/Innova-audio-video.directory': No such file or directory ==> ERROR: An error occured in package(). Terminating... cd '/tmp/gambas.1000/6690/archlinux' cp innova-0.1.3-1*.tar.* '/home/jornmo/InnovaDesktop/archlinux' ======================================== The packages have been successfully created. ``` I translated the messages from Norwegian. The problem seems to be that it tries to create the same directory twice, 'desktop-directories/desktop-directories/' ? System information ------------------ [System] Gambas=3.9.2 OperatingSystem=Linux Kernel=4.4.45-1-lts Architecture=x86_64 Distribution=arch Desktop=KDE5 Theme=Breeze Language=nb_NO.UTF-8 Memory=9901M [Libraries] Cairo=libcairo.so.2.11400.8 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.9 GStreamer=libgstreamer-1.0.so.0.1002.0 GTK+2=libgtk-x11-2.0.so.0.2400.31 GTK+3=libgtk-3.so.0.2200.7 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.66.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.8.0 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=/usr/share/xsessions/plasma DISPLAY=:0 GB_GUI=gb.qt5 GS_LIB=/.fonts GTK_MODULES=canberra-gtk-module HOME= KDE_FULL_SESSION=true KDE_SESSION_UID=1000 KDE_SESSION_VERSION=5 LANG=nb_NO.UTF-8 LANGUAGE=nb_NO.UTF-8 LC_ALL=nb_NO.UTF-8 LOGNAME= MAIL=/var/spool/mail/ MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl PWD= QMLSCENE_DEVICE= QSG_RENDER_LOOP= QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_NO_GLIB=1 SESSION_MANAGER=local/:@/tmp/.ICE-unix/648,unix/:/tmp/.ICE-unix/648 SHELL=/usr/bin/fish SHLVL=1 TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XCURSOR_THEME=breeze_cursors XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=KDE XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 XDG_SESSION_TYPE=x11 XDG_VTNR=1 _=/usr/bin/kwrapper5 From bugtracker at ...3416... Thu Feb 2 11:16:12 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 02 Feb 2017 10:16:12 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1065: Icon does not appear in tray In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1065&from=L21haW4- Comment #5 by Beno?t MINISINI: I installed a fresh Lubuntu from scratch, and I confirm the problem. What happens is that a DBus system tray is apparently registered, so Gambas switches to DBus tray icon mode. But nothing appears on the LXDE notification zone, even if the Gambas program succeeded in registering its icon. So it's weird, and investigation continues... Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Thu Feb 2 11:44:52 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 02 Feb 2017 10:44:52 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1065: Icon does not appear in tray In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1065&from=L21haW4- Comment #6 by Beno?t MINISINI: Is it possible for you to test revision #8081? From bugtracker at ...3416... Thu Feb 2 12:09:07 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 02 Feb 2017 11:09:07 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1074: Rdir failed to scan remote directories In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1074&from=L21haW4- Comment #2 by Federico ALLEGRETTI: v1p3r at ...3642...:~$ ls -la /mnt/Stranamore totale 2180 drwxrwxrwx 2 root root 0 gen 30 12:41 . drwxr-xr-x 5 root root 4096 gen 9 13:20 .. drwxrwxrwx 2 root root 0 set 9 2011 ally_temp drwxrwxrwx 2 root root 0 gen 29 2014 Dischi Stranamore drwxrwxrwx 2 root root 0 feb 1 19:30 Dischi Stranamore 1 drwxrwxrwx 2 root root 0 gen 31 17:56 Dischi Stranamore 2 drwxrwxrwx 2 root root 0 gen 29 2014 Dischi Stranamore 2006 drwxrwxrwx 2 root root 0 gen 29 2014 Dischi Stranamore 2007 drwxrwxrwx 2 root root 0 set 9 2011 Dischi Stranamore 2008 drwxrwxrwx 2 root root 0 gen 29 2014 Dischi Stranamore 2009 drwxrwxrwx 2 root root 0 gen 29 2014 Dischi Stranamore 2010 drwxrwxrwx 2 root root 0 dic 23 2011 Dischi Stranamore 2011 drwxrwxrwx 2 root root 0 gen 29 2014 Dischi Stranamore 2012 drwxrwxrwx 2 root root 0 nov 28 2013 Dischi Stranamore 2013 drwxrwxrwx 2 root root 0 mag 5 2014 Dischi Stranamore 2014 drwxrwxrwx 2 root root 0 nov 17 2015 Dischi Stranamore 2015 drwxrwxrwx 2 root root 0 gen 29 2014 Dischi Stranamore 3 drwxrwxrwx 2 root root 0 gen 29 2014 dischi stranamore - copyleft - NOT TO PROGRAM drwxrwxrwx 2 root root 0 set 9 2011 Dischi Stranamore Creative Commons drwxrwxrwx 2 root root 0 set 9 2011 Dischi stranamore (tamponi) -rwxrwxrwx 1 root root 619758 mar 12 2033 FIDITALIA 12 MARZO.mp3 drwxrwxrwx 2 root root 0 set 9 2011 Free Sound Effects drwxrwxrwx 2 root root 0 set 9 2011 Joy Ride drwxrwxrwx 2 root root 0 set 9 2011 Lavorazioni -rwxrwxrwx 1 root root 1607575 dic 7 2009 libro ivano raf lungo.mp3 drwxrwxrwx 2 root root 0 set 9 2011 NON PROGRAMMARE -rwxrwxrwx 1 root root 185 gen 16 19:35 PRS_OSE_settings.txt drwxrwxrwx 2 root root 0 set 9 2011 Redazione drwxrwxrwx 2 root root 0 dic 24 2014 Spot Stranamore drwxrwxrwx 2 root root 0 set 9 2011 Stranamore_Autopromozione drwxrwxrwx 2 root root 0 nov 29 2013 Stranamore_Autopromozione_2013 drwxrwxrwx 2 root root 0 feb 2 08:51 Stranamore_Database drwxrwxrwx 2 root root 0 nov 14 2011 Stranamore_Database2011 su server2 drwxrwxrwx 2 root root 0 feb 2 11:59 Stranamore_DB_backup drwxrwxrwx 2 root root 0 set 9 2011 Stranamore_Jingles_NO_ROTATION drwxrwxrwx 2 root root 0 feb 1 19:50 Stranamore Notiziario drwxrwxrwx 2 root root 0 set 9 2011 Stranamore_OraEsatta drwxrwxrwx 2 root root 0 set 9 2011 Stranamore_Rubriche From bugtracker at ...3416... Thu Feb 2 12:11:16 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 02 Feb 2017 11:11:16 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1074: Rdir failed to scan remote directories In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1074&from=L21haW4- Comment #3 by Federico ALLEGRETTI: that's the part of fstab to mount the share: #monta lo share di radio stranamore #01 //192.168.1.252/Stranamore /mnt/Stranamore cifs credentials=/root/.credQnap1,iocharset=utf8,file_mode=0777,_netdev,sec=ntlm,dir_mode=0777 0 0 From bugtracker at ...3416... Thu Feb 2 14:34:27 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 02 Feb 2017 13:34:27 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1065: Icon does not appear in tray In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1065&from=L21haW4- Comment #7 by ABDUL ZAGIROV: Yes, but only when the revision will be available through gambas ppa ( https://launchpad.net/~gambas-team/+archive/ubuntu/gambas-daily ). From bugtracker at ...3416... Fri Feb 3 07:43:15 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 03 Feb 2017 06:43:15 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1065: Icon does not appear in tray In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1065&from=L21haW4- Comment #8 by ABDUL ZAGIROV: I prepared a virtual machine on VirtualBox with XUbuntu 16.04.1 32 bit fro testing purposes. Installed Gambas from daily builds ppa. Made test ones more but, unfortunately, no results. From rwe-sse at ...3629... Fri Feb 3 09:01:16 2017 From: rwe-sse at ...3629... (Rolf-Werner Eilert) Date: Fri, 03 Feb 2017 09:01:16 +0100 Subject: [Gambas-user] System.User.Home or User.Home? Message-ID: <589438CC.5040500@...3629...> Just stumbled over this one: System.User.Home and User.Home seem to be the same, or is there a difference? Thank you Rolf From gambas at ...1... Fri Feb 3 09:32:22 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 3 Feb 2017 09:32:22 +0100 Subject: [Gambas-user] System.User.Home or User.Home? In-Reply-To: <589438CC.5040500@...3629...> References: <589438CC.5040500@...3629...> Message-ID: Le 03/02/2017 ? 09:01, Rolf-Werner Eilert a ?crit : > Just stumbled over this one: > > System.User.Home and User.Home seem to be the same, or is there a > difference? > > Thank you > > Rolf > They are exactly the same. Regards, -- Beno?t Minisini From gambas at ...1... Fri Feb 3 09:57:55 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 3 Feb 2017 09:57:55 +0100 Subject: [Gambas-user] play audio trough Jack audio server using ONLY gambas resources In-Reply-To: References: Message-ID: <1cd2bd54-6085-6e61-63d6-b6de76edb432@...1...> Le 27/01/2017 ? 14:23, Federico Allegretti a ?crit : > hello everybody. > Trying to play audio files with GB.MEDIA and his jack audio sink plug in. > > I got gb.media returning media informations (like duration), but no > playback after play. > > ' Gambas class file > > Private Player_A As MediaPlayer 'player che gestira' i media con gb.media > (gstreamer) > Private UscitaAudio As MediaControl 'l'area di rendering dei media > > ...... > > Public Sub Button3_Click() > Player_A = New MediaPlayer As "MediaPlayer" > UscitaAudio = New MediaControl(Player_A, "jackaudiosink") > > Player_A.URL = Media.URL(Label1.Text) > Player_A.Play > > Timer1.Start > > End > > ...... > > in patch bay i cannot see the gambas "client" creation nor cable connected, > like i see if i run in the shell this command: > > gst-launch audiotestsrc ! jackaudiosink > > so i suppose i need a way to create the jack audio client, but cannot > figure out the procedure. > > Thanks for the help. > > Federico > I think you must do: Player_A = New MediaPlayer As "MediaPlayer" UscitaAudio = New MediaControl(Player_A, "jackaudiosink") Player_A.Audio.Output = UscitaAudio Player_A.URL = Media.URL(Label1.Text) Player_A.Play Otherwise I don't think that MediaPlayer can guess what you want to do with your "jackaudiosink" automatically. -- Beno?t Minisini From bugtracker at ...3416... Sun Feb 5 22:47:00 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 05 Feb 2017 21:47:00 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1065: Icon does not appear in tray In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1065&from=L21haW4- Comment #9 by Beno?t MINISINI: Can you try revision #8086? I succeeded in showing tray icons on LXDE by using indicators (Ubuntu tray icon protocol) instead of KDE tray icon protocol. Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Mon Feb 6 14:36:29 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 06 Feb 2017 13:36:29 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1076: Error with FAST Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1076&from=L21haW4- Gianluigi GRADASCHI reported a new bug. Summary ------- Error with FAST Type : Bug Priority : Medium Gambas version : 3.9.90 (TRUNK) Product : JIT compiler Description ----------- If I add "Fast" to the class or to the method, I get an error. See the attached project. System information ------------------ [System] Gambas=3.9.90 r8058 OperatingSystem=Linux Kernel=4.4.0-62-generic Architecture=x86_64 Distribution=Ubuntu 16.04.1 LTS Desktop=UNITY Theme=Cleanlooks Language=it_IT.UTF-8 Memory=15975M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-1.0.so.0.803.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.0.0 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CLUTTER_IM_MODULE=xim COMPIZ_BIN_PATH=/usr/bin/ COMPIZ_CONFIG_PROFILE=ubuntu DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-nsNllAtaPe DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path DESKTOP_SESSION=ubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=ubuntu GDM_LANG=it GIO_LAUNCHED_DESKTOP_FILE=/home//.local/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=6790 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL= GNOME_KEYRING_PID= GPG_AGENT_INFO=/home//.gnupg/S.gpg-agent:0:1 GTK2_MODULES=overlay-scrollbar GTK_IM_MODULE=ibus GTK_MODULES=gail:atk-bridge:unity-gtk-module HOME=/home/ IM_CONFIG_PHASE=1 INSTANCE= JOB=unity-settings-daemon LANG=it_IT.UTF-8 LANGUAGE=it LOGNAME= MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path PATH=/home//bin:/home//.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD=/home/ QT4_IM_MODULE=xim QT_ACCESSIBILITY=1 QT_IM_MODULE=ibus QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_QPA_PLATFORMTHEME=appmenu-qt5 SESSION=ubuntu SESSIONTYPE=gnome-session SESSION_MANAGER=local/:@/tmp/.ICE-unix/1513,unix/:/tmp/.ICE-unix/1513 SHELL=/bin/bash SHLVL=0 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime UPSTART_EVENTS=xsession started UPSTART_INSTANCE= UPSTART_JOB=unity7 UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1298 USER= XAUTHORITY=/home//.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg XDG_CURRENT_DESKTOP=Unity XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=gnome- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=ubuntu XDG_SESSION_ID=c1 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 XMODIFIERS=@...3498...=ibus From bugtracker at ...3416... Mon Feb 6 14:36:59 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 06 Feb 2017 13:36:59 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1076: Error with FAST In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1076&from=L21haW4- Gianluigi GRADASCHI added an attachment: SortCasualNunbers-FAST-0.0.1.tar.gz From Karl.Reinl at ...2345... Mon Feb 6 15:08:30 2017 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Mon, 06 Feb 2017 15:08:30 +0100 Subject: [Gambas-user] dynamic created Menus Message-ID: <1486390110.4147.5.camel@...3609...> Salut, how can I use dynamic created Menus, when they are made outside the Form. I expanded an example from Gianluigi to show what I want. The problem is, the Click event is not fired, if the menu is not created in the forms class. -------------- next part -------------- A non-text attachment was scrubbed... Name: MenuGroupTag-0.0.2.tar.gz Type: application/x-compressed-tar Size: 11978 bytes Desc: not available URL: From gambas.fr at ...626... Mon Feb 6 15:36:52 2017 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 6 Feb 2017 15:36:52 +0100 Subject: [Gambas-user] dynamic created Menus In-Reply-To: <1486390110.4147.5.camel@...3609...> References: <1486390110.4147.5.camel@...3609...> Message-ID: I think the good way is this one :-) Public Sub AddMenuFromOutsideForm(hMenu As Menu) Dim hMenuItem As Object Dim hParent As Object = Object.Parent(hMenu) hMenuItem = New Menu(hMenu) hMenuItem = New Menu(hMenu) Object.Attach(hMenuItem, hParent, "mnu_this_dont_work") hMenuItem.Text = "this don't work" hMenuItem = New Menu(hMenu) Object.Attach(hMenuItem, hParent, "mnu_this_dont_work") hMenuItem.Text = "this also don't work'" End First find the class that handle menus events with object.parent on the given menu container. then attach the new menu events to the same class instance with object.attach. 2017-02-06 15:08 GMT+01:00 Charlie Reinl : > Salut, > > how can I use dynamic created Menus, when they are made outside the > Form. > I expanded an example from Gianluigi to show what I want. > The problem is, the Click event is not fired, if the menu is not created > in the forms class. > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From bagonergi at ...626... Mon Feb 6 18:22:50 2017 From: bagonergi at ...626... (Gianluigi) Date: Mon, 6 Feb 2017 18:22:50 +0100 Subject: [Gambas-user] dynamic created Menus In-Reply-To: References: <1486390110.4147.5.camel@...3609...> Message-ID: As you can dynamically assign a shortcut? This code do not work: hMenuItem.Text = Shortcut("this works", "{[Alt_R]t}") Regards Gianluigi 2017-02-06 15:36 GMT+01:00 Fabien Bodard : > I think the good way is this one :-) > > Public Sub AddMenuFromOutsideForm(hMenu As Menu) > Dim hMenuItem As Object > Dim hParent As Object = Object.Parent(hMenu) > > hMenuItem = New Menu(hMenu) > hMenuItem = New Menu(hMenu) > Object.Attach(hMenuItem, hParent, "mnu_this_dont_work") > hMenuItem.Text = "this don't work" > hMenuItem = New Menu(hMenu) > Object.Attach(hMenuItem, hParent, "mnu_this_dont_work") > hMenuItem.Text = "this also don't work'" > > End > > > First find the class that handle menus events with object.parent on > the given menu container. > > then attach the new menu events to the same class instance with > object.attach. > > 2017-02-06 15:08 GMT+01:00 Charlie Reinl : > > Salut, > > > > how can I use dynamic created Menus, when they are made outside the > > Form. > > I expanded an example from Gianluigi to show what I want. > > The problem is, the Click event is not fired, if the menu is not created > > in the forms class. > > > > > > > > ------------------------------------------------------------ > ------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > -- > Fabien Bodard > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From charlie at ...2793... Mon Feb 6 17:04:13 2017 From: charlie at ...2793... (Charlie) Date: Mon, 6 Feb 2017 09:04:13 -0700 (MST) Subject: [Gambas-user] dynamic created Menus In-Reply-To: References: <1486390110.4147.5.camel@...3609...> Message-ID: <1486397053312-58401.post@...3046...> Have a look at the code attached, the menu and menu items are all created in code. I think this will do what you need. MenuExample.tar Hope it helps. ----- Check out www.gambas.one -- View this message in context: http://gambas.8142.n7.nabble.com/dynamic-created-Menus-tp58398p58401.html Sent from the gambas-user mailing list archive at Nabble.com. From bagonergi at ...626... Mon Feb 6 22:07:25 2017 From: bagonergi at ...626... (Gianluigi) Date: Mon, 6 Feb 2017 22:07:25 +0100 Subject: [Gambas-user] dynamic created Menus In-Reply-To: <1486397053312-58401.post@...3046...> References: <1486390110.4147.5.camel@...3609...> <1486397053312-58401.post@...3046...> Message-ID: Hi Charlie, thank you for the answer. Unfortunately, If I understand correctly, your example does not answer to my needs nor that of Karl. Regards Gianluigi 2017-02-06 17:04 GMT+01:00 Charlie : > Have a look at the code attached, the menu and menu items are all created > in > code. I think this will do what you need. > > MenuExample.tar > > Hope it helps. > > > > ----- > Check out www.gambas.one > -- > View this message in context: http://gambas.8142.n7.nabble. > com/dynamic-created-Menus-tp58398p58401.html > Sent from the gambas-user mailing list archive at Nabble.com. > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From scribe at ...3643... Mon Feb 6 22:23:36 2017 From: scribe at ...3643... (Riccardo) Date: Mon, 6 Feb 2017 22:23:36 +0100 (CET) Subject: [Gambas-user] Sort multidimensional array? References: Message-ID: Hi, Is it possible to use the array.sort() method on a two-dimensional array? ? > ??????? Public arr_Response As New String[][] > Specifically, I'd like to sort the entire array based on the contents of the second column something like: arr_Response[][1].sort() ... ?cheers. From scribe at ...3643... Mon Feb 6 22:24:17 2017 From: scribe at ...3643... (Riccardo) Date: Mon, 6 Feb 2017 22:24:17 +0100 (CET) Subject: [Gambas-user] Array data to Gridview? References: Message-ID: Hi, > I have a multidimensional array with 32,000 records. It takes quite a while to load this into a Gridview, and even longer if I provide the user with some feedback during the process (an updating label, a progress bar and so on...). ? > Is there a faster way to load the array data into the Gridview? Currently, I'm iterating over the array and updating the Gridview cell by cell. Should I hide the Gridview during this process? > > For i = 1 To arr_Response.Length - 1 > ??? For j = 0 To arr_Response[i].Length - 1 > ????? grd_Response[i - 1, j].Text = arr_Response[i][j] > ??? Next > Next > > cheers. > > From matti.eber at ...3240... Mon Feb 6 23:26:59 2017 From: matti.eber at ...3240... (Matti) Date: Mon, 6 Feb 2017 23:26:59 +0100 Subject: [Gambas-user] Sort multidimensional array? In-Reply-To: References: Message-ID: Hi Riccardo, this is a question I had long years ago. At this time it was not possible. As I remember, I used a dirty workaround, reducing the two-dimensionsional array by inserting a "/" to a one-dimensional array, sorting it and removing the "/" later. Depends on what array you have to sort. Example for the workaround is attatched. Look at the FMain 'mnuSortA' and 'mnuSortT' Subs. Hope this helps, but I'm really not up to date. Matti Am 06.02.2017 um 22:23 schrieb Riccardo: > Hi, > > Is it possible to use the array.sort() method on a two-dimensional array? > > > > > >> Public arr_Response As New String[][] >> > > > > Specifically, I'd like to sort the entire array based on the contents of the second column something like: arr_Response[][1].sort() ... > > > > > cheers. > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -------------- next part -------------- A non-text attachment was scrubbed... Name: Lighttable-0.2.23.tar.gz Type: application/x-gzip Size: 47200 bytes Desc: not available URL: From taboege at ...626... Tue Feb 7 00:30:52 2017 From: taboege at ...626... (Tobias Boege) Date: Tue, 7 Feb 2017 00:30:52 +0100 Subject: [Gambas-user] Sort multidimensional array? In-Reply-To: References: Message-ID: <20170206233052.GA581@...3600...> On Mon, 06 Feb 2017, Riccardo wrote: > Hi, > > Is it possible to use the array.sort() method on a two-dimensional array? > > > > ? > > > ??????? Public arr_Response As New String[][] > > > > > > > Specifically, I'd like to sort the entire array based on the contents of the second column something like: arr_Response[][1].sort() ... > You can call String[][].Sort() but the result will probably not be what you expect. First of all, you have to understand how Gambas handles the type of multi-dimensional array you're using. I have given more explanations of this on this list and elsewhere than I can recount, but I'll do it another time. (I'll type it out anew; search the mailing list archive if you want to see previous versions of the explanation.) The Gambas interpreter can derive array data types from any given data type at runtime. Say "X" is any data type that's currently known to the interpreter (at runtime), then, if you use "X[]" like a data type in your Gambas code, the interpreter will notice that "X[]" is made of the known data type "X" and a pair of brackets and use a code template to create and register a new data type, which is "array of X". "X[]" is a data type created on the fly for storing an array of objects of type "X". The type "String[]" is built-in into the interpreter, but if you use "String[][]", the mechanics desribed above are invoked. "String[][]" is a new data type created from a code templates stored inside the interpreter. This template is, if you care to look at the sources, is really just reusing the methods of the "Object[]" class. This means "String[][]" is an "Object[]" which expects to contain elements of type "String[]" -- nothing more. This finally explains why String[][].Sort() does not do anything sensible. Since the Sort() method comes directly from the "Object[]" class, the sorting is done by comparing memory addresses of the "String[]" elements. It does not look at the Strings one layer further down. So what about your problem? I would advise that you ditch the String[]. Define a new class "MyResponse" or something, so that you can declare your array as Public arr_Response As New MyResponse[] The advantage is that in your own MyResponse class you can implement the _compare() special method [1] to compare two MyResponse objects by using the second field in the response array, as you originally intended. After you implement the _compare() method, the Response[].Sort() method will sort properly. See also this old project [2] in German, where we demonstrate how to sort GridViews (vastly generic, but with some restrictions) using the very same method. There, the column at which to sort can be specified at runtime. Note that the version of the project on this site uses a *bad practice* of inheriting Variant[] instead of creating your own class. (There may be other shortcomings in that project which I don't remember off-hand.) Regards, Tobi [1] http://gambaswiki.org/wiki/lang/special/compare [2] http://www.gambas-buch.de/dw/doku.php?id=k17:k17.7:k17.7.4:start -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Tue Feb 7 00:33:05 2017 From: taboege at ...626... (Tobias Boege) Date: Tue, 7 Feb 2017 00:33:05 +0100 Subject: [Gambas-user] Array data to Gridview? In-Reply-To: References: Message-ID: <20170206233305.GB581@...3600...> On Mon, 06 Feb 2017, Riccardo wrote: > Hi, > > > > > > > > I have a multidimensional array with 32,000 records. It takes quite a while to load this into a Gridview, and even longer if I provide the user with some feedback during the process (an updating label, a progress bar and so on...). > > ? > > > Is there a faster way to load the array data into the Gridview? Currently, I'm iterating over the array and updating the Gridview cell by cell. Should I hide the Gridview during this process? > > > > For i = 1 To arr_Response.Length - 1 > > ??? For j = 0 To arr_Response[i].Length - 1 > > ????? grd_Response[i - 1, j].Text = arr_Response[i][j] > > ??? Next > > Next > > > > cheers. > > Look into the Data event of GridView. According to the documentation [1]: You can fill the grid explicitly, or implement the Data event to display the grid contents on demand. You should use the last method if you have a lot of rows to display. The control can handle millions of lines gracefully. Regards, Tobi [1] http://gambaswiki.org/wiki/comp/gb.qt4/gridview -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bugtracker at ...3416... Tue Feb 7 01:22:07 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 07 Feb 2017 00:22:07 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #947: Can't compile gb.jit with 3.5.2 version In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.947&from=L21haW4- Comment #7 by Beno?t MINISINI: It should be fixed in revision #8088. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Tue Feb 7 01:23:29 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 07 Feb 2017 00:23:29 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #961: Compile error at gb.jit In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.961&from=L21haW4- Comment #10 by Beno?t MINISINI: It should be fixed in revision #8088. Beno?t MINISINI changed the state of the bug to: Fixed. From rwe-sse at ...3629... Tue Feb 7 08:41:15 2017 From: rwe-sse at ...3629... (Rolf-Werner Eilert) Date: Tue, 07 Feb 2017 08:41:15 +0100 Subject: [Gambas-user] Array data to Gridview? In-Reply-To: References: Message-ID: <58997A1B.6010505@...3629...> Hi Riccardo, just use the DATA event for the Gridview. In short: You just define the number of Columns and Rows for the Gridview. As soon as you define the Rows, the Gridview will begin to load the contents for the cells by jumping into the Data event over and over again. You only have to make sure that for every Row there are data somewhere in the program or make sure that if there are no data yet, there is some code in the Data event which controls that. All other code for displaying the contents in the cells is in the Data event. The Data event will also be jumped in when the user scrolls the table. The Gridview will only load the part of the Gridview which is visible. Or when the user clicks on the form or makes it come to the front. That means, besides from providing the cell data you don't have to care about anything, and it is extremely fast. Regards Rolf Am 06.02.2017 22:24, schrieb Riccardo: > Hi, > > > > > > >> I have a multidimensional array with 32,000 records. It takes quite a while to load this into a Gridview, and even longer if I provide the user with some feedback during the process (an updating label, a progress bar and so on...). > > > >> Is there a faster way to load the array data into the Gridview? Currently, I'm iterating over the array and updating the Gridview cell by cell. Should I hide the Gridview during this process? >> >> For i = 1 To arr_Response.Length - 1 >> For j = 0 To arr_Response[i].Length - 1 >> grd_Response[i - 1, j].Text = arr_Response[i][j] >> Next >> Next >> >> cheers. >> >> > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From bagonergi at ...626... Tue Feb 7 09:58:40 2017 From: bagonergi at ...626... (Gianluigi) Date: Tue, 7 Feb 2017 09:58:40 +0100 Subject: [Gambas-user] Sort multidimensional array? In-Reply-To: <20170206233052.GA581@...3600...> References: <20170206233052.GA581@...3600...> Message-ID: Hi Richard, See my project DynamicMatrixExample, in Examples of Gambas Software Farm Regards Gianluigi 2017-02-07 0:30 GMT+01:00 Tobias Boege : > On Mon, 06 Feb 2017, Riccardo wrote: > > Hi, > > > > Is it possible to use the array.sort() method on a two-dimensional array? > > > > > > > > > > > > > Public arr_Response As New String[][] > > > > > > > > > > > > > Specifically, I'd like to sort the entire array based on the contents of > the second column something like: arr_Response[][1].sort() ... > > > > You can call String[][].Sort() but the result will probably not be what you > expect. First of all, you have to understand how Gambas handles the type of > multi-dimensional array you're using. I have given more explanations of > this > on this list and elsewhere than I can recount, but I'll do it another time. > (I'll type it out anew; search the mailing list archive if you want to see > previous versions of the explanation.) > > The Gambas interpreter can derive array data types from any given data type > at runtime. Say "X" is any data type that's currently known to the > interpreter > (at runtime), then, if you use "X[]" like a data type in your Gambas code, > the interpreter will notice that "X[]" is made of the known data type "X" > and a pair of brackets and use a code template to create and register a new > data type, which is "array of X". "X[]" is a data type created on the fly > for storing an array of objects of type "X". > > The type "String[]" is built-in into the interpreter, but if you use > "String[][]", the mechanics desribed above are invoked. "String[][]" is a > new data type created from a code templates stored inside the interpreter. > This template is, if you care to look at the sources, is really just > reusing > the methods of the "Object[]" class. > > This means "String[][]" is an "Object[]" which expects to contain elements > of type "String[]" -- nothing more. This finally explains why > String[][].Sort() does not do anything sensible. Since the Sort() method > comes directly from the "Object[]" class, the sorting is done by comparing > memory addresses of the "String[]" elements. It does not look at the > Strings > one layer further down. > > So what about your problem? I would advise that you ditch the String[]. > Define a new class "MyResponse" or something, so that you can declare your > array as > > Public arr_Response As New MyResponse[] > > The advantage is that in your own MyResponse class you can implement the > _compare() special method [1] to compare two MyResponse objects by using > the second field in the response array, as you originally intended. > > After you implement the _compare() method, the Response[].Sort() method > will sort properly. See also this old project [2] in German, where we > demonstrate how to sort GridViews (vastly generic, but with some > restrictions) > using the very same method. There, the column at which to sort can be > specified at runtime. Note that the version of the project on this site > uses a *bad practice* of inheriting Variant[] instead of creating your > own class. (There may be other shortcomings in that project which I don't > remember off-hand.) > > Regards, > Tobi > > [1] http://gambaswiki.org/wiki/lang/special/compare > [2] http://www.gambas-buch.de/dw/doku.php?id=k17:k17.7:k17.7.4:start > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Tue Feb 7 10:05:14 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 07 Feb 2017 09:05:14 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1065: Icon does not appear in tray In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1065&from=L21haW4- Comment #10 by Abdul ZAGIROV: Tried new revision and it works in Ubuntu, KUbuntu and LUbuntu. But the problem still exists in XUbuntu. From rwe-sse at ...3629... Tue Feb 7 10:55:01 2017 From: rwe-sse at ...3629... (Rolf-Werner Eilert) Date: Tue, 07 Feb 2017 10:55:01 +0100 Subject: [Gambas-user] Sort multidimensional array? In-Reply-To: References: Message-ID: <58999975.3020804@...3629...> Hi Matti, I don't find your method so dirty - I have used it a lot of times myself. And I use it in table-like arrays with more than 2 columns, all as strings. However, I use a character which does not appear in normal strings, like TAB (chr$(9)) or chr$(6). To pack and unpack a single line, I use Split and Join which work so incredibly fast they can be used within milliseconds over thousands of strings. As my rule of thumb, when I have a fixed number of columns, I make a number of named one-dimensional arrays, one for each column. If the number of columns is not known, I make a single one-dimensional array of strings and split the columns as described above. Regards Rolf Am 06.02.2017 23:26, schrieb Matti: > Hi Riccardo, > > this is a question I had long years ago. At this time it was not possible. > As I remember, I used a dirty workaround, reducing the > two-dimensionsional array by inserting a "/" to a one-dimensional array, > sorting it and removing the "/" later. > > Depends on what array you have to sort. > > Example for the workaround is attatched. Look at the FMain 'mnuSortA' > and 'mnuSortT' Subs. > > Hope this helps, but I'm really not up to date. > > Matti > > Am 06.02.2017 um 22:23 schrieb Riccardo: >> Hi, >> >> Is it possible to use the array.sort() method on a two-dimensional array? >> >> >> >> >>> Public arr_Response As New String[][] >>> >> >> >> >> Specifically, I'd like to sort the entire array based on the contents >> of the second column something like: arr_Response[][1].sort() ... >> >> >> >> >> cheers. >> >> ------------------------------------------------------------------------------ >> >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From karl.reinl at ...9... Tue Feb 7 11:37:50 2017 From: karl.reinl at ...9... (Karl Reinl) Date: Tue, 07 Feb 2017 11:37:50 +0100 Subject: [Gambas-user] dynamic created Menus In-Reply-To: References: <1486390110.4147.5.camel@...3609...> Message-ID: <1486463870.4160.1.camel@...3609...> Am Montag, den 06.02.2017, 15:36 +0100 schrieb Fabien Bodard: > I think the good way is this one :-) > > Public Sub AddMenuFromOutsideForm(hMenu As Menu) > Dim hMenuItem As Object > Dim hParent As Object = Object.Parent(hMenu) > > hMenuItem = New Menu(hMenu) > hMenuItem = New Menu(hMenu) > Object.Attach(hMenuItem, hParent, "mnu_this_dont_work") > hMenuItem.Text = "this don't work" > hMenuItem = New Menu(hMenu) > Object.Attach(hMenuItem, hParent, "mnu_this_dont_work") > hMenuItem.Text = "this also don't work'" > > End > > > First find the class that handle menus events with object.parent on > the given menu container. > > then attach the new menu events to the same class instance with object.attach. > > 2017-02-06 15:08 GMT+01:00 Charlie Reinl : > > Salut, > > > > how can I use dynamic created Menus, when they are made outside the > > Form. > > I expanded an example from Gianluigi to show what I want. > > The problem is, the Click event is not fired, if the menu is not created > > in the forms class. > > Salut Fabien, it does what I wanna do, thanks -- Amicalement Charlie From charlie at ...2793... Tue Feb 7 13:29:07 2017 From: charlie at ...2793... (Charlie) Date: Tue, 7 Feb 2017 05:29:07 -0700 (MST) Subject: [Gambas-user] dynamic created Menus In-Reply-To: References: <1486390110.4147.5.camel@...3609...> <1486397053312-58401.post@...3046...> Message-ID: <1486470547997-58415.post@...3046...> Karl seems happy now. I have modified the program for you Gianluigi, does this do what you want? MenuExample.tar ----- Check out www.gambas.one -- View this message in context: http://gambas.8142.n7.nabble.com/dynamic-created-Menus-tp58398p58415.html Sent from the gambas-user mailing list archive at Nabble.com. From bagonergi at ...626... Tue Feb 7 22:23:20 2017 From: bagonergi at ...626... (Gianluigi) Date: Tue, 7 Feb 2017 22:23:20 +0100 Subject: [Gambas-user] dynamic created Menus In-Reply-To: <1486470547997-58415.post@...3046...> References: <1486390110.4147.5.camel@...3609...> <1486397053312-58401.post@...3046...> <1486470547997-58415.post@...3046...> Message-ID: Hello Charlie, Your project does exactly what I wanted. Thank you very much Regards Gianluigi 2017-02-07 13:29 GMT+01:00 Charlie : > Karl seems happy now. I have modified the program for you Gianluigi, does > this do what you want? > > MenuExample.tar > > > > > ----- > Check out www.gambas.one > -- > View this message in context: http://gambas.8142.n7.nabble. > com/dynamic-created-Menus-tp58398p58415.html > Sent from the gambas-user mailing list archive at Nabble.com. > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From scribe at ...3643... Tue Feb 7 20:28:51 2017 From: scribe at ...3643... (novae_lithic) Date: Tue, 7 Feb 2017 12:28:51 -0700 (MST) Subject: [Gambas-user] Sort multidimensional array? In-Reply-To: <20170206233052.GA581@...3600...> References: <20170206233052.GA581@...3600...> Message-ID: <1486495731588-58416.post@...3046...> Thank you very much, Tobi, for the insights, and the link to the "GridView ? Sortierung der Daten" Based on that I tried to implement the following, to test the concept. But the values for the rows (B) are the same in all cases (always 0 ...) as if the variable "i" wasn't incrementing in the loop (but it is). What am I missing...where have I gone wrong? / Dim A As New Variant[] Dim B As New Variant[] Dim i, j As Integer For i = 0 To 9 For j = 0 To 19 B.Add((ij)) Next A.Add(B) Next / -- View this message in context: http://gambas.8142.n7.nabble.com/Sort-multidimensional-array-tp58403p58416.html Sent from the gambas-user mailing list archive at Nabble.com. From scribe at ...3643... Tue Feb 7 20:48:24 2017 From: scribe at ...3643... (novae_lithic) Date: Tue, 7 Feb 2017 12:48:24 -0700 (MST) Subject: [Gambas-user] Sort multidimensional array? In-Reply-To: References: Message-ID: <1486496904589-58419.post@...3046...> Hi Matti, Thank you for your response. I had been considering a similar approach, as it allows me to leave out the columns I wouldn't need. So it's great to see your robust implementation of it. cheers. -- View this message in context: http://gambas.8142.n7.nabble.com/Sort-multidimensional-array-tp58403p58419.html Sent from the gambas-user mailing list archive at Nabble.com. From scribe at ...3643... Tue Feb 7 20:33:24 2017 From: scribe at ...3643... (novae_lithic) Date: Tue, 7 Feb 2017 12:33:24 -0700 (MST) Subject: [Gambas-user] Sort multidimensional array? In-Reply-To: <1486495731588-58416.post@...3046...> References: <20170206233052.GA581@...3600...> <1486495731588-58416.post@...3046...> Message-ID: Note the typo, it should read "B.Add(i)" ... the problem persists either way 7. Feb 2017 20:28 by ml-node+s8142n58416h34 at ...3046...: > Thank you very much, Tobi, for the insights, and the link to the "GridView ? Sortierung der Daten" > > Based on that I tried to implement the following, to test the concept. But the values for the rows (B) are the same in all cases (always 0 ...) as if the variable "i" wasn't incrementing in the loop (but it is). > > What am I missing...where have I gone wrong? > > ? Dim A As New Variant[] > ? Dim B As New Variant[] > ? Dim i, j As Integer > ? > ? For i = 0 To 9 > ? ? For j = 0 To 19 > ? ? ? B.Add((ij)) > ? ? Next > ? ? A.Add(B) > ? Next > > > > > > If you reply to this email, your message will be added to the discussion below:> > http://gambas.8142.n7.nabble.com/Sort-multidimensional-array-tp58403p58416.html> > > To unsubscribe from Sort multidimensional array?, > click here> . > > NAML> -- View this message in context: http://gambas.8142.n7.nabble.com/Sort-multidimensional-array-tp58403p58417.html Sent from the gambas-user mailing list archive at Nabble.com. From scribe at ...3643... Tue Feb 7 20:50:15 2017 From: scribe at ...3643... (novae_lithic) Date: Tue, 7 Feb 2017 12:50:15 -0700 (MST) Subject: [Gambas-user] Sort multidimensional array? In-Reply-To: References: <20170206233052.GA581@...3600...> Message-ID: <1486497015368-58420.post@...3046...> Thank you Gianluigi - your DynamicMatrixExmaple was one of the first I explored when starting with Gambas - it's a very useful learning aid. cheers. -- View this message in context: http://gambas.8142.n7.nabble.com/Sort-multidimensional-array-tp58403p58420.html Sent from the gambas-user mailing list archive at Nabble.com. From karl.reinl at ...9... Tue Feb 7 23:41:15 2017 From: karl.reinl at ...9... (Karl Reinl) Date: Tue, 07 Feb 2017 23:41:15 +0100 Subject: [Gambas-user] dynamic created Menus In-Reply-To: References: <1486390110.4147.5.camel@...3609...> Message-ID: <1486507275.4164.6.camel@...3609...> Am Montag, den 06.02.2017, 15:36 +0100 schrieb Fabien Bodard: > I think the good way is this one :-) > > Public Sub AddMenuFromOutsideForm(hMenu As Menu) > Dim hMenuItem As Object > Dim hParent As Object = Object.Parent(hMenu) > > hMenuItem = New Menu(hMenu) > hMenuItem = New Menu(hMenu) > Object.Attach(hMenuItem, hParent, "mnu_this_dont_work") > hMenuItem.Text = "this don't work" > hMenuItem = New Menu(hMenu) > Object.Attach(hMenuItem, hParent, "mnu_this_dont_work") > hMenuItem.Text = "this also don't work'" > > End > > > First find the class that handle menus events with object.parent on > the given menu container. > > then attach the new menu events to the same class instance with object.attach. > > 2017-02-06 15:08 GMT+01:00 Charlie Reinl : > > Salut, > > > > how can I use dynamic created Menus, when they are made outside the > > Form. > > I expanded an example from Gianluigi to show what I want. > > The problem is, the Click event is not fired, if the menu is not created > > in the forms class. > > Salut, Fabien, gave me a solution for my problem. But I do not understand why I can attach Items to the menu, but not their events? -- Amicalement Charlie From jussi.lahtinen at ...626... Tue Feb 7 23:58:00 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 8 Feb 2017 00:58:00 +0200 Subject: [Gambas-user] Sort multidimensional array? In-Reply-To: <1486495731588-58416.post@...3046...> References: <20170206233052.GA581@...3600...> <1486495731588-58416.post@...3046...> Message-ID: Not sure what you are trying to do, but you just keep on adding things to array B, and then adding the same reference of that array to array A. Maybe you instead wanted this: Dim A As New Variant[] Dim B As Variant[] Dim i, j As Integer For i = 0 To 9 B = New Variant[] For j = 0 To 19 B.Add(i) Next A.Add(B) Next Jussi On Tue, Feb 7, 2017 at 9:28 PM, novae_lithic wrote: > Dim A As New Variant[] > Dim B As New Variant[] > Dim i, j As Integer > > For i = 0 To 9 > For j = 0 To 19 > B.Add((ij)) > Next > A.Add(B) > Next / > From bagonergi at ...626... Wed Feb 8 14:25:10 2017 From: bagonergi at ...626... (Gianluigi) Date: Wed, 8 Feb 2017 14:25:10 +0100 Subject: [Gambas-user] dynamic created Menus In-Reply-To: <1486507275.4164.6.camel@...3609...> References: <1486390110.4147.5.camel@...3609...> <1486507275.4164.6.camel@...3609...> Message-ID: Hi Karl, If you want to work with events, you should use a class. See attached example. Regards Gianluigi 2017-02-07 23:41 GMT+01:00 Karl Reinl : > Am Montag, den 06.02.2017, 15:36 +0100 schrieb Fabien Bodard: > > I think the good way is this one :-) > > > > Public Sub AddMenuFromOutsideForm(hMenu As Menu) > > Dim hMenuItem As Object > > Dim hParent As Object = Object.Parent(hMenu) > > > > hMenuItem = New Menu(hMenu) > > hMenuItem = New Menu(hMenu) > > Object.Attach(hMenuItem, hParent, "mnu_this_dont_work") > > hMenuItem.Text = "this don't work" > > hMenuItem = New Menu(hMenu) > > Object.Attach(hMenuItem, hParent, "mnu_this_dont_work") > > hMenuItem.Text = "this also don't work'" > > > > End > > > > > > First find the class that handle menus events with object.parent on > > the given menu container. > > > > then attach the new menu events to the same class instance with > object.attach. > > > > 2017-02-06 15:08 GMT+01:00 Charlie Reinl : > > > Salut, > > > > > > how can I use dynamic created Menus, when they are made outside the > > > Form. > > > I expanded an example from Gianluigi to show what I want. > > > The problem is, the Click event is not fired, if the menu is not > created > > > in the forms class. > > > > > Salut, > > Fabien, gave me a solution for my problem. But I do not understand why I > can attach Items to the menu, but not their events? > -- > Amicalement > Charlie > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- A non-text attachment was scrubbed... Name: MenuGroupTagWithClasse-0.0.2.tar.gz Type: application/x-gzip Size: 11952 bytes Desc: not available URL: From bagonergi at ...626... Wed Feb 8 14:50:51 2017 From: bagonergi at ...626... (Gianluigi) Date: Wed, 8 Feb 2017 14:50:51 +0100 Subject: [Gambas-user] dynamic created Menus In-Reply-To: References: <1486390110.4147.5.camel@...3609...> <1486507275.4164.6.camel@...3609...> Message-ID: While should not, it work also in a Module. ' Gambas module file Public Sub AddMenuFromOutsideForm(hMenu As Menu) Dim hMenuItem As Object hMenuItem = New Menu(hMenu) As "mnCharacters" hMenuItem.Text = "this don't work" hMenuItem.Tag = "This do not work" hMenuItem = New Menu(hMenu) As "mnCharacters" hMenuItem.Text = "this also don't work'" hMenuItem.Tag = "Also this do not work" End Public Sub mnCharacters_Click() Print Last.tag & " - " & Last.Text End 2017-02-08 14:25 GMT+01:00 Gianluigi : > Hi Karl, > > If you want to work with events, you should use a class. > See attached example. > > Regards > > Gianluigi > > 2017-02-07 23:41 GMT+01:00 Karl Reinl : > >> Am Montag, den 06.02.2017, 15:36 +0100 schrieb Fabien Bodard: >> > I think the good way is this one :-) >> > >> > Public Sub AddMenuFromOutsideForm(hMenu As Menu) >> > Dim hMenuItem As Object >> > Dim hParent As Object = Object.Parent(hMenu) >> > >> > hMenuItem = New Menu(hMenu) >> > hMenuItem = New Menu(hMenu) >> > Object.Attach(hMenuItem, hParent, "mnu_this_dont_work") >> > hMenuItem.Text = "this don't work" >> > hMenuItem = New Menu(hMenu) >> > Object.Attach(hMenuItem, hParent, "mnu_this_dont_work") >> > hMenuItem.Text = "this also don't work'" >> > >> > End >> > >> > >> > First find the class that handle menus events with object.parent on >> > the given menu container. >> > >> > then attach the new menu events to the same class instance with >> object.attach. >> > >> > 2017-02-06 15:08 GMT+01:00 Charlie Reinl : >> > > Salut, >> > > >> > > how can I use dynamic created Menus, when they are made outside the >> > > Form. >> > > I expanded an example from Gianluigi to show what I want. >> > > The problem is, the Click event is not fired, if the menu is not >> created >> > > in the forms class. >> > > >> >> Salut, >> >> Fabien, gave me a solution for my problem. But I do not understand why I >> can attach Items to the menu, but not their events? >> -- >> Amicalement >> Charlie >> >> >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From charlie at ...2793... Thu Feb 9 16:59:01 2017 From: charlie at ...2793... (Charlie) Date: Thu, 9 Feb 2017 08:59:01 -0700 (MST) Subject: [Gambas-user] Sort multidimensional array? In-Reply-To: References: <20170206233052.GA581@...3600...> <1486495731588-58416.post@...3046...> Message-ID: <1486655941391-58426.post@...3046...> I played with this problem and came up with the attached. Hope it helps sort_second_array.tar ----- Check out www.gambas.one -- View this message in context: http://gambas.8142.n7.nabble.com/Sort-multidimensional-array-tp58403p58426.html Sent from the gambas-user mailing list archive at Nabble.com. From bugtracker at ...3416... Sat Feb 11 02:01:18 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 11 Feb 2017 01:01:18 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1058: Gambas Rnd (Web programming) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1058&from=L21haW4- Comment #3 by Beno?t MINISINI: It should be fixed in revision #8089. Beno?t MINISINI changed the state of the bug to: Fixed. From jussi.lahtinen at ...626... Sun Feb 12 21:16:14 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 12 Feb 2017 22:16:14 +0200 Subject: [Gambas-user] What has happened to Dialog.SaveFile ?? Message-ID: Hi! See the attached project. Go to menu; File --> Backup / Restore Alarms and select Backup alarms. If the file exist already I will get strange translation (not the one I made!). And when I try to over write the existing file I will get "too many arguments". This used to work, but not with some of the latest revisions. Not sure when it broke / changed..? Jussi [System] Gambas=3.9.90 r8089 OperatingSystem=Linux Kernel=3.19.0-32-generic Architecture=x86_64 Distribution=Linux Mint 17.3 Rosa Desktop=CINNAMON Theme=Gtk Language=en_US.UTF-8 Memory=7984M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CLUTTER_BACKEND=x11 CLUTTER_IM_MODULE=xim DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-7pABt6Xr9V,guid=b36d88bd8a27ba4901be0e2958a07d67 DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path DESKTOP_SESSION=cinnamon DISPLAY=:0.0 GB_GUI=gb.qt4 GB_PROFILE_MAX=1000 GDMSESSION=cinnamon GDM_XSERVER_LOCATION=local GIO_LAUNCHED_DESKTOP_FILE=/Desktop/Gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=4813 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL=/run/user/1000/keyring-rpEEXv GPG_AGENT_INFO=/run/user/1000/keyring-rpEEXv/gpg:0:1 GTK_IM_MODULE=xim HOME= INSIDE_NEMO_PYTHON= LANG=en_US.UTF-8 LC_ADDRESS=fi_FI.UTF-8 LC_IDENTIFICATION=fi_FI.UTF-8 LC_MEASUREMENT=fi_FI.UTF-8 LC_MONETARY=fi_FI.UTF-8 LC_NAME=fi_FI.UTF-8 LC_NUMERIC=fi_FI.UTF-8 LC_PAPER=fi_FI.UTF-8 LC_TELEPHONE=fi_FI.UTF-8 LC_TIME=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path MDMSESSION=cinnamon MDM_LANG=en_US.UTF-8 MDM_XSERVER_LOCATION=local PAPERSIZE=letter PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT4_IM_MODULE=xim QT_STYLE_OVERRIDE=gtk SESSION_MANAGER=local/:@/tmp/.ICE-unix/1569,unix/:/tmp/.ICE-unix/1569 SHELL=/bin/bash SSH_AGENT_PID=1701 SSH_AUTH_SOCK=/run/user/1000/keyring-rpEEXv/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=8 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg XDG_CURRENT_DESKTOP=X-Cinnamon XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=5a45fa29109f0ee2389b1b0355283726-1486912871.89276-1888404302 XDG_SESSION_DESKTOP=cinnamon XDG_SESSION_ID=c1 XDG_VTNR=8 XMODIFIERS=@im=none -------------- next part -------------- A non-text attachment was scrubbed... Name: GAlarm-0.2.17.tar.gz Type: application/x-gzip Size: 69674 bytes Desc: not available URL: From gambas at ...1... Sun Feb 12 21:39:15 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 12 Feb 2017 21:39:15 +0100 Subject: [Gambas-user] What has happened to Dialog.SaveFile ?? In-Reply-To: References: Message-ID: <65187aa2-977f-11e6-468e-3797c1d6ff1f@...1...> Le 12/02/2017 ? 21:16, Jussi Lahtinen a ?crit : > Hi! > See the attached project. Go to menu; File --> Backup / Restore Alarms and > select Backup alarms. > If the file exist already I will get strange translation (not the one I > made!). And when I try to over write the existing file I will get "too many > arguments". > > This used to work, but not with some of the latest revisions. Not sure when > it broke / changed..? > > > Jussi > Message.Info() only takes 2 arguments. So how could you run it with 3 arguments and have no error? -- Beno?t Minisini From jussi.lahtinen at ...626... Sun Feb 12 23:49:42 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 13 Feb 2017 00:49:42 +0200 Subject: [Gambas-user] What has happened to Dialog.SaveFile ?? In-Reply-To: <65187aa2-977f-11e6-468e-3797c1d6ff1f@...1...> References: <65187aa2-977f-11e6-468e-3797c1d6ff1f@...1...> Message-ID: What the hell... I have changed it from Message.Question() in some mysterious way! How did I do that..! But apparently that part of code is now obsolete anyway, since the dialog does the question for me. So, problem solved. Thanks! Jussi On Sun, Feb 12, 2017 at 10:39 PM, Beno?t Minisini < gambas at ...1...> wrote: > Le 12/02/2017 ? 21:16, Jussi Lahtinen a ?crit : > > Hi! > > See the attached project. Go to menu; File --> Backup / Restore Alarms > and > > select Backup alarms. > > If the file exist already I will get strange translation (not the one I > > made!). And when I try to over write the existing file I will get "too > many > > arguments". > > > > This used to work, but not with some of the latest revisions. Not sure > when > > it broke / changed..? > > > > > > Jussi > > > > Message.Info() only takes 2 arguments. So how could you run it with 3 > arguments and have no error? > > -- > Beno?t Minisini > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From herberthguzman at ...626... Mon Feb 13 20:33:13 2017 From: herberthguzman at ...626... (herberth guzman) Date: Mon, 13 Feb 2017 13:33:13 -0600 Subject: [Gambas-user] Problem with wayland and gb.desktop Message-ID: Greetings Benoit I'm running tests with wayland, it gives me the following error: gb.desktop: unable to find mime database As I can solve this problem, it is possible. I know that gb.desktop works with x11. I want to test my panel in wayland. Herberth Guzman From gambas at ...1... Tue Feb 14 00:29:41 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 14 Feb 2017 00:29:41 +0100 Subject: [Gambas-user] Problem with wayland and gb.desktop In-Reply-To: References: Message-ID: Le 13/02/2017 ? 20:33, herberth guzman a ?crit : > Greetings Benoit > > I'm running tests with wayland, it gives me the following error: > > gb.desktop: unable to find mime database > > As I can solve this problem, it is possible. > I know that gb.desktop works with x11. > > I want to test my panel in wayland. > > Herberth Guzman > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > There is no way gb.desktop works with wayland, as at the moment it only do X11 calls (unless you run XWayland, but don't count on that). As for the "unable to find mime database" error, it has nothing to do with X11 or wayland. Regards, -- Beno?t Minisini From bagonergi at ...626... Tue Feb 14 17:02:19 2017 From: bagonergi at ...626... (Gianluigi) Date: Tue, 14 Feb 2017 17:02:19 +0100 Subject: [Gambas-user] dynamic created Menus In-Reply-To: References: <1486390110.4147.5.camel@...3609...> <1486507275.4164.6.camel@...3609...> Message-ID: Hi all, first let me say that I do not want to teach anybody anything, I take part in discussions to learn telling you what I think I know. If I gave a different impression I apologize, it's my poor English that has struck again. And now the question, how is it that an event is in a module? See attached Thank you Gianluigi 2017-02-08 14:50 GMT+01:00 Gianluigi : > While should not, it work also in a Module. > > ' Gambas module file > > Public Sub AddMenuFromOutsideForm(hMenu As Menu) > > Dim hMenuItem As Object > > hMenuItem = New Menu(hMenu) As "mnCharacters" > hMenuItem.Text = "this don't work" > hMenuItem.Tag = "This do not work" > hMenuItem = New Menu(hMenu) As "mnCharacters" > hMenuItem.Text = "this also don't work'" > hMenuItem.Tag = "Also this do not work" > > End > > Public Sub mnCharacters_Click() > > Print Last.tag & " - " & Last.Text > > End > > 2017-02-08 14:25 GMT+01:00 Gianluigi : > >> Hi Karl, >> >> If you want to work with events, you should use a class. >> See attached example. >> >> Regards >> >> Gianluigi >> >> 2017-02-07 23:41 GMT+01:00 Karl Reinl : >> >>> Am Montag, den 06.02.2017, 15:36 +0100 schrieb Fabien Bodard: >>> > I think the good way is this one :-) >>> > >>> > Public Sub AddMenuFromOutsideForm(hMenu As Menu) >>> > Dim hMenuItem As Object >>> > Dim hParent As Object = Object.Parent(hMenu) >>> > >>> > hMenuItem = New Menu(hMenu) >>> > hMenuItem = New Menu(hMenu) >>> > Object.Attach(hMenuItem, hParent, "mnu_this_dont_work") >>> > hMenuItem.Text = "this don't work" >>> > hMenuItem = New Menu(hMenu) >>> > Object.Attach(hMenuItem, hParent, "mnu_this_dont_work") >>> > hMenuItem.Text = "this also don't work'" >>> > >>> > End >>> > >>> > >>> > First find the class that handle menus events with object.parent on >>> > the given menu container. >>> > >>> > then attach the new menu events to the same class instance with >>> object.attach. >>> > >>> > 2017-02-06 15:08 GMT+01:00 Charlie Reinl : >>> > > Salut, >>> > > >>> > > how can I use dynamic created Menus, when they are made outside the >>> > > Form. >>> > > I expanded an example from Gianluigi to show what I want. >>> > > The problem is, the Click event is not fired, if the menu is not >>> created >>> > > in the forms class. >>> > > >>> >>> Salut, >>> >>> Fabien, gave me a solution for my problem. But I do not understand why I >>> can attach Items to the menu, but not their events? >>> -- >>> Amicalement >>> Charlie >>> >>> >>> ------------------------------------------------------------ >>> ------------------ >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> >> > -------------- next part -------------- A non-text attachment was scrubbed... Name: MenuWithModuleMistery-0.0.2.tar.gz Type: application/x-gzip Size: 11990 bytes Desc: not available URL: From gambas.fr at ...626... Tue Feb 14 18:46:32 2017 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 14 Feb 2017 18:46:32 +0100 Subject: [Gambas-user] dynamic created Menus In-Reply-To: References: <1486390110.4147.5.camel@...3609...> <1486507275.4164.6.camel@...3609...> Message-ID: A module is a class but static. Like i you declare all element of a class as static 2017-02-14 17:02 GMT+01:00 Gianluigi : > Hi all, > first let me say that I do not want to teach anybody anything, I take part > in discussions to learn telling you what I think I know. > If I gave a different impression I apologize, it's my poor English that has > struck again. > > And now the question, how is it that an event is in a module? > See attached > > Thank you > Gianluigi > > 2017-02-08 14:50 GMT+01:00 Gianluigi : > >> While should not, it work also in a Module. >> >> ' Gambas module file >> >> Public Sub AddMenuFromOutsideForm(hMenu As Menu) >> >> Dim hMenuItem As Object >> >> hMenuItem = New Menu(hMenu) As "mnCharacters" >> hMenuItem.Text = "this don't work" >> hMenuItem.Tag = "This do not work" >> hMenuItem = New Menu(hMenu) As "mnCharacters" >> hMenuItem.Text = "this also don't work'" >> hMenuItem.Tag = "Also this do not work" >> >> End >> >> Public Sub mnCharacters_Click() >> >> Print Last.tag & " - " & Last.Text >> >> End >> >> 2017-02-08 14:25 GMT+01:00 Gianluigi : >> >>> Hi Karl, >>> >>> If you want to work with events, you should use a class. >>> See attached example. >>> >>> Regards >>> >>> Gianluigi >>> >>> 2017-02-07 23:41 GMT+01:00 Karl Reinl : >>> >>>> Am Montag, den 06.02.2017, 15:36 +0100 schrieb Fabien Bodard: >>>> > I think the good way is this one :-) >>>> > >>>> > Public Sub AddMenuFromOutsideForm(hMenu As Menu) >>>> > Dim hMenuItem As Object >>>> > Dim hParent As Object = Object.Parent(hMenu) >>>> > >>>> > hMenuItem = New Menu(hMenu) >>>> > hMenuItem = New Menu(hMenu) >>>> > Object.Attach(hMenuItem, hParent, "mnu_this_dont_work") >>>> > hMenuItem.Text = "this don't work" >>>> > hMenuItem = New Menu(hMenu) >>>> > Object.Attach(hMenuItem, hParent, "mnu_this_dont_work") >>>> > hMenuItem.Text = "this also don't work'" >>>> > >>>> > End >>>> > >>>> > >>>> > First find the class that handle menus events with object.parent on >>>> > the given menu container. >>>> > >>>> > then attach the new menu events to the same class instance with >>>> object.attach. >>>> > >>>> > 2017-02-06 15:08 GMT+01:00 Charlie Reinl : >>>> > > Salut, >>>> > > >>>> > > how can I use dynamic created Menus, when they are made outside the >>>> > > Form. >>>> > > I expanded an example from Gianluigi to show what I want. >>>> > > The problem is, the Click event is not fired, if the menu is not >>>> created >>>> > > in the forms class. >>>> > > >>>> >>>> Salut, >>>> >>>> Fabien, gave me a solution for my problem. But I do not understand why I >>>> can attach Items to the menu, but not their events? >>>> -- >>>> Amicalement >>>> Charlie >>>> >>>> >>>> ------------------------------------------------------------ >>>> ------------------ >>>> Check out the vibrant tech community on one of the world's most >>>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> >>> >>> >> > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From bagonergi at ...626... Tue Feb 14 19:27:37 2017 From: bagonergi at ...626... (Gianluigi) Date: Tue, 14 Feb 2017 19:27:37 +0100 Subject: [Gambas-user] dynamic created Menus In-Reply-To: References: <1486390110.4147.5.camel@...3609...> <1486507275.4164.6.camel@...3609...> Message-ID: But if it is static, because I can write this? Public Sub Form_Open() Dim foo As New MMenu foo.AddMenuFromModule(MenuCharacters) End I have trouble understanding Regards Gianluigi 2017-02-14 18:46 GMT+01:00 Fabien Bodard : > A module is a class but static. Like i you declare all element of a > class as static > > 2017-02-14 17:02 GMT+01:00 Gianluigi : > > Hi all, > > first let me say that I do not want to teach anybody anything, I take > part > > in discussions to learn telling you what I think I know. > > If I gave a different impression I apologize, it's my poor English that > has > > struck again. > > > > And now the question, how is it that an event is in a module? > > See attached > > > > Thank you > > Gianluigi > > > > 2017-02-08 14:50 GMT+01:00 Gianluigi : > > > >> While should not, it work also in a Module. > >> > >> ' Gambas module file > >> > >> Public Sub AddMenuFromOutsideForm(hMenu As Menu) > >> > >> Dim hMenuItem As Object > >> > >> hMenuItem = New Menu(hMenu) As "mnCharacters" > >> hMenuItem.Text = "this don't work" > >> hMenuItem.Tag = "This do not work" > >> hMenuItem = New Menu(hMenu) As "mnCharacters" > >> hMenuItem.Text = "this also don't work'" > >> hMenuItem.Tag = "Also this do not work" > >> > >> End > >> > >> Public Sub mnCharacters_Click() > >> > >> Print Last.tag & " - " & Last.Text > >> > >> End > >> > >> 2017-02-08 14:25 GMT+01:00 Gianluigi : > >> > >>> Hi Karl, > >>> > >>> If you want to work with events, you should use a class. > >>> See attached example. > >>> > >>> Regards > >>> > >>> Gianluigi > >>> > >>> 2017-02-07 23:41 GMT+01:00 Karl Reinl : > >>> > >>>> Am Montag, den 06.02.2017, 15:36 +0100 schrieb Fabien Bodard: > >>>> > I think the good way is this one :-) > >>>> > > >>>> > Public Sub AddMenuFromOutsideForm(hMenu As Menu) > >>>> > Dim hMenuItem As Object > >>>> > Dim hParent As Object = Object.Parent(hMenu) > >>>> > > >>>> > hMenuItem = New Menu(hMenu) > >>>> > hMenuItem = New Menu(hMenu) > >>>> > Object.Attach(hMenuItem, hParent, "mnu_this_dont_work") > >>>> > hMenuItem.Text = "this don't work" > >>>> > hMenuItem = New Menu(hMenu) > >>>> > Object.Attach(hMenuItem, hParent, "mnu_this_dont_work") > >>>> > hMenuItem.Text = "this also don't work'" > >>>> > > >>>> > End > >>>> > > >>>> > > >>>> > First find the class that handle menus events with object.parent on > >>>> > the given menu container. > >>>> > > >>>> > then attach the new menu events to the same class instance with > >>>> object.attach. > >>>> > > >>>> > 2017-02-06 15:08 GMT+01:00 Charlie Reinl : > >>>> > > Salut, > >>>> > > > >>>> > > how can I use dynamic created Menus, when they are made outside > the > >>>> > > Form. > >>>> > > I expanded an example from Gianluigi to show what I want. > >>>> > > The problem is, the Click event is not fired, if the menu is not > >>>> created > >>>> > > in the forms class. > >>>> > > > >>>> > >>>> Salut, > >>>> > >>>> Fabien, gave me a solution for my problem. But I do not understand > why I > >>>> can attach Items to the menu, but not their events? > >>>> -- > >>>> Amicalement > >>>> Charlie > >>>> > >>>> > >>>> ------------------------------------------------------------ > >>>> ------------------ > >>>> Check out the vibrant tech community on one of the world's most > >>>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot > >>>> _______________________________________________ > >>>> Gambas-user mailing list > >>>> Gambas-user at lists.sourceforge.net > >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>>> > >>> > >>> > >> > > > > ------------------------------------------------------------ > ------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > -- > Fabien Bodard > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Tue Feb 14 21:05:15 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 14 Feb 2017 20:05:15 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1077: gb.form.terminal - Enhancement request Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1077&from=L21haW4- Brian G reported a new bug. Summary ------- gb.form.terminal - Enhancement request Type : Request Priority : Medium Gambas version : 3.9.90 (TRUNK) Product : QT4 component Description ----------- The new gb.form.terminal. Would it be possible to add new properties which reflect the estimated Col and line count based upon the current font chosen. This addition would help in sending the resize information to remote terminal sessions. Would be a very very helpful addition to this class and component . I can volunteer to work with the person who implemented this component or just add the properties , to do this if needed. Also to complete the documentation in English for this component. As I cant find details online. Thanks for your consideration Brian System information ------------------ [System] Gambas=3.9.90 r8089 OperatingSystem=Linux Kernel=3.16.7-53-desktop Architecture=x86_64 Distribution= Desktop=KDE4 Theme=Breeze Language=en_US.UTF-8 Memory=12038M [Libraries] Cairo=libcairo.so.2.11400.0 DBus=libdbus-1.so.3.8.14 GStreamer=libgstreamer-1.0.so.0.802.0 GTK+2=libgtk-x11-2.0.so.0.2400.31 QT4=libQtCore.so.4.8.6 SQLite=libsqlite3.so.0.8.6 [Environment] ALSA_CONFIG_PATH=/etc/alsa-pulse.conf AUDIODRIVER=pulseaudio BASH_FUNC_mc%%=() { . /usr/share/mc/mc-wrapper.sh } COLORTERM=1 CONFIG_SITE=/usr/share/site/x86_64-unknown-linux-gnu CPU=x86_64 CSHEDIT=emacs CVS_RSH=ssh DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-RSfETF7miC,guid=c1e3a47efd2074f5b8f4e29f58a34e5e DESKTOP_SESSION=kde-plasma DISPLAY=:0 DM_CONTROL=/var/run/xdmctl FROM_HEADER= GB_GUI=gb.qt4 GPG_AGENT_INFO=/tmp/gpg-m88oEN/S.gpg-agent:19333:1 GPG_TTY=not a tty GS_LIB=/.fonts GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/.gtkrc-2.0:/.kde4/share/config/gtkrc-2.0 GTK_IM_MODULE=ibus GTK_MODULES=canberra-gtk-module GTK_RC_FILES=/etc/gtk/gtkrc:/.gtkrc:/.kde4/share/config/gtkrc G_BROKEN_FILENAMES=1 G_FILENAME_ENCODING=@...3501...,UTF-8,ISO-8859-15,CP1252 HISTSIZE=1000 HOME= HOST= HOSTNAME= HOSTTYPE=x86_64 INPUTRC=/.inputrc JAVA_BINDIR=/usr/lib64/jvm/java/bin JAVA_HOME=/usr/lib64/jvm/java JAVA_ROOT=/usr/lib64/jvm/java JDK_HOME=/usr/lib64/jvm/java JRE_HOME=/usr/lib64/jvm/java/jre KDE_FULL_SESSION=true KDE_MULTIHEAD=false KDE_SESSION_UID=1000 KDE_SESSION_VERSION=4 LANG=en_US.UTF-8 LESS=-M -I -R LESSCLOSE=lessclose.sh %s %s LESSKEY=/etc/lesskey.bin LESSOPEN=lessopen.sh %s LESS_ADVANCED_PREPROCESSOR=no LOGNAME= MACHTYPE=x86_64-suse-linux MAIL=/var/spool/mail/ MANPATH=/usr/local/man:/usr/local/share/man:/usr/share/man MINICOM=-c on MORE=-sl NNTPSERVER=news OOO_FORCE_DESKTOP=gnome OSTYPE=linux PAGER=less PATH=/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin PILOTPORT=usb: PROFILEREAD=true PWD= PYTHONSTARTUP=/etc/pythonstart QEMU_AUDIO_DRV=pa QT_IM_MODULE=ibus QT_IM_SWITCHER=imsw-multi QT_NO_GLIB=1 QT_PLUGIN_PATH=/.kde4/lib64/kde4/plugins/:/usr/lib64/kde4/plugins/ QT_SYSTEM_DIR=/usr/share/desktop-data SDK_HOME=/usr/lib64/jvm/java SDL_AUDIODRIVER=pulse SESSION_MANAGER=local/:@/tmp/.ICE-unix/19592,unix/:/tmp/.ICE-unix/19592 SHELL=/bin/bash SHLVL=1 SSH_AGENT_PID=19332 SSH_ASKPASS=/usr/lib/ssh/ksshaskpass SSH_AUTH_SOCK=/tmp/ssh-7GSeB8N3iHeP/agent.19331 TERM=xterm TMPDIR=/tmp TZ=:/etc/localtime USER= USE_FAM= WINDOWMANAGER=/usr/bin/startkde WINDOWPATH=7 XAUTHLOCALHOSTNAME= XCURSOR_SIZE=32 XCURSOR_THEME=redglass XDG_CONFIG_DIRS=/etc/xdg XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/usr/share:/usr/share XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=4ed603cd18304c8d9216b69334cdeb3a-1487097439.64398-722115868 XDG_SESSION_ID=60 XDG_VTNR=7 XDM_MANAGED=method=classic XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB XMODIFIERS=@...3498...=ibus XNLSPATH=/usr/share/X11/nls XSESSION_IS_UP=yes _=/usr/lib64/kde4/libexec/start_kdeinit_wrapper From bugtracker at ...3416... Tue Feb 14 21:11:21 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 14 Feb 2017 20:11:21 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1077: gb.form.terminal - Enhancement request In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1077&from=L21haW4- Brian G added an attachment: TestSSHProtocol-0.0.1.tar.gz From bugtracker at ...3416... Tue Feb 14 21:14:27 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 14 Feb 2017 20:14:27 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1077: gb.form.terminal - Enhancement request In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1077&from=L21haW4- Comment #1 by Brian G: Only try terminal session, please From bugtracker at ...3416... Tue Feb 14 21:40:14 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 14 Feb 2017 20:40:14 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1077: gb.form.terminal - Enhancement request In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1077&from=L21haW4- Comment #2 by Beno?t MINISINI: If you run a process inside the TerminalView control with the Exec() or Shell() method, then the process virtual terminal output will be resized each time the TerminalView is resized, and the process will receive the SIGWINCH terminal resize signal accordingly. So, theoretically, the remote terminal session (i.e. the ssh process you run inside the TerminalView) should handle that signal and propagate the resize information to the remote process. In other words, it should work out of the box, and you shouldn't need these properties. Of course, I can add a Resize event that gives you the terminal size, it is just a matter of a few lines of code. But I'd like to know if it is *really* needed. Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Tue Feb 14 21:45:05 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 14 Feb 2017 20:45:05 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1077: gb.form.terminal - Enhancement request In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1077&from=L21haW4- Comment #3 by Beno?t MINISINI: I have just done a test: I ran 'bash' inside a TerminalView, then I connect to a remote server through ssh, and run 'vim' on that server. I resized the window, and vim followed the resize. So it works out of the box. You should have nothing to do. From bugtracker at ...3416... Tue Feb 14 21:45:40 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 14 Feb 2017 20:45:40 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1065: Icon does not appear in tray In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1065&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Working. From daniel.wunsch at ...3644... Wed Feb 15 01:04:14 2017 From: daniel.wunsch at ...3644... (Daniel Wunsch) Date: Wed, 15 Feb 2017 01:04:14 +0100 Subject: [Gambas-user] Problem with gb.media MediaPipeline Message-ID: Hello, My Problem is, how to translate this working line in Gambas-Syntax: gst-launch rtspsrc location=rtsp://uid:pwd at ...3645...:554 ! decodebin ! autovideosink -vvv My code is in great parts copied from the MTest.module in Mediaplayer-example. My code fails at hInput.Linkto(hConv). Here the Code: Public Sub Button7_Click() Dim hInput As MediaControl Dim hConv As Mediacontrol Dim hOutput As MediaControl $hPlayer = New MediaPipeline As "MediaPipeline" hInput = New MediaControl($hPlayer, "rtspsrc") hConv = New MediaControl($hPlayer, "decodebin") hOutput = New MediaControl($hPlayer, "xvimagesink") Try $hPlayer.Stop hInput["location"] = "rtsp://uid:pwd at ...3645...:554" hInput.LinkTo(hConv) hConv.LinkTo(hOutput) hOutput.SetWindow(dwgvideo, dwgVideo.Left, dwgVideo.Top, dwgVideo.Width, dwgVideo.Height) $hPlayer.Play End I hope someone can push me on the right path. Greetings Daniel From bugtracker at ...3416... Wed Feb 15 03:13:12 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 15 Feb 2017 02:13:12 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1078: X11 Systray behaves strangely under GTK or QT5 Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1078&from=L21haW4- Tony MOREHEN reported a new bug. Summary ------- X11 Systray behaves strangely under GTK or QT5 Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- Under GTK, Systray icons must be placed using absolute screen coordinates, not relative to the proper window (as set in Systray.Show(Handle). The background of transparent icons is correct ie set to the appropriate window background. Under GTK 3 Systray icons also must be placed according to absolute screen coordinates. Also, their backgrounds correspond to the root window background. Under QT5 no icons are shown accompanied by the following error messages: QXcbWindows unhandled client message: _NET_SYSTEMTRAY_OPCODE QXcbWindows unhandled client message: _NET_WM_DESKTOP QXcbWindows unhandled client message: _NET_SYSTEMTRAY_OPCODE QT4 behaves correctly. System information ------------------ [System] Gambas=3.9.90 r8081 OperatingSystem=Linux Kernel=4.9.6-1-MANJARO Architecture=x86_64 Distribution=Manjaro Linux Desktop=XFCE Theme=Gtk Language=en_CA.utf8 Memory=3947M [Libraries] Cairo=libcairo.so.2.11400.8 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.9 GStreamer=libgstreamer-1.0.so.0.1002.0 GTK+2=libgtk-x11-2.0.so.0.2400.31 GTK+3=libgtk-3.so.0.2200.7 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.66.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.7.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=xfce DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=xfce GLADE_CATALOG_PATH=: GLADE_MODULE_PATH=: GLADE_PIXMAP_PATH=: GTK2_RC_FILES=/.gtkrc-2.0 GTK_MODULES=canberra-gtk-module HOME= LANG=en_CA.utf8 LC_ADDRESS=en_CA.UTF-8 LC_IDENTIFICATION=en_CA.UTF-8 LC_MEASUREMENT=en_CA.UTF-8 LC_MONETARY=en_CA.UTF-8 LC_NAME=en_CA.UTF-8 LC_NUMERIC=en_CA.UTF-8 LC_PAPER=en_CA.UTF-8 LC_TELEPHONE=en_CA.UTF-8 LC_TIME=en_CA.UTF-8 LOGNAME= MAIL=/var/spool/mail/ MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl PWD= QT_QPA_PLATFORMTHEME=qt5ct SAL_USE_VCLPLUGIN=gtk SESSION_MANAGER=local/:@/tmp/.ICE-unix/869,unix/:/tmp/.ICE-unix/869 SHELL=/bin/bash SHLVL=2 SSH_AGENT_PID=876 SSH_AUTH_SOCK=/tmp/ssh-794ynjbHgEXA/agent.875 TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg XDG_CURRENT_DESKTOP=XFCE XDG_DATA_DIRS=/usr/local/share:/usr/share XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=xfce- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=xfce XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 _=/usr/bin/gambas3 From bugtracker at ...3416... Wed Feb 15 03:17:39 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 15 Feb 2017 02:17:39 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1079: Forms opened using showmodal can only be resized bigger Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1079&from=L21haW4- Tony MOREHEN reported a new bug. Summary ------- Forms opened using showmodal can only be resized bigger Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- Form is sized in the development environment. When opened using showmodal the form can only be resized bigger ie a 100 x 100 form can be resized to 150 x 100 but not to 50 x 100 System information ------------------ [System] Gambas=3.9.90 r8081 OperatingSystem=Linux Kernel=4.9.6-1-MANJARO Architecture=x86_64 Distribution=Manjaro Linux Desktop=XFCE Theme=Gtk Language=en_CA.utf8 Memory=3947M [Libraries] Cairo=libcairo.so.2.11400.8 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.9 GStreamer=libgstreamer-1.0.so.0.1002.0 GTK+2=libgtk-x11-2.0.so.0.2400.31 GTK+3=libgtk-3.so.0.2200.7 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.66.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.7.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=xfce DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=xfce GLADE_CATALOG_PATH=: GLADE_MODULE_PATH=: GLADE_PIXMAP_PATH=: GTK2_RC_FILES=/.gtkrc-2.0 GTK_MODULES=canberra-gtk-module HOME= LANG=en_CA.utf8 LC_ADDRESS=en_CA.UTF-8 LC_IDENTIFICATION=en_CA.UTF-8 LC_MEASUREMENT=en_CA.UTF-8 LC_MONETARY=en_CA.UTF-8 LC_NAME=en_CA.UTF-8 LC_NUMERIC=en_CA.UTF-8 LC_PAPER=en_CA.UTF-8 LC_TELEPHONE=en_CA.UTF-8 LC_TIME=en_CA.UTF-8 LOGNAME= MAIL=/var/spool/mail/ MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl PWD= QT_QPA_PLATFORMTHEME=qt5ct SAL_USE_VCLPLUGIN=gtk SESSION_MANAGER=local/:@/tmp/.ICE-unix/869,unix/:/tmp/.ICE-unix/869 SHELL=/bin/bash SHLVL=2 SSH_AGENT_PID=876 SSH_AUTH_SOCK=/tmp/ssh-794ynjbHgEXA/agent.875 TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg XDG_CURRENT_DESKTOP=XFCE XDG_DATA_DIRS=/usr/local/share:/usr/share XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=xfce- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=xfce XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 _=/usr/bin/gambas3 From bugtracker at ...3416... Wed Feb 15 03:22:28 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 15 Feb 2017 02:22:28 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1079: Forms opened using showmodal can only be resized bigger In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1079&from=L21haW4- Comment #1 by Beno?t MINISINI: This is by design. The minimal size of a modal window is its initial size. Beno?t MINISINI changed the state of the bug to: Rejected. From bugtracker at ...3416... Wed Feb 15 03:23:15 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 15 Feb 2017 02:23:15 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1065: Icon does not appear in tray In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1065&from=L21haW4- Comment #11 by Tony MOREHEN: It may be a problem with the gui. I've noticed that the Systray behaves differently depending upon the Gui GTK vs GTK3 vs QT5 vs QT4. I know that the problems I saw are on the Systray server side but it may affect the client side as well. From bugtracker at ...3416... Wed Feb 15 03:23:20 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 15 Feb 2017 02:23:20 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1078: X11 Systray behaves strangely under GTK or QT5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1078&from=L21haW4- Comment #1 by Beno?t MINISINI: Can you make a little project that shows exactly what the problem is? From bugtracker at ...3416... Wed Feb 15 04:17:58 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 15 Feb 2017 03:17:58 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1078: X11 Systray behaves strangely under GTK or QT5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1078&from=L21haW4- Comment #2 by Tony MOREHEN: I've put together a little project and have some new findings. In the little project, I changed the systray component from a drawing area to a panel. Now GTK2 works properly. In the original project, a similar change also works. However, other parts of the original now fail, even though they worked under QT4. QT5 still fails with those error messages. GTK3 also still has issues but I misinterpreted what I saw earlier. Now it seems that the GTK icons are positioned realtive to the project's main form and appropriately have a transparent background. From bugtracker at ...3416... Wed Feb 15 04:18:16 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 15 Feb 2017 03:18:16 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1078: X11 Systray behaves strangely under GTK or QT5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1078&from=L21haW4- Tony MOREHEN added an attachment: systray-0.0.1.tar.gz From bagonergi at ...626... Wed Feb 15 12:10:36 2017 From: bagonergi at ...626... (Gianluigi) Date: Wed, 15 Feb 2017 12:10:36 +0100 Subject: [Gambas-user] dynamic created Menus In-Reply-To: References: <1486390110.4147.5.camel@...3609...> <1486507275.4164.6.camel@...3609...> Message-ID: Hi Fabien, let's see if I can clarify this. In Gambas there are three different types of class: - The real Class and its to be instantiated through the constructor (_new). - The Form which is a class already instantiated, but can receive the parameters which exposes the constructor (_new). - The Module is a class already instantiated, and that does not expose the constructor. Therefore I can refer to a module with Me, I can use inside events and I can even assign _new with another name to the module even if do not really need. I'm on the right track? Regards Gianluigi 2017-02-14 19:27 GMT+01:00 Gianluigi : > But if it is static, because I can write this? > > Public Sub Form_Open() > > Dim foo As New MMenu > > foo.AddMenuFromModule(MenuCharacters) > > End > > I have trouble understanding > > Regards > Gianluigi > > 2017-02-14 18:46 GMT+01:00 Fabien Bodard : > >> A module is a class but static. Like i you declare all element of a >> class as static >> >> 2017-02-14 17:02 GMT+01:00 Gianluigi : >> > Hi all, >> > first let me say that I do not want to teach anybody anything, I take >> part >> > in discussions to learn telling you what I think I know. >> > If I gave a different impression I apologize, it's my poor English that >> has >> > struck again. >> > >> > And now the question, how is it that an event is in a module? >> > See attached >> > >> > Thank you >> > Gianluigi >> > >> > 2017-02-08 14:50 GMT+01:00 Gianluigi : >> > >> >> While should not, it work also in a Module. >> >> >> >> ' Gambas module file >> >> >> >> Public Sub AddMenuFromOutsideForm(hMenu As Menu) >> >> >> >> Dim hMenuItem As Object >> >> >> >> hMenuItem = New Menu(hMenu) As "mnCharacters" >> >> hMenuItem.Text = "this don't work" >> >> hMenuItem.Tag = "This do not work" >> >> hMenuItem = New Menu(hMenu) As "mnCharacters" >> >> hMenuItem.Text = "this also don't work'" >> >> hMenuItem.Tag = "Also this do not work" >> >> >> >> End >> >> >> >> Public Sub mnCharacters_Click() >> >> >> >> Print Last.tag & " - " & Last.Text >> >> >> >> End >> >> >> >> 2017-02-08 14:25 GMT+01:00 Gianluigi : >> >> >> >>> Hi Karl, >> >>> >> >>> If you want to work with events, you should use a class. >> >>> See attached example. >> >>> >> >>> Regards >> >>> >> >>> Gianluigi >> >>> >> >>> 2017-02-07 23:41 GMT+01:00 Karl Reinl : >> >>> >> >>>> Am Montag, den 06.02.2017, 15:36 +0100 schrieb Fabien Bodard: >> >>>> > I think the good way is this one :-) >> >>>> > >> >>>> > Public Sub AddMenuFromOutsideForm(hMenu As Menu) >> >>>> > Dim hMenuItem As Object >> >>>> > Dim hParent As Object = Object.Parent(hMenu) >> >>>> > >> >>>> > hMenuItem = New Menu(hMenu) >> >>>> > hMenuItem = New Menu(hMenu) >> >>>> > Object.Attach(hMenuItem, hParent, "mnu_this_dont_work") >> >>>> > hMenuItem.Text = "this don't work" >> >>>> > hMenuItem = New Menu(hMenu) >> >>>> > Object.Attach(hMenuItem, hParent, "mnu_this_dont_work") >> >>>> > hMenuItem.Text = "this also don't work'" >> >>>> > >> >>>> > End >> >>>> > >> >>>> > >> >>>> > First find the class that handle menus events with object.parent on >> >>>> > the given menu container. >> >>>> > >> >>>> > then attach the new menu events to the same class instance with >> >>>> object.attach. >> >>>> > >> >>>> > 2017-02-06 15:08 GMT+01:00 Charlie Reinl : >> >>>> > > Salut, >> >>>> > > >> >>>> > > how can I use dynamic created Menus, when they are made outside >> the >> >>>> > > Form. >> >>>> > > I expanded an example from Gianluigi to show what I want. >> >>>> > > The problem is, the Click event is not fired, if the menu is not >> >>>> created >> >>>> > > in the forms class. >> >>>> > > >> >>>> >> >>>> Salut, >> >>>> >> >>>> Fabien, gave me a solution for my problem. But I do not understand >> why I >> >>>> can attach Items to the menu, but not their events? >> >>>> -- >> >>>> Amicalement >> >>>> Charlie >> >>>> >> >>>> >> >>>> ------------------------------------------------------------ >> >>>> ------------------ >> >>>> Check out the vibrant tech community on one of the world's most >> >>>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> >>>> _______________________________________________ >> >>>> Gambas-user mailing list >> >>>> Gambas-user at lists.sourceforge.net >> >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >>>> >> >>> >> >>> >> >> >> > >> > ------------------------------------------------------------ >> ------------------ >> > Check out the vibrant tech community on one of the world's most >> > engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > >> >> >> >> -- >> Fabien Bodard >> >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From taboege at ...626... Wed Feb 15 13:47:43 2017 From: taboege at ...626... (Tobias Boege) Date: Wed, 15 Feb 2017 13:47:43 +0100 Subject: [Gambas-user] dynamic created Menus In-Reply-To: References: <1486390110.4147.5.camel@...3609...> <1486507275.4164.6.camel@...3609...> Message-ID: <20170215124743.GB573@...3600...> On Wed, 15 Feb 2017, Gianluigi wrote: > Hi Fabien, > let's see if I can clarify this. > In Gambas there are three different types of class: > - The real Class and its to be instantiated through the constructor (_new). > - The Form which is a class already instantiated, but can receive the > parameters which exposes the constructor (_new). > - The Module is a class already instantiated, and that does not expose the > constructor. > > Therefore I can refer to a module with Me, I can use inside events and I > can even assign _new with another name to the module even if do not really > need. > I'm on the right track? > This is not how I would understand the matter. First of all, you have your normal classes in Gambas. You can alter their behaviour by setting certain "flags" in your class. These flags are actually keywords in the Gambas language and you have to specify them at the beginning of your class file at compile time. o CREATE PRIVATE tells the interpreter that the current class is not instanciable. o CREATE STATIC tells the interpreter to create an automatic instance of the class which is used automatically when you use the class name like an object. There is also EXPORT and INHERITS, but they're of minor relevance for the topic at hand. None of these flags influence the presence of ME or events. They are always available. Now, a module is a normal class in which every symbol is implicitly made static by the compiler. You can still create objects from a module but that isn't useful because you don't have dynamic symbols in a module. You will just end up with multiple objects that all reference the same data. The only way the Form class is any special is because it has dedicated support for .form files in the compiler. Other than that it is a normal class -- which uses the CREATE STATIC flag. Quoting the definition of the Form class from gb.qt4/src/CWindow.cpp: 1466 GB_DESC CFormDesc[] = 1467 { 1468 GB_DECLARE("Form", sizeof(CFORM)), GB_INHERITS("Window"), 1469 GB_AUTO_CREATABLE(), 1470 1471 GB_STATIC_METHOD("Main", NULL, CFORM_main, NULL), 1472 GB_STATIC_METHOD("Load", NULL, CFORM_load, "[(Parent)Control;]"), 1473 GB_METHOD("_new", NULL, CFORM_new, NULL), 1474 1475 FORM_DESCRIPTION, 1476 1477 GB_END_DECLARE 1478 }; The macro GB_AUTO_CREATABLE() is the C rendition of CREATE STATIC. As you can see, Form just inherits Window and adds three further methods. These methods are actually what makes Form classes behave the special way they do, like automatically showing on program startup and being their own event observers. (And, well, there's the FORM_DESCRIPTION macro but don't worry about it.) My point is, the behaviour of a Form is accomplished by standard Gambas mechanisms, that are available to everyone (only the conversion of .form files to executable code needs specific support in the compiler). Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bagonergi at ...626... Wed Feb 15 15:22:30 2017 From: bagonergi at ...626... (Gianluigi) Date: Wed, 15 Feb 2017 15:22:30 +0100 Subject: [Gambas-user] dynamic created Menus In-Reply-To: <20170215124743.GB573@...3600...> References: <1486390110.4147.5.camel@...3609...> <1486507275.4164.6.camel@...3609...> <20170215124743.GB573@...3600...> Message-ID: Hi Tobias, I thank you a lot for explanations, in fact I was too concise because, but not only, of my English. One thing, when you say: "You can still create objects from a module but that isn't useful because you don't have dynamic symbols in a module", what exactly do you mean by "symbols", because in a module we can insert dynamics variables, functions, sub etc. Regards Gianluigi 2017-02-15 13:47 GMT+01:00 Tobias Boege : > On Wed, 15 Feb 2017, Gianluigi wrote: > > Hi Fabien, > > let's see if I can clarify this. > > In Gambas there are three different types of class: > > - The real Class and its to be instantiated through the constructor > (_new). > > - The Form which is a class already instantiated, but can receive the > > parameters which exposes the constructor (_new). > > - The Module is a class already instantiated, and that does not expose > the > > constructor. > > > > Therefore I can refer to a module with Me, I can use inside events and I > > can even assign _new with another name to the module even if do not > really > > need. > > I'm on the right track? > > > > This is not how I would understand the matter. First of all, you have your > normal classes in Gambas. You can alter their behaviour by setting certain > "flags" in your class. These flags are actually keywords in the Gambas > language and you have to specify them at the beginning of your class file > at compile time. > > o CREATE PRIVATE tells the interpreter that the current class is not > instanciable. > o CREATE STATIC tells the interpreter to create an automatic instance of > the class which is used automatically when you use the class name like > an object. > > There is also EXPORT and INHERITS, but they're of minor relevance for the > topic at hand. > > None of these flags influence the presence of ME or events. They are always > available. > > Now, a module is a normal class in which every symbol is implicitly made > static by the compiler. You can still create objects from a module but that > isn't useful because you don't have dynamic symbols in a module. You will > just end up with multiple objects that all reference the same data. > > The only way the Form class is any special is because it has dedicated > support for .form files in the compiler. Other than that it is a normal > class -- which uses the CREATE STATIC flag. Quoting the definition of the > Form class from gb.qt4/src/CWindow.cpp: > > 1466 GB_DESC CFormDesc[] = > 1467 { > 1468 GB_DECLARE("Form", sizeof(CFORM)), GB_INHERITS("Window"), > 1469 GB_AUTO_CREATABLE(), > 1470 > 1471 GB_STATIC_METHOD("Main", NULL, CFORM_main, NULL), > 1472 GB_STATIC_METHOD("Load", NULL, CFORM_load, > "[(Parent)Control;]"), > 1473 GB_METHOD("_new", NULL, CFORM_new, NULL), > 1474 > 1475 FORM_DESCRIPTION, > 1476 > 1477 GB_END_DECLARE > 1478 }; > > The macro GB_AUTO_CREATABLE() is the C rendition of CREATE STATIC. As you > can see, Form just inherits Window and adds three further methods. These > methods are actually what makes Form classes behave the special way they > do, like automatically showing on program startup and being their own event > observers. (And, well, there's the FORM_DESCRIPTION macro but don't worry > about it.) My point is, the behaviour of a Form is accomplished by standard > Gambas mechanisms, that are available to everyone (only the conversion of > .form files to executable code needs specific support in the compiler). > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Wed Feb 15 15:38:44 2017 From: taboege at ...626... (Tobias Boege) Date: Wed, 15 Feb 2017 15:38:44 +0100 Subject: [Gambas-user] dynamic created Menus In-Reply-To: References: <1486507275.4164.6.camel@...3609...> <20170215124743.GB573@...3600...> Message-ID: <20170215143843.GC573@...3600...> On Wed, 15 Feb 2017, Gianluigi wrote: > Hi Tobias, > I thank you a lot for explanations, in fact I was too concise because, but > not only, of my English. > One thing, when you say: "You can still create objects from a module but > that > isn't useful because you don't have dynamic symbols in a module", what > exactly do you mean by "symbols", because in a module we can insert > dynamics variables, functions, sub etc. > By symbols I mean variables, properties and methods (constants and events, too, but they don't matter here). If you write them into a module, they are automatically static. You can't have dynamic ones in a module. Attached is a project which demonstrates this. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: test-0.0.1.tar.gz Type: application/octet-stream Size: 11615 bytes Desc: not available URL: From bagonergi at ...626... Wed Feb 15 16:23:14 2017 From: bagonergi at ...626... (Gianluigi) Date: Wed, 15 Feb 2017 16:23:14 +0100 Subject: [Gambas-user] dynamic created Menus In-Reply-To: <20170215143843.GC573@...3600...> References: <1486507275.4164.6.camel@...3609...> <20170215124743.GB573@...3600...> <20170215143843.GC573@...3600...> Message-ID: oh I finally understand! Thanks Tobias, you are a great. You made me happy :-) A big big greeting Gianluigi 2017-02-15 15:38 GMT+01:00 Tobias Boege : > On Wed, 15 Feb 2017, Gianluigi wrote: > > Hi Tobias, > > I thank you a lot for explanations, in fact I was too concise because, > but > > not only, of my English. > > One thing, when you say: "You can still create objects from a module but > > that > > isn't useful because you don't have dynamic symbols in a module", what > > exactly do you mean by "symbols", because in a module we can insert > > dynamics variables, functions, sub etc. > > > > By symbols I mean variables, properties and methods (constants and events, > too, but they don't matter here). If you write them into a module, they are > automatically static. You can't have dynamic ones in a module. Attached is > a project which demonstrates this. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From herberthguzman at ...626... Wed Feb 15 19:00:11 2017 From: herberthguzman at ...626... (herberth guzman) Date: Wed, 15 Feb 2017 12:00:11 -0600 Subject: [Gambas-user] gb-qt4 vs gb-qt5 (systray) Message-ID: Salutation Benoit I am restructuring my project (Innova Deskop) to improve. I want to create a light, functional and beautiful project. Example: GbPanel - GbLauncher - GbSettings - GbDate - GbTheme - GbPlugins - GbWidget - PCInfo - More I want to use gb-qt5 for a new design and take into account all the suggestions made. I have some problems and I need help. gb-qt4 vs gb-qt5 1.0 - systray does NOT work with gb-qt5 1.1 - systray SI works with gb-qt4 2.0 - controls are better and cleaner with gb-qt5 2.1 - the controls are more rustic and not showy with gb-qt4 3.0 - I would like to use plasma-nm (KDE) 3.1 - I would not like to use nm-applet (Gnome) Tell me if it is possible that I can work with gb-qt5 I think that if I continue working with gb-qt4 I will stay behind and I will be stuck and I will not be able to use new technology (gb-qt5) Can you help me please or find some solution to my problem ...? Thank you very much Herberth Guzm?n Attached screenshots https://drive.google.com/file/d/0B2gI4jYOofp0amRfLXBzVUloVjA/view https://drive.google.com/open?id=0B2gI4jYOofp0WUJOdU1wS0s0NG8 From gambas at ...1... Wed Feb 15 19:15:25 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 15 Feb 2017 19:15:25 +0100 Subject: [Gambas-user] gb-qt4 vs gb-qt5 (systray) In-Reply-To: References: Message-ID: <1ce671f9-42f6-674d-b6ca-c89a33b3d678@...1...> Le 15/02/2017 ? 19:00, herberth guzman a ?crit : > Salutation Benoit > > I am restructuring my project (Innova Deskop) to improve. > I want to create a light, functional and beautiful project. > > Example: > GbPanel - GbLauncher - GbSettings - GbDate - GbTheme - GbPlugins - GbWidget > - PCInfo - More > > I want to use gb-qt5 for a new design and take into account all the > suggestions made. > > I have some problems and I need help. > > gb-qt4 vs gb-qt5 > > 1.0 - systray does NOT work with gb-qt5 > 1.1 - systray SI works with gb-qt4 Maybe it's time for you to try to implement the DBus Systray instead of using the X11 systray? I will check anyway why the QT5 X11 systray does not work anymore. > > 2.0 - controls are better and cleaner with gb-qt5 > 2.1 - the controls are more rustic and not showy with gb-qt4 It's more a matter of widget style in use. I suggest you try to implement your own controls in Gambas for your desktop, so that you have exactly the look you want. It's a very good exercise. :-) > > 3.0 - I would like to use plasma-nm (KDE) > 3.1 - I would not like to use nm-applet (Gnome) I can't help you about that, I don't know them. I'm afraid that plasma-nm, according to its name, heavily depends on plasma. P.S. If you make screenshots with desktop background inside, better use JPEG than PNG. Or use a single color as your desktop background before making the PNG screenshot. Regards, -- Beno?t Minisini From bugtracker at ...3416... Wed Feb 15 19:57:44 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 15 Feb 2017 18:57:44 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1077: gb.form.terminal - Enhancement request In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1077&from=L21haW4- Comment #4 by Brian G: Hi I am using the terminal as a separate front end for my application, eventually I will support access to a number of different systems, including rs232 interface for switches , I am using the terminal form to display the output. The software establishes the connection, rs232 or ssh, and manages the interface with scripts for control. I am using the Print interface to display the output and the key interface to get the keystrokes. I am managing the back end in my application. It would be very helpful to be able to query the display interface to discover the current rows and columns. The print interface provides good terminal support for output. And is very useful. It would simplify many different application of this component to be able to query the dimensions of the screen. Many of the remote system employ text graphics which fail if I don?t resize the remote terminals, straight terminal mode works fine as it just spits out line after line of text, The resize must be managed by my back end. Thanks for your time and consideration, this addition would make the terminal very much more flexible. Also where can I find some more information regarding the key filters as ALT-anything prints a debug console message that they are not supported. many of the graphic terminal interfaces allow shortcut key sequences. Thanks Brian G From bugtracker at ...3416... Wed Feb 15 20:12:44 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 15 Feb 2017 19:12:44 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1077: gb.form.terminal - Enhancement request In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1077&from=L21haW4- Comment #5 by Brian G: When I speak of graphics I am talking about text mode graphics only From bugtracker at ...3416... Wed Feb 15 22:02:24 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 15 Feb 2017 21:02:24 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1077: gb.form.terminal - Enhancement request In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1077&from=L21haW4- Comment #6 by Beno?t MINISINI: I will add a Resize event, but, again, you normally don't need it! If you run your software inside the TerminalView with the Exec() or Shell() method, it will receive the terminal resize signal, and will be able to transmit it to the remote process. I guess you are using the TerminalView just as a display widget, not as a true terminal, and this is the reason why you need to know when it is resized... Beno?t MINISINI changed the state of the bug to: Working. From bugtracker at ...3416... Wed Feb 15 22:06:38 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 15 Feb 2017 21:06:38 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1077: gb.form.terminal - Enhancement request In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1077&from=L21haW4- Comment #7 by Beno?t MINISINI: As for the "ALT+anything" thing, I don't know what you are talking about exactly... From bugtracker at ...3416... Wed Feb 15 22:09:57 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 15 Feb 2017 21:09:57 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1077: gb.form.terminal - Enhancement request In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1077&from=L21haW4- Comment #8 by Beno?t MINISINI: Done in revision #8091. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Wed Feb 15 22:13:13 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 15 Feb 2017 21:13:13 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1075: Make Installation Package fails under Arch In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1075&from=L21haW4- Comment #1 by Moviga TECHNOLOGIES: Just to clarify, this seems to be an issue with the IDE's tool for making Arch packages, as there is no duplicate folder in the Innova DE. From bugtracker at ...3416... Wed Feb 15 22:16:44 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 15 Feb 2017 21:16:44 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1078: X11 Systray behaves strangely under GTK or QT5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1078&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Wed Feb 15 22:16:58 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 15 Feb 2017 21:16:58 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1076: Error with FAST In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1076&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Wed Feb 15 22:17:38 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 15 Feb 2017 21:17:38 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1076: Error with FAST In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1076&from=L21haW4- Comment #1 by Beno?t MINISINI: It seems the Rand() function is not supported by the JIT compiler. As a workaround, you can use the Rnd() function with Int(). From bugtracker at ...3416... Wed Feb 15 22:17:57 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 15 Feb 2017 21:17:57 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1080: The top-left Save button does not save the comment Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1080&from=L21haW4- Moviga TECHNOLOGIES reported a new bug. Summary ------- The top-left Save button does not save the comment Type : Bug Priority : Medium Gambas version : Unknown Product : Bugtracker Description ----------- There appears to be two Save buttons on the screen; one at the top-left for the bug-post and one at the bottom-right for comments. A bit confusing with two buttons having the same name, but doing different things. I found this "bug" when making a comment and clicking the top button. Nothing happened, except taking me to the front page. From bagonergi at ...626... Wed Feb 15 22:37:20 2017 From: bagonergi at ...626... (Gianluigi) Date: Wed, 15 Feb 2017 22:37:20 +0100 Subject: [Gambas-user] dynamic created Menus In-Reply-To: References: <1486507275.4164.6.camel@...3609...> <20170215124743.GB573@...3600...> <20170215143843.GC573@...3600...> Message-ID: Hi Tobias, kindly can you deepen the concept of static. See attached project. Regards Gianluigi 2017-02-15 16:23 GMT+01:00 Gianluigi : > oh I finally understand! > Thanks Tobias, you are a great. > You made me happy :-) > > A big big greeting > Gianluigi > > 2017-02-15 15:38 GMT+01:00 Tobias Boege : > >> On Wed, 15 Feb 2017, Gianluigi wrote: >> > Hi Tobias, >> > I thank you a lot for explanations, in fact I was too concise because, >> but >> > not only, of my English. >> > One thing, when you say: "You can still create objects from a module but >> > that >> > isn't useful because you don't have dynamic symbols in a module", what >> > exactly do you mean by "symbols", because in a module we can insert >> > dynamics variables, functions, sub etc. >> > >> >> By symbols I mean variables, properties and methods (constants and events, >> too, but they don't matter here). If you write them into a module, they >> are >> automatically static. You can't have dynamic ones in a module. Attached is >> a project which demonstrates this. >> >> Regards, >> Tobi >> >> -- >> "There's an old saying: Don't change anything... ever!" -- Mr. Monk >> >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > -------------- next part -------------- A non-text attachment was scrubbed... Name: TestFunction-0.0.1.tar.gz Type: application/x-gzip Size: 11519 bytes Desc: not available URL: From bugtracker at ...3416... Wed Feb 15 22:47:31 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 15 Feb 2017 21:47:31 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1076: Error with FAST In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1076&from=L21haW4- Comment #2 by Gianluigi GRADASCHI: Hi Benoit, thank you for the suggestion Regards Gianluigi From taboege at ...626... Thu Feb 16 00:45:02 2017 From: taboege at ...626... (Tobias Boege) Date: Thu, 16 Feb 2017 00:45:02 +0100 Subject: [Gambas-user] dynamic created Menus In-Reply-To: References: <20170215124743.GB573@...3600...> <20170215143843.GC573@...3600...> Message-ID: <20170215234502.GD573@...3600...> On Wed, 15 Feb 2017, Gianluigi wrote: > Hi Tobias, > > kindly can you deepen the concept of static. > See attached project. > For reference: this is the Main routine Public Sub Main() Dim cl As New Class1 Print cl.myAdd(12, 12) Print cl.myAdd() ' I expected zero Print Module1.myAdd(12, 12) Print Module1.myAdd() ' I expected 24 End and in Class1 as well as Module1 we have Public Function myAdd(Optional a As Integer, b As Integer) As Integer Return (a + b) End where one is a static method and the other is not. Let me first explain static vs. dynamic in general, then you'll see why the code prints 24 0 24 0 You can declare variables, properties and methods as either static or dynamic in Gambas. If you don't declare it as static, then it's dynamic. If a variable is dynamic, then each object you create from the class receives its own separate memory region for the variable, so the value of the variable can be different in every object. This is usually what you want (hence there is no extra keyword to make things dynamic, they are by default, unless you make a module). If you declare a variable as static, you can think of the variable belonging not to an object but to the class itself. All objects you create from the class will share the same memory region for a static variable. If you modify the variable from one object, the change is visible in all other objects. This is what happens to variables. If you make a method static, then it also "belongs to the class" (not to dynamic objects), in the sense that you can only access static variables from a static method. Lastly a static property is just implemented by using the two static Property_Read() and Property_Write() methods, so the explanation of static methods applies here as well. Now about your code: the myAdd() method just calculates the sum of its arguments. It does not access any variables. Whether something is static or not only makes a difference if you access memory in your class or object. The attached project serves better to highlight the difference, because it actually *stores* values, once statically and once dynamically: ' Main.module Public Sub Main() Dim x, y As New Class1 Dim u, v As New Module1 x.Add(10) y.Add(5) x.Print() y.Print() Print "---" u.Add(10) v.Add(5) u.Print() v.Print() End ' Class1.class and Module1.module identical code Public sum As Integer Public Sub Add(a As Integer) sum += a End Public Sub Print() Print sum End Output is 10 5 --- 15 15 because in the first half, x and y have a dynamic sum variable, i.e. both objects have their own variable, whereas in the second case sum is static, so both additions actually go to the same region in memory and you get 10+5 = 15. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: TestFunction-0.0.2.tar.gz Type: application/octet-stream Size: 11490 bytes Desc: not available URL: From bugtracker at ...3416... Thu Feb 16 02:33:38 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 16 Feb 2017 01:33:38 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1077: gb.form.terminal - Enhancement request In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1077&from=L21haW4- Comment #9 by Brian G: Ok more details regarding error I receive when text graphics are used the debug console displays TerminalFilter_VT100.Escape.627: Not implemented: "[1034h" TerminalFilter_VT100.Escape.627: Not implemented: "[1034h" TerminalFilter_VT100.Escape.627: Not implemented: "[1034h" TerminalFilter_VT100.Escape.627: Not implemented: "[1034h" TerminalFilter_VT100.Escape.627: Not implemented: "[1034h" TerminalFilter_VT100.Escape.627: Not implemented: "[1034h" TerminalFilter_VT100.Escape.627: Not implemented: "[1034h" TerminalFilter_VT100.Escape.627: Not implemented: "[1034h" TerminalFilter_VT100.Escape.627: Not implemented: "[1034h" TerminalFilter_VT100.Escape.627: Not implemented: "[1034h" TerminalFilter_VT100.Escape.627: Not implemented: "[1034h" TerminalFilter_VT100.Escape.627: Not implemented: "[1034h" From bugtracker at ...3416... Thu Feb 16 02:34:08 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 16 Feb 2017 01:34:08 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1077: gb.form.terminal - Enhancement request In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1077&from=L21haW4- Comment #10 by Brian G: So my question was how do I modify the filter? From taboege at ...626... Thu Feb 16 03:20:03 2017 From: taboege at ...626... (Tobias Boege) Date: Thu, 16 Feb 2017 03:20:03 +0100 Subject: [Gambas-user] Configure real httpd for gb.web.form Message-ID: <20170216022003.GE573@...3600...> Hi list, has anyone here ever set up a real HTTP server for running gb.web.form applications? I've decided to use nginx and setting up https there was easy enough (https being the the reason why I can't use gb.httpd). Normal Gambas CGI, i.e. a Gambas script with gb.web, also works fine. But I have no idea about gb.web.form. I read around in the gb.httpd source code and kind of get its control flow but I'm none the wiser about how to set up an external HTTP server to work with this component. In particular I would run the .gambas executable archive on every request, which, I presume, involves rewriting the request URL, i.e. /my/project.gambas/x should be redirected to /my/project.gambas while setting Request.Path to "/x". I'm not sure if any other information about my setup is useful here. I think I succeeded in redirecting all requests to my program and by setting PATH_INFO from the original request URL, I get a meaningful Request.Path in Gambas. The result being that the skeleton HTML of my page is shown but it's not responsive at all (and it appears to be the wrong page, i.e. the wrong Webform.Startup, indicating that probably Session management doesn't work). It also seems like the browser is not able to communicate with gb.web.form. Instead of trying to debug my setup which looks completely wrong, my question would be if someone has a working configuration for this type of project for any HTTP server (that isn't gb.httpd) -- in the hope that I can go from there to nginx. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Thu Feb 16 03:33:16 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 16 Feb 2017 03:33:16 +0100 Subject: [Gambas-user] Configure real httpd for gb.web.form In-Reply-To: <20170216022003.GE573@...3600...> References: <20170216022003.GE573@...3600...> Message-ID: <830a454a-0954-3a4b-e0df-b1531b819fef@...1...> Le 16/02/2017 ? 03:20, Tobias Boege a ?crit : > Hi list, > > has anyone here ever set up a real HTTP server for running gb.web.form > applications? I've decided to use nginx and setting up https there was > easy enough (https being the the reason why I can't use gb.httpd). > Normal Gambas CGI, i.e. a Gambas script with gb.web, also works fine. > > But I have no idea about gb.web.form. Projects using gb.web.form are CGI scripts too, no difference. > I read around in the gb.httpd > source code and kind of get its control flow but I'm none the wiser > about how to set up an external HTTP server to work with this component. > In particular I would run the .gambas executable archive on every request, > which, I presume, involves rewriting the request URL, i.e. > > /my/project.gambas/x > > should be redirected to > > /my/project.gambas > > while setting Request.Path to "/x". > > I'm not sure if any other information about my setup is useful here. > I think I succeeded in redirecting all requests to my program and by > setting PATH_INFO from the original request URL, I get a meaningful > Request.Path in Gambas. The result being that the skeleton HTML of my > page is shown but it's not responsive at all (and it appears to be the > wrong page, i.e. the wrong Webform.Startup, indicating that probably > Session management doesn't work). It also seems like the browser is not > able to communicate with gb.web.form. > > Instead of trying to debug my setup which looks completely wrong, my > question would be if someone has a working configuration for this type > of project for any HTTP server (that isn't gb.httpd) -- in the hope > that I can go from there to nginx. > > Regards, > Tobi > Example with the configuration file of lighttpd: ... # This tells that all and executable files are cgi scripts, # and just them cgi.execute-x-only = "enable" cgi.assign = ( "" => "" ) ... # This tell that the "/manager" URL is associated with the CGI script alias.url = ( "/manager" => "/path/to/MyCgiScript.gambas" ) Regards, -- Beno?t Minisini From gambas at ...1... Thu Feb 16 03:34:23 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 16 Feb 2017 03:34:23 +0100 Subject: [Gambas-user] Configure real httpd for gb.web.form In-Reply-To: <830a454a-0954-3a4b-e0df-b1531b819fef@...1...> References: <20170216022003.GE573@...3600...> <830a454a-0954-3a4b-e0df-b1531b819fef@...1...> Message-ID: <440232a1-2bd6-e32a-8df3-9c8731b134ef@...1...> Le 16/02/2017 ? 03:33, Beno?t Minisini a ?crit : > > Example with the configuration file of lighttpd: > > ... > # This tells that all and executable files are cgi scripts, ---> This tells that all executable files are cgi scripts, -- Beno?t Minisini From bugtracker at ...3416... Thu Feb 16 03:36:05 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 16 Feb 2017 02:36:05 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1077: gb.form.terminal - Enhancement request In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1077&from=L21haW4- Comment #11 by Brian G: Thank you for making the change, I really appreciate it! From bugtracker at ...3416... Thu Feb 16 04:01:20 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 16 Feb 2017 03:01:20 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1077: gb.form.terminal - Enhancement request In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1077&from=L21haW4- Comment #12 by Beno?t MINISINI: You can ignore these messages. I will remove them, as these escape sequences usually do not have any effect in terminal emulators. From bugtracker at ...3416... Thu Feb 16 04:49:13 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 16 Feb 2017 03:49:13 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1077: gb.form.terminal - Enhancement request In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1077&from=L21haW4- Comment #13 by Brian G: Question regarding this, Are you spanning escape sequences across Print calls. That is can I send part on first call and then rest of the sequence on the next call? I am not checking that I send complete escape sequence as they are received and forwarded to the terminal! This may be the issue with the serious errors! my screens are also missing graphics here and there. From bugtracker at ...3416... Thu Feb 16 04:50:15 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 16 Feb 2017 03:50:15 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1077: gb.form.terminal - Enhancement request In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1077&from=L21haW4- Comment #14 by Brian G: Spurious not serious From charlie at ...2793... Thu Feb 16 07:47:47 2017 From: charlie at ...2793... (Charlie) Date: Wed, 15 Feb 2017 23:47:47 -0700 (MST) Subject: [Gambas-user] Form Top bar In-Reply-To: <1487226741081-58480.post@...3046...> References: <1487226741081-58480.post@...3046...> Message-ID: <1487227667910-58481.post@...3046...> On the Form properties set Border to False. ----- Check out www.gambas.one -- View this message in context: http://gambas.8142.n7.nabble.com/Form-Top-bar-tp58480p58481.html Sent from the gambas-user mailing list archive at Nabble.com. From bagonergi at ...626... Thu Feb 16 11:34:51 2017 From: bagonergi at ...626... (Gianluigi) Date: Thu, 16 Feb 2017 11:34:51 +0100 Subject: [Gambas-user] dynamic created Menus In-Reply-To: <20170215234502.GD573@...3600...> References: <20170215124743.GB573@...3600...> <20170215143843.GC573@...3600...> <20170215234502.GD573@...3600...> Message-ID: Hi Tobias, first of all I apologize to you for the late reply. You really been kind and patient to answer in a broad and comprehensive manner to a blockhead like me. I confirm that you are a great and thank you very much. Regards Gianluigi 2017-02-16 0:45 GMT+01:00 Tobias Boege : > On Wed, 15 Feb 2017, Gianluigi wrote: > > Hi Tobias, > > > > kindly can you deepen the concept of static. > > See attached project. > > > > For reference: this is the Main routine > > Public Sub Main() > Dim cl As New Class1 > > Print cl.myAdd(12, 12) > Print cl.myAdd() ' I expected zero > Print Module1.myAdd(12, 12) > Print Module1.myAdd() ' I expected 24 > End > > and in Class1 as well as Module1 we have > > Public Function myAdd(Optional a As Integer, b As Integer) As Integer > Return (a + b) > End > > where one is a static method and the other is not. > > Let me first explain static vs. dynamic in general, then you'll see why the > code prints > > 24 > 0 > 24 > 0 > > You can declare variables, properties and methods as either static or > dynamic in Gambas. If you don't declare it as static, then it's dynamic. > If a variable is dynamic, then each object you create from the class > receives its own separate memory region for the variable, so the value > of the variable can be different in every object. This is usually what > you want (hence there is no extra keyword to make things dynamic, they > are by default, unless you make a module). If you declare a variable as > static, you can think of the variable belonging not to an object but to > the class itself. All objects you create from the class will share the > same memory region for a static variable. If you modify the variable > from one object, the change is visible in all other objects. > > This is what happens to variables. If you make a method static, then it > also "belongs to the class" (not to dynamic objects), in the sense that > you can only access static variables from a static method. Lastly a static > property is just implemented by using the two static Property_Read() and > Property_Write() methods, so the explanation of static methods applies > here as well. > > Now about your code: the myAdd() method just calculates the sum of its > arguments. It does not access any variables. Whether something is static > or not only makes a difference if you access memory in your class or > object. > > The attached project serves better to highlight the difference, because > it actually *stores* values, once statically and once dynamically: > > ' Main.module > Public Sub Main() > Dim x, y As New Class1 > Dim u, v As New Module1 > > x.Add(10) > y.Add(5) > x.Print() > y.Print() > Print "---" > > u.Add(10) > v.Add(5) > u.Print() > v.Print() > End > > ' Class1.class and Module1.module identical code > Public sum As Integer > > Public Sub Add(a As Integer) > sum += a > End > > Public Sub Print() > Print sum > End > > Output is > > 10 > 5 > --- > 15 > 15 > > because in the first half, x and y have a dynamic sum variable, i.e. both > objects have their own variable, whereas in the second case sum is static, > so both additions actually go to the same region in memory and you get > 10+5 = 15. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From bill-lancaster at ...2231... Thu Feb 16 13:24:28 2017 From: bill-lancaster at ...2231... (bill-lancaster) Date: Thu, 16 Feb 2017 05:24:28 -0700 (MST) Subject: [Gambas-user] Runtime Libraries in Gambas 3.9.2 Message-ID: <1487247868825-58484.post@...3046...> Have just upgraded my Gambas to 3.9.2 from a much earlier v3. The way libraries are managed has changed and I don't quite understand how the the arrangement works. Can someone point me to some help on this matter? Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/Runtime-Libraries-in-Gambas-3-9-2-tp58484.html Sent from the gambas-user mailing list archive at Nabble.com. From chrisml at ...3340... Thu Feb 16 18:01:11 2017 From: chrisml at ...3340... (Christof Thalhofer) Date: Thu, 16 Feb 2017 18:01:11 +0100 Subject: [Gambas-user] Runtime Libraries in Gambas 3.9.2 In-Reply-To: <1487247868825-58484.post@...3046...> References: <1487247868825-58484.post@...3046...> Message-ID: <3408c10b-f61d-571c-4671-9c8cf6572d08@...3340...> Am 16.02.2017 um 13:24 schrieb bill-lancaster: > Have just upgraded my Gambas to 3.9.2 from a much earlier v3. > The way libraries are managed has changed and I don't quite understand how > the the arrangement works. > Can someone point me to some help on this matter? I fear there is none. If you create and use own libs you have to distinguish between development and production. Development: At development time a lib has to be defined as such (type "library" in the project dialog) and "vendor" has also to be defined with an unique name. If you compile the project, the IDE places the lib in ~/.local/share/gambas3/lib/[vendor]/ say ... ~/.local/share/gambas3/lib/yourname/ And all other projects can use the libs residing in ~/.local/share/gambas3/lib Production: If you create a installation package from a library project and install it on any system with Gambas3 on it (even your development system), the libs will be installed in /usr/lib/gambas3/yourname A project which depends on a lib will search for it there. The naming of the lib is always like that: yourlib:1.4.gambas Which includes the version string, so that different versions of libs can reside together in the lib directory. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From chrisml at ...3340... Thu Feb 16 18:11:32 2017 From: chrisml at ...3340... (Christof Thalhofer) Date: Thu, 16 Feb 2017 18:11:32 +0100 Subject: [Gambas-user] Runtime Libraries in Gambas 3.9.2 In-Reply-To: <3408c10b-f61d-571c-4671-9c8cf6572d08@...3340...> References: <1487247868825-58484.post@...3046...> <3408c10b-f61d-571c-4671-9c8cf6572d08@...3340...> Message-ID: I forgot something: Am 16.02.2017 um 18:01 schrieb Christof Thalhofer: > Development: > > At development time a lib has to be defined as such (type "library" in > the project dialog) and "vendor" has also to be defined with an unique > name. If you compile the project, the IDE places the lib in > > ~/.local/share/gambas3/lib/[vendor]/ > > say ... > > ~/.local/share/gambas3/lib/yourname/ > > And all other projects can use the libs residing in > ~/.local/share/gambas3/lib In the other projects you can define the lib they should use in the project dialog [Ctrl-P]. In the libraries tab there you can choose which lib has to be included. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From bugtracker at ...3416... Thu Feb 16 21:19:59 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 16 Feb 2017 20:19:59 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1065: Icon does not appear in tray In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1065&from=L21haW4- Comment #12 by V?ctor PEREZ: Run the test project and the icon appears, Showing this message in console, "Sni-qt / 3372" WARN 17: 15: 39.288 void StatusNotifierItemFactory :: connectToSnw () Invalid interface to SNW_SERVICE Greetings. From bugtracker at ...3416... Thu Feb 16 21:23:13 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 16 Feb 2017 20:23:13 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1065: Icon does not appear in tray In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1065&from=L21haW4- Comment #13 by V?ctor PEREZ: Sorry I missed putting the icon on the bar (Icon is shown in bar) From buster6seven at ...626... Fri Feb 17 02:03:02 2017 From: buster6seven at ...626... (Shane) Date: Fri, 17 Feb 2017 12:03:02 +1100 Subject: [Gambas-user] class Message-ID: <235994ad-588d-39bf-7423-864b9081bc50@...626...> So gambas ide crashed while editing source code now i can't change a class _new definition it keeps going back to the original one i had even though i deleted the definition and deleted the class file and reinstalled gambas any ideas thanks Shane From jussi.lahtinen at ...626... Fri Feb 17 02:15:53 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 17 Feb 2017 03:15:53 +0200 Subject: [Gambas-user] class In-Reply-To: <235994ad-588d-39bf-7423-864b9081bc50@...626...> References: <235994ad-588d-39bf-7423-864b9081bc50@...626...> Message-ID: AFAIK Gambas does not reverse your changes... do you mean the IDE crashes every time you try to make the changes? Can you send the source? Jussi On Fri, Feb 17, 2017 at 3:03 AM, Shane wrote: > So gambas ide crashed while editing source code now i can't change a > class _new definition it keeps > > going back to the original one i had even though i deleted the > definition and deleted the class file and reinstalled gambas any ideas > > > thanks Shane > > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From buster6seven at ...626... Fri Feb 17 02:32:32 2017 From: buster6seven at ...626... (Shane) Date: Fri, 17 Feb 2017 12:32:32 +1100 Subject: [Gambas-user] class In-Reply-To: References: <235994ad-588d-39bf-7423-864b9081bc50@...626...> Message-ID: No the ide only crashed once so my class declaration looks like this and when i try ti instantiate my class so no matter what i but into the class new these four variables remain On 17/02/17 12:15, Jussi Lahtinen wrote: > AFAIK Gambas does not reverse your changes... do you mean the IDE crashes > every time you try to make the changes? > Can you send the source? > > > Jussi > > On Fri, Feb 17, 2017 at 3:03 AM, Shane wrote: > >> So gambas ide crashed while editing source code now i can't change a >> class _new definition it keeps >> >> going back to the original one i had even though i deleted the >> definition and deleted the class file and reinstalled gambas any ideas >> >> >> thanks Shane >> >> >> >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From jussi.lahtinen at ...626... Fri Feb 17 03:04:49 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 17 Feb 2017 04:04:49 +0200 Subject: [Gambas-user] class In-Reply-To: References: <235994ad-588d-39bf-7423-864b9081bc50@...626...> Message-ID: Looks like this..? Jussi On Fri, Feb 17, 2017 at 3:32 AM, Shane wrote: > No the ide only crashed once > > so my class declaration looks like this > > and when i try ti instantiate my class > > > so no matter what i but into the class new these four variables remain > > On 17/02/17 12:15, Jussi Lahtinen wrote: > > AFAIK Gambas does not reverse your changes... do you mean the IDE crashes > > every time you try to make the changes? > > Can you send the source? > > > > > > Jussi > > > > On Fri, Feb 17, 2017 at 3:03 AM, Shane wrote: > > > >> So gambas ide crashed while editing source code now i can't change a > >> class _new definition it keeps > >> > >> going back to the original one i had even though i deleted the > >> definition and deleted the class file and reinstalled gambas any ideas > >> > >> > >> thanks Shane > >> > >> > >> > >> ------------------------------------------------------------ > >> ------------------ > >> Check out the vibrant tech community on one of the world's most > >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > ------------------------------------------------------------ > ------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From buster6seven at ...626... Fri Feb 17 03:08:55 2017 From: buster6seven at ...626... (Shane) Date: Fri, 17 Feb 2017 13:08:55 +1100 Subject: [Gambas-user] class In-Reply-To: References: <235994ad-588d-39bf-7423-864b9081bc50@...626...> Message-ID: <55b8ac0b-04e4-61a6-66f8-7c4ca578816d@...626...> Looks Like Pic1 and then pic2 On 17/02/17 13:04, Jussi Lahtinen wrote: > Looks like this..? > > > Jussi > > On Fri, Feb 17, 2017 at 3:32 AM, Shane wrote: > >> No the ide only crashed once >> >> so my class declaration looks like this >> >> and when i try ti instantiate my class >> >> >> so no matter what i but into the class new these four variables remain >> >> On 17/02/17 12:15, Jussi Lahtinen wrote: >>> AFAIK Gambas does not reverse your changes... do you mean the IDE crashes >>> every time you try to make the changes? >>> Can you send the source? >>> >>> >>> Jussi >>> >>> On Fri, Feb 17, 2017 at 3:03 AM, Shane wrote: >>> >>>> So gambas ide crashed while editing source code now i can't change a >>>> class _new definition it keeps >>>> >>>> going back to the original one i had even though i deleted the >>>> definition and deleted the class file and reinstalled gambas any ideas >>>> >>>> >>>> thanks Shane >>>> >>>> >>>> >>>> ------------------------------------------------------------ >>>> ------------------ >>>> Check out the vibrant tech community on one of the world's most >>>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> >>> ------------------------------------------------------------ >> ------------------ >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -------------- next part -------------- A non-text attachment was scrubbed... Name: pic1.png Type: image/png Size: 20932 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pic2.png Type: image/png Size: 27256 bytes Desc: not available URL: From jussi.lahtinen at ...626... Fri Feb 17 03:49:13 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 17 Feb 2017 04:49:13 +0200 Subject: [Gambas-user] class In-Reply-To: <55b8ac0b-04e4-61a6-66f8-7c4ca578816d@...626...> References: <235994ad-588d-39bf-7423-864b9081bc50@...626...> <55b8ac0b-04e4-61a6-66f8-7c4ca578816d@...626...> Message-ID: OK, so the signature is not updated... have you tried to recompile all from Gambas IDE? Is that library or regular Gambas project? Jussi On Fri, Feb 17, 2017 at 4:08 AM, Shane wrote: > Looks Like Pic1 > > and then pic2 > > > > > On 17/02/17 13:04, Jussi Lahtinen wrote: > >> Looks like this..? >> >> >> Jussi >> >> On Fri, Feb 17, 2017 at 3:32 AM, Shane wrote: >> >> No the ide only crashed once >>> >>> so my class declaration looks like this >>> >>> and when i try ti instantiate my class >>> >>> >>> so no matter what i but into the class new these four variables remain >>> >>> On 17/02/17 12:15, Jussi Lahtinen wrote: >>> >>>> AFAIK Gambas does not reverse your changes... do you mean the IDE >>>> crashes >>>> every time you try to make the changes? >>>> Can you send the source? >>>> >>>> >>>> Jussi >>>> >>>> On Fri, Feb 17, 2017 at 3:03 AM, Shane wrote: >>>> >>>> So gambas ide crashed while editing source code now i can't change a >>>>> class _new definition it keeps >>>>> >>>>> going back to the original one i had even though i deleted the >>>>> definition and deleted the class file and reinstalled gambas any ideas >>>>> >>>>> >>>>> thanks Shane >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------ >>>>> ------------------ >>>>> Check out the vibrant tech community on one of the world's most >>>>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >>>>> _______________________________________________ >>>>> Gambas-user mailing list >>>>> Gambas-user at lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>>> >>>>> ------------------------------------------------------------ >>>> >>> ------------------ >>> >>>> Check out the vibrant tech community on one of the world's most >>>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> >>> ------------------------------------------------------------ >>> ------------------ >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >>> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From gambas at ...1... Fri Feb 17 03:55:27 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 17 Feb 2017 03:55:27 +0100 Subject: [Gambas-user] class In-Reply-To: <55b8ac0b-04e4-61a6-66f8-7c4ca578816d@...626...> References: <235994ad-588d-39bf-7423-864b9081bc50@...626...> <55b8ac0b-04e4-61a6-66f8-7c4ca578816d@...626...> Message-ID: Le 17/02/2017 ? 03:08, Shane a ?crit : > Looks Like Pic1 > > and then pic2 > > > Which version of Gambas do you use? -- Beno?t Minisini From buster6seven at ...626... Fri Feb 17 03:55:52 2017 From: buster6seven at ...626... (Shane) Date: Fri, 17 Feb 2017 13:55:52 +1100 Subject: [Gambas-user] class In-Reply-To: References: <235994ad-588d-39bf-7423-864b9081bc50@...626...> <55b8ac0b-04e4-61a6-66f8-7c4ca578816d@...626...> Message-ID: yes i have tried recompiling its a sdl project it seems like their is a backup file some where that wasn't deleted when the IDE crashed but i can't find any On 17/02/17 13:49, Jussi Lahtinen wrote: > OK, so the signature is not updated... have you tried to recompile all from > Gambas IDE? Is that library or regular Gambas project? > > > Jussi > > On Fri, Feb 17, 2017 at 4:08 AM, Shane wrote: > >> Looks Like Pic1 >> >> and then pic2 >> >> >> >> >> On 17/02/17 13:04, Jussi Lahtinen wrote: >> >>> Looks like this..? >>> >>> >>> Jussi >>> >>> On Fri, Feb 17, 2017 at 3:32 AM, Shane wrote: >>> >>> No the ide only crashed once >>>> so my class declaration looks like this >>>> >>>> and when i try ti instantiate my class >>>> >>>> >>>> so no matter what i but into the class new these four variables remain >>>> >>>> On 17/02/17 12:15, Jussi Lahtinen wrote: >>>> >>>>> AFAIK Gambas does not reverse your changes... do you mean the IDE >>>>> crashes >>>>> every time you try to make the changes? >>>>> Can you send the source? >>>>> >>>>> >>>>> Jussi >>>>> >>>>> On Fri, Feb 17, 2017 at 3:03 AM, Shane wrote: >>>>> >>>>> So gambas ide crashed while editing source code now i can't change a >>>>>> class _new definition it keeps >>>>>> >>>>>> going back to the original one i had even though i deleted the >>>>>> definition and deleted the class file and reinstalled gambas any ideas >>>>>> >>>>>> >>>>>> thanks Shane >>>>>> >>>>>> >>>>>> >>>>>> ------------------------------------------------------------ >>>>>> ------------------ >>>>>> Check out the vibrant tech community on one of the world's most >>>>>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >>>>>> _______________________________________________ >>>>>> Gambas-user mailing list >>>>>> Gambas-user at lists.sourceforge.net >>>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>>>> >>>>>> ------------------------------------------------------------ >>>> ------------------ >>>> >>>>> Check out the vibrant tech community on one of the world's most >>>>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >>>>> _______________________________________________ >>>>> Gambas-user mailing list >>>>> Gambas-user at lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>>> >>>> ------------------------------------------------------------ >>>> ------------------ >>>> Check out the vibrant tech community on one of the world's most >>>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> >>>> ------------------------------------------------------------ >>> ------------------ >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From buster6seven at ...626... Fri Feb 17 04:15:57 2017 From: buster6seven at ...626... (Shane) Date: Fri, 17 Feb 2017 14:15:57 +1100 Subject: [Gambas-user] class In-Reply-To: References: <235994ad-588d-39bf-7423-864b9081bc50@...626...> <55b8ac0b-04e4-61a6-66f8-7c4ca578816d@...626...> Message-ID: It seems i can compile it now just the signature is not updated as before it would just add definitions to the end if i added them as new ones [System] Gambas=3.9.90 OperatingSystem=Linux Kernel=4.4.0-45-generic Architecture=x86_64 Distribution=Linux Mint 17.2 Rafaela Desktop=MATE Theme=Gtk Language=en_AU.UTF-8 Memory=3805M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-9R1w2qGsy4,guid=ca2f4b9de0de2b55e96cbd6258a62c4c DEFAULTS_PATH=/usr/share/gconf/mate.default.path DESKTOP_SESSION=mate DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=mate GDM_XSERVER_LOCATION=local GNOME_KEYRING_CONTROL=/run/user/1000/keyring-RFhy2e GNOME_KEYRING_PID=1894 GPG_AGENT_INFO=/run/user/1000/keyring-RFhy2e/gpg:0:1 HOME= KICAD_PATH=/usr/share/kicad KIGITHUB=https://github.com/KiCad LANG=en_AU.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path MATE_DESKTOP_SESSION_ID=this-is-deprecated MDMSESSION=mate MDM_LANG=en_AU.UTF-8 MDM_XSERVER_LOCATION=local PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= SESSION_MANAGER=local/:@/tmp/.ICE-unix/1650,unix/:/tmp/.ICE-unix/1650 SHELL=/bin/bash SSH_AGENT_PID=1811 SSH_AUTH_SOCK=/run/user/1000/keyring-RFhy2e/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=8 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=139d2632112d070b9e811bbc561842ce-1487285321.822054-1664871980 XDG_SESSION_DESKTOP=mate XDG_SESSION_ID=c1 XDG_VTNR=8 On 17/02/17 13:55, Beno?t Minisini wrote: > Le 17/02/2017 ? 03:08, Shane a ?crit : >> Looks Like Pic1 >> >> and then pic2 >> >> >> > Which version of Gambas do you use? > From buster6seven at ...626... Fri Feb 17 04:20:15 2017 From: buster6seven at ...626... (Shane) Date: Fri, 17 Feb 2017 14:20:15 +1100 Subject: [Gambas-user] class In-Reply-To: References: <235994ad-588d-39bf-7423-864b9081bc50@...626...> <55b8ac0b-04e4-61a6-66f8-7c4ca578816d@...626...> Message-ID: <8768408f-e147-317b-c9f9-caa50e93e53f@...626...> here is the code it looks like its the way I'm doing things with inheriting On 17/02/17 13:55, Beno?t Minisini wrote: > Le 17/02/2017 ? 03:08, Shane a ?crit : >> Looks Like Pic1 >> >> and then pic2 >> >> >> > Which version of Gambas do you use? > From buster6seven at ...626... Fri Feb 17 04:20:59 2017 From: buster6seven at ...626... (Shane) Date: Fri, 17 Feb 2017 14:20:59 +1100 Subject: [Gambas-user] class In-Reply-To: References: <235994ad-588d-39bf-7423-864b9081bc50@...626...> <55b8ac0b-04e4-61a6-66f8-7c4ca578816d@...626...> Message-ID: <69ba6185-e41b-dbf8-b2a7-59a560ad8cdf@...626...> here it is On 17/02/17 13:55, Beno?t Minisini wrote: > Le 17/02/2017 ? 03:08, Shane a ?crit : >> Looks Like Pic1 >> >> and then pic2 >> >> >> > Which version of Gambas do you use? > -------------- next part -------------- A non-text attachment was scrubbed... Name: Gamtetris-0.0.1.tar.gz Type: application/gzip Size: 54600 bytes Desc: not available URL: From buster6seven at ...626... Fri Feb 17 04:28:24 2017 From: buster6seven at ...626... (Shane) Date: Fri, 17 Feb 2017 14:28:24 +1100 Subject: [Gambas-user] class In-Reply-To: References: <235994ad-588d-39bf-7423-864b9081bc50@...626...> <55b8ac0b-04e4-61a6-66f8-7c4ca578816d@...626...> Message-ID: <8b99846d-1947-66fe-7629-20b8438aecba@...626...> I think this is my problem 3.4. Inheritance and constructor Contrary to all the object language I know, each class in the inheritance hierarchy consumes the parameters passed to the constructor. Let's suppose we have the following inheritance tree: |MyListBox ---inherits--> ListBox ---inherits---> Control | * Control ._new() does not exist. * ListBox ._new() takes one parameter: the parent control. * MyListBox._new() takes one parameter: a name - It is just an example. So |NEW MyListBox| will take two parameters. * The first will be sent to ListBox ._new(). * The second to MyListBox._new(). Be careful: the ListBox ._new() will be called first, so that you are sure that the ListBox control exists when you are in MyListBox._new(). Then you will create a MyListBox control this way: hMyListBox *=* *New* *MyListBox**(*hContainer*,* "Name"*)* So the order of arguments is the following: * Mandatory arguments are consumed first, and then optional arguments if they are available. * The arguments of elder classes are specified first. In Gambas 2.0, the order or arguments were reversed! For example, if you have the following inheritance: |MyForm --> Form --> Window | with the MyForm constructor being: |Sub _new(FirstArg As String, SecondArg as Integer, Optional ThirdArg As Integer) | Note: the Form constructor takes no argument, and the Window constructor takes an optional parent argument. The signature of the final constructor will be: |New MyForm(FirstArg As String, SecondArg As Integer, Optional Parent As Control, Optional ThirdArg As Integer) | In a more general way, the order of arguments for a three level inheritance tree is: * Mandatory arguments of the grand-parent constructor. * Mandatory arguments of the parent constructor. * Mandatory arguments of the final constructor. * Optional arguments of the grand-parent constructor. * Optional arguments of the parent constructor. * Optional arguments of the final constructor. On 17/02/17 13:55, Beno?t Minisini wrote: > Le 17/02/2017 ? 03:08, Shane a ?crit : >> Looks Like Pic1 >> >> and then pic2 >> >> >> > Which version of Gambas do you use? > From bugtracker at ...3416... Fri Feb 17 11:01:12 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 17 Feb 2017 10:01:12 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1081: Event TextBox.Change Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1081&from=L21haW4- hakan UNVER reported a new bug. Summary ------- Event TextBox.Change Type : Bug Priority : Medium Gambas version : 3.9 Product : QT4 component Description ----------- When use this option Event TextBox.Change Gambas ide has crash.. message: This application has raised an unexpected error and must abort [13] Null object. FCompletion.InsertItem.871 After that need kill applicatipn by terminal.. System information ------------------ [System] Gambas=3.9.2 OperatingSystem=Linux Kernel=4.4.0-62-generic Architecture=x86_64 Distribution=Linux Mint 18.1 Serena Desktop=CINNAMON Theme=Gtk Language=en_US.UTF-8 Memory=5764M [Libraries] Cairo=libcairo.so.2.11502.0 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.802.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CINNAMON_VERSION=3.2.6 DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-16xr8KP2lH,guid=6213b956ff01e570931ae1bf58a6ae90 DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path DESKTOP_SESSION=cinnamon DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=cinnamon GDM_XSERVER_LOCATION=local GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=5951 GJS_DEBUG_OUTPUT=stderr GJS_DEBUG_TOPICS=JS ERROR;JS LOG GNOME_DESKTOP_SESSION_ID=this-is-deprecated GTK_MODULES=gail:atk-bridge GTK_OVERLAY_SCROLLING=1 HOME= LANG=en_US.UTF-8 LC_ADDRESS=tr_TR.UTF-8 LC_IDENTIFICATION=tr_TR.UTF-8 LC_MEASUREMENT=tr_TR.UTF-8 LC_MONETARY=tr_TR.UTF-8 LC_NAME=tr_TR.UTF-8 LC_NUMERIC=tr_TR.UTF-8 LC_PAPER=tr_TR.UTF-8 LC_TELEPHONE=tr_TR.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path MDMSESSION=cinnamon MDM_LANG=en_US.UTF-8 MDM_XSERVER_LOCATION=local 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_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_QPA_PLATFORMTHEME=qgnomeplatform QT_STYLE_OVERRIDE=gtk SESSION_MANAGER=local/:@/tmp/.ICE-unix/1746,unix/:/tmp/.ICE-unix/1746 SHELL=/bin/bash SSH_AGENT_PID=1815 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=8 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg XDG_CURRENT_DESKTOP=X-Cinnamon XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=5ab3c275b7304ed3b8aeef9ffcc37eb4-1487318672.766202-651400466 XDG_SESSION_DESKTOP=cinnamon XDG_SESSION_ID=c1 XDG_VTNR=8 From bill-lancaster at ...2231... Fri Feb 17 11:05:01 2017 From: bill-lancaster at ...2231... (bill-lancaster) Date: Fri, 17 Feb 2017 03:05:01 -0700 (MST) Subject: [Gambas-user] Runtime Libraries in Gambas 3.9.2 In-Reply-To: References: <1487247868825-58484.post@...3046...> <3408c10b-f61d-571c-4671-9c8cf6572d08@...3340...> Message-ID: <1487325901824-58502.post@...3046...> Alles Gute indeed! Thanks Christof. The addition of the vendor info made all the difference. -- -- View this message in context: http://gambas.8142.n7.nabble.com/Runtime-Libraries-in-Gambas-3-9-2-tp58484p58502.html Sent from the gambas-user mailing list archive at Nabble.com. From bugtracker at ...3416... Fri Feb 17 14:00:16 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 17 Feb 2017 13:00:16 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1081: Event TextBox.Change In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1081&from=L21haW4- Comment #1 by Fabien BODARD: For information an event name can't have a point in the name. Can you give us a litle project that show the problem, I can't repeat it. Fabien BODARD changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Fri Feb 17 14:53:53 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 17 Feb 2017 13:53:53 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1081: Event TextBox.Change In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1081&from=L21haW4- Comment #2 by hakan UNVER: I send sample project Please check hakan UNVER changed the state of the bug to: Opened. From bugtracker at ...3416... Fri Feb 17 14:54:07 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 17 Feb 2017 13:54:07 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1081: Event TextBox.Change In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1081&from=L21haW4- hakan UNVER added an attachment: bug_track.tar.gz From bugtracker at ...3416... Fri Feb 17 18:08:54 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 17 Feb 2017 17:08:54 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1082: Desktop.Windows[0].FullScreen Fails with Error Void key Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1082&from=L21haW4- Tony MOREHEN reported a new bug. Summary ------- Desktop.Windows[0].FullScreen Fails with Error Void key Type : Bug Priority : Medium Gambas version : 3.9.90 (TRUNK) Product : Unknown Description ----------- Desktop.Windows[0].FullScreen=true fails with error Void key Cause: Fullscreen is a property in DesktopWindows.class in Desktop.Windows.class, the function FullScreen_Write calls: SetState("_NET_WM_STATE_FULLSCREEN") This means that the X11 SendClientMessage function is called with State2 defaulting to an empty string. Private Sub SetState(State As String, Optional State2 As String) X11.SendClientMessageToRootWindow(Atom["_NET_WM_STATE"], [1, Atom[State], Atom[State2], 2], $iId) End In Atom.class, this causes a void key failure at $cAtom[sAtom] = iAtom ' Gambas class file Static Private $cAtom As New Collection Static Public Sub _get(sAtom As String) As Integer Dim iAtom As Integer Try iAtom = $cAtom[sAtom] If Error Then iAtom = X11.InternAtom(sAtom, True) $cAtom[sAtom] = iAtom Endif Return iAtom End Solution 1: The X11 documentation for the _NET_WM_STATE message says that if there is no State2, Atom(State2) should be set to zero. SetState could be written as: Private Sub SetState(State As String, Optional State2 As String) if IsMissing(State2) then X11.SendClientMessageToRootWindow(Atom["_NET_WM_STATE"], [1, Atom[State], 0, 2], $iId) Else X11.SendClientMessageToRootWindow(Atom["_NET_WM_STATE"], [1, Atom[State], Atom[State2], 2], $iId) Endif End or: Private Sub SetState(State As String, Optional State2 As String) if State2 = "" then X11.SendClientMessageToRootWindow(Atom["_NET_WM_STATE"], [1, Atom[State], 0, 2], $iId) Else X11.SendClientMessageToRootWindow(Atom["_NET_WM_STATE"], [1, Atom[State], Atom[State2], 2], $iId) Endif End Solution 2: A more general solution is to have Atom check for a empty Atom name string and return 0 when found. ' Gambas class file Static Private $cAtom As New Collection Static Public Sub _get(sAtom As String) As Integer Dim iAtom As Integer if sAtom = "" then return 0 Try iAtom = $cAtom[sAtom] If Error Then iAtom = X11.InternAtom(sAtom, True) $cAtom[sAtom] = iAtom Endif Return iAtom End This is the approach I am currently using but, of course, I cannot know the implication of the change to Atom for all uses, just the ones in my program. System information ------------------ [System] Gambas=3.9.90 r8018 OperatingSystem=Linux Kernel=4.8.15-1-MANJARO Architecture=x86_64 Distribution=Manjaro Linux Desktop=XFCE Theme=Gtk Language=en_CA.utf8 Memory=3947M [Libraries] Cairo=libcairo.so.2.11400.8 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.9 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.1002.0 GTK+2=libgtk-x11-2.0.so.0.2400.31 GTK+3=libgtk-3.so.0.2200.5 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.66.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.7.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=xfce DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=xfce GLADE_CATALOG_PATH=: GLADE_MODULE_PATH=: GLADE_PIXMAP_PATH=: GTK2_RC_FILES=/.gtkrc-2.0 GTK_MODULES=canberra-gtk-module HOME= LANG=en_CA.utf8 LC_ADDRESS=en_CA.UTF-8 LC_IDENTIFICATION=en_CA.UTF-8 LC_MEASUREMENT=en_CA.UTF-8 LC_MONETARY=en_CA.UTF-8 LC_NAME=en_CA.UTF-8 LC_NUMERIC=en_CA.UTF-8 LC_PAPER=en_CA.UTF-8 LC_TELEPHONE=en_CA.UTF-8 LC_TIME=en_CA.UTF-8 LOGNAME= MAIL=/var/spool/mail/ MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl PWD= QT_QPA_PLATFORMTHEME=qt5ct SAL_USE_VCLPLUGIN=gtk SESSION_MANAGER=local/:@/tmp/.ICE-unix/9931,unix/:/tmp/.ICE-unix/9931 SHELL=/bin/bash SHLVL=2 SSH_AGENT_PID=9936 SSH_AUTH_SOCK=/tmp/ssh-bUdChQqs4Zo0/agent.9935 TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg XDG_CURRENT_DESKTOP=XFCE XDG_DATA_DIRS=/usr/local/share:/usr/share XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=xfce- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=xfce XDG_SESSION_ID=c4 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 XDG_SESSION_TYPE=x11 XDG_VTNR=7 _=/usr/bin/gambas3 From bugtracker at ...3416... Fri Feb 17 18:15:25 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 17 Feb 2017 17:15:25 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1083: Add a Shaded property to DesktopWindows.class Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1083&from=L21haW4- Tony MOREHEN reported a new bug. Summary ------- Add a Shaded property to DesktopWindows.class Type : Request Priority : Medium Gambas version : 3.9.90 (TRUNK) Product : Unknown Description ----------- Setting the property Shaded to true rolls up an X11 top window until only the titlebar is seen. It is a standard X11 property, similar to FullScreen. The following code needs to be added to DesktopWindows.class: Property Shaded As Boolean Private Function Shaded_Read() As Boolean Dim aState As String[] = GetState() If aState Then Return aState.Find("_NET_WM_STATE_SHADED") >= 0 Endif End Private Sub Shaded_Write(Value As Boolean) If Value Then SetState("_NET_WM_STATE_SHADED") Else ClearState("_NET_WM_STATE_SHADED") Endif End System information ------------------ [System] Gambas=3.9.90 r8018 OperatingSystem=Linux Kernel=4.8.15-1-MANJARO Architecture=x86_64 Distribution=Manjaro Linux Desktop=XFCE Theme=Gtk Language=en_CA.utf8 Memory=3947M [Libraries] Cairo=libcairo.so.2.11400.8 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.9 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.1002.0 GTK+2=libgtk-x11-2.0.so.0.2400.31 GTK+3=libgtk-3.so.0.2200.5 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.66.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.7.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=xfce DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=xfce GLADE_CATALOG_PATH=: GLADE_MODULE_PATH=: GLADE_PIXMAP_PATH=: GTK2_RC_FILES=/.gtkrc-2.0 GTK_MODULES=canberra-gtk-module HOME= LANG=en_CA.utf8 LC_ADDRESS=en_CA.UTF-8 LC_IDENTIFICATION=en_CA.UTF-8 LC_MEASUREMENT=en_CA.UTF-8 LC_MONETARY=en_CA.UTF-8 LC_NAME=en_CA.UTF-8 LC_NUMERIC=en_CA.UTF-8 LC_PAPER=en_CA.UTF-8 LC_TELEPHONE=en_CA.UTF-8 LC_TIME=en_CA.UTF-8 LOGNAME= MAIL=/var/spool/mail/ MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl PWD= QT_QPA_PLATFORMTHEME=qt5ct SAL_USE_VCLPLUGIN=gtk SESSION_MANAGER=local/:@/tmp/.ICE-unix/9931,unix/:/tmp/.ICE-unix/9931 SHELL=/bin/bash SHLVL=2 SSH_AGENT_PID=9936 SSH_AUTH_SOCK=/tmp/ssh-bUdChQqs4Zo0/agent.9935 TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg XDG_CURRENT_DESKTOP=XFCE XDG_DATA_DIRS=/usr/local/share:/usr/share XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=xfce- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=xfce XDG_SESSION_ID=c4 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 XDG_SESSION_TYPE=x11 XDG_VTNR=7 _=/usr/bin/gambas3 From bugtracker at ...3416... Sat Feb 18 03:02:36 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 18 Feb 2017 02:02:36 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1081: Event TextBox.Change In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1081&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Sat Feb 18 03:02:49 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 18 Feb 2017 02:02:49 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1082: Desktop.Windows[0].FullScreen Fails with Error Void key In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1082&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Sat Feb 18 03:02:55 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 18 Feb 2017 02:02:55 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1083: Add a Shaded property to DesktopWindows.class In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1083&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Sat Feb 18 03:03:09 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 18 Feb 2017 02:03:09 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1080: The top-left Save button does not save the comment In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1080&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Sat Feb 18 03:56:42 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 18 Feb 2017 02:56:42 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1081: Event TextBox.Change In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1081&from=L21haW4- Comment #3 by Beno?t MINISINI: Fixed in revision #8094. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Sat Feb 18 04:01:45 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 18 Feb 2017 03:01:45 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1082: Desktop.Windows[0].FullScreen Fails with Error Void key In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1082&from=L21haW4- Comment #1 by Beno?t MINISINI: I implemented the last solution in revision #8095 (returning 0 if the atom name is void). Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Sat Feb 18 04:34:35 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 18 Feb 2017 03:34:35 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1078: X11 Systray behaves strangely under GTK or QT5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1078&from=L21haW4- Comment #3 by Beno?t MINISINI: The X11 systray needs a control associated with a X11 window handle. With gb.gtk, it is the case when you use a DrawingArea. With gb.gtk3, even the DrawingArea does not have a X11 window, so the top level window is used. From bugtracker at ...3416... Sat Feb 18 04:38:33 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 18 Feb 2017 03:38:33 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1083: Add a Shaded property to DesktopWindows.class In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1083&from=L21haW4- Comment #1 by Beno?t MINISINI: Done in revision #8096. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Sat Feb 18 16:58:40 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 18 Feb 2017 15:58:40 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1075: Make Installation Package fails under Arch In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1075&from=L21haW4- Comment #2 by Beno?t MINISINI: No idea where this "desktop-directories" comes from. Can you send your project? Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Sat Feb 18 17:07:58 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 18 Feb 2017 16:07:58 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1047: please add new gambas3 sections for Rust and JavaScript In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1047&from=L21haW4- Comment #3 by Beno?t MINISINI: Done in revision #8099. Beno?t MINISINI changed the state of the bug to: Fixed. From herberthguzman at ...626... Mon Feb 20 17:49:46 2017 From: herberthguzman at ...626... (herberth guzman) Date: Mon, 20 Feb 2017 10:49:46 -0600 Subject: [Gambas-user] GambasFarm - Sofware already exists Message-ID: Greetings Benoit I have a problem, I'm uploading my project to GambasFarm Innova_0.1.4, but I get a message "Sofware already exists", and the latest version uploaded is Innova_0.1.3. How do I solve my problem ...? Regards Herberth Guzman -------------- next part -------------- A non-text attachment was scrubbed... Name: Error_I014.png Type: image/png Size: 26351 bytes Desc: not available URL: From bugtracker at ...3416... Mon Feb 20 21:10:43 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 20 Feb 2017 20:10:43 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1084: gbx3: warning: circular references detected: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1084&from=L21haW4- hakan UNVER reported a new bug. Summary ------- gbx3: warning: circular references detected: Type : Bug Priority : Medium Gambas version : 3.9 Product : Unknown Description ----------- Hello I get This message form 3,92 gbx3: warning: circular references detected: gbx3: 1 Frm_password gbx3: 1 FrmMain gbx3: 1 SliderBox gbx3: 16 ScrollArea gbx3: 38 Picture gbx3: warning: 390 allocation(s) non freed. System information ------------------ [System] Gambas=3.9.2 OperatingSystem=Linux Kernel=4.4.0-62-generic Architecture=x86_64 Distribution=Linux Mint 18.1 Serena Desktop=CINNAMON Theme=Gtk Language=en_US.UTF-8 Memory=5764M [Libraries] Cairo=libcairo.so.2.11502.0 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.802.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CINNAMON_VERSION=3.2.6 DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-UNw1rOgmpY,guid=5ee6d894e717668f2a357aaf58ab20ce DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path DESKTOP_SESSION=cinnamon DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=cinnamon GDM_XSERVER_LOCATION=local GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=16860 GJS_DEBUG_OUTPUT=stderr GJS_DEBUG_TOPICS=JS ERROR;JS LOG GNOME_DESKTOP_SESSION_ID=this-is-deprecated GTK_MODULES=gail:atk-bridge GTK_OVERLAY_SCROLLING=1 HOME= LANG=en_US.UTF-8 LC_ADDRESS=tr_TR.UTF-8 LC_IDENTIFICATION=tr_TR.UTF-8 LC_MEASUREMENT=tr_TR.UTF-8 LC_MONETARY=tr_TR.UTF-8 LC_NAME=tr_TR.UTF-8 LC_NUMERIC=tr_TR.UTF-8 LC_PAPER=tr_TR.UTF-8 LC_TELEPHONE=tr_TR.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path MDMSESSION=cinnamon MDM_LANG=en_US.UTF-8 MDM_XSERVER_LOCATION=local 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_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_QPA_PLATFORMTHEME=qgnomeplatform QT_STYLE_OVERRIDE=gtk SESSION_MANAGER=local/:@/tmp/.ICE-unix/11134,unix/:/tmp/.ICE-unix/11134 SHELL=/bin/bash SSH_AGENT_PID=11203 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=9 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg XDG_CURRENT_DESKTOP=X-Cinnamon XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=5ab3c275b7304ed3b8aeef9ffcc37eb4-1487610062.563479-276005179 XDG_SESSION_DESKTOP=cinnamon XDG_SESSION_ID=c2 XDG_VTNR=9 From bugtracker at ...3416... Mon Feb 20 21:15:06 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 20 Feb 2017 20:15:06 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1084: gbx3: warning: circular references detected: In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1084&from=L21haW4- Comment #1 by Beno?t MINISINI: If you created a circular reference in your project, this is normal. Otherwise, without your project, I can't say more. Beno?t MINISINI changed the state of the bug to: NeedsInfo. From gambas at ...1... Mon Feb 20 21:21:21 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 20 Feb 2017 21:21:21 +0100 Subject: [Gambas-user] GambasFarm - Sofware already exists In-Reply-To: References: Message-ID: <0742d61c-777e-0970-3983-131492fe5329@...1...> Le 20/02/2017 ? 17:49, herberth guzman a ?crit : > Greetings Benoit > I have a problem, I'm uploading my project to GambasFarm Innova_0.1.4, but > I get a message "Sofware already exists", and the latest version uploaded > is Innova_0.1.3. > > How do I solve my problem ...? > > > Regards > > > Herberth Guzman > You get this message when you want to publish an existing software with a different user. -- Beno?t Minisini From bugtracker at ...3416... Mon Feb 20 21:36:32 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 20 Feb 2017 20:36:32 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1084: gbx3: warning: circular references detected: In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1084&from=L21haW4- Comment #2 by hakan UNVER: allocation(s) non freed. Why ? From bugtracker at ...3416... Mon Feb 20 21:37:27 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 20 Feb 2017 20:37:27 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1084: gbx3: warning: circular references detected: In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1084&from=L21haW4- Comment #3 by hakan UNVER: This messages get after under button Quit command.. From bugtracker at ...3416... Mon Feb 20 21:39:24 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 20 Feb 2017 20:39:24 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1084: gbx3: warning: circular references detected: In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1084&from=L21haW4- Comment #4 by Beno?t MINISINI: Do you know what a circular reference is? From bugtracker at ...3416... Mon Feb 20 21:49:29 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 20 Feb 2017 20:49:29 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1084: gbx3: warning: circular references detected: In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1084&from=L21haW4- Comment #5 by hakan UNVER: Yes sure.. I have circular reference modules.. What you think this dangerous ? Or what I do ? From bugtracker at ...3416... Mon Feb 20 21:53:43 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 20 Feb 2017 20:53:43 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1084: gbx3: warning: circular references detected: In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1084&from=L21haW4- Comment #6 by Beno?t MINISINI: If you make a circular reference, the interpreter cannot free them automatically, and so you get that warning message at the end of the program. You must fix them not to get the message. From herberthguzman at ...626... Mon Feb 20 22:31:38 2017 From: herberthguzman at ...626... (herberth guzman) Date: Mon, 20 Feb 2017 15:31:38 -0600 Subject: [Gambas-user] Innova Desktop in GambasFarm Message-ID: Regards I have uploaded the Innova-Desktop-Environment_Preview_src-0.1.3 source code to GambasFarm and Sourceforge. To see it, you should read f_ReadMe. You should copy some files, for example: Innova a /usr/share *.directory in desktop-directories to /usr/share/desktop-directories elementary a /usr/share/theme Numix a/usr/share/icons Numix-Circle a /usr/share/icons Innova.desktop a /usr/share/xsessions (ubuntu/debian) startinnova a /usr/bin NOTA: moviga at ...3488... I think part of the problem is that you need. *.directory in desktop-directories to /usr/share/desktop-directories Herberth Guzman From bugtracker at ...3416... Tue Feb 21 20:56:32 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 21 Feb 2017 19:56:32 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1084: gbx3: warning: circular references detected: In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1084&from=L21haW4- Comment #7 by hakan UNVER: Dear Benoit . I check my project. And I to notice used modules in code. I change this module places class.. and solved freed objects.. From bugtracker at ...3416... Wed Feb 22 00:55:53 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 21 Feb 2017 23:55:53 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1084: gbx3: warning: circular references detected: In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1084&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Fixed. From gambas at ...1... Wed Feb 22 01:55:46 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 22 Feb 2017 01:55:46 +0100 Subject: [Gambas-user] Sourceforge bug on SVN commit mailing-list souscription Message-ID: <045612c3-f706-6456-bb65-8ede0e946d54@...1...> Hi, Apparently, we don't receive SVN commit mails anymore. To fix the problem, you have to: 1) Login to sourceforge 2) Go the following page: https://sourceforge.net/auth/subscriptions/ 3) Check the subscription to "Gambas code". I just did that, and I will tell you if it really works. Regards, -- Beno?t Minisini From gambas at ...1... Wed Feb 22 02:22:24 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 22 Feb 2017 02:22:24 +0100 Subject: [Gambas-user] Sourceforge bug on SVN commit mailing-list souscription In-Reply-To: <045612c3-f706-6456-bb65-8ede0e946d54@...1...> References: <045612c3-f706-6456-bb65-8ede0e946d54@...1...> Message-ID: <4bbd9773-3e08-7731-643d-61306f4ee539@...1...> Le 22/02/2017 ? 01:55, Beno?t Minisini a ?crit : > Hi, > > Apparently, we don't receive SVN commit mails anymore. > > To fix the problem, you have to: > > 1) Login to sourceforge > > 2) Go the following page: > > https://sourceforge.net/auth/subscriptions/ > > 3) Check the subscription to "Gambas code". > > I just did that, and I will tell you if it really works. > > Regards, > OK... DON'T DO THAT! You will receive mails, but they are broken... We should wait for the sourceforge team to fix the problem. It does not work for two weeks now... sigh. -- Beno?t Minisini From bugtracker at ...3416... Wed Feb 22 17:29:34 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 22 Feb 2017 16:29:34 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1085: Saving time and work Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1085&from=L21haW4- V?ctor PEREZ reported a new bug. Summary ------- Saving time and work Type : Request Priority : Low Gambas version : 3.9 Product : Unknown Description ----------- When you create a property in a class and enter Gambas3 writes this: 1------------------------------------------------- - Property Name As String Private Function Name_Read () As String End Private Sub Name_Write (Value As String) End 1---------------------------- It would not be better if I wrote this: 2------------------------------------------------- - Property Name As String Private $ Name As String Private Function Name_Read () As String Return $ Name End Private Sub Name_Write (Value As String) $ Name = Value End 2------------------------------------------------- ---- I would save a lot of time Greetings. System information ------------------ Gambas=3.9.2 OperatingSystem=Linux Kernel=3.19.0-32-generic Architecture=x86 Distribution=Linux Mint 17.3 Rosa Desktop=MATE Theme=Gtk Language=es_UY.UTF-8 Memory=1950M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 From bugtracker at ...3416... Wed Feb 22 20:27:53 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 22 Feb 2017 19:27:53 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1086: Settings component can't handle small float values Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1086&from=L21haW4- Jussi LAHTINEN reported a new bug. Summary ------- Settings component can't handle small float values Type : Bug Priority : Medium Gambas version : 3.9.90 (TRUNK) Product : Language Description ----------- Run attached project to see the problem. System information ------------------ [System] Gambas=3.9.90 r8102 OperatingSystem=Linux Kernel=3.19.0-32-generic Architecture=x86_64 Distribution=Linux Mint 17.3 Rosa Desktop=CINNAMON Theme=Gtk Language=en_US.UTF-8 Memory=7984M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CLUTTER_BACKEND=x11 CLUTTER_IM_MODULE=xim DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-dxMtboxyaV,guid=3db8838fec1fc0e9d9f00c5158ad8e45 DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path DESKTOP_SESSION=cinnamon DISPLAY=:0.0 GB_GUI=gb.qt4 GB_PROFILE_MAX=1000 GDMSESSION=cinnamon GDM_XSERVER_LOCATION=local GIO_LAUNCHED_DESKTOP_FILE=/Desktop/Gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=7196 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL=/run/user/1000/keyring-5xcZjw GPG_AGENT_INFO=/run/user/1000/keyring-5xcZjw/gpg:0:1 GTK_IM_MODULE=xim HOME= INSIDE_NEMO_PYTHON= LANG=en_US.UTF-8 LC_ADDRESS=fi_FI.UTF-8 LC_IDENTIFICATION=fi_FI.UTF-8 LC_MEASUREMENT=fi_FI.UTF-8 LC_MONETARY=fi_FI.UTF-8 LC_NAME=fi_FI.UTF-8 LC_NUMERIC=fi_FI.UTF-8 LC_PAPER=fi_FI.UTF-8 LC_TELEPHONE=fi_FI.UTF-8 LC_TIME=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path MDMSESSION=cinnamon MDM_LANG=en_US.UTF-8 MDM_XSERVER_LOCATION=local PAPERSIZE=letter PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT4_IM_MODULE=xim QT_STYLE_OVERRIDE=gtk SESSION_MANAGER=local/:@/tmp/.ICE-unix/1578,unix/:/tmp/.ICE-unix/1578 SHELL=/bin/bash SSH_AGENT_PID=1698 SSH_AUTH_SOCK=/run/user/1000/keyring-5xcZjw/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=8 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg XDG_CURRENT_DESKTOP=X-Cinnamon XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=5a45fa29109f0ee2389b1b0355283726-1487769156.734036-693273721 XDG_SESSION_DESKTOP=cinnamon XDG_SESSION_ID=c1 XDG_VTNR=8 XMODIFIERS=@...3498...=none From bugtracker at ...3416... Wed Feb 22 20:28:07 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 22 Feb 2017 19:28:07 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1086: Settings component can't handle small float values In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1086&from=L21haW4- Jussi LAHTINEN added an attachment: SettingsBug-0.0.1.tar.gz From bugtracker at ...3416... Wed Feb 22 20:39:55 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 22 Feb 2017 19:39:55 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1086: Settings component can't handle small float values In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1086&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Wed Feb 22 22:53:41 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 22 Feb 2017 21:53:41 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1086: Settings component can't handle small float values In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1086&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed in revision #8103. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Thu Feb 23 10:21:41 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 23 Feb 2017 09:21:41 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1087: Problem with Executable Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1087&from=L21haW4- volker HOVESTADT reported a new bug. Summary ------- Problem with Executable Type : Bug Priority : Medium Gambas version : 3.8 Product : GUI components Description ----------- I'm running Gambas 3.8.1 on a raspi 2 (debian). I've written a program that works fine in the IDE, but when I make an Executable, the element sizes are different, colors are differnt, and some functions don't work. There is a public sub started by button click, then the text of 6 textboxes and the values of 8 checkboxes should be copied to 6 / 8 other boxes. The copying works fine with the checkboxes, but not with the textboxes. Even when I enter a fixed string as source, nothing happens in the target textbox. Is there anything that I can possibly do wrong ? Best regards Volker Hovestadt From bugtracker at ...3416... Thu Feb 23 16:01:56 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 23 Feb 2017 15:01:56 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1087: Problem with Executable In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1087&from=L21haW4- Comment #1 by Tony MOREHEN: I've noticed that a Gambas application can run under a different Gui choice when run under the runtime or under the the IDE, with unpredictable results. ie the app runs QT4 in the IDE but GTK3 under the runtime. Try explicitly setting the Gui component via Project/Properties/Components. From rwe-sse at ...3629... Thu Feb 23 18:17:09 2017 From: rwe-sse at ...3629... (Rolf-Werner Eilert) Date: Thu, 23 Feb 2017 18:17:09 +0100 Subject: [Gambas-user] WebForm runs - and suddenly does no more Message-ID: <58AF1915.4070305@...3629...> I started a new WebForm project which I copied from my first test project I mentioned the other day. I just let it make a binary and copied it into the cgi-bin folder of my own apache on our server here in the school. First it ran flawlessly, but when I started to work on it and changed things, it suddenly showed an Error 500: Premature end of script headers: WebKalender1.gambas I looked into the apache error.log, but I cannot see anything more detailed, apart from "Null Object" in relationship with the WebTable. The strange thing is, I still can start the program from the IDE: This will start Konqueror, and everything appears normally. It is the binary in cgi-bin which doesn't start anymore. Has anyone here an explanation? I will append the two sources: the original test project and WebKalender which hangs. I just tried the test project, it still runs on apache, so there really must be something wrong with the WebKalender. Is there a way to be pointed to a line in code, like the debug output in a GUI application? Regards Rolf -------------- next part -------------- A non-text attachment was scrubbed... Name: WebformTest1-0.0.2.tar.gz Type: application/x-gzip Size: 12493 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: WebKalender1-0.0.7.tar.gz Type: application/x-gzip Size: 12209 bytes Desc: not available URL: From charlie at ...2793... Thu Feb 23 18:49:53 2017 From: charlie at ...2793... (Charlie) Date: Thu, 23 Feb 2017 10:49:53 -0700 (MST) Subject: [Gambas-user] Media playback Message-ID: <1487872193464-58542.post@...3046...> Can anybody tell me what dependencies are needed to play a video? The program *VerySimpleVideoPlayer* (see the Gambas Farm) works perfectly in Ubuntu & Mint but not in ToOpPy Linux which is based on Puppy Linux. Any help appreciated. ----- Check out www.gambas.one -- View this message in context: http://gambas.8142.n7.nabble.com/Media-playback-tp58542.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Fri Feb 24 03:01:58 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 24 Feb 2017 03:01:58 +0100 Subject: [Gambas-user] WebForm runs - and suddenly does no more In-Reply-To: <58AF1915.4070305@...3629...> References: <58AF1915.4070305@...3629...> Message-ID: Le 23/02/2017 ? 18:17, Rolf-Werner Eilert a ?crit : > I started a new WebForm project which I copied from my first test > project I mentioned the other day. > > I just let it make a binary and copied it into the cgi-bin folder of my > own apache on our server here in the school. First it ran flawlessly, > but when I started to work on it and changed things, it suddenly showed > an Error 500: Premature end of script headers: WebKalender1.gambas > > I looked into the apache error.log, but I cannot see anything more > detailed, apart from "Null Object" in relationship with the WebTable. > > The strange thing is, I still can start the program from the IDE: This > will start Konqueror, and everything appears normally. It is the binary > in cgi-bin which doesn't start anymore. > > Has anyone here an explanation? > > I will append the two sources: the original test project and WebKalender > which hangs. I just tried the test project, it still runs on apache, so > there really must be something wrong with the WebKalender. > > Is there a way to be pointed to a line in code, like the debug output in > a GUI application? > > Regards > Rolf > Strange. I have just tested WebKalender1.gambas as a CGI script executable, and it apparently works as expected. -- Beno?t Minisini From gambas at ...1... Fri Feb 24 03:04:10 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 24 Feb 2017 03:04:10 +0100 Subject: [Gambas-user] WebForm runs - and suddenly does no more In-Reply-To: References: <58AF1915.4070305@...3629...> Message-ID: <024e5414-b362-682f-86f7-16d9dc9e9667@...1...> Le 24/02/2017 ? 03:01, Beno?t Minisini a ?crit : > Le 23/02/2017 ? 18:17, Rolf-Werner Eilert a ?crit : >> I started a new WebForm project which I copied from my first test >> project I mentioned the other day. >> >> I just let it make a binary and copied it into the cgi-bin folder of my >> own apache on our server here in the school. First it ran flawlessly, >> but when I started to work on it and changed things, it suddenly showed >> an Error 500: Premature end of script headers: WebKalender1.gambas >> >> I looked into the apache error.log, but I cannot see anything more >> detailed, apart from "Null Object" in relationship with the WebTable. >> >> The strange thing is, I still can start the program from the IDE: This >> will start Konqueror, and everything appears normally. It is the binary >> in cgi-bin which doesn't start anymore. >> >> Has anyone here an explanation? >> >> I will append the two sources: the original test project and WebKalender >> which hangs. I just tried the test project, it still runs on apache, so >> there really must be something wrong with the WebKalender. >> >> Is there a way to be pointed to a line in code, like the debug output in >> a GUI application? >> >> Regards >> Rolf >> > > Strange. I have just tested WebKalender1.gambas as a CGI script > executable, and it apparently works as expected. > Beware that if you remake the executable, the browser keeps the old session opened, and that may lead to strange behaviour (an old session with new executable). You have to close your browser and open it again (or destroy the session cookie by hand from the browser). -- Beno?t Minisini From rwe-sse at ...3629... Fri Feb 24 08:25:19 2017 From: rwe-sse at ...3629... (Rolf-Werner Eilert) Date: Fri, 24 Feb 2017 08:25:19 +0100 Subject: [Gambas-user] WebForm runs - and suddenly does no more In-Reply-To: <024e5414-b362-682f-86f7-16d9dc9e9667@...1...> References: <58AF1915.4070305@...3629...> <024e5414-b362-682f-86f7-16d9dc9e9667@...1...> Message-ID: <58AFDFDF.9050003@...3629...> Am 24.02.2017 03:04, schrieb Beno?t Minisini: > Le 24/02/2017 ? 03:01, Beno?t Minisini a ?crit : >> Le 23/02/2017 ? 18:17, Rolf-Werner Eilert a ?crit : >>> I started a new WebForm project which I copied from my first test >>> project I mentioned the other day. >>> >>> I just let it make a binary and copied it into the cgi-bin folder of my >>> own apache on our server here in the school. First it ran flawlessly, >>> but when I started to work on it and changed things, it suddenly showed >>> an Error 500: Premature end of script headers: WebKalender1.gambas >>> >>> I looked into the apache error.log, but I cannot see anything more >>> detailed, apart from "Null Object" in relationship with the WebTable. >>> >>> The strange thing is, I still can start the program from the IDE: This >>> will start Konqueror, and everything appears normally. It is the binary >>> in cgi-bin which doesn't start anymore. >>> >>> Has anyone here an explanation? >>> >>> I will append the two sources: the original test project and WebKalender >>> which hangs. I just tried the test project, it still runs on apache, so >>> there really must be something wrong with the WebKalender. >>> >>> Is there a way to be pointed to a line in code, like the debug output in >>> a GUI application? >>> >>> Regards >>> Rolf >>> >> >> Strange. I have just tested WebKalender1.gambas as a CGI script >> executable, and it apparently works as expected. >> > > Beware that if you remake the executable, the browser keeps the old > session opened, and that may lead to strange behaviour (an old session > with new executable). > > You have to close your browser and open it again (or destroy the session > cookie by hand from the browser). > Ah ok, that explains a lot of things. Sometimes (not always) I had the impression I had to stop and start even Konqueror until changes showed up. Regards Rolf From gambas at ...1... Fri Feb 24 11:36:05 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 24 Feb 2017 11:36:05 +0100 Subject: [Gambas-user] WebForm runs - and suddenly does no more In-Reply-To: <58AFDFDF.9050003@...3629...> References: <58AF1915.4070305@...3629...> <024e5414-b362-682f-86f7-16d9dc9e9667@...1...> <58AFDFDF.9050003@...3629...> Message-ID: <1dd415ff-2774-5dd2-8cd5-ef1d94d23e47@...1...> Le 24/02/2017 ? 08:25, Rolf-Werner Eilert a ?crit : >> >> Beware that if you remake the executable, the browser keeps the old >> session opened, and that may lead to strange behaviour (an old session >> with new executable). >> >> You have to close your browser and open it again (or destroy the session >> cookie by hand from the browser). >> > > Ah ok, that explains a lot of things. Sometimes (not always) I had the > impression I had to stop and start even Konqueror until changes showed up. > > Regards > Rolf > A solution for that would be putting the executable version inside the cookie name. I will think about that. Regards, -- Beno?t Minisini From bugtracker at ...3416... Fri Feb 24 11:55:57 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 24 Feb 2017 10:55:57 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1088: sqllite result Overflow Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1088&from=L21haW4- hakan UNVER reported a new bug. Summary ------- sqllite result Overflow Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- This code line : usorgu = "SELECT * FROM hs_call WHERE CALL_STATUS = '2' OR CALL_STATUS = '3' OR CALL_STATUS = '9' AND ROOM = '" & room & "' AND CALL_TYPE = 'C' OR CALL_TYPE = 'Z' OR CALL_TYPE = 'R' AND CALL_CODE = '" & code & "'" Debug usorgu rs_update = CFnc.MyConn.Exec(usorgu) catch debug Error.text I get This Error Debug Log : FrmMain.update_record.590: SELECT * FROM hs_call WHERE CALL_STATUS = '2' OR CALL_STATUS = '3' OR CALL_STATUS = '9' AND ROOM = '1383' AND CALL_TYPE = 'C' OR CALL_TYPE = 'Z' OR CALL_TYPE = 'R' AND CALL_CODE = '0' FrmMain.update_record.634: Overflow if I use short Query string is Ok no problem.. System information ------------------ [System] Gambas=3.9.2 OperatingSystem=Linux Kernel=4.4.0-62-generic Architecture=x86_64 Distribution=Linux Mint 18.1 Serena Desktop=CINNAMON Theme=Gtk Language=en_US.UTF-8 Memory=5764M [Libraries] Cairo=libcairo.so.2.11502.0 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.802.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CINNAMON_VERSION=3.2.6 DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-Izsym8Vgti,guid=c7fd160b6ebc9bfcf41af72958afd379 DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path DESKTOP_SESSION=cinnamon DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=cinnamon GDM_XSERVER_LOCATION=local GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=2009 GJS_DEBUG_OUTPUT=stderr GJS_DEBUG_TOPICS=JS ERROR;JS LOG GNOME_DESKTOP_SESSION_ID=this-is-deprecated GTK_MODULES=gail:atk-bridge GTK_OVERLAY_SCROLLING=1 HOME= LANG=en_US.UTF-8 LC_ADDRESS=tr_TR.UTF-8 LC_IDENTIFICATION=tr_TR.UTF-8 LC_MEASUREMENT=tr_TR.UTF-8 LC_MONETARY=tr_TR.UTF-8 LC_NAME=tr_TR.UTF-8 LC_NUMERIC=tr_TR.UTF-8 LC_PAPER=tr_TR.UTF-8 LC_TELEPHONE=tr_TR.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path MDMSESSION=cinnamon MDM_LANG=en_US.UTF-8 MDM_XSERVER_LOCATION=local 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_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_QPA_PLATFORMTHEME=qgnomeplatform QT_STYLE_OVERRIDE=gtk SESSION_MANAGER=local/:@/tmp/.ICE-unix/1532,unix/:/tmp/.ICE-unix/1532 SHELL=/bin/bash SSH_AGENT_PID=1601 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=8 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg XDG_CURRENT_DESKTOP=X-Cinnamon XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=5ab3c275b7304ed3b8aeef9ffcc37eb4-1487917944.855606-545540223 XDG_SESSION_DESKTOP=cinnamon XDG_SESSION_ID=c1 XDG_VTNR=8 From bugtracker at ...3416... Fri Feb 24 12:11:58 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 24 Feb 2017 11:11:58 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1088: sqllite result Overflow In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1088&from=L21haW4- hakan UNVER changed the state of the bug to: Invalid. From Karl.Reinl at ...2345... Fri Feb 24 21:41:36 2017 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Fri, 24 Feb 2017 21:41:36 +0100 Subject: [Gambas-user] whats new since rev. 8088 Message-ID: <1487968896.4962.7.camel@...3609...> Salut Beno?t, made an update last Wednwesday (22.02) from 8088 to 8102. Now my program fails : FCRMMain.?.0: #2: Cannot load class 'DBTableView': Loading has already failed FCRMMain.?.0 FCRMMain.?.0 Main.?.0 So can you tell me whats new since rev. 8088 This is the line where it happend. tbvAddCustInfo = New DBTableView(TabAddCust, "tbvAddCustInfo", "CUSTINFO") As "tbvAddCustInfo" No, I can not send the project, but can try to make an example. But perhaps you know what's wrong. From karl.reinl at ...9... Sat Feb 25 17:58:20 2017 From: karl.reinl at ...9... (Karl Reinl) Date: Sat, 25 Feb 2017 17:58:20 +0100 Subject: [Gambas-user] whats new since rev. 8088 In-Reply-To: <1487968896.4962.7.camel@...3609...> References: <1487968896.4962.7.camel@...3609...> Message-ID: <1488041900.4312.9.camel@...3609...> Am Freitag, den 24.02.2017, 21:41 +0100 schrieb Charlie Reinl: > Salut Beno?t, > > made an update last Wednwesday (22.02) from 8088 to 8102. > Now my program fails : > FCRMMain.?.0: #2: Cannot load class 'DBTableView': Loading has already > failed > FCRMMain.?.0 FCRMMain.?.0 Main.?.0 > > So can you tell me whats new since rev. 8088 > > This is the line where it happend. > > tbvAddCustInfo = New DBTableView(TabAddCust, "tbvAddCustInfo", > "CUSTINFO") As "tbvAddCustInfo" > > No, I can not send the project, but can try to make an example. > > But perhaps you know what's wrong. Salut, I found the matter of that crash. Beno?t has added in r8102 a AddColumn to the GridView, my class which inherits GridView have a AddColumn too. That I found out while making a Test project. I'v got this message, and all was clear. 'GridView.AddColumn' is incorrectly overridden in class 'DBTableView' Wasn't in r8101. -- Amicalement Charlie From gambas at ...1... Sat Feb 25 20:17:43 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 25 Feb 2017 20:17:43 +0100 Subject: [Gambas-user] whats new since rev. 8088 In-Reply-To: <1488041900.4312.9.camel@...3609...> References: <1487968896.4962.7.camel@...3609...> <1488041900.4312.9.camel@...3609...> Message-ID: <4f94bf2c-7a60-be7d-a92c-5ad1f44daa6d@...1...> Le 25/02/2017 ? 17:58, Karl Reinl a ?crit : > Am Freitag, den 24.02.2017, 21:41 +0100 schrieb Charlie Reinl: >> Salut Beno?t, >> >> made an update last Wednwesday (22.02) from 8088 to 8102. >> Now my program fails : >> FCRMMain.?.0: #2: Cannot load class 'DBTableView': Loading has already >> failed >> FCRMMain.?.0 FCRMMain.?.0 Main.?.0 >> >> So can you tell me whats new since rev. 8088 >> >> This is the line where it happend. >> >> tbvAddCustInfo = New DBTableView(TabAddCust, "tbvAddCustInfo", >> "CUSTINFO") As "tbvAddCustInfo" >> >> No, I can not send the project, but can try to make an example. >> >> But perhaps you know what's wrong. > > Salut, > > I found the matter of that crash. Beno?t has added in r8102 a AddColumn > to the GridView, my class which inherits GridView have a AddColumn too. > That I found out while making a Test project. > I'v got this message, and all was clear. > 'GridView.AddColumn' is incorrectly overridden in class 'DBTableView' > Wasn't in r8101. > Sorry for that. It's the problem when I add some new methods or properties, and that you hace your own child classes. Moreover, the Sourceforge svn commit mails are still broken, they apparently haven't fixed them for weeks. Sourceforge is more and more a problem! -- Beno?t Minisini From jguardon at ...3606... Sun Feb 26 01:37:11 2017 From: jguardon at ...3606... (Jesus Guardon) Date: Sun, 26 Feb 2017 01:37:11 +0100 Subject: [Gambas-user] whats new since rev. 8088 In-Reply-To: <4f94bf2c-7a60-be7d-a92c-5ad1f44daa6d@...1...> References: <1487968896.4962.7.camel@...3609...> <1488041900.4312.9.camel@...3609...> <4f94bf2c-7a60-be7d-a92c-5ad1f44daa6d@...1...> Message-ID: <40e8eab7-1a64-e13b-0d71-86390ed5178a@...3606...> El 25/2/17 a las 20:17, Beno?t Minisini escribi?: > Moreover, the Sourceforge svn commit mails are still broken, they > apparently haven't fixed them for weeks. Sourceforge is more and more a > problem! Perhaps it's time to switch to GitHub... ;-) Regards Jesus G. From karl.reinl at ...9... Sun Feb 26 10:24:43 2017 From: karl.reinl at ...9... (Karl Reinl) Date: Sun, 26 Feb 2017 10:24:43 +0100 Subject: [Gambas-user] whats new since rev. 8088 In-Reply-To: <40e8eab7-1a64-e13b-0d71-86390ed5178a@...3606...> References: <1487968896.4962.7.camel@...3609...> <1488041900.4312.9.camel@...3609...> <4f94bf2c-7a60-be7d-a92c-5ad1f44daa6d@...1...> <40e8eab7-1a64-e13b-0d71-86390ed5178a@...3606...> Message-ID: <1488101083.4581.6.camel@...3609...> Saslut, now I found why I always look a bit strange when writing 8088. Yes that was the first CPU for IBM-Compatibles round about at 1980. https://en.wikipedia.org/wiki/Intel_8088 Yes there is a lot, to my question! -- Amicalement Charlie From bugtracker at ...3416... Sun Feb 26 14:43:08 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 26 Feb 2017 13:43:08 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1089: Spinbox and sliderbox do not show integer according to set System.Language in gb.qt5 Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1089&from=L21haW4- Safiur RAHMAN reported a new bug. Summary ------- Spinbox and sliderbox do not show integer according to set System.Language in gb.qt5 Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- Set System.Language to a particular value (eg. "ne_NP.UTF-8"). Set Environment GB_GUI=gb.qt4 you get integer displayed in spinbox and sliderbox in the particular set language. Again set Environment GB_GUI=gb.qt5 you get integer displayed in spinbox and sliderbox in the default OS language. System information ------------------ [System] Gambas=3.9.2 OperatingSystem=Linux Kernel=4.8.0-36-generic Architecture=x86_64 Distribution=Ubuntu 16.04.2 LTS Desktop=UNITY Theme=Gtk Language=en_US.UTF-8 Memory=3883M [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_IM_MODULE=xim COMPIZ_BIN_PATH=/usr/bin/ COMPIZ_CONFIG_PROFILE=ubuntu DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-7eSBjxUUkb DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path DESKTOP_SESSION=ubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=ubuntu GDM_LANG=en_US GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=7131 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL= GNOME_KEYRING_PID= GPG_AGENT_INFO=/.gnupg/S.gpg-agent:0:1 GTK2_MODULES=overlay-scrollbar GTK_IM_MODULE=ibus GTK_MODULES=gail:atk-bridge:unity-gtk-module HOME= IM_CONFIG_PHASE=1 INSTANCE= JOB=unity-settings-daemon LANG=en_US.UTF-8 LANGUAGE=en_US LC_ADDRESS=ne_NP LC_IDENTIFICATION=ne_NP LC_MEASUREMENT=ne_NP LC_MONETARY=ne_NP LC_NAME=ne_NP LC_NUMERIC=ne_NP LC_PAPER=ne_NP LC_TELEPHONE=ne_NP LC_TIME=ne_NP LOGNAME= MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD= QT4_IM_MODULE=xim QT_ACCESSIBILITY=1 QT_IM_MODULE=ibus QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_QPA_PLATFORMTHEME=appmenu-qt5 SESSION=ubuntu SESSIONTYPE=gnome-session SESSION_MANAGER=local/:@/tmp/.ICE-unix/1877,unix/:/tmp/.ICE-unix/1877 SHELL=/bin/bash SHLVL=0 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime UPSTART_EVENTS=xsession started UPSTART_INSTANCE= UPSTART_JOB=unity7 UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1574 USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg XDG_CURRENT_DESKTOP=Unity XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=gnome- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=ubuntu XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 XMODIFIERS=@...3498...=ibus From bugtracker at ...3416... Sun Feb 26 14:43:47 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 26 Feb 2017 13:43:47 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1089: Spinbox and sliderbox do not show integer according to set System.Language in gb.qt5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1089&from=L21haW4- Safiur RAHMAN added an attachment: qtapp.tar.gz