From bugtracker at ...3416... Sun Nov 1 09:48:05 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 01 Nov 2015 08:48:05 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #831: .WebSetting.Cache.Path say some strange things and not work. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.831&from=L21haW4- Comment #1 by Fabien BODARD: Well at the end it's not really a bug. In Fact after reading the code, I've seen that websetting.Cache.Path Wait for a path beginning by /home/fabien/.cache in my case. But the Error message request a directory in "~/.cache". So two choice can solve this problem : - Allow relative path if it accept it. - or Change the doc and error message. I'd prefer first one. From bugtracker at ...3416... Sun Nov 1 09:48:23 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 01 Nov 2015 08:48:23 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #831: .WebSetting.Cache.Path say some strange things and not work. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.831&from=L21haW4- Fabien BODARD changed the state of the bug to: Waiting. From gambas at ...1... Sun Nov 1 18:33:58 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 1 Nov 2015 18:33:58 +0100 Subject: [Gambas-user] gambas3 segfaults on Ubuntu MATE for the Raspberry Pi 2 In-Reply-To: References: <5634010B.7040500@...1...> <5634EB86.2090905@...1...> Message-ID: <56364D06.7060205@...1...> Le 31/10/2015 23:39, Patrik Karlsson a ?crit : > I built in from source and now the IDE starts ok, It may be a problem in the packaging so...Which ppa did you use? > however, gb.jit was > disabled. > Is it possible to solve that one? > It depends on your distribution. 'gb.jit' requires LLVM between 3.1 and 3.5. Did you install it? -- Beno?t Minisini From bugtracker at ...3416... Sun Nov 1 23:43:02 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 01 Nov 2015 22:43:02 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #834: Components what needed to compile Gambas IDE not update. Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.834&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- Components what needed to compile Gambas IDE not update. Type : Bug Priority : Low Gambas version : Unknown Product : Wiki Description ----------- in this page http://gambaswiki.org/wiki/install Gambas IDE still need gb.qt4. there is no description for the gambas version. different version make possible need different components. System information ------------------ [System] Gambas=3.8.90 r7431 OperatingSystem=Linux Kernel=3.2.0-88-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=LXDE Theme=Gtk Language=en_US.UTF-8 Memory=494M [Libraries] Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.7.0 GTK+2=libgtk-x11-2.0.so.0.2400.10 GTK+3=libgtk-3.so.0.400.2 OpenGL=libGL.so.96.43.23 Poppler=libpoppler.so.19.0.0 QT4=libQtCore.so.4.8.1 QT5=libQt5Core.so.5.0.2 SDL=libSDL-1.2.so.0.11.3 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-BKf6Z67CLC,guid=5314cdd357fcc56246fcf4c500000027 DEFAULTS_PATH=/usr/share/gconf/Lubuntu.default.path DESKTOP_SESSION=Lubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=Lubuntu GNOME_KEYRING_CONTROL=/tmp/keyring-53fWbj GNOME_KEYRING_PID=1574 HOME= LANG=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/Lubuntu.mandatory.path PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PWD= SAL_USE_VCLPLUGIN=gtk SHELL=/bin/bash SSH_AGENT_PID=1565 SSH_AUTH_SOCK=/tmp/keyring-53fWbj/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/lubuntu/:/etc/xdg/xdg-Lubuntu:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXDE XDG_DATA_DIRS=/etc/xdg/lubuntu:/usr/share/Lubuntu:/usr/local/share/:/usr/share/:/usr/share:/usr/share/gdm:/var/lib/menu-xdg XDG_MENU_PREFIX=lxde- XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_COOKIE=2d9710af0959f6893eb828f100000008-1445663785.797739-491310291 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 _LXSESSION_PID=1535 From pata.karlsson at ...626... Mon Nov 2 06:16:02 2015 From: pata.karlsson at ...626... (Patrik Karlsson) Date: Mon, 2 Nov 2015 06:16:02 +0100 Subject: [Gambas-user] gambas3 segfaults on Ubuntu MATE for the Raspberry Pi 2 In-Reply-To: <56364D06.7060205@...1...> References: <5634010B.7040500@...1...> <5634EB86.2090905@...1...> <56364D06.7060205@...1...> Message-ID: Im on the road now so Ill get back to you on this one in about a week. Den 1 nov 2015 18:35 skrev "Beno?t Minisini" : > Le 31/10/2015 23:39, Patrik Karlsson a ?crit : > > I built in from source and now the IDE starts ok, > > It may be a problem in the packaging so...Which ppa did you use? > > > however, gb.jit was > > disabled. > > Is it possible to solve that one? > > > > It depends on your distribution. 'gb.jit' requires LLVM between 3.1 and > 3.5. Did you install it? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Tue Nov 3 10:17:44 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 3 Nov 2015 10:17:44 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.8.3 Message-ID: <56387BB8.3080701@...1...> Hi, I have uploaded a testing package of Gambas 3.8.3 at sourceforge: http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.8.3.tar.bz2/download Please test it if possible, and report any problem. I still have a few fix to merge anyway, before making it public. Regards, -- Beno?t Minisini From eilert-sprachen at ...221... Tue Nov 3 11:08:49 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 03 Nov 2015 11:08:49 +0100 Subject: [Gambas-user] Columns.Width in GridView Message-ID: <563887B1.4030208@...221...> Looking for 2 things: 1) How to set the last column to a fixed width (which does not spread to the right border). I've got 2 GridViews here, one shows this behaviour, the other one has the default setting. How do I change it? I can't find it anymore... 2) Wasn't there a way to automagically adapt the column width to the contents? Or do I have to do this "manually" from within the DATA event? Thanks for any help Rolf From gambas.fr at ...626... Tue Nov 3 13:15:35 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 3 Nov 2015 13:15:35 +0100 Subject: [Gambas-user] Columns.Width in GridView In-Reply-To: <563887B1.4030208@...221...> References: <563887B1.4030208@...221...> Message-ID: For 2) set the column width to -1 2015-11-03 11:08 GMT+01:00 Rolf-Werner Eilert : > Looking for 2 things: > > 1) How to set the last column to a fixed width (which does not spread to > the right border). I've got 2 GridViews here, one shows this behaviour, > the other one has the default setting. How do I change it? I can't find > it anymore... > > 2) Wasn't there a way to automagically adapt the column width to the > contents? Or do I have to do this "manually" from within the DATA event? > > Thanks for any help > > Rolf > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas at ...1... Tue Nov 3 20:27:34 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 3 Nov 2015 20:27:34 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.8.3 In-Reply-To: <56387BB8.3080701@...1...> References: <56387BB8.3080701@...1...> Message-ID: <56390AA6.1040309@...1...> Le 03/11/2015 10:17, Beno?t Minisini a ?crit : > Hi, > > I have uploaded a testing package of Gambas 3.8.3 at sourceforge: > > http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.8.3.tar.bz2/download > > Please test it if possible, and report any problem. > > I still have a few fix to merge anyway, before making it public. > > Regards, > I have uploaded a new version of the Gambas 3.8.3 package with three more fixes backported. Report any problem as usual! Regards, -- Beno?t Minisini From eilert-sprachen at ...221... Wed Nov 4 08:35:08 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 04 Nov 2015 08:35:08 +0100 Subject: [Gambas-user] Columns.Width in GridView In-Reply-To: References: <563887B1.4030208@...221...> Message-ID: <5639B52C.5080701@...221...> Thank you, Fabien, that runs well. But how to cope with the last column? I vaguely remember, there was a trick... Regards Rolf Am 03.11.2015 13:15, schrieb Fabien Bodard: > For 2) set the column width to -1 > > 2015-11-03 11:08 GMT+01:00 Rolf-Werner Eilert : >> Looking for 2 things: >> >> 1) How to set the last column to a fixed width (which does not spread to >> the right border). I've got 2 GridViews here, one shows this behaviour, >> the other one has the default setting. How do I change it? I can't find >> it anymore... >> >> 2) Wasn't there a way to automagically adapt the column width to the >> contents? Or do I have to do this "manually" from within the DATA event? >> >> Thanks for any help >> >> Rolf >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > From eilert-sprachen at ...221... Wed Nov 4 13:02:55 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 04 Nov 2015 13:02:55 +0100 Subject: [Gambas-user] Columns.Width in GridView In-Reply-To: References: <563887B1.4030208@...221...> Message-ID: <5639F3EF.1000207@...221...> I found GridView.Columns[x].Expand = False, but it doesn't have any effect. And on the other GridView, it is not set, but it runs like set to False. Strange... Rolf Am 03.11.2015 13:15, schrieb Fabien Bodard: > For 2) set the column width to -1 > > 2015-11-03 11:08 GMT+01:00 Rolf-Werner Eilert : >> Looking for 2 things: >> >> 1) How to set the last column to a fixed width (which does not spread to >> the right border). I've got 2 GridViews here, one shows this behaviour, >> the other one has the default setting. How do I change it? I can't find >> it anymore... >> >> 2) Wasn't there a way to automagically adapt the column width to the >> contents? Or do I have to do this "manually" from within the DATA event? >> >> Thanks for any help >> >> Rolf >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > From eilert-sprachen at ...221... Wed Nov 4 13:06:40 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 04 Nov 2015 13:06:40 +0100 Subject: [Gambas-user] Fitting a preview into a fixed area Message-ID: <5639F4D0.7010403@...221...> I am showing a pdf preview. There are landscape and portrait pdfs, and some are A4, some are A3... Instead of following the size, I would like to fit them into a fixed, square preview area, i. e. the A3 ones would have to be shown smaller, but the aspect ratio must be kept of course, not stretched. Is there any automatic property, or how would you make it fit? Thanks for your ideas Rolf From gambas.fr at ...626... Wed Nov 4 22:38:40 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 4 Nov 2015 22:38:40 +0100 Subject: [Gambas-user] Fitting a preview into a fixed area In-Reply-To: <5639F4D0.7010403@...221...> References: <5639F4D0.7010403@...221...> Message-ID: Well what control did you use for that ? 2015-11-04 13:06 GMT+01:00 Rolf-Werner Eilert : > I am showing a pdf preview. There are landscape and portrait pdfs, and > some are A4, some are A3... > > Instead of following the size, I would like to fit them into a fixed, > square preview area, i. e. the A3 ones would have to be shown smaller, > but the aspect ratio must be kept of course, not stretched. > > Is there any automatic property, or how would you make it fit? > > Thanks for your ideas > > Rolf > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From eilert-sprachen at ...221... Thu Nov 5 08:28:29 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 05 Nov 2015 08:28:29 +0100 Subject: [Gambas-user] Fitting a preview into a fixed area In-Reply-To: References: <5639F4D0.7010403@...221...> Message-ID: <563B051D.6020905@...221...> A PictureBox: PDF.Open(druck.TempVerz() &/ CStr(VorschauName) & ".pdf") PDF.Zoom = 0.5 Vorschau = PDF[VorschauSeite].Image.Picture 'Where Vorschau is the PictureBox This runs fine e. g. when you set the PictureBox to AutoResize = True as it will automagically follow the size of the PDF. But then you need an appropriate space for the previews. When you want the preview area (the PictureBox) to have a fixed size, it is more difficult. I tried to use the Image and Stretch() first, then making it a Picture. But it was difficult for me to find the right values for ratio X and Y etc. Maybe just bad maths (typical me...), but when it was good for A4, an A3 became even smaller... ;) The simplest way turned out to be a square PictureBox, AutoResize = False, and a PDF size that makes A4 just reach out to the edges. Alignment = Center. This produces an A3 picture of the middle of the document which cuts the edges, but A3 is very rare anyway. So I found a workaround. And it has the advantage that it shows a very sharp picture (I presume pixel-on-pixel). With stretch() the picture is anti-aliased and becomes more fuzzy. Regards Rolf Am 04.11.2015 22:38, schrieb Fabien Bodard: > Well what control did you use for that ? > > 2015-11-04 13:06 GMT+01:00 Rolf-Werner Eilert : >> I am showing a pdf preview. There are landscape and portrait pdfs, and >> some are A4, some are A3... >> >> Instead of following the size, I would like to fit them into a fixed, >> square preview area, i. e. the A3 ones would have to be shown smaller, >> but the aspect ratio must be kept of course, not stretched. >> >> Is there any automatic property, or how would you make it fit? >> >> Thanks for your ideas >> >> Rolf >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > From gambasperryman at ...626... Thu Nov 5 16:16:56 2015 From: gambasperryman at ...626... (Michael Perryman) Date: Thu, 5 Nov 2015 15:16:56 +0000 Subject: [Gambas-user] Unable to create .deb installs for Ubuntu / Mint Message-ID: Using the Gambas 3.7 versions on Mint 17.2 I was having no problems, writing, compiling, testing, & creating installation packages for use in Linux Mint 17.2. A few weeks after installing 3.8 I needed to create an installation package for use with Mint. It failed to create an installation package. Assuming that there was something wrong with my installation of Mint I first tried reinstalling Mint 17.2, using just the defaults, on an empty disk. It still would not compile. Next I tried installing Ubuntu 15.10 on an empty disk. First creating 3 partitions for use as "/", swap & home. Other than telling it to use the above disk structure do an default install of Ubuntu Mate 15.10, letting it apply all updates during the install. Install Gambas with the following script. #!/bin/bash -vx sudo add-apt-repository ppa:gambas-team/gambas3 sudo apt-get update sudo apt-get install gambas3 Copy source directory from what was a working program prier to Gambas 3.8 into a source directory on the test installation. Create a separate directory in which to put the installation files. Load program and chose project / compile all. Chose project / make / executable, choosing put shortcut on desktop. Running the executable that has been placed from the desktop, everything works. Now choosing project / make / installation package, & on Target Distribution only ticking Ubuntu / Mint I get the message that I have always had "makepkg is missing". In addition I now get the 2 messages :- autoconf and automake are missing. makeself is missing. I Clicked next on every window until "Destination directory " is displayed. Chose the install directory & click next. Next screen click "create package" The following is displayed. Saving CHANGELOG file. ============================================================================== CREATING PACKAGE FOR UBUNTU / KUBUNTU / MINT.... Making build directory. Creating desktop file... Sources are being debianizated. Creating package... cd '/home/michael/data/GambasInstall/GarminTools/ubuntu/garmintools-0.1.12' dpkg-buildpackage -d -rfakeroot -uc -us dpkg-buildpackage: source package garmintools dpkg-buildpackage: source version 0.1.12-0ubuntu2 dpkg-buildpackage: source distribution unstable dpkg-buildpackage: source changed by michael sh: 1: gcc: not found dpkg-architecture: warning: couldn't determine gcc system type, falling back to default (native compilation) dpkg-buildpackage: host architecture amd64 dpkg-source --before-build garmintools-0.1.12 dpkg-source: error: syntax error in garmintools-0.1.12/debian/control at line 12: line with unknown format (not field-colon-value) dpkg-buildpackage: error: dpkg-source --before-build garmintools-0.1.12 gave error exit status 25 The package build has failed. Package.MakeDebPackage.991: 'dpkg-buildpackage' has failed. Saving CHANGELOG file. End of CHANGELOG file ======================================================== File garmintools-0.1.12/debian/control follows. everything between the rows of ========== The 12th line, said to be an error is part of the Description ================================================================================== Source: garmintools Section: contrib/electronics Priority: optional Maintainer: michael Build-Depends: debhelper (>= 5.0.0), gambas3-dev (>= 3.8), gambas3-dev (<< 3.99.0), gambas3-gb-image (>= 3.8), gambas3-gb-image (<< 3.99.0), gambas3-gb-form (>= 3.8), gambas3-gb-form (<< 3.99.0), gambas3-gb-pcre (>= 3.8), gambas3-gb-pcre (<< 3.99.0) Standards-Version: 3.9.6 Package: garmintools Architecture: all Depends: gambas3-runtime (>= 3.8), gambas3-runtime (<< 3.99.0), gambas3-gb-image (>= 3.8), gambas3-gb-image (<< 3.99.0), gambas3-gb-form (>= 3.8), gambas3-gb-form (<< 3.99.0), gambas3-gb-pcre (>= 3.8), gambas3-gb-pcre (<< 3.99.0) Description: 0.1.0 GPS data processing for navagation gpx merge file correctl... 0.1.0 GPS data processing for navagation gpx merge file correctly forated This program is written in Gambas. ================================================================================ Does anyone know why this is failing & how to fix the problem. Many thanks Michael System Information created by Gambas [System] Gambas=3.8.2 OperatingSystem=Linux Kernel=4.2.0-16-generic Architecture=x86_64 Distribution=Ubuntu 15.10 Desktop=MATE Theme=Gtk Language=en_GB.UTF-8 Memory=7887M [Libraries] Cairo=libcairo.so.2.11400.2 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.14.3 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.600.0 GTK+2=libgtk-x11-2.0.so.0.2400.28 GTK+3=libgtk-3.so.0.1600.7 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.52.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.4.2 SDL=libSDL-1.2.so.0.11.4 [Environment] CLUTTER_BACKEND=x11 COMPIZ_CONFIG_PROFILE=mate DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-DEGkApHHa2,guid=1be4de8feb243ca578024b27563b1682 DEFAULTS_PATH=/usr/share/gconf/mate.default.path DESKTOP_SESSION=mate DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=mate GDM_LANG=en_GB GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=1781 GTK_MODULES=gail:atk-bridge:canberra-gtk-module GTK_OVERLAY_SCROLLING=0 HOME= LANG=en_GB.UTF-8 LANGUAGE=en_GB:en LOGNAME= MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path MATE_DESKTOP_SESSION_ID=this-is-deprecated 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/931,unix/:/tmp/.ICE-unix/931 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=982 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg XDG_CURRENT_DESKTOP=MATE XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/ XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=mate XDG_SESSION_ID=c1 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 From gambas at ...1... Thu Nov 5 16:26:53 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 5 Nov 2015 16:26:53 +0100 Subject: [Gambas-user] Unable to create .deb installs for Ubuntu / Mint In-Reply-To: References: Message-ID: <563B753D.5020201@...1...> Le 05/11/2015 16:16, Michael Perryman a ?crit : > Using the Gambas 3.7 versions on Mint 17.2 I was having no problems, > writing, compiling, testing, & creating installation packages for use in > Linux Mint 17.2. A few weeks after installing 3.8 I needed to create an > installation package for use with Mint. It failed to create an > installation package. > > Assuming that there was something wrong with my installation of Mint I > first tried reinstalling Mint 17.2, using just the defaults, on an empty > disk. It still would not compile. > > Next I tried installing Ubuntu 15.10 on an empty disk. First creating 3 > partitions for use as "/", swap & home. > > Other than telling it to use the above disk structure do an default install > of Ubuntu Mate 15.10, letting it apply all updates during the install. > > Install Gambas with the following script. > > #!/bin/bash -vx > sudo add-apt-repository ppa:gambas-team/gambas3 > sudo apt-get update > sudo apt-get install gambas3 > > Copy source directory from what was a working program prier to Gambas 3.8 > into a source directory on the test installation. > Create a separate directory in which to put the installation files. > > Load program and chose project / compile all. > > Chose project / make / executable, choosing put shortcut on desktop. > > Running the executable that has been placed from the desktop, everything > works. > > Now choosing project / make / installation package, & on Target > Distribution only ticking Ubuntu / Mint I get the message that I have > always had "makepkg is missing". In addition I now get the 2 messages :- > autoconf and automake are missing. > makeself is missing. > > I Clicked next on every window until "Destination directory " is displayed. > Chose the install directory & click next. > Next screen click "create package" > The following is displayed. > > > > Saving CHANGELOG file. > > ============================================================================== > > CREATING PACKAGE FOR UBUNTU / KUBUNTU / MINT.... > > > Making build directory. > Creating desktop file... > Sources are being debianizated. > Creating package... > cd '/home/michael/data/GambasInstall/GarminTools/ubuntu/garmintools-0.1.12' > dpkg-buildpackage -d -rfakeroot -uc -us > dpkg-buildpackage: source package garmintools > dpkg-buildpackage: source version 0.1.12-0ubuntu2 > dpkg-buildpackage: source distribution unstable > dpkg-buildpackage: source changed by michael > sh: 1: gcc: not found > dpkg-architecture: warning: couldn't determine gcc system type, falling > back to default (native compilation) > dpkg-buildpackage: host architecture amd64 > dpkg-source --before-build garmintools-0.1.12 > dpkg-source: error: syntax error in garmintools-0.1.12/debian/control at > line 12: line with unknown format (not field-colon-value) > dpkg-buildpackage: error: dpkg-source --before-build garmintools-0.1.12 > gave error exit status 25 > The package build has failed. > Package.MakeDebPackage.991: 'dpkg-buildpackage' has failed. > Saving CHANGELOG file. > > End of CHANGELOG file > ======================================================== > > File garmintools-0.1.12/debian/control follows. everything between the > rows of ========== The 12th line, said to be an error is part of the > Description > > ================================================================================== > Source: garmintools > Section: contrib/electronics > Priority: optional > Maintainer: michael > Build-Depends: debhelper (>= 5.0.0), gambas3-dev (>= 3.8), gambas3-dev (<< > 3.99.0), gambas3-gb-image (>= 3.8), gambas3-gb-image (<< 3.99.0), > gambas3-gb-form (>= 3.8), gambas3-gb-form (<< 3.99.0), gambas3-gb-pcre (>= > 3.8), gambas3-gb-pcre (<< 3.99.0) > Standards-Version: 3.9.6 > > Package: garmintools > Architecture: all > Depends: gambas3-runtime (>= 3.8), gambas3-runtime (<< 3.99.0), > gambas3-gb-image (>= 3.8), gambas3-gb-image (<< 3.99.0), gambas3-gb-form > (>= 3.8), gambas3-gb-form (<< 3.99.0), gambas3-gb-pcre (>= 3.8), > gambas3-gb-pcre (<< 3.99.0) > Description: 0.1.0 > GPS data processing for navagation > gpx merge file correctl... > 0.1.0 > GPS data processing for navagation > gpx merge file correctly forated > This program is written in Gambas. > ================================================================================ > > Does anyone know why this is failing & how to fix the problem. > > Many thanks > > Michael > > I think you have a workaround by removing any newline inside your project description (I'm not sure, as you didn't provide your project.) Otherwise the problem will be fixed in Gambas 3.8.3 that will be released soon. You can already download the sources on sourceforge.net if you can't wait. Regards, -- Beno?t Minisini From gambasperryman at ...626... Thu Nov 5 17:09:37 2015 From: gambasperryman at ...626... (Michael Perryman) Date: Thu, 5 Nov 2015 16:09:37 +0000 Subject: [Gambas-user] Unable to create .deb installs for Ubuntu / Mint In-Reply-To: <563B753D.5020201@...1...> References: <563B753D.5020201@...1...> Message-ID: Thanks it fixed that problem, but now producing other errors to prevent the packages being created.. I will investigate those now. Michael On 5 November 2015 at 15:26, Beno?t Minisini wrote: > Le 05/11/2015 16:16, Michael Perryman a ?crit : > > Using the Gambas 3.7 versions on Mint 17.2 I was having no problems, > > writing, compiling, testing, & creating installation packages for use in > > Linux Mint 17.2. A few weeks after installing 3.8 I needed to create an > > installation package for use with Mint. It failed to create an > > installation package. > > > > Assuming that there was something wrong with my installation of Mint I > > first tried reinstalling Mint 17.2, using just the defaults, on an empty > > disk. It still would not compile. > > > > Next I tried installing Ubuntu 15.10 on an empty disk. First creating 3 > > partitions for use as "/", swap & home. > > > > Other than telling it to use the above disk structure do an default > install > > of Ubuntu Mate 15.10, letting it apply all updates during the install. > > > > Install Gambas with the following script. > > > > #!/bin/bash -vx > > sudo add-apt-repository ppa:gambas-team/gambas3 > > sudo apt-get update > > sudo apt-get install gambas3 > > > > Copy source directory from what was a working program prier to Gambas 3.8 > > into a source directory on the test installation. > > Create a separate directory in which to put the installation files. > > > > Load program and chose project / compile all. > > > > Chose project / make / executable, choosing put shortcut on desktop. > > > > Running the executable that has been placed from the desktop, > everything > > works. > > > > Now choosing project / make / installation package, & on Target > > Distribution only ticking Ubuntu / Mint I get the message that I have > > always had "makepkg is missing". In addition I now get the 2 messages > :- > > autoconf and automake are missing. > > makeself is missing. > > > > I Clicked next on every window until "Destination directory " is > displayed. > > Chose the install directory & click next. > > Next screen click "create package" > > The following is displayed. > > > > > > > > Saving CHANGELOG file. > > > > > ============================================================================== > > > > CREATING PACKAGE FOR UBUNTU / KUBUNTU / MINT.... > > > > > > Making build directory. > > Creating desktop file... > > Sources are being debianizated. > > Creating package... > > cd > '/home/michael/data/GambasInstall/GarminTools/ubuntu/garmintools-0.1.12' > > dpkg-buildpackage -d -rfakeroot -uc -us > > dpkg-buildpackage: source package garmintools > > dpkg-buildpackage: source version 0.1.12-0ubuntu2 > > dpkg-buildpackage: source distribution unstable > > dpkg-buildpackage: source changed by michael > > sh: 1: gcc: not found > > dpkg-architecture: warning: couldn't determine gcc system type, falling > > back to default (native compilation) > > dpkg-buildpackage: host architecture amd64 > > dpkg-source --before-build garmintools-0.1.12 > > dpkg-source: error: syntax error in garmintools-0.1.12/debian/control at > > line 12: line with unknown format (not field-colon-value) > > dpkg-buildpackage: error: dpkg-source --before-build garmintools-0.1.12 > > gave error exit status 25 > > The package build has failed. > > Package.MakeDebPackage.991: 'dpkg-buildpackage' has failed. > > Saving CHANGELOG file. > > > > End of CHANGELOG file > > ======================================================== > > > > File garmintools-0.1.12/debian/control follows. everything between > the > > rows of ========== The 12th line, said to be an error is part of the > > Description > > > > > ================================================================================== > > Source: garmintools > > Section: contrib/electronics > > Priority: optional > > Maintainer: michael > > Build-Depends: debhelper (>= 5.0.0), gambas3-dev (>= 3.8), gambas3-dev > (<< > > 3.99.0), gambas3-gb-image (>= 3.8), gambas3-gb-image (<< 3.99.0), > > gambas3-gb-form (>= 3.8), gambas3-gb-form (<< 3.99.0), gambas3-gb-pcre > (>= > > 3.8), gambas3-gb-pcre (<< 3.99.0) > > Standards-Version: 3.9.6 > > > > Package: garmintools > > Architecture: all > > Depends: gambas3-runtime (>= 3.8), gambas3-runtime (<< 3.99.0), > > gambas3-gb-image (>= 3.8), gambas3-gb-image (<< 3.99.0), gambas3-gb-form > > (>= 3.8), gambas3-gb-form (<< 3.99.0), gambas3-gb-pcre (>= 3.8), > > gambas3-gb-pcre (<< 3.99.0) > > Description: 0.1.0 > > GPS data processing for navagation > > gpx merge file correctl... > > 0.1.0 > > GPS data processing for navagation > > gpx merge file correctly forated > > This program is written in Gambas. > > > ================================================================================ > > > > Does anyone know why this is failing & how to fix the problem. > > > > Many thanks > > > > Michael > > > > > > I think you have a workaround by removing any newline inside your > project description (I'm not sure, as you didn't provide your project.) > > Otherwise the problem will be fixed in Gambas 3.8.3 that will be > released soon. You can already download the sources on sourceforge.net > if you can't wait. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Thu Nov 5 17:39:40 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 05 Nov 2015 16:39:40 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #829: Unable to Insert Time value in postgresql database In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.829&from=L21haW4- Comment #5 by Beno?t MINISINI: Is it possible for you to test revision #7454 and tell me if it fix the problem? From shordi at ...626... Thu Nov 5 21:11:59 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Thu, 5 Nov 2015 21:11:59 +0100 Subject: [Gambas-user] A little question about treeView Message-ID: I have a treeView and I change the current item by myTreeview.moveto(newkey) Since then, the current key is newkey but the item is not highlightes on screen I can't find the way to highlight the new item... How can it be done? Thanks in advance Regards From taboege at ...626... Thu Nov 5 21:56:05 2015 From: taboege at ...626... (Tobias Boege) Date: Thu, 5 Nov 2015 21:56:05 +0100 Subject: [Gambas-user] A little question about treeView In-Reply-To: References: Message-ID: <20151105205605.GE690@...2774...> On Thu, 05 Nov 2015, Jorge Carri??n wrote: > I have a treeView and I change the current item by > > myTreeview.moveto(newkey) > > Since then, the current key is newkey but the item is not highlightes on > screen > > I can't find the way to highlight the new item... How can it be done? > TreeView has two distinct cursors: one for the visually selected item (in single selection mode) and an internal cursor. The Move*() methods modify the internal cursor and have no effect on the GUI. You must set the Key property of TreeView to change the selected element on the GUI. Part of that is written on the TreeView documentation start page[0]. Regards, Tobi [0] http://gambaswiki.org/wiki/comp/gb.qt4/treeview -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas.fr at ...626... Thu Nov 5 22:10:00 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 5 Nov 2015 22:10:00 +0100 Subject: [Gambas-user] Fitting a preview into a fixed area In-Reply-To: <563B051D.6020905@...221...> References: <5639F4D0.7010403@...221...> <563B051D.6020905@...221...> Message-ID: Maybe you can use a DocumentVuew for that... I will send you an example tomorrow. Le 5 nov. 2015 08:29, "Rolf-Werner Eilert" a ?crit : > A PictureBox: > > PDF.Open(druck.TempVerz() &/ CStr(VorschauName) & ".pdf") > PDF.Zoom = 0.5 > Vorschau = PDF[VorschauSeite].Image.Picture 'Where Vorschau is the > PictureBox > > This runs fine e. g. when you set the PictureBox to AutoResize = True as > it will automagically follow the size of the PDF. But then you need an > appropriate space for the previews. When you want the preview area (the > PictureBox) to have a fixed size, it is more difficult. > > I tried to use the Image and Stretch() first, then making it a Picture. > > But it was difficult for me to find the right values for ratio X and Y > etc. Maybe just bad maths (typical me...), but when it was good for A4, > an A3 became even smaller... ;) > > The simplest way turned out to be a square PictureBox, AutoResize = > False, and a PDF size that makes A4 just reach out to the edges. > Alignment = Center. This produces an A3 picture of the middle of the > document which cuts the edges, but A3 is very rare anyway. > > So I found a workaround. And it has the advantage that it shows a very > sharp picture (I presume pixel-on-pixel). With stretch() the picture is > anti-aliased and becomes more fuzzy. > > Regards > Rolf > > > > Am 04.11.2015 22:38, schrieb Fabien Bodard: > > Well what control did you use for that ? > > > > 2015-11-04 13:06 GMT+01:00 Rolf-Werner Eilert < > eilert-sprachen at ...221...>: > >> I am showing a pdf preview. There are landscape and portrait pdfs, and > >> some are A4, some are A3... > >> > >> Instead of following the size, I would like to fit them into a fixed, > >> square preview area, i. e. the A3 ones would have to be shown smaller, > >> but the aspect ratio must be kept of course, not stretched. > >> > >> Is there any automatic property, or how would you make it fit? > >> > >> Thanks for your ideas > >> > >> Rolf > >> > >> > >> > ------------------------------------------------------------------------------ > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From shordi at ...626... Thu Nov 5 22:34:51 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Thu, 5 Nov 2015 22:34:51 +0100 Subject: [Gambas-user] A little question about treeView In-Reply-To: <20151105205605.GE690@...2774...> References: <20151105205605.GE690@...2774...> Message-ID: Works fine,Toby! I don't know why I thought the property key was read-only... I'm gettinng old, I guess... ?? Thank you very much. Regards 2015-11-05 21:56 GMT+01:00 Tobias Boege : > On Thu, 05 Nov 2015, Jorge Carri??n wrote: > > I have a treeView and I change the current item by > > > > myTreeview.moveto(newkey) > > > > Since then, the current key is newkey but the item is not highlightes on > > screen > > > > I can't find the way to highlight the new item... How can it be done? > > > > TreeView has two distinct cursors: one for the visually selected item (in > single selection mode) and an internal cursor. > > The Move*() methods modify the internal cursor and have no effect on the > GUI. You must set the Key property of TreeView to change the selected > element on the GUI. > > Part of that is written on the TreeView documentation start page[0]. > > Regards, > Tobi > > [0] http://gambaswiki.org/wiki/comp/gb.qt4/treeview > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From adamnt42 at ...626... Thu Nov 5 23:17:59 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Fri, 6 Nov 2015 08:47:59 +1030 Subject: [Gambas-user] Bug #829: Unable to Insert Time value in postgresql database Message-ID: <20151106084759.b06fd35dbe46eaf13813c10c@...626...> Hi Benoit and Safiur RAHMAN, Regardless of whether the revision #7454 fix works or not, I'd just like to warn of the following possible problem. In postgresql, a timestamp column (with or without a timezone) is a date+time datatype. Presumably, inserting a time only value into a timestamp column will "assume" the current date for the date part (depending on the postgresql db driver version). If Safiur expects that the database will record the time only in that field and then, say, tries to SELECT based on a time only parameter he(?) will not succeed. There are a few possible ways to use a timestamp column to record time only. However the better solution is to use a "time [ (p) ] [ without time zone ]" column. This will ensure that any WHERE clause can use the time only value. (Just wanted to point that out) regards bruce -- B Bruen From jussi.lahtinen at ...626... Fri Nov 6 00:30:27 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 6 Nov 2015 01:30:27 +0200 Subject: [Gambas-user] How to ensure Message is visible? Message-ID: See attachment. Look up tasks tab and the relevant TODO. If there are multiple alarms, and you will set one of the alarms to alarm later, then the confirmation message stays behind the alarms. And thus the program seems to be frozen. The code which is commented out causes random crashes. And generally wont work. Is there easy way to do what I want? Jussi -------------- next part -------------- A non-text attachment was scrubbed... Name: GAlarm-0.1.79.tar.gz Type: application/x-gzip Size: 66784 bytes Desc: not available URL: From taboege at ...626... Fri Nov 6 06:04:48 2015 From: taboege at ...626... (Tobias Boege) Date: Fri, 6 Nov 2015 06:04:48 +0100 Subject: [Gambas-user] Enumerate all classes inheriting X Message-ID: <20151106050448.GA668@...2774...> Hi, in my project I have the need to enumerate all classes from my current project (not from components) for which hClass Is X is true for some fixed class X, once at startup. I think I tried For Each hClass In Classes hCurrent = hClass While hCurrent.Parent If hCurrent.Parent = Classes["X"] Then aRes.Add(hClass) Break Endif hCurrent = hCurrent.Parent Wend Next (written from memory, but it gets the idea across). However, this does not work as Classes can only access the already loaded classes. Is there a way to enumerate _all_ classes in the current project or to force loading of all remaining classes from the project? I have no particular technical problem with hard-coding the desired list instead of computing it but I want to know if I *could* compute it. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bugtracker at ...3416... Fri Nov 6 08:17:06 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 06 Nov 2015 07:17:06 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #829: Unable to Insert Time value in postgresql database In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.829&from=L21haW4- Comment #6 by Safiur RAHMAN: Hello I get following error: Cannot create record: ERROR: invalid input syntax for type timestamp: "12:52:00" LINE 1: INSERT INTO "tblimage" ( "fldtime" ) VALUES ( '12:52:00' ) I think inserting time value in timestamp was possible in previous versions of postgresql several months back. Now I am unable to do that. From bugtracker at ...3416... Fri Nov 6 17:20:28 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 06 Nov 2015 16:20:28 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #835: gambas3 doesn't build with llvm > 3.5 Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.835&from=L21haW4- Gianfranco COSTAMAGNA reported a new bug. Summary ------- gambas3 doesn't build with llvm > 3.5 Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- Hi, as said, seems that the file #include "llvm/ExecutionEngine/JIT.h" [1] is not available anymore from llvm-3.6+ versions this is leading gambas3 to a FTBFS [2] [1] https://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/gb.jit/src/jit.h [2] https://buildd.debian.org/status/fetch.php?pkg=gambas3&arch=amd64&ver=3.5.4-2%2Bb3&stamp=1446810176 thanks, G. From author.ilmi at ...626... Sat Nov 7 07:36:14 2015 From: author.ilmi at ...626... (zainudin ahmad) Date: Sat, 7 Nov 2015 13:36:14 +0700 Subject: [Gambas-user] Enumerate all classes inheriting X In-Reply-To: <20151106050448.GA668@...2774...> References: <20151106050448.GA668@...2774...> Message-ID: May be this code can help. Public Sub Main() Dim sClass As String Print "Count : " & Dir(".gambas").Count & "\n" For Each sClass In Dir(".gambas") Print sClass; Try Print "-->" & Object.Class(Object.New(sClass)).Parent.Name '<-- this make class load into memory If Error Then Print Next End On Fri, Nov 6, 2015 at 12:04 PM, Tobias Boege wrote: > Hi, > > in my project I have the need to enumerate all classes from my current > project (not from components) for which > > hClass Is X > > is true for some fixed class X, once at startup. I think I tried > > For Each hClass In Classes > hCurrent = hClass > While hCurrent.Parent > If hCurrent.Parent = Classes["X"] Then > aRes.Add(hClass) > Break > Endif > hCurrent = hCurrent.Parent > Wend > Next > > (written from memory, but it gets the idea across). However, this does not > work as Classes can only access the already loaded classes. > > Is there a way to enumerate _all_ classes in the current project or to > force > loading of all remaining classes from the project? I have no particular > technical problem with hard-coding the desired list instead of computing it > but I want to know if I *could* compute it. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Sat Nov 7 11:43:09 2015 From: taboege at ...626... (Tobias Boege) Date: Sat, 7 Nov 2015 11:43:09 +0100 Subject: [Gambas-user] Enumerate all classes inheriting X In-Reply-To: References: <20151106050448.GA668@...2774...> Message-ID: <20151107104309.GA659@...2774...> On Sat, 07 Nov 2015, zainudin ahmad wrote: > On Fri, Nov 6, 2015 at 12:04 PM, Tobias Boege wrote: > > > Hi, > > > > in my project I have the need to enumerate all classes from my current > > project (not from components) for which > > > > hClass Is X > > > > is true for some fixed class X, once at startup. I think I tried > > > > For Each hClass In Classes > > hCurrent = hClass > > While hCurrent.Parent > > If hCurrent.Parent = Classes["X"] Then > > aRes.Add(hClass) > > Break > > Endif > > hCurrent = hCurrent.Parent > > Wend > > Next > > > > (written from memory, but it gets the idea across). However, this does not > > work as Classes can only access the already loaded classes. > > > > Is there a way to enumerate _all_ classes in the current project or to > > force > > loading of all remaining classes from the project? I have no particular > > technical problem with hard-coding the desired list instead of computing it > > but I want to know if I *could* compute it. > > > May be this code can help. > > Public Sub Main() > > Dim sClass As String > > Print "Count : " & Dir(".gambas").Count & "\n" > > For Each sClass In Dir(".gambas") > Print sClass; > Try Print "-->" & Object.Class(Object.New(sClass)).Parent.Name '<-- > this make class load into memory > If Error Then Print > Next > > End > As with most hacks, it's a nice idea :-) (also works in executable archives). But since some classes may be Create Private, using Object.New() to force them to load is not a good idea. I have adapted the code to use Class.Load(). Thank you, although I'm not sure if I'll continue this way. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas.fr at ...626... Sat Nov 7 14:20:38 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 7 Nov 2015 14:20:38 +0100 Subject: [Gambas-user] Enumerate all classes inheriting X In-Reply-To: <20151107104309.GA659@...2774...> References: <20151106050448.GA668@...2774...> <20151107104309.GA659@...2774...> Message-ID: If i remember well Classes can list only exported classes. http://gambaswiki.org/wiki/lang/is http://gambaswiki.org/wiki/comp/gb/class/parent 2015-11-07 11:43 GMT+01:00 Tobias Boege : > On Sat, 07 Nov 2015, zainudin ahmad wrote: >> On Fri, Nov 6, 2015 at 12:04 PM, Tobias Boege wrote: >> >> > Hi, >> > >> > in my project I have the need to enumerate all classes from my current >> > project (not from components) for which >> > >> > hClass Is X >> > >> > is true for some fixed class X, once at startup. I think I tried >> > >> > For Each hClass In Classes >> > hCurrent = hClass >> > While hCurrent.Parent >> > If hCurrent.Parent = Classes["X"] Then >> > aRes.Add(hClass) >> > Break >> > Endif >> > hCurrent = hCurrent.Parent >> > Wend >> > Next >> > >> > (written from memory, but it gets the idea across). However, this does not >> > work as Classes can only access the already loaded classes. >> > >> > Is there a way to enumerate _all_ classes in the current project or to >> > force >> > loading of all remaining classes from the project? I have no particular >> > technical problem with hard-coding the desired list instead of computing it >> > but I want to know if I *could* compute it. >> > >> May be this code can help. >> >> Public Sub Main() >> >> Dim sClass As String >> >> Print "Count : " & Dir(".gambas").Count & "\n" >> >> For Each sClass In Dir(".gambas") >> Print sClass; >> Try Print "-->" & Object.Class(Object.New(sClass)).Parent.Name '<-- >> this make class load into memory >> If Error Then Print >> Next >> >> End >> > > As with most hacks, it's a nice idea :-) (also works in executable archives). > But since some classes may be Create Private, using Object.New() to force > them to load is not a good idea. I have adapted the code to use Class.Load(). > Thank you, although I'm not sure if I'll continue this way. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas at ...1... Sat Nov 7 15:20:30 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 7 Nov 2015 15:20:30 +0100 Subject: [Gambas-user] Enumerate all classes inheriting X In-Reply-To: <20151106050448.GA668@...2774...> References: <20151106050448.GA668@...2774...> Message-ID: <563E08AE.7050902@...1...> Le 06/11/2015 06:04, Tobias Boege a ?crit : > Hi, > > in my project I have the need to enumerate all classes from my current > project (not from components) for which > > hClass Is X > > is true for some fixed class X, once at startup. I think I tried > > For Each hClass In Classes > hCurrent = hClass > While hCurrent.Parent > If hCurrent.Parent = Classes["X"] Then > aRes.Add(hClass) > Break > Endif > hCurrent = hCurrent.Parent > Wend > Next > > (written from memory, but it gets the idea across). However, this does not > work as Classes can only access the already loaded classes. > > Is there a way to enumerate _all_ classes in the current project or to force > loading of all remaining classes from the project? I have no particular > technical problem with hard-coding the desired list instead of computing it > but I want to know if I *could* compute it. > > Regards, > Tobi > At the moment, you can't get any information on a class without loading it into the interpreterer, which may have unwanted effects... I have the same need, so I may provide a solution in the future! -- Beno?t Minisini From taboege at ...626... Sat Nov 7 15:29:28 2015 From: taboege at ...626... (Tobias Boege) Date: Sat, 7 Nov 2015 15:29:28 +0100 Subject: [Gambas-user] Enumerate all classes inheriting X In-Reply-To: <563E08AE.7050902@...1...> References: <20151106050448.GA668@...2774...> <563E08AE.7050902@...1...> Message-ID: <20151107142928.GA25773@...2774...> On Sat, 07 Nov 2015, Beno??t Minisini wrote: > Le 06/11/2015 06:04, Tobias Boege a ?crit : > > Hi, > > > > in my project I have the need to enumerate all classes from my current > > project (not from components) for which > > > > hClass Is X > > > > is true for some fixed class X, once at startup. I think I tried > > > > For Each hClass In Classes > > hCurrent = hClass > > While hCurrent.Parent > > If hCurrent.Parent = Classes["X"] Then > > aRes.Add(hClass) > > Break > > Endif > > hCurrent = hCurrent.Parent > > Wend > > Next > > > > (written from memory, but it gets the idea across). However, this does not > > work as Classes can only access the already loaded classes. > > > > Is there a way to enumerate _all_ classes in the current project or to force > > loading of all remaining classes from the project? I have no particular > > technical problem with hard-coding the desired list instead of computing it > > but I want to know if I *could* compute it. > > > > Regards, > > Tobi > > > > At the moment, you can't get any information on a class without loading > it into the interpreterer, which may have unwanted effects... > > I have the same need, so I may provide a solution in the future! > Cool. In the meantime, to close this thread, I have decided for my project to list the relevant classes explicitly. It was about testing for all sub-classes of a specific class whether they could be constructed from a certain argument (i.e. if their constructors don't throw an error). Since I control all classes in the project, I found it less obscure and painful to write Dim hObj As MyClass Try hObj = New MySubClass1(Arg) If Not Error Then Return hObj Try hObj = New MySubClass2(Arg) If Not Error Then Return hObj ... Error.Raise(("No compatible implementation found")) Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Sun Nov 8 01:46:42 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 8 Nov 2015 01:46:42 +0100 Subject: [Gambas-user] Release of Gambas 3.8.3 Message-ID: <563E9B72.7020904@...1...> Hi, Gambas 3.8.3 release is now official. Download it at: http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.8.3.tar.bz2/download Regards, -- Beno?t Minisini From gambas at ...1... Sun Nov 8 04:14:19 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 8 Nov 2015 04:14:19 +0100 Subject: [Gambas-user] Enumerate all classes inheriting X In-Reply-To: <563E08AE.7050902@...1...> References: <20151106050448.GA668@...2774...> <563E08AE.7050902@...1...> Message-ID: <563EBE0B.8020200@...1...> Le 07/11/2015 15:20, Beno?t Minisini a ?crit : > > At the moment, you can't get any information on a class without loading > it into the interpreterer, which may have unwanted effects... > > I have the same need, so I may provide a solution in the future! > In revision #7457, I have added a Class.Stat() static method through the 'gb.util' component. You give a class name of the project, and CClass.Stat() tells you its parent class name and if the class is exported. If the class does not exist in the project, you get an error. Regards, -- Beno?t Minisini From gambas at ...1... Sun Nov 8 04:16:13 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 8 Nov 2015 04:16:13 +0100 Subject: [Gambas-user] Enumerate all classes inheriting X In-Reply-To: <563EBE0B.8020200@...1...> References: <20151106050448.GA668@...2774...> <563E08AE.7050902@...1...> <563EBE0B.8020200@...1...> Message-ID: <563EBE7D.1000702@...1...> Le 08/11/2015 04:14, Beno?t Minisini a ?crit : > Le 07/11/2015 15:20, Beno?t Minisini a ?crit : >> >> At the moment, you can't get any information on a class without loading >> it into the interpreterer, which may have unwanted effects... >> >> I have the same need, so I may provide a solution in the future! >> > > In revision #7457, I have added a Class.Stat() static method through the > 'gb.util' component. > > You give a class name of the project, and CClass.Stat() tells you its > parent class name and if the class is exported. If the class does not > exist in the project, you get an error. > > Regards, > ...and of course it gives you that information without loading the class into the interpreter. I need that for the future gb.web.form component, that assumes that the first path element of the request URL is the name of a webform. So I must check that a real webform is provided, without loading anything. Regards, -- Beno?t Minisini From bugtracker at ...3416... Sun Nov 8 04:22:24 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 08 Nov 2015 03:22:24 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #835: gambas3 doesn't build with llvm > 3.5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.835&from=L21haW4- Comment #1 by Beno?t MINISINI: Recent versions of Gambas now correctly check that the LLVM version is between 3.1 and 3.5. LLVM 3.6 decided to replace their old JIT API by a new incompatible one, and so broke programs like Gambas that relied on them. There is no solution at the moment. No idea why debian still wants to compile Gambas 3.5.4 which is sixteen months old. From bugtracker at ...3416... Sun Nov 8 04:23:25 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 08 Nov 2015 03:23:25 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #835: gambas3 doesn't build with llvm > 3.5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.835&from=L21haW4- Comment #2 by Beno?t MINISINI: ...And I don't know what a "FTBFS" is. From bugtracker at ...3416... Sun Nov 8 04:23:33 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 08 Nov 2015 03:23:33 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #835: gambas3 doesn't build with llvm > 3.5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.835&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Rejected. From bugtracker at ...3416... Sun Nov 8 07:36:57 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 08 Nov 2015 06:36:57 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #835: gambas3 doesn't build with llvm > 3.5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.835&from=L21haW4- Comment #3 by Gianfranco COSTAMAGNA: Hi Fails To Build From Source :) Anyway, I'm trying to update gambas3 for Debian right now, and we are trying to remove llvm 3.4 and llvm 3.5 from the archive soon, this is why I opened this bug report. cheers, G. From bugtracker at ...3416... Sun Nov 8 11:08:31 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 08 Nov 2015 10:08:31 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #835: gambas3 doesn't build with llvm > 3.5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.835&from=L21haW4- Comment #4 by Beno?t MINISINI: What's the problem with keeping an old version of LLVM? Do you plan to remove QT4, sqlite2 or GStreamer 1.0? And why not using the latest stable version of Gambas? From VonZorch at ...626... Sun Nov 8 11:09:01 2015 From: VonZorch at ...626... (VonZorch) Date: Sun, 8 Nov 2015 03:09:01 -0700 (MST) Subject: [Gambas-user] Button color doesn't change Message-ID: <1446977341407-54336.post@...3046...> I just upgraded to Gambas 3.8.2 from 3.1.1 and now I cannot change button colors either background or foreground. This applies to all button types and includes buttons created in code. Other controls work normally. I have tried changing my desktop and Gambas themes with no result. System information follows. [System] Gambas=3.8.2 OperatingSystem=Linux Kernel=3.13.0-24-gen Architecture=x86_64 Distribution=Linux Mint 17.1 Rebecca Desktop=MATE Theme=Gtk Language=en_US.utf8 Memory=3845M [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 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-Dpw997N7xR,guid=05562f5f8901d9fdd2fbff63563efd02 DEFAULTS_PATH=/usr/share/gconf/default.default.path DESKTOP_SESSION=default DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=default GDM_XSERVER_LOCATION=local GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=3631 GNOME_KEYRING_CONTROL=/run/user/1000/keyring-BF4ion GNOME_KEYRING_PID=1663 GPG_AGENT_INFO=/run/user/1000/keyring-BF4ion/gpg:0:1 HOME= LANG=en_US.utf8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/default.mandatory.path MATE_DESKTOP_SESSION_ID=this-is-deprecated MDMSESSION=default MDM_LANG=en_US.utf8 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/1740,unix/:/tmp/.ICE-unix/1740 SHELL=/bin/bash SSH_AGENT_PID=1881 SSH_AUTH_SOCK=/run/user/1000/keyring-BF4ion/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=7 XAUTHORITY=/tmp/.mdmMV9P7X XDG_CONFIG_DIRS=/etc/xdg/xdg-default:/etc/xdg XDG_DATA_DIRS=/usr/share/default:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=fdc40692f218a9562b969558555d0dab-1446968576.359881-1540181663 XDG_SESSION_DESKTOP=default XDG_SESSION_ID=c1 XDG_VTNR=7 -- View this message in context: http://gambas.8142.n7.nabble.com/Button-color-doesn-t-change-tp54336.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Sun Nov 8 12:04:47 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 8 Nov 2015 12:04:47 +0100 Subject: [Gambas-user] Button color doesn't change In-Reply-To: <1446977341407-54336.post@...3046...> References: <1446977341407-54336.post@...3046...> Message-ID: <563F2C4F.9020400@...1...> Le 08/11/2015 11:09, VonZorch a ?crit : > I just upgraded to Gambas 3.8.2 from 3.1.1 and now I cannot change button > colors either background or foreground. > This applies to all button types and includes buttons created in code. > Other controls work normally. > I have tried changing my desktop and Gambas themes with no result. > System information follows. > ... Which GUI component do you use? Button color behaviour depends on underlying widget theme, it's usually not Gambas' fault. -- Beno?t Minisini From n.rogozarski at ...626... Sun Nov 8 15:19:59 2015 From: n.rogozarski at ...626... (Nikola Rogozarski) Date: Sun, 08 Nov 2015 15:19:59 +0100 Subject: [Gambas-user] Mysql Stored Procedure Message-ID: <1446992399.1877.4.camel@...626...> I searched on google but did not have a good explanation of how to use mysql stored procedures. I have a stored procedure with four parameters ("IN.Param1" "OUT.Param2", "OUT.Param3", "OUT.Param4"). First parameter to use as criteria for filtering data, ?nd the rest to see the returned data. My question is, how to use stored procedures with parameters ? Does anyone have experience with this and how is it used in Gambas? From bugtracker at ...3416... Sun Nov 8 20:00:40 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 08 Nov 2015 19:00:40 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #835: gambas3 doesn't build with llvm > 3.5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.835&from=L21haW4- Comment #5 by Gianfranco COSTAMAGNA: Hi, the problem is that llvm is hard to maintain, and currently Debian provides the 3.4, 3.5, 3.6, 3.7 and snapshots versions. now we are doing a transition to llvm-3.6 as default, and gambas is not building anymore https://release.debian.org/transitions/html/llvm-defaults-3.6.html (I'm planning to force 3.5 in the meanwhile, but it isn't the correct solution in the long term) Upstream AFAIK doesn't support all of them, and this makes it even harder to maintain specially for LTS Debian releases. So we are trying to migrate to newer llvm versions, and 3.4 will e.g. disappear soonish (we are currently working on ghc, the last package that needs llvm-3.4, but for the new ghc releases they will bundle a llvm-style code, to build it internally when needed) (they use it only for arm* and seems that they are going in this direction, even if I'm not sure it is acceptable for Debian and security) QT4 AFAIK is not in the deprecation list, but they are removing the webkit support https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=784465 (this is something that is slowing down the migration to the new gambas3 release) for sqlite2 I'm not aware of any deprecation ongoing effort, while for gstreamer I'm not sure what do you mean, we recently removed gstreamer 0.10, as you can see here [1] [2] [3] but I see gambas3 is using already gstreamer 1.0, so I'm not sure what is the successor of it, but we shouldnt bother too soon :) [1] https://release.debian.org/transitions/html/gstreamer0.10-rm.html [2] https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=gstreamer0.10-removal;users=slomo at ...1238... [3] https://lists.debian.org/debian-devel/2015/05/msg00335.html From bugtracker at ...3416... Sun Nov 8 20:18:45 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 08 Nov 2015 19:18:45 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #835: gambas3 doesn't build with llvm > 3.5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.835&from=L21haW4- Comment #6 by Beno?t MINISINI: 'gb.jit' component is optional. You can either use a more recent gambas version, that will automatically disable the component compilation as soon as the LLVM version does not match. If you can't, you have to explicitly compile gambas with "./configure --disable-jit". Is it possible in debian? As for LLVM jit deprecation, they should have keep it at least for a few version. And it's a shame if they can't make a not so old version compile easily anymore. Are these guys really serious? I have no news from the guy who wrote the gb.jit component, so I don't think he will rewrite it entirely to match the new LLVM jit API. As for webkit deprecation, I'm aware of, and it's a problem too. Qt warned for it (a good point), but their replacement solution has far less features (bad point). I have to create a new browser component based on their new engine, and make both compile conditionally. But it's my job. As for GStreamer: going from 0.10 to 1.0 just required a few changes. A smooth transition. Something that apparently LLVM guys do not care. Now a last question : Sebastian Kulesz maintains an ubuntu ppa that allows ubuntu users to install the last stable version of Gambas, and even a snapshot of the last unstable development version. What should I do to make Debian use a recent Gambas version? From bugtracker at ...3416... Mon Nov 9 00:06:46 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 08 Nov 2015 23:06:46 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #834: Components what needed to compile Gambas IDE not update. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.834&from=L21haW4- Comment #1 by Zainudin AHMAD: Compare with 3.8.90 version gb.clipper <-- ? gb.db gb.db.form gb.debug gb.desktop gb.desktop.x11 <-- ? gb.eval gb.eval.highlight gb.form gb.form.dialog gb.form.editor gb.form.mdi gb.form.stock <-- ? gb.gui.qt <-- ? gb.gui.qt.webkit <-- ? gb.image gb.markdown <-- ? gb.net <-- ? gb.net.curl <-- ? gb.settings gb.util <-- ? =============== gb.image.effect gb.qt4 gb.qt4.ext gb.qt4.webkit (attach pic-1) From bugtracker at ...3416... Mon Nov 9 00:07:05 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 08 Nov 2015 23:07:05 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #834: Components what needed to compile Gambas IDE not update. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.834&from=L21haW4- Zainudin AHMAD added an attachment: pic-1.png From bugtracker at ...3416... Mon Nov 9 00:21:14 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 08 Nov 2015 23:21:14 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #836: "Out of bounds" message, when opening the project with the condition VERSION file is empty Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.836&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- "Out of bounds" message, when opening the project with the condition VERSION file is empty Type : Bug Priority : Low Gambas version : 3.8.90 (TRUNK) Product : Development Environment Description ----------- I get "Out of bounds. Project.GetVersion.3040" message when opening the project with the condition VERSION file is empty.(attach pic-1) For reproduce the bug: - extrack this project to tmp directory.(attach project) - and open the project. after that I get the message. System information ------------------ [System] Gambas=3.8.90 r7457 OperatingSystem=Linux Kernel=3.2.0-88-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=LXDE Theme=Gtk Language=en_US.UTF-8 Memory=494M [Libraries] Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.7.0 GTK+2=libgtk-x11-2.0.so.0.2400.10 GTK+3=libgtk-3.so.0.400.2 OpenGL=libGL.so.96.43.23 Poppler=libpoppler.so.19.0.0 QT4=libQtCore.so.4.8.1 QT5=libQt5Core.so.5.0.2 SDL=libSDL-1.2.so.0.11.3 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-bS9wnTCZrH,guid=87c5358bb5c3998bf7cb957b00000027 DEFAULTS_PATH=/usr/share/gconf/Lubuntu.default.path DESKTOP_SESSION=Lubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=Lubuntu GNOME_KEYRING_CONTROL=/tmp/keyring-9dJvqY GNOME_KEYRING_PID=1630 HOME= LANG=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/Lubuntu.mandatory.path PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PWD= SAL_USE_VCLPLUGIN=gtk SHELL=/bin/bash SSH_AGENT_PID=1621 SSH_AUTH_SOCK=/tmp/keyring-9dJvqY/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/lubuntu/:/etc/xdg/xdg-Lubuntu:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXDE XDG_DATA_DIRS=/etc/xdg/lubuntu:/usr/share/Lubuntu:/usr/local/share/:/usr/share/:/usr/share:/usr/share/gdm:/var/lib/menu-xdg XDG_MENU_PREFIX=lxde- XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_COOKIE=2d9710af0959f6893eb828f100000008-1447020998.408513-1201412477 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 _LXSESSION_PID=1591 From bugtracker at ...3416... Mon Nov 9 00:21:44 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 08 Nov 2015 23:21:44 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #836: "Out of bounds" message, when opening the project with the condition VERSION file is empty In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.836&from=L21haW4- Zainudin AHMAD added an attachment: pic-1.png From bugtracker at ...3416... Mon Nov 9 00:21:58 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 08 Nov 2015 23:21:58 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #836: "Out of bounds" message, when opening the project with the condition VERSION file is empty In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.836&from=L21haW4- Zainudin AHMAD added an attachment: test-VERSION.tar.gz From bugtracker at ...3416... Mon Nov 9 00:38:37 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 08 Nov 2015 23:38:37 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #836: "Out of bounds" message, when opening the project with the condition VERSION file is empty In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.836&from=L21haW4- Comment #1 by Zainudin AHMAD: - Create new project - and try to use empty VERSION file I get IDE Crash (attach pic-2) From bugtracker at ...3416... Mon Nov 9 00:38:51 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 08 Nov 2015 23:38:51 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #836: "Out of bounds" message, when opening the project with the condition VERSION file is empty In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.836&from=L21haW4- Zainudin AHMAD added an attachment: pic-2.png From author.ilmi at ...626... Mon Nov 9 08:12:30 2015 From: author.ilmi at ...626... (zainudin ahmad) Date: Mon, 9 Nov 2015 14:12:30 +0700 Subject: [Gambas-user] How to ensure Message is visible? In-Reply-To: References: Message-ID: Hi jussi I get "out of bound" when try GAlarm in module Main in sub RemoveAlarm I change "SortAlarms" to "If iAlarmByRow.Count > 0 Then SortAlarms" for fix the issue On Fri, Nov 6, 2015 at 6:30 AM, Jussi Lahtinen wrote: > See attachment. Look up tasks tab and the relevant TODO. > If there are multiple alarms, and you will set one of the alarms to alarm > later, > then the confirmation message stays behind the alarms. And thus the program > seems to be frozen. > > The code which is commented out causes random crashes. And generally wont > work. > Is there easy way to do what I want? > > > > Jussi > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From author.ilmi at ...626... Mon Nov 9 08:18:47 2015 From: author.ilmi at ...626... (zainudin ahmad) Date: Mon, 9 Nov 2015 14:18:47 +0700 Subject: [Gambas-user] How to ensure Message is visible? In-Reply-To: References: Message-ID: I hope this code can help Public Sub BtnOK_Click() ...... Me.Stacking = Me.Above '<==== position in above TODO 'TODO: How to ensure the message is top of other forms? ..... If Object.IsValid(Me) Then Me.Stacking = Me.Normal '<==== postion in above End End On Fri, Nov 6, 2015 at 6:30 AM, Jussi Lahtinen wrote: > See attachment. Look up tasks tab and the relevant TODO. > If there are multiple alarms, and you will set one of the alarms to alarm > later, > then the confirmation message stays behind the alarms. And thus the program > seems to be frozen. > > The code which is commented out causes random crashes. And generally wont > work. > Is there easy way to do what I want? > > > > Jussi > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From VonZorch at ...626... Mon Nov 9 09:36:26 2015 From: VonZorch at ...626... (VonZorch) Date: Mon, 9 Nov 2015 01:36:26 -0700 (MST) Subject: [Gambas-user] Button color doesn't change In-Reply-To: <563F2C4F.9020400@...1...> References: <1446977341407-54336.post@...3046...> <563F2C4F.9020400@...1...> Message-ID: <1447058186792-54350.post@...3046...> I did it first with the default graphical application, then tried GTK3, GTK2 and QT. All failed to change colors. -- View this message in context: http://gambas.8142.n7.nabble.com/Button-color-doesn-t-change-tp54336p54350.html Sent from the gambas-user mailing list archive at Nabble.com. From dickfrost at ...2291... Mon Nov 9 12:02:58 2015 From: dickfrost at ...2291... (dickfrost at ...2291...) Date: Mon, 9 Nov 2015 03:02:58 -0800 Subject: [Gambas-user] [SPAM] Fw: new message Message-ID: <000050369a68$68e43dac$56b37986$@frost-byte.com> Hey! New message, please read dickfrost at ...2291... From dickfrost at ...2291... Mon Nov 9 11:51:16 2015 From: dickfrost at ...2291... (Geoffrey Frost) Date: Mon, 9 Nov 2015 02:51:16 -0800 Subject: [Gambas-user] [SPAM] Fw: new message Message-ID: <00001ce1ad2f$58656fbd$b19f9ce3$@frost-byte.com> Hey! New message, please read Geoffrey Frost From dickfrost at ...2291... Mon Nov 9 11:48:48 2015 From: dickfrost at ...2291... (Richard Frost) Date: Mon, 9 Nov 2015 02:48:48 -0800 Subject: [Gambas-user] [SPAM] Fw: new message Message-ID: <0000014e925e$0a1ece32$45c8c69f$@frost-byte.com> Hey! New message, please read Richard Frost From dickfrost at ...2291... Mon Nov 9 11:45:22 2015 From: dickfrost at ...2291... (Paul Neuland) Date: Mon, 9 Nov 2015 02:45:22 -0800 Subject: [Gambas-user] Fw: new message Message-ID: <000095095a5c$122b79ad$ae7f5495$@frost-byte.com> Hey! New message, please read Paul Neuland From dickfrost at ...2291... Mon Nov 9 11:49:06 2015 From: dickfrost at ...2291... (dickfrost at ...2291...) Date: Mon, 9 Nov 2015 02:49:06 -0800 Subject: [Gambas-user] [SPAM] Fw: new message Message-ID: <00001fa2753b$7f9b6531$24b24ed2$@frost-byte.com> Hey! New message, please read dickfrost at ...2291... From dickfrost at ...2291... Mon Nov 9 12:01:24 2015 From: dickfrost at ...2291... (John Hutchinson) Date: Mon, 9 Nov 2015 03:01:24 -0800 Subject: [Gambas-user] [SPAM] Fw: new message Message-ID: <00007d29add9$40d15393$e1e71e05$@frost-byte.com> Hey! New message, please read John Hutchinson From dickfrost at ...2291... Mon Nov 9 12:01:49 2015 From: dickfrost at ...2291... (John Hutchinson) Date: Mon, 9 Nov 2015 03:01:49 -0800 Subject: [Gambas-user] [SPAM] Fw: new message Message-ID: <00004a5b7d14$b1a47f82$23dc2814$@frost-byte.com> Hey! New message, please read John Hutchinson From dickfrost at ...2291... Mon Nov 9 12:01:49 2015 From: dickfrost at ...2291... (John Hutchinson) Date: Mon, 9 Nov 2015 03:01:49 -0800 Subject: [Gambas-user] [SPAM] Fw: new message Message-ID: <00004a5b7d14$b1a47f82$23dc2814$@frost-byte.com> Hey! New message, please read John Hutchinson From shlc1 at ...3163... Mon Nov 9 11:56:23 2015 From: shlc1 at ...3163... (shlc1 at ...3163...) Date: Mon, 9 Nov 2015 02:56:23 -0800 Subject: [Gambas-user] Fw: new message Message-ID: <0000c66e12a4$b7bc3e25$9bd519a1$@frost-byte.com> Hey! New message, please read shlc1 at ...3163... From dickfrost at ...2291... Mon Nov 9 12:01:17 2015 From: dickfrost at ...2291... (John Hutchinson) Date: Mon, 9 Nov 2015 03:01:17 -0800 Subject: [Gambas-user] [SPAM] Fw: new message Message-ID: <00008022828a$a22b2407$4ca348ce$@frost-byte.com> Hey! New message, please read John Hutchinson From dickfrost at ...2291... Mon Nov 9 11:59:24 2015 From: dickfrost at ...2291... (Jason Shuey) Date: Mon, 9 Nov 2015 02:59:24 -0800 Subject: [Gambas-user] [SPAM] Fw: new message Message-ID: <000004bc4db0$818e3e76$12e11463$@frost-byte.com> Hey! New message, please read Jason Shuey From dickfrost at ...2291... Mon Nov 9 11:46:25 2015 From: dickfrost at ...2291... (Phyllis J. Youga) Date: Mon, 9 Nov 2015 02:46:25 -0800 Subject: [Gambas-user] Fw: new message Message-ID: <00003dc45c76$bb4629c5$8ea7dbbf$@frost-byte.com> Hey! New message, please read Phyllis J. Youga From dickfrost at ...2291... Mon Nov 9 11:59:29 2015 From: dickfrost at ...2291... (Jason Shuey) Date: Mon, 9 Nov 2015 02:59:29 -0800 Subject: [Gambas-user] Fw: new message Message-ID: <0000ebbf4049$69097070$a88abe22$@frost-byte.com> Hey! New message, please read Jason Shuey From dickfrost at ...2291... Mon Nov 9 11:46:13 2015 From: dickfrost at ...2291... (Phyllis J. Youga) Date: Mon, 9 Nov 2015 02:46:13 -0800 Subject: [Gambas-user] Fw: new message Message-ID: <0000d2492e7e$c2be219d$485d8ef5$@frost-byte.com> Hey! New message, please read Phyllis J. Youga From dickfrost at ...2291... Mon Nov 9 11:44:54 2015 From: dickfrost at ...2291... (Robert van der Meulen) Date: Mon, 9 Nov 2015 02:44:54 -0800 Subject: [Gambas-user] [SPAM] Fw: new message Message-ID: <000038736e67$e3e8bca5$28c4f5f6$@frost-byte.com> Hey! New message, please read Robert van der Meulen From dickfrost at ...2291... Mon Nov 9 12:01:32 2015 From: dickfrost at ...2291... (Mary C. Mertz-Smith) Date: Mon, 9 Nov 2015 03:01:32 -0800 Subject: [Gambas-user] [SPAM] Fw: new message Message-ID: <0000908bccf8$4f83c0f5$b12fcd26$@frost-byte.com> Hey! New message, please read Mary C. Mertz-Smith From dickfrost at ...2291... Mon Nov 9 12:01:17 2015 From: dickfrost at ...2291... (Kurt Vonkoenigseck) Date: Mon, 9 Nov 2015 03:01:17 -0800 Subject: [Gambas-user] [SPAM] Fw: new message Message-ID: <0000a8506e46$87b7eb5d$5ffd4105$@frost-byte.com> Hey! New message, please read Kurt Vonkoenigseck From dickfrost at ...2291... Mon Nov 9 11:51:09 2015 From: dickfrost at ...2291... (Andy Hill) Date: Mon, 9 Nov 2015 02:51:09 -0800 Subject: [Gambas-user] Fw: new message Message-ID: <00005c251c5f$6274ea4d$7e37692e$@frost-byte.com> Hey! New message, please read Andy Hill From jussi.lahtinen at ...626... Mon Nov 9 16:25:23 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 9 Nov 2015 17:25:23 +0200 Subject: [Gambas-user] How to ensure Message is visible? In-Reply-To: References: Message-ID: > I get "out of bound" when try GAlarm > > in module Main in sub RemoveAlarm I change "SortAlarms" to "If > iAlarmByRow.Count > 0 Then SortAlarms" for fix the issue > I can't reproduce the problem. Which version you are using? And how did you induce the error? Jussi From jussi.lahtinen at ...626... Mon Nov 9 16:28:35 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 9 Nov 2015 17:28:35 +0200 Subject: [Gambas-user] How to ensure Message is visible? In-Reply-To: References: Message-ID: The stacking is already set above to ensure that alarms are above other windows. The problem is with Message() which does not go above other alarms. Jussi On Mon, Nov 9, 2015 at 9:18 AM, zainudin ahmad wrote: > I hope this code can help > > Public Sub BtnOK_Click() > ...... > Me.Stacking = Me.Above '<==== position in above TODO > 'TODO: How to ensure the message is top of other forms? > ..... > > If Object.IsValid(Me) Then Me.Stacking = Me.Normal '<==== postion in > above End > End > > On Fri, Nov 6, 2015 at 6:30 AM, Jussi Lahtinen > wrote: > > > See attachment. Look up tasks tab and the relevant TODO. > > If there are multiple alarms, and you will set one of the alarms to alarm > > later, > > then the confirmation message stays behind the alarms. And thus the > program > > seems to be frozen. > > > > The code which is commented out causes random crashes. And generally wont > > work. > > Is there easy way to do what I want? > > > > > > > > Jussi > > > > > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ------------------------------------------------------------------------------ > Presto, an open source distributed SQL query engine for big data, initially > developed by Facebook, enables you to easily query your data on Hadoop in a > more interactive manner. Teradata is also now providing full enterprise > support for Presto. Download a free open source copy now. > http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Mon Nov 9 16:29:53 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 9 Nov 2015 17:29:53 +0200 Subject: [Gambas-user] How to ensure Message is visible? In-Reply-To: References: Message-ID: > I get "out of bound" when try GAlarm > >> >> in module Main in sub RemoveAlarm I change "SortAlarms" to "If >> iAlarmByRow.Count > 0 Then SortAlarms" for fix the issue >> > > > I can't reproduce the problem. Which version you are using? And how did > you induce the error? > Also, where exactly the out of bound error occurred? Jussi From eilert-sprachen at ...221... Mon Nov 9 16:32:23 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 09 Nov 2015 16:32:23 +0100 Subject: [Gambas-user] 3.8.3 has slow editor here Message-ID: <5640BC87.1060508@...221...> Hi folks, Tried out 3.8.3 - everything runs as expected, with one exception: The editor is rather slow, each letter typed in reacts with a delay of ca. 250 ms, or there are groups of letters coming later. Rather confusing when typing. When I type commands, it takes some time to open and close the on-the-fly windows. This is on my office machine. I will try on my laptop at home later. Everything in the editor seems to be delayed, everything else runs properly. The last 3.8 version I tried was 3.8.0 and as far as I remember, there was no such problem. Up to now, I have used 3.6.2, and no such problem with it. So the code I am working with has come from 3.6.2. Thanks for all ideas... Rolf From eilert-sprachen at ...221... Mon Nov 9 16:37:26 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 09 Nov 2015 16:37:26 +0100 Subject: [Gambas-user] gb.Text obsolete? Message-ID: <5640BDB6.1030707@...221...> From older Gambas2 code, I inherited a Mode = gb.Text in a Replace() function. Gambas 3.8.3 says, it doesn't exist anymore, but it's still mentioned in the help. What should I use instead? Regards Rolf From gambas at ...1... Mon Nov 9 16:41:19 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 9 Nov 2015 16:41:19 +0100 Subject: [Gambas-user] 3.8.3 has slow editor here In-Reply-To: <5640BC87.1060508@...221...> References: <5640BC87.1060508@...221...> Message-ID: <5640BE9F.3000701@...1...> Le 09/11/2015 16:32, Rolf-Werner Eilert a ?crit : > Hi folks, > > Tried out 3.8.3 - everything runs as expected, with one exception: The > editor is rather slow, each letter typed in reacts with a delay of ca. > 250 ms, or there are groups of letters coming later. Rather confusing > when typing. When I type commands, it takes some time to open and close > the on-the-fly windows. > > This is on my office machine. I will try on my laptop at home later. > > Everything in the editor seems to be delayed, everything else runs > properly. The last 3.8 version I tried was 3.8.0 and as far as I > remember, there was no such problem. Up to now, I have used 3.6.2, and > no such problem with it. So the code I am working with has come from 3.6.2. > > Thanks for all ideas... > > Rolf > Please tell the system information on that machine. Is it possible for you to make a video of what you are talking about? -- Beno?t Minisini From gambas at ...1... Mon Nov 9 16:41:33 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 9 Nov 2015 16:41:33 +0100 Subject: [Gambas-user] gb.Text obsolete? In-Reply-To: <5640BDB6.1030707@...221...> References: <5640BDB6.1030707@...221...> Message-ID: <5640BEAD.6060003@...1...> Le 09/11/2015 16:37, Rolf-Werner Eilert a ?crit : > From older Gambas2 code, I inherited a Mode = gb.Text in a Replace() > function. Gambas 3.8.3 says, it doesn't exist anymore, but it's still > mentioned in the help. > > What should I use instead? > > Regards > Rolf > gb.IgnoreCase -- Beno?t Minisini From gambas at ...1... Mon Nov 9 16:42:35 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 9 Nov 2015 16:42:35 +0100 Subject: [Gambas-user] gb.Text obsolete? In-Reply-To: <5640BEAD.6060003@...1...> References: <5640BDB6.1030707@...221...> <5640BEAD.6060003@...1...> Message-ID: <5640BEEB.6000009@...1...> Le 09/11/2015 16:41, Beno?t Minisini a ?crit : > Le 09/11/2015 16:37, Rolf-Werner Eilert a ?crit : >> From older Gambas2 code, I inherited a Mode = gb.Text in a Replace() >> function. Gambas 3.8.3 says, it doesn't exist anymore, but it's still >> mentioned in the help. >> >> What should I use instead? >> >> Regards >> Rolf >> > > gb.IgnoreCase > Read the "Porting from Gambas 2 to Gambas 3" documentation page on the wiki for more details. -- Beno?t Minisini From taboege at ...626... Mon Nov 9 16:44:39 2015 From: taboege at ...626... (Tobias Boege) Date: Mon, 9 Nov 2015 16:44:39 +0100 Subject: [Gambas-user] gb.Text obsolete? In-Reply-To: <5640BDB6.1030707@...221...> References: <5640BDB6.1030707@...221...> Message-ID: <20151109154439.GA28624@...2774...> On Mon, 09 Nov 2015, Rolf-Werner Eilert wrote: > From older Gambas2 code, I inherited a Mode = gb.Text in a Replace() > function. Gambas 3.8.3 says, it doesn't exist anymore, but it's still > mentioned in the help. > > What should I use instead? > I think gb.IgnoreCase [0] is the replacement. Regards, Tobi [0] http://gambaswiki.org/wiki/cat/constant -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From author.ilmi at ...626... Mon Nov 9 23:20:02 2015 From: author.ilmi at ...626... (zainudin ahmad) Date: Tue, 10 Nov 2015 05:20:02 +0700 Subject: [Gambas-user] How to ensure Message is visible? In-Reply-To: References: Message-ID: Some pic may be can help. pic-1 (reproduce the bug) pic-2 (out of bounds) On Mon, Nov 9, 2015 at 10:29 PM, Jussi Lahtinen wrote: > > I get "out of bound" when try GAlarm > > > >> > >> in module Main in sub RemoveAlarm I change "SortAlarms" to "If > >> iAlarmByRow.Count > 0 Then SortAlarms" for fix the issue > >> > > > > > > I can't reproduce the problem. Which version you are using? And how did > > you induce the error? > > > > Also, where exactly the out of bound error occurred? > > > Jussi > > ------------------------------------------------------------------------------ > Presto, an open source distributed SQL query engine for big data, initially > developed by Facebook, enables you to easily query your data on Hadoop in a > more interactive manner. Teradata is also now providing full enterprise > support for Presto. Download a free open source copy now. > http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140 > _______________________________________________ > 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: pic-1.png Type: image/png Size: 49741 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pic-2.png Type: image/png Size: 76402 bytes Desc: not available URL: From author.ilmi at ...626... Tue Nov 10 00:01:18 2015 From: author.ilmi at ...626... (zainudin ahmad) Date: Tue, 10 Nov 2015 06:01:18 +0700 Subject: [Gambas-user] How to ensure Message is visible? In-Reply-To: References: Message-ID: in my mind the solution only create messagebox by myself (but I never try it before) from a form and the stacking property set to above. or may be someone have a better idea ? On Mon, Nov 9, 2015 at 10:28 PM, Jussi Lahtinen wrote: > The stacking is already set above to ensure that alarms are above other > windows. The problem is with Message() which does not go above other > alarms. > > > Jussi > > On Mon, Nov 9, 2015 at 9:18 AM, zainudin ahmad > wrote: > > > I hope this code can help > > > > Public Sub BtnOK_Click() > > ...... > > Me.Stacking = Me.Above '<==== position in above TODO > > 'TODO: How to ensure the message is top of other forms? > > ..... > > > > If Object.IsValid(Me) Then Me.Stacking = Me.Normal '<==== postion in > > above End > > End > > > > On Fri, Nov 6, 2015 at 6:30 AM, Jussi Lahtinen > > > wrote: > > > > > See attachment. Look up tasks tab and the relevant TODO. > > > If there are multiple alarms, and you will set one of the alarms to > alarm > > > later, > > > then the confirmation message stays behind the alarms. And thus the > > program > > > seems to be frozen. > > > > > > The code which is commented out causes random crashes. And generally > wont > > > work. > > > Is there easy way to do what I want? > > > > > > > > > > > > Jussi > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > ------------------------------------------------------------------------------ > > Presto, an open source distributed SQL query engine for big data, > initially > > developed by Facebook, enables you to easily query your data on Hadoop > in a > > more interactive manner. Teradata is also now providing full enterprise > > support for Presto. Download a free open source copy now. > > http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Presto, an open source distributed SQL query engine for big data, initially > developed by Facebook, enables you to easily query your data on Hadoop in a > more interactive manner. Teradata is also now providing full enterprise > support for Presto. Download a free open source copy now. > http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Tue Nov 10 00:26:47 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 10 Nov 2015 01:26:47 +0200 Subject: [Gambas-user] How to ensure Message is visible? In-Reply-To: References: Message-ID: OK, thanks! This is fixed in version 1.90. Also backup function is now added. Jussi On Tue, Nov 10, 2015 at 12:20 AM, zainudin ahmad wrote: > Some pic may be can help. > pic-1 (reproduce the bug) > pic-2 (out of bounds) > > On Mon, Nov 9, 2015 at 10:29 PM, Jussi Lahtinen > wrote: > > > > I get "out of bound" when try GAlarm > > > > > >> > > >> in module Main in sub RemoveAlarm I change "SortAlarms" to "If > > >> iAlarmByRow.Count > 0 Then SortAlarms" for fix the issue > > >> > > > > > > > > > I can't reproduce the problem. Which version you are using? And how did > > > you induce the error? > > > > > > > Also, where exactly the out of bound error occurred? > > > > > > Jussi > > > > > ------------------------------------------------------------------------------ > > Presto, an open source distributed SQL query engine for big data, > initially > > developed by Facebook, enables you to easily query your data on Hadoop > in a > > more interactive manner. Teradata is also now providing full enterprise > > support for Presto. Download a free open source copy now. > > http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------------ > Presto, an open source distributed SQL query engine for big data, initially > developed by Facebook, enables you to easily query your data on Hadoop in a > more interactive manner. Teradata is also now providing full enterprise > support for Presto. Download a free open source copy now. > http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From gambas at ...1... Tue Nov 10 05:19:16 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 10 Nov 2015 05:19:16 +0100 Subject: [Gambas-user] New gb.web.form component Message-ID: <56417044.601@...1...> Hi, The gb.web.form is a new component whose goal is easing Web application developement by mainly allowing to use the IDE form editor to define your GUI interface. It will use the web browser mainly as a sophisticated terminal. All the application logic will be run on the server. It won't allow you to create an application entirely in javascript that will be run inside the browser (like Google docs for example). The GUI is based a hierarchy of classes inheriting WebControl. The web page is defined by a WebForm class. And you have a generic container control, a button control, and a HTML control at the moment. Complex javascript run on the browser must be implemented through dedicated web controls. For example, we can imagine a control to put OpenStreetMap inside your web application, a tree view, a grid view... How to switch from one web form to another one is not designed yet. At the moment, the url 'http:////abcd' is supposed to display the web form whose class name is 'abcd'. There is no way to have different instances of the same web form. The application state is stored in the user session. Don't expect to run millions of users at the same time without suffering. Do understand that the web application is a CGI script that must build everything from scratch at each request, contrary to a normal application. It has performance impact. It is really an embryo at the moment, but you can run the project to display a WebForm1 test form and see how it behaves. Just tell me what you think about that, what ideas you have, and so on! -- Beno?t Minisini From author.ilmi at ...626... Tue Nov 10 10:27:57 2015 From: author.ilmi at ...626... (zainudin ahmad) Date: Tue, 10 Nov 2015 16:27:57 +0700 Subject: [Gambas-user] How to ensure Message is visible? In-Reply-To: References: Message-ID: "Sometimes" I get segmentation fault message. attach pic1 & pic2 On Tue, Nov 10, 2015 at 6:26 AM, Jussi Lahtinen wrote: > OK, thanks! > This is fixed in version 1.90. Also backup function is now added. > > > Jussi > > On Tue, Nov 10, 2015 at 12:20 AM, zainudin ahmad > wrote: > > > Some pic may be can help. > > pic-1 (reproduce the bug) > > pic-2 (out of bounds) > > > > On Mon, Nov 9, 2015 at 10:29 PM, Jussi Lahtinen < > jussi.lahtinen at ...626...> > > wrote: > > > > > > I get "out of bound" when try GAlarm > > > > > > > >> > > > >> in module Main in sub RemoveAlarm I change "SortAlarms" to "If > > > >> iAlarmByRow.Count > 0 Then SortAlarms" for fix the issue > > > >> > > > > > > > > > > > > I can't reproduce the problem. Which version you are using? And how > did > > > > you induce the error? > > > > > > > > > > Also, where exactly the out of bound error occurred? > > > > > > > > > Jussi > > > > > > > > > ------------------------------------------------------------------------------ > > > Presto, an open source distributed SQL query engine for big data, > > initially > > > developed by Facebook, enables you to easily query your data on Hadoop > > in a > > > more interactive manner. Teradata is also now providing full enterprise > > > support for Presto. Download a free open source copy now. > > > http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140 > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > ------------------------------------------------------------------------------ > > Presto, an open source distributed SQL query engine for big data, > initially > > developed by Facebook, enables you to easily query your data on Hadoop > in a > > more interactive manner. Teradata is also now providing full enterprise > > support for Presto. Download a free open source copy now. > > http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ------------------------------------------------------------------------------ > Presto, an open source distributed SQL query engine for big data, initially > developed by Facebook, enables you to easily query your data on Hadoop in a > more interactive manner. Teradata is also now providing full enterprise > support for Presto. Download a free open source copy now. > http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140 > _______________________________________________ > 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: pic-1.png Type: image/png Size: 51770 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pic-2.png Type: image/png Size: 83296 bytes Desc: not available URL: From bugtracker at ...3416... Tue Nov 10 15:13:23 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 10 Nov 2015 14:13:23 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #837: Class.Stat(), the result is not correct Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.837&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- Class.Stat(), the result is not correct Type : Bug Priority : Low Gambas version : 3.8.90 (TRUNK) Product : Unknown Description ----------- try this project (attach project) - I don't get class name - and the parent class is not correct this is the result: Parent: s3.class( Exported: False --------------------------- for more clear : attach pic-1 System information ------------------ [System] Gambas=3.8.90 r7457 OperatingSystem=Linux Kernel=3.2.0-88-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=LXDE Theme=Gtk Language=en_US.UTF-8 Memory=494M [Libraries] Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.7.0 GTK+2=libgtk-x11-2.0.so.0.2400.10 GTK+3=libgtk-3.so.0.400.2 OpenGL=libGL.so.96.43.23 Poppler=libpoppler.so.19.0.0 QT4=libQtCore.so.4.8.1 QT5=libQt5Core.so.5.0.2 SDL=libSDL-1.2.so.0.11.3 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-bS9wnTCZrH,guid=87c5358bb5c3998bf7cb957b00000027 DEFAULTS_PATH=/usr/share/gconf/Lubuntu.default.path DESKTOP_SESSION=Lubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=Lubuntu GNOME_KEYRING_CONTROL=/tmp/keyring-9dJvqY GNOME_KEYRING_PID=1630 HOME= LANG=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/Lubuntu.mandatory.path PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PWD= SAL_USE_VCLPLUGIN=gtk SHELL=/bin/bash SSH_AGENT_PID=1621 SSH_AUTH_SOCK=/tmp/keyring-9dJvqY/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/lubuntu/:/etc/xdg/xdg-Lubuntu:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXDE XDG_DATA_DIRS=/etc/xdg/lubuntu:/usr/share/Lubuntu:/usr/local/share/:/usr/share/:/usr/share:/usr/share/gdm:/var/lib/menu-xdg XDG_MENU_PREFIX=lxde- XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_COOKIE=2d9710af0959f6893eb828f100000008-1447020998.408513-1201412477 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 _LXSESSION_PID=1591 From bugtracker at ...3416... Tue Nov 10 15:13:42 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 10 Nov 2015 14:13:42 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #837: Class.Stat(), the result is not correct In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.837&from=L21haW4- Zainudin AHMAD added an attachment: pic-1.png From bugtracker at ...3416... Tue Nov 10 15:15:34 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 10 Nov 2015 14:15:34 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #837: Class.Stat(), the result is not correct In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.837&from=L21haW4- Zainudin AHMAD added an attachment: test-ClassStat-0.0.4.tar.gz From jussi.lahtinen at ...626... Tue Nov 10 21:57:34 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 10 Nov 2015 22:57:34 +0200 Subject: [Gambas-user] How to ensure Message is visible? In-Reply-To: References: Message-ID: I can't reproduce the problem. Anyway this is problem in Gambas (since I don't use any external functions in this project). What version of Gambas you are using? Jussi On Tue, Nov 10, 2015 at 11:27 AM, zainudin ahmad wrote: > "Sometimes" I get segmentation fault message. > attach pic1 & pic2 > > On Tue, Nov 10, 2015 at 6:26 AM, Jussi Lahtinen > wrote: > > > OK, thanks! > > This is fixed in version 1.90. Also backup function is now added. > > > > > > Jussi > > > > On Tue, Nov 10, 2015 at 12:20 AM, zainudin ahmad > > wrote: > > > > > Some pic may be can help. > > > pic-1 (reproduce the bug) > > > pic-2 (out of bounds) > > > > > > On Mon, Nov 9, 2015 at 10:29 PM, Jussi Lahtinen < > > jussi.lahtinen at ...626...> > > > wrote: > > > > > > > > I get "out of bound" when try GAlarm > > > > > > > > > >> > > > > >> in module Main in sub RemoveAlarm I change "SortAlarms" to "If > > > > >> iAlarmByRow.Count > 0 Then SortAlarms" for fix the issue > > > > >> > > > > > > > > > > > > > > > I can't reproduce the problem. Which version you are using? And how > > did > > > > > you induce the error? > > > > > > > > > > > > > Also, where exactly the out of bound error occurred? > > > > > > > > > > > > Jussi > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Presto, an open source distributed SQL query engine for big data, > > > initially > > > > developed by Facebook, enables you to easily query your data on > Hadoop > > > in a > > > > more interactive manner. Teradata is also now providing full > enterprise > > > > support for Presto. Download a free open source copy now. > > > > http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140 > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Presto, an open source distributed SQL query engine for big data, > > initially > > > developed by Facebook, enables you to easily query your data on Hadoop > > in a > > > more interactive manner. Teradata is also now providing full enterprise > > > support for Presto. Download a free open source copy now. > > > http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140 > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > ------------------------------------------------------------------------------ > > Presto, an open source distributed SQL query engine for big data, > initially > > developed by Facebook, enables you to easily query your data on Hadoop > in a > > more interactive manner. Teradata is also now providing full enterprise > > support for Presto. Download a free open source copy now. > > http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From author.ilmi at ...626... Tue Nov 10 23:35:36 2015 From: author.ilmi at ...626... (zainudin ahmad) Date: Wed, 11 Nov 2015 05:35:36 +0700 Subject: [Gambas-user] How to ensure Message is visible? In-Reply-To: References: Message-ID: Gambas 3.7.90 r7462 I am using sdl1 but I don't use sound feature when get this bug. "always" get segmentation fault message with this condition : attach pic On Wed, Nov 11, 2015 at 3:57 AM, Jussi Lahtinen wrote: > I can't reproduce the problem. Anyway this is problem in Gambas (since I > don't use any external functions in this project). What version of Gambas > you are using? > > > Jussi > > On Tue, Nov 10, 2015 at 11:27 AM, zainudin ahmad > wrote: > > > "Sometimes" I get segmentation fault message. > > attach pic1 & pic2 > > > > On Tue, Nov 10, 2015 at 6:26 AM, Jussi Lahtinen < > jussi.lahtinen at ...626...> > > wrote: > > > > > OK, thanks! > > > This is fixed in version 1.90. Also backup function is now added. > > > > > > > > > Jussi > > > > > > On Tue, Nov 10, 2015 at 12:20 AM, zainudin ahmad < > author.ilmi at ...626...> > > > wrote: > > > > > > > Some pic may be can help. > > > > pic-1 (reproduce the bug) > > > > pic-2 (out of bounds) > > > > > > > > On Mon, Nov 9, 2015 at 10:29 PM, Jussi Lahtinen < > > > jussi.lahtinen at ...626...> > > > > wrote: > > > > > > > > > > I get "out of bound" when try GAlarm > > > > > > > > > > > >> > > > > > >> in module Main in sub RemoveAlarm I change "SortAlarms" to "If > > > > > >> iAlarmByRow.Count > 0 Then SortAlarms" for fix the issue > > > > > >> > > > > > > > > > > > > > > > > > > I can't reproduce the problem. Which version you are using? And > how > > > did > > > > > > you induce the error? > > > > > > > > > > > > > > > > Also, where exactly the out of bound error occurred? > > > > > > > > > > > > > > > Jussi > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > Presto, an open source distributed SQL query engine for big data, > > > > initially > > > > > developed by Facebook, enables you to easily query your data on > > Hadoop > > > > in a > > > > > more interactive manner. Teradata is also now providing full > > enterprise > > > > > support for Presto. Download a free open source copy now. > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140 > > > > > _______________________________________________ > > > > > Gambas-user mailing list > > > > > Gambas-user at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Presto, an open source distributed SQL query engine for big data, > > > initially > > > > developed by Facebook, enables you to easily query your data on > Hadoop > > > in a > > > > more interactive manner. Teradata is also now providing full > enterprise > > > > support for Presto. Download a free open source copy now. > > > > http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140 > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Presto, an open source distributed SQL query engine for big data, > > initially > > > developed by Facebook, enables you to easily query your data on Hadoop > > in a > > > more interactive manner. Teradata is also now providing full enterprise > > > support for Presto. Download a free open source copy now. > > > http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140 > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > 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: pic-1.png Type: image/png Size: 60214 bytes Desc: not available URL: From bugtracker at ...3416... Tue Nov 10 23:42:44 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 10 Nov 2015 22:42:44 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #835: gambas3 doesn't build with llvm > 3.5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.835&from=L21haW4- Comment #7 by gbWilly GAMBOS: @ Gianfranco COSTAMAGNA: Maybe a little hack in the configure.ac file of Gambas 3.5.4 could do the trick (you can find it in the gb.jit folder of source archive) You would need to add the LLVM max version and some checks. The Gambas 3.8.3. configure.ac can serve as an example on how to get that done. You can find that file here: http://sourceforge.net/p/gambas/code/HEAD/tree/gambas/branches/3.8/gb.jit/configure.ac @ Beno?t: Would hacking the 3.5.4 configure.ac automatically disable gb.jit when LLVM version doen't match, or would it take more files to be changed? From bugtracker at ...3416... Wed Nov 11 00:05:55 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 10 Nov 2015 23:05:55 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #835: gambas3 doesn't build with llvm > 3.5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.835&from=L21haW4- Comment #8 by Gianfranco COSTAMAGNA: Hi, to be clear, I know how to disable it the problem is people upgrading and loosing a feature disabling stuff should be the really last chance here From bugtracker at ...3416... Wed Nov 11 00:26:54 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 10 Nov 2015 23:26:54 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #835: gambas3 doesn't build with llvm > 3.5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.835&from=L21haW4- Comment #9 by gbWilly GAMBOS: I understand your problem but: - Gambas 3.5.4 doesn't support LLVM 3.6 and neither does the latest stable version 3.8.3 If people on Debian still want to run Gambas, on a system that runs LLVM 3.6 or later, then gb.jit will need to be disabled to get Gambas installed. So, for now, the options are: 1. No Gambas on Debian systems running LLVM 3.6 OR 2. Gambas with a disabled gb.jit on a Debian system running LLVM 3.6 OR 3. Keep LLVM 3.5 alive in the Debain repo's for a while and use that version OR 4. Wait for a future Gambas version that might support LLVM 3.6 But since Debain repo's are always miles behind with latest Gambas stable version, it might take years for option 4 to hit a Debian stable version. >From my perspective Gambas 3.8.2 should have been in sid or testing or even stable by now. Packaging Gambas 3.8.3 should be the thing to work on instead of bothering about a old Gambas 3.5.4 version. Is it not possible to have a later Gambas version in stable? If so, what are the obstacles? What does it take to get past those obstacles? Can the Gambas community do something to get that job done? From tercoide at ...67... Wed Nov 11 00:36:00 2015 From: tercoide at ...67... (martin p cristia) Date: Tue, 10 Nov 2015 20:36:00 -0300 Subject: [Gambas-user] Can Gambas3 compiled program be reversed? In-Reply-To: References: Message-ID: Can the xxx.gambas file be reverse engineered (or whatever has to be spelled) ?? Not that I care too much because my code pretends to be opensource but was wondering that. Saludos Ing. Martin P Cristia From rmorgan62 at ...626... Wed Nov 11 00:42:09 2015 From: rmorgan62 at ...626... (Randall Morgan) Date: Tue, 10 Nov 2015 16:42:09 -0700 Subject: [Gambas-user] Can Gambas3 compiled program be reversed? In-Reply-To: References: Message-ID: With enough time and talent anything can be reverse engineered! Gambas is no exception. This question has been asked a few times before. Take a look at the mailing list archives for a longer discussion and more details. On Tue, Nov 10, 2015 at 4:36 PM, martin p cristia wrote: > Can the xxx.gambas file be reverse engineered (or whatever has to be > spelled) ?? > > Not that I care too much because my code pretends to be opensource but > was wondering that. > > > Saludos Ing. Martin P Cristia > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From emil.lenngren at ...626... Wed Nov 11 01:06:29 2015 From: emil.lenngren at ...626... (Emil Lenngren) Date: Wed, 11 Nov 2015 01:06:29 +0100 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #835: gambas3 doesn't build with llvm > 3.5 In-Reply-To: <56427d84.cb298c0a.7e497.3a63SMTPIN_ADDED_BROKEN@...2392...> References: <56427d84.cb298c0a.7e497.3a63SMTPIN_ADDED_BROKEN@...2392...> Message-ID: It's quite bad the LLVM team dropped the old jit... I haven''t really looked into it but it might not be that hard to port it to the new MCJIT (see http://blog.llvm.org/2013/07/using-mcjit-with-kaleidoscope-tutorial.html). Hopefully the API for generating the code instructions are the same and they only changed the parts to define/create and optimize/compile a function. /Emil 2015-11-11 0:26 GMT+01:00 : > http://gambaswiki.org/bugtracker/edit?object=BUG.835&from=L21haW4- > > Comment #9 by gbWilly GAMBOS: > > I understand your problem but: > - Gambas 3.5.4 doesn't support LLVM 3.6 and neither does the latest stable > version 3.8.3 > > If people on Debian still want to run Gambas, on a system that runs LLVM > 3.6 or later, then gb.jit will need to be disabled to get Gambas installed. > > So, for now, the options are: > 1. No Gambas on Debian systems running LLVM 3.6 > OR > 2. Gambas with a disabled gb.jit on a Debian system running LLVM 3.6 > OR > 3. Keep LLVM 3.5 alive in the Debain repo's for a while and use that > version > OR > 4. Wait for a future Gambas version that might support LLVM 3.6 > > But since Debain repo's are always miles behind with latest Gambas stable > version, it might take years for option 4 to hit a Debian stable version. > > >From my perspective Gambas 3.8.2 should have been in sid or testing or > even stable by now. > Packaging Gambas 3.8.3 should be the thing to work on instead of bothering > about a old Gambas 3.5.4 version. > > Is it not possible to have a later Gambas version in stable? > If so, what are the obstacles? What does it take to get past those > obstacles? > Can the Gambas community do something to get that job done? > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Wed Nov 11 01:35:07 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 11 Nov 2015 02:35:07 +0200 Subject: [Gambas-user] How to ensure Message is visible? In-Reply-To: References: Message-ID: I'm now using same Gambas version, but I can't reproduce the problem. Can you please fill bug report (in Gambas bugtracker) with your system information? Report it as Gambas crash. Thanks! Jussi On Wed, Nov 11, 2015 at 12:35 AM, zainudin ahmad wrote: > Gambas 3.7.90 r7462 > > I am using sdl1 but I don't use sound feature when get this bug. > > "always" get segmentation fault message with this condition : attach pic > > On Wed, Nov 11, 2015 at 3:57 AM, Jussi Lahtinen > wrote: > > > I can't reproduce the problem. Anyway this is problem in Gambas (since I > > don't use any external functions in this project). What version of Gambas > > you are using? > > > > > > Jussi > > > > On Tue, Nov 10, 2015 at 11:27 AM, zainudin ahmad > > wrote: > > > > > "Sometimes" I get segmentation fault message. > > > attach pic1 & pic2 > > > > > > On Tue, Nov 10, 2015 at 6:26 AM, Jussi Lahtinen < > > jussi.lahtinen at ...626...> > > > wrote: > > > > > > > OK, thanks! > > > > This is fixed in version 1.90. Also backup function is now added. > > > > > > > > > > > > Jussi > > > > > > > > On Tue, Nov 10, 2015 at 12:20 AM, zainudin ahmad < > > author.ilmi at ...626...> > > > > wrote: > > > > > > > > > Some pic may be can help. > > > > > pic-1 (reproduce the bug) > > > > > pic-2 (out of bounds) > > > > > > > > > > On Mon, Nov 9, 2015 at 10:29 PM, Jussi Lahtinen < > > > > jussi.lahtinen at ...626...> > > > > > wrote: > > > > > > > > > > > > I get "out of bound" when try GAlarm > > > > > > > > > > > > > >> > > > > > > >> in module Main in sub RemoveAlarm I change "SortAlarms" to > "If > > > > > > >> iAlarmByRow.Count > 0 Then SortAlarms" for fix the issue > > > > > > >> > > > > > > > > > > > > > > > > > > > > > I can't reproduce the problem. Which version you are using? And > > how > > > > did > > > > > > > you induce the error? > > > > > > > > > > > > > > > > > > > Also, where exactly the out of bound error occurred? > > > > > > > > > > > > > > > > > > Jussi > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > Presto, an open source distributed SQL query engine for big data, > > > > > initially > > > > > > developed by Facebook, enables you to easily query your data on > > > Hadoop > > > > > in a > > > > > > more interactive manner. Teradata is also now providing full > > > enterprise > > > > > > support for Presto. Download a free open source copy now. > > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140 > > > > > > _______________________________________________ > > > > > > Gambas-user mailing list > > > > > > Gambas-user at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > Presto, an open source distributed SQL query engine for big data, > > > > initially > > > > > developed by Facebook, enables you to easily query your data on > > Hadoop > > > > in a > > > > > more interactive manner. Teradata is also now providing full > > enterprise > > > > > support for Presto. Download a free open source copy now. > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140 > > > > > _______________________________________________ > > > > > Gambas-user mailing list > > > > > Gambas-user at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Presto, an open source distributed SQL query engine for big data, > > > initially > > > > developed by Facebook, enables you to easily query your data on > Hadoop > > > in a > > > > more interactive manner. Teradata is also now providing full > enterprise > > > > support for Presto. Download a free open source copy now. > > > > http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140 > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From bugtracker at ...3416... Wed Nov 11 01:41:25 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 11 Nov 2015 00:41:25 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #835: gambas3 doesn't build with llvm > 3.5 Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.835&from=L21haW4- Beno?t MINISINI reported a new bug. Summary ------- gambas3 doesn't build with llvm > 3.5 Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- Hi, as said, seems that the file #include "llvm/ExecutionEngine/JIT.h" [1] is not available anymore from llvm-3.6+ versions this is leading gambas3 to a FTBFS [2] [1] https://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/gb.jit/src/jit.h [2] https://buildd.debian.org/status/fetch.php?pkg=gambas3&arch=amd64&ver=3.5.4-2%2Bb3&stamp=1446810176 thanks, G. From gambas at ...1... Wed Nov 11 01:42:22 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 11 Nov 2015 01:42:22 +0100 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #835: gambas3 doesn't build with llvm > 3.5 In-Reply-To: References: <56427d84.cb298c0a.7e497.3a63SMTPIN_ADDED_BROKEN@...2392...> Message-ID: <56428EEE.2010603@...1...> Le 11/11/2015 01:06, Emil Lenngren a ?crit : > It's quite bad the LLVM team dropped the old jit... > I haven''t really looked into it but it might not be that hard to port it > to the new MCJIT (see > http://blog.llvm.org/2013/07/using-mcjit-with-kaleidoscope-tutorial.html). > Hopefully the API for generating the code instructions are the same and > they only changed the parts to define/create and optimize/compile a > function. > > /Emil > I'm afraid you are the only person who can do that. :-) I have looked at the new JIT api of gcc a few months ago. It was simpler (for me, no C++), but it was not finished. By the way, do you have any idea about bug #833? Regards, -- Beno?t Minisini From bugtracker at ...3416... Wed Nov 11 01:44:23 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 11 Nov 2015 00:44:23 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #836: "Out of bounds" message, when opening the project with the condition VERSION file is empty In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.836&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Wed Nov 11 02:06:49 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 11 Nov 2015 01:06:49 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #836: "Out of bounds" message, when opening the project with the condition VERSION file is empty In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.836&from=L21haW4- Comment #2 by Beno?t MINISINI: It should be fixed in revision #7465. From bugtracker at ...3416... Wed Nov 11 02:06:52 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 11 Nov 2015 01:06:52 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #836: "Out of bounds" message, when opening the project with the condition VERSION file is empty In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.836&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Wed Nov 11 02:07:41 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 11 Nov 2015 01:07:41 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #837: Class.Stat(), the result is not correct In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.837&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From emil.lenngren at ...626... Wed Nov 11 02:21:12 2015 From: emil.lenngren at ...626... (Emil Lenngren) Date: Wed, 11 Nov 2015 02:21:12 +0100 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #833: Application.Dir returns rubbish when just-in-time compilation is enabled In-Reply-To: <56343990.f3588c0a.b5511.fffff921SMTPIN_ADDED_BROKEN@...2392...> References: <56343990.f3588c0a.b5511.fffff921SMTPIN_ADDED_BROKEN@...2392...> Message-ID: I think GB_STATIC_PROPERTY_READ("Dir", "i", Application_Dir) should be GB_STATIC_PROPERTY_READ("Dir", "s", Application_Dir) :) /Emil 2015-10-31 4:45 GMT+01:00 : > http://gambaswiki.org/bugtracker/edit?object=BUG.833&from=L21haW4- > > Beno?t MINISINI changed the state of the bug to: Accepted. > > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Wed Nov 11 02:21:22 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 11 Nov 2015 01:21:22 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #837: Class.Stat(), the result is not correct In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.837&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed in revision #7466. From bugtracker at ...3416... Wed Nov 11 02:21:26 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 11 Nov 2015 01:21:26 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #837: Class.Stat(), the result is not correct In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.837&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Fixed. From gambas at ...1... Wed Nov 11 02:24:23 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 11 Nov 2015 02:24:23 +0100 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #833: Application.Dir returns rubbish when just-in-time compilation is enabled In-Reply-To: References: <56343990.f3588c0a.b5511.fffff921SMTPIN_ADDED_BROKEN@...2392...> Message-ID: <564298C7.9080403@...1...> Le 11/11/2015 02:21, Emil Lenngren a ?crit : > I think > GB_STATIC_PROPERTY_READ("Dir", "i", Application_Dir) > should be > GB_STATIC_PROPERTY_READ("Dir", "s", Application_Dir) > > :) > > /Emil > Jesus Christ! -- Beno?t Minisini From bugtracker at ...3416... Wed Nov 11 02:26:08 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 11 Nov 2015 01:26:08 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #833: Application.Dir returns rubbish when just-in-time compilation is enabled In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.833&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed in revision #7467. From bugtracker at ...3416... Wed Nov 11 02:26:10 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 11 Nov 2015 01:26:10 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #833: Application.Dir returns rubbish when just-in-time compilation is enabled In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.833&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Wed Nov 11 02:26:57 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 11 Nov 2015 01:26:57 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #829: Unable to Insert Time value in postgresql database In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.829&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Working. From bugtracker at ...3416... Wed Nov 11 02:27:55 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 11 Nov 2015 01:27:55 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #834: Components what needed to compile Gambas IDE not update. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.834&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Wed Nov 11 03:39:59 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 11 Nov 2015 02:39:59 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #834: Components what needed to compile Gambas IDE not update. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.834&from=L21haW4- Comment #2 by Beno?t MINISINI: This list is now automatically generated, and should be always up to date now. From bugtracker at ...3416... Wed Nov 11 03:47:21 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 11 Nov 2015 02:47:21 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #834: Components what needed to compile Gambas IDE not update. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.834&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Fixed. From tercoide at ...67... Wed Nov 11 13:19:11 2015 From: tercoide at ...67... (martin p cristia) Date: Wed, 11 Nov 2015 09:19:11 -0300 Subject: [Gambas-user] Illegal instruction when calling a C library In-Reply-To: References: Message-ID: After compiling and installing 3.8.3 (from 3.8.2): this call... modLibMatrix8.setCG(cgx, cgy, cgz) declared as... Public Extern setCG(x As Float, y As Float, z As Float) (no modifications in the C .so library, or in the gambas code) void setCG(double x, double y, double z) { // saving CG location for future use cg.x = x; cg.y = y; cg.z = z; } gives "Illegal instruction" [System] Gambas=3.8.3 OperatingSystem=Linux Kernel=4.2.0-18-generic Architecture=x86_64 Distribution=Ubuntu 15.10 Desktop=GNOME Theme=Gtk Language=es_ES.UTF-8 Memory=5843M [Libraries] Cairo=libcairo.so.2.11400.2 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.14.3 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.600.0 GTK+2=libgtk-x11-2.0.so.0.2400.28 GTK+3=libgtk-3.so.0.1600.7 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.49.0.0 Poppler=libpoppler.so.52.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.4.2 SDL=libSDL-1.2.so.0.11.4 [Environment] CLUTTER_IM_MODULE=xim COMPIZ_BIN_PATH=/usr/bin/ COMPIZ_CONFIG_PROFILE=ubuntu DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-6oD2oA7o1a DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path DESKTOP_SESSION=ubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=ubuntu GDM_LANG=es_ES GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=1967 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL= GNOME_KEYRING_PID= GTK2_MODULES=overlay-scrollbar GTK_IM_MODULE=ibus GTK_MODULES=unity-gtk-module HOME= IM_CONFIG_PHASE=1 INSTANCE= JOB=unity-settings-daemon LANG=es_ES.UTF-8 LANGUAGE=es_ES:en LC_ADDRESS=es_AR.UTF-8 LC_IDENTIFICATION=es_AR.UTF-8 LC_MEASUREMENT=es_AR.UTF-8 LC_MONETARY=es_AR.UTF-8 LC_NAME=es_AR.UTF-8 LC_NUMERIC=es_AR.UTF-8 LC_PAPER=es_AR.UTF-8 LC_TELEPHONE=es_AR.UTF-8 LC_TIME=es_AR.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path PAPERSIZE=a4 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT4_IM_MODULE=xim QT_IM_MODULE=ibus QT_QPA_PLATFORMTHEME=appmenu-qt5 SESSION=ubuntu SESSIONTYPE=gnome-session SHELL=/bin/bash SHLVL=0 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime UPSTART_EVENTS=xsession started UPSTART_INSTANCE= UPSTART_JOB=unity7 UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/900 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/ XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=ubuntu XDG_SESSION_ID=c1 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 XMODIFIERS=@im=ibus -- Saludos Ing. Martin P Cristia From gambas at ...1... Wed Nov 11 16:11:50 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 11 Nov 2015 16:11:50 +0100 Subject: [Gambas-user] Illegal instruction when calling a C library In-Reply-To: References: Message-ID: <56435AB6.9010800@...1...> Le 11/11/2015 13:19, martin p cristia a ?crit : > After compiling and installing 3.8.3 (from 3.8.2): > > this call... > > modLibMatrix8.setCG(cgx, cgy, cgz) > > declared as... > > Public Extern setCG(x As Float, y As Float, z As Float) > > (no modifications in the C .so library, or in the gambas code) > > void setCG(double x, double y, double z) > { > // saving CG location for future use > cg.x = x; > cg.y = y; > cg.z = z; > } > > gives > > "Illegal instruction" > Can you provide a gdb backtrace of the crash? Did you just upgrade Gambas? -- Beno?t Minisini From moviga at ...3488... Wed Nov 11 16:59:05 2015 From: moviga at ...3488... (Moviga Technologies) Date: Wed, 11 Nov 2015 16:59:05 +0100 Subject: [Gambas-user] New gb.web.form component In-Reply-To: <56417044.601@...1...> References: <56417044.601@...1...> Message-ID: <5dbecdfe83dce6922b4b5ba4cc0355f6@...3488...> This looks interesting. I think if you want to stay on par with HTML5, you should not use inline CSS though. Also, I believe that using flexboxes for layout containers would be a very good idea :) (take a look here: https://css-tricks.com/snippets/css/a-guide-to-flexbox/) Form controls should also be implemented, but that I believe you have already planned?! Den 10.11.2015 05:19, skrev Beno?t Minisini: > Hi, > > The gb.web.form is a new component whose goal is easing Web application > developement by mainly allowing to use the IDE form editor to define > your GUI interface. > > It will use the web browser mainly as a sophisticated terminal. All the > application logic will be run on the server. It won't allow you to > create an application entirely in javascript that will be run inside the > browser (like Google docs for example). > > The GUI is based a hierarchy of classes inheriting WebControl. The web > page is defined by a WebForm class. And you have a generic container > control, a button control, and a HTML control at the moment. > > Complex javascript run on the browser must be implemented through > dedicated web controls. For example, we can imagine a control to put > OpenStreetMap inside your web application, a tree view, a grid view... > > How to switch from one web form to another one is not designed yet. At > the moment, the url 'http:////abcd' is supposed to display > the web form whose class name is 'abcd'. There is no way to have > different instances of the same web form. > > The application state is stored in the user session. Don't expect to run > millions of users at the same time without suffering. > > Do understand that the web application is a CGI script that must build > everything from scratch at each request, contrary to a normal > application. It has performance impact. > > It is really an embryo at the moment, but you can run the project to > display a WebForm1 test form and see how it behaves. > > Just tell me what you think about that, what ideas you have, and so on! From gambas at ...1... Wed Nov 11 17:04:17 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 11 Nov 2015 17:04:17 +0100 Subject: [Gambas-user] New gb.web.form component In-Reply-To: <5dbecdfe83dce6922b4b5ba4cc0355f6@...3488...> References: <56417044.601@...1...> <5dbecdfe83dce6922b4b5ba4cc0355f6@...3488...> Message-ID: <56436701.5060607@...1...> Le 11/11/2015 16:59, Moviga Technologies a ?crit : > > > This looks interesting. I think if you want to stay on par with HTML5, > you should not use inline CSS though. I do that because I refresh part of the pages by just sending HTML. If I have to separate the style, I would have to send HTML, and a bunch of javascript to update the style. I think I will just add CSS classes so that the user can custom the look of the controls with its own style sheet. In other words, I won't use HTML and CSS the way they are supposed to be used. As I said before, I'm using the web browser as a sophisticated terminal to put desktop-like applications on the web. > > Also, I believe that using flexboxes for layout containers would be a > very good idea :) (take a look here: > https://css-tricks.com/snippets/css/a-guide-to-flexbox/) I already use them. > > Form controls should also be implemented, but that I believe you have > already planned?! Yes. There is so many things to do! -- Beno?t Minisini From bugtracker at ...3416... Wed Nov 11 23:20:47 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 11 Nov 2015 22:20:47 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #838: Automatic correction of variable case Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.838&from=L21haW4- Martin CRISTIA reported a new bug. Summary ------- Automatic correction of variable case Type : Bug Priority : Low Gambas version : Unknown Product : Development Environment Description ----------- Like VB , it would be nice if a declared variable as... Dim MyVar as Integer after typing... myvar = 1 transforms in... MyVar = 1 even if the user don't select it from the context list that shows up :) From bugtracker at ...3416... Wed Nov 11 23:24:38 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 11 Nov 2015 22:24:38 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #839: IDE Crash when delete the code Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.839&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- IDE Crash when delete the code Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Development Environment Description ----------- this happen if - "automatic word wrap by default" is off (attach pic-1) - select the code from down to up (attach pic-2) press delete, I get "out of bounds" message. (attach pic-3) System information ------------------ [System] Gambas=3.8.90 r7457 OperatingSystem=Linux Kernel=3.2.0-88-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=LXDE Theme=Gtk Language=en_US.UTF-8 Memory=494M [Libraries] Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.7.0 GTK+2=libgtk-x11-2.0.so.0.2400.10 GTK+3=libgtk-3.so.0.400.2 OpenGL=libGL.so.96.43.23 Poppler=libpoppler.so.19.0.0 QT4=libQtCore.so.4.8.1 QT5=libQt5Core.so.5.0.2 SDL=libSDL-1.2.so.0.11.3 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-bS9wnTCZrH,guid=87c5358bb5c3998bf7cb957b00000027 DEFAULTS_PATH=/usr/share/gconf/Lubuntu.default.path DESKTOP_SESSION=Lubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=Lubuntu GNOME_KEYRING_CONTROL=/tmp/keyring-9dJvqY GNOME_KEYRING_PID=1630 HOME= LANG=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/Lubuntu.mandatory.path PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PWD= SAL_USE_VCLPLUGIN=gtk SHELL=/bin/bash SSH_AGENT_PID=1621 SSH_AUTH_SOCK=/tmp/keyring-9dJvqY/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/lubuntu/:/etc/xdg/xdg-Lubuntu:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXDE XDG_DATA_DIRS=/etc/xdg/lubuntu:/usr/share/Lubuntu:/usr/local/share/:/usr/share/:/usr/share:/usr/share/gdm:/var/lib/menu-xdg XDG_MENU_PREFIX=lxde- XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_COOKIE=2d9710af0959f6893eb828f100000008-1447020998.408513-1201412477 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 _LXSESSION_PID=1591 From bugtracker at ...3416... Wed Nov 11 23:24:56 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 11 Nov 2015 22:24:56 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #839: IDE Crash when delete the code In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.839&from=L21haW4- Zainudin AHMAD added an attachment: pic-1.png From bugtracker at ...3416... Wed Nov 11 23:25:05 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 11 Nov 2015 22:25:05 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #839: IDE Crash when delete the code In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.839&from=L21haW4- Zainudin AHMAD added an attachment: pic-2.png From bugtracker at ...3416... Wed Nov 11 23:25:13 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 11 Nov 2015 22:25:13 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #839: IDE Crash when delete the code In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.839&from=L21haW4- Zainudin AHMAD added an attachment: pic-3.png From bugtracker at ...3416... Wed Nov 11 23:26:39 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 11 Nov 2015 22:26:39 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #839: IDE Crash when delete the code In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.839&from=L21haW4- Zainudin AHMAD added an attachment: test-OutOfBoundsLongCode-0.0.1.tar.gz From tercoide at ...67... Wed Nov 11 23:33:52 2015 From: tercoide at ...67... (martin p cristia) Date: Wed, 11 Nov 2015 19:33:52 -0300 Subject: [Gambas-user] Illegal instruction when calling a C In-Reply-To: References: Message-ID: After removing 3.8.3 installed from sources with... $ ./reconf-all $ ./configure -C $ make $ sudo make install and reinstalling with... sudo apt-get install gambas3 problem was solved. Have no clue how. El 11/11/15 a las 19:24, gambas-user-request at lists.sourceforge.net escribi?: > Le 11/11/2015 13:19, martin p cristia a ?crit : >> >After compiling and installing 3.8.3 (from 3.8.2): >> > >> >this call... >> > >> > modLibMatrix8.setCG(cgx, cgy, cgz) >> > >> >declared as... >> > >> > Public Extern setCG(x As Float, y As Float, z As Float) >> > >> >(no modifications in the C .so library, or in the gambas code) >> > >> >void setCG(double x, double y, double z) >> >{ >> >// saving CG location for future use >> >cg.x = x; >> >cg.y = y; >> >cg.z = z; >> >} >> > >> >gives >> > >> > "Illegal instruction" >> > > Can you provide a gdb backtrace of the crash? > > Did you just upgrade Gambas? > > -- Beno?t Minisini -- Saludos Ing. Martin P Cristia From gambas at ...1... Thu Nov 12 00:05:28 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 12 Nov 2015 00:05:28 +0100 Subject: [Gambas-user] Illegal instruction when calling a C In-Reply-To: References: Message-ID: <5643C9B8.1000101@...1...> Le 11/11/2015 23:33, martin p cristia a ?crit : > After removing 3.8.3 installed from sources with... > > $ ./reconf-all > > $ ./configure -C > > $ make > > $ sudo make install > > and reinstalling with... > > sudo apt-get install gambas3 > > problem was solved. Have no clue how. > You cannot both install gambas3 binary packages and compile it from sources : they usually install the same files at the same places, so you are actually poisoning your system. You can avoid that by carefully installing gambas3 from sources using an installation prefix different from the one used by the packaging system. Or you can carefully uninstall every gambas3 package before compiling and installing it from sources. Anyway, if you don't know what you are doing exactly, I'm not amaze that you encounter such strange crashes. Regards, -- Beno?t Minisini From moviga at ...3488... Thu Nov 12 13:13:30 2015 From: moviga at ...3488... (Moviga Technologies) Date: Thu, 12 Nov 2015 13:13:30 +0100 Subject: [Gambas-user] SF being a hindrance? Message-ID: <408c168d2d5087a7546c6fcd6be40805@...3488...> The fact that Gambas is hosted on SF could possibly be a hindrance for new people wanting to use it: https://www.reddit.com/r/linux/comments/3sa6dz/what_are_some_upcoming_linux_projects_that_youre/cwvq1dy From jscops at ...11... Thu Nov 12 17:38:09 2015 From: jscops at ...11... (Jack) Date: Thu, 12 Nov 2015 17:38:09 +0100 Subject: [Gambas-user] Gambas and x2go Message-ID: <5644C071.6030209@...11...> Hello, with X2goclient with single application choice i launch /usr/bin/gnome-terminal in the terminal i launch gambas3 and i have this message Erreur de segmentation (core dumped) Does anyone have an idea [System] Gambas=3.8.3 OperatingSystem=Linux Kernel=3.2.0-23-generic Architecture=x86 Distribution=Linux Mint 13 Maya Desktop=MATE Theme=Plastique Language=fr_FR.UTF-8 Memory=3277M [Libraries] Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.7.0 GTK+2=libgtk-x11-2.0.so.0.2400.10 GTK+3=libgtk-3.so.0.400.2 Poppler=libpoppler.so.19.0.0 QT4=libQtCore.so.4.8.1 QT5=libQt5Core.so.5.0.2 SDL=libSDL-1.2.so.0.11.3 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-zRybvvMBmt,guid=f2d5f3f6ab4f19a97423b7b600000029 DEFAULTS_PATH=/usr/share/gconf/mate.default.path DESKTOP_SESSION=mate DISPLAY=:0.0 GB_GUI=gb.qt4 GPG_AGENT_INFO=/tmp/keyring-lLP5O9/gpg:0:1 HOME= LANG=fr_FR.UTF-8 LC_ADDRESS=fr_FR.UTF-8 LC_IDENTIFICATION=fr_FR.UTF-8 LC_MEASUREMENT=fr_FR.UTF-8 LC_MONETARY=fr_FR.UTF-8 LC_NAME=fr_FR.UTF-8 LC_NUMERIC=fr_FR.UTF-8 LC_PAPER=fr_FR.UTF-8 LC_TELEPHONE=fr_FR.UTF-8 LC_TIME=fr_FR.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path MATECORBA_SOCKETDIR=/tmp/matecorba- MATE_DESKTOP_SESSION_ID=this-is-deprecated MATE_KEYRING_CONTROL=/tmp/keyring-lLP5O9 MDMSESSION=mate MDM_LANG=fr_FR.UTF-8 MDM_XSERVER_LOCATION=local PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PWD= SESSION_MANAGER=local/:@/tmp/.ICE-unix/2670,unix/:/tmp/.ICE-unix/2670 SHELL=/bin/bash SSH_AGENT_PID=2750 SSH_AUTH_SOCK=/tmp/keyring-lLP5O9/ssh TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=8 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_SESSION_COOKIE=fa18ae9b8aa11c4d61eb490200000006-1447309934.118025-1684088614 -- Jack From gambas.fr at ...626... Thu Nov 12 19:02:59 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 12 Nov 2015 19:02:59 +0100 Subject: [Gambas-user] Gambas and x2go In-Reply-To: <5644C071.6030209@...11...> References: <5644C071.6030209@...11...> Message-ID: Return the core dump. http://gambaswiki.org/wiki/doc/report 2015-11-12 17:38 GMT+01:00 Jack : > Hello, > > with X2goclient with single application choice i launch > /usr/bin/gnome-terminal > > in the terminal i launch gambas3 and i have this message > Erreur de segmentation (core dumped) > > Does anyone have an idea > > > [System] > Gambas=3.8.3 > OperatingSystem=Linux > Kernel=3.2.0-23-generic > Architecture=x86 > Distribution=Linux Mint 13 Maya > Desktop=MATE > Theme=Plastique > Language=fr_FR.UTF-8 > Memory=3277M > > [Libraries] > Cairo=libcairo.so.2.11000.2 > Curl=libcurl.so.4.2.0 > DBus=libdbus-1.so.3.5.8 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.7.0 > GTK+2=libgtk-x11-2.0.so.0.2400.10 > GTK+3=libgtk-3.so.0.400.2 > Poppler=libpoppler.so.19.0.0 > QT4=libQtCore.so.4.8.1 > QT5=libQt5Core.so.5.0.2 > SDL=libSDL-1.2.so.0.11.3 > > [Environment] > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-zRybvvMBmt,guid=f2d5f3f6ab4f19a97423b7b600000029 > DEFAULTS_PATH=/usr/share/gconf/mate.default.path > DESKTOP_SESSION=mate > DISPLAY=:0.0 > GB_GUI=gb.qt4 > GPG_AGENT_INFO=/tmp/keyring-lLP5O9/gpg:0:1 > HOME= > LANG=fr_FR.UTF-8 > LC_ADDRESS=fr_FR.UTF-8 > LC_IDENTIFICATION=fr_FR.UTF-8 > LC_MEASUREMENT=fr_FR.UTF-8 > LC_MONETARY=fr_FR.UTF-8 > LC_NAME=fr_FR.UTF-8 > LC_NUMERIC=fr_FR.UTF-8 > LC_PAPER=fr_FR.UTF-8 > LC_TELEPHONE=fr_FR.UTF-8 > LC_TIME=fr_FR.UTF-8 > LOGNAME= > MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path > MATECORBA_SOCKETDIR=/tmp/matecorba- > MATE_DESKTOP_SESSION_ID=this-is-deprecated > MATE_KEYRING_CONTROL=/tmp/keyring-lLP5O9 > MDMSESSION=mate > MDM_LANG=fr_FR.UTF-8 > MDM_XSERVER_LOCATION=local > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games > PWD= > SESSION_MANAGER=local/:@/tmp/.ICE-unix/2670,unix/:/tmp/.ICE-unix/2670 > SHELL=/bin/bash > SSH_AGENT_PID=2750 > SSH_AUTH_SOCK=/tmp/keyring-lLP5O9/ssh > TZ=:/etc/localtime > USER= > USERNAME= > WINDOWPATH=8 > XAUTHORITY=/.Xauthority > XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg > XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/:/usr/share/mdm/ > XDG_SESSION_COOKIE=fa18ae9b8aa11c4d61eb490200000006-1447309934.118025-1684088614 > > -- > Jack > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From bugtracker at ...3416... Thu Nov 12 23:25:53 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 12 Nov 2015 22:25:53 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #840: [gtk2/gtk3] Get a result "Gtk-CRITICAL **: IA__gtk_container ...." in Console Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.840&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- [gtk2/gtk3] Get a result "Gtk-CRITICAL **: IA__gtk_container ...." in Console Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : GTK+2 component Description ----------- It's fine with qt4, this happens only with gtk2/gtk3 components. When try this project(attach project). run project and click test button (attach pic-1). In Gambas Console I get a result : Gtk-CRITICAL **: IA__gtk_container_propagate_expose: assertion `GTK_IS_WIDGET (child)' failed ------- Sometimes interpreter crash(attach pic-2). (attach gdb & valgrind result). System information ------------------ [System] Gambas=3.8.90 r7457 OperatingSystem=Linux Kernel=3.2.0-88-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=LXDE Theme=Gtk Language=en_US.UTF-8 Memory=494M [Libraries] Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.7.0 GTK+2=libgtk-x11-2.0.so.0.2400.10 GTK+3=libgtk-3.so.0.400.2 OpenGL=libGL.so.96.43.23 Poppler=libpoppler.so.19.0.0 QT4=libQtCore.so.4.8.1 QT5=libQt5Core.so.5.0.2 SDL=libSDL-1.2.so.0.11.3 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-bS9wnTCZrH,guid=87c5358bb5c3998bf7cb957b00000027 DEFAULTS_PATH=/usr/share/gconf/Lubuntu.default.path DESKTOP_SESSION=Lubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=Lubuntu GNOME_KEYRING_CONTROL=/tmp/keyring-9dJvqY GNOME_KEYRING_PID=1630 HOME= LANG=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/Lubuntu.mandatory.path PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PWD= SAL_USE_VCLPLUGIN=gtk SHELL=/bin/bash SSH_AGENT_PID=1621 SSH_AUTH_SOCK=/tmp/keyring-9dJvqY/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/lubuntu/:/etc/xdg/xdg-Lubuntu:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXDE XDG_DATA_DIRS=/etc/xdg/lubuntu:/usr/share/Lubuntu:/usr/local/share/:/usr/share/:/usr/share:/usr/share/gdm:/var/lib/menu-xdg XDG_MENU_PREFIX=lxde- XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_COOKIE=2d9710af0959f6893eb828f100000008-1447020998.408513-1201412477 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 _LXSESSION_PID=1591 From bugtracker at ...3416... Thu Nov 12 23:26:05 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 12 Nov 2015 22:26:05 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #840: [gtk2/gtk3] Get a result "Gtk-CRITICAL **: IA__gtk_container ...." in Console In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.840&from=L21haW4- Zainudin AHMAD added an attachment: test-GAlarm-0.1.90.tar.gz From bugtracker at ...3416... Thu Nov 12 23:26:26 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 12 Nov 2015 22:26:26 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #840: [gtk2/gtk3] Get a result "Gtk-CRITICAL **: IA__gtk_container ...." in Console In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.840&from=L21haW4- Zainudin AHMAD added an attachment: pic-1.png From bugtracker at ...3416... Thu Nov 12 23:26:38 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 12 Nov 2015 22:26:38 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #840: [gtk2/gtk3] Get a result "Gtk-CRITICAL **: IA__gtk_container ...." in Console In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.840&from=L21haW4- Zainudin AHMAD added an attachment: pic-2.png From bugtracker at ...3416... Thu Nov 12 23:26:47 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 12 Nov 2015 22:26:47 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #840: [gtk2/gtk3] Get a result "Gtk-CRITICAL **: IA__gtk_container ...." in Console In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.840&from=L21haW4- Zainudin AHMAD added an attachment: result-gdb.txt From bugtracker at ...3416... Thu Nov 12 23:26:58 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 12 Nov 2015 22:26:58 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #840: [gtk2/gtk3] Get a result "Gtk-CRITICAL **: IA__gtk_container ...." in Console In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.840&from=L21haW4- Zainudin AHMAD added an attachment: result-valgrind.txt From author.ilmi at ...626... Thu Nov 12 23:30:50 2015 From: author.ilmi at ...626... (zainudin ahmad) Date: Fri, 13 Nov 2015 05:30:50 +0700 Subject: [Gambas-user] How to ensure Message is visible? In-Reply-To: References: Message-ID: Bug report 840 On Wed, Nov 11, 2015 at 7:35 AM, Jussi Lahtinen wrote: > I'm now using same Gambas version, but I can't reproduce the problem. > Can you please fill bug report (in Gambas bugtracker) with your system > information? Report it as Gambas crash. > Thanks! > > > Jussi > > On Wed, Nov 11, 2015 at 12:35 AM, zainudin ahmad > wrote: > > > Gambas 3.7.90 r7462 > > > > I am using sdl1 but I don't use sound feature when get this bug. > > > > "always" get segmentation fault message with this condition : attach pic > > > > On Wed, Nov 11, 2015 at 3:57 AM, Jussi Lahtinen < > jussi.lahtinen at ...626...> > > wrote: > > > > > I can't reproduce the problem. Anyway this is problem in Gambas (since > I > > > don't use any external functions in this project). What version of > Gambas > > > you are using? > > > > > > > > > Jussi > > > > > > On Tue, Nov 10, 2015 at 11:27 AM, zainudin ahmad < > author.ilmi at ...626...> > > > wrote: > > > > > > > "Sometimes" I get segmentation fault message. > > > > attach pic1 & pic2 > > > > > > > > On Tue, Nov 10, 2015 at 6:26 AM, Jussi Lahtinen < > > > jussi.lahtinen at ...626...> > > > > wrote: > > > > > > > > > OK, thanks! > > > > > This is fixed in version 1.90. Also backup function is now added. > > > > > > > > > > > > > > > Jussi > > > > > > > > > > On Tue, Nov 10, 2015 at 12:20 AM, zainudin ahmad < > > > author.ilmi at ...626...> > > > > > wrote: > > > > > > > > > > > Some pic may be can help. > > > > > > pic-1 (reproduce the bug) > > > > > > pic-2 (out of bounds) > > > > > > > > > > > > On Mon, Nov 9, 2015 at 10:29 PM, Jussi Lahtinen < > > > > > jussi.lahtinen at ...626...> > > > > > > wrote: > > > > > > > > > > > > > > I get "out of bound" when try GAlarm > > > > > > > > > > > > > > > >> > > > > > > > >> in module Main in sub RemoveAlarm I change "SortAlarms" to > > "If > > > > > > > >> iAlarmByRow.Count > 0 Then SortAlarms" for fix the issue > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > I can't reproduce the problem. Which version you are using? > And > > > how > > > > > did > > > > > > > > you induce the error? > > > > > > > > > > > > > > > > > > > > > > Also, where exactly the out of bound error occurred? > > > > > > > > > > > > > > > > > > > > > Jussi > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > > Presto, an open source distributed SQL query engine for big > data, > > > > > > initially > > > > > > > developed by Facebook, enables you to easily query your data on > > > > Hadoop > > > > > > in a > > > > > > > more interactive manner. Teradata is also now providing full > > > > enterprise > > > > > > > support for Presto. Download a free open source copy now. > > > > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140 > > > > > > > _______________________________________________ > > > > > > > Gambas-user mailing list > > > > > > > Gambas-user at lists.sourceforge.net > > > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > Presto, an open source distributed SQL query engine for big data, > > > > > initially > > > > > > developed by Facebook, enables you to easily query your data on > > > Hadoop > > > > > in a > > > > > > more interactive manner. Teradata is also now providing full > > > enterprise > > > > > > support for Presto. Download a free open source copy now. > > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140 > > > > > > _______________________________________________ > > > > > > Gambas-user mailing list > > > > > > Gambas-user at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > Presto, an open source distributed SQL query engine for big data, > > > > initially > > > > > developed by Facebook, enables you to easily query your data on > > Hadoop > > > > in a > > > > > more interactive manner. Teradata is also now providing full > > enterprise > > > > > support for Presto. Download a free open source copy now. > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140 > > > > > _______________________________________________ > > > > > Gambas-user mailing list > > > > > Gambas-user at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Thu Nov 12 23:37:35 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 13 Nov 2015 00:37:35 +0200 Subject: [Gambas-user] How to ensure Message is visible? In-Reply-To: References: Message-ID: Thanks! Good bug hunting! Jussi On Fri, Nov 13, 2015 at 12:30 AM, zainudin ahmad wrote: > Bug report 840 > > On Wed, Nov 11, 2015 at 7:35 AM, Jussi Lahtinen > wrote: > > > I'm now using same Gambas version, but I can't reproduce the problem. > > Can you please fill bug report (in Gambas bugtracker) with your system > > information? Report it as Gambas crash. > > Thanks! > > > > > > Jussi > > > > On Wed, Nov 11, 2015 at 12:35 AM, zainudin ahmad > > wrote: > > > > > Gambas 3.7.90 r7462 > > > > > > I am using sdl1 but I don't use sound feature when get this bug. > > > > > > "always" get segmentation fault message with this condition : attach > pic > > > > > > On Wed, Nov 11, 2015 at 3:57 AM, Jussi Lahtinen < > > jussi.lahtinen at ...626...> > > > wrote: > > > > > > > I can't reproduce the problem. Anyway this is problem in Gambas > (since > > I > > > > don't use any external functions in this project). What version of > > Gambas > > > > you are using? > > > > > > > > > > > > Jussi > > > > > > > > On Tue, Nov 10, 2015 at 11:27 AM, zainudin ahmad < > > author.ilmi at ...626...> > > > > wrote: > > > > > > > > > "Sometimes" I get segmentation fault message. > > > > > attach pic1 & pic2 > > > > > > > > > > On Tue, Nov 10, 2015 at 6:26 AM, Jussi Lahtinen < > > > > jussi.lahtinen at ...626...> > > > > > wrote: > > > > > > > > > > > OK, thanks! > > > > > > This is fixed in version 1.90. Also backup function is now added. > > > > > > > > > > > > > > > > > > Jussi > > > > > > > > > > > > On Tue, Nov 10, 2015 at 12:20 AM, zainudin ahmad < > > > > author.ilmi at ...626...> > > > > > > wrote: > > > > > > > > > > > > > Some pic may be can help. > > > > > > > pic-1 (reproduce the bug) > > > > > > > pic-2 (out of bounds) > > > > > > > > > > > > > > On Mon, Nov 9, 2015 at 10:29 PM, Jussi Lahtinen < > > > > > > jussi.lahtinen at ...626...> > > > > > > > wrote: > > > > > > > > > > > > > > > > I get "out of bound" when try GAlarm > > > > > > > > > > > > > > > > > >> > > > > > > > > >> in module Main in sub RemoveAlarm I change "SortAlarms" > to > > > "If > > > > > > > > >> iAlarmByRow.Count > 0 Then SortAlarms" for fix the issue > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > I can't reproduce the problem. Which version you are using? > > And > > > > how > > > > > > did > > > > > > > > > you induce the error? > > > > > > > > > > > > > > > > > > > > > > > > > Also, where exactly the out of bound error occurred? > > > > > > > > > > > > > > > > > > > > > > > > Jussi > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > > > Presto, an open source distributed SQL query engine for big > > data, > > > > > > > initially > > > > > > > > developed by Facebook, enables you to easily query your data > on > > > > > Hadoop > > > > > > > in a > > > > > > > > more interactive manner. Teradata is also now providing full > > > > > enterprise > > > > > > > > support for Presto. Download a free open source copy now. > > > > > > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140 > > > > > > > > _______________________________________________ > > > > > > > > Gambas-user mailing list > > > > > > > > Gambas-user at lists.sourceforge.net > > > > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > > Presto, an open source distributed SQL query engine for big > data, > > > > > > initially > > > > > > > developed by Facebook, enables you to easily query your data on > > > > Hadoop > > > > > > in a > > > > > > > more interactive manner. Teradata is also now providing full > > > > enterprise > > > > > > > support for Presto. Download a free open source copy now. > > > > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140 > > > > > > > _______________________________________________ > > > > > > > Gambas-user mailing list > > > > > > > Gambas-user at lists.sourceforge.net > > > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > Presto, an open source distributed SQL query engine for big data, > > > > > initially > > > > > > developed by Facebook, enables you to easily query your data on > > > Hadoop > > > > > in a > > > > > > more interactive manner. Teradata is also now providing full > > > enterprise > > > > > > support for Presto. Download a free open source copy now. > > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140 > > > > > > _______________________________________________ > > > > > > Gambas-user mailing list > > > > > > Gambas-user at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > > > > > _______________________________________________ > > > > > Gambas-user mailing list > > > > > Gambas-user at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From tercoide at ...67... Fri Nov 13 01:01:08 2015 From: tercoide at ...67... (martin p cristia) Date: Thu, 12 Nov 2015 21:01:08 -0300 Subject: [Gambas-user] Illegal instruction when calling a C In-Reply-To: References: Message-ID: > Le 11/11/2015 23:33, martin p cristia a ?crit : >> After removing 3.8.3 installed from sources with... >> >> $ ./reconf-all >> >> $ ./configure -C >> >> $ make >> >> $ sudo make install >> >> and reinstalling with... >> >> sudo apt-get install gambas3 >> >> problem was solved. Have no clue how. >> > You cannot both install gambas3 binary packages and compile it from > sources : they usually install the same files at the same places, so you > are actually poisoning your system. > > You can avoid that by carefully installing gambas3 from sources using an > installation prefix different from the one used by the packaging system. > > Or you can carefully uninstall every gambas3 package before compiling > and installing it from sources. > > Anyway, if you don't know what you are doing exactly, I'm not amaze that > you encounter such strange crashes. > > Regards, > > -- Beno?t Minisini I should try hard before posting here :/ I also ran Gambas as SUDO once. Funny things happened. From jscops at ...11... Fri Nov 13 08:10:42 2015 From: jscops at ...11... (Jack) Date: Fri, 13 Nov 2015 08:10:42 +0100 Subject: [Gambas-user] Gambas and x2go In-Reply-To: References: <5644C071.6030209@...11...> Message-ID: <56458CF2.6090404@...11...> Le 12/11/2015 19:02, Fabien Bodard a ?crit : > Return the core dump. Salut Fabien, Starting program: /usr/bin/gbx3 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". gbx3: unable to find startup file [Inferior 1 (process 9078) exited with code 01] may be an indication If I run x2go with a complete desktop and then I start Gambas, it works -- Jac From gambas.fr at ...626... Fri Nov 13 11:55:51 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 13 Nov 2015 11:55:51 +0100 Subject: [Gambas-user] gb.args Message-ID: Hi, I've a big problem as i can't understand the gb.args usage.... even with the doc :-/ Is there someone that can give me a tips ... or maybe this class must be rewritten. -- Fabien Bodard From bugtracker at ...3416... Fri Nov 13 18:33:53 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 13 Nov 2015 17:33:53 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #841: A crash when i try to launch gambas via a rdesktop distant x connection Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.841&from=L21haW4- Fabien BODARD reported a new bug. Summary ------- A crash when i try to launch gambas via a rdesktop distant x connection Type : Bug Priority : Medium Gambas version : 3.8 Product : QT4 component Description ----------- I use x2go to open a distant xterminal and then try to launch gambas via this terminal. [New Thread 0xaeee9b40 (LWP 23628)] X Error: BadAtom (invalid Atom parameter) 5 Major opcode: 20 (X_GetProperty) Resource id: 0x0 Program received signal SIGSEGV, Segmentation fault. 0xb72f2d2f in ?? () from /usr/lib/gambas3/gb.qt4.so (gdb) bt #0 0xb72f2d2f in ?? () from /usr/lib/gambas3/gb.qt4.so #1 0xb72ff0b6 in ?? () from /usr/lib/gambas3/gb.qt4.so #2 0xb72ffd46 in ?? () from /usr/lib/gambas3/gb.qt4.so #3 0xb73011fc in ?? () from /usr/lib/gambas3/gb.qt4.so #4 0x080518c1 in ?? () #5 0x0807f1c1 in ?? () #6 0x080511d7 in ?? () #7 0x08051827 in ?? () #8 0x0804b5b1 in ?? () #9 0xb7e30a83 in __libc_start_main (main=0x804ae76, argc=1, argv=0xbffff574, init=0x80797d0, fini=0x8079840, rtld_fini=0xb7fed180 <_dl_fini>, stack_end=0xbffff56c) at libc-start.c:287 #10 0x0804b714 in ?? () Program received signal SIGSEGV, Segmentation fault. 0xb72f2d2f in ?? () from /usr/lib/gambas3/gb.qt4.so (gdb) bt #0 0xb72f2d2f in ?? () from /usr/lib/gambas3/gb.qt4.so #1 0xb72ff0b6 in ?? () from /usr/lib/gambas3/gb.qt4.so #2 0xb72ffd46 in ?? () from /usr/lib/gambas3/gb.qt4.so #3 0xb73011fc in ?? () from /usr/lib/gambas3/gb.qt4.so #4 0x080518c1 in ?? () #5 0x0807f1c1 in ?? () #6 0x080511d7 in ?? () #7 0x08051827 in ?? () #8 0x0804b5b1 in ?? () #9 0xb7e30a83 in __libc_start_main (main=0x804ae76, argc=1, argv=0xbffff574, init=0x80797d0, fini=0x8079840, rtld_fini=0xb7fed180 <_dl_fini>, stack_end=0xbffff56c) at libc-start.c:287 #10 0x0804b714 in ?? () From bugtracker at ...3416... Fri Nov 13 18:36:59 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 13 Nov 2015 17:36:59 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #841: A crash when i try to launch gambas via a rdesktop distant x connection In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.841&from=L21haW4- Comment #1 by Beno?t MINISINI: I need debugging information... Or a way to reproduce the crash on my system. From pata.karlsson at ...626... Fri Nov 13 19:19:05 2015 From: pata.karlsson at ...626... (Patrik Karlsson) Date: Fri, 13 Nov 2015 19:19:05 +0100 Subject: [Gambas-user] gambas3 segfaults on Ubuntu MATE for the Raspberry Pi 2 In-Reply-To: References: <5634010B.7040500@...1...> <5634EB86.2090905@...1...> <56364D06.7060205@...1...> Message-ID: It took longer time than I expected but now I have been pooking arround a bit more. The ppa I am using is ppa:gambas-team/gambas3. And when I try to configure gb.jit the output is checking for llvm-config... /usr/bin/llvm-config checking for LLVM, version between 3.1 and 3.5... no configure: WARNING: gb.jit is disabled The output of pata at ...3521...:~/H?mtningar/gambas3-3.8.2/gb.jit$ llvm-config --version is 3.6.2 I have llvm-3.5 installed but there are to many symlinks from llvm-3.6 to llvm under /usr/bin for me to sort it out, so I guess I will have to disable JIT until it works with newer versions of llvm. /Patrik 2015-11-02 6:16 GMT+01:00 Patrik Karlsson : > Im on the road now so Ill get back to you on this one in about a week. > Den 1 nov 2015 18:35 skrev "Beno?t Minisini" >: > >> Le 31/10/2015 23:39, Patrik Karlsson a ?crit : >> > I built in from source and now the IDE starts ok, >> >> It may be a problem in the packaging so...Which ppa did you use? >> >> > however, gb.jit was >> > disabled. >> > Is it possible to solve that one? >> > >> >> It depends on your distribution. 'gb.jit' requires LLVM between 3.1 and >> 3.5. Did you install it? >> >> -- >> Beno?t Minisini >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > From gambas at ...1... Fri Nov 13 19:26:54 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 13 Nov 2015 19:26:54 +0100 Subject: [Gambas-user] gambas3 segfaults on Ubuntu MATE for the Raspberry Pi 2 In-Reply-To: References: <5634010B.7040500@...1...> <5634EB86.2090905@...1...> <56364D06.7060205@...1...> Message-ID: <56462B6E.10305@...1...> Le 13/11/2015 19:19, Patrik Karlsson a ?crit : > It took longer time than I expected but now I have been pooking arround a > bit more. > The ppa I am using is ppa:gambas-team/gambas3. > > And when I try to configure gb.jit the output is > checking for llvm-config... /usr/bin/llvm-config > checking for LLVM, version between 3.1 and 3.5... no > configure: WARNING: gb.jit is disabled > > The output of pata at ...3521...:~/H?mtningar/gambas3-3.8.2/gb.jit$ llvm-config > --version > is 3.6.2 > > I have llvm-3.5 installed but there are to many symlinks from llvm-3.6 to > llvm under /usr/bin for me to sort it out, so I guess I will have to > disable JIT until it works with newer versions of llvm. > > /Patrik > To force the use of LLVM 3.5 when there are different versions of LLVM installed, you have to configure the source package that way: $ LLVM_CONFIG=llvm-config-3.5 ./configure -C -- Beno?t Minisini From bugtracker at ...3416... Fri Nov 13 21:26:37 2015 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 13 Nov 2015 20:26:37 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #842: IDE Crash when rename a Form beginning on "_" Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.842&from=L21haW4- Jorge CARRI?N reported a new bug. Summary ------- IDE Crash when rename a Form beginning on "_" Type : Bug Priority : Low Gambas version : 3.8 Product : Unknown Description ----------- Click on "new proyect". Select qt project. Is created with fMain. Create another form called myform (or whatever) then rename the new form to "_myform". The ide crash with this message: Unknown item: /home/user/userfolder/projectname/.src/Form1.form._TreeView._get.79 [System] Gambas=3.8.3 OperatingSystem=Linux Kernel=3.16.0-38-generic Architecture=x86_64 Distribution=Linux Mint 17.2 Rafaela Desktop=GNOME Theme=Cleanlooks Language=es_ES.UTF-8 Memory=7927M [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 [Environment] CINNAMON_VERSION=2.6.13 CLUTTER_BACKEND=x11 DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-NPO8vnuwiV,guid=b28a7a3e8f1ed97c16cbec335646088e 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=7800 GJS_DEBUG_OUTPUT=stderr GJS_DEBUG_TOPICS=JS ERROR;JS LOG GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL=/run/user/1000/keyring-cMfHnU GNOME_KEYRING_PID=2529 GPG_AGENT_INFO=/run/user/1000/keyring-cMfHnU/gpg:0:1 HOME= LANG=es_ES.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path MDMSESSION=cinnamon MDM_LANG=es_ES.UTF-8 MDM_XSERVER_LOCATION=local PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= SESSION_MANAGER=local/:@/tmp/.ICE-unix/2539,unix/:/tmp/.ICE-unix/2539 SHELL=/bin/bash SSH_AGENT_PID=2675 SSH_AUTH_SOCK=/run/user/1000/keyring-cMfHnU/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=e628335a80f946a6457cca0f555e0703-1447430285.836229-1475514355 XDG_SESSION_DESKTOP=cinnamon XDG_SESSION_ID=c2 XDG_VTNR=8 From moviga at ...3488... Fri Nov 13 22:19:39 2015 From: moviga at ...3488... (Moviga Technologies) Date: Fri, 13 Nov 2015 22:19:39 +0100 Subject: [Gambas-user] New gb.web.form component In-Reply-To: <56436701.5060607@...1...> References: <56417044.601@...1...> <5dbecdfe83dce6922b4b5ba4cc0355f6@...3488...> <56436701.5060607@...1...> Message-ID: <1ce3b71f3456ae9ffc276d4a77b68a0b@...3488...> This is starting to look really cool Beno?t :) Good job! Some years ago I made a system for a company in PHP that heavily relied on forms. It's purpose was to keep track of projects, customers, warehouse, carried out and pending repair tasks, employees, and so forth. With this I could make it in Gambas in much shorter time :) Perhaps you could add a set of predefined Web-GUI styles (that are CSS files) and ability to make custom styles that are remembered by the IDE. I.e. Google material, bootstrap, amazon, github, and so on... From gambas at ...1... Fri Nov 13 22:49:58 2015 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 13 Nov 2015 22:49:58 +0100 Subject: [Gambas-user] New gb.web.form component In-Reply-To: <1ce3b71f3456ae9ffc276d4a77b68a0b@...3488...> References: <56417044.601@...1...> <5dbecdfe83dce6922b4b5ba4cc0355f6@...3488...> <56436701.5060607@...1...> <1ce3b71f3456ae9ffc276d4a77b68a0b@...3488...> Message-ID: <56465B06.8000406@...1...> Le 13/11/2015 22:19, Moviga Technologies a ?crit : > > > This is starting to look really cool Beno?t :) Good job! > > Some years ago I made a system for a company in PHP that heavily relied > on forms. It's purpose was to keep track of projects, customers, > warehouse, carried out and pending repair tasks, employees, and so > forth. With this I could make it in Gambas in much shorter time :) > > Perhaps you could add a set of predefined Web-GUI styles (that are CSS > files) and ability to make custom styles that are remembered by the IDE. > > > I.e. Google material, bootstrap, amazon, github, and so on... > All controls and controls elements should have a specific CSS class (whose name begins with "gw-") that will allow to customize their apparence. If there is a "style.css" file in the root folder of your project, it will be automatically used by the gb.web.form component to generate the web site stylesheet. That way, you can customize the look of everything as you like. As for widget themes, I will make one default, and let Gambas users define the others! -- Beno?t Minisini From moviga at ...3488... Sat Nov 14 00:11:07 2015 From: moviga at ...3488... (Moviga Technologies) Date: Sat, 14 Nov 2015 00:11:07 +0100 Subject: [Gambas-user] New gb.web.form component In-Reply-To: <56465B06.8000406@...1...> References: <56417044.601@...1...> <5dbecdfe83dce6922b4b5ba4cc0355f6@...3488...> <56436701.5060607@...1...> <1ce3b71f3456ae9ffc276d4a77b68a0b@...3488...> <56465B06.8000406@...1...> Message-ID: <9a464ab25d0ae19f8b0cdf164948185c@...3488...> > All controls and controls elements should have a specific CSS class > (whose name begins with "gw-") that will allow to customize their > apparence. > > If there is a "style.css" file in the root folder of your project, it > will be automatically used by the gb.web.form component to generate the > web site stylesheet. > > That way, you can customize the look of everything as you like. > > As for widget themes, I will make one default, and let Gambas users > define the others! Yes, I understand this. I was just thinking it could be handy with a dropdown list with some extra styles besides the default one - kind of like with the editor styles. I found two bugs. See attached picture. If I put a timer and set Enabled to true and hit run, the page does not load. -------------- next part -------------- A non-text attachment was scrubbed... Name: tab.png Type: image/png Size: 13249 bytes Desc: not available URL: From willy at ...3474... Fri Nov 13 23:08:02 2015 From: willy at ...3474... (willy at ...3474...) Date: Fri, 13 Nov 2015 23:08:02 +0100 Subject: [Gambas-user] gb.args In-Reply-To: References: Message-ID: <96507f59edc62d02e9767a9e2296d1cf@...3474...> On 2015-11-13 11:55, Fabien Bodard wrote: > Hi, > > I've a big problem as i can't understand the gb.args usage.... even > with the doc :-/ > > > Is there someone that can give me a tips ... or maybe this class must > be rewritten. Hi Fabien, This is a code snippet (and accompanying notes) from my application GambasLearning (an aid for people to learn Gambas). The example is quite simple and a lot more can be done with arguments (like my app gbEdit (texteditor) allows opening files from commandline like this 'gbEdit mytext.txt'), but this should get you started in understanding how it works: Notes: Using gb.args it becomes easy to in for example a terminal do a -V and get version returned without the application starting. Both version and help are default in Gambas when adding gb.args component. But how to add an argument? This code snippet goes into a module that has been made startup class. It adds 3 arguments to the application being: -a (-> about) -r (-> revison) -s (->state) When installed and started from menu the application will launch FMain When installed and started from terminal without argument the application will launch FMain When run from terminal with arguments the application will not launch but return the arguments information. To test: 1. Open a new project (ArgTest) with a form FMain (no code needed) 2. Make a module named Start and make it starup class 3. Add the code below to the module start 4. Make a installation package 5. Install the installation package to your system 6. Start the application from menu (-> FMain should show) 6. Open a terminal and type ArgTest -a (-> should return about information and NOT launch FMain) 7. In terminal type ArgTest -h (-> this will give you the list of arguments, try them all) Public Sub Main() Dim bA, bR, bS As Boolean Args.Begin(Application.Name & "